package
0.8.1
Repository: https://github.com/enigmampc/secretnetwork.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
encoders can be nil to accept the defaults, or set it to override some of the message handlers (like default).
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
ExportGenesis returns a GenesisState for a given context and keeper.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GetSignBytes returns the signBytes of the tx for a given signer This is a copy of cosmos-sdk function (cosmos-sdk/x/auth/types/StdTx.GetSignBytes() This is because the original `GetSignBytes` was probably meant to be used before the transaction gets processed, and the sequence that gets returned is an increment of what we need.
GetSignerSignature returns the signature of an account on a tx.
No description provided by the author
InitGenesis sets supply information for genesis.
No description provided by the author
No description provided by the author
NewKeeper creates a new contract Keeper instance If customEncoders is non-nil, we can use this to override some of the message handler, especially custom.
No description provided by the author
NewQuerier creates a new querier.
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
TestHandler returns a wasm handler for tests (to avoid circular imports).
No description provided by the author

# Constants

CompileCost is how much SDK gas we charge *per byte* for compiling WASM code.
GasMultiplier is how many cosmwasm gas points = 1 sdk gas point SDK reference costs can be found here: https://github.com/enigmampc/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..
InstanceCost is how much SDK gas we charge each time we load a WASM instance.
MaxGas for a contract is 10 billion wasmer gas (enforced in rust to prevent overflow) The limit for v0.9.3 is defined here: https://github.com/CosmWasm/cosmwasm/blob/v0.9.3/packages/vm/src/backends/singlepass.rs#L15-L23 (this will be increased in future releases).
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

# Variables

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

ContractInfoWithAddress adds the address (key) to the ContractInfo representation.
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
No description provided by the author
No description provided by the author
MultipliedGasMeter wraps the GasMeter from context and multiplies all reads by out defined multiplier.
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
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