@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.
45 lines • 1.5 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ERC20_EVM = void 0;
exports.ERC20_EVM = [
{
type: 'function',
name: 'allowance',
inputs: [
{ name: 'owner', type: 'address', internalType: 'address' },
{ name: 'spender', type: 'address', internalType: 'address' },
],
outputs: [{ name: '', type: 'uint256', internalType: 'uint256' }],
stateMutability: 'view',
},
{
type: 'function',
name: 'approve',
inputs: [
{ name: 'spender', type: 'address', internalType: 'address' },
{ name: 'amount', type: 'uint256', internalType: 'uint256' },
],
outputs: [{ name: '', type: 'bool' }],
stateMutability: 'nonpayable',
},
{
type: 'function',
name: 'transfer',
inputs: [
{ name: 'recipient', type: 'address', internalType: 'address' },
{ name: 'amount', type: 'uint256', internalType: 'uint256' },
],
outputs: [{ name: '', type: 'bool' }],
stateMutability: 'nonpayable',
},
{
type: 'function',
name: 'transferFrom',
inputs: [
{ name: 'sender', type: 'address', internalType: 'address' },
{ name: 'recipient', type: 'address', internalType: 'address' },
{ name: 'amount', type: 'uint256', internalType: 'uint256' },
],
},
];
//# sourceMappingURL=erc20.evm.js.map