GambitBits

Verified contract

Implementation

Active on Base with 0 txns
Deployed by via 0x12038ae8 at 21436793
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
3 additional variables

No balances found for "GambitBits"

No transactions found for "GambitBits"


Functions
Getter at block 21851930
ADMIN(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
AERODROME_ROUTER(view returns (address)
0x0000000000000000000000000000000000000000
CURRENT_WEEK_VOLUME(view returns (uint256)
0
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
MAX_DMI(view returns (uint256)
10000000000000000000
MAX_DMI_VOLUME(view returns (uint256)
0
MIN_DMI(view returns (uint256)
1000000000000000000
PAST_WEEK_NUMBER(view returns (uint256)
0
PAST_WEEK_VOLUME(view returns (uint256)
0
UPGRADE_INTERFACE_VERSION(view returns (string)
5.0.0
WELS(view returns (address)
0x0000000000000000000000000000000000000000
WHITELIST_BOOLEAN(view returns (bool)
false
WHITELIST_END_TIME(view returns (uint256)
0
calculateDMI(view returns (uint256)
1000000000000000000
gamerFeeDestination(view returns (address)
0x0000000000000000000000000000000000000000
gamerFeePercent(view returns (uint256)
0
gamerFeePercentBuy(view returns (uint256)
0
gamerFeePercentSell(view returns (uint256)
0
getCurrentWeek(view returns (uint256)
2861
getCurrentWeekVolume(view returns (uint256)
0
getPastWeek(view returns (uint256)
0
getPastWeekVolume(view returns (uint256)
0
getWhitelistBoolean(view returns (bool)
false
getWhitelistEndTime(view returns (uint256)
0
isPaused(view returns (bool)
false
protocolFeeDestination(view returns (address)
0x0000000000000000000000000000000000000000
protocolFeePercent(view returns (uint256)
0
protocolFeePercentBuy(view returns (uint256)
0
protocolFeePercentSell(view returns (uint256)
0
proxiableUUID(view returns (bytes32)
0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc
slippage(view returns (uint256)
0
whitelistSigner(view returns (address)
0x0000000000000000000000000000000000000000
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
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(
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AccessControlBadConfirmation(
AccessControlUnauthorizedAccount(address accountbytes32 neededRole
AddressEmptyCode(address target
ERC1967InvalidImplementation(address implementation
ERC1967NonPayable(
FailedInnerCall(
InvalidInitialization(
NotInitializing(
ReentrancyGuardReentrantCall(
UUPSUnauthorizedCallContext(
UUPSUnsupportedProxiableUUID(bytes32 slot