Skip to main content

Interface: Contract

Properties

address

Readonly address: string

Defined in

node_modules/@cosmjs/cosmwasm-stargate/build/cosmwasmclient.d.ts:16


admin

Readonly admin: undefined | string

Bech32-encoded admin address

Defined in

node_modules/@cosmjs/cosmwasm-stargate/build/cosmwasmclient.d.ts:21


codeId

Readonly codeId: number

Defined in

node_modules/@cosmjs/cosmwasm-stargate/build/cosmwasmclient.d.ts:17


creator

Readonly creator: string

Bech32 account address

Defined in

node_modules/@cosmjs/cosmwasm-stargate/build/cosmwasmclient.d.ts:19


ibcPortId

Readonly ibcPortId: undefined | string

The IBC port ID assigned to this contract by wasmd.

This is set for all IBC contracts (https://github.com/CosmWasm/wasmd/blob/v0.16.0/x/wasm/keeper/keeper.go#L299-L306).

Defined in

node_modules/@cosmjs/cosmwasm-stargate/build/cosmwasmclient.d.ts:28


label

Readonly label: string

Defined in

node_modules/@cosmjs/cosmwasm-stargate/build/cosmwasmclient.d.ts:22