XOXTreasury

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x2be2a2e8 at 19480789
Slot
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

No balances found for "XOXTreasury"

No transactions found for "XOXTreasury"


Functions
Getter at block 21225790
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
 
getLatestPrice(view returns (int256)
isActiveFarming(view returns (bool)
false
levelLength(view returns (uint256)
0
paused(view returns (bool)
false
pool(view returns (uint256 lastRewardBlockuint256 accXOXPerShare)
(lastRewardBlock=0, accXOXPerShare=0)
startTimeBuyXOXS(view returns (uint256)
0
usd(view returns (address)
0x0000000000000000000000000000000000000000
xoxs(view returns (address)
0x0000000000000000000000000000000000000000
Read-only
LEVEL_FEE(uint256view returns (uint256)
LEVEL_REWARD(uint256view returns (uint256)
balanceXOXS(address ownerview returns (uint256)
getDiscountByAccount(address ownerview returns (uint256 rateMax)
getPartnerTokenInfo(uint256 indexview returns (struct XOXTreasuryPartnerTokenInfo)
getRateFee(address ownerview returns (uint256)
getRoleAdmin(bytes32 roleview returns (bytes32)
getXOXSbyCash(address owneruint256 cashview returns (uint256)
hasRole(bytes32 roleaddress accountview returns (bool)
levelReward(uint256view returns (uint256)
partnerTokenInfo(uint256view returns (address tokenbool isActive)
pendingReward(address _userview returns (uint256)
pendingRewardAll(address user_view returns (uint256)
pendingRewardByLevel(address user_uint256 level_view returns (uint256)
rewardByLevel(uint256view returns (uint256)
supportsInterface(bytes4 interfaceIdview returns (bool)
tokenWL(addressview returns (bool)
userInfo(addressview returns (uint256 pointuint256 amountuint256 rewarduint256 lastBLockUpdateduint256 rewardDebt)
State-modifying
ActiveFarming(
airDrop(address[] addrArruint256[] amountArr
airDrop2(address[] addrArruint256[] amountArr
buyXOXS(address _tokenAddressuint256 _amountaddress _referralAddresspayable 
claimFarmingReward(uint256 _amount
claimReferralAll(
claimReferralByLevel(uint256 level
emergencyWithdraw(address _tokenaddress _touint256 _amount
grantRole(bytes32 roleaddress account
initialize(address usd_address xoxs_uint256 totalBlockYear_uint256 apy_uint256[] levelReward_uint256[] rewardByLevel_address gnosisAdmin_uint256 blockActiveFarming_
pause(
preSaleXOX(address fromaddress refuint256 amountuint256 rewardPercentuint256 roundreturns (uint256)
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
seedSale(uint256 amount
setApy(uint256 apy_
setBurnWallet(address _burnWallet
setPartnerToken(struct XOXTreasuryPartnerTokenInfo _partnerTokenInfo
setReward(uint256[] levelReward_uint256[] rewardByLevel_
setUpForSellXOXS(address _burnWalletuint256[5] _levelFeeuint256[5] _levelRewardaddress[3] _tokenAddressaddress _priceFeedAddressuint256 _startTimeBuyXOXS
setUpLevelFee(uint256[5] levelFee
setupWhitelistToken(address[] _tokenAddressbool[] _status
stakingXOX(uint256 amount
swapUSDtoXOX(address fromaddress refuint256 amount
swapXOXtoUSD(address accountuint256 amountuint256 rateFee
unpause(
updatePartnerToken(struct XOXTreasuryPartnerTokenInfo _partnerTokenInfouint256 index
Events
Airdrop(address indexed beneficiaryuint256 amountuint256 index
BuyXOXS(address indexed buyeraddress indexed refuint256 amount
ChangeAPYFarming(uint256 apy
ClaimFarmingReward(address indexed useruint256 amount
ClaimReferral(address indexed useruint256 amount
Initialized(uint8 version
PreSale(address indexed buyeraddress indexed refuint256 amountBuyeruint256 amountRefuint256 round
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
SeedSale(address indexed investoruint256 amount
StakingXOX(address indexed stakeruint256 amount
SwapUSDToXOX(address indexed buyeraddress indexed refuint256 amount
SwapXOXToUsd(address indexed accountuint256 amountuint256 rateFee
TierBonus(address indexed buyeruint256 amount
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.