@sei-js/evm
Version:
TypeScript library for EVM interactions on the Sei blockchain
48 lines (47 loc) • 1.76 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.POINTERVIEW_PRECOMPILE_ABI = exports.POINTERVIEW_PRECOMPILE_ADDRESS = void 0;
/**
* The address of the Pointerview precompile contract.
* @category Cosmos Interoperability
*/
exports.POINTERVIEW_PRECOMPILE_ADDRESS = '0x000000000000000000000000000000000000100A';
/**
* The ABI for the Pointerview precompile contract.
* @category Cosmos Interoperability
*/
exports.POINTERVIEW_PRECOMPILE_ABI = [
{
inputs: [{ internalType: 'string', name: 'cwAddr', type: 'string' }],
name: 'getCW20Pointer',
outputs: [
{ internalType: 'address', name: 'addr', type: 'address' },
{ internalType: 'uint16', name: 'version', type: 'uint16' },
{ internalType: 'bool', name: 'exists', type: 'bool' }
],
stateMutability: 'view',
type: 'function'
},
{
inputs: [{ internalType: 'string', name: 'cwAddr', type: 'string' }],
name: 'getCW721Pointer',
outputs: [
{ internalType: 'address', name: 'addr', type: 'address' },
{ internalType: 'uint16', name: 'version', type: 'uint16' },
{ internalType: 'bool', name: 'exists', type: 'bool' }
],
stateMutability: 'view',
type: 'function'
},
{
inputs: [{ internalType: 'string', name: 'token', type: 'string' }],
name: 'getNativePointer',
outputs: [
{ internalType: 'address', name: 'addr', type: 'address' },
{ internalType: 'uint16', name: 'version', type: 'uint16' },
{ internalType: 'bool', name: 'exists', type: 'bool' }
],
stateMutability: 'view',
type: 'function'
}
];