@sei-js/evm
Version:
TypeScript library for EVM interactions on the Sei blockchain
112 lines (111 loc) • 3.31 kB
TypeScript
/**
* The address of the Wasm precompile contract.
* @category Cosmos Interoperability
*/
export declare const WASM_PRECOMPILE_ADDRESS: `0x${string}`;
/**
* The ABI for the Wasm precompile contract.
* @category Cosmos Interoperability
*/
export declare const WASM_PRECOMPILE_ABI: readonly [{
readonly inputs: readonly [{
readonly internalType: "string";
readonly name: "contractAddress";
readonly type: "string";
}, {
readonly internalType: "bytes";
readonly name: "msg";
readonly type: "bytes";
}, {
readonly internalType: "bytes";
readonly name: "coins";
readonly type: "bytes";
}];
readonly name: "execute";
readonly outputs: readonly [{
readonly internalType: "bytes";
readonly name: "response";
readonly type: "bytes";
}];
readonly stateMutability: "payable";
readonly type: "function";
}, {
readonly inputs: readonly [{
readonly components: readonly [{
readonly internalType: "string";
readonly name: "contractAddress";
readonly type: "string";
}, {
readonly internalType: "bytes";
readonly name: "msg";
readonly type: "bytes";
}, {
readonly internalType: "bytes";
readonly name: "coins";
readonly type: "bytes";
}];
readonly internalType: "struct IWasmd.ExecuteMsg[]";
readonly name: "executeMsgs";
readonly type: "tuple[]";
}];
readonly name: "execute_batch";
readonly outputs: readonly [{
readonly internalType: "bytes[]";
readonly name: "responses";
readonly type: "bytes[]";
}];
readonly stateMutability: "payable";
readonly type: "function";
}, {
readonly inputs: readonly [{
readonly internalType: "uint64";
readonly name: "codeID";
readonly type: "uint64";
}, {
readonly internalType: "string";
readonly name: "admin";
readonly type: "string";
}, {
readonly internalType: "bytes";
readonly name: "msg";
readonly type: "bytes";
}, {
readonly internalType: "string";
readonly name: "label";
readonly type: "string";
}, {
readonly internalType: "bytes";
readonly name: "coins";
readonly type: "bytes";
}];
readonly name: "instantiate";
readonly outputs: readonly [{
readonly internalType: "string";
readonly name: "contractAddr";
readonly type: "string";
}, {
readonly internalType: "bytes";
readonly name: "data";
readonly type: "bytes";
}];
readonly stateMutability: "payable";
readonly type: "function";
}, {
readonly inputs: readonly [{
readonly internalType: "string";
readonly name: "contractAddress";
readonly type: "string";
}, {
readonly internalType: "bytes";
readonly name: "req";
readonly type: "bytes";
}];
readonly name: "query";
readonly outputs: readonly [{
readonly internalType: "bytes";
readonly name: "response";
readonly type: "bytes";
}];
readonly stateMutability: "view";
readonly type: "function";
}];