CochilliGameBeta
Verified contract
Active on
Base with 76 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
TOSHI | ERC-20 | 795.632K | $0.000245 |
$194.56 | |
DOG | ERC-20 | 4.324618K | $0.005887 |
$25.46 | |
toby | ERC-20 | 295.774647M | $0.00 |
$13.01 | |
BENTO | ERC-20 | 46.90444M | $0.00 |
$0.42 | |
LUNE | ERC-20 | 36 | $0.00359 |
$0.13 | |
LOA | ERC-20 | 10 | $0.00668 |
$0.07 | |
WGC | ERC-20 | 200 | $0.000291 |
$0.06 | |
Bunny | ERC-20 | 270.7 | $0.000103 |
$0.03 | |
PEEZY | ERC-20 | 1.2 | $0.007607 |
$0.01 | |
BOOMER | ERC-20 | 0.168 | $0.008602 |
$0 |
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 3262603 | a year ago | | | 0 | 0.0000077427766 | |
| 3247060 | a year ago | | | 0 | 0.0000059210654 | |
| 3247032 | a year ago | | | 0 | 0.0000031683468 | |
| 3246691 | a year ago | | | 0 | 0.0000059210654 | |
| 3246670 | a year ago | | | 0 | 0.0000031683468 | |
| 3246241 | a year ago | | | 0 | 0.0000059210654 | |
| 3244003 | a year ago | | | <0.00000001 | 0.000047502657 | |
| 3244001 | a year ago | | | <0.00000001 | 0.000045274386 | |
| 3243999 | a year ago | | | <0.00000001 | 0.000047502657 | |
| 3243936 | a year ago | | | <0.00000001 | 0.000047520794 |
ABI
ABI objects
Getter at block 22914332
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
LP_ROLE() view returns (bytes32)
0xb0296ea8dd3227371927b1c1cea2b12ea394743ddf2f32f58024ce26f83a24a6
availableLiquidity() view returns (uint256)
16204367700000000000000000
cancelBuffer() view returns (uint16)
600
leverage() view returns (uint16)
1700
lockedLiquidity() view returns (uint256)
795632300000000000000000
maxBet() view returns (uint256)
5000000000000000000000000
maxInterval() view returns (uint16)
600
maxUtilizedLiquidity() view returns (uint256)
17000000000000000000000000
minBet() view returns (uint256)
400000000000000000000000
minInterval() view returns (uint16)
60
nextBetId() view returns (uint256)
99
paused() view returns (bool)
true
pyth() view returns (address)
0x8250f4af4b972684f7b336503e2d6dfedeb1487a
token() view returns (address)
0x8544fe9d190fd7ec52860abbf45088e81ee24a8c
Read-only
betIds(uint256) view returns (uint256 amount, uint256 payout, uint64 startTime, uint64 endTime, int64 openPrice, int64 closePrice, address user, bytes8 pair, bool isLong, bool active)
getRoleAdmin(bytes32 role) view returns (bytes32)
hasRole(bytes32 role, address account) view returns (bool)
pairIds(bytes8) view returns (bytes32)
supportsInterface(bytes4 interfaceId) view returns (bool)
userBetIds(address, uint256) view returns (uint256)
State-modifying
Events addPairs(bytes8[] pairs, bytes32[] ids)
cancelBet(uint256 betId)
deletePairs(bytes8[] pairs)
deposit(uint256 amount)
executeBet(uint256 betId, bytes openPriceVaa, bytes closePriceVaa) payable
grantRole(bytes32 role, address account)
pause()
placeBet(uint256 amount, bytes8 pair, uint256 interval, bool isLong) returns (uint256 betId)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
setAmounts(uint256 _minAmount, uint256 _maxAmount, uint256 _maxUtilzedAmount)
setIntervals(uint16 _minInterval, uint16 _maxInterval)
setLeverage(uint16 _leverage)
unPause()
withdraw(uint256 amount)
BetCancelled(uint256 indexed betId, address indexed user)
BetExecuted(uint256 indexed betId, address indexed user, bool indexed won, uint256 payout)
BetPlaced(uint256 indexed betId, address indexed user, bytes8 indexed pair, uint256 startTime, uint256 endTime, uint256 runTime)
Deposit(address indexed user, uint256 amount)
PairsAdded(bytes8[] pairs, bytes32[] ids)
PairsDeleted(bytes8[] pairs)
Paused(address account)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
Unpaused(address account)
UpdatedAmounts(uint256 minAmount, uint256 maxAmount, uint256 maxUtilizedLiquidity)
UpdatedIntervals(uint16 minInterval, uint16 maxInterval)
UpdatedLeverage(uint16 leverage)
Withdrawal(address indexed user, uint256 amount)
constructor(address _tokenAddress, address _pyth)
This contract contains no fallback and receive objects.
DepositFailed()
DuplicatePair(bytes8 pair)
InactiveBet()
InsufficientBalance()
InsufficientLiquidity()
InvalidAmount()
InvalidFee()
InvalidInterval()
InvalidLeverage()
InvalidPair(bytes8 pair)
InvalidPrice()
InvalidTimestamp()
PayoutFailed()
TransferFailed()
Unauthorized()
WithdrawalFailed()