package
0.1.1-rc1
Repository: https://github.com/bianjieai/irita.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
ExportGenesis returns a GenesisState for a given context and keeper.
InitGenesis sets supply information for genesis.
No description provided by the author
NewKeeper creates a new contract Keeper instance.
NewQuerier creates a new querier.
ParseOpaqueMsg parses msg.Data as a base64 string it then decodes to an sdk.Msg using amino json encoding.
ToOpaqueMsg encodes the msg using amino json encoding.

# Constants

GasMultiplier is how many cosmwasm gas points = 1 sdk gas point SDK reference costs can be found here: https://github.com/cosmos/cosmos-sdk/blob/02c6c9fafd58da88550ab4d7d494724a477c8a68/store/types/gas.go#L153-L164 A write at ~3000 gas and ~200us = 10 gas per us (microsecond) cpu/io Rough timing have 88k gas at 90us, which is equal to 1k sdk gas..
MaxGas for a contract is 900 million (enforced in rust).
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

# Structs

No description provided by the author
Keeper will have a reference to Wasmer with it's own data directory.
No description provided by the author