FlatPriceSale_v_4_0

Verified contract

Implementation

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

No balances found for "FlatPriceSale_v_4_0"

No transactions found for "FlatPriceSale_v_4_0"


Functions
Getter at block 20986482
VERSION(view returns (string)
4.0
baseCurrency(view returns (string)
config(view returns (address recipientbytes32 merkleRootuint256 saleMaximumuint256 userMaximumuint256 purchaseMinimumuint256 startTimeuint256 endTimeuint256 maxQueueTimestring URI)
(recipient=0x0000000000000000000000000000000000000000, merkleRoot=0x0000000000000000000000000000000000000000000000000000000000000000, saleMaximum=0, userMaximum=0, purchaseMinimum=0, startTime=0, endTime=0, maxQueueTime=0, URI=)
generatePseudorandomValue(view returns (uint160)
1412915338632776461189008441154864511959469467337
isOpen(view returns (bool)
false
isOver(view returns (bool)
true
metrics(view returns (uint256 purchaseCountuint256 buyerCountuint256 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 userview returns (uint256)
getFairQueueTime(address buyerview returns (uint256)
getOraclePrice(address oracleuint256 heartbeatview returns (uint256)
getPaymentToken(address tokenview returns (struct PaymentTokenInfo)
paymentTokens(addressview returns (address oracleuint256 heartbeatuint8 decimals)
payments(address destview returns (uint256)
tokensToBaseCurrency(uint256 tokenQuantityuint256 tokenDecimalsaddress oracleuint256 heartbeatview returns (uint256 value)
State-modifying
buyWithNative(uint256 userLimituint64 expiresAtbytes signatureaddress platformFlatRateFeeRecipientuint256 platformFlatRateFeeAmountpayable 
buyWithToken(address tokenuint256 quantityuint256 userLimituint64 expiresAtbytes signatureaddress platformFlatRateFeeRecipientuint256 platformFlatRateFeeAmountpayable 
initialize(address _ownerstruct Config _configstring _baseCurrencybool _nativePaymentsEnabledaddress _nativeTokenPriceOracleuint256 _nativeTokenPriceOracleHeartbeataddress[] tokensaddress[] oraclesuint256[] oracleHeartbeatsuint8[] decimals
registerDistributor(address _distributor
renounceOwnership(
sweepNative(
sweepToken(address token
transferOwnership(address newOwner
update(struct Config _config
withdrawPayments(address payee
Events
Buy(address indexed buyeraddress indexed tokenuint256 baseCurrencyValueuint256 tokenValueuint256 protocolTokenFeeuint256 platformTokenFee
ImplementationConstructor(address networkConfig
Initialize(struct Config configstring baseCurrencyaddress nativeOraclebool nativePaymentsEnabled
Initialized(uint8 version
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
RegisterDistributor(address distributor
SetPaymentTokenInfo(address tokenstruct PaymentTokenInfo paymentTokenInfo
SweepNative(uint256 amount
SweepToken(address indexed tokenuint256 amount
Update(struct Config config
Constructor
constructor(address _networkConfig
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.