export default [ // generate: // fetch('https://raw.githubusercontent.com/smartcontractkit/ccip/release/contracts-ccip-1.5.1/core/gethwrappers/ccip/generated/token_admin_registry/token_admin_registry.go') // .then((res) => res.text()) // .then((body) => body.match(/^\s*ABI: "(.*?)",$/m)?.[1]) // .then((abi) => JSON.parse(abi.replace(/\\"/g, '"'))) // .then((obj) => require('util').inspect(obj, {depth:99}).split('\n').slice(1, -1)) { inputs: [{ internalType: 'address', name: 'token', type: 'address' }], name: 'AlreadyRegistered', type: 'error', }, { inputs: [{ internalType: 'address', name: 'token', type: 'address' }], name: 'InvalidTokenPoolToken', type: 'error', }, { inputs: [ { internalType: 'address', name: 'sender', type: 'address' }, { internalType: 'address', name: 'token', type: 'address' }, ], name: 'OnlyAdministrator', type: 'error', }, { inputs: [ { internalType: 'address', name: 'sender', type: 'address' }, { internalType: 'address', name: 'token', type: 'address' }, ], name: 'OnlyPendingAdministrator', type: 'error', }, { inputs: [{ internalType: 'address', name: 'sender', type: 'address' }], name: 'OnlyRegistryModuleOrOwner', type: 'error', }, { inputs: [], name: 'ZeroAddress', type: 'error' }, { anonymous: false, inputs: [ { indexed: true, internalType: 'address', name: 'token', type: 'address', }, { indexed: true, internalType: 'address', name: 'currentAdmin', type: 'address', }, { indexed: true, internalType: 'address', name: 'newAdmin', type: 'address', }, ], name: 'AdministratorTransferRequested', type: 'event', }, { anonymous: false, inputs: [ { indexed: true, internalType: 'address', name: 'token', type: 'address', }, { indexed: true, internalType: 'address', name: 'newAdmin', type: 'address', }, ], name: 'AdministratorTransferred', type: 'event', }, { anonymous: false, inputs: [ { indexed: true, internalType: 'address', name: 'from', type: 'address', }, { indexed: true, internalType: 'address', name: 'to', type: 'address', }, ], name: 'OwnershipTransferRequested', type: 'event', }, { anonymous: false, inputs: [ { indexed: true, internalType: 'address', name: 'from', type: 'address', }, { indexed: true, internalType: 'address', name: 'to', type: 'address', }, ], name: 'OwnershipTransferred', type: 'event', }, { anonymous: false, inputs: [ { indexed: true, internalType: 'address', name: 'token', type: 'address', }, { indexed: true, internalType: 'address', name: 'previousPool', type: 'address', }, { indexed: true, internalType: 'address', name: 'newPool', type: 'address', }, ], name: 'PoolSet', type: 'event', }, { anonymous: false, inputs: [ { indexed: false, internalType: 'address', name: 'module', type: 'address', }, ], name: 'RegistryModuleAdded', type: 'event', }, { anonymous: false, inputs: [ { indexed: true, internalType: 'address', name: 'module', type: 'address', }, ], name: 'RegistryModuleRemoved', type: 'event', }, { inputs: [{ internalType: 'address', name: 'localToken', type: 'address' }], name: 'acceptAdminRole', outputs: [], stateMutability: 'nonpayable', type: 'function', }, { inputs: [], name: 'acceptOwnership', outputs: [], stateMutability: 'nonpayable', type: 'function', }, { inputs: [{ internalType: 'address', name: 'module', type: 'address' }], name: 'addRegistryModule', outputs: [], stateMutability: 'nonpayable', type: 'function', }, { inputs: [ { internalType: 'uint64', name: 'startIndex', type: 'uint64' }, { internalType: 'uint64', name: 'maxCount', type: 'uint64' }, ], name: 'getAllConfiguredTokens', outputs: [{ internalType: 'address[]', name: 'tokens', type: 'address[]' }], stateMutability: 'view', type: 'function', }, { inputs: [{ internalType: 'address', name: 'token', type: 'address' }], name: 'getPool', outputs: [{ internalType: 'address', name: '', type: 'address' }], stateMutability: 'view', type: 'function', }, { inputs: [{ internalType: 'address[]', name: 'tokens', type: 'address[]' }], name: 'getPools', outputs: [{ internalType: 'address[]', name: '', type: 'address[]' }], stateMutability: 'view', type: 'function', }, { inputs: [{ internalType: 'address', name: 'token', type: 'address' }], name: 'getTokenConfig', outputs: [ { components: [ { internalType: 'address', name: 'administrator', type: 'address', }, { internalType: 'address', name: 'pendingAdministrator', type: 'address', }, { internalType: 'address', name: 'tokenPool', type: 'address', }, ], internalType: 'structTokenAdminRegistry.TokenConfig', name: '', type: 'tuple', }, ], stateMutability: 'view', type: 'function', }, { inputs: [ { internalType: 'address', name: 'localToken', type: 'address' }, { internalType: 'address', name: 'administrator', type: 'address', }, ], name: 'isAdministrator', outputs: [{ internalType: 'bool', name: '', type: 'bool' }], stateMutability: 'view', type: 'function', }, { inputs: [{ internalType: 'address', name: 'module', type: 'address' }], name: 'isRegistryModule', outputs: [{ internalType: 'bool', name: '', type: 'bool' }], stateMutability: 'view', type: 'function', }, { inputs: [], name: 'owner', outputs: [{ internalType: 'address', name: '', type: 'address' }], stateMutability: 'view', type: 'function', }, { inputs: [ { internalType: 'address', name: 'localToken', type: 'address' }, { internalType: 'address', name: 'administrator', type: 'address', }, ], name: 'proposeAdministrator', outputs: [], stateMutability: 'nonpayable', type: 'function', }, { inputs: [{ internalType: 'address', name: 'module', type: 'address' }], name: 'removeRegistryModule', outputs: [], stateMutability: 'nonpayable', type: 'function', }, { inputs: [ { internalType: 'address', name: 'localToken', type: 'address' }, { internalType: 'address', name: 'pool', type: 'address' }, ], name: 'setPool', outputs: [], stateMutability: 'nonpayable', type: 'function', }, { inputs: [ { internalType: 'address', name: 'localToken', type: 'address' }, { internalType: 'address', name: 'newAdmin', type: 'address' }, ], name: 'transferAdminRole', outputs: [], stateMutability: 'nonpayable', type: 'function', }, { inputs: [{ internalType: 'address', name: 'to', type: 'address' }], name: 'transferOwnership', outputs: [], stateMutability: 'nonpayable', type: 'function', }, { inputs: [], name: 'typeAndVersion', outputs: [{ internalType: 'string', name: '', type: 'string' }], stateMutability: 'view', type: 'function', }, // generate:end ] as const