ERC1967Proxy
Verified contract
Proxy
Active on
Base with 152,759 txns
Unified storage
Map
Table
Raw
Constants and immutables
4
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
4 additional
variables
Balances ($52,450.21)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
WELS | ERC-20 | 3.576813M | $0.014664 |
$52,450.21 | |
GTC | ERC-20 | 2.4K | -- | -- | |
| ERC-20 | 2.4K | -- | -- | |
| ERC-20 | 2.4K | -- | -- | |
POTUS | ERC-20 | 20 | -- | -- | |
LZPZ | ERC-20 | 1 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21844286 | 7 minutes ago | | | 0 | 0.0000013519213 | |
| 21844247 | 8 minutes ago | | | 0 | 0.0000019964473 | |
| 21844037 | 15 minutes ago | | | 0.0036556452 | 0.0000044326582 | |
| 21843980 | 17 minutes ago | | | 0.0034557771 | 0.0000044326582 | |
| 21843266 | 41 minutes ago | | | 0 | 0.0000013509865 | |
| 21842965 | an hour ago | | | 0 | 0.0000013505596 | |
| 21842956 | an hour ago | | | 0 | 0.0000019911954 | |
| 21841612 | 2 hours ago | | | 0.0034547282 | 0.0000044324820 | |
| 21841610 | 2 hours ago | | | 0 | 0.0000019939257 | |
| 21841377 | 2 hours ago | | | 0 | 0.0000010282140 |
ABI
ABI objects
Getter at block 21844493 proxiableUUID() view returns (bytes32)
ADMIN() view returns (bytes32)
0xdf8b4c520ffe197c5343c6f5aec59570151ef9a492f2c624fd45ddde6135ec42
AERODROME_ROUTER() view returns (address)
0xcf77a3ba9a5ca399b7c97c74d54e5b1beb874e43
CURRENT_WEEK_VOLUME() view returns (uint256)
216382900532588360478510
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
MAX_DMI() view returns (uint256)
10000000000000000000
MAX_DMI_VOLUME() view returns (uint256)
30000000000000000000000000
MIN_DMI() view returns (uint256)
1000000000000000000
PAST_WEEK_NUMBER() view returns (uint256)
2861
PAST_WEEK_VOLUME() view returns (uint256)
6889766400526810647363828
UPGRADE_INTERFACE_VERSION() view returns (string)
5.0.0
WELS() view returns (address)
0x7f62ac1e974d65fab4a81821ca6af659a5f46298
WHITELIST_BOOLEAN() view returns (bool)
true
WHITELIST_END_TIME() view returns (uint256)
1730159999
calculateDMI() view returns (uint256)
3066929920158043194
gamerFeeDestination() view returns (address)
0x39c684fa7e1f773f3c9fb561be7c4c9c3af87e91
gamerFeePercent() view returns (uint256)
50000000000000000
gamerFeePercentBuy() view returns (uint256)
15000000000000000
gamerFeePercentSell() view returns (uint256)
60000000000000000
getCurrentWeek() view returns (uint256)
2861
getCurrentWeekVolume() view returns (uint256)
216382900532588360478510
getPastWeek() view returns (uint256)
2861
getPastWeekVolume() view returns (uint256)
6889766400526810647363828
getWhitelistBoolean() view returns (bool)
true
getWhitelistEndTime() view returns (uint256)
1730159999
isPaused() view returns (bool)
false
protocolFeeDestination() view returns (address)
0x39c684fa7e1f773f3c9fb561be7c4c9c3af87e91
protocolFeePercent() view returns (uint256)
50000000000000000
protocolFeePercentBuy() view returns (uint256)
15000000000000000
protocolFeePercentSell() view returns (uint256)
60000000000000000
slippage() view returns (uint256)
95
whitelistSigner() view returns (address)
0xa8862c16df2b0d0868255b6b587b7680d6b357a6
Read-only
addrs(string) view returns (address)
bitsBalance(address, address) view returns (uint256)
bitsSupply(address) view returns (uint256)
gamerCreationTimestamps(address) view returns (uint256)
gamerDMIMap(address) view returns (uint256)
genSigHash(uint256 decodedMBits, address decodedBuyerAddress, address decodedGamerAddress, uint256 decodedNonce) pure returns (bytes32)
getAddr(string id) view returns (address)
getBitsCount(address gamer, address user) view returns (uint256)
getBitsSupply(address gamer) view returns (uint256)
getBuyPrice(address gamer, uint256 amount) view returns (uint256)
getBuyPriceAfterFee(address gamer, uint256 amount) view returns (uint256)
getGamerDMI(address gamer) view returns (uint256)
getNonce(address user, address gamer) view returns (uint256)
getPrice(uint256 supply, uint256 amount, address gamer) view returns (uint256)
getRoleAdmin(bytes32 role) view returns (bytes32)
getSellPrice(address gamer, uint256 amount) view returns (uint256)
getSellPriceAfterFee(address gamer, uint256 amount) view returns (uint256)
hasRole(bytes32 role, address account) view returns (bool)
permitNonce(address, address) view returns (uint256)
recomputeAndRecoverSigner(uint256 decodedMBits, address decodedBuyerAddress, address decodedGamerAddress, uint256 decodedNonce, bytes signature) pure returns (address)
sumOfNSquares(uint256 n) pure returns (uint256)
supportsInterface(bytes4 interfaceId) view returns (bool)
whitelistedRoutes(string, uint256) view returns (address from, address to, bool stable, address factory)
State-modifying
Events addAddrs(string addrsStr, uint256 addrNum)
addNewRoute(string _asset, struct IRouterRoute[] _route)
buyBits(address gamer, string currency, uint256 amount, uint256 tokenAmountIn, bytes message, bytes signature) payable
buyBitsOnBehaf(address gamer, uint256 amount, address to)
grantRole(bytes32 role, address account)
initialize()
modifyExistingRoute(string _asset, struct IRouterRoute[] _route)
pause()
renounceRole(bytes32 role, address callerConfirmation)
revokeRole(bytes32 role, address account)
sellBits(address gamer, string currency, uint256 amount)
setAdminRole()
setAerodromeRouter(address _router)
setGamerFeeDestination(address _feeDestination)
setGamerFeePercentBuy(uint256 _feePercent)
setGamerFeePercentSell(uint256 _feePercent)
setMaxDmiVolume(uint256 _volume)
setProtocolFeeDestination(address _feeDestination)
setProtocolFeePercentBuy(uint256 _feePercent)
setProtocolFeePercentSell(uint256 _feePercent)
setSlippage(uint256 _slippage)
setWELS(address _els)
setWhitelistBoolean(bool _value)
setWhitelistEndTime(uint256 _endTime)
setWhitelistSigner(address _signer)
unpause()
updateAddr(string id, address addr)
upgradeToAndCall(address newImplementation, bytes data) payable
AdminChanged(address previousAdmin, address newAdmin)
BeaconUpgraded(address indexed beacon)
Upgraded(address indexed implementation)
AddrChange(address arg0, string arg1, address arg2)
Initialized(uint64 version)
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)
Trade(address trader, address gamer, bool isBuy, uint256 bitAmount, uint256 ethAmount, uint256 protocolEthAmount, uint256 gamerEthAmount, uint256 supply)
Upgraded(address indexed implementation)
constructor(address _logic, bytes _data)
fallback()
receive()
AccessControlBadConfirmation()
AccessControlUnauthorizedAccount(address account, bytes32 neededRole)
AddressEmptyCode(address target)
ERC1967InvalidImplementation(address implementation)
ERC1967NonPayable()
FailedInnerCall()
InvalidInitialization()
NotInitializing()
ReentrancyGuardReentrantCall()
UUPSUnauthorizedCallContext()
UUPSUnsupportedProxiableUUID(bytes32 slot)