GambitBits_bs_fee_premium
Verified contract
Implementation
Active on
Base with 0 txns
Storage
Map
Table
Raw
Constants and immutables
10
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
7 additional
variables
Balances ($0.00)
No balances found for "GambitBits_bs_fee_premium"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "GambitBits_bs_fee_premium"
ABI
ABI objects
Getter at block 22758609
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)
2864
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
limitFeeMultiplier() view returns (uint256)
0
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(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, uint256 protocolBuyFee, uint256 gamerBuyFee) pure returns (bytes32)
genSigHashLimit(uint256 bitsAmount, uint256 limitPrice, address buyerAddress, address gamerAddress, uint256 nonce) pure returns (bytes32)
genSigHashSell(address decodedBuyerAddress, address decodedGamerAddress, uint256 decodedNonce, uint256 protocolSellFee, uint256 gamerSellFee) 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)
permitNonceBuyLimit(address, address) view returns (uint256)
permitNonceSellLimit(address, address) view returns (uint256)
recomputeAndRecoverSigner(uint256 decodedMBits, address decodedBuyerAddress, address decodedGamerAddress, uint256 decodedNonce, uint256 protocolBuyFee, uint256 gamerBuyFee, bytes signature) pure returns (address)
recomputeAndRecoverSignerLimit(uint256 bitsAmount, uint256 limitPrice, address buyerAddress, address gamerAddress, uint256 nonce, bytes signature) pure returns (address)
recomputeAndRecoverSignerSell(address decodedBuyerAddress, address decodedGamerAddress, uint256 decodedNonce, uint256 protocolSellFee, uint256 gamerSellFee, bytes signature) pure returns (address)
sumOfNSquares(uint256 n) pure returns (uint256)
supportsInterface(bytes4 interfaceId) view returns (bool)
usedSignatures(bytes32) 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, bytes message, bytes signature)
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
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()
This contract contains no fallback and receive objects.
AccessControlBadConfirmation()
AccessControlUnauthorizedAccount(address account, bytes32 neededRole)
AddressEmptyCode(address target)
ERC1967InvalidImplementation(address implementation)
ERC1967NonPayable()
FailedInnerCall()
InvalidInitialization()
NotInitializing()
ReentrancyGuardReentrantCall()
UUPSUnauthorizedCallContext()
UUPSUnsupportedProxiableUUID(bytes32 slot)