Documentation ¶
Index ¶
- func CounterWasm() []byte
- func EchoWasm() []byte
- func InstantiateContract(app *provenanceapp.App, ctx sdk.Context, msg string, codeID uint64) (sdk.AccAddress, error)
- func PinContract(app *provenanceapp.App, ctx sdk.Context, codeID uint64) error
- func QueryContract(app *provenanceapp.App, ctx sdk.Context, contract sdk.AccAddress, key []byte) (string, error)
- func RateLimiterWasm() []byte
- func StoreContractCode(app *provenanceapp.App, ctx sdk.Context, wasmCode []byte) (uint64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CounterWasm ¶
func CounterWasm() []byte
CounterWasm returns the counter contract wasm byte data
func InstantiateContract ¶
func InstantiateContract(app *provenanceapp.App, ctx sdk.Context, msg string, codeID uint64) (sdk.AccAddress, error)
func PinContract ¶ added in v1.18.0
func QueryContract ¶
func QueryContract(app *provenanceapp.App, ctx sdk.Context, contract sdk.AccAddress, key []byte) (string, error)
func RateLimiterWasm ¶ added in v1.18.0
func RateLimiterWasm() []byte
CounterWasm returns the counter contract wasm byte data
func StoreContractCode ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.