DrawTheChart
Verified contract
Active on
Base with 1,765 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($665.64)
Native
Value
$665.64
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
Eth | Native | 0.201094 | $3,310.09 |
$665.64 |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 9901679 | 10 months ago | | | 0 | 0.000000048501000050 | |
| 9882221 | 10 months ago | | | 0 | 0.000000048488013321 | |
| 9879466 | 10 months ago | | | 0 | 0.000000048527227419 | |
| 9874585 | 10 months ago | | | 0 | 0.000000048508760225 | |
| 9792788 | 10 months ago | | | 0 | 0.000000048467507518 | |
| 9784308 | 10 months ago | | | 0 | 0.000000048477040591 | |
| 9783158 | 10 months ago | | | 0 | 0.000000048478605086 | |
| 9776027 | 10 months ago | | | 0 | 0.000000048466165163 | |
| 9745087 | 10 months ago | | | 0 | 0.000000048500175805 | |
| 9740183 | 10 months ago | | | 0 | 0.000000048462260805 |
ABI
ABI objects
Getter at block 22762308
getGamesLength() view returns (uint256)
80
owner() view returns (address)
0xf23889d12794f77bd23c7b21213df9b8be69f101
Read-only
checkGameStatus(uint64 gameIndex) view returns (uint8 enabled, uint256 participants, uint128 totalDeposits, uint256 startBlock, uint256 endBlock)
entries(uint256) view returns (uint256)
games(uint256) view returns (uint128 startBlock, uint128 endBlock, uint128 protocolBalance, uint128 creatorBalance, uint128 totalDeposits, uint128 entryFee, uint8 fee, uint8 gameEnded, address pool, address creator, bool protocolFeeSplit, bytes32 claimMerkleRoot)
getCreator(uint64 index) view returns (address creator)
getCreatorBalance(uint64 index) view returns (uint256 balance)
getEntriesForGame(uint64 gameIndex) view returns (struct DtcGameManagerEntry[])
getEntryFeeForGame(uint64 gameIndex) view returns (uint128)
getGame(uint64 index) view returns (uint128, uint256, uint8, uint128)
getGameExtended(uint64 index) view returns (uint128, uint128, uint128, uint128, uint128, uint128, uint8, uint8, address, address, bool, bytes32)
getIpfsCid(uint64 gameIndex, uint256 entryIndex) view returns (bytes32 ipfsCid)
getNumberOfPlayers(uint64 gameIndex) view returns (uint256 players)
getProtocolFeeForGame(uint64 gameIndex) view returns (uint8)
getTotalDepositsForGame(uint64 gameIndex) view returns (uint128)
isGameEndable(uint64 gameIndex) view returns (bool)
isGameEnded(uint64 gameIndex) view returns (bool ended)
unpackEntry(bytes _packed) pure returns (address entrant, bytes32 predictedPricesHash, uint128 depositAmount, bytes32 ipfsCid)
verifyProof(bytes32[] proof, bytes32 merkleRoot, bytes32 leaf) pure returns (bool)
State-modifying
Events batchCreateGame(struct DtcGameManagerBatchCreateGameArgs[] games) returns (bool success, uint64 gamesCreated)
claimCreatorFees(uint64 gameIndex) returns (bool success, uint128 amount)
claimProtocolFees(uint64 gameIndex, address target) returns (bool success, uint128 amountClaimed)
claimProtocolFeesMultiple(uint64[] indicies, address target) returns (bool success, uint128 amountClaimed)
claimWinnings(uint64 gameIndex, bytes32[] proof, uint128 amount, bytes32 leaf) returns (bool success, uint128 claimedAmount)
createGame(uint128 startBlock, uint128 endBlock, uint128 entryFee, address pool, uint8 fee, bool split) returns (uint64 game)
endGame(uint64 gameIndex) returns (bool success)
enterGame(uint64 gameIndex, bytes32 predictedPricesHash, bytes32 ipfsCid) payable returns (uint64 game, bytes packedEntry, uint256 entriesIndex)
renounceOwnership()
setMerkleRootForGame(bytes32 merkleRoot, uint64 gameIndex)
sponsorGame(uint64 gameIndex) payable returns (bool success)
transferOwnership(address newOwner)
CreatorFeeClaimed(uint64 indexed gameIndex, address indexed creator, uint128 indexed amountWithdrawn)
CreatorFeeTaken(address indexed creator, uint128 indexed fee)
EntryFeeChanged(uint128 indexed previousFee, uint128 indexed newFee, uint128 game)
GameCreated(uint64 gameIndex, uint8 fee, uint128 entryFee, uint256 createdBlock, uint256 startBlock, uint256 endBlock, address creator, address pool)
GameEntered(address indexed msgSender, uint128 indexed packedEntryIndex)
GamePayoutClaimInitialized(bytes32 indexed gameRoot, uint256 indexed gameIndex)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Prediction(address indexed msgSender, bytes32 predictedPricesHash)
ProtocolFeeTaken(uint128 indexed fee)
Sponsorship(address indexed sponsor, uint128 indexed amountDeposited, uint128 indexed totalDeposits)
WinnerPayout(address indexed winner, uint128 indexed amountWon)
constructor(address initialOwner)
This contract contains no fallback and receive objects.
ClaimFailed()
ClaimTransferFailed()
ContractBalanceTooLow(uint128 amountRequested, uint128 amountAvailable)
CreatorCannotEnterGame(address creator, address caller, address txOrigin)
EntryFeeNotMet(uint256 amountSent, uint256 amountRequired)
GameAlreadyEnded()
GameAlreadyEntered(uint256 gameIndex)
GameAlreadyStarted(uint256 block, uint256 currentBlock)
GameNotEnded()
GameNotFinished(uint256 currentBlock, uint256 gameEndBlock)
GameNotStarted()
InvalidCaller(address msgSender, address txOrigin, address owner)
InvalidCreator()
InvalidEndBlock()
InvalidFeeAmount()
InvalidGameIndex(uint64 index, uint256 length)
InvalidIndicesLength()
InvalidSender()
InvalidStartBlock()
LeafContextMismatch(address sender, uint128 amount, bytes32 leaf)
MerkleRootPreviouslySet()
NoAttachedEth()
NoDepositFound()
NonProtocolClaim()
OwnableInvalidOwner(address owner)
OwnableUnauthorizedAccount(address account)
ProofVerificationFailed()
ProtocolFeeClaimFailed(bool success, uint128 amountClaimed, uint256 targetBalance)
ReentrancyGuardReentrantCall()
UnableToClaimCreatorFees()
ZeroAddressTransfer(string reason)