package
0.9.0-beta4
Repository: https://github.com/crypto-org-chain/cronos.git
Documentation: pkg.go.dev

# Functions

AddTestAddrs constructs and returns accNum amount of accounts with an initial balance of accAmt in random order.
AddTestAddrsFromPubKeys adds the addresses into the App providing only the public keys.
AddTestAddrs constructs and returns accNum amount of accounts with an initial balance of accAmt in random order.
CheckBalance checks the balance of an account.
ConvertAddrsToValAddrs converts the provided addresses to ValAddress.
CreateTestPubKeys returns a total of numPubKeys public keys in ascending order.
FundAccount is a utility function that funds an account by minting and sending the coins to the address.
FundModuleAccount is a utility function that funds a module account by minting and sending the coins to the address.
GenModuleBasics generate basic module manager according to experimental flag.
GenSequenceOfTxs generates a set of signed transactions of messages, such that they differ only by having the sequence numbers incremented between every transaction.
GetMaccPerms returns a copy of the module account permissions.
MakeEncodingConfig creates the EncodingConfig for cronos chain.
New returns a reference to an initialized chain.
NewDefaultGenesisState generates the default state for the application.
NewPubKeyFromHex returns a PubKey from a hex string.
RegisterSwaggerAPI registers swagger route with API Server.
No description provided by the author
Setup initializes a new App.
SetupWithGenesisAccounts initializes a new App with the provided genesis accounts and possible balances.
SetupWithGenesisValSet initializes a new App with a validator set and genesis accounts that also act as delegators.
SignCheckDeliver checks a generated signed transaction and simulates a block commitment with the given transaction.
StateFn returns the initial application state using a genesis or the simulation parameters.
StateFromGenesisFileFn util function to generate the genesis AppState from a genesis.json file.
StateRandomizedFn creates calls each module's GenesisState generator function and creates the simulation params.
No description provided by the author
VerifyAddressFormat verifis the address is compatible with ethereum.

# Constants

AddrLen is the allowed length (in bytes) for an address.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

DefaultConsensusParams defines the default Tendermint consensus params used in App testing.
DefaultNodeHome default home directories for the application daemon.
ModuleBasics defines the module BasicManager is in charge of setting up basic, non-dependant module elements, such as codec registration and genesis verification.

# Structs

App extends an ABCI application, but with most of its parameters exported.
EmptyAppOptions is a stub implementing AppOptions.
ExperimentalAppOptions is a stub implementing AppOptions.

# Type aliases

No description provided by the author
The genesis state of the blockchain is represented here as a map of raw json messages key'd by a identifier string.