Last active
January 26, 2022 21:46
-
-
Save dawsbot/890e25ec4f8ae652df9e928f2f666f3b to your computer and use it in GitHub Desktop.
JSON ABI for FTM Charm Token (team has not verified on-chain, so you'll need this to interact with the contract)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ABI for https://ftmscan.com/address/0xa320ae264278476be187468ff38e4f6b883b3b92#code | |
[ | |
{ | |
inputs: [ | |
{ | |
internalType: "address", | |
name: "_authority", | |
type: "address", | |
}, | |
{ | |
internalType: "address", | |
name: "_airdropToken", | |
type: "address", | |
}, | |
{ | |
internalType: "bytes32", | |
name: "_merkleRoot", | |
type: "bytes32", | |
}, | |
], | |
stateMutability: "nonpayable", | |
type: "constructor", | |
}, | |
{ | |
anonymous: !1, | |
inputs: [ | |
{ | |
indexed: !1, | |
internalType: "uint256", | |
name: "index", | |
type: "uint256", | |
}, | |
{ | |
indexed: !1, | |
internalType: "address", | |
name: "account", | |
type: "address", | |
}, | |
{ | |
indexed: !1, | |
internalType: "uint256", | |
name: "amount", | |
type: "uint256", | |
}, | |
], | |
name: "Claimed", | |
type: "event", | |
}, | |
{ | |
inputs: [], | |
name: "airdropToken", | |
outputs: [ | |
{ internalType: "address", name: "", type: "address" }, | |
], | |
stateMutability: "view", | |
type: "function", | |
}, | |
{ | |
inputs: [], | |
name: "amountPerUser", | |
outputs: [ | |
{ internalType: "uint256", name: "", type: "uint256" }, | |
], | |
stateMutability: "view", | |
type: "function", | |
}, | |
{ | |
inputs: [], | |
name: "authority", | |
outputs: [ | |
{ internalType: "address", name: "", type: "address" }, | |
], | |
stateMutability: "view", | |
type: "function", | |
}, | |
{ | |
inputs: [ | |
{ internalType: "uint256", name: "index", type: "uint256" }, | |
{ | |
internalType: "bytes32[]", | |
name: "merkleProof", | |
type: "bytes32[]", | |
}, | |
], | |
name: "claim", | |
outputs: [], | |
stateMutability: "nonpayable", | |
type: "function", | |
}, | |
{ | |
inputs: [], | |
name: "emergencyWithdraw", | |
outputs: [], | |
stateMutability: "nonpayable", | |
type: "function", | |
}, | |
{ | |
inputs: [ | |
{ internalType: "uint256", name: "index", type: "uint256" }, | |
], | |
name: "isClaimed", | |
outputs: [{ internalType: "bool", name: "", type: "bool" }], | |
stateMutability: "view", | |
type: "function", | |
}, | |
{ | |
inputs: [], | |
name: "merkleRoot", | |
outputs: [ | |
{ internalType: "bytes32", name: "", type: "bytes32" }, | |
], | |
stateMutability: "view", | |
type: "function", | |
}, | |
{ | |
inputs: [ | |
{ | |
internalType: "uint256", | |
name: "_amountPerUser", | |
type: "uint256", | |
}, | |
], | |
name: "setAmountPerUser", | |
outputs: [], | |
stateMutability: "nonpayable", | |
type: "function", | |
}, | |
{ | |
inputs: [ | |
{ | |
internalType: "address", | |
name: "_authority", | |
type: "address", | |
}, | |
], | |
name: "setAuthority", | |
outputs: [], | |
stateMutability: "nonpayable", | |
type: "function", | |
}, | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment