-
Notifications
You must be signed in to change notification settings - Fork 1
/
CumulativeMerkleDropAbi.ts
73 lines (73 loc) · 2.78 KB
/
CumulativeMerkleDropAbi.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
export const abi = [
{ inputs: [{ internalType: "address", name: "token_", type: "address" }], stateMutability: "nonpayable", type: "constructor" },
{
anonymous: false,
inputs: [
{ indexed: false, internalType: "address", name: "account", type: "address" },
{ indexed: false, internalType: "uint256", name: "amount", type: "uint256" },
],
name: "Claimed",
type: "event",
},
{
anonymous: false,
inputs: [
{ indexed: false, internalType: "bytes32", name: "oldMerkleRoot", type: "bytes32" },
{ indexed: false, internalType: "bytes32", name: "newMerkleRoot", type: "bytes32" },
],
name: "MerkelRootUpdated",
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: [
{ internalType: "address", name: "account", type: "address" },
{ internalType: "uint256", name: "cumulativeAmount", type: "uint256" },
{ internalType: "bytes32", name: "expectedMerkleRoot", type: "bytes32" },
{ internalType: "bytes32[]", name: "merkleProof", type: "bytes32[]" },
],
name: "claim",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [{ internalType: "address", name: "", type: "address" }],
name: "cumulativeClaimed",
outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
stateMutability: "view",
type: "function",
},
{
inputs: [],
name: "merkleRoot",
outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }],
stateMutability: "view",
type: "function",
},
{ inputs: [], name: "owner", outputs: [{ internalType: "address", name: "", type: "address" }], stateMutability: "view", type: "function" },
{ inputs: [], name: "renounceOwnership", outputs: [], stateMutability: "nonpayable", type: "function" },
{
inputs: [{ internalType: "bytes32", name: "merkleRoot_", type: "bytes32" }],
name: "setMerkleRoot",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{ inputs: [], name: "token", outputs: [{ internalType: "address", name: "", type: "address" }], stateMutability: "view", type: "function" },
{
inputs: [{ internalType: "address", name: "newOwner", type: "address" }],
name: "transferOwnership",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
]