FlatPriceSale

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0xe38a8f68 at 15621920
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"

No transactions found for "FlatPriceSale"


Functions
Getter at block 21398378
BASE_CURRENCY_DECIMALS(view returns (uint256)
8
VERSION(view returns (string)
2.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=)
isOpen(view returns (bool)
false
isOver(view returns (bool)
false
metrics(view returns (uint256 purchaseCountuint256 buyerCountuint256 purchaseTotal)
(purchaseCount=0, buyerCount=0, purchaseTotal=0)
nativeTokenPriceOracle(view returns (address)
0x0000000000000000000000000000000000000000
owner(view returns (address)
0x0000000000000000000000000000000000000000
total(view returns (uint256)
0
Read-only
buyerTotal(address userview returns (uint256)
generatePseudorandomValue(bytes32 merkleRootview returns (uint160)
getFairQueueTime(address buyerview returns (uint256)
getOraclePrice(address oracleview returns (uint256)
getPaymentToken(address tokenview returns (struct PaymentTokenInfo)
isValidMerkleProof(bytes32 rootaddress accountbytes databytes32[] proofpure returns (bool)
paymentTokens(addressview returns (address oracleuint8 decimals)
payments(address destview returns (uint256)
tokensToBaseCurrency(uint256 tokenQuantityuint256 tokenDecimalsaddress oracleview returns (uint256 value)
State-modifying
buyWithNative(bytes databytes32[] proofpayable 
buyWithToken(address tokenuint256 quantitybytes databytes32[] proof
initialize(address _ownerstruct Config _configstring _baseCurrencybool _nativePaymentsEnabledaddress _nativeTokenPriceOracleaddress[] tokensaddress[] oraclesuint8[] decimals
renounceOwnership(
sweepNative(
sweepToken(address token
transferOwnership(address newOwner
update(struct Config _config
withdrawPayments(address payee
Events
Buy(address indexed buyeraddress indexed tokenuint256 baseCurrencyValueuint256 tokenValueuint256 tokenFee
ImplementationConstructor(address indexed feeRecipientuint256 feeBips
Initialize(struct Config configstring baseCurrencyaddress nativeOraclebool nativePaymentsEnabled
Initialized(uint8 version
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
SetPaymentTokenInfo(address tokenstruct PaymentTokenInfo paymentTokenInfo
SweepNative(uint256 amount
SweepToken(address indexed tokenuint256 amount
Update(struct Config config
Constructor
constructor(uint256 _feeBipsaddress _feeRecipient
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.