Versions in this module Expand all Collapse all v1 v1.3.1 Feb 6, 2021 v1.3.0 Jan 15, 2021 Changes in this version + const AttributeKeyNewContractAddress + const AttributeKeyRecipient + const AttributeKeyValue + const BurrowErrorCodeStart + const DefaultGasRate + const DefaultParamspace + const EventTypeCVMEvent + const EventTypeCall + const EventTypeDeploy + const EventTypeInternalCall + const ModuleName + const QuerierRoute + const QueryAbi + const QueryAccount + const QueryAddrMeta + const QueryCode + const QueryMeta + const QueryStorage + const QueryView + const RouterKey + const StoreKey + var AbiStoreKeyPrefix = []byte + var AddressMetaHashStoreKeyPrefix = []byte + var BlockHashStoreKeyPrefix = []byte + var CodeStoreKeyPrefix = []byte + var MetaHashStoreKeyPrefix = []byte + var ModuleCdc *codec.Codec + var ParamStoreKeyGasRate = []byte("GasRate") + var StorageStoreKeyPrefix = []byte + func AbiStoreKey(addr crypto.Address) []byte + func AddressMetaStoreKey(addr crypto.Address) []byte + func BlockHashStoreKey(height int64) []byte + func CodeStoreKey(addr crypto.Address) []byte + func ErrCodedError(error errors.CodedError) *sdkerrors.Error + func MetaHashStoreKey(metahash acmstate.MetadataHash) []byte + func ParamKeyTable() subspace.KeyTable + func RegisterCodec(cdc *codec.Codec) + func StorageStoreKey(addr crypto.Address, key binary.Word256) []byte + func ValidateGenesis(bz json.RawMessage) error + type AccountKeeper interface + GetAccount func(sdk.Context, sdk.AccAddress) exported.Account + IterateAccounts func(ctx sdk.Context, process func(exported.Account) (stop bool)) + NewAccount func(sdk.Context, exported.Account) exported.Account + NewAccountWithAddress func(sdk.Context, sdk.AccAddress) exported.Account + SetAccount func(sdk.Context, exported.Account) + type BankKeeper interface + AddCoins func(ctx sdk.Context, addr sdk.AccAddress, amt sdk.Coins) (sdk.Coins, error) + DelegateCoins func(ctx sdk.Context, fromAdd, toAddr sdk.AccAddress, amt sdk.Coins) error + SendCoins func(ctx sdk.Context, fromAddr sdk.AccAddress, toAddr sdk.AccAddress, amt sdk.Coins) error + SubtractCoins func(ctx sdk.Context, addr sdk.AccAddress, amt sdk.Coins) (sdk.Coins, error) + UndelegateCoins func(ctx sdk.Context, fromAddr, toAddr sdk.AccAddress, amt sdk.Coins) error + type CVMAccount struct + Abi string + Code acm.Bytecode + func NewCVMAccount(baseAcc *authtypes.BaseAccount, code acm.Bytecode, abi string) *CVMAccount + func (ca *CVMAccount) UnmarshalJSON(bz []byte) error + func (ca CVMAccount) MarshalJSON() ([]byte, error) + func (ca CVMAccount) MarshalYAML() (interface{}, error) + func (ca CVMAccount) String() string + type CVMCode struct + Code acm.Bytecode + CodeType CVMCodeType + func NewCVMCode(codeType CVMCodeType, code []byte) CVMCode + type CVMCodeType byte + const CVMCodeTypeEVMCode + const CVMCodeTypeEWASMCode + type CertKeeper interface + IsCertified func(ctx sdk.Context, contentType string, content string, certType string) bool + IsCertifier func(ctx sdk.Context, addr sdk.AccAddress) bool + IsContentCertified func(ctx sdk.Context, content string) bool + SetValidator func(ctx sdk.Context, key crypto.PubKey, certifier sdk.AccAddress) + type Contract struct + Abi []byte + Address crypto.Address + Code CVMCode + Meta []ContractMeta + Storage []Storage + type ContractMeta struct + CodeHash []byte + MetadataHash []byte + type DistributionKeeper interface + FundCommunityPool func(ctx sdk.Context, amount sdk.Coins, sender sdk.AccAddress) error + type GenesisState struct + Contracts []Contract + GasRate uint64 + Metadata []Metadata + func DefaultGenesisState() GenesisState + func NewGenesisState(rate uint64) GenesisState + type Metadata struct + Hash acmstate.MetadataHash + Metadata string + type MsgCall struct + Callee sdk.AccAddress + Caller sdk.AccAddress + Data acm.Bytecode + Value uint64 + func NewMsgCall(caller, callee sdk.AccAddress, value uint64, data []byte) MsgCall + func (m MsgCall) GetSignBytes() []byte + func (m MsgCall) GetSigners() []sdk.AccAddress + func (m MsgCall) Route() string + func (m MsgCall) Type() string + func (m MsgCall) ValidateBasic() error + type MsgDeploy struct + Abi string + Caller sdk.AccAddress + Code acm.Bytecode + IsEWASM bool + IsRuntime bool + Meta []*payload.ContractMeta + Value uint64 + func NewMsgDeploy(caller sdk.AccAddress, value uint64, code acm.Bytecode, abi string, ...) MsgDeploy + func (m MsgDeploy) GetSignBytes() []byte + func (m MsgDeploy) GetSigners() []sdk.AccAddress + func (m MsgDeploy) Route() string + func (m MsgDeploy) Type() string + func (m MsgDeploy) ValidateBasic() error + type Params struct + GasRate uint64 + func NewParams(gasRate uint64) Params + func (p *Params) ParamSetPairs() subspace.ParamSetPairs + func (p Params) Validate() error + type QueryResAbi struct + Abi []byte + func (q QueryResAbi) String() string + type QueryResAddrMeta struct + Metahash string + func (q QueryResAddrMeta) String() string + type QueryResCode struct + Code acm.Bytecode + func (q QueryResCode) String() string + type QueryResMeta struct + Meta string + type QueryResStorage struct + Value []byte + func (q QueryResStorage) String() string + type QueryResView struct + Ret []byte + type Storage struct + Key binary.Word256 + Value []byte Other modules containing this package github.com/certikfoundation/shentu/v2