# Functions
No description provided by the author
turn a list of accounts into basic list of transaction outputs.
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
Special handling for many-to-many SendTx.
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
No description provided by the author
NewCoins is a convenient method for creating small amount of coins.
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
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
No description provided by the author
ParseCoinAmount parses a string representation of coin amount.
Creates a PrivAccount from secret.
Make `num` random accounts.
RLPHash encodes x and hashes the encoded bytes.
No description provided by the author
No description provided by the author
TranslateEthTx an ETH transaction to a Theta smart contract transaction.
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
For replay attack protection https://chainid.network/.
DenomTFuelWei is the basic unit of theta, 1 Theta = 10^18 ThetaWei.
DenomThetaWei is the basic unit of theta, 1 Theta = 10^18 ThetaWei.
No description provided by the author
No description provided by the author
MaxAccountsAffectedPerTx specifies the max number of accounts one transaction is allowed to modify to avoid spamming.
MaximumFundReserveDuration indicates the maximum duration (in terms of number of blocks) of reserving fund.
MaximumTargetAddressesForStakeBinding gives the maximum number of target addresses that can be associated with a bound stake.
MaximumTxGasLimit is the maximum gas limit for a smart contract transactionMaximumTxGasLimit uint64 = 2e6.
MaximumTxGasLimit is the maximum gas limit for a smart contract transaction.
MinimumFundReserveDuration indicates the minimum duration (in terms of number of blocks) of reserving fund.
MinimumGasPrice is the minimum gas price for a smart contract transaction.
MinimumGasPrice is the minimum gas price for a smart contract transaction.
MinimumTransactionFeeTFuelWei specifies the minimum fee for a regular transaction.
MinimumTransactionFeeTFuelWei specifies the minimum fee for a regular transaction.
RegularTFuelGenerationRateDenominator is used for calculating the generation rate of TFuel for other types of accounts RegularTFuelGenerationRateNumerator / RegularTFuelGenerationRateDenominator is the amount of TFuelWei generated per existing ThetaWei per new block.
ZERO initial inflation for TFuel.
ReservedFundFreezePeriodDuration indicates the freeze duration (in terms of number of blocks) of the reserved fund.
ServiceRewardFulfillmentBlockDelay gives the block delay for service reward fulfillment.
ServiceRewardVerificationBlockDelay gives the block delay for service certificate verification.
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
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
ValidatorTFuelGenerationRateDenominator is used for calculating the generation rate of TFuel for validators ValidatorTFuelGenerationRateNumerator / ValidatorTFuelGenerationRateDenominator is the amount of TFuelWei generated per existing ThetaWei per new block.
ZERO initial inflation for TFuel.
ValidatorThetaGenerationRateDenominator is used for calculating the generation rate of Theta for validators ValidatorThetaGenerationRateNumerator / ValidatorThetaGenerationRateDenominator is the amount of ThetaWei generated per existing ThetaWei per new block.
ZERO inflation for Theta.
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
# 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
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
EthTransaction is the transaction data of regular Ethereum transactions.
No description provided by the author
Log represents a contract log event.
OverspendingProof contains the proof that the ReservedFund has been overly spent.
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
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
SlashIntent contains the address, reserve sequence of the account to be slashed, and the proof why the account should be slashed.
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
Split contains the particiated address and percentage of the payment the address should get.
SplitRule specifies the payment split agreement among differet addresses.
No description provided by the author
No description provided by the author
No description provided by the author
StakeRewardDistributionTx needs to be signed and submitted by the "stake holders", i.e.
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
# Type aliases
No description provided by the author