UNPKG

@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.

401 lines 11.4 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.FEE_LOCKER_EVM = void 0; exports.FEE_LOCKER_EVM = [ { type: 'function', name: 'DEFAULT_ADMIN_ROLE', inputs: [], outputs: [{ name: '', type: 'bytes32', internalType: 'bytes32' }], stateMutability: 'view', }, { type: 'function', name: 'UNISWAP_ROUTER', inputs: [], outputs: [{ name: '', type: 'address', internalType: 'address' }], stateMutability: 'view', }, { type: 'function', name: 'UPGRADE_INTERFACE_VERSION', inputs: [], outputs: [{ name: '', type: 'string', internalType: 'string' }], stateMutability: 'view', }, { type: 'function', name: 'USDT', inputs: [], outputs: [{ name: '', type: 'address', internalType: 'address' }], stateMutability: 'view', }, { type: 'function', name: 'WETH', inputs: [], outputs: [{ name: '', type: 'address', internalType: 'address' }], stateMutability: 'view', }, { type: 'function', name: 'addFunds', inputs: [ { name: '_transactionHash', type: 'bytes32', internalType: 'bytes32', }, ], outputs: [], stateMutability: 'payable', }, { type: 'function', name: 'ethUsdPriceFeed', inputs: [], outputs: [ { name: '', type: 'address', internalType: 'contract AggregatorV3Interface', }, ], stateMutability: 'view', }, { type: 'function', name: 'getEthUsdPrice', inputs: [], outputs: [ { name: '', type: 'uint256', internalType: 'uint256' }, { name: '', type: 'uint8', internalType: 'uint8' }, ], stateMutability: 'view', }, { type: 'function', name: 'getEthUsdPrice_old', inputs: [], outputs: [ { name: '', type: 'uint256', internalType: 'uint256' }, { name: '', type: 'uint8', internalType: 'uint8' }, ], stateMutability: 'view', }, { type: 'function', name: 'getRoleAdmin', inputs: [{ name: 'role', type: 'bytes32', internalType: 'bytes32' }], outputs: [{ name: '', type: 'bytes32', internalType: 'bytes32' }], stateMutability: 'view', }, { type: 'function', name: 'grantRole', inputs: [ { name: 'role', type: 'bytes32', internalType: 'bytes32' }, { name: 'account', type: 'address', internalType: 'address' }, ], outputs: [], stateMutability: 'nonpayable', }, { type: 'function', name: 'hasRole', inputs: [ { name: 'role', type: 'bytes32', internalType: 'bytes32' }, { name: 'account', type: 'address', internalType: 'address' }, ], outputs: [{ name: '', type: 'bool', internalType: 'bool' }], stateMutability: 'view', }, { type: 'function', name: 'initialize', inputs: [ { name: '_admin', type: 'address', internalType: 'address' }, { name: '_weth', type: 'address', internalType: 'address' }, { name: '_usdt', type: 'address', internalType: 'address' }, { name: '_router', type: 'address', internalType: 'address' }, { name: '_priceFeed', type: 'address', internalType: 'address' }, { name: '_usdtPriceFeed', type: 'address', internalType: 'address', }, ], outputs: [], stateMutability: 'nonpayable', }, { type: 'function', name: 'proxiableUUID', inputs: [], outputs: [{ name: '', type: 'bytes32', internalType: 'bytes32' }], stateMutability: 'view', }, { type: 'function', name: 'recoverToken', inputs: [ { name: '_recipient', type: 'address', internalType: 'address' }, { name: 'amount', type: 'uint256', internalType: 'uint256' }, ], outputs: [], stateMutability: 'nonpayable', }, { type: 'function', name: 'renounceRole', inputs: [ { name: 'role', type: 'bytes32', internalType: 'bytes32' }, { name: 'callerConfirmation', type: 'address', internalType: 'address', }, ], outputs: [], stateMutability: 'nonpayable', }, { type: 'function', name: 'revokeRole', inputs: [ { name: 'role', type: 'bytes32', internalType: 'bytes32' }, { name: 'account', type: 'address', internalType: 'address' }, ], outputs: [], stateMutability: 'nonpayable', }, { type: 'function', name: 'supportsInterface', inputs: [{ name: 'interfaceId', type: 'bytes4', internalType: 'bytes4' }], outputs: [{ name: '', type: 'bool', internalType: 'bool' }], stateMutability: 'view', }, { type: 'function', name: 'upgradeToAndCall', inputs: [ { name: 'newImplementation', type: 'address', internalType: 'address', }, { name: 'data', type: 'bytes', internalType: 'bytes' }, ], outputs: [], stateMutability: 'payable', }, { type: 'function', name: 'usdtUsdPriceFeed', inputs: [], outputs: [ { name: '', type: 'address', internalType: 'contract AggregatorV3Interface', }, ], stateMutability: 'view', }, { type: 'event', name: 'FundsAdded', inputs: [ { name: 'user', type: 'address', indexed: true, internalType: 'address', }, { name: 'transactionHash', type: 'bytes32', indexed: true, internalType: 'bytes32', }, { name: 'AmountInUSD', type: 'tuple', indexed: false, internalType: 'struct UniversalGateway.AmountInUSD', components: [ { name: 'amountInUSD', type: 'uint256', internalType: 'uint256', }, { name: 'decimals', type: 'uint8', internalType: 'uint8' }, ], }, ], anonymous: false, }, { type: 'event', name: 'Initialized', inputs: [ { name: 'version', type: 'uint64', indexed: false, internalType: 'uint64', }, ], anonymous: false, }, { type: 'event', name: 'RoleAdminChanged', inputs: [ { name: 'role', type: 'bytes32', indexed: true, internalType: 'bytes32', }, { name: 'previousAdminRole', type: 'bytes32', indexed: true, internalType: 'bytes32', }, { name: 'newAdminRole', type: 'bytes32', indexed: true, internalType: 'bytes32', }, ], anonymous: false, }, { type: 'event', name: 'RoleGranted', inputs: [ { name: 'role', type: 'bytes32', indexed: true, internalType: 'bytes32', }, { name: 'account', type: 'address', indexed: true, internalType: 'address', }, { name: 'sender', type: 'address', indexed: true, internalType: 'address', }, ], anonymous: false, }, { type: 'event', name: 'RoleRevoked', inputs: [ { name: 'role', type: 'bytes32', indexed: true, internalType: 'bytes32', }, { name: 'account', type: 'address', indexed: true, internalType: 'address', }, { name: 'sender', type: 'address', indexed: true, internalType: 'address', }, ], anonymous: false, }, { type: 'event', name: 'TokenRecovered', inputs: [ { name: 'admin', type: 'address', indexed: true, internalType: 'address', }, { name: 'amount', type: 'uint256', indexed: true, internalType: 'uint256', }, ], anonymous: false, }, { type: 'event', name: 'Upgraded', inputs: [ { name: 'implementation', type: 'address', indexed: true, internalType: 'address', }, ], anonymous: false, }, { type: 'error', name: 'AccessControlBadConfirmation', inputs: [] }, { type: 'error', name: 'AccessControlUnauthorizedAccount', inputs: [ { name: 'account', type: 'address', internalType: 'address' }, { name: 'neededRole', type: 'bytes32', internalType: 'bytes32' }, ], }, { type: 'error', name: 'AddressEmptyCode', inputs: [{ name: 'target', type: 'address', internalType: 'address' }], }, { type: 'error', name: 'ERC1967InvalidImplementation', inputs: [ { name: 'implementation', type: 'address', internalType: 'address', }, ], }, { type: 'error', name: 'ERC1967NonPayable', inputs: [] }, { type: 'error', name: 'FailedCall', inputs: [] }, { type: 'error', name: 'InvalidInitialization', inputs: [] }, { type: 'error', name: 'NotInitializing', inputs: [] }, { type: 'error', name: 'ReentrancyGuardReentrantCall', inputs: [] }, { type: 'error', name: 'SafeERC20FailedOperation', inputs: [{ name: 'token', type: 'address', internalType: 'address' }], }, { type: 'error', name: 'UUPSUnauthorizedCallContext', inputs: [] }, { type: 'error', name: 'UUPSUnsupportedProxiableUUID', inputs: [{ name: 'slot', type: 'bytes32', internalType: 'bytes32' }], }, ]; //# sourceMappingURL=feeLocker.evm.js.map