[ { "inputs": [], "name": "available", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "ethUsdE18", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "liquidityUsdgE6", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "phase", "outputs": [ { "internalType": "uint8", "name": "", "type": "uint8" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "priceSigner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "signer", "type": "address" } ], "name": "setPriceSigner", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "spotOakPerEthE18", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "supplyNet", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "syncPhase", "outputs": [ { "internalType": "uint8", "name": "", "type": "uint8" } ], "stateMutability": "nonpayable", "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" }, { "internalType": "address", "name": "boundWallet", "type": "address" } ], "name": "verifyNote", "outputs": [ { "internalType": "uint256", "name": "oakPerEthE18", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "signer", "type": "address" } ], "name": "PriceSignerSet", "type": "event" }, { "inputs": [], "name": "NotReady", "type": "error" }, { "inputs": [], "name": "NoteBadSignature", "type": "error" }, { "inputs": [], "name": "NoteExpired", "type": "error" }, { "inputs": [], "name": "NoteNotYetValid", "type": "error" }, { "inputs": [ { "internalType": "uint256", "name": "spot", "type": "uint256" }, { "internalType": "uint256", "name": "note", "type": "uint256" } ], "name": "NoteOutsideGuard", "type": "error" }, { "inputs": [], "name": "NoteWrongWallet", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "source", "type": "address" } ], "name": "OracleUnreadable", "type": "error" } ]