# Functions
ERC20AddressFromUnlockHash creates an ERC20Address using as input for a new blake2b hash an UnlockHash (TFT Address), and taking the last 20 bytes of that.
ERC20AddressRegistrationTransactionFromTransaction creates an ERC20AddressRegistrationTransaction, using a regular in-memory tfchain transaction.
ERC20AddressRegistrationTransactionFromTransactionData creates an ERC20ConvertTransaction, using the TransactionData from a regular in-memory tfchain transaction.
ERC20CoinCreationTransactionFromTransaction creates an ERC20CoinCreationTransaction, using a regular in-memory tfchain transaction.
ERC20CoinCreationTransactionFromTransactionData creates an ERC20CoinCreationTransaction, using the TransactionData from a regular in-memory tfchain transaction.
ERC20ConvertTransactionFromTransaction creates an ERC20ConvertTransaction, using a regular in-memory tfchain transaction.
ERC20ConvertTransactionFromTransactionData creates an ERC20ConvertTransaction, using the TransactionData from a regular in-memory tfchain transaction.
IsERC20Address returns true if the given string represents an ERC20 Address.
IsERC20Hash returns true if the given string represents an ERC20 Hash.
# Constants
ERC20AddressLength defines the length of the fixed-sized ERC20Address type explicitly.
ERC20ConversionMinimumValue defines the minimum value of coins you can convert to ERC20 funds using the ERC20ConvertTransaction.
ERC20HashLength defines the length of the fixed-sized ERC20 Hash type explicitly, used for Transaction and Block hashes alike.
HardcodedERC20AddressRegistrationFeeOneCoinMultiplier defines the hardcoded multiplier (to be multiplied with the OneCoin Currency Value of the network), that defines the constant (hardcoded) Registration Fee to be paid for the Registration of an ERC20 Withdrawal address.
# Variables
Specifiers used to ensure the bot-signatures are unique within each Tx.
These Specifiers are used internally when calculating a Transaction's ID.
These Specifiers are used internally when calculating a Transaction's ID.
These Specifiers are used internally when calculating a Transaction's ID.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ERC20BalanceInfo provides a definition for the ethereum bridge address balance.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ERC20SyncStatus provides a definition for the current status of the ehtereum network sync.
NopERC20TransactionValidator provides a NOP-implementation of the ERC20TransactionValidator interface, allowing you to disable any extra validation on ERC20 Transactions.
TransactionVersions is a config struct that allows one to configure all ERC20 extension transaction versions.
# Interfaces
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
ERC20Address defines an ERC20 address as a fixed-sized byte array of length 20, and is used in order to be able to convert TFT into tradeable tfchain ERC20 funds.
ERC20Hash defines an ERC20 Hash as a fixed-sized byte array of length 32.