UNPKG

@sei-js/evm

Version:

TypeScript library for EVM interactions on the Sei blockchain

88 lines (87 loc) 2.58 kB
/** * The address of the Address precompile contract. * This contract gets associated Sei and EVM addresses. * @category Cosmos Interoperability */ export declare const ADDRESS_PRECOMPILE_ADDRESS: `0x${string}`; /** * The ABI for the Address precompile contract. * @category Cosmos Interoperability */ export declare const ADDRESS_PRECOMPILE_ABI: readonly [{ readonly inputs: readonly [{ readonly internalType: "string"; readonly name: "addr"; readonly type: "string"; }]; readonly name: "getEvmAddr"; readonly outputs: readonly [{ readonly internalType: "address"; readonly name: "response"; readonly type: "address"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "address"; readonly name: "addr"; readonly type: "address"; }]; readonly name: "getSeiAddr"; readonly outputs: readonly [{ readonly internalType: "string"; readonly name: "response"; readonly type: "string"; }]; readonly stateMutability: "view"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "string"; readonly name: "v"; readonly type: "string"; }, { readonly internalType: "string"; readonly name: "r"; readonly type: "string"; }, { readonly internalType: "string"; readonly name: "s"; readonly type: "string"; }, { readonly internalType: "string"; readonly name: "customMessage"; readonly type: "string"; }]; readonly name: "associate"; readonly outputs: readonly [{ readonly internalType: "string"; readonly name: "seiAddr"; readonly type: "string"; }, { readonly internalType: "address"; readonly name: "evmAddr"; readonly type: "address"; }]; readonly stateMutability: "nonpayable"; readonly type: "function"; }, { readonly inputs: readonly [{ readonly internalType: "string"; readonly name: "pubKeyHex"; readonly type: "string"; }]; readonly name: "associatePubKey"; readonly outputs: readonly [{ readonly internalType: "string"; readonly name: "seiAddr"; readonly type: "string"; }, { readonly internalType: "address"; readonly name: "evmAddr"; readonly type: "address"; }]; readonly stateMutability: "nonpayable"; readonly type: "function"; }];