Last active
January 14, 2026 21:25
-
-
Save robrobbins/3b5d815ce6019669187d9cebf1563ccf to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| [ | |
| { | |
| "type": "constructor", | |
| "inputs": [ | |
| { | |
| "name": "min", | |
| "type": "uint256", | |
| "internalType": "uint256" | |
| }, | |
| { | |
| "name": "saleId", | |
| "type": "bytes32", | |
| "internalType": "bytes32" | |
| } | |
| ], | |
| "stateMutability": "nonpayable" | |
| }, | |
| { | |
| "type": "function", | |
| "name": "COMMIT_LEVEL", | |
| "inputs": [], | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "uint256", | |
| "internalType": "uint256" | |
| } | |
| ], | |
| "stateMutability": "view" | |
| }, | |
| { | |
| "type": "function", | |
| "name": "MIN_REMIT", | |
| "inputs": [], | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "uint256", | |
| "internalType": "uint256" | |
| } | |
| ], | |
| "stateMutability": "view" | |
| }, | |
| { | |
| "type": "function", | |
| "name": "REMIT_LEVEL", | |
| "inputs": [], | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "uint256", | |
| "internalType": "uint256" | |
| } | |
| ], | |
| "stateMutability": "view" | |
| }, | |
| { | |
| "type": "function", | |
| "name": "VERSION", | |
| "inputs": [], | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "uint256", | |
| "internalType": "uint256" | |
| } | |
| ], | |
| "stateMutability": "view" | |
| }, | |
| { | |
| "type": "function", | |
| "name": "cancelOwnershipHandover", | |
| "inputs": [], | |
| "outputs": [], | |
| "stateMutability": "payable" | |
| }, | |
| { | |
| "type": "function", | |
| "name": "commit", | |
| "inputs": [ | |
| { | |
| "name": "user", | |
| "type": "address", | |
| "internalType": "address" | |
| }, | |
| { | |
| "name": "option", | |
| "type": "bytes32", | |
| "internalType": "bytes32" | |
| }, | |
| { | |
| "name": "token", | |
| "type": "address", | |
| "internalType": "address" | |
| }, | |
| { | |
| "name": "amount", | |
| "type": "uint256", | |
| "internalType": "uint256" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "bool", | |
| "internalType": "bool" | |
| } | |
| ], | |
| "stateMutability": "nonpayable" | |
| }, | |
| { | |
| "type": "function", | |
| "name": "commitBalance", | |
| "inputs": [ | |
| { | |
| "name": "user", | |
| "type": "address", | |
| "internalType": "address" | |
| }, | |
| { | |
| "name": "option", | |
| "type": "bytes32", | |
| "internalType": "bytes32" | |
| }, | |
| { | |
| "name": "token", | |
| "type": "address", | |
| "internalType": "address" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "uint256", | |
| "internalType": "uint256" | |
| } | |
| ], | |
| "stateMutability": "view" | |
| }, | |
| { | |
| "type": "function", | |
| "name": "completeOwnershipHandover", | |
| "inputs": [ | |
| { | |
| "name": "pendingOwner", | |
| "type": "address", | |
| "internalType": "address" | |
| } | |
| ], | |
| "outputs": [], | |
| "stateMutability": "payable" | |
| }, | |
| { | |
| "type": "function", | |
| "name": "fundingTokenBalance", | |
| "inputs": [ | |
| { | |
| "name": "token", | |
| "type": "address", | |
| "internalType": "address" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "uint256", | |
| "internalType": "uint256" | |
| } | |
| ], | |
| "stateMutability": "view" | |
| }, | |
| { | |
| "type": "function", | |
| "name": "grantRoles", | |
| "inputs": [ | |
| { | |
| "name": "user", | |
| "type": "address", | |
| "internalType": "address" | |
| }, | |
| { | |
| "name": "roles", | |
| "type": "uint256", | |
| "internalType": "uint256" | |
| } | |
| ], | |
| "outputs": [], | |
| "stateMutability": "payable" | |
| }, | |
| { | |
| "type": "function", | |
| "name": "hasAllRoles", | |
| "inputs": [ | |
| { | |
| "name": "user", | |
| "type": "address", | |
| "internalType": "address" | |
| }, | |
| { | |
| "name": "roles", | |
| "type": "uint256", | |
| "internalType": "uint256" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "bool", | |
| "internalType": "bool" | |
| } | |
| ], | |
| "stateMutability": "view" | |
| }, | |
| { | |
| "type": "function", | |
| "name": "hasAnyRole", | |
| "inputs": [ | |
| { | |
| "name": "user", | |
| "type": "address", | |
| "internalType": "address" | |
| }, | |
| { | |
| "name": "roles", | |
| "type": "uint256", | |
| "internalType": "uint256" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "bool", | |
| "internalType": "bool" | |
| } | |
| ], | |
| "stateMutability": "view" | |
| }, | |
| { | |
| "type": "function", | |
| "name": "id", | |
| "inputs": [], | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "bytes32", | |
| "internalType": "bytes32" | |
| } | |
| ], | |
| "stateMutability": "view" | |
| }, | |
| { | |
| "type": "function", | |
| "name": "minCommit", | |
| "inputs": [], | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "uint256", | |
| "internalType": "uint256" | |
| } | |
| ], | |
| "stateMutability": "view" | |
| }, | |
| { | |
| "type": "function", | |
| "name": "owner", | |
| "inputs": [], | |
| "outputs": [ | |
| { | |
| "name": "result", | |
| "type": "address", | |
| "internalType": "address" | |
| } | |
| ], | |
| "stateMutability": "view" | |
| }, | |
| { | |
| "type": "function", | |
| "name": "ownershipHandoverExpiresAt", | |
| "inputs": [ | |
| { | |
| "name": "pendingOwner", | |
| "type": "address", | |
| "internalType": "address" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "result", | |
| "type": "uint256", | |
| "internalType": "uint256" | |
| } | |
| ], | |
| "stateMutability": "view" | |
| }, | |
| { | |
| "type": "function", | |
| "name": "remit", | |
| "inputs": [ | |
| { | |
| "name": "users", | |
| "type": "address[]", | |
| "internalType": "address[]" | |
| }, | |
| { | |
| "name": "option", | |
| "type": "bytes32", | |
| "internalType": "bytes32" | |
| }, | |
| { | |
| "name": "token", | |
| "type": "address", | |
| "internalType": "address" | |
| }, | |
| { | |
| "name": "amounts", | |
| "type": "uint256[]", | |
| "internalType": "uint256[]" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "bool", | |
| "internalType": "bool" | |
| } | |
| ], | |
| "stateMutability": "nonpayable" | |
| }, | |
| { | |
| "type": "function", | |
| "name": "remit", | |
| "inputs": [ | |
| { | |
| "name": "user", | |
| "type": "address", | |
| "internalType": "address" | |
| }, | |
| { | |
| "name": "option", | |
| "type": "bytes32", | |
| "internalType": "bytes32" | |
| }, | |
| { | |
| "name": "token", | |
| "type": "address", | |
| "internalType": "address" | |
| }, | |
| { | |
| "name": "amount", | |
| "type": "uint256", | |
| "internalType": "uint256" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "bool", | |
| "internalType": "bool" | |
| } | |
| ], | |
| "stateMutability": "nonpayable" | |
| }, | |
| { | |
| "type": "function", | |
| "name": "renounceOwnership", | |
| "inputs": [], | |
| "outputs": [], | |
| "stateMutability": "payable" | |
| }, | |
| { | |
| "type": "function", | |
| "name": "renounceRoles", | |
| "inputs": [ | |
| { | |
| "name": "roles", | |
| "type": "uint256", | |
| "internalType": "uint256" | |
| } | |
| ], | |
| "outputs": [], | |
| "stateMutability": "payable" | |
| }, | |
| { | |
| "type": "function", | |
| "name": "requestOwnershipHandover", | |
| "inputs": [], | |
| "outputs": [], | |
| "stateMutability": "payable" | |
| }, | |
| { | |
| "type": "function", | |
| "name": "revokeRoles", | |
| "inputs": [ | |
| { | |
| "name": "user", | |
| "type": "address", | |
| "internalType": "address" | |
| }, | |
| { | |
| "name": "roles", | |
| "type": "uint256", | |
| "internalType": "uint256" | |
| } | |
| ], | |
| "outputs": [], | |
| "stateMutability": "payable" | |
| }, | |
| { | |
| "type": "function", | |
| "name": "rolesOf", | |
| "inputs": [ | |
| { | |
| "name": "user", | |
| "type": "address", | |
| "internalType": "address" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "roles", | |
| "type": "uint256", | |
| "internalType": "uint256" | |
| } | |
| ], | |
| "stateMutability": "view" | |
| }, | |
| { | |
| "type": "function", | |
| "name": "stopped", | |
| "inputs": [], | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "bool", | |
| "internalType": "bool" | |
| } | |
| ], | |
| "stateMutability": "view" | |
| }, | |
| { | |
| "type": "function", | |
| "name": "toggle", | |
| "inputs": [], | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "bool", | |
| "internalType": "bool" | |
| } | |
| ], | |
| "stateMutability": "nonpayable" | |
| }, | |
| { | |
| "type": "function", | |
| "name": "totals", | |
| "inputs": [ | |
| { | |
| "name": "", | |
| "type": "address", | |
| "internalType": "address" | |
| }, | |
| { | |
| "name": "", | |
| "type": "bytes32", | |
| "internalType": "bytes32" | |
| }, | |
| { | |
| "name": "", | |
| "type": "address", | |
| "internalType": "address" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "commitCount", | |
| "type": "uint256", | |
| "internalType": "uint256" | |
| }, | |
| { | |
| "name": "commitSum", | |
| "type": "uint256", | |
| "internalType": "uint256" | |
| }, | |
| { | |
| "name": "remitCount", | |
| "type": "uint256", | |
| "internalType": "uint256" | |
| }, | |
| { | |
| "name": "remitSum", | |
| "type": "uint256", | |
| "internalType": "uint256" | |
| } | |
| ], | |
| "stateMutability": "view" | |
| }, | |
| { | |
| "type": "function", | |
| "name": "transfer", | |
| "inputs": [ | |
| { | |
| "name": "to", | |
| "type": "address", | |
| "internalType": "address" | |
| }, | |
| { | |
| "name": "token", | |
| "type": "address", | |
| "internalType": "address" | |
| }, | |
| { | |
| "name": "amount", | |
| "type": "uint256", | |
| "internalType": "uint256" | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "", | |
| "type": "bool", | |
| "internalType": "bool" | |
| } | |
| ], | |
| "stateMutability": "nonpayable" | |
| }, | |
| { | |
| "type": "function", | |
| "name": "transferOwnership", | |
| "inputs": [ | |
| { | |
| "name": "newOwner", | |
| "type": "address", | |
| "internalType": "address" | |
| } | |
| ], | |
| "outputs": [], | |
| "stateMutability": "payable" | |
| }, | |
| { | |
| "type": "event", | |
| "name": "Batched", | |
| "inputs": [ | |
| { | |
| "name": "option", | |
| "type": "bytes32", | |
| "indexed": true, | |
| "internalType": "bytes32" | |
| }, | |
| { | |
| "name": "token", | |
| "type": "address", | |
| "indexed": true, | |
| "internalType": "address" | |
| }, | |
| { | |
| "name": "batched", | |
| "type": "uint256", | |
| "indexed": false, | |
| "internalType": "uint256" | |
| } | |
| ], | |
| "anonymous": false | |
| }, | |
| { | |
| "type": "event", | |
| "name": "Committed", | |
| "inputs": [ | |
| { | |
| "name": "user", | |
| "type": "address", | |
| "indexed": true, | |
| "internalType": "address" | |
| }, | |
| { | |
| "name": "option", | |
| "type": "bytes32", | |
| "indexed": true, | |
| "internalType": "bytes32" | |
| }, | |
| { | |
| "name": "token", | |
| "type": "address", | |
| "indexed": true, | |
| "internalType": "address" | |
| }, | |
| { | |
| "name": "amount", | |
| "type": "uint256", | |
| "indexed": false, | |
| "internalType": "uint256" | |
| } | |
| ], | |
| "anonymous": false | |
| }, | |
| { | |
| "type": "event", | |
| "name": "OwnershipHandoverCanceled", | |
| "inputs": [ | |
| { | |
| "name": "pendingOwner", | |
| "type": "address", | |
| "indexed": true, | |
| "internalType": "address" | |
| } | |
| ], | |
| "anonymous": false | |
| }, | |
| { | |
| "type": "event", | |
| "name": "OwnershipHandoverRequested", | |
| "inputs": [ | |
| { | |
| "name": "pendingOwner", | |
| "type": "address", | |
| "indexed": true, | |
| "internalType": "address" | |
| } | |
| ], | |
| "anonymous": false | |
| }, | |
| { | |
| "type": "event", | |
| "name": "OwnershipTransferred", | |
| "inputs": [ | |
| { | |
| "name": "oldOwner", | |
| "type": "address", | |
| "indexed": true, | |
| "internalType": "address" | |
| }, | |
| { | |
| "name": "newOwner", | |
| "type": "address", | |
| "indexed": true, | |
| "internalType": "address" | |
| } | |
| ], | |
| "anonymous": false | |
| }, | |
| { | |
| "type": "event", | |
| "name": "Remitted", | |
| "inputs": [ | |
| { | |
| "name": "user", | |
| "type": "address", | |
| "indexed": true, | |
| "internalType": "address" | |
| }, | |
| { | |
| "name": "option", | |
| "type": "bytes32", | |
| "indexed": true, | |
| "internalType": "bytes32" | |
| }, | |
| { | |
| "name": "token", | |
| "type": "address", | |
| "indexed": true, | |
| "internalType": "address" | |
| }, | |
| { | |
| "name": "amount", | |
| "type": "uint256", | |
| "indexed": false, | |
| "internalType": "uint256" | |
| } | |
| ], | |
| "anonymous": false | |
| }, | |
| { | |
| "type": "event", | |
| "name": "RolesUpdated", | |
| "inputs": [ | |
| { | |
| "name": "user", | |
| "type": "address", | |
| "indexed": true, | |
| "internalType": "address" | |
| }, | |
| { | |
| "name": "roles", | |
| "type": "uint256", | |
| "indexed": true, | |
| "internalType": "uint256" | |
| } | |
| ], | |
| "anonymous": false | |
| }, | |
| { | |
| "type": "event", | |
| "name": "Toggled", | |
| "inputs": [ | |
| { | |
| "name": "previous", | |
| "type": "bool", | |
| "indexed": false, | |
| "internalType": "bool" | |
| }, | |
| { | |
| "name": "next", | |
| "type": "bool", | |
| "indexed": false, | |
| "internalType": "bool" | |
| } | |
| ], | |
| "anonymous": false | |
| }, | |
| { | |
| "type": "event", | |
| "name": "Transferred", | |
| "inputs": [ | |
| { | |
| "name": "to", | |
| "type": "address", | |
| "indexed": true, | |
| "internalType": "address" | |
| }, | |
| { | |
| "name": "token", | |
| "type": "address", | |
| "indexed": true, | |
| "internalType": "address" | |
| }, | |
| { | |
| "name": "amount", | |
| "type": "uint256", | |
| "indexed": false, | |
| "internalType": "uint256" | |
| } | |
| ], | |
| "anonymous": false | |
| }, | |
| { | |
| "type": "error", | |
| "name": "AlreadyInitialized", | |
| "inputs": [] | |
| }, | |
| { | |
| "type": "error", | |
| "name": "CommitFailed", | |
| "inputs": [ | |
| { | |
| "name": "user", | |
| "type": "address", | |
| "internalType": "address" | |
| }, | |
| { | |
| "name": "option", | |
| "type": "bytes32", | |
| "internalType": "bytes32" | |
| }, | |
| { | |
| "name": "token", | |
| "type": "address", | |
| "internalType": "address" | |
| } | |
| ] | |
| }, | |
| { | |
| "type": "error", | |
| "name": "InsufficientAmount", | |
| "inputs": [ | |
| { | |
| "name": "amount", | |
| "type": "uint256", | |
| "internalType": "uint256" | |
| }, | |
| { | |
| "name": "minimum", | |
| "type": "uint256", | |
| "internalType": "uint256" | |
| } | |
| ] | |
| }, | |
| { | |
| "type": "error", | |
| "name": "InsufficientCommitment", | |
| "inputs": [ | |
| { | |
| "name": "user", | |
| "type": "address", | |
| "internalType": "address" | |
| }, | |
| { | |
| "name": "option", | |
| "type": "bytes32", | |
| "internalType": "bytes32" | |
| }, | |
| { | |
| "name": "token", | |
| "type": "address", | |
| "internalType": "address" | |
| } | |
| ] | |
| }, | |
| { | |
| "type": "error", | |
| "name": "NewOwnerIsZeroAddress", | |
| "inputs": [] | |
| }, | |
| { | |
| "type": "error", | |
| "name": "NoHandoverRequest", | |
| "inputs": [] | |
| }, | |
| { | |
| "type": "error", | |
| "name": "NonEquivalentListLength", | |
| "inputs": [] | |
| }, | |
| { | |
| "type": "error", | |
| "name": "Stopped", | |
| "inputs": [] | |
| }, | |
| { | |
| "type": "error", | |
| "name": "Unauthorized", | |
| "inputs": [] | |
| } | |
| ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment