Skip to main content

contracts/abis/mainnet/Distributor

Variables

Distributor

const Distributor: readonly [{ inputs: readonly [{ internalType: "address[]"; name: "users"; type: "address[]"; }, { internalType: "address[]"; name: "tokens"; type: "address[]"; }, { internalType: "uint256[]"; name: "amounts"; type: "uint256[]"; }, { internalType: "bytes32[][]"; name: "proofs"; type: "bytes32[][]"; }]; name: "claim"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly [{ internalType: "address"; name: ""; type: "address"; }, { internalType: "address"; name: ""; type: "address"; }]; name: "claimed"; outputs: readonly [{ internalType: "uint208"; name: "amount"; type: "uint208"; }, { internalType: "uint48"; name: "timestamp"; type: "uint48"; }, { internalType: "bytes32"; name: "merkleRoot"; type: "bytes32"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly []; name: "core"; outputs: readonly [{ internalType: "contract ICore"; name: ""; type: "address"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly []; name: "disputeAmount"; outputs: readonly [{ internalType: "uint256"; name: ""; type: "uint256"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly []; name: "disputePeriod"; outputs: readonly [{ internalType: "uint48"; name: ""; type: "uint48"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly []; name: "disputeToken"; outputs: readonly [{ internalType: "contract IERC20"; name: ""; type: "address"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly [{ internalType: "string"; name: "reason"; type: "string"; }]; name: "disputeTree"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly []; name: "disputer"; outputs: readonly [{ internalType: "address"; name: ""; type: "address"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly []; name: "endOfDisputePeriod"; outputs: readonly [{ internalType: "uint48"; name: ""; type: "uint48"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly []; name: "getMerkleRoot"; outputs: readonly [{ internalType: "bytes32"; name: ""; type: "bytes32"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly []; name: "lastTree"; outputs: readonly [{ internalType: "bytes32"; name: "merkleRoot"; type: "bytes32"; }, { internalType: "bytes32"; name: "ipfsHash"; type: "bytes32"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly [{ internalType: "address"; name: ""; type: "address"; }]; name: "onlyOperatorCanClaim"; outputs: readonly [{ internalType: "uint256"; name: ""; type: "uint256"; }]; stateMutability: "view"; type: "function"; }, { inputs: readonly [{ internalType: "address"; name: "user"; type: "address"; }]; name: "toggleOnlyOperatorCanClaim"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly [{ internalType: "address"; name: "user"; type: "address"; }, { internalType: "address"; name: "operator"; type: "address"; }]; name: "toggleOperator"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly [{ internalType: "address"; name: "eoa"; type: "address"; }]; name: "toggleTrusted"; outputs: readonly []; stateMutability: "nonpayable"; type: "function"; }, { inputs: readonly []; name: "tree"; outputs: readonly [{ internalType: "bytes32"; name: "merkleRoot"; type: "bytes32"; }, { internalType: "bytes32"; name: "ipfsHash"; type: "bytes32"; }]; stateMutability: "view"; type: "function"; }]

Defined in: lib/contracts/abis/mainnet/Distributor.ts:1