VexEnterpriseV1

Verified contract

Active on Base with 228 txns
Deployed by via 0xe7863253 at 12339710
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 5 additional slots
 (#468)
ERC-721
--
 (#467)
ERC-721
--
 (#466)
ERC-721
--
)
ERC-721
--
)
ERC-721
--
)
ERC-721
--
)
ERC-721
--
)
ERC-721
--
)
ERC-721
--
)
ERC-721
--
0xa4d0554dbd309bc23b58df65c981ae37894ac09e2e11e4be31284ff4b0524f20
0x9be74ee25860419ade959ac74fea5b94aa4cf5eb566500ef22572ee090efb116
0x02e4e8253d198495028b809be90a708e1ac0326c54b4045a3e4dbcdc88a1a603
0x3d624e41b4a031246312aaac1a1e5f98bcf61348015c9aaf006acc554789d487
0xa7bc900a913cd0eafafcd3607353dda964c1945e82a1018d35d4fabe67cce6a7
0x469df1d6b119f623aa181c82c73f28166007e95c8bb3370378c1faa831c8487a
0x8ce9c814d7cbf71bb9c257651657537db717abd8ce94b124352d2b95119a4c9f
0x9a37ab6d03b265169d40d1fa5412c4af1b38d1326aaea46df9798286735018cf
0xedc91383e7cbefd13a409cd89e963daadf7e0daa3514178e0946a554f8280448
0xa21c6299ddf273e9cf20d87c500e01cbfaf1a80103ab05616d1ec243310e04c2

Functions
Getter at block 22154902
DENOMINATOR(view returns (uint256)
1000
currentSpaceCraftBalance(view returns (uint256)
3
merchantEnabled(view returns (bool)
true
owner(view returns (address)
0x2e6243a4cdb82b77dc4530a9942ba5eed7431822
priceInVEX(view returns (uint256)
14000000000000000000
refereeCashBackRate(view returns (uint256)
20000
refereeTotalCashBack(view returns (uint256)
0
referrerRate(view returns (uint256)
5000
spaceCraft(view returns (address)
0x6bd8dcecebc34030316a77e5440565ee8f7ae786
totalReferralRevenue(view returns (uint256)
0
totalReferrals(view returns (uint256)
0
vex(view returns (address)
0x8129b94753f22ec4e62e2c4d099ffe6773969ebc
Read-only
allowedPaymentByStones(uint256view returns (bool)
pricesByStones(uint256view returns (uint256)
referralRevenueOf(addressview returns (uint256)
referrerSales(addressview returns (uint256)
State-modifying
buyWithStones(uint8 rarity
buyWithVEX(address referrer
enablePaymentWithStone(uint8 raritybool enabled
multicall(bytes[] datareturns (bytes[] results)
onERC721Received(addressaddressuint256bytesreturns (bytes4)
renounceOwnership(
setMerchantEnabled(bool enabled
setPriceAndAllowPaymentWithStone(uint8 rarityuint256 newPricebool allowed
setPriceInVEX(uint256 newPrice
setReferralRates(uint256 _referrerRateuint256 _cashBackRate
setSpaceCraftContract(address _contract
setVexContract(address _contractAddress
transferOwnership(address newOwner
withdrawERC20(address token
withdrawETH(
withdrawSpaceCraft(uint256 amount
withdrawVEX(
Events
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Constructor
constructor(address _initialOwneraddress _vexaddress _spacecraft
Fallback and receive
receive(
Errors
AddressEmptyCode(address target
FailedInnerCall(
FailedReferralTransfer(
FailedSpaceCraftTransfer(
FailedTransfer(
FailedVexPayment(
OwnableInvalidOwner(address owner
OwnableUnauthorizedAccount(address account
ReentrancyGuardReentrantCall(