OwnedUpgradeabilityProxy
Verified contract
Proxy
Active on
Ethereum with 533 txns
Unified storage
Map
Table
Raw
Constants and immutables
3
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0x6aca…62a4
0x2ff9…0864
11 additional
variables
Balances ($2,175.84)
Native
Value
$2,118.71
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
ETH | Native | 0.57937 | $3,656.92 |
$2,118.71 | |
USDT | ERC-20 | 57.074506 | $1.001 |
$57.13 | |
ASM | ERC-20 | 0.000207 | $0.035004 |
$0 | |
KLEE | ERC-20 | 12.097026T | -- | -- | |
LUFFY | ERC-20 | 1.675228M | -- | -- | |
ALCAZAR | ERC-20 | 413.389503K | -- | -- | |
SAITAMA | ERC-20 | 58.763608K | -- | -- | |
BMDA | ERC-20 | 16.741078 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 16946196 | 2 years ago | | | 0 | 0.0010169525 | |
| 16869626 | 2 years ago | | | 0 | 0.0058334335 | |
| 16869541 | 2 years ago | | | 0 | 0.0061677752 | |
| 16868893 | 2 years ago | | | 0 | 0.00085841885 | |
| 16856978 | 2 years ago | | | 0 | 0.0016446145 | |
| 16855545 | 2 years ago | | | 0.0012 | 0.0035087329 | |
| 16854550 | 2 years ago | | | 0 | 0.0016681716 | |
| 16853501 | 2 years ago | | | 0 | 0.0018329202 | |
| 16849394 | 2 years ago | | | 0.003 | 0.0027336137 | |
| 16846623 | 2 years ago | | | 0 | 0.0019293726 |
ABI
ABI objects
Getter at block 21315672
implementation() view returns (address impl)
0x7c9bfd926bf705178c054cc0ac1041e83f98c2f1
maintenance() view returns (bool _maintenance)
false
proxyOwner() view returns (address owner)
0x2ff9d7be466f674c8640466a55ffdd02b3a00864
WETH() view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
admin() view returns (address)
0xd96bcd61739d09de1536a77e36b647c7f3df0596
basisPoints() view returns (uint16)
10000
burnPercent() view returns (uint16)
4500
operator() view returns (address)
0xd36add9b0421b6754c1f1eecb7afda6602854bab
profitPercent() view returns (uint16)
500
profitSplit1BP() view returns (uint16)
9900
profitWallet1() view returns (address)
0x6aca9bb5c972f5c2f92be33da1fdd1303aae62a4
profitWallet2() view returns (address)
0x2ff9d7be466f674c8640466a55ffdd02b3a00864
router() view returns (address)
0x7a250d5630b4cf539739df2c5dacb4c659f2488d
s_requestId() view returns (uint256)
3928450472247716736247220013685431268674042789476240266483541076110794644986
taxBP() view returns (uint16)
2000
totalBurnAmount() view returns (uint256)
0
totalRaffles() view returns (uint256)
50
totalRevenue() view returns (uint256)
4248147000000000000
Read-only
BurnAmountPerRaffle(uint256) view returns (uint256)
Raffle(uint256) view returns (uint256 number, string raffleName, uint16 maxTickets, uint256 ticketPrice, uint16 ticketCounter, uint32 startTime, uint32 endTime)
Raffle1(uint256) view returns (address raffleRewardToken, bool isTaxed, uint256 raffleRewardTokenAmount, address winner, uint256 winningTicket, uint16 rewardPercent, uint16 burnPercent, bool isWinnerDeclared, bool isClaimed)
checkRaffleOver(uint256 _raffleNumber) view returns (bool)
checkTicketOwner(uint256 _raffleNumber, uint16 _ticketNumber) view returns (address)
checkYourTickets(uint256 _raffleNo, address _owner) view returns (uint256[])
isRewardClaimed(uint256 _raffleNumber) view returns (bool)
isWinnerDeclared(uint256 _raffleNumber) view returns (bool, address, uint256)
raffleRandomGenerated(uint256 _raffleNumber) view returns (bool)
requestIdPerRaffle(uint256) view returns (uint256)
State-modifying
Events setMaintenance(bool _maintenance)
transferProxyOwnership(address newOwner)
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
buyTicket(uint256 _raffleNumber, uint16 _noOfTickets) payable
changeAdmin(address _newAdmin)
changeOperator(address _address)
claimReward(uint256 _raffleNumber) returns (bool)
collectBurnReward(address _to) returns (bool)
createRaffle(string _raffleName, uint16 _maxTickets, uint256 _ticketPrice, uint32 _startTime, uint32 _endTime, address _rewardToken, bool _isTaxed)
declareWinner(uint256 _raffleNumber)
getRandomNumber(uint256 _raffleNumber)
initialize(struct Lotteryinit params)
rawFulfillRandomWords(uint256 requestId, uint256[] randomWords)
updateBurnAndProfitPercent(uint16 _burnBp, uint16 _profitBp)
updateProfit1Address(address _profitWallet1)
updateProfit2Address(address _profitWallet2)
updateProfitSplitPercent(uint16 _bp)
updateRaffleEndtime(uint256 _raffleNumber, uint32 _endTime)
updateRewardToken(uint256 _raffleNumber, address _rewardToken)
updateTaxBP(uint16 _taxBP)
ProxyOwnershipTransferred(address previousOwner, address newOwner)
Upgraded(address indexed implementation)
AdminChanged(address _newAdmin)
BurnAndProfitPercentUpdated(uint16 _burnPercent, uint16 _profitPercent)
BurnWalletUpdated(address burnWallet)
BuyTicket(uint256 raffleNumber, address _buyer, uint16 _ticketStart, uint16 _ticketCounter, uint256 _BurnAmountPerRaffle, uint256 _totalRevenue, uint256 _profitAmount)
Initialized(uint8 version)
OperatorChanged(address _newOperator)
ProfitSplitPercentUpdated(uint16 _split1BP, uint256 _split2BP)
ProfitWallet1Updated(address _profitWallet1)
ProfitWallet2Updated(address _profitWallet2)
RaffleCreated(uint256 _raffleNumber, string _raffleName, uint16 _maxTickets, uint256 _ticketPrice, uint32 _startTime, uint32 _endTime, uint16 rewardPercent, address _rewardToken)
RewardClaimed(uint256 _raffleId, address _to, address _rewardToken, uint256 _amount)
RewardTokenUpdate(uint256 _raffleNumber, address _rewardToken)
WinnerDeclared(uint256 _raffleId, uint256 winningTicket, address _winner, uint256 _tokenAmount, uint256 _rewardInEth)
burnCollected(uint256 _amount, address _to)
endtimeUpdated(uint256 _raffleNumber, uint32 _endtime)
taxBPUpdated(uint16 _taxBP)
constructor()
fallback()
receive()
OnlyCoordinatorCanFulfill(address have, address want)