Skip to content

Commit

Permalink
Add ERC20ClaimAbi
Browse files Browse the repository at this point in the history
  • Loading branch information
adamgall committed May 7, 2024
1 parent 69cf3cf commit d35a115
Showing 1 changed file with 316 additions and 0 deletions.
316 changes: 316 additions & 0 deletions src/assets/abi/ERC20Claim.ts
Original file line number Diff line number Diff line change
@@ -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;

0 comments on commit d35a115

Please sign in to comment.