LandSaleWithReferral

Verified contract

Active on Ethereum with 360 txns
Deployed by via 0x445e738f at 10244477
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "LandSaleWithReferral"

0xd0de5d677348c24a97b327b09807c03ed6afb93660f2678c6be942774926ae91
0x9637529818edf2d0e99f5bc4aede9582c1b002697e898ee1a2bb295d93504975
0x0ee31cfcb04c643d1d91e75b3a082262573932fdb5a493f97431e40b759195be
0x41cc4a90194bc52665442e21c7933fbb928050dfdba8cf43aecee7c600e22f5c
From
0x6d041a48450b2881773d5f52df4f585bf1b806b4628e8e55b5a808e745672d55
From
0x8739c20a18b8c69df03f95c606310d174348abc428704dd38f1fd257cc88e504
0xc728c3220bfadb3df6f4075a25c9031948d0a33904bc324d0ed842e5c213d2fe
0x87ca7169917152a603d7cd7d36b2b57c5fb6b7260a3f080e86829512f1d33891
0x053092f89455462f7b75313dc63399901a55ececf464047ede8259eae295685c
0xbb246470ef22be57be34f54a6a85756ec1ee25cd05ed68c351a5f645262b57e1

Functions
Getter at block 21285015
getAdmin(view returns (address)
0xeaa0993e1d21c2103e4f172a20d29371fbaf6d06
getExpiryTime(view returns (uint256)
1594321140
isDAIEnabled(view returns (bool)
true
isETHEnabled(view returns (bool)
true
isSANDEnabled(view returns (bool)
false
merkleRoot(view returns (bytes32)
0x2102a55f605ca824db4de7fe8c577e86330bcbbefe216f294ec040c68f2e1f9a
Read-only
decodeReferral(bytes referralpure returns (bytesaddressaddressuint256uint256)
getEtherAmountWithSAND(uint256 sandAmountview returns (uint256)
isMetaTransactionProcessor(address whoview returns (bool)
isReferralValid(bytes signatureaddress referreraddress refereeuint256 expiryTimeuint256 commissionRateview returns (bool)
State-modifying
buyLandWithDAI(address buyeraddress toaddress reserveduint256 xuint256 yuint256 sizeuint256 priceInSandbytes32 saltbytes32[] proofbytes referral
buyLandWithETH(address buyeraddress toaddress reserveduint256 xuint256 yuint256 sizeuint256 priceInSandbytes32 saltbytes32[] proofbytes referralpayable 
buyLandWithSand(address buyeraddress toaddress reserveduint256 xuint256 yuint256 sizeuint256 priceInSandbytes32 saltbytes32[] proofbytes referral
changeAdmin(address newAdmin
setDAIEnabled(bool enabled
setETHEnabled(bool enabled
setMetaTransactionProcessor(address metaTransactionProcessorbool enabled
setReceivingWallet(address newWallet
setSANDEnabled(bool enabled
updateMaxCommissionRate(uint256 newMaxCommissionRate
updateSigningWallet(address newSigningWallet
Events
AdminChanged(address oldAdminaddress newAdmin
LandQuadPurchased(address indexed buyeraddress indexed touint256 indexed topCornerIduint256 sizeuint256 priceaddress tokenuint256 amountPaid
MetaTransactionProcessor(address metaTransactionProcessorbool enabled
ReferralUsed(address indexed referreraddress indexed refereeaddress indexed tokenuint256 amountuint256 commissionuint256 commissionRate
Constructor
constructor(address landAddressaddress sandContractAddressaddress initialMetaTxaddress adminaddress initialWalletAddressbytes32 merkleRootuint256 expiryTimeaddress medianizerContractAddressaddress daiTokenContractAddressaddress initialSigningWalletuint256 initialMaxCommissionRate
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.