Variable WASM_PRECOMPILE_ABIConst
WASM_PRECOMPILE_ABI: readonly [
{
inputs: readonly [
{ internalType: "string"; name: "contractAddress"; type: "string" },
{ internalType: "bytes"; name: "msg"; type: "bytes" },
{ internalType: "bytes"; name: "coins"; type: "bytes" },
];
name: "execute";
outputs: readonly [
{ internalType: "bytes"; name: "response"; type: "bytes" },
];
stateMutability: "payable";
type: "function";
},
{
inputs: readonly [
{
components: readonly [
{ internalType: "string"; name: "contractAddress"; type: "string" },
{ internalType: "bytes"; name: "msg"; type: "bytes" },
{ internalType: "bytes"; name: "coins"; type: "bytes" },
];
internalType: "struct IWasmd.ExecuteMsg[]";
name: "executeMsgs";
type: "tuple[]";
},
];
name: "execute_batch";
outputs: readonly [
{ internalType: "bytes[]"; name: "responses"; type: "bytes[]" },
];
stateMutability: "payable";
type: "function";
},
{
inputs: readonly [
{ internalType: "uint64"; name: "codeID"; type: "uint64" },
{ internalType: "string"; name: "admin"; type: "string" },
{ internalType: "bytes"; name: "msg"; type: "bytes" },
{ internalType: "string"; name: "label"; type: "string" },
{ internalType: "bytes"; name: "coins"; type: "bytes" },
];
name: "instantiate";
outputs: readonly [
{ internalType: "string"; name: "contractAddr"; type: "string" },
{ internalType: "bytes"; name: "data"; type: "bytes" },
];
stateMutability: "payable";
type: "function";
},
{
inputs: readonly [
{ internalType: "string"; name: "contractAddress"; type: "string" },
{ internalType: "bytes"; name: "req"; type: "bytes" },
];
name: "query";
outputs: readonly [
{ internalType: "bytes"; name: "response"; type: "bytes" },
];
stateMutability: "view";
type: "function";
},
] = ...
The ABI for the Wasm precompile contract.