-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #173 from multiversx/ledger-components
Implemented Ledger components
- Loading branch information
Showing
24 changed files
with
1,670 additions
and
911 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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
[flake8] | ||
extend-ignore = E501, E722 | ||
extend-ignore = E501, E722, E203 |
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,86 +1,220 @@ | ||
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, | ||
NetworkConfig, | ||
NetworkProviderConfig, | ||
NetworkStatus, | ||
ProxyNetworkProvider, | ||
TokenAmountOnNetwork, | ||
TokensCollectionMetadata, | ||
TransactionAwaiter, | ||
TransactionCostResponse, | ||
TransactionDecoder, | ||
TransactionMetadata) | ||
from multiversx_sdk.relayed import (RelayedController, | ||
RelayedTransactionsFactory) | ||
from multiversx_sdk.account_management import ( | ||
AccountController, | ||
AccountTransactionsFactory, | ||
) | ||
from multiversx_sdk.accounts import Account, LedgerAccount | ||
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.ledger.ledger_app import LedgerApp | ||
from multiversx_sdk.network_providers import ( | ||
AccountAwaiter, | ||
AccountOnNetwork, | ||
AccountStorage, | ||
AccountStorageEntry, | ||
ApiNetworkProvider, | ||
AwaitingOptions, | ||
BlockCoordinates, | ||
BlockOnNetwork, | ||
FungibleTokenMetadata, | ||
GenericError, | ||
GenericResponse, | ||
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, | ||
SmartContractController, SmartContractDeployOutcome, SmartContractQuery, | ||
SmartContractQueryResponse, SmartContractTransactionsFactory, | ||
SmartContractTransactionsOutcomeParser) | ||
DeployedSmartContract, | ||
ParsedSmartContractCallOutcome, | ||
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, TokenManagementController, | ||
AddQuantityOutcome, | ||
BurnOutcome, | ||
BurnQuantityOutcome, | ||
FreezeOutcome, | ||
IssueFungibleOutcome, | ||
IssueNonFungibleOutcome, | ||
IssueSemiFungibleOutcome, | ||
MintOutcome, | ||
NFTCreateOutcome, | ||
PauseOutcome, | ||
RegisterAndSetAllRolesOutcome, | ||
RegisterMetaEsdtOutcome, | ||
SetSpecialRoleOutcome, | ||
TokenManagementController, | ||
TokenManagementTransactionsFactory, | ||
TokenManagementTransactionsOutcomeParser, TokenType, UnFreezeOutcome, | ||
UnPauseOutcome, UpdateAttributesOutcome, WipeOutcome) | ||
from multiversx_sdk.transfers import (TransfersController, | ||
TransferTransactionsFactory) | ||
from multiversx_sdk.wallet import (KeyPair, Mnemonic, UserPEM, UserPublicKey, | ||
UserSecretKey, UserSigner, UserVerifier, | ||
UserWallet, ValidatorPEM, | ||
ValidatorPublicKey, ValidatorSecretKey, | ||
ValidatorSigner, ValidatorVerifier) | ||
TokenManagementTransactionsOutcomeParser, | ||
TokenType, | ||
UnFreezeOutcome, | ||
UnPauseOutcome, | ||
UpdateAttributesOutcome, | ||
WipeOutcome, | ||
) | ||
from multiversx_sdk.transfers import TransfersController, TransferTransactionsFactory | ||
from multiversx_sdk.wallet import ( | ||
KeyPair, | ||
Mnemonic, | ||
UserPEM, | ||
UserPublicKey, | ||
UserSecretKey, | ||
UserSigner, | ||
UserVerifier, | ||
UserWallet, | ||
ValidatorPEM, | ||
ValidatorPublicKey, | ||
ValidatorSecretKey, | ||
ValidatorSigner, | ||
ValidatorVerifier, | ||
) | ||
|
||
__all__ = [ | ||
"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", "NetworkConfig", "NetworkStatus", | ||
"TokenAmountOnNetwork", "TokensCollectionMetadata", "TransactionCostResponse", "AccountAwaiter", | ||
"LibraryConfig", "KeyPair" | ||
"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", | ||
"NetworkConfig", | ||
"NetworkStatus", | ||
"TokenAmountOnNetwork", | ||
"TokensCollectionMetadata", | ||
"TransactionCostResponse", | ||
"AccountAwaiter", | ||
"LibraryConfig", | ||
"KeyPair", | ||
"LedgerApp", | ||
"LedgerAccount", | ||
] |
Oops, something went wrong.