[ { "inputs": [], "name": "cancel", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "wallet", "type": "address" } ], "name": "expiresAt", "outputs": [ { "internalType": "uint64", "name": "", "type": "uint64" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "wallet", "type": "address" } ], "name": "grandfathered", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "wallet", "type": "address" } ], "name": "hasAccess", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "wallet", "type": "address" } ], "name": "hasRecord", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "holderOpen", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "wallet", "type": "address" }, { "internalType": "bytes32", "name": "nonce", "type": "bytes32" } ], "name": "noteUsed", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "wallet", "type": "address" } ], "name": "paidUntil", "outputs": [ { "internalType": "uint64", "name": "", "type": "uint64" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "wallet", "type": "address" } ], "name": "plan", "outputs": [ { "internalType": "uint8", "name": "", "type": "uint8" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "previous", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "components": [ { "internalType": "address", "name": "wallet", "type": "address" }, { "internalType": "uint256", "name": "oakPerEthE18", "type": "uint256" }, { "internalType": "uint64", "name": "timestamp", "type": "uint64" }, { "internalType": "bytes32", "name": "nonce", "type": "bytes32" } ], "internalType": "struct PriceNote", "name": "n", "type": "tuple" }, { "internalType": "bytes", "name": "sig", "type": "bytes" } ], "name": "quoteHolder", "outputs": [ { "internalType": "uint256", "name": "count", "type": "uint256" }, { "internalType": "uint256", "name": "burn", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "components": [ { "internalType": "address", "name": "wallet", "type": "address" }, { "internalType": "uint256", "name": "oakPerEthE18", "type": "uint256" }, { "internalType": "uint64", "name": "timestamp", "type": "uint64" }, { "internalType": "bytes32", "name": "nonce", "type": "bytes32" } ], "internalType": "struct PriceNote", "name": "n", "type": "tuple" }, { "internalType": "bytes", "name": "sig", "type": "bytes" } ], "name": "quoteNoHold", "outputs": [ { "internalType": "uint256", "name": "price", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "renew", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "maxPrice", "type": "uint256" }, { "components": [ { "internalType": "address", "name": "wallet", "type": "address" }, { "internalType": "uint256", "name": "oakPerEthE18", "type": "uint256" }, { "internalType": "uint64", "name": "timestamp", "type": "uint64" }, { "internalType": "bytes32", "name": "nonce", "type": "bytes32" } ], "internalType": "struct PriceNote", "name": "n", "type": "tuple" }, { "internalType": "bytes", "name": "sig", "type": "bytes" } ], "name": "renewNoHold", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes", "name": "usdgAuth", "type": "bytes" } ], "name": "renewWithAuthorization", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "retire", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "retired", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "root", "type": "bytes32" }, { "internalType": "uint64", "name": "deadline", "type": "uint64" } ], "name": "setGrandfatherRoot", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "burner", "type": "address" }, { "internalType": "address", "name": "treasury", "type": "address" } ], "name": "setPayees", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "wallet", "type": "address" } ], "name": "signupOakCount", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint8", "name": "plan", "type": "uint8" }, { "internalType": "uint256", "name": "maxCount", "type": "uint256" }, { "internalType": "uint256", "name": "maxPrice", "type": "uint256" }, { "components": [ { "internalType": "address", "name": "wallet", "type": "address" }, { "internalType": "uint256", "name": "oakPerEthE18", "type": "uint256" }, { "internalType": "uint64", "name": "timestamp", "type": "uint64" }, { "internalType": "bytes32", "name": "nonce", "type": "bytes32" } ], "internalType": "struct PriceNote", "name": "n", "type": "tuple" }, { "internalType": "bytes", "name": "sig", "type": "bytes" } ], "name": "subscribe", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "count", "type": "uint256" }, { "internalType": "bytes32[]", "name": "proof", "type": "bytes32[]" } ], "name": "subscribeGrandfathered", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "count", "type": "uint256" }, { "internalType": "bytes32[]", "name": "proof", "type": "bytes32[]" }, { "internalType": "bytes", "name": "usdgAuth", "type": "bytes" } ], "name": "subscribeGrandfatheredWithAuthorization", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "maxCount", "type": "uint256" }, { "components": [ { "internalType": "address", "name": "wallet", "type": "address" }, { "internalType": "uint256", "name": "oakPerEthE18", "type": "uint256" }, { "internalType": "uint64", "name": "timestamp", "type": "uint64" }, { "internalType": "bytes32", "name": "nonce", "type": "bytes32" } ], "internalType": "struct PriceNote", "name": "n", "type": "tuple" }, { "internalType": "bytes", "name": "sig", "type": "bytes" }, { "internalType": "bytes", "name": "usdgAuth", "type": "bytes" } ], "name": "subscribeWithAuthorization", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "sweepToTreasury", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "wallet", "type": "address" }, { "indexed": false, "internalType": "uint64", "name": "at", "type": "uint64" } ], "name": "Cancelled", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "bytes32", "name": "root", "type": "bytes32" }, { "indexed": false, "internalType": "uint64", "name": "deadline", "type": "uint64" } ], "name": "GrandfatherRootSet", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "wallet", "type": "address" }, { "indexed": false, "internalType": "uint8", "name": "plan", "type": "uint8" }, { "indexed": false, "internalType": "uint64", "name": "paidUntil", "type": "uint64" }, { "indexed": false, "internalType": "uint256", "name": "amountPaid", "type": "uint256" } ], "name": "Renewed", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint64", "name": "at", "type": "uint64" } ], "name": "Retired", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "wallet", "type": "address" }, { "indexed": false, "internalType": "uint8", "name": "plan", "type": "uint8" }, { "indexed": false, "internalType": "uint64", "name": "paidUntil", "type": "uint64" }, { "indexed": false, "internalType": "uint256", "name": "signupOakCount", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "oakBurned", "type": "uint256" }, { "indexed": false, "internalType": "bool", "name": "grandfathered", "type": "bool" } ], "name": "Subscribed", "type": "event" }, { "inputs": [], "name": "HolderClosed", "type": "error" }, { "inputs": [], "name": "NoteUsed", "type": "error" } ]