0x4c85a06a7097a368b6bb46ffb8e48cfa6a9fb982
Verified contract
Proxy
Active on
Ethereum with 172 txns
Unified storage
Map
Table
Raw
Constants and immutables
0
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 48 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
0x65e9…2023
-
variable spans 49 additional slots
0x5f4e…8419
-
variable spans 8 additional slots
-
variable spans 3 additional slots
Balances ($0.00)
No balances found for "0x4c85a06a7097a368b6bb46ffb8e48cfa6a9fb982"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 17181544 | 2 years ago | | | 0 | 0.0051811659 | |
| 17181531 | 2 years ago | | | 0 | 0.0053840678 | |
| 17181500 | 2 years ago | | | 0 | 0.0025251023 | |
| 17123649 | 2 years ago | | | 1.09 | 0.0040416134 | |
| 17123610 | 2 years ago | | | 0.524 | 0.0042068396 | |
| 17123383 | 2 years ago | | | 0.2 | 0.0054095606 | |
| 17123310 | 2 years ago | | | 0.16 | 0.0038772276 | |
| 17123308 | 2 years ago | | | 0 | 0.0052446451 | |
| 17122987 | 2 years ago | | | 0 | 0.0063063214 | |
| 17122975 | 2 years ago | | | 0.2475 | 0.0045986401 |
ABI
ABI objects
Getter at block 21398378
BASE_CURRENCY_DECIMALS() view returns (uint256)
8
VERSION() view returns (string)
2.0
baseCurrency() view returns (string)
USD
config() view returns (address recipient, bytes32 merkleRoot, uint256 saleMaximum, uint256 userMaximum, uint256 purchaseMinimum, uint256 startTime, uint256 endTime, uint256 maxQueueTime, string URI)
(recipient=0xc47567f5a47dffb89a03eab4ddb1bdbbb6d96b11, merkleRoot=0xa383f0ed32f2c34c126f30e4cea714c7225d0adf225142a8d123d18711c346f1, saleMaximum=50000000000000, userMaximum=700000000000, purchaseMinimum=25000000000, startTime=1681826400, endTime=1682431200, maxQueueTime=360, URI=ipfs://QmTr6K6xdVsnNxvk1jPq6Q3ghUHxi9cH7kZg83tQSUUZJc)
isOpen() view returns (bool)
false
isOver() view returns (bool)
false
metrics() view returns (uint256 purchaseCount, uint256 buyerCount, uint256 purchaseTotal)
(purchaseCount=149, buyerCount=138, purchaseTotal=11903342559770)
nativeTokenPriceOracle() view returns (address)
0x5f4ec3df9cbd43714fe2740f5e3616155c5b8419
owner() view returns (address)
0x2a0f89150e8cdffa54b699c2aa5d557b9e968cf5
total() view returns (uint256)
11903342559770
Read-only
buyerTotal(address user) view returns (uint256)
generatePseudorandomValue(bytes32 merkleRoot) view returns (uint160)
getFairQueueTime(address buyer) view returns (uint256)
getOraclePrice(address oracle) view returns (uint256)
getPaymentToken(address token) view returns (struct PaymentTokenInfo)
isValidMerkleProof(bytes32 root, address account, bytes data, bytes32[] proof) pure returns (bool)
paymentTokens(address) view returns (address oracle, uint8 decimals)
payments(address dest) view returns (uint256)
tokensToBaseCurrency(uint256 tokenQuantity, uint256 tokenDecimals, address oracle) view returns (uint256 value)
State-modifying
Events buyWithNative(bytes data, bytes32[] proof) payable
buyWithToken(address token, uint256 quantity, bytes data, bytes32[] proof)
initialize(address _owner, struct Config _config, string _baseCurrency, bool _nativePaymentsEnabled, address _nativeTokenPriceOracle, address[] tokens, address[] oracles, uint8[] decimals)
renounceOwnership()
sweepNative()
sweepToken(address token)
transferOwnership(address newOwner)
update(struct Config _config)
withdrawPayments(address payee)
Buy(address indexed buyer, address indexed token, uint256 baseCurrencyValue, uint256 tokenValue, uint256 tokenFee)
ImplementationConstructor(address indexed feeRecipient, uint256 feeBips)
Initialize(struct Config config, string baseCurrency, address nativeOracle, bool nativePaymentsEnabled)
Initialized(uint8 version)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
SetPaymentTokenInfo(address token, struct PaymentTokenInfo paymentTokenInfo)
SweepNative(uint256 amount)
SweepToken(address indexed token, uint256 amount)
Update(struct Config config)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.