@pushchain/core
Version:
Push Chain is a true universal L1 that is 100% EVM compatible. It allows developers to deploy once and make their apps instantly compatible with users from all other L1s (Ethereum, Solana, etc) with zero on-chain code change.
341 lines • 9.23 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.UEA_EVM = void 0;
exports.UEA_EVM = [
{
type: 'receive',
stateMutability: 'payable',
},
{
type: 'function',
name: 'VERSION',
inputs: [],
outputs: [
{
name: '',
type: 'string',
internalType: 'string',
},
],
stateMutability: 'view',
},
{
type: 'function',
name: 'domainSeparator',
inputs: [],
outputs: [
{
name: '',
type: 'bytes32',
internalType: 'bytes32',
},
],
stateMutability: 'view',
},
{
type: 'function',
name: 'executePayload',
inputs: [
{
name: 'payload',
type: 'tuple',
internalType: 'struct UniversalPayload',
components: [
{
name: 'to',
type: 'address',
internalType: 'address',
},
{
name: 'value',
type: 'uint256',
internalType: 'uint256',
},
{
name: 'data',
type: 'bytes',
internalType: 'bytes',
},
{
name: 'gasLimit',
type: 'uint256',
internalType: 'uint256',
},
{
name: 'maxFeePerGas',
type: 'uint256',
internalType: 'uint256',
},
{
name: 'maxPriorityFeePerGas',
type: 'uint256',
internalType: 'uint256',
},
{
name: 'nonce',
type: 'uint256',
internalType: 'uint256',
},
{
name: 'deadline',
type: 'uint256',
internalType: 'uint256',
},
{
name: 'vType',
type: 'uint8',
internalType: 'enum VerificationType',
},
],
},
{
name: 'signature',
type: 'bytes',
internalType: 'bytes',
},
],
outputs: [],
stateMutability: 'nonpayable',
},
{
type: 'function',
name: 'getTransactionHash',
inputs: [
{
name: 'payload',
type: 'tuple',
internalType: 'struct UniversalPayload',
components: [
{
name: 'to',
type: 'address',
internalType: 'address',
},
{
name: 'value',
type: 'uint256',
internalType: 'uint256',
},
{
name: 'data',
type: 'bytes',
internalType: 'bytes',
},
{
name: 'gasLimit',
type: 'uint256',
internalType: 'uint256',
},
{
name: 'maxFeePerGas',
type: 'uint256',
internalType: 'uint256',
},
{
name: 'maxPriorityFeePerGas',
type: 'uint256',
internalType: 'uint256',
},
{
name: 'nonce',
type: 'uint256',
internalType: 'uint256',
},
{
name: 'deadline',
type: 'uint256',
internalType: 'uint256',
},
{
name: 'vType',
type: 'uint8',
internalType: 'enum VerificationType',
},
],
},
],
outputs: [
{
name: '',
type: 'bytes32',
internalType: 'bytes32',
},
],
stateMutability: 'view',
},
{
type: 'function',
name: 'initialize',
inputs: [
{
name: '_id',
type: 'tuple',
internalType: 'struct UniversalAccountId',
components: [
{
name: 'chainNamespace',
type: 'string',
internalType: 'string',
},
{
name: 'chainId',
type: 'string',
internalType: 'string',
},
{
name: 'owner',
type: 'bytes',
internalType: 'bytes',
},
],
},
],
outputs: [],
stateMutability: 'nonpayable',
},
{
type: 'function',
name: 'nonce',
inputs: [],
outputs: [
{
name: '',
type: 'uint256',
internalType: 'uint256',
},
],
stateMutability: 'view',
},
{
type: 'function',
name: 'universalAccount',
inputs: [],
outputs: [
{
name: '',
type: 'tuple',
internalType: 'struct UniversalAccountId',
components: [
{
name: 'chainNamespace',
type: 'string',
internalType: 'string',
},
{
name: 'chainId',
type: 'string',
internalType: 'string',
},
{
name: 'owner',
type: 'bytes',
internalType: 'bytes',
},
],
},
],
stateMutability: 'view',
},
{
type: 'function',
name: 'verifyPayloadSignature',
inputs: [
{
name: 'messageHash',
type: 'bytes32',
internalType: 'bytes32',
},
{
name: 'signature',
type: 'bytes',
internalType: 'bytes',
},
],
outputs: [
{
name: '',
type: 'bool',
internalType: 'bool',
},
],
stateMutability: 'view',
},
{
type: 'event',
name: 'PayloadExecuted',
inputs: [
{
name: 'caller',
type: 'bytes',
indexed: false,
internalType: 'bytes',
},
{
name: 'target',
type: 'address',
indexed: false,
internalType: 'address',
},
{
name: 'data',
type: 'bytes',
indexed: false,
internalType: 'bytes',
},
],
anonymous: false,
},
{
type: 'error',
name: 'AlreadyInitialized',
inputs: [],
},
{
type: 'error',
name: 'ECDSAInvalidSignature',
inputs: [],
},
{
type: 'error',
name: 'ECDSAInvalidSignatureLength',
inputs: [
{
name: 'length',
type: 'uint256',
internalType: 'uint256',
},
],
},
{
type: 'error',
name: 'ECDSAInvalidSignatureS',
inputs: [
{
name: 's',
type: 'bytes32',
internalType: 'bytes32',
},
],
},
{
type: 'error',
name: 'ExecutionFailed',
inputs: [],
},
{
type: 'error',
name: 'ExpiredDeadline',
inputs: [],
},
{
type: 'error',
name: 'InvalidEVMSignature',
inputs: [],
},
{
type: 'error',
name: 'ReentrancyGuardReentrantCall',
inputs: [],
},
];
//# sourceMappingURL=uea.evm.js.map