-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'feat/next' into multisig
- Loading branch information
Showing
164 changed files
with
7,445 additions
and
5,469 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,6 @@ name: CI | |
|
||
on: | ||
pull_request: | ||
branches: [ main, feat/* ] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,32 @@ | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.4.0 | ||
rev: v5.0.0 | ||
hooks: | ||
- id: check-yaml | ||
- id: end-of-file-fixer | ||
- id: trailing-whitespace | ||
- repo: https://github.com/hhatto/autopep8 | ||
rev: v2.0.4 | ||
rev: v2.3.1 | ||
hooks: | ||
- id: autopep8 | ||
args: | ||
- "-i" | ||
- "--max-line-length=100" | ||
- repo: https://github.com/pycqa/isort | ||
rev: 5.13.2 | ||
hooks: | ||
- id: isort | ||
name: isort (python) | ||
- repo: https://github.com/PyCQA/flake8 | ||
rev: 7.0.0 | ||
rev: 7.1.1 | ||
hooks: | ||
- id: flake8 | ||
args: | ||
- "--config=.flake8" | ||
- repo: https://github.com/PyCQA/autoflake | ||
rev: v2.3.1 | ||
hooks: | ||
- id: autoflake | ||
args: | ||
- --in-place | ||
- --remove-all-unused-imports |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,115 +1,86 @@ | ||
from multiversx_sdk.controllers.account_controller import AccountController | ||
from multiversx_sdk.controllers.delegation_controller import \ | ||
DelegationController | ||
from multiversx_sdk.controllers.relayed_controller import RelayedController | ||
from multiversx_sdk.controllers.smart_contract_controller import \ | ||
SmartContractController | ||
from multiversx_sdk.controllers.token_management_controller import \ | ||
TokenManagementController | ||
from multiversx_sdk.controllers.transfers_controller import TransfersController | ||
from multiversx_sdk.converters.transactions_converter import \ | ||
TransactionsConverter | ||
from multiversx_sdk.core.account import AccountNonceHolder | ||
from multiversx_sdk.core.address import (Address, AddressComputer, | ||
AddressFactory) | ||
from multiversx_sdk.core.code_metadata import CodeMetadata | ||
from multiversx_sdk.core.message import Message, MessageComputer | ||
from multiversx_sdk.core.smart_contract_queries_controller import \ | ||
SmartContractQueriesController | ||
from multiversx_sdk.core.smart_contract_query import ( | ||
SmartContractQuery, SmartContractQueryResponse) | ||
from multiversx_sdk.core.tokens import (Token, TokenComputer, | ||
TokenIdentifierParts, TokenTransfer) | ||
from multiversx_sdk.core.transaction import Transaction | ||
from multiversx_sdk.core.transaction_computer import TransactionComputer | ||
from multiversx_sdk.core.transaction_on_network import ( | ||
SmartContractResult, TransactionEvent, TransactionLogs, | ||
TransactionOnNetwork, TransactionStatus, find_events_by_first_topic, | ||
find_events_by_identifier) | ||
from multiversx_sdk.core.transactions_factories.account_transactions_factory import \ | ||
AccountTransactionsFactory | ||
from multiversx_sdk.core.transactions_factories.delegation_transactions_factory import \ | ||
DelegationTransactionsFactory | ||
from multiversx_sdk.core.transactions_factories.relayed_transactions_factory import \ | ||
RelayedTransactionsFactory | ||
from multiversx_sdk.core.transactions_factories.smart_contract_transactions_factory import \ | ||
SmartContractTransactionsFactory | ||
from multiversx_sdk.core.transactions_factories.token_management_transactions_factory import ( | ||
TokenManagementTransactionsFactory, TokenType) | ||
from multiversx_sdk.core.transactions_factories.transactions_factory_config import \ | ||
TransactionsFactoryConfig | ||
from multiversx_sdk.core.transactions_factories.transfer_transactions_factory import \ | ||
TransferTransactionsFactory | ||
from multiversx_sdk.core.transactions_outcome_parsers.delegation_transactions_outcome_parser import \ | ||
DelegationTransactionsOutcomeParser | ||
from multiversx_sdk.core.transactions_outcome_parsers.delegation_transactions_outcome_parser_types import \ | ||
CreateNewDelegationContractOutcome | ||
from multiversx_sdk.core.transactions_outcome_parsers.smart_contract_transactions_outcome_parser import \ | ||
SmartContractTransactionsOutcomeParser | ||
from multiversx_sdk.core.transactions_outcome_parsers.smart_contract_transactions_outcome_parser_types import ( | ||
from multiversx_sdk.account_management import (AccountController, | ||
AccountTransactionsFactory) | ||
from multiversx_sdk.accounts import Account | ||
from multiversx_sdk.core import (Address, AddressComputer, AddressFactory, | ||
CodeMetadata, LibraryConfig, Message, | ||
MessageComputer, SmartContractResult, Token, | ||
TokenComputer, TokenIdentifierParts, | ||
TokenTransfer, Transaction, | ||
TransactionComputer, TransactionEvent, | ||
TransactionEventsParser, TransactionLogs, | ||
TransactionOnNetwork, | ||
TransactionsFactoryConfig, TransactionStatus, | ||
find_events_by_first_topic, | ||
find_events_by_identifier) | ||
from multiversx_sdk.delegation import (CreateNewDelegationContractOutcome, | ||
DelegationController, | ||
DelegationTransactionsFactory, | ||
DelegationTransactionsOutcomeParser) | ||
from multiversx_sdk.entrypoints import (DevnetEntrypoint, MainnetEntrypoint, | ||
NetworkEntrypoint, TestnetEntrypoint) | ||
from multiversx_sdk.network_providers import (AccountAwaiter, AccountOnNetwork, | ||
AccountStorage, | ||
AccountStorageEntry, | ||
ApiNetworkProvider, | ||
AwaitingOptions, | ||
BlockCoordinates, BlockOnNetwork, | ||
FungibleTokenMetadata, | ||
GenericError, GenericResponse, | ||
GetBlockArguments, NetworkConfig, | ||
NetworkProviderConfig, | ||
NetworkStatus, | ||
ProxyNetworkProvider, | ||
TokenAmountOnNetwork, | ||
TokensCollectionMetadata, | ||
TransactionAwaiter, | ||
TransactionCostResponse, | ||
TransactionDecoder, | ||
TransactionMetadata) | ||
from multiversx_sdk.relayed import (RelayedController, | ||
RelayedTransactionsFactory) | ||
from multiversx_sdk.smart_contracts import ( | ||
DeployedSmartContract, ParsedSmartContractCallOutcome, | ||
SmartContractDeployOutcome) | ||
from multiversx_sdk.core.transactions_outcome_parsers.token_management_transactions_outcome_parser import \ | ||
TokenManagementTransactionsOutcomeParser | ||
from multiversx_sdk.core.transactions_outcome_parsers.token_management_transactions_outcome_parser_types import ( | ||
SmartContractController, SmartContractDeployOutcome, SmartContractQuery, | ||
SmartContractQueryResponse, SmartContractTransactionsFactory, | ||
SmartContractTransactionsOutcomeParser) | ||
from multiversx_sdk.token_management import ( | ||
AddQuantityOutcome, BurnOutcome, BurnQuantityOutcome, FreezeOutcome, | ||
IssueFungibleOutcome, IssueNonFungibleOutcome, IssueSemiFungibleOutcome, | ||
MintOutcome, NFTCreateOutcome, PauseOutcome, RegisterAndSetAllRolesOutcome, | ||
RegisterMetaEsdtOutcome, SetSpecialRoleOutcome, UnFreezeOutcome, | ||
RegisterMetaEsdtOutcome, SetSpecialRoleOutcome, TokenManagementController, | ||
TokenManagementTransactionsFactory, | ||
TokenManagementTransactionsOutcomeParser, TokenType, UnFreezeOutcome, | ||
UnPauseOutcome, UpdateAttributesOutcome, WipeOutcome) | ||
from multiversx_sdk.core.transactions_outcome_parsers.transaction_events_parser import \ | ||
TransactionEventsParser | ||
from multiversx_sdk.facades.account import Account | ||
from multiversx_sdk.facades.entrypoints import (DevnetEntrypoint, | ||
MainnetEntrypoint, | ||
NetworkEntrypoint, | ||
TestnetEntrypoint) | ||
from multiversx_sdk.network_providers.api_network_provider import \ | ||
ApiNetworkProvider | ||
from multiversx_sdk.network_providers.errors import GenericError | ||
from multiversx_sdk.network_providers.proxy_network_provider import \ | ||
ProxyNetworkProvider | ||
from multiversx_sdk.network_providers.resources import GenericResponse | ||
from multiversx_sdk.network_providers.transaction_awaiter import \ | ||
TransactionAwaiter | ||
from multiversx_sdk.network_providers.transaction_decoder import ( | ||
TransactionDecoder, TransactionMetadata) | ||
from multiversx_sdk.wallet.mnemonic import Mnemonic | ||
from multiversx_sdk.wallet.user_keys import UserPublicKey, UserSecretKey | ||
from multiversx_sdk.wallet.user_pem import UserPEM | ||
from multiversx_sdk.wallet.user_signer import UserSigner | ||
from multiversx_sdk.wallet.user_verifer import UserVerifier | ||
from multiversx_sdk.wallet.user_wallet import UserWallet | ||
from multiversx_sdk.wallet.validator_keys import (ValidatorPublicKey, | ||
ValidatorSecretKey) | ||
from multiversx_sdk.wallet.validator_pem import ValidatorPEM | ||
from multiversx_sdk.wallet.validator_signer import ValidatorSigner | ||
from multiversx_sdk.wallet.validator_verifier import ValidatorVerifier | ||
from multiversx_sdk.transfers import (TransfersController, | ||
TransferTransactionsFactory) | ||
from multiversx_sdk.wallet import (Mnemonic, UserPEM, UserPublicKey, | ||
UserSecretKey, UserSigner, UserVerifier, | ||
UserWallet, ValidatorPEM, | ||
ValidatorPublicKey, ValidatorSecretKey, | ||
ValidatorSigner, ValidatorVerifier) | ||
|
||
__all__ = [ | ||
"AccountNonceHolder", "Address", "AddressFactory", "AddressComputer", | ||
"Transaction", "TransactionComputer", | ||
"Message", "MessageComputer", "CodeMetadata", | ||
"Token", "TokenComputer", "TokenTransfer", "TokenIdentifierParts", | ||
"TokenManagementTransactionsOutcomeParser", "SmartContractResult", | ||
"TransactionEvent", "TransactionLogs", | ||
"DelegationTransactionsFactory", "TokenManagementTransactionsFactory", | ||
"TransactionsFactoryConfig", "TokenType", | ||
"SmartContractTransactionsFactory", "TransferTransactionsFactory", | ||
"RelayedTransactionsFactory", "AccountTransactionsFactory", | ||
"GenericError", "GenericResponse", "ApiNetworkProvider", "ProxyNetworkProvider", | ||
"UserSigner", "Mnemonic", "UserSecretKey", "UserPublicKey", "ValidatorSecretKey", | ||
"ValidatorPublicKey", "UserVerifier", "ValidatorSigner", "ValidatorVerifier", "ValidatorPEM", | ||
"UserWallet", "UserPEM", "TransactionsConverter", "DelegationTransactionsOutcomeParser", | ||
"find_events_by_identifier", "find_events_by_first_topic", "SmartContractTransactionsOutcomeParser", "TransactionAwaiter", | ||
"SmartContractQueriesController", "SmartContractQuery", "SmartContractQueryResponse", | ||
"TransactionDecoder", "TransactionMetadata", "TransactionEventsParser", | ||
"Account", "DevnetEntrypoint", "MainnetEntrypoint", "NetworkEntrypoint", "TestnetEntrypoint", | ||
"AccountController", "DelegationController", "RelayedController", "SmartContractController", | ||
"TokenManagementController", "TransfersController", | ||
"CreateNewDelegationContractOutcome", "SmartContractDeployOutcome", "DeployedSmartContract", | ||
"IssueFungibleOutcome", "IssueNonFungibleOutcome", "IssueSemiFungibleOutcome", "RegisterMetaEsdtOutcome", | ||
"RegisterAndSetAllRolesOutcome", "SetSpecialRoleOutcome", "NFTCreateOutcome", "MintOutcome", "BurnOutcome", | ||
"PauseOutcome", "UnPauseOutcome", "FreezeOutcome", "UnFreezeOutcome", "WipeOutcome", "UpdateAttributesOutcome", | ||
"AddQuantityOutcome", "BurnQuantityOutcome", "TransactionOnNetwork", "TransactionStatus", "ParsedSmartContractCallOutcome" | ||
"Account", "Address", "AddressFactory", "AddressComputer", "Transaction", "TransactionComputer", | ||
"Message", "MessageComputer", "CodeMetadata", "Token", "TokenComputer", "TokenTransfer", "TokenIdentifierParts", | ||
"TokenManagementTransactionsOutcomeParser", "SmartContractResult", "TransactionEvent", "TransactionLogs", | ||
"DelegationTransactionsFactory", "TokenManagementTransactionsFactory", "TransactionsFactoryConfig", "TokenType", | ||
"SmartContractTransactionsFactory", "TransferTransactionsFactory", "RelayedTransactionsFactory", | ||
"AccountTransactionsFactory", "GenericError", "GenericResponse", "ApiNetworkProvider", "ProxyNetworkProvider", | ||
"UserSigner", "Mnemonic", "UserSecretKey", "UserPublicKey", "ValidatorSecretKey", "ValidatorPublicKey", | ||
"UserVerifier", "ValidatorSigner", "ValidatorVerifier", "ValidatorPEM", "UserWallet", "UserPEM", | ||
"DelegationTransactionsOutcomeParser", "find_events_by_identifier", | ||
"find_events_by_first_topic", "SmartContractTransactionsOutcomeParser", "TransactionAwaiter", | ||
"SmartContractQuery", "SmartContractQueryResponse", "TransactionDecoder", | ||
"TransactionMetadata", "TransactionEventsParser", "NetworkProviderConfig", "DevnetEntrypoint", | ||
"MainnetEntrypoint", "NetworkEntrypoint", "TestnetEntrypoint", "AccountController", "DelegationController", | ||
"RelayedController", "SmartContractController", "TokenManagementController", "TransfersController", | ||
"CreateNewDelegationContractOutcome", "SmartContractDeployOutcome", "DeployedSmartContract", "IssueFungibleOutcome", | ||
"IssueNonFungibleOutcome", "IssueSemiFungibleOutcome", "RegisterMetaEsdtOutcome", "RegisterAndSetAllRolesOutcome", | ||
"SetSpecialRoleOutcome", "NFTCreateOutcome", "MintOutcome", "BurnOutcome", "PauseOutcome", "UnPauseOutcome", | ||
"FreezeOutcome", "UnFreezeOutcome", "WipeOutcome", "UpdateAttributesOutcome", "AddQuantityOutcome", | ||
"BurnQuantityOutcome", "TransactionOnNetwork", "TransactionStatus", "ParsedSmartContractCallOutcome", | ||
"AccountOnNetwork", "AccountStorage", "AccountStorageEntry", "AwaitingOptions", "BlockCoordinates", | ||
"BlockOnNetwork", "FungibleTokenMetadata", "GetBlockArguments", "NetworkConfig", "NetworkStatus", | ||
"TokenAmountOnNetwork", "TokensCollectionMetadata", "TransactionCostResponse", "AccountAwaiter", | ||
"LibraryConfig" | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.