XOXTreasury
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
7
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 1 additional slot
-
variable spans 4 additional slots
-
variable spans 4 additional slots
1 additional
variable
Balances ($0.00)
No balances found for "XOXTreasury"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "XOXTreasury"
ABI
ABI objects
Getter at block 21225790 getLatestPrice() view returns (int256)
ADMIN_ROLE() view returns (bytes32)
0xa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775
BASE_ACC_PER_SHARE() view returns (uint256)
1000000000000
BASE_APY() view returns (uint256)
100
BASE_REWARD() view returns (uint256)
10
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
ROUTER_ROLE() view returns (bytes32)
0x7a05a596cb0ce7fdea8a1e1ec73be300bdb35097c944ce1897202f7a13122eb2
SALE_ROLE() view returns (bytes32)
0x4913d4da5605218c48834fed44bccb6bdddd90d4fdf48923cf059a07f6fe4a77
TOTAL_BLOCK_IN_YEAR() view returns (uint256)
0
apy() view returns (uint256)
0
burnWallet() view returns (address)
0x0000000000000000000000000000000000000000
getChainID() view returns (uint256)
1
isActiveFarming() view returns (bool)
false
levelLength() view returns (uint256)
0
paused() view returns (bool)
false
pool() view returns (uint256 lastRewardBlock, uint256 accXOXPerShare)
(lastRewardBlock=0, accXOXPerShare=0)
startTimeBuyXOXS() view returns (uint256)
0
usd() view returns (address)
0x0000000000000000000000000000000000000000
xoxs() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
LEVEL_FEE(uint256) view returns (uint256)
LEVEL_REWARD(uint256) view returns (uint256)
balanceXOXS(address owner) view returns (uint256)
getDiscountByAccount(address owner) view returns (uint256 rateMax)
getPartnerTokenInfo(uint256 index) view returns (struct XOXTreasuryPartnerTokenInfo)
getRateFee(address owner) view returns (uint256)
getRoleAdmin(bytes32 role) view returns (bytes32)
getXOXSbyCash(address owner, uint256 cash) view returns (uint256)
hasRole(bytes32 role, address account) view returns (bool)
levelReward(uint256) view returns (uint256)
partnerTokenInfo(uint256) view returns (address token, bool isActive)
pendingReward(address _user) view returns (uint256)
pendingRewardAll(address user_) view returns (uint256)
pendingRewardByLevel(address user_, uint256 level_) view returns (uint256)
rewardByLevel(uint256) view returns (uint256)
supportsInterface(bytes4 interfaceId) view returns (bool)
tokenWL(address) view returns (bool)
userInfo(address) view returns (uint256 point, uint256 amount, uint256 reward, uint256 lastBLockUpdated, uint256 rewardDebt)
State-modifying
Events ActiveFarming()
airDrop(address[] addrArr, uint256[] amountArr)
airDrop2(address[] addrArr, uint256[] amountArr)
buyXOXS(address _tokenAddress, uint256 _amount, address _referralAddress) payable
claimFarmingReward(uint256 _amount)
claimReferralAll()
claimReferralByLevel(uint256 level)
emergencyWithdraw(address _token, address _to, uint256 _amount)
grantRole(bytes32 role, address account)
initialize(address usd_, address xoxs_, uint256 totalBlockYear_, uint256 apy_, uint256[] levelReward_, uint256[] rewardByLevel_, address gnosisAdmin_, uint256 blockActiveFarming_)
pause()
preSaleXOX(address from, address ref, uint256 amount, uint256 rewardPercent, uint256 round) returns (uint256)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
seedSale(uint256 amount)
setApy(uint256 apy_)
setBurnWallet(address _burnWallet)
setPartnerToken(struct XOXTreasuryPartnerTokenInfo _partnerTokenInfo)
setReward(uint256[] levelReward_, uint256[] rewardByLevel_)
setUpForSellXOXS(address _burnWallet, uint256[5] _levelFee, uint256[5] _levelReward, address[3] _tokenAddress, address _priceFeedAddress, uint256 _startTimeBuyXOXS)
setUpLevelFee(uint256[5] levelFee)
setupWhitelistToken(address[] _tokenAddress, bool[] _status)
stakingXOX(uint256 amount)
swapUSDtoXOX(address from, address ref, uint256 amount)
swapXOXtoUSD(address account, uint256 amount, uint256 rateFee)
unpause()
updatePartnerToken(struct XOXTreasuryPartnerTokenInfo _partnerTokenInfo, uint256 index)
Airdrop(address indexed beneficiary, uint256 amount, uint256 index)
BuyXOXS(address indexed buyer, address indexed ref, uint256 amount)
ChangeAPYFarming(uint256 apy)
ClaimFarmingReward(address indexed user, uint256 amount)
ClaimReferral(address indexed user, uint256 amount)
Initialized(uint8 version)
PreSale(address indexed buyer, address indexed ref, uint256 amountBuyer, uint256 amountRef, uint256 round)
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)
SeedSale(address indexed investor, uint256 amount)
StakingXOX(address indexed staker, uint256 amount)
SwapUSDToXOX(address indexed buyer, address indexed ref, uint256 amount)
SwapXOXToUsd(address indexed account, uint256 amount, uint256 rateFee)
TierBonus(address indexed buyer, uint256 amount)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.