OnchainBuy
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
4
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 1 additional slot
Balances ($0.00)
No balances found for "OnchainBuy"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "OnchainBuy"
ABI
ABI objects
Getter at block 20795265
adminApprovalRequired() view returns (bool)
false
getAdmins() view returns (address[] admins)
[]
getContractData() view returns (address _platformAddress, uint16 _platformFeePercentage, address _priceFeedAddress, address _royaltySupport, uint64 _max1155Quantity)
(_platformAddress=0x0000000000000000000000000000000000000000, _platformFeePercentage=0, _priceFeedAddress=0x0000000000000000000000000000000000000000, _royaltySupport=0x0000000000000000000000000000000000000000, _max1155Quantity=0)
owner() view returns (address)
0x0000000000000000000000000000000000000000
Read-only
discountUsed(bytes) view returns (bool)
getListingPrice(string saleId) view returns (uint256[] minimumCryptoPrice, address[] paymentCurrency)
getRoyaltyInfo(address collectionAddress, uint256 tokenId) view returns (address[] recipients, uint256[] bps)
isAdmin(address admin) view returns (bool)
listings(string) view returns (uint64 nftStartTokenId, uint64 nftEndTokenId, uint64 maxCap, address nftContractAddress, uint256 minimumFiatPrice, struct OnchainBuysettlementList paymentSettlement, uint8 transactionStatus, uint8 paymentStatus, address tokenGatingContract)
signatureEnabled(string) view returns (bool)
supportsInterface(bytes4 interfaceId) view returns (bool)
tokensUsed(string) view returns (uint256)
usedSaleId(string) view returns (bool)
State-modifying
Events approveAdmin(address admin)
buy(struct OnchainBuyBuyList list, uint256 tax, struct OnchainBuyDiscount discount) payable
cancelSale(string saleId)
createOrUpdateSale(struct OnchainBuyPriceList list, string saleId, bool enableSignature)
initialize(address _platformAddress, uint16 _platformFeePercentage, uint64 _max1155Quantity, address _priceFeedAddress, address _royaltycontract, bool _adminApprovalRequired)
renounceOwnership()
revokeAdmin(address admin)
setAdminApproval(bool approval)
setContractData(address _platformAddress, uint16 _platformFeePercentage, uint64 _max1155Quantity, address _royaltyContract, address _pricefeed)
transferOwnership(address newOwner)
withdraw(address paymentCurrency)
AdminApproved(address indexed account, address indexed sender)
AdminRevoked(address indexed account, address indexed sender)
BuyExecuted(address indexed tokenContract, struct OnchainBuyBuyList buyingDetails, uint256 tax, uint256 paymentAmount, uint256[] mintedNfts)
Initialized(uint8 version)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
RoyaltyPayout(address tokenContract, uint256 tokenId, address recipient, uint256 amount)
saleClosed(string saleId)
saleCreated(struct OnchainBuyPriceList saleList, string CreatedOrUpdated)
This contract contains no constructor objects.
fallback()
receive()
This contract contains no error objects.