FlatPriceSale_v_4_0
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
9
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
-
variable spans 49 additional slots
-
variable spans 8 additional slots
-
variable spans 3 additional slots
Balances ($0.00)
No balances found for "FlatPriceSale_v_4_0"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "FlatPriceSale_v_4_0"
ABI
ABI objects
Getter at block 21333126
VERSION() view returns (string)
4.0
baseCurrency() view returns (string)
config() view returns (address recipient, bytes32 merkleRoot, uint256 saleMaximum, uint256 userMaximum, uint256 purchaseMinimum, uint256 startTime, uint256 endTime, uint256 maxQueueTime, string URI)
(recipient=0x0000000000000000000000000000000000000000, merkleRoot=0x0000000000000000000000000000000000000000000000000000000000000000, saleMaximum=0, userMaximum=0, purchaseMinimum=0, startTime=0, endTime=0, maxQueueTime=0, URI=)
generatePseudorandomValue() view returns (uint160)
696932941182069651743279765309194136540127654335
isOpen() view returns (bool)
false
isOver() view returns (bool)
true
metrics() view returns (uint256 purchaseCount, uint256 buyerCount, uint256 purchaseTotal)
(purchaseCount=0, buyerCount=0, purchaseTotal=0)
nativeTokenPriceOracle() view returns (address)
0x0000000000000000000000000000000000000000
nativeTokenPriceOracleHeartbeat() view returns (uint256)
0
networkConfig() view returns (address)
0x054697a09718da76ba0795cfc17f744d4371dc7d
owner() view returns (address)
0x0000000000000000000000000000000000000000
total() view returns (uint256)
0
Read-only
buyerTotal(address user) view returns (uint256)
getFairQueueTime(address buyer) view returns (uint256)
getOraclePrice(address oracle, uint256 heartbeat) view returns (uint256)
getPaymentToken(address token) view returns (struct PaymentTokenInfo)
paymentTokens(address) view returns (address oracle, uint256 heartbeat, uint8 decimals)
payments(address dest) view returns (uint256)
tokensToBaseCurrency(uint256 tokenQuantity, uint256 tokenDecimals, address oracle, uint256 heartbeat) view returns (uint256 value)
State-modifying
Events buyWithNative(uint256 userLimit, uint64 expiresAt, bytes signature, address platformFlatRateFeeRecipient, uint256 platformFlatRateFeeAmount) payable
buyWithToken(address token, uint256 quantity, uint256 userLimit, uint64 expiresAt, bytes signature, address platformFlatRateFeeRecipient, uint256 platformFlatRateFeeAmount) payable
initialize(address _owner, struct Config _config, string _baseCurrency, bool _nativePaymentsEnabled, address _nativeTokenPriceOracle, uint256 _nativeTokenPriceOracleHeartbeat, address[] tokens, address[] oracles, uint256[] oracleHeartbeats, uint8[] decimals)
registerDistributor(address _distributor)
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 protocolTokenFee, uint256 platformTokenFee)
ImplementationConstructor(address networkConfig)
Initialize(struct Config config, string baseCurrency, address nativeOracle, bool nativePaymentsEnabled)
Initialized(uint8 version)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
RegisterDistributor(address distributor)
SetPaymentTokenInfo(address token, struct PaymentTokenInfo paymentTokenInfo)
SweepNative(uint256 amount)
SweepToken(address indexed token, uint256 amount)
Update(struct Config config)
constructor(address _networkConfig)
This contract contains no fallback and receive objects.
This contract contains no error objects.