This contract is being backfilled. You may encounter incomplete storage history.

ERC1967Proxy

Verified contract

Proxy

Active on Base with 152,759 txns
Deployed by via 0x1423649a at 16036203
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
4 additional variables
ERC-20
Value $52,450.21
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0x53b50beed2e728153b935da38339999de8d0dc3b2953f51c231d532aaaf1e947
0x3b11750281b3e76e9d464b40198b043f4f5382dfa20c0e8acd7f6910e91fdaeb
0x567bbc770c5dac8c9244d50bfa978e134dd9a3808a5e19feba243c65208c2aa0
0x2cbce71ee1d8921c0a1ee199af80e08e1b5cb39c2f6d959c9000314a94be7a17
0x9d95ccc2db04f8481504af2e4bf48a2d183212de4fd8fa35f576b678b3640969
0xb3ee786b72b8de142356da7a6ba115158add4e1bcf751f4f3b46bf83e505ae4e
0xa84e16a8e5d08a3542dda39e0cb173902eade5d0eb04d76c88063e07b9badb7a
0xafdc63d85df37e1ba7b508f98f8ba851d7be4e5ba227915872c3bd0e82d40805
0x5c1d0bdf0db346694742fc957241d3e1d733ab7b2c098dc3d6af4899dd88a8fc
0x565e848915eb38eed5d87eef0446d1dfb402e2a0ffe24248eb0f2b64029cf6e2

Functions
Getter at block 21844493
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
 
proxiableUUID(view returns (bytes32)
slippage(view returns (uint256)
95
whitelistSigner(view returns (address)
0xa8862c16df2b0d0868255b6b587b7680d6b357a6
Read-only
addrs(stringview returns (address)
bitsBalance(addressaddressview returns (uint256)
bitsSupply(addressview returns (uint256)
gamerCreationTimestamps(addressview returns (uint256)
gamerDMIMap(addressview returns (uint256)
genSigHash(uint256 decodedMBitsaddress decodedBuyerAddressaddress decodedGamerAddressuint256 decodedNoncepure returns (bytes32)
getAddr(string idview returns (address)
getBitsCount(address gameraddress userview returns (uint256)
getBitsSupply(address gamerview returns (uint256)
getBuyPrice(address gameruint256 amountview returns (uint256)
getBuyPriceAfterFee(address gameruint256 amountview returns (uint256)
getGamerDMI(address gamerview returns (uint256)
getNonce(address useraddress gamerview returns (uint256)
getPrice(uint256 supplyuint256 amountaddress gamerview returns (uint256)
getRoleAdmin(bytes32 roleview returns (bytes32)
getSellPrice(address gameruint256 amountview returns (uint256)
getSellPriceAfterFee(address gameruint256 amountview returns (uint256)
hasRole(bytes32 roleaddress accountview returns (bool)
permitNonce(addressaddressview returns (uint256)
recomputeAndRecoverSigner(uint256 decodedMBitsaddress decodedBuyerAddressaddress decodedGamerAddressuint256 decodedNoncebytes signaturepure returns (address)
sumOfNSquares(uint256 npure returns (uint256)
supportsInterface(bytes4 interfaceIdview returns (bool)
whitelistedRoutes(stringuint256view returns (address fromaddress tobool stableaddress factory)
State-modifying
addAddrs(string addrsStruint256 addrNum
addNewRoute(string _assetstruct IRouterRoute[] _route
buyBits(address gamerstring currencyuint256 amountuint256 tokenAmountInbytes messagebytes signaturepayable 
buyBitsOnBehaf(address gameruint256 amountaddress to
grantRole(bytes32 roleaddress account
initialize(
modifyExistingRoute(string _assetstruct IRouterRoute[] _route
pause(
renounceRole(bytes32 roleaddress callerConfirmation
revokeRole(bytes32 roleaddress account
sellBits(address gamerstring currencyuint256 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 idaddress addr
upgradeToAndCall(address newImplementationbytes datapayable 
Events
AdminChanged(address previousAdminaddress newAdmin
BeaconUpgraded(address indexed beacon
Upgraded(address indexed implementation
AddrChange(address arg0string arg1address arg2
Initialized(uint64 version
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
Trade(address traderaddress gamerbool isBuyuint256 bitAmountuint256 ethAmountuint256 protocolEthAmountuint256 gamerEthAmountuint256 supply
Upgraded(address indexed implementation
Constructor
constructor(address _logicbytes _data
Fallback and receive
fallback(
receive(
Errors
AccessControlBadConfirmation(
AccessControlUnauthorizedAccount(address accountbytes32 neededRole
AddressEmptyCode(address target
ERC1967InvalidImplementation(address implementation
ERC1967NonPayable(
FailedInnerCall(
InvalidInitialization(
NotInitializing(
ReentrancyGuardReentrantCall(
UUPSUnauthorizedCallContext(
UUPSUnsupportedProxiableUUID(bytes32 slot