{ "name": "Testnet Linked Prize Pool", "version": { "major": 1, "minor": 1, "patch": 0 }, "tags": {}, "contracts": [{ "chainId": 421613, "address": "0x132ACfF2782F9bA0B4e33762a7612eb8561e6787", "version": { "major": 1, "minor": 0, "patch": 0 }, "type": "BeaconTimelockTrigger", "abi": [{ "inputs": [{ "internalType": "address", "name": "_owner", "type": "address" }, { "internalType": "contract IPrizeDistributionFactory", "name": "_prizeDistributionFactory", "type": "address" }, { "internalType": "contract IDrawCalculatorTimelock", "name": "_timelock", "type": "address" }], "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "contract IPrizeDistributionFactory", "name": "prizeDistributionFactory", "type": "address" }, { "indexed": true, "internalType": "contract IDrawCalculatorTimelock", "name": "timelock", "type": "address" }], "name": "Deployed", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "uint32", "name": "drawId", "type": "uint32" }, { "components": [{ "internalType": "uint256", "name": "winningRandomNumber", "type": "uint256" }, { "internalType": "uint32", "name": "drawId", "type": "uint32" }, { "internalType": "uint64", "name": "timestamp", "type": "uint64" }, { "internalType": "uint64", "name": "beaconPeriodStartedAt", "type": "uint64" }, { "internalType": "uint32", "name": "beaconPeriodSeconds", "type": "uint32" }], "indexed": false, "internalType": "struct IDrawBeacon.Draw", "name": "draw", "type": "tuple" }, { "indexed": false, "internalType": "uint256", "name": "totalNetworkTicketSupply", "type": "uint256" }], "name": "DrawLockedAndTotalNetworkTicketSupplyPushed", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "previousManager", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newManager", "type": "address" }], "name": "ManagerTransferred", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "pendingOwner", "type": "address" }], "name": "OwnershipOffered", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" }], "name": "OwnershipTransferred", "type": "event" }, { "inputs": [], "name": "claimOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "manager", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "pendingOwner", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "prizeDistributionFactory", "outputs": [{ "internalType": "contract IPrizeDistributionFactory", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "uint256", "name": "winningRandomNumber", "type": "uint256" }, { "internalType": "uint32", "name": "drawId", "type": "uint32" }, { "internalType": "uint64", "name": "timestamp", "type": "uint64" }, { "internalType": "uint64", "name": "beaconPeriodStartedAt", "type": "uint64" }, { "internalType": "uint32", "name": "beaconPeriodSeconds", "type": "uint32" }], "internalType": "struct IDrawBeacon.Draw", "name": "_draw", "type": "tuple" }, { "internalType": "uint256", "name": "_totalNetworkTicketSupply", "type": "uint256" }], "name": "push", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_newManager", "type": "address" }], "name": "setManager", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "timelock", "outputs": [{ "internalType": "contract IDrawCalculatorTimelock", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_newOwner", "type": "address" }], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }], "tags": [], "extensions": {} }, { "chainId": 421613, "address": "0x7D25B7604652e6E0B98e1FdE648b3E41D7381328", "version": { "major": 1, "minor": 0, "patch": 0 }, "type": "DrawBeacon", "abi": [{ "inputs": [{ "internalType": "address", "name": "_owner", "type": "address" }, { "internalType": "contract IDrawBuffer", "name": "_drawBuffer", "type": "address" }, { "internalType": "contract RNGInterface", "name": "_rng", "type": "address" }, { "internalType": "uint32", "name": "_nextDrawId", "type": "uint32" }, { "internalType": "uint64", "name": "_beaconPeriodStart", "type": "uint64" }, { "internalType": "uint32", "name": "_beaconPeriodSeconds", "type": "uint32" }, { "internalType": "uint32", "name": "_rngTimeout", "type": "uint32" }], "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint32", "name": "drawPeriodSeconds", "type": "uint32" }], "name": "BeaconPeriodSecondsUpdated", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "uint64", "name": "startedAt", "type": "uint64" }], "name": "BeaconPeriodStarted", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint32", "name": "nextDrawId", "type": "uint32" }, { "indexed": false, "internalType": "uint64", "name": "beaconPeriodStartedAt", "type": "uint64" }], "name": "Deployed", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "contract IDrawBuffer", "name": "newDrawBuffer", "type": "address" }], "name": "DrawBufferUpdated", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "uint32", "name": "rngRequestId", "type": "uint32" }, { "indexed": false, "internalType": "uint32", "name": "rngLockBlock", "type": "uint32" }], "name": "DrawCancelled", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint256", "name": "randomNumber", "type": "uint256" }], "name": "DrawCompleted", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "uint32", "name": "rngRequestId", "type": "uint32" }, { "indexed": false, "internalType": "uint32", "name": "rngLockBlock", "type": "uint32" }], "name": "DrawStarted", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "pendingOwner", "type": "address" }], "name": "OwnershipOffered", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" }], "name": "OwnershipTransferred", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "contract RNGInterface", "name": "rngService", "type": "address" }], "name": "RngServiceUpdated", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint32", "name": "rngTimeout", "type": "uint32" }], "name": "RngTimeoutSet", "type": "event" }, { "inputs": [], "name": "beaconPeriodEndAt", "outputs": [{ "internalType": "uint64", "name": "", "type": "uint64" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "beaconPeriodRemainingSeconds", "outputs": [{ "internalType": "uint64", "name": "", "type": "uint64" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint64", "name": "_time", "type": "uint64" }], "name": "calculateNextBeaconPeriodStartTime", "outputs": [{ "internalType": "uint64", "name": "", "type": "uint64" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "calculateNextBeaconPeriodStartTimeFromCurrentTime", "outputs": [{ "internalType": "uint64", "name": "", "type": "uint64" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "canCompleteDraw", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "canStartDraw", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "cancelDraw", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "claimOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "completeDraw", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "getBeaconPeriodSeconds", "outputs": [{ "internalType": "uint32", "name": "", "type": "uint32" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getBeaconPeriodStartedAt", "outputs": [{ "internalType": "uint64", "name": "", "type": "uint64" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getDrawBuffer", "outputs": [{ "internalType": "contract IDrawBuffer", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getLastRngLockBlock", "outputs": [{ "internalType": "uint32", "name": "", "type": "uint32" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getLastRngRequestId", "outputs": [{ "internalType": "uint32", "name": "", "type": "uint32" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getNextDrawId", "outputs": [{ "internalType": "uint32", "name": "", "type": "uint32" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getRngService", "outputs": [{ "internalType": "contract RNGInterface", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getRngTimeout", "outputs": [{ "internalType": "uint32", "name": "", "type": "uint32" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "isBeaconPeriodOver", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "isRngCompleted", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "isRngRequested", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "isRngTimedOut", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "pendingOwner", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_beaconPeriodSeconds", "type": "uint32" }], "name": "setBeaconPeriodSeconds", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "contract IDrawBuffer", "name": "newDrawBuffer", "type": "address" }], "name": "setDrawBuffer", "outputs": [{ "internalType": "contract IDrawBuffer", "name": "", "type": "address" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "contract RNGInterface", "name": "_rngService", "type": "address" }], "name": "setRngService", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_rngTimeout", "type": "uint32" }], "name": "setRngTimeout", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "startDraw", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_newOwner", "type": "address" }], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }], "tags": [], "extensions": {} }, { "chainId": 421613, "address": "0x11a9905672D140323A3ac80AC6Fc439800A2AAa5", "version": { "major": 1, "minor": 0, "patch": 0 }, "type": "DrawBuffer", "abi": [{ "inputs": [{ "internalType": "address", "name": "_owner", "type": "address" }, { "internalType": "uint8", "name": "_cardinality", "type": "uint8" }], "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "uint32", "name": "drawId", "type": "uint32" }, { "components": [{ "internalType": "uint256", "name": "winningRandomNumber", "type": "uint256" }, { "internalType": "uint32", "name": "drawId", "type": "uint32" }, { "internalType": "uint64", "name": "timestamp", "type": "uint64" }, { "internalType": "uint64", "name": "beaconPeriodStartedAt", "type": "uint64" }, { "internalType": "uint32", "name": "beaconPeriodSeconds", "type": "uint32" }], "indexed": false, "internalType": "struct IDrawBeacon.Draw", "name": "draw", "type": "tuple" }], "name": "DrawSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "previousManager", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newManager", "type": "address" }], "name": "ManagerTransferred", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "pendingOwner", "type": "address" }], "name": "OwnershipOffered", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" }], "name": "OwnershipTransferred", "type": "event" }, { "inputs": [], "name": "MAX_CARDINALITY", "outputs": [{ "internalType": "uint16", "name": "", "type": "uint16" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "claimOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "getBufferCardinality", "outputs": [{ "internalType": "uint32", "name": "", "type": "uint32" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "drawId", "type": "uint32" }], "name": "getDraw", "outputs": [{ "components": [{ "internalType": "uint256", "name": "winningRandomNumber", "type": "uint256" }, { "internalType": "uint32", "name": "drawId", "type": "uint32" }, { "internalType": "uint64", "name": "timestamp", "type": "uint64" }, { "internalType": "uint64", "name": "beaconPeriodStartedAt", "type": "uint64" }, { "internalType": "uint32", "name": "beaconPeriodSeconds", "type": "uint32" }], "internalType": "struct IDrawBeacon.Draw", "name": "", "type": "tuple" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getDrawCount", "outputs": [{ "internalType": "uint32", "name": "", "type": "uint32" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32[]", "name": "_drawIds", "type": "uint32[]" }], "name": "getDraws", "outputs": [{ "components": [{ "internalType": "uint256", "name": "winningRandomNumber", "type": "uint256" }, { "internalType": "uint32", "name": "drawId", "type": "uint32" }, { "internalType": "uint64", "name": "timestamp", "type": "uint64" }, { "internalType": "uint64", "name": "beaconPeriodStartedAt", "type": "uint64" }, { "internalType": "uint32", "name": "beaconPeriodSeconds", "type": "uint32" }], "internalType": "struct IDrawBeacon.Draw[]", "name": "", "type": "tuple[]" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getNewestDraw", "outputs": [{ "components": [{ "internalType": "uint256", "name": "winningRandomNumber", "type": "uint256" }, { "internalType": "uint32", "name": "drawId", "type": "uint32" }, { "internalType": "uint64", "name": "timestamp", "type": "uint64" }, { "internalType": "uint64", "name": "beaconPeriodStartedAt", "type": "uint64" }, { "internalType": "uint32", "name": "beaconPeriodSeconds", "type": "uint32" }], "internalType": "struct IDrawBeacon.Draw", "name": "", "type": "tuple" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getOldestDraw", "outputs": [{ "components": [{ "internalType": "uint256", "name": "winningRandomNumber", "type": "uint256" }, { "internalType": "uint32", "name": "drawId", "type": "uint32" }, { "internalType": "uint64", "name": "timestamp", "type": "uint64" }, { "internalType": "uint64", "name": "beaconPeriodStartedAt", "type": "uint64" }, { "internalType": "uint32", "name": "beaconPeriodSeconds", "type": "uint32" }], "internalType": "struct IDrawBeacon.Draw", "name": "", "type": "tuple" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "manager", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "pendingOwner", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "uint256", "name": "winningRandomNumber", "type": "uint256" }, { "internalType": "uint32", "name": "drawId", "type": "uint32" }, { "internalType": "uint64", "name": "timestamp", "type": "uint64" }, { "internalType": "uint64", "name": "beaconPeriodStartedAt", "type": "uint64" }, { "internalType": "uint32", "name": "beaconPeriodSeconds", "type": "uint32" }], "internalType": "struct IDrawBeacon.Draw", "name": "_draw", "type": "tuple" }], "name": "pushDraw", "outputs": [{ "internalType": "uint32", "name": "", "type": "uint32" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "uint256", "name": "winningRandomNumber", "type": "uint256" }, { "internalType": "uint32", "name": "drawId", "type": "uint32" }, { "internalType": "uint64", "name": "timestamp", "type": "uint64" }, { "internalType": "uint64", "name": "beaconPeriodStartedAt", "type": "uint64" }, { "internalType": "uint32", "name": "beaconPeriodSeconds", "type": "uint32" }], "internalType": "struct IDrawBeacon.Draw", "name": "_newDraw", "type": "tuple" }], "name": "setDraw", "outputs": [{ "internalType": "uint32", "name": "", "type": "uint32" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_newManager", "type": "address" }], "name": "setManager", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_newOwner", "type": "address" }], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }], "tags": [], "extensions": {} }, { "chainId": 421613, "address": "0x5713A8604AA5b28Dd3960Fa8a8dF92BCc641D3d9", "version": { "major": 1, "minor": 0, "patch": 0 }, "type": "DrawCalculator", "abi": [{ "inputs": [{ "internalType": "contract ITicket", "name": "_ticket", "type": "address" }, { "internalType": "contract IDrawBuffer", "name": "_drawBuffer", "type": "address" }, { "internalType": "contract IPrizeDistributionBuffer", "name": "_prizeDistributionBuffer", "type": "address" }], "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "contract ITicket", "name": "ticket", "type": "address" }, { "indexed": true, "internalType": "contract IDrawBuffer", "name": "drawBuffer", "type": "address" }, { "indexed": true, "internalType": "contract IPrizeDistributionBuffer", "name": "prizeDistributionBuffer", "type": "address" }], "name": "Deployed", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "contract PrizeDistributor", "name": "prizeDistributor", "type": "address" }], "name": "PrizeDistributorSet", "type": "event" }, { "inputs": [], "name": "TIERS_LENGTH", "outputs": [{ "internalType": "uint8", "name": "", "type": "uint8" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_user", "type": "address" }, { "internalType": "uint32[]", "name": "_drawIds", "type": "uint32[]" }, { "internalType": "bytes", "name": "_pickIndicesForDraws", "type": "bytes" }], "name": "calculate", "outputs": [{ "internalType": "uint256[]", "name": "", "type": "uint256[]" }, { "internalType": "bytes", "name": "", "type": "bytes" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "drawBuffer", "outputs": [{ "internalType": "contract IDrawBuffer", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getDrawBuffer", "outputs": [{ "internalType": "contract IDrawBuffer", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_user", "type": "address" }, { "internalType": "uint32[]", "name": "_drawIds", "type": "uint32[]" }], "name": "getNormalizedBalancesForDrawIds", "outputs": [{ "internalType": "uint256[]", "name": "", "type": "uint256[]" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getPrizeDistributionBuffer", "outputs": [{ "internalType": "contract IPrizeDistributionBuffer", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "prizeDistributionBuffer", "outputs": [{ "internalType": "contract IPrizeDistributionBuffer", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "ticket", "outputs": [{ "internalType": "contract ITicket", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }], "tags": [], "extensions": {} }, { "chainId": 421613, "address": "0x54eF940bADC6670b4C0cEBC3EF8C5D134E489120", "version": { "major": 1, "minor": 0, "patch": 0 }, "type": "DrawCalculatorTimelock", "abi": [{ "inputs": [{ "internalType": "address", "name": "_owner", "type": "address" }, { "internalType": "contract IDrawCalculator", "name": "_calculator", "type": "address" }], "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "contract IDrawCalculator", "name": "drawCalculator", "type": "address" }], "name": "Deployed", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "uint32", "name": "drawId", "type": "uint32" }, { "indexed": false, "internalType": "uint64", "name": "timestamp", "type": "uint64" }], "name": "LockedDraw", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "previousManager", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newManager", "type": "address" }], "name": "ManagerTransferred", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "pendingOwner", "type": "address" }], "name": "OwnershipOffered", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" }], "name": "OwnershipTransferred", "type": "event" }, { "anonymous": false, "inputs": [{ "components": [{ "internalType": "uint64", "name": "timestamp", "type": "uint64" }, { "internalType": "uint32", "name": "drawId", "type": "uint32" }], "indexed": false, "internalType": "struct IDrawCalculatorTimelock.Timelock", "name": "timelock", "type": "tuple" }], "name": "TimelockSet", "type": "event" }, { "inputs": [{ "internalType": "address", "name": "user", "type": "address" }, { "internalType": "uint32[]", "name": "drawIds", "type": "uint32[]" }, { "internalType": "bytes", "name": "data", "type": "bytes" }], "name": "calculate", "outputs": [{ "internalType": "uint256[]", "name": "", "type": "uint256[]" }, { "internalType": "bytes", "name": "", "type": "bytes" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "claimOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "getDrawCalculator", "outputs": [{ "internalType": "contract IDrawCalculator", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getTimelock", "outputs": [{ "components": [{ "internalType": "uint64", "name": "timestamp", "type": "uint64" }, { "internalType": "uint32", "name": "drawId", "type": "uint32" }], "internalType": "struct IDrawCalculatorTimelock.Timelock", "name": "", "type": "tuple" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "hasElapsed", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_drawId", "type": "uint32" }, { "internalType": "uint64", "name": "_timestamp", "type": "uint64" }], "name": "lock", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "manager", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "pendingOwner", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_newManager", "type": "address" }], "name": "setManager", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "uint64", "name": "timestamp", "type": "uint64" }, { "internalType": "uint32", "name": "drawId", "type": "uint32" }], "internalType": "struct IDrawCalculatorTimelock.Timelock", "name": "_timelock", "type": "tuple" }], "name": "setTimelock", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_newOwner", "type": "address" }], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }], "tags": [], "extensions": {} }, { "chainId": 421613, "address": "0xdB3a8128eCfaA89F0dC31Bf6B8727154F51Bad71", "version": { "major": 1, "minor": 0, "patch": 0 }, "type": "EIP2612PermitAndDeposit", "abi": [{ "inputs": [{ "internalType": "contract IPrizePool", "name": "_prizePool", "type": "address" }, { "internalType": "uint256", "name": "_amount", "type": "uint256" }, { "internalType": "address", "name": "_to", "type": "address" }, { "components": [{ "internalType": "address", "name": "delegate", "type": "address" }, { "components": [{ "internalType": "uint256", "name": "deadline", "type": "uint256" }, { "internalType": "uint8", "name": "v", "type": "uint8" }, { "internalType": "bytes32", "name": "r", "type": "bytes32" }, { "internalType": "bytes32", "name": "s", "type": "bytes32" }], "internalType": "struct Signature", "name": "signature", "type": "tuple" }], "internalType": "struct DelegateSignature", "name": "_delegateSignature", "type": "tuple" }], "name": "depositToAndDelegate", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "contract IPrizePool", "name": "_prizePool", "type": "address" }, { "internalType": "uint256", "name": "_amount", "type": "uint256" }, { "internalType": "address", "name": "_to", "type": "address" }, { "components": [{ "internalType": "uint256", "name": "deadline", "type": "uint256" }, { "internalType": "uint8", "name": "v", "type": "uint8" }, { "internalType": "bytes32", "name": "r", "type": "bytes32" }, { "internalType": "bytes32", "name": "s", "type": "bytes32" }], "internalType": "struct Signature", "name": "_permitSignature", "type": "tuple" }, { "components": [{ "internalType": "address", "name": "delegate", "type": "address" }, { "components": [{ "internalType": "uint256", "name": "deadline", "type": "uint256" }, { "internalType": "uint8", "name": "v", "type": "uint8" }, { "internalType": "bytes32", "name": "r", "type": "bytes32" }, { "internalType": "bytes32", "name": "s", "type": "bytes32" }], "internalType": "struct Signature", "name": "signature", "type": "tuple" }], "internalType": "struct DelegateSignature", "name": "_delegateSignature", "type": "tuple" }], "name": "permitAndDepositToAndDelegate", "outputs": [], "stateMutability": "nonpayable", "type": "function" }], "tags": [], "extensions": {} }, { "chainId": 421613, "address": "0xBDbd108bfD0aac023309368c45648d2cb0515299", "version": { "major": 1, "minor": 0, "patch": 0 }, "type": "MockYieldSource", "abi": [{ "inputs": [{ "internalType": "string", "name": "_name", "type": "string" }, { "internalType": "string", "name": "_symbol", "type": "string" }, { "internalType": "uint8", "name": "_decimals", "type": "uint8" }], "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "owner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "spender", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" }], "name": "Approval", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "from", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" }], "name": "Transfer", "type": "event" }, { "inputs": [{ "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "address", "name": "spender", "type": "address" }], "name": "allowance", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "approve", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "account", "type": "address" }], "name": "balanceOf", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "addr", "type": "address" }], "name": "balanceOfToken", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "decimals", "outputs": [{ "internalType": "uint8", "name": "", "type": "uint8" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "subtractedValue", "type": "uint256" }], "name": "decreaseAllowance", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "depositToken", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "addedValue", "type": "uint256" }], "name": "increaseAllowance", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "name", "outputs": [{ "internalType": "string", "name": "", "type": "string" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "ratePerSecond", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "redeemToken", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "_ratePerSecond", "type": "uint256" }], "name": "setRatePerSecond", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "shares", "type": "uint256" }], "name": "sharesToTokens", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "amount", "type": "uint256" }, { "internalType": "address", "name": "to", "type": "address" }], "name": "supplyTokenTo", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "symbol", "outputs": [{ "internalType": "string", "name": "", "type": "string" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "token", "outputs": [{ "internalType": "contract ERC20Mintable", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "tokens", "type": "uint256" }], "name": "tokensToShares", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "totalSupply", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "recipient", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "transfer", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "sender", "type": "address" }, { "internalType": "address", "name": "recipient", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "transferFrom", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "yield", "outputs": [], "stateMutability": "nonpayable", "type": "function" }], "tags": [], "extensions": {} }, { "chainId": 421613, "address": "0xe2207572bE6DBeA1452E249aE95b70B2da1B4aef", "version": { "major": 1, "minor": 0, "patch": 0 }, "type": "PrizeDistributionBuffer", "abi": [{ "inputs": [{ "internalType": "address", "name": "_owner", "type": "address" }, { "internalType": "uint8", "name": "_cardinality", "type": "uint8" }], "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint8", "name": "cardinality", "type": "uint8" }], "name": "Deployed", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "previousManager", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newManager", "type": "address" }], "name": "ManagerTransferred", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "pendingOwner", "type": "address" }], "name": "OwnershipOffered", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" }], "name": "OwnershipTransferred", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "uint32", "name": "drawId", "type": "uint32" }, { "components": [{ "internalType": "uint8", "name": "bitRangeSize", "type": "uint8" }, { "internalType": "uint8", "name": "matchCardinality", "type": "uint8" }, { "internalType": "uint32", "name": "startTimestampOffset", "type": "uint32" }, { "internalType": "uint32", "name": "endTimestampOffset", "type": "uint32" }, { "internalType": "uint32", "name": "maxPicksPerUser", "type": "uint32" }, { "internalType": "uint32", "name": "expiryDuration", "type": "uint32" }, { "internalType": "uint104", "name": "numberOfPicks", "type": "uint104" }, { "internalType": "uint32[16]", "name": "tiers", "type": "uint32[16]" }, { "internalType": "uint256", "name": "prize", "type": "uint256" }], "indexed": false, "internalType": "struct IPrizeDistributionSource.PrizeDistribution", "name": "prizeDistribution", "type": "tuple" }], "name": "PrizeDistributionSet", "type": "event" }, { "inputs": [], "name": "claimOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "getBufferCardinality", "outputs": [{ "internalType": "uint32", "name": "", "type": "uint32" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getNewestPrizeDistribution", "outputs": [{ "components": [{ "internalType": "uint8", "name": "bitRangeSize", "type": "uint8" }, { "internalType": "uint8", "name": "matchCardinality", "type": "uint8" }, { "internalType": "uint32", "name": "startTimestampOffset", "type": "uint32" }, { "internalType": "uint32", "name": "endTimestampOffset", "type": "uint32" }, { "internalType": "uint32", "name": "maxPicksPerUser", "type": "uint32" }, { "internalType": "uint32", "name": "expiryDuration", "type": "uint32" }, { "internalType": "uint104", "name": "numberOfPicks", "type": "uint104" }, { "internalType": "uint32[16]", "name": "tiers", "type": "uint32[16]" }, { "internalType": "uint256", "name": "prize", "type": "uint256" }], "internalType": "struct IPrizeDistributionSource.PrizeDistribution", "name": "prizeDistribution", "type": "tuple" }, { "internalType": "uint32", "name": "drawId", "type": "uint32" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getOldestPrizeDistribution", "outputs": [{ "components": [{ "internalType": "uint8", "name": "bitRangeSize", "type": "uint8" }, { "internalType": "uint8", "name": "matchCardinality", "type": "uint8" }, { "internalType": "uint32", "name": "startTimestampOffset", "type": "uint32" }, { "internalType": "uint32", "name": "endTimestampOffset", "type": "uint32" }, { "internalType": "uint32", "name": "maxPicksPerUser", "type": "uint32" }, { "internalType": "uint32", "name": "expiryDuration", "type": "uint32" }, { "internalType": "uint104", "name": "numberOfPicks", "type": "uint104" }, { "internalType": "uint32[16]", "name": "tiers", "type": "uint32[16]" }, { "internalType": "uint256", "name": "prize", "type": "uint256" }], "internalType": "struct IPrizeDistributionSource.PrizeDistribution", "name": "prizeDistribution", "type": "tuple" }, { "internalType": "uint32", "name": "drawId", "type": "uint32" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_drawId", "type": "uint32" }], "name": "getPrizeDistribution", "outputs": [{ "components": [{ "internalType": "uint8", "name": "bitRangeSize", "type": "uint8" }, { "internalType": "uint8", "name": "matchCardinality", "type": "uint8" }, { "internalType": "uint32", "name": "startTimestampOffset", "type": "uint32" }, { "internalType": "uint32", "name": "endTimestampOffset", "type": "uint32" }, { "internalType": "uint32", "name": "maxPicksPerUser", "type": "uint32" }, { "internalType": "uint32", "name": "expiryDuration", "type": "uint32" }, { "internalType": "uint104", "name": "numberOfPicks", "type": "uint104" }, { "internalType": "uint32[16]", "name": "tiers", "type": "uint32[16]" }, { "internalType": "uint256", "name": "prize", "type": "uint256" }], "internalType": "struct IPrizeDistributionSource.PrizeDistribution", "name": "", "type": "tuple" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getPrizeDistributionCount", "outputs": [{ "internalType": "uint32", "name": "", "type": "uint32" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32[]", "name": "_drawIds", "type": "uint32[]" }], "name": "getPrizeDistributions", "outputs": [{ "components": [{ "internalType": "uint8", "name": "bitRangeSize", "type": "uint8" }, { "internalType": "uint8", "name": "matchCardinality", "type": "uint8" }, { "internalType": "uint32", "name": "startTimestampOffset", "type": "uint32" }, { "internalType": "uint32", "name": "endTimestampOffset", "type": "uint32" }, { "internalType": "uint32", "name": "maxPicksPerUser", "type": "uint32" }, { "internalType": "uint32", "name": "expiryDuration", "type": "uint32" }, { "internalType": "uint104", "name": "numberOfPicks", "type": "uint104" }, { "internalType": "uint32[16]", "name": "tiers", "type": "uint32[16]" }, { "internalType": "uint256", "name": "prize", "type": "uint256" }], "internalType": "struct IPrizeDistributionSource.PrizeDistribution[]", "name": "", "type": "tuple[]" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "manager", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "pendingOwner", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_drawId", "type": "uint32" }, { "components": [{ "internalType": "uint8", "name": "bitRangeSize", "type": "uint8" }, { "internalType": "uint8", "name": "matchCardinality", "type": "uint8" }, { "internalType": "uint32", "name": "startTimestampOffset", "type": "uint32" }, { "internalType": "uint32", "name": "endTimestampOffset", "type": "uint32" }, { "internalType": "uint32", "name": "maxPicksPerUser", "type": "uint32" }, { "internalType": "uint32", "name": "expiryDuration", "type": "uint32" }, { "internalType": "uint104", "name": "numberOfPicks", "type": "uint104" }, { "internalType": "uint32[16]", "name": "tiers", "type": "uint32[16]" }, { "internalType": "uint256", "name": "prize", "type": "uint256" }], "internalType": "struct IPrizeDistributionSource.PrizeDistribution", "name": "_prizeDistribution", "type": "tuple" }], "name": "pushPrizeDistribution", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_newManager", "type": "address" }], "name": "setManager", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_drawId", "type": "uint32" }, { "components": [{ "internalType": "uint8", "name": "bitRangeSize", "type": "uint8" }, { "internalType": "uint8", "name": "matchCardinality", "type": "uint8" }, { "internalType": "uint32", "name": "startTimestampOffset", "type": "uint32" }, { "internalType": "uint32", "name": "endTimestampOffset", "type": "uint32" }, { "internalType": "uint32", "name": "maxPicksPerUser", "type": "uint32" }, { "internalType": "uint32", "name": "expiryDuration", "type": "uint32" }, { "internalType": "uint104", "name": "numberOfPicks", "type": "uint104" }, { "internalType": "uint32[16]", "name": "tiers", "type": "uint32[16]" }, { "internalType": "uint256", "name": "prize", "type": "uint256" }], "internalType": "struct IPrizeDistributionSource.PrizeDistribution", "name": "_prizeDistribution", "type": "tuple" }], "name": "setPrizeDistribution", "outputs": [{ "internalType": "uint32", "name": "", "type": "uint32" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_newOwner", "type": "address" }], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }], "tags": [], "extensions": {} }, { "chainId": 421613, "address": "0x3Bd5b16F91CAC7d244FABE4d65137a81A806626D", "version": { "major": 2, "minor": 0, "patch": 0 }, "type": "PrizeDistributionFactory", "abi": [{ "inputs": [{ "internalType": "address", "name": "_owner", "type": "address" }, { "internalType": "contract IPrizeTierHistoryV2", "name": "_prizeTierHistory", "type": "address" }, { "internalType": "contract IDrawBuffer", "name": "_drawBuffer", "type": "address" }, { "internalType": "contract IPrizeDistributionBuffer", "name": "_prizeDistributionBuffer", "type": "address" }, { "internalType": "contract ITicket", "name": "_ticket", "type": "address" }, { "internalType": "uint256", "name": "_minPickCost", "type": "uint256" }], "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "pendingOwner", "type": "address" }], "name": "OwnershipOffered", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" }], "name": "OwnershipTransferred", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "uint32", "name": "drawId", "type": "uint32" }], "name": "PrizeDistributionPushed", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "uint32", "name": "drawId", "type": "uint32" }], "name": "PrizeDistributionSet", "type": "event" }, { "inputs": [], "name": "RATE_NORMALIZATION", "outputs": [{ "internalType": "uint32", "name": "", "type": "uint32" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_drawId", "type": "uint32" }], "name": "calculatePrizeDistribution", "outputs": [{ "components": [{ "internalType": "uint8", "name": "bitRangeSize", "type": "uint8" }, { "internalType": "uint8", "name": "matchCardinality", "type": "uint8" }, { "internalType": "uint32", "name": "startTimestampOffset", "type": "uint32" }, { "internalType": "uint32", "name": "endTimestampOffset", "type": "uint32" }, { "internalType": "uint32", "name": "maxPicksPerUser", "type": "uint32" }, { "internalType": "uint32", "name": "expiryDuration", "type": "uint32" }, { "internalType": "uint104", "name": "numberOfPicks", "type": "uint104" }, { "internalType": "uint32[16]", "name": "tiers", "type": "uint32[16]" }, { "internalType": "uint256", "name": "prize", "type": "uint256" }], "internalType": "struct IPrizeDistributionSource.PrizeDistribution", "name": "", "type": "tuple" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "claimOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "drawBuffer", "outputs": [{ "internalType": "contract IDrawBuffer", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "minPickCost", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "pendingOwner", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "prizeDistributionBuffer", "outputs": [{ "internalType": "contract IPrizeDistributionBuffer", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "prizeTierHistory", "outputs": [{ "internalType": "contract IPrizeTierHistoryV2", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_drawId", "type": "uint32" }], "name": "pushPrizeDistribution", "outputs": [{ "components": [{ "internalType": "uint8", "name": "bitRangeSize", "type": "uint8" }, { "internalType": "uint8", "name": "matchCardinality", "type": "uint8" }, { "internalType": "uint32", "name": "startTimestampOffset", "type": "uint32" }, { "internalType": "uint32", "name": "endTimestampOffset", "type": "uint32" }, { "internalType": "uint32", "name": "maxPicksPerUser", "type": "uint32" }, { "internalType": "uint32", "name": "expiryDuration", "type": "uint32" }, { "internalType": "uint104", "name": "numberOfPicks", "type": "uint104" }, { "internalType": "uint32[16]", "name": "tiers", "type": "uint32[16]" }, { "internalType": "uint256", "name": "prize", "type": "uint256" }], "internalType": "struct IPrizeDistributionSource.PrizeDistribution", "name": "", "type": "tuple" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_drawId", "type": "uint32" }], "name": "setPrizeDistribution", "outputs": [{ "components": [{ "internalType": "uint8", "name": "bitRangeSize", "type": "uint8" }, { "internalType": "uint8", "name": "matchCardinality", "type": "uint8" }, { "internalType": "uint32", "name": "startTimestampOffset", "type": "uint32" }, { "internalType": "uint32", "name": "endTimestampOffset", "type": "uint32" }, { "internalType": "uint32", "name": "maxPicksPerUser", "type": "uint32" }, { "internalType": "uint32", "name": "expiryDuration", "type": "uint32" }, { "internalType": "uint104", "name": "numberOfPicks", "type": "uint104" }, { "internalType": "uint32[16]", "name": "tiers", "type": "uint32[16]" }, { "internalType": "uint256", "name": "prize", "type": "uint256" }], "internalType": "struct IPrizeDistributionSource.PrizeDistribution", "name": "", "type": "tuple" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "ticket", "outputs": [{ "internalType": "contract ITicket", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_newOwner", "type": "address" }], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }], "tags": [], "extensions": {} }, { "chainId": 421613, "address": "0x79Da5432343090cD2769BD0E66deea6135C511bE", "version": { "major": 1, "minor": 0, "patch": 0 }, "type": "PrizeDistributor", "abi": [{ "inputs": [{ "internalType": "address", "name": "_owner", "type": "address" }, { "internalType": "contract IERC20", "name": "_token", "type": "address" }, { "internalType": "contract IDrawCalculator", "name": "_drawCalculator", "type": "address" }], "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "user", "type": "address" }, { "indexed": true, "internalType": "uint32", "name": "drawId", "type": "uint32" }, { "indexed": false, "internalType": "uint256", "name": "payout", "type": "uint256" }], "name": "ClaimedDraw", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "contract IDrawCalculator", "name": "calculator", "type": "address" }], "name": "DrawCalculatorSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "contract IERC20", "name": "token", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "ERC20Withdrawn", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "pendingOwner", "type": "address" }], "name": "OwnershipOffered", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" }], "name": "OwnershipTransferred", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "contract IERC20", "name": "token", "type": "address" }], "name": "TokenSet", "type": "event" }, { "inputs": [{ "internalType": "address", "name": "_user", "type": "address" }, { "internalType": "uint32[]", "name": "_drawIds", "type": "uint32[]" }, { "internalType": "bytes", "name": "_data", "type": "bytes" }], "name": "claim", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "claimOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "getDrawCalculator", "outputs": [{ "internalType": "contract IDrawCalculator", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_user", "type": "address" }, { "internalType": "uint32", "name": "_drawId", "type": "uint32" }], "name": "getDrawPayoutBalanceOf", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getToken", "outputs": [{ "internalType": "contract IERC20", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "pendingOwner", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "contract IDrawCalculator", "name": "_newCalculator", "type": "address" }], "name": "setDrawCalculator", "outputs": [{ "internalType": "contract IDrawCalculator", "name": "", "type": "address" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_newOwner", "type": "address" }], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "contract IERC20", "name": "_erc20Token", "type": "address" }, { "internalType": "address", "name": "_to", "type": "address" }, { "internalType": "uint256", "name": "_amount", "type": "uint256" }], "name": "withdrawERC20", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "nonpayable", "type": "function" }], "tags": [], "extensions": {} }, { "chainId": 421613, "address": "0xD339AB4EeA141bdf2e6c83d84CA72e1fE1eb291b", "version": { "major": 1, "minor": 0, "patch": 0 }, "type": "PrizeFlush", "abi": [{ "inputs": [{ "internalType": "address", "name": "_owner", "type": "address" }, { "internalType": "address", "name": "_destination", "type": "address" }, { "internalType": "contract IStrategy", "name": "_strategy", "type": "address" }, { "internalType": "contract IReserve", "name": "_reserve", "type": "address" }], "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "destination", "type": "address" }, { "indexed": true, "internalType": "contract IReserve", "name": "reserve", "type": "address" }, { "indexed": true, "internalType": "contract IStrategy", "name": "strategy", "type": "address" }], "name": "Deployed", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "address", "name": "destination", "type": "address" }], "name": "DestinationSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "destination", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "Flushed", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "previousManager", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newManager", "type": "address" }], "name": "ManagerTransferred", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "pendingOwner", "type": "address" }], "name": "OwnershipOffered", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" }], "name": "OwnershipTransferred", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "contract IReserve", "name": "reserve", "type": "address" }], "name": "ReserveSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "contract IStrategy", "name": "strategy", "type": "address" }], "name": "StrategySet", "type": "event" }, { "inputs": [], "name": "claimOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "flush", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "getDestination", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getReserve", "outputs": [{ "internalType": "contract IReserve", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getStrategy", "outputs": [{ "internalType": "contract IStrategy", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "manager", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "pendingOwner", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_destination", "type": "address" }], "name": "setDestination", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_newManager", "type": "address" }], "name": "setManager", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "contract IReserve", "name": "_reserve", "type": "address" }], "name": "setReserve", "outputs": [{ "internalType": "contract IReserve", "name": "", "type": "address" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "contract IStrategy", "name": "_strategy", "type": "address" }], "name": "setStrategy", "outputs": [{ "internalType": "contract IStrategy", "name": "", "type": "address" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_newOwner", "type": "address" }], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }], "tags": [], "extensions": {} }, { "chainId": 421613, "address": "0x67D48A72B1f10BF0D22fB0d3d7205D4Cc48dB77b", "version": { "major": 1, "minor": 0, "patch": 0 }, "type": "PrizeSplitStrategy", "abi": [{ "inputs": [{ "internalType": "address", "name": "_owner", "type": "address" }, { "internalType": "contract IPrizePool", "name": "_prizePool", "type": "address" }], "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "owner", "type": "address" }, { "indexed": false, "internalType": "contract IPrizePool", "name": "prizePool", "type": "address" }], "name": "Deployed", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint256", "name": "totalPrizeCaptured", "type": "uint256" }], "name": "Distributed", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "pendingOwner", "type": "address" }], "name": "OwnershipOffered", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" }], "name": "OwnershipTransferred", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "user", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "prizeAwarded", "type": "uint256" }, { "indexed": true, "internalType": "contract IControlledToken", "name": "token", "type": "address" }], "name": "PrizeSplitAwarded", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "uint256", "name": "target", "type": "uint256" }], "name": "PrizeSplitRemoved", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "target", "type": "address" }, { "indexed": false, "internalType": "uint16", "name": "percentage", "type": "uint16" }, { "indexed": false, "internalType": "uint256", "name": "index", "type": "uint256" }], "name": "PrizeSplitSet", "type": "event" }, { "inputs": [], "name": "ONE_AS_FIXED_POINT_3", "outputs": [{ "internalType": "uint16", "name": "", "type": "uint16" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "claimOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "distribute", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "getPrizePool", "outputs": [{ "internalType": "contract IPrizePool", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "_prizeSplitIndex", "type": "uint256" }], "name": "getPrizeSplit", "outputs": [{ "components": [{ "internalType": "address", "name": "target", "type": "address" }, { "internalType": "uint16", "name": "percentage", "type": "uint16" }], "internalType": "struct IPrizeSplit.PrizeSplitConfig", "name": "", "type": "tuple" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getPrizeSplits", "outputs": [{ "components": [{ "internalType": "address", "name": "target", "type": "address" }, { "internalType": "uint16", "name": "percentage", "type": "uint16" }], "internalType": "struct IPrizeSplit.PrizeSplitConfig[]", "name": "", "type": "tuple[]" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "pendingOwner", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "address", "name": "target", "type": "address" }, { "internalType": "uint16", "name": "percentage", "type": "uint16" }], "internalType": "struct IPrizeSplit.PrizeSplitConfig", "name": "_prizeSplit", "type": "tuple" }, { "internalType": "uint8", "name": "_prizeSplitIndex", "type": "uint8" }], "name": "setPrizeSplit", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "address", "name": "target", "type": "address" }, { "internalType": "uint16", "name": "percentage", "type": "uint16" }], "internalType": "struct IPrizeSplit.PrizeSplitConfig[]", "name": "_newPrizeSplits", "type": "tuple[]" }], "name": "setPrizeSplits", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_newOwner", "type": "address" }], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }], "tags": [], "extensions": {} }, { "chainId": 421613, "address": "0xb205659dC916963F3dA70Bf575D14457146993bC", "version": { "major": 2, "minor": 0, "patch": 0 }, "type": "PrizeTierHistory", "abi": [{ "inputs": [{ "internalType": "address", "name": "_owner", "type": "address" }], "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "previousManager", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newManager", "type": "address" }], "name": "ManagerTransferred", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "pendingOwner", "type": "address" }], "name": "OwnershipOffered", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" }], "name": "OwnershipTransferred", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "uint32", "name": "drawId", "type": "uint32" }, { "components": [{ "internalType": "uint8", "name": "bitRangeSize", "type": "uint8" }, { "internalType": "uint32", "name": "drawId", "type": "uint32" }, { "internalType": "uint32", "name": "maxPicksPerUser", "type": "uint32" }, { "internalType": "uint32", "name": "expiryDuration", "type": "uint32" }, { "internalType": "uint32", "name": "endTimestampOffset", "type": "uint32" }, { "internalType": "uint32", "name": "dpr", "type": "uint32" }, { "internalType": "uint256", "name": "prize", "type": "uint256" }, { "internalType": "uint32[16]", "name": "tiers", "type": "uint32[16]" }], "indexed": false, "internalType": "struct IPrizeTierHistoryV2.PrizeTierV2", "name": "prizeTier", "type": "tuple" }], "name": "PrizeTierPushed", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "uint32", "name": "drawId", "type": "uint32" }, { "components": [{ "internalType": "uint8", "name": "bitRangeSize", "type": "uint8" }, { "internalType": "uint32", "name": "drawId", "type": "uint32" }, { "internalType": "uint32", "name": "maxPicksPerUser", "type": "uint32" }, { "internalType": "uint32", "name": "expiryDuration", "type": "uint32" }, { "internalType": "uint32", "name": "endTimestampOffset", "type": "uint32" }, { "internalType": "uint32", "name": "dpr", "type": "uint32" }, { "internalType": "uint256", "name": "prize", "type": "uint256" }, { "internalType": "uint32[16]", "name": "tiers", "type": "uint32[16]" }], "indexed": false, "internalType": "struct IPrizeTierHistoryV2.PrizeTierV2", "name": "prizeTier", "type": "tuple" }], "name": "PrizeTierSet", "type": "event" }, { "inputs": [], "name": "claimOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "count", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getNewestDrawId", "outputs": [{ "internalType": "uint32", "name": "", "type": "uint32" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getOldestDrawId", "outputs": [{ "internalType": "uint32", "name": "", "type": "uint32" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "drawId", "type": "uint32" }], "name": "getPrizeTier", "outputs": [{ "components": [{ "internalType": "uint8", "name": "bitRangeSize", "type": "uint8" }, { "internalType": "uint32", "name": "drawId", "type": "uint32" }, { "internalType": "uint32", "name": "maxPicksPerUser", "type": "uint32" }, { "internalType": "uint32", "name": "expiryDuration", "type": "uint32" }, { "internalType": "uint32", "name": "endTimestampOffset", "type": "uint32" }, { "internalType": "uint32", "name": "dpr", "type": "uint32" }, { "internalType": "uint256", "name": "prize", "type": "uint256" }, { "internalType": "uint32[16]", "name": "tiers", "type": "uint32[16]" }], "internalType": "struct IPrizeTierHistoryV2.PrizeTierV2", "name": "", "type": "tuple" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "index", "type": "uint256" }], "name": "getPrizeTierAtIndex", "outputs": [{ "components": [{ "internalType": "uint8", "name": "bitRangeSize", "type": "uint8" }, { "internalType": "uint32", "name": "drawId", "type": "uint32" }, { "internalType": "uint32", "name": "maxPicksPerUser", "type": "uint32" }, { "internalType": "uint32", "name": "expiryDuration", "type": "uint32" }, { "internalType": "uint32", "name": "endTimestampOffset", "type": "uint32" }, { "internalType": "uint32", "name": "dpr", "type": "uint32" }, { "internalType": "uint256", "name": "prize", "type": "uint256" }, { "internalType": "uint32[16]", "name": "tiers", "type": "uint32[16]" }], "internalType": "struct IPrizeTierHistoryV2.PrizeTierV2", "name": "", "type": "tuple" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32[]", "name": "_drawIds", "type": "uint32[]" }], "name": "getPrizeTierList", "outputs": [{ "components": [{ "internalType": "uint8", "name": "bitRangeSize", "type": "uint8" }, { "internalType": "uint32", "name": "drawId", "type": "uint32" }, { "internalType": "uint32", "name": "maxPicksPerUser", "type": "uint32" }, { "internalType": "uint32", "name": "expiryDuration", "type": "uint32" }, { "internalType": "uint32", "name": "endTimestampOffset", "type": "uint32" }, { "internalType": "uint32", "name": "dpr", "type": "uint32" }, { "internalType": "uint256", "name": "prize", "type": "uint256" }, { "internalType": "uint32[16]", "name": "tiers", "type": "uint32[16]" }], "internalType": "struct IPrizeTierHistoryV2.PrizeTierV2[]", "name": "", "type": "tuple[]" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "manager", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "pendingOwner", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "uint8", "name": "bitRangeSize", "type": "uint8" }, { "internalType": "uint32", "name": "drawId", "type": "uint32" }, { "internalType": "uint32", "name": "maxPicksPerUser", "type": "uint32" }, { "internalType": "uint32", "name": "expiryDuration", "type": "uint32" }, { "internalType": "uint32", "name": "endTimestampOffset", "type": "uint32" }, { "internalType": "uint32", "name": "dpr", "type": "uint32" }, { "internalType": "uint256", "name": "prize", "type": "uint256" }, { "internalType": "uint32[16]", "name": "tiers", "type": "uint32[16]" }], "internalType": "struct IPrizeTierHistoryV2.PrizeTierV2", "name": "newPrizeTier", "type": "tuple" }], "name": "popAndPush", "outputs": [{ "internalType": "uint32", "name": "", "type": "uint32" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "uint8", "name": "bitRangeSize", "type": "uint8" }, { "internalType": "uint32", "name": "drawId", "type": "uint32" }, { "internalType": "uint32", "name": "maxPicksPerUser", "type": "uint32" }, { "internalType": "uint32", "name": "expiryDuration", "type": "uint32" }, { "internalType": "uint32", "name": "endTimestampOffset", "type": "uint32" }, { "internalType": "uint32", "name": "dpr", "type": "uint32" }, { "internalType": "uint256", "name": "prize", "type": "uint256" }, { "internalType": "uint32[16]", "name": "tiers", "type": "uint32[16]" }], "internalType": "struct IPrizeTierHistoryV2.PrizeTierV2", "name": "nextPrizeTier", "type": "tuple" }], "name": "push", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "components": [{ "internalType": "uint8", "name": "bitRangeSize", "type": "uint8" }, { "internalType": "uint32", "name": "drawId", "type": "uint32" }, { "internalType": "uint32", "name": "maxPicksPerUser", "type": "uint32" }, { "internalType": "uint32", "name": "expiryDuration", "type": "uint32" }, { "internalType": "uint32", "name": "endTimestampOffset", "type": "uint32" }, { "internalType": "uint32", "name": "dpr", "type": "uint32" }, { "internalType": "uint256", "name": "prize", "type": "uint256" }, { "internalType": "uint32[16]", "name": "tiers", "type": "uint32[16]" }], "internalType": "struct IPrizeTierHistoryV2.PrizeTierV2", "name": "newPrizeTier", "type": "tuple" }], "name": "replace", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_newManager", "type": "address" }], "name": "setManager", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_newOwner", "type": "address" }], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }], "tags": [], "extensions": {} }, { "chainId": 421613, "address": "0x4e20BFA22baD8D73424fBc9f51949d3ffF4B7654", "version": { "major": 2, "minor": 0, "patch": 0 }, "type": "RNGChainlink", "abi": [{ "inputs": [{ "internalType": "address", "name": "_owner", "type": "address" }, { "internalType": "contract VRFCoordinatorV2Interface", "name": "_vrfCoordinator", "type": "address" }, { "internalType": "uint64", "name": "_subscriptionId", "type": "uint64" }, { "internalType": "bytes32", "name": "_keyHash", "type": "bytes32" }], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [{ "internalType": "address", "name": "have", "type": "address" }, { "internalType": "address", "name": "want", "type": "address" }], "name": "OnlyCoordinatorCanFulfill", "type": "error" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "bytes32", "name": "keyHash", "type": "bytes32" }], "name": "KeyHashSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "previousManager", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newManager", "type": "address" }], "name": "ManagerTransferred", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "pendingOwner", "type": "address" }], "name": "OwnershipOffered", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" }], "name": "OwnershipTransferred", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "uint32", "name": "requestId", "type": "uint32" }, { "indexed": false, "internalType": "uint256", "name": "randomNumber", "type": "uint256" }], "name": "RandomNumberCompleted", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "uint32", "name": "requestId", "type": "uint32" }, { "indexed": true, "internalType": "address", "name": "sender", "type": "address" }], "name": "RandomNumberRequested", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint64", "name": "subscriptionId", "type": "uint64" }], "name": "SubscriptionIdSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "contract VRFCoordinatorV2Interface", "name": "vrfCoordinator", "type": "address" }], "name": "VrfCoordinatorSet", "type": "event" }, { "inputs": [], "name": "claimOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "getKeyHash", "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getLastRequestId", "outputs": [{ "internalType": "uint32", "name": "requestId", "type": "uint32" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getRequestFee", "outputs": [{ "internalType": "address", "name": "feeToken", "type": "address" }, { "internalType": "uint256", "name": "requestFee", "type": "uint256" }], "stateMutability": "pure", "type": "function" }, { "inputs": [], "name": "getSubscriptionId", "outputs": [{ "internalType": "uint64", "name": "", "type": "uint64" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getVrfCoordinator", "outputs": [{ "internalType": "contract VRFCoordinatorV2Interface", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_internalRequestId", "type": "uint32" }], "name": "isRequestComplete", "outputs": [{ "internalType": "bool", "name": "isCompleted", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "manager", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "pendingOwner", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_internalRequestId", "type": "uint32" }], "name": "randomNumber", "outputs": [{ "internalType": "uint256", "name": "randomNum", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "requestId", "type": "uint256" }, { "internalType": "uint256[]", "name": "randomWords", "type": "uint256[]" }], "name": "rawFulfillRandomWords", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "requestRandomNumber", "outputs": [{ "internalType": "uint32", "name": "requestId", "type": "uint32" }, { "internalType": "uint32", "name": "lockBlock", "type": "uint32" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "bytes32", "name": "_keyHash", "type": "bytes32" }], "name": "setKeyhash", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_newManager", "type": "address" }], "name": "setManager", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint64", "name": "_subscriptionId", "type": "uint64" }], "name": "setSubscriptionId", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_newOwner", "type": "address" }], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }], "tags": [], "extensions": {} }, { "chainId": 421613, "address": "0x97af5Cb6453c3a609451B284141F36b2c9277B51", "version": { "major": 1, "minor": 0, "patch": 0 }, "type": "Reserve", "abi": [{ "inputs": [{ "internalType": "address", "name": "_owner", "type": "address" }, { "internalType": "contract IERC20", "name": "_token", "type": "address" }], "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint256", "name": "reserveAccumulated", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "withdrawAccumulated", "type": "uint256" }], "name": "Checkpoint", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "contract IERC20", "name": "token", "type": "address" }], "name": "Deployed", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "previousManager", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newManager", "type": "address" }], "name": "ManagerTransferred", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "pendingOwner", "type": "address" }], "name": "OwnershipOffered", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" }], "name": "OwnershipTransferred", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "recipient", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "Withdrawn", "type": "event" }, { "inputs": [], "name": "checkpoint", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "claimOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint32", "name": "_startTimestamp", "type": "uint32" }, { "internalType": "uint32", "name": "_endTimestamp", "type": "uint32" }], "name": "getReserveAccumulatedBetween", "outputs": [{ "internalType": "uint224", "name": "", "type": "uint224" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getToken", "outputs": [{ "internalType": "contract IERC20", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "manager", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "pendingOwner", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_newManager", "type": "address" }], "name": "setManager", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "token", "outputs": [{ "internalType": "contract IERC20", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_newOwner", "type": "address" }], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "withdrawAccumulator", "outputs": [{ "internalType": "uint224", "name": "", "type": "uint224" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_recipient", "type": "address" }, { "internalType": "uint256", "name": "_amount", "type": "uint256" }], "name": "withdrawTo", "outputs": [], "stateMutability": "nonpayable", "type": "function" }], "tags": [], "extensions": {} }, { "chainId": 421613, "address": "0xf7f4B6dE0c5F1c2639f938D247Ff85bFF9Ac9329", "version": { "major": 1, "minor": 0, "patch": 0 }, "type": "Ticket", "abi": [{ "inputs": [{ "internalType": "string", "name": "_name", "type": "string" }, { "internalType": "string", "name": "_symbol", "type": "string" }, { "internalType": "uint8", "name": "decimals_", "type": "uint8" }, { "internalType": "address", "name": "_controller", "type": "address" }], "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "owner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "spender", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" }], "name": "Approval", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "delegator", "type": "address" }, { "indexed": true, "internalType": "address", "name": "delegate", "type": "address" }], "name": "Delegated", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "string", "name": "name", "type": "string" }, { "indexed": false, "internalType": "string", "name": "symbol", "type": "string" }, { "indexed": false, "internalType": "uint8", "name": "decimals", "type": "uint8" }, { "indexed": true, "internalType": "address", "name": "controller", "type": "address" }], "name": "Deployed", "type": "event" }, { "anonymous": false, "inputs": [{ "components": [{ "internalType": "uint224", "name": "amount", "type": "uint224" }, { "internalType": "uint32", "name": "timestamp", "type": "uint32" }], "indexed": false, "internalType": "struct ObservationLib.Observation", "name": "newTotalSupplyTwab", "type": "tuple" }], "name": "NewTotalSupplyTwab", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "delegate", "type": "address" }, { "components": [{ "internalType": "uint224", "name": "amount", "type": "uint224" }, { "internalType": "uint32", "name": "timestamp", "type": "uint32" }], "indexed": false, "internalType": "struct ObservationLib.Observation", "name": "newTwab", "type": "tuple" }], "name": "NewUserTwab", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "string", "name": "name", "type": "string" }, { "indexed": false, "internalType": "string", "name": "symbol", "type": "string" }, { "indexed": false, "internalType": "uint8", "name": "decimals", "type": "uint8" }, { "indexed": true, "internalType": "address", "name": "controller", "type": "address" }], "name": "TicketInitialized", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "from", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" }], "name": "Transfer", "type": "event" }, { "inputs": [], "name": "DOMAIN_SEPARATOR", "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "address", "name": "spender", "type": "address" }], "name": "allowance", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "approve", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "account", "type": "address" }], "name": "balanceOf", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "controller", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_user", "type": "address" }, { "internalType": "uint256", "name": "_amount", "type": "uint256" }], "name": "controllerBurn", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_operator", "type": "address" }, { "internalType": "address", "name": "_user", "type": "address" }, { "internalType": "uint256", "name": "_amount", "type": "uint256" }], "name": "controllerBurnFrom", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_user", "type": "address" }, { "internalType": "address", "name": "_to", "type": "address" }], "name": "controllerDelegateFor", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_user", "type": "address" }, { "internalType": "uint256", "name": "_amount", "type": "uint256" }], "name": "controllerMint", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "decimals", "outputs": [{ "internalType": "uint8", "name": "", "type": "uint8" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "subtractedValue", "type": "uint256" }], "name": "decreaseAllowance", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_to", "type": "address" }], "name": "delegate", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_user", "type": "address" }], "name": "delegateOf", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_user", "type": "address" }, { "internalType": "address", "name": "_newDelegate", "type": "address" }, { "internalType": "uint256", "name": "_deadline", "type": "uint256" }, { "internalType": "uint8", "name": "_v", "type": "uint8" }, { "internalType": "bytes32", "name": "_r", "type": "bytes32" }, { "internalType": "bytes32", "name": "_s", "type": "bytes32" }], "name": "delegateWithSignature", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_user", "type": "address" }], "name": "getAccountDetails", "outputs": [{ "components": [{ "internalType": "uint208", "name": "balance", "type": "uint208" }, { "internalType": "uint24", "name": "nextTwabIndex", "type": "uint24" }, { "internalType": "uint24", "name": "cardinality", "type": "uint24" }], "internalType": "struct TwabLib.AccountDetails", "name": "", "type": "tuple" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_user", "type": "address" }, { "internalType": "uint64", "name": "_startTime", "type": "uint64" }, { "internalType": "uint64", "name": "_endTime", "type": "uint64" }], "name": "getAverageBalanceBetween", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_user", "type": "address" }, { "internalType": "uint64[]", "name": "_startTimes", "type": "uint64[]" }, { "internalType": "uint64[]", "name": "_endTimes", "type": "uint64[]" }], "name": "getAverageBalancesBetween", "outputs": [{ "internalType": "uint256[]", "name": "", "type": "uint256[]" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint64[]", "name": "_startTimes", "type": "uint64[]" }, { "internalType": "uint64[]", "name": "_endTimes", "type": "uint64[]" }], "name": "getAverageTotalSuppliesBetween", "outputs": [{ "internalType": "uint256[]", "name": "", "type": "uint256[]" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_user", "type": "address" }, { "internalType": "uint64", "name": "_target", "type": "uint64" }], "name": "getBalanceAt", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_user", "type": "address" }, { "internalType": "uint64[]", "name": "_targets", "type": "uint64[]" }], "name": "getBalancesAt", "outputs": [{ "internalType": "uint256[]", "name": "", "type": "uint256[]" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint64[]", "name": "_targets", "type": "uint64[]" }], "name": "getTotalSuppliesAt", "outputs": [{ "internalType": "uint256[]", "name": "", "type": "uint256[]" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "uint64", "name": "_target", "type": "uint64" }], "name": "getTotalSupplyAt", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_user", "type": "address" }, { "internalType": "uint16", "name": "_index", "type": "uint16" }], "name": "getTwab", "outputs": [{ "components": [{ "internalType": "uint224", "name": "amount", "type": "uint224" }, { "internalType": "uint32", "name": "timestamp", "type": "uint32" }], "internalType": "struct ObservationLib.Observation", "name": "", "type": "tuple" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "addedValue", "type": "uint256" }], "name": "increaseAllowance", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "name", "outputs": [{ "internalType": "string", "name": "", "type": "string" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "owner", "type": "address" }], "name": "nonces", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" }, { "internalType": "uint256", "name": "deadline", "type": "uint256" }, { "internalType": "uint8", "name": "v", "type": "uint8" }, { "internalType": "bytes32", "name": "r", "type": "bytes32" }, { "internalType": "bytes32", "name": "s", "type": "bytes32" }], "name": "permit", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "symbol", "outputs": [{ "internalType": "string", "name": "", "type": "string" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "totalSupply", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "recipient", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "transfer", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "sender", "type": "address" }, { "internalType": "address", "name": "recipient", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "transferFrom", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "nonpayable", "type": "function" }], "tags": [], "extensions": {} }, { "chainId": 421613, "address": "0x4441caB6371Ef56aEed6F02ad03B388E249F7C0B", "version": { "major": 1, "minor": 0, "patch": 0 }, "type": "TokenFaucet", "abi": [{ "inputs": [{ "internalType": "contract IERC20", "name": "_token", "type": "address" }], "name": "drip", "outputs": [], "stateMutability": "nonpayable", "type": "function" }], "tags": [], "extensions": {} }, { "chainId": 421613, "address": "0xeb68C2bc843812613eb9F43115F8b8f06ed0248f", "version": { "major": 1, "minor": 0, "patch": 0 }, "type": "YieldSourcePrizePool", "abi": [{ "inputs": [{ "internalType": "address", "name": "_owner", "type": "address" }, { "internalType": "contract IYieldSource", "name": "_yieldSource", "type": "address" }], "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "AwardCaptured", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "winner", "type": "address" }, { "indexed": true, "internalType": "contract ITicket", "name": "token", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "Awarded", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "winner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "token", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "AwardedExternalERC20", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "winner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "token", "type": "address" }, { "indexed": false, "internalType": "uint256[]", "name": "tokenIds", "type": "uint256[]" }], "name": "AwardedExternalERC721", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint256", "name": "balanceCap", "type": "uint256" }], "name": "BalanceCapSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "contract ITicket", "name": "token", "type": "address" }], "name": "ControlledTokenAdded", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "yieldSource", "type": "address" }], "name": "Deployed", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "operator", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" }, { "indexed": true, "internalType": "contract ITicket", "name": "token", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "Deposited", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "bytes", "name": "error", "type": "bytes" }], "name": "ErrorAwardingExternalERC721", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint256", "name": "liquidityCap", "type": "uint256" }], "name": "LiquidityCapSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "pendingOwner", "type": "address" }], "name": "OwnershipOffered", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" }], "name": "OwnershipTransferred", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "prizeStrategy", "type": "address" }], "name": "PrizeStrategySet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "Swept", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "contract ITicket", "name": "ticket", "type": "address" }], "name": "TicketSet", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "to", "type": "address" }, { "indexed": true, "internalType": "address", "name": "token", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }], "name": "TransferredExternalERC20", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "operator", "type": "address" }, { "indexed": true, "internalType": "address", "name": "from", "type": "address" }, { "indexed": true, "internalType": "contract ITicket", "name": "token", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "redeemed", "type": "uint256" }], "name": "Withdrawal", "type": "event" }, { "inputs": [], "name": "VERSION", "outputs": [{ "internalType": "string", "name": "", "type": "string" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_to", "type": "address" }, { "internalType": "uint256", "name": "_amount", "type": "uint256" }], "name": "award", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "awardBalance", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_to", "type": "address" }, { "internalType": "address", "name": "_externalToken", "type": "address" }, { "internalType": "uint256", "name": "_amount", "type": "uint256" }], "name": "awardExternalERC20", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_to", "type": "address" }, { "internalType": "address", "name": "_externalToken", "type": "address" }, { "internalType": "uint256[]", "name": "_tokenIds", "type": "uint256[]" }], "name": "awardExternalERC721", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "balance", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_externalToken", "type": "address" }], "name": "canAwardExternal", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "captureAwardBalance", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "claimOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "contract ICompLike", "name": "_compLike", "type": "address" }, { "internalType": "address", "name": "_to", "type": "address" }], "name": "compLikeDelegate", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_to", "type": "address" }, { "internalType": "uint256", "name": "_amount", "type": "uint256" }], "name": "depositTo", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_to", "type": "address" }, { "internalType": "uint256", "name": "_amount", "type": "uint256" }, { "internalType": "address", "name": "_delegate", "type": "address" }], "name": "depositToAndDelegate", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "getAccountedBalance", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getBalanceCap", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getLiquidityCap", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getPrizeStrategy", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getTicket", "outputs": [{ "internalType": "contract ITicket", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getToken", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "contract ITicket", "name": "_controlledToken", "type": "address" }], "name": "isControlled", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "view", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "", "type": "address" }, { "internalType": "address", "name": "", "type": "address" }, { "internalType": "uint256", "name": "", "type": "uint256" }, { "internalType": "bytes", "name": "", "type": "bytes" }], "name": "onERC721Received", "outputs": [{ "internalType": "bytes4", "name": "", "type": "bytes4" }], "stateMutability": "pure", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "pendingOwner", "outputs": [{ "internalType": "address", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "_balanceCap", "type": "uint256" }], "name": "setBalanceCap", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "uint256", "name": "_liquidityCap", "type": "uint256" }], "name": "setLiquidityCap", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_prizeStrategy", "type": "address" }], "name": "setPrizeStrategy", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "contract ITicket", "name": "_ticket", "type": "address" }], "name": "setTicket", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "sweep", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_to", "type": "address" }, { "internalType": "address", "name": "_externalToken", "type": "address" }, { "internalType": "uint256", "name": "_amount", "type": "uint256" }], "name": "transferExternalERC20", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_newOwner", "type": "address" }], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [{ "internalType": "address", "name": "_from", "type": "address" }, { "internalType": "uint256", "name": "_amount", "type": "uint256" }], "name": "withdrawFrom", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "yieldSource", "outputs": [{ "internalType": "contract IYieldSource", "name": "", "type": "address" }], "stateMutability": "view", "type": "function" }], "tags": [], "extensions": {} }] }
