From d35a1158fb70e794c4c221ca0e9f480de0bda35e Mon Sep 17 00:00:00 2001 From: Adam Gall Date: Tue, 7 May 2024 13:58:57 -0400 Subject: [PATCH] Add ERC20ClaimAbi --- src/assets/abi/ERC20Claim.ts | 316 +++++++++++++++++++++++++++++++++++ 1 file changed, 316 insertions(+) create mode 100644 src/assets/abi/ERC20Claim.ts diff --git a/src/assets/abi/ERC20Claim.ts b/src/assets/abi/ERC20Claim.ts new file mode 100644 index 0000000000..c05966bcad --- /dev/null +++ b/src/assets/abi/ERC20Claim.ts @@ -0,0 +1,316 @@ +const ERC20ClaimAbi = [ + { + inputs: [], + stateMutability: 'nonpayable', + type: 'constructor', + }, + { + inputs: [], + name: 'AllocationClaimed', + type: 'error', + }, + { + inputs: [], + name: 'DeadlinePending', + type: 'error', + }, + { + inputs: [], + name: 'NoAllocation', + type: 'error', + }, + { + inputs: [], + name: 'NoDeadline', + type: 'error', + }, + { + inputs: [], + name: 'NotTheFunder', + type: 'error', + }, + { + anonymous: false, + inputs: [ + { + indexed: false, + internalType: 'address', + name: 'parentToken', + type: 'address', + }, + { + indexed: false, + internalType: 'address', + name: 'childToken', + type: 'address', + }, + { + indexed: false, + internalType: 'uint256', + name: 'parentAllocation', + type: 'uint256', + }, + { + indexed: false, + internalType: 'uint256', + name: 'snapshotId', + type: 'uint256', + }, + { + indexed: false, + internalType: 'uint256', + name: 'deadline', + type: 'uint256', + }, + ], + name: 'ERC20ClaimCreated', + type: 'event', + }, + { + anonymous: false, + inputs: [ + { + indexed: true, + internalType: 'address', + name: 'pToken', + type: 'address', + }, + { + indexed: true, + internalType: 'address', + name: 'cToken', + type: 'address', + }, + { + indexed: true, + internalType: 'address', + name: 'claimer', + type: 'address', + }, + { + indexed: false, + internalType: 'uint256', + name: 'amount', + type: 'uint256', + }, + ], + name: 'ERC20Claimed', + type: 'event', + }, + { + anonymous: false, + inputs: [ + { + indexed: false, + internalType: 'uint8', + name: 'version', + type: 'uint8', + }, + ], + name: 'Initialized', + type: 'event', + }, + { + anonymous: false, + inputs: [ + { + indexed: true, + internalType: 'address', + name: 'previousOwner', + type: 'address', + }, + { + indexed: true, + internalType: 'address', + name: 'newOwner', + type: 'address', + }, + ], + name: 'OwnershipTransferred', + type: 'event', + }, + { + inputs: [], + name: 'childERC20', + outputs: [ + { + internalType: 'address', + name: '', + type: 'address', + }, + ], + stateMutability: 'view', + type: 'function', + }, + { + inputs: [ + { + internalType: 'address', + name: 'claimer', + type: 'address', + }, + ], + name: 'claimTokens', + outputs: [], + stateMutability: 'nonpayable', + type: 'function', + }, + { + inputs: [ + { + internalType: 'address', + name: '', + type: 'address', + }, + ], + name: 'claimed', + outputs: [ + { + internalType: 'bool', + name: '', + type: 'bool', + }, + ], + stateMutability: 'view', + type: 'function', + }, + { + inputs: [], + name: 'deadlineBlock', + outputs: [ + { + internalType: 'uint32', + name: '', + type: 'uint32', + }, + ], + stateMutability: 'view', + type: 'function', + }, + { + inputs: [], + name: 'funder', + outputs: [ + { + internalType: 'address', + name: '', + type: 'address', + }, + ], + stateMutability: 'view', + type: 'function', + }, + { + inputs: [ + { + internalType: 'address', + name: 'claimer', + type: 'address', + }, + ], + name: 'getClaimAmount', + 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: 'parentAllocation', + outputs: [ + { + internalType: 'uint256', + name: '', + type: 'uint256', + }, + ], + stateMutability: 'view', + type: 'function', + }, + { + inputs: [], + name: 'parentERC20', + outputs: [ + { + internalType: 'address', + name: '', + type: 'address', + }, + ], + stateMutability: 'view', + type: 'function', + }, + { + inputs: [], + name: 'reclaim', + outputs: [], + stateMutability: 'nonpayable', + type: 'function', + }, + { + inputs: [], + name: 'renounceOwnership', + outputs: [], + stateMutability: 'nonpayable', + type: 'function', + }, + { + inputs: [ + { + internalType: 'bytes', + name: 'initializeParams', + type: 'bytes', + }, + ], + name: 'setUp', + outputs: [], + stateMutability: 'nonpayable', + type: 'function', + }, + { + inputs: [], + name: 'snapShotId', + outputs: [ + { + internalType: 'uint256', + name: '', + type: 'uint256', + }, + ], + stateMutability: 'view', + type: 'function', + }, + { + inputs: [ + { + internalType: 'address', + name: 'newOwner', + type: 'address', + }, + ], + name: 'transferOwnership', + outputs: [], + stateMutability: 'nonpayable', + type: 'function', + }, +] as const; + +export default ERC20ClaimAbi;