contracts

package
v1.20.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 21, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

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 EchoWasm

func EchoWasm() []byte

EchoWasm returns the echo 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 PinContract(app *provenanceapp.App, ctx sdk.Context, codeID uint64) error

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

func StoreContractCode(app *provenanceapp.App, ctx sdk.Context, wasmCode []byte) (uint64, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL