From 3ffc2616c8425c36ba9f892d280f17d11f47b0ea Mon Sep 17 00:00:00 2001 From: Georges KABBOUCHI Date: Tue, 17 Dec 2024 15:29:15 +0200 Subject: [PATCH] Update index.ts --- test/fixtures/index.ts | 1402 ++++++++++++++++++++++++++-------------- 1 file changed, 934 insertions(+), 468 deletions(-) diff --git a/test/fixtures/index.ts b/test/fixtures/index.ts index 3bfb0dd..732b2c5 100644 --- a/test/fixtures/index.ts +++ b/test/fixtures/index.ts @@ -1,257 +1,259 @@ export const polygonMaticABI = [ { - constant: true, inputs: [], - name: 'name', - outputs: [ - { - internalType: 'string', - name: '', - type: 'string' - } - ], payable: false, - stateMutability: 'view', - type: 'function' + stateMutability: 'nonpayable', + type: 'constructor' }, { - constant: false, + anonymous: false, inputs: [ { + indexed: true, + internalType: 'address', + name: 'previousAddress', + type: 'address' + }, + { + indexed: true, internalType: 'address', - name: '', + name: 'newAddress', type: 'address' } ], - name: 'setParent', - outputs: [], - payable: false, - stateMutability: 'nonpayable', - type: 'function' + name: 'ChildChainChanged', + type: 'event' }, { - constant: true, - inputs: [], - name: 'totalSupply', - outputs: [ + anonymous: false, + inputs: [ + { + indexed: true, + internalType: 'address', + name: 'token', + type: 'address' + }, + { indexed: true, internalType: 'address', name: 'from', type: 'address' }, + { + indexed: false, + internalType: 'uint256', + name: 'amount', + type: 'uint256' + }, { + indexed: false, + internalType: 'uint256', + name: 'input1', + type: 'uint256' + }, + { + indexed: false, internalType: 'uint256', - name: '', + name: 'output1', type: 'uint256' } ], - payable: false, - stateMutability: 'view', - type: 'function' + name: 'Deposit', + type: 'event' }, { - constant: false, + anonymous: false, inputs: [ { - internalType: 'bytes', - name: 'sig', - type: 'bytes' + indexed: true, + internalType: 'address', + name: 'token', + type: 'address' }, + { indexed: true, internalType: 'address', name: 'from', type: 'address' }, + { indexed: true, internalType: 'address', name: 'to', type: 'address' }, { + indexed: false, internalType: 'uint256', name: 'amount', type: 'uint256' }, { - internalType: 'bytes32', - name: 'data', - type: 'bytes32' + indexed: false, + internalType: 'uint256', + name: 'input1', + type: 'uint256' }, { + indexed: false, internalType: 'uint256', - name: 'expiration', + name: 'input2', type: 'uint256' }, { - internalType: 'address', - name: 'to', - type: 'address' - } - ], - name: 'transferWithSig', - outputs: [ - { - internalType: 'address', - name: 'from', - type: 'address' - } - ], - payable: false, - stateMutability: 'nonpayable', - type: 'function' - }, - { - constant: false, - inputs: [ - { + indexed: false, internalType: 'uint256', - name: 'amount', + name: 'output1', type: 'uint256' - } - ], - name: 'withdraw', - outputs: [], - payable: true, - stateMutability: 'payable', - type: 'function' - }, - { - constant: true, - inputs: [], - name: 'decimals', - outputs: [ + }, { - internalType: 'uint8', - name: '', - type: 'uint8' + indexed: false, + internalType: 'uint256', + name: 'output2', + type: 'uint256' } ], - payable: false, - stateMutability: 'view', - type: 'function' + name: 'LogFeeTransfer', + type: 'event' }, { - constant: false, + anonymous: false, inputs: [ { + indexed: true, internalType: 'address', - name: 'user', + name: 'token', type: 'address' }, + { indexed: true, internalType: 'address', name: 'from', type: 'address' }, + { indexed: true, internalType: 'address', name: 'to', type: 'address' }, { + indexed: false, internalType: 'uint256', name: 'amount', type: 'uint256' + }, + { + indexed: false, + internalType: 'uint256', + name: 'input1', + type: 'uint256' + }, + { + indexed: false, + internalType: 'uint256', + name: 'input2', + type: 'uint256' + }, + { + indexed: false, + internalType: 'uint256', + name: 'output1', + type: 'uint256' + }, + { + indexed: false, + internalType: 'uint256', + name: 'output2', + type: 'uint256' } ], - name: 'deposit', - outputs: [], - payable: false, - stateMutability: 'nonpayable', - type: 'function' + name: 'LogTransfer', + type: 'event' }, { - constant: false, + anonymous: false, inputs: [ { + indexed: true, internalType: 'address', - name: '_childChain', + name: 'previousOwner', type: 'address' }, { + indexed: true, internalType: 'address', - name: '_token', + name: 'newOwner', type: 'address' } ], - name: 'initialize', - outputs: [], - payable: false, - stateMutability: 'nonpayable', - type: 'function' + name: 'OwnershipTransferred', + type: 'event' }, { - constant: true, - inputs: [], - name: 'parent', - outputs: [ + anonymous: false, + inputs: [ + { + indexed: true, + internalType: 'address', + name: 'previousAddress', + type: 'address' + }, { + indexed: true, internalType: 'address', - name: '', + name: 'newAddress', type: 'address' } ], - payable: false, - stateMutability: 'view', - type: 'function' + name: 'ParentChanged', + type: 'event' }, { - constant: true, - inputs: [], - name: 'parentOwner', - outputs: [ + anonymous: false, + inputs: [ + { indexed: true, internalType: 'address', name: 'from', type: 'address' }, + { indexed: true, internalType: 'address', name: 'to', type: 'address' }, { - internalType: 'address', - name: '', - type: 'address' + indexed: false, + internalType: 'uint256', + name: 'value', + type: 'uint256' } ], - payable: false, - stateMutability: 'view', - type: 'function' + name: 'Transfer', + type: 'event' }, { - constant: true, + anonymous: false, inputs: [ { + indexed: true, internalType: 'address', - name: 'account', + name: 'token', type: 'address' - } - ], - name: 'balanceOf', - outputs: [ + }, + { indexed: true, internalType: 'address', name: 'from', type: 'address' }, + { + indexed: false, + internalType: 'uint256', + name: 'amount', + type: 'uint256' + }, + { + indexed: false, + internalType: 'uint256', + name: 'input1', + type: 'uint256' + }, { + indexed: false, internalType: 'uint256', - name: '', + name: 'output1', type: 'uint256' } ], - payable: false, - stateMutability: 'view', - type: 'function' + name: 'Withdraw', + type: 'event' }, { - constant: false, + constant: true, inputs: [], - name: 'renounceOwnership', - outputs: [], + name: 'CHAINID', + outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }], payable: false, - stateMutability: 'nonpayable', + stateMutability: 'view', type: 'function' }, { constant: true, inputs: [], - name: 'currentSupply', - outputs: [ - { - internalType: 'uint256', - name: '', - type: 'uint256' - } - ], + name: 'EIP712_DOMAIN_HASH', + outputs: [{ internalType: 'bytes32', name: '', type: 'bytes32' }], payable: false, stateMutability: 'view', type: 'function' }, { constant: true, - inputs: [ - { - internalType: 'bytes32', - name: 'hash', - type: 'bytes32' - }, - { - internalType: 'bytes', - name: 'sig', - type: 'bytes' - } - ], - name: 'ecrecovery', - outputs: [ - { - internalType: 'address', - name: 'result', - type: 'address' - } - ], + inputs: [], + name: 'EIP712_DOMAIN_SCHEMA_HASH', + outputs: [{ internalType: 'bytes32', name: '', type: 'bytes32' }], payable: false, stateMutability: 'view', type: 'function' @@ -259,44 +261,35 @@ export const polygonMaticABI = [ { constant: true, inputs: [], - name: 'owner', - outputs: [ - { - internalType: 'address', - name: '', - type: 'address' - } - ], + name: 'EIP712_TOKEN_TRANSFER_ORDER_SCHEMA_HASH', + outputs: [{ internalType: 'bytes32', name: '', type: 'bytes32' }], payable: false, stateMutability: 'view', type: 'function' }, { constant: true, - inputs: [], - name: 'isOwner', - outputs: [ - { - internalType: 'bool', - name: '', - type: 'bool' - } - ], + inputs: [{ internalType: 'address', name: 'account', type: 'address' }], + name: 'balanceOf', + outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }], payable: false, stateMutability: 'view', type: 'function' }, + { + constant: false, + inputs: [{ internalType: 'address', name: 'newAddress', type: 'address' }], + name: 'changeChildChain', + outputs: [], + payable: false, + stateMutability: 'nonpayable', + type: 'function' + }, { constant: true, inputs: [], - name: 'networkId', - outputs: [ - { - internalType: 'bytes', - name: '', - type: 'bytes' - } - ], + name: 'childChain', + outputs: [{ internalType: 'address', name: '', type: 'address' }], payable: false, stateMutability: 'view', type: 'function' @@ -304,55 +297,38 @@ export const polygonMaticABI = [ { constant: true, inputs: [], - name: 'symbol', - outputs: [ - { - internalType: 'string', - name: '', - type: 'string' - } - ], + name: 'currentSupply', + outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }], payable: false, stateMutability: 'view', type: 'function' }, + { + constant: true, + inputs: [], + name: 'decimals', + outputs: [{ internalType: 'uint8', name: '', type: 'uint8' }], + payable: false, + stateMutability: 'pure', + type: 'function' + }, { constant: false, inputs: [ - { - internalType: 'address', - name: 'to', - type: 'address' - }, - { - internalType: 'uint256', - name: 'value', - type: 'uint256' - } - ], - name: 'transfer', - outputs: [ - { - internalType: 'bool', - name: '', - type: 'bool' - } + { internalType: 'address', name: 'user', type: 'address' }, + { internalType: 'uint256', name: 'amount', type: 'uint256' } ], - payable: true, - stateMutability: 'payable', + name: 'deposit', + outputs: [], + payable: false, + stateMutability: 'nonpayable', type: 'function' }, { constant: true, - inputs: [], - name: 'EIP712_TOKEN_TRANSFER_ORDER_SCHEMA_HASH', - outputs: [ - { - internalType: 'bytes32', - name: '', - type: 'bytes32' - } - ], + inputs: [{ internalType: 'bytes32', name: '', type: 'bytes32' }], + name: 'disabledHashes', + outputs: [{ internalType: 'bool', name: '', type: 'bool' }], payable: false, stateMutability: 'view', type: 'function' @@ -360,56 +336,46 @@ export const polygonMaticABI = [ { constant: true, inputs: [ - { - internalType: 'bytes32', - name: '', - type: 'bytes32' - } - ], - name: 'disabledHashes', - outputs: [ - { - internalType: 'bool', - name: '', - type: 'bool' - } + { internalType: 'bytes32', name: 'hash', type: 'bytes32' }, + { internalType: 'bytes', name: 'sig', type: 'bytes' } ], + name: 'ecrecovery', + outputs: [{ internalType: 'address', name: 'result', type: 'address' }], payable: false, - stateMutability: 'view', + stateMutability: 'pure', type: 'function' }, { constant: true, inputs: [ - { - internalType: 'address', - name: 'spender', - type: 'address' - }, - { - internalType: 'uint256', - name: 'tokenIdOrAmount', - type: 'uint256' - }, - { - internalType: 'bytes32', - name: 'data', - type: 'bytes32' - }, - { - internalType: 'uint256', - name: 'expiration', - type: 'uint256' - } + { internalType: 'address', name: 'spender', type: 'address' }, + { internalType: 'uint256', name: 'tokenIdOrAmount', type: 'uint256' }, + { internalType: 'bytes32', name: 'data', type: 'bytes32' }, + { internalType: 'uint256', name: 'expiration', type: 'uint256' } ], name: 'getTokenTransferOrderHash', - outputs: [ - { - internalType: 'bytes32', - name: 'orderHash', - type: 'bytes32' - } + outputs: [{ internalType: 'bytes32', name: 'orderHash', type: 'bytes32' }], + payable: false, + stateMutability: 'view', + type: 'function' + }, + { + constant: false, + inputs: [ + { internalType: 'address', name: '_childChain', type: 'address' }, + { internalType: 'address', name: '_token', type: 'address' } ], + name: 'initialize', + outputs: [], + payable: false, + stateMutability: 'nonpayable', + type: 'function' + }, + { + constant: true, + inputs: [], + name: 'isOwner', + outputs: [{ internalType: 'bool', name: '', type: 'bool' }], payable: false, stateMutability: 'view', type: 'function' @@ -417,14 +383,17 @@ export const polygonMaticABI = [ { constant: true, inputs: [], - name: 'CHAINID', - outputs: [ - { - internalType: 'uint256', - name: '', - type: 'uint256' - } - ], + name: 'name', + outputs: [{ internalType: 'string', name: '', type: 'string' }], + payable: false, + stateMutability: 'pure', + type: 'function' + }, + { + constant: true, + inputs: [], + name: 'networkId', + outputs: [{ internalType: 'bytes', name: '', type: 'bytes' }], payable: false, stateMutability: 'view', type: 'function' @@ -432,14 +401,8 @@ export const polygonMaticABI = [ { constant: true, inputs: [], - name: 'EIP712_DOMAIN_HASH', - outputs: [ - { - internalType: 'bytes32', - name: '', - type: 'bytes32' - } - ], + name: 'owner', + outputs: [{ internalType: 'address', name: '', type: 'address' }], payable: false, stateMutability: 'view', type: 'function' @@ -447,151 +410,201 @@ export const polygonMaticABI = [ { constant: true, inputs: [], - name: 'EIP712_DOMAIN_SCHEMA_HASH', - outputs: [ - { - internalType: 'bytes32', - name: '', - type: 'bytes32' - } - ], + name: 'parent', + outputs: [{ internalType: 'address', name: '', type: 'address' }], payable: false, stateMutability: 'view', type: 'function' }, { constant: false, - inputs: [ - { - internalType: 'address', - name: 'newOwner', - type: 'address' - } - ], - name: 'transferOwnership', + inputs: [], + name: 'renounceOwnership', + outputs: [], + payable: false, + stateMutability: 'nonpayable', + type: 'function' + }, + { + constant: false, + inputs: [{ internalType: 'address', name: '', type: 'address' }], + name: 'setParent', outputs: [], payable: false, stateMutability: 'nonpayable', type: 'function' }, + { + constant: true, + inputs: [], + name: 'symbol', + outputs: [{ internalType: 'string', name: '', type: 'string' }], + payable: false, + stateMutability: 'pure', + type: 'function' + }, { constant: true, inputs: [], name: 'token', - outputs: [ - { - internalType: 'address', - name: '', - type: 'address' - } - ], + outputs: [{ internalType: 'address', name: '', type: 'address' }], payable: false, stateMutability: 'view', type: 'function' }, { + constant: true, inputs: [], + name: 'totalSupply', + outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }], payable: false, - stateMutability: 'nonpayable', - type: 'constructor' + stateMutability: 'pure', + type: 'function' }, { - anonymous: false, + constant: false, inputs: [ - { - indexed: true, - internalType: 'address', - name: 'from', - type: 'address' - }, - { - indexed: true, - internalType: 'address', - name: 'to', - type: 'address' - }, - { - indexed: false, - internalType: 'uint256', - name: 'value', - type: 'uint256' - } + { internalType: 'address', name: 'to', type: 'address' }, + { internalType: 'uint256', name: 'value', type: 'uint256' } ], - name: 'Transfer', - type: 'event' + name: 'transfer', + outputs: [{ internalType: 'bool', name: '', type: 'bool' }], + payable: true, + stateMutability: 'payable', + type: 'function' }, { - anonymous: false, + constant: false, + inputs: [{ internalType: 'address', name: 'newOwner', type: 'address' }], + name: 'transferOwnership', + outputs: [], + payable: false, + stateMutability: 'nonpayable', + type: 'function' + }, + { + constant: false, inputs: [ - { - indexed: true, - internalType: 'address', - name: 'token', - type: 'address' - }, - { - indexed: true, - internalType: 'address', - name: 'from', - type: 'address' - }, - { - indexed: false, - internalType: 'uint256', - name: 'amount', - type: 'uint256' - }, - { - indexed: false, - internalType: 'uint256', - name: 'input1', - type: 'uint256' - }, - { - indexed: false, - internalType: 'uint256', - name: 'output1', - type: 'uint256' - } + { internalType: 'bytes', name: 'sig', type: 'bytes' }, + { internalType: 'uint256', name: 'amount', type: 'uint256' }, + { internalType: 'bytes32', name: 'data', type: 'bytes32' }, + { internalType: 'uint256', name: 'expiration', type: 'uint256' }, + { internalType: 'address', name: 'to', type: 'address' } ], - name: 'Deposit', - type: 'event' + name: 'transferWithSig', + outputs: [{ internalType: 'address', name: 'from', type: 'address' }], + payable: false, + stateMutability: 'nonpayable', + type: 'function' }, { - anonymous: false, + constant: false, + inputs: [{ internalType: 'uint256', name: 'amount', type: 'uint256' }], + name: 'withdraw', + outputs: [], + payable: true, + stateMutability: 'payable', + type: 'function' + } +] + +export const mainnetUsdcProxyAbi = [ + { + constant: false, + inputs: [{ name: 'newImplementation', type: 'address' }], + name: 'upgradeTo', + outputs: [], + payable: false, + stateMutability: 'nonpayable', + type: 'function' + }, + { + constant: false, + inputs: [ + { name: 'newImplementation', type: 'address' }, + { name: 'data', type: 'bytes' } + ], + name: 'upgradeToAndCall', + outputs: [], + payable: true, + stateMutability: 'payable', + type: 'function' + }, + { + constant: true, + inputs: [], + name: 'implementation', + outputs: [{ name: '', type: 'address' }], + payable: false, + stateMutability: 'view', + type: 'function' + }, + { + constant: false, + inputs: [{ name: 'newAdmin', type: 'address' }], + name: 'changeAdmin', + outputs: [], + payable: false, + stateMutability: 'nonpayable', + type: 'function' + }, + { + constant: true, + inputs: [], + name: 'admin', + outputs: [{ name: '', type: 'address' }], + payable: false, + stateMutability: 'view', + type: 'function' + }, + { + inputs: [{ name: '_implementation', type: 'address' }], + payable: false, + stateMutability: 'nonpayable', + type: 'constructor' + }, + { payable: true, stateMutability: 'payable', type: 'fallback' }, + { + anonymous: false, + inputs: [ + { indexed: false, name: 'previousAdmin', type: 'address' }, + { indexed: false, name: 'newAdmin', type: 'address' } + ], + name: 'AdminChanged', + type: 'event' + }, + { + anonymous: false, + inputs: [{ indexed: false, name: 'implementation', type: 'address' }], + name: 'Upgraded', + type: 'event' + } +] + +export const mainnetUsdcImplementationAbi = [ + { + anonymous: false, inputs: [ { indexed: true, internalType: 'address', - name: 'token', + name: 'owner', type: 'address' }, { indexed: true, internalType: 'address', - name: 'from', + name: 'spender', type: 'address' }, { indexed: false, internalType: 'uint256', - name: 'amount', - type: 'uint256' - }, - { - indexed: false, - internalType: 'uint256', - name: 'input1', - type: 'uint256' - }, - { - indexed: false, - internalType: 'uint256', - name: 'output1', + name: 'value', type: 'uint256' } ], - name: 'Withdraw', + name: 'Approval', type: 'event' }, { @@ -600,53 +613,36 @@ export const polygonMaticABI = [ { indexed: true, internalType: 'address', - name: 'token', + name: 'authorizer', type: 'address' }, { indexed: true, - internalType: 'address', - name: 'from', - type: 'address' - }, + internalType: 'bytes32', + name: 'nonce', + type: 'bytes32' + } + ], + name: 'AuthorizationCanceled', + type: 'event' + }, + { + anonymous: false, + inputs: [ { indexed: true, internalType: 'address', - name: 'to', + name: 'authorizer', type: 'address' }, { - indexed: false, - internalType: 'uint256', - name: 'amount', - type: 'uint256' - }, - { - indexed: false, - internalType: 'uint256', - name: 'input1', - type: 'uint256' - }, - { - indexed: false, - internalType: 'uint256', - name: 'input2', - type: 'uint256' - }, - { - indexed: false, - internalType: 'uint256', - name: 'output1', - type: 'uint256' - }, - { - indexed: false, - internalType: 'uint256', - name: 'output2', - type: 'uint256' + indexed: true, + internalType: 'bytes32', + name: 'nonce', + type: 'bytes32' } ], - name: 'LogTransfer', + name: 'AuthorizationUsed', type: 'event' }, { @@ -655,19 +651,33 @@ export const polygonMaticABI = [ { indexed: true, internalType: 'address', - name: 'token', + name: '_account', type: 'address' - }, + } + ], + name: 'Blacklisted', + type: 'event' + }, + { + anonymous: false, + inputs: [ { indexed: true, internalType: 'address', - name: 'from', + name: 'newBlacklister', type: 'address' - }, + } + ], + name: 'BlacklisterChanged', + type: 'event' + }, + { + anonymous: false, + inputs: [ { indexed: true, internalType: 'address', - name: 'to', + name: 'burner', type: 'address' }, { @@ -675,33 +685,61 @@ export const polygonMaticABI = [ internalType: 'uint256', name: 'amount', type: 'uint256' - }, + } + ], + name: 'Burn', + type: 'event' + }, + { + anonymous: false, + inputs: [ { - indexed: false, - internalType: 'uint256', - name: 'input1', - type: 'uint256' - }, + indexed: true, + internalType: 'address', + name: 'newMasterMinter', + type: 'address' + } + ], + name: 'MasterMinterChanged', + type: 'event' + }, + { + anonymous: false, + inputs: [ { - indexed: false, - internalType: 'uint256', - name: 'input2', - type: 'uint256' + indexed: true, + internalType: 'address', + name: 'minter', + type: 'address' }, + { indexed: true, internalType: 'address', name: 'to', type: 'address' }, { indexed: false, internalType: 'uint256', - name: 'output1', + name: 'amount', type: 'uint256' + } + ], + name: 'Mint', + type: 'event' + }, + { + anonymous: false, + inputs: [ + { + indexed: true, + internalType: 'address', + name: 'minter', + type: 'address' }, { indexed: false, internalType: 'uint256', - name: 'output2', + name: 'minterAllowedAmount', type: 'uint256' } ], - name: 'LogFeeTransfer', + name: 'MinterConfigured', type: 'event' }, { @@ -710,11 +748,24 @@ export const polygonMaticABI = [ { indexed: true, internalType: 'address', + name: 'oldMinter', + type: 'address' + } + ], + name: 'MinterRemoved', + type: 'event' + }, + { + anonymous: false, + inputs: [ + { + indexed: false, + internalType: 'address', name: 'previousOwner', type: 'address' }, { - indexed: true, + indexed: false, internalType: 'address', name: 'newOwner', type: 'address' @@ -722,81 +773,496 @@ export const polygonMaticABI = [ ], name: 'OwnershipTransferred', type: 'event' - } -] - -export const mainnetUsdcProxyAbi = [ + }, + { anonymous: false, inputs: [], name: 'Pause', type: 'event' }, { - constant: false, - inputs: [{ name: 'newImplementation', type: 'address' }], - name: 'upgradeTo', - outputs: [], - payable: false, - stateMutability: 'nonpayable', - type: 'function' + anonymous: false, + inputs: [ + { + indexed: true, + internalType: 'address', + name: 'newAddress', + type: 'address' + } + ], + name: 'PauserChanged', + type: 'event' }, { - constant: false, + anonymous: false, inputs: [ - { name: 'newImplementation', type: 'address' }, - { name: 'data', type: 'bytes' } + { + indexed: true, + internalType: 'address', + name: 'newRescuer', + type: 'address' + } ], - name: 'upgradeToAndCall', - outputs: [], - payable: true, - stateMutability: 'payable', - type: 'function' + name: 'RescuerChanged', + type: 'event' }, { - constant: true, - inputs: [], - name: 'implementation', - outputs: [{ name: '', type: 'address' }], - payable: false, - stateMutability: 'view', - type: 'function' + anonymous: false, + inputs: [ + { indexed: true, internalType: 'address', name: 'from', type: 'address' }, + { indexed: true, internalType: 'address', name: 'to', type: 'address' }, + { + indexed: false, + internalType: 'uint256', + name: 'value', + type: 'uint256' + } + ], + name: 'Transfer', + type: 'event' }, { - constant: false, - inputs: [{ name: 'newAdmin', type: 'address' }], - name: 'changeAdmin', + anonymous: false, + inputs: [ + { + indexed: true, + internalType: 'address', + name: '_account', + type: 'address' + } + ], + name: 'UnBlacklisted', + type: 'event' + }, + { anonymous: false, inputs: [], name: 'Unpause', type: 'event' }, + { + inputs: [], + name: 'CANCEL_AUTHORIZATION_TYPEHASH', + outputs: [{ internalType: 'bytes32', name: '', type: 'bytes32' }], + stateMutability: 'view', + type: 'function' + }, + { + inputs: [], + name: 'DOMAIN_SEPARATOR', + outputs: [{ internalType: 'bytes32', name: '', type: 'bytes32' }], + stateMutability: 'view', + type: 'function' + }, + { + inputs: [], + name: 'PERMIT_TYPEHASH', + outputs: [{ internalType: 'bytes32', name: '', type: 'bytes32' }], + stateMutability: 'view', + type: 'function' + }, + { + inputs: [], + name: 'RECEIVE_WITH_AUTHORIZATION_TYPEHASH', + outputs: [{ internalType: 'bytes32', name: '', type: 'bytes32' }], + stateMutability: 'view', + type: 'function' + }, + { + inputs: [], + name: 'TRANSFER_WITH_AUTHORIZATION_TYPEHASH', + outputs: [{ internalType: 'bytes32', name: '', type: 'bytes32' }], + stateMutability: 'view', + type: 'function' + }, + { + inputs: [ + { internalType: 'address', name: 'owner', type: 'address' }, + { internalType: 'address', name: 'spender', type: 'address' } + ], + name: 'allowance', + outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }], + stateMutability: 'view', + type: 'function' + }, + { + inputs: [ + { internalType: 'address', name: 'spender', type: 'address' }, + { internalType: 'uint256', name: 'value', type: 'uint256' } + ], + name: 'approve', + outputs: [{ internalType: 'bool', name: '', type: 'bool' }], + stateMutability: 'nonpayable', + type: 'function' + }, + { + inputs: [ + { internalType: 'address', name: 'authorizer', type: 'address' }, + { internalType: 'bytes32', name: 'nonce', type: 'bytes32' } + ], + name: 'authorizationState', + outputs: [{ internalType: 'bool', name: '', type: 'bool' }], + stateMutability: 'view', + type: 'function' + }, + { + inputs: [{ internalType: 'address', name: 'account', type: 'address' }], + name: 'balanceOf', + outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }], + stateMutability: 'view', + type: 'function' + }, + { + inputs: [{ internalType: 'address', name: '_account', type: 'address' }], + name: 'blacklist', outputs: [], - payable: false, stateMutability: 'nonpayable', type: 'function' }, { - constant: true, inputs: [], - name: 'admin', - outputs: [{ name: '', type: 'address' }], - payable: false, + name: 'blacklister', + outputs: [{ internalType: 'address', name: '', type: 'address' }], stateMutability: 'view', type: 'function' }, { - inputs: [{ name: '_implementation', type: 'address' }], - payable: false, + inputs: [{ internalType: 'uint256', name: '_amount', type: 'uint256' }], + name: 'burn', + outputs: [], stateMutability: 'nonpayable', - type: 'constructor' + type: 'function' }, - { payable: true, stateMutability: 'payable', type: 'fallback' }, { - anonymous: false, inputs: [ - { indexed: false, name: 'previousAdmin', type: 'address' }, - { indexed: false, name: 'newAdmin', type: 'address' } + { internalType: 'address', name: 'authorizer', type: 'address' }, + { internalType: 'bytes32', name: 'nonce', type: 'bytes32' }, + { internalType: 'uint8', name: 'v', type: 'uint8' }, + { internalType: 'bytes32', name: 'r', type: 'bytes32' }, + { internalType: 'bytes32', name: 's', type: 'bytes32' } ], - name: 'AdminChanged', - type: 'event' + name: 'cancelAuthorization', + outputs: [], + stateMutability: 'nonpayable', + type: 'function' }, { - anonymous: false, - inputs: [{ indexed: false, name: 'implementation', type: 'address' }], - name: 'Upgraded', - type: 'event' + inputs: [ + { internalType: 'address', name: 'minter', type: 'address' }, + { internalType: 'uint256', name: 'minterAllowedAmount', type: 'uint256' } + ], + name: 'configureMinter', + outputs: [{ internalType: 'bool', name: '', type: 'bool' }], + stateMutability: 'nonpayable', + type: 'function' + }, + { + inputs: [], + name: 'currency', + outputs: [{ internalType: 'string', name: '', type: 'string' }], + stateMutability: 'view', + type: 'function' + }, + { + inputs: [], + name: 'decimals', + outputs: [{ internalType: 'uint8', name: '', type: 'uint8' }], + stateMutability: 'view', + type: 'function' + }, + { + inputs: [ + { internalType: 'address', name: 'spender', type: 'address' }, + { internalType: 'uint256', name: 'decrement', type: 'uint256' } + ], + name: 'decreaseAllowance', + outputs: [{ internalType: 'bool', name: '', type: 'bool' }], + stateMutability: 'nonpayable', + type: 'function' + }, + { + inputs: [ + { internalType: 'address', name: 'spender', type: 'address' }, + { internalType: 'uint256', name: 'increment', type: 'uint256' } + ], + name: 'increaseAllowance', + outputs: [{ internalType: 'bool', name: '', type: 'bool' }], + stateMutability: 'nonpayable', + type: 'function' + }, + { + inputs: [ + { internalType: 'string', name: 'tokenName', type: 'string' }, + { internalType: 'string', name: 'tokenSymbol', type: 'string' }, + { internalType: 'string', name: 'tokenCurrency', type: 'string' }, + { internalType: 'uint8', name: 'tokenDecimals', type: 'uint8' }, + { internalType: 'address', name: 'newMasterMinter', type: 'address' }, + { internalType: 'address', name: 'newPauser', type: 'address' }, + { internalType: 'address', name: 'newBlacklister', type: 'address' }, + { internalType: 'address', name: 'newOwner', type: 'address' } + ], + name: 'initialize', + outputs: [], + stateMutability: 'nonpayable', + type: 'function' + }, + { + inputs: [{ internalType: 'string', name: 'newName', type: 'string' }], + name: 'initializeV2', + outputs: [], + stateMutability: 'nonpayable', + type: 'function' + }, + { + inputs: [ + { internalType: 'address', name: 'lostAndFound', type: 'address' } + ], + name: 'initializeV2_1', + outputs: [], + stateMutability: 'nonpayable', + type: 'function' + }, + { + inputs: [{ internalType: 'address', name: '_account', type: 'address' }], + name: 'isBlacklisted', + outputs: [{ internalType: 'bool', name: '', type: 'bool' }], + stateMutability: 'view', + type: 'function' + }, + { + inputs: [{ internalType: 'address', name: 'account', type: 'address' }], + name: 'isMinter', + outputs: [{ internalType: 'bool', name: '', type: 'bool' }], + stateMutability: 'view', + type: 'function' + }, + { + inputs: [], + name: 'masterMinter', + outputs: [{ internalType: 'address', name: '', type: 'address' }], + stateMutability: 'view', + type: 'function' + }, + { + inputs: [ + { internalType: 'address', name: '_to', type: 'address' }, + { internalType: 'uint256', name: '_amount', type: 'uint256' } + ], + name: 'mint', + outputs: [{ internalType: 'bool', name: '', type: 'bool' }], + stateMutability: 'nonpayable', + type: 'function' + }, + { + inputs: [{ internalType: 'address', name: 'minter', type: 'address' }], + name: 'minterAllowance', + outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }], + stateMutability: 'view', + type: 'function' + }, + { + inputs: [], + name: 'name', + outputs: [{ internalType: 'string', name: '', type: 'string' }], + stateMutability: 'view', + type: 'function' + }, + { + inputs: [{ internalType: 'address', name: 'owner', type: 'address' }], + name: 'nonces', + outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }], + stateMutability: 'view', + type: 'function' + }, + { + inputs: [], + name: 'owner', + outputs: [{ internalType: 'address', name: '', type: 'address' }], + stateMutability: 'view', + type: 'function' + }, + { + inputs: [], + name: 'pause', + outputs: [], + stateMutability: 'nonpayable', + type: 'function' + }, + { + inputs: [], + name: 'paused', + outputs: [{ internalType: 'bool', name: '', type: 'bool' }], + stateMutability: 'view', + type: 'function' + }, + { + inputs: [], + name: 'pauser', + outputs: [{ internalType: 'address', name: '', type: 'address' }], + stateMutability: 'view', + type: 'function' + }, + { + inputs: [ + { internalType: 'address', name: 'owner', type: 'address' }, + { internalType: 'address', name: 'spender', type: 'address' }, + { internalType: 'uint256', name: 'value', type: 'uint256' }, + { internalType: 'uint256', name: 'deadline', type: 'uint256' }, + { internalType: 'uint8', name: 'v', type: 'uint8' }, + { internalType: 'bytes32', name: 'r', type: 'bytes32' }, + { internalType: 'bytes32', name: 's', type: 'bytes32' } + ], + name: 'permit', + outputs: [], + stateMutability: 'nonpayable', + type: 'function' + }, + { + inputs: [ + { internalType: 'address', name: 'from', type: 'address' }, + { internalType: 'address', name: 'to', type: 'address' }, + { internalType: 'uint256', name: 'value', type: 'uint256' }, + { internalType: 'uint256', name: 'validAfter', type: 'uint256' }, + { internalType: 'uint256', name: 'validBefore', type: 'uint256' }, + { internalType: 'bytes32', name: 'nonce', type: 'bytes32' }, + { internalType: 'uint8', name: 'v', type: 'uint8' }, + { internalType: 'bytes32', name: 'r', type: 'bytes32' }, + { internalType: 'bytes32', name: 's', type: 'bytes32' } + ], + name: 'receiveWithAuthorization', + outputs: [], + stateMutability: 'nonpayable', + type: 'function' + }, + { + inputs: [{ internalType: 'address', name: 'minter', type: 'address' }], + name: 'removeMinter', + outputs: [{ internalType: 'bool', name: '', type: 'bool' }], + stateMutability: 'nonpayable', + type: 'function' + }, + { + inputs: [ + { + internalType: 'contract IERC20', + name: 'tokenContract', + type: 'address' + }, + { internalType: 'address', name: 'to', type: 'address' }, + { internalType: 'uint256', name: 'amount', type: 'uint256' } + ], + name: 'rescueERC20', + outputs: [], + stateMutability: 'nonpayable', + type: 'function' + }, + { + inputs: [], + name: 'rescuer', + outputs: [{ internalType: 'address', name: '', type: 'address' }], + stateMutability: 'view', + type: 'function' + }, + { + inputs: [], + name: 'symbol', + outputs: [{ internalType: 'string', name: '', type: 'string' }], + stateMutability: 'view', + type: 'function' + }, + { + inputs: [], + name: 'totalSupply', + outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }], + stateMutability: 'view', + type: 'function' + }, + { + inputs: [ + { internalType: 'address', name: 'to', type: 'address' }, + { internalType: 'uint256', name: 'value', type: 'uint256' } + ], + name: 'transfer', + outputs: [{ internalType: 'bool', name: '', type: 'bool' }], + stateMutability: 'nonpayable', + type: 'function' + }, + { + inputs: [ + { internalType: 'address', name: 'from', type: 'address' }, + { internalType: 'address', name: 'to', type: 'address' }, + { internalType: 'uint256', name: 'value', type: 'uint256' } + ], + name: 'transferFrom', + outputs: [{ internalType: 'bool', name: '', type: 'bool' }], + stateMutability: 'nonpayable', + type: 'function' + }, + { + inputs: [{ internalType: 'address', name: 'newOwner', type: 'address' }], + name: 'transferOwnership', + outputs: [], + stateMutability: 'nonpayable', + type: 'function' + }, + { + inputs: [ + { internalType: 'address', name: 'from', type: 'address' }, + { internalType: 'address', name: 'to', type: 'address' }, + { internalType: 'uint256', name: 'value', type: 'uint256' }, + { internalType: 'uint256', name: 'validAfter', type: 'uint256' }, + { internalType: 'uint256', name: 'validBefore', type: 'uint256' }, + { internalType: 'bytes32', name: 'nonce', type: 'bytes32' }, + { internalType: 'uint8', name: 'v', type: 'uint8' }, + { internalType: 'bytes32', name: 'r', type: 'bytes32' }, + { internalType: 'bytes32', name: 's', type: 'bytes32' } + ], + name: 'transferWithAuthorization', + outputs: [], + stateMutability: 'nonpayable', + type: 'function' + }, + { + inputs: [{ internalType: 'address', name: '_account', type: 'address' }], + name: 'unBlacklist', + outputs: [], + stateMutability: 'nonpayable', + type: 'function' + }, + { + inputs: [], + name: 'unpause', + outputs: [], + stateMutability: 'nonpayable', + type: 'function' + }, + { + inputs: [ + { internalType: 'address', name: '_newBlacklister', type: 'address' } + ], + name: 'updateBlacklister', + outputs: [], + stateMutability: 'nonpayable', + type: 'function' + }, + { + inputs: [ + { internalType: 'address', name: '_newMasterMinter', type: 'address' } + ], + name: 'updateMasterMinter', + outputs: [], + stateMutability: 'nonpayable', + type: 'function' + }, + { + inputs: [{ internalType: 'address', name: '_newPauser', type: 'address' }], + name: 'updatePauser', + outputs: [], + stateMutability: 'nonpayable', + type: 'function' + }, + { + inputs: [{ internalType: 'address', name: 'newRescuer', type: 'address' }], + name: 'updateRescuer', + outputs: [], + stateMutability: 'nonpayable', + type: 'function' + }, + { + inputs: [], + name: 'version', + outputs: [{ internalType: 'string', name: '', type: 'string' }], + stateMutability: 'view', + type: 'function' } ] - -export const mainnetUsdcImplementationAbi = [ - { anonymous: false, inputs: [{ indexed: true, internalType: 'address', name: 'owner', type: 'address' }, { indexed: true, internalType: 'address', name: 'spender', type: 'address' }, { indexed: false, internalType: 'uint256', name: 'value', type: 'uint256' }], name: 'Approval', type: 'event' }, { anonymous: false, inputs: [{ indexed: true, internalType: 'address', name: 'authorizer', type: 'address' }, { indexed: true, internalType: 'bytes32', name: 'nonce', type: 'bytes32' }], name: 'AuthorizationCanceled', type: 'event' }, { anonymous: false, inputs: [{ indexed: true, internalType: 'address', name: 'authorizer', type: 'address' }, { indexed: true, internalType: 'bytes32', name: 'nonce', type: 'bytes32' }], name: 'AuthorizationUsed', type: 'event' }, { anonymous: false, inputs: [{ indexed: true, internalType: 'address', name: '_account', type: 'address' }], name: 'Blacklisted', type: 'event' }, { anonymous: false, inputs: [{ indexed: true, internalType: 'address', name: 'newBlacklister', type: 'address' }], name: 'BlacklisterChanged', type: 'event' }, { anonymous: false, inputs: [{ indexed: true, internalType: 'address', name: 'burner', type: 'address' }, { indexed: false, internalType: 'uint256', name: 'amount', type: 'uint256' }], name: 'Burn', type: 'event' }, { anonymous: false, inputs: [{ indexed: true, internalType: 'address', name: 'newMasterMinter', type: 'address' }], name: 'MasterMinterChanged', type: 'event' }, { anonymous: false, inputs: [{ indexed: true, internalType: 'address', name: 'minter', type: 'address' }, { indexed: true, internalType: 'address', name: 'to', type: 'address' }, { indexed: false, internalType: 'uint256', name: 'amount', type: 'uint256' }], name: 'Mint', type: 'event' }, { anonymous: false, inputs: [{ indexed: true, internalType: 'address', name: 'minter', type: 'address' }, { indexed: false, internalType: 'uint256', name: 'minterAllowedAmount', type: 'uint256' }], name: 'MinterConfigured', type: 'event' }, { anonymous: false, inputs: [{ indexed: true, internalType: 'address', name: 'oldMinter', type: 'address' }], name: 'MinterRemoved', type: 'event' }, { anonymous: false, inputs: [{ indexed: false, internalType: 'address', name: 'previousOwner', type: 'address' }, { indexed: false, internalType: 'address', name: 'newOwner', type: 'address' }], name: 'OwnershipTransferred', type: 'event' }, { anonymous: false, inputs: [], name: 'Pause', type: 'event' }, { anonymous: false, inputs: [{ indexed: true, internalType: 'address', name: 'newAddress', type: 'address' }], name: 'PauserChanged', type: 'event' }, { anonymous: false, inputs: [{ indexed: true, internalType: 'address', name: 'newRescuer', type: 'address' }], name: 'RescuerChanged', type: 'event' }, { anonymous: false, inputs: [{ indexed: true, internalType: 'address', name: 'from', type: 'address' }, { indexed: true, internalType: 'address', name: 'to', type: 'address' }, { indexed: false, internalType: 'uint256', name: 'value', type: 'uint256' }], name: 'Transfer', type: 'event' }, { anonymous: false, inputs: [{ indexed: true, internalType: 'address', name: '_account', type: 'address' }], name: 'UnBlacklisted', type: 'event' }, { anonymous: false, inputs: [], name: 'Unpause', type: 'event' }, { inputs: [], name: 'CANCEL_AUTHORIZATION_TYPEHASH', outputs: [{ internalType: 'bytes32', name: '', type: 'bytes32' }], stateMutability: 'view', type: 'function' }, { inputs: [], name: 'DOMAIN_SEPARATOR', outputs: [{ internalType: 'bytes32', name: '', type: 'bytes32' }], stateMutability: 'view', type: 'function' }, { inputs: [], name: 'PERMIT_TYPEHASH', outputs: [{ internalType: 'bytes32', name: '', type: 'bytes32' }], stateMutability: 'view', type: 'function' }, { inputs: [], name: 'RECEIVE_WITH_AUTHORIZATION_TYPEHASH', outputs: [{ internalType: 'bytes32', name: '', type: 'bytes32' }], stateMutability: 'view', type: 'function' }, { inputs: [], name: 'TRANSFER_WITH_AUTHORIZATION_TYPEHASH', outputs: [{ internalType: 'bytes32', name: '', type: 'bytes32' }], stateMutability: 'view', type: 'function' }, { inputs: [{ internalType: 'address', name: 'owner', type: 'address' }, { internalType: 'address', name: 'spender', type: 'address' }], name: 'allowance', outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }], stateMutability: 'view', type: 'function' }, { inputs: [{ internalType: 'address', name: 'spender', type: 'address' }, { internalType: 'uint256', name: 'value', type: 'uint256' }], name: 'approve', outputs: [{ internalType: 'bool', name: '', type: 'bool' }], stateMutability: 'nonpayable', type: 'function' }, { inputs: [{ internalType: 'address', name: 'authorizer', type: 'address' }, { internalType: 'bytes32', name: 'nonce', type: 'bytes32' }], name: 'authorizationState', outputs: [{ internalType: 'bool', name: '', type: 'bool' }], stateMutability: 'view', type: 'function' }, { inputs: [{ internalType: 'address', name: 'account', type: 'address' }], name: 'balanceOf', outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }], stateMutability: 'view', type: 'function' }, { inputs: [{ internalType: 'address', name: '_account', type: 'address' }], name: 'blacklist', outputs: [], stateMutability: 'nonpayable', type: 'function' }, { inputs: [], name: 'blacklister', outputs: [{ internalType: 'address', name: '', type: 'address' }], stateMutability: 'view', type: 'function' }, { inputs: [{ internalType: 'uint256', name: '_amount', type: 'uint256' }], name: 'burn', outputs: [], stateMutability: 'nonpayable', type: 'function' }, { inputs: [{ internalType: 'address', name: 'authorizer', type: 'address' }, { internalType: 'bytes32', name: 'nonce', type: 'bytes32' }, { internalType: 'uint8', name: 'v', type: 'uint8' }, { internalType: 'bytes32', name: 'r', type: 'bytes32' }, { internalType: 'bytes32', name: 's', type: 'bytes32' }], name: 'cancelAuthorization', outputs: [], stateMutability: 'nonpayable', type: 'function' }, { inputs: [{ internalType: 'address', name: 'minter', type: 'address' }, { internalType: 'uint256', name: 'minterAllowedAmount', type: 'uint256' }], name: 'configureMinter', outputs: [{ internalType: 'bool', name: '', type: 'bool' }], stateMutability: 'nonpayable', type: 'function' }, { inputs: [], name: 'currency', outputs: [{ internalType: 'string', name: '', type: 'string' }], stateMutability: 'view', type: 'function' }, { inputs: [], name: 'decimals', outputs: [{ internalType: 'uint8', name: '', type: 'uint8' }], stateMutability: 'view', type: 'function' }, { inputs: [{ internalType: 'address', name: 'spender', type: 'address' }, { internalType: 'uint256', name: 'decrement', type: 'uint256' }], name: 'decreaseAllowance', outputs: [{ internalType: 'bool', name: '', type: 'bool' }], stateMutability: 'nonpayable', type: 'function' }, { inputs: [{ internalType: 'address', name: 'spender', type: 'address' }, { internalType: 'uint256', name: 'increment', type: 'uint256' }], name: 'increaseAllowance', outputs: [{ internalType: 'bool', name: '', type: 'bool' }], stateMutability: 'nonpayable', type: 'function' }, { inputs: [{ internalType: 'string', name: 'tokenName', type: 'string' }, { internalType: 'string', name: 'tokenSymbol', type: 'string' }, { internalType: 'string', name: 'tokenCurrency', type: 'string' }, { internalType: 'uint8', name: 'tokenDecimals', type: 'uint8' }, { internalType: 'address', name: 'newMasterMinter', type: 'address' }, { internalType: 'address', name: 'newPauser', type: 'address' }, { internalType: 'address', name: 'newBlacklister', type: 'address' }, { internalType: 'address', name: 'newOwner', type: 'address' }], name: 'initialize', outputs: [], stateMutability: 'nonpayable', type: 'function' }, { inputs: [{ internalType: 'string', name: 'newName', type: 'string' }], name: 'initializeV2', outputs: [], stateMutability: 'nonpayable', type: 'function' }, { inputs: [{ internalType: 'address', name: 'lostAndFound', type: 'address' }], name: 'initializeV2_1', outputs: [], stateMutability: 'nonpayable', type: 'function' }, { inputs: [{ internalType: 'address', name: '_account', type: 'address' }], name: 'isBlacklisted', outputs: [{ internalType: 'bool', name: '', type: 'bool' }], stateMutability: 'view', type: 'function' }, { inputs: [{ internalType: 'address', name: 'account', type: 'address' }], name: 'isMinter', outputs: [{ internalType: 'bool', name: '', type: 'bool' }], stateMutability: 'view', type: 'function' }, { inputs: [], name: 'masterMinter', outputs: [{ internalType: 'address', name: '', type: 'address' }], stateMutability: 'view', type: 'function' }, { inputs: [{ internalType: 'address', name: '_to', type: 'address' }, { internalType: 'uint256', name: '_amount', type: 'uint256' }], name: 'mint', outputs: [{ internalType: 'bool', name: '', type: 'bool' }], stateMutability: 'nonpayable', type: 'function' }, { inputs: [{ internalType: 'address', name: 'minter', type: 'address' }], name: 'minterAllowance', outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }], stateMutability: 'view', type: 'function' }, { inputs: [], name: 'name', outputs: [{ internalType: 'string', name: '', type: 'string' }], stateMutability: 'view', type: 'function' }, { inputs: [{ internalType: 'address', name: 'owner', type: 'address' }], name: 'nonces', outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }], stateMutability: 'view', type: 'function' }, { inputs: [], name: 'owner', outputs: [{ internalType: 'address', name: '', type: 'address' }], stateMutability: 'view', type: 'function' }, { inputs: [], name: 'pause', outputs: [], stateMutability: 'nonpayable', type: 'function' }, { inputs: [], name: 'paused', outputs: [{ internalType: 'bool', name: '', type: 'bool' }], stateMutability: 'view', type: 'function' }, { inputs: [], name: 'pauser', outputs: [{ internalType: 'address', name: '', type: 'address' }], stateMutability: 'view', type: 'function' }, { inputs: [{ internalType: 'address', name: 'owner', type: 'address' }, { internalType: 'address', name: 'spender', type: 'address' }, { internalType: 'uint256', name: 'value', type: 'uint256' }, { internalType: 'uint256', name: 'deadline', type: 'uint256' }, { internalType: 'uint8', name: 'v', type: 'uint8' }, { internalType: 'bytes32', name: 'r', type: 'bytes32' }, { internalType: 'bytes32', name: 's', type: 'bytes32' }], name: 'permit', outputs: [], stateMutability: 'nonpayable', type: 'function' }, { inputs: [{ internalType: 'address', name: 'from', type: 'address' }, { internalType: 'address', name: 'to', type: 'address' }, { internalType: 'uint256', name: 'value', type: 'uint256' }, { internalType: 'uint256', name: 'validAfter', type: 'uint256' }, { internalType: 'uint256', name: 'validBefore', type: 'uint256' }, { internalType: 'bytes32', name: 'nonce', type: 'bytes32' }, { internalType: 'uint8', name: 'v', type: 'uint8' }, { internalType: 'bytes32', name: 'r', type: 'bytes32' }, { internalType: 'bytes32', name: 's', type: 'bytes32' }], name: 'receiveWithAuthorization', outputs: [], stateMutability: 'nonpayable', type: 'function' }, { inputs: [{ internalType: 'address', name: 'minter', type: 'address' }], name: 'removeMinter', outputs: [{ internalType: 'bool', name: '', type: 'bool' }], stateMutability: 'nonpayable', type: 'function' }, { inputs: [{ internalType: 'contract IERC20', name: 'tokenContract', type: 'address' }, { internalType: 'address', name: 'to', type: 'address' }, { internalType: 'uint256', name: 'amount', type: 'uint256' }], name: 'rescueERC20', outputs: [], stateMutability: 'nonpayable', type: 'function' }, { inputs: [], name: 'rescuer', outputs: [{ internalType: 'address', name: '', type: 'address' }], stateMutability: 'view', type: 'function' }, { inputs: [], name: 'symbol', outputs: [{ internalType: 'string', name: '', type: 'string' }], stateMutability: 'view', type: 'function' }, { inputs: [], name: 'totalSupply', outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }], stateMutability: 'view', type: 'function' }, { inputs: [{ internalType: 'address', name: 'to', type: 'address' }, { internalType: 'uint256', name: 'value', type: 'uint256' }], name: 'transfer', outputs: [{ internalType: 'bool', name: '', type: 'bool' }], stateMutability: 'nonpayable', type: 'function' }, { inputs: [{ internalType: 'address', name: 'from', type: 'address' }, { internalType: 'address', name: 'to', type: 'address' }, { internalType: 'uint256', name: 'value', type: 'uint256' }], name: 'transferFrom', outputs: [{ internalType: 'bool', name: '', type: 'bool' }], stateMutability: 'nonpayable', type: 'function' }, { inputs: [{ internalType: 'address', name: 'newOwner', type: 'address' }], name: 'transferOwnership', outputs: [], stateMutability: 'nonpayable', type: 'function' }, { inputs: [{ internalType: 'address', name: 'from', type: 'address' }, { internalType: 'address', name: 'to', type: 'address' }, { internalType: 'uint256', name: 'value', type: 'uint256' }, { internalType: 'uint256', name: 'validAfter', type: 'uint256' }, { internalType: 'uint256', name: 'validBefore', type: 'uint256' }, { internalType: 'bytes32', name: 'nonce', type: 'bytes32' }, { internalType: 'uint8', name: 'v', type: 'uint8' }, { internalType: 'bytes32', name: 'r', type: 'bytes32' }, { internalType: 'bytes32', name: 's', type: 'bytes32' }], name: 'transferWithAuthorization', outputs: [], stateMutability: 'nonpayable', type: 'function' }, { inputs: [{ internalType: 'address', name: '_account', type: 'address' }], name: 'unBlacklist', outputs: [], stateMutability: 'nonpayable', type: 'function' }, { inputs: [], name: 'unpause', outputs: [], stateMutability: 'nonpayable', type: 'function' }, { inputs: [{ internalType: 'address', name: '_newBlacklister', type: 'address' }], name: 'updateBlacklister', outputs: [], stateMutability: 'nonpayable', type: 'function' }, { inputs: [{ internalType: 'address', name: '_newMasterMinter', type: 'address' }], name: 'updateMasterMinter', outputs: [], stateMutability: 'nonpayable', type: 'function' }, { inputs: [{ internalType: 'address', name: '_newPauser', type: 'address' }], name: 'updatePauser', outputs: [], stateMutability: 'nonpayable', type: 'function' }, { inputs: [{ internalType: 'address', name: 'newRescuer', type: 'address' }], name: 'updateRescuer', outputs: [], stateMutability: 'nonpayable', type: 'function' }, { inputs: [], name: 'version', outputs: [{ internalType: 'string', name: '', type: 'string' }], stateMutability: 'view', type: 'function' }]