CreditBondOfferingMarket
Verified contract
Implementation
Active on
Ethereum with 1 txns
Storage
Map
Table
Raw
Constants and immutables
2
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
-
variable spans 1 additional slot
0x4b31…798a
Balances ($0.00)
No balances found for "CreditBondOfferingMarket"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 15787819 | 2 years ago | | | 0 | 0.0043228845 |
ABI
ABI objects
Getter at block 21313606
admin() view returns (address)
0x21bc9179d5c529b52e3ee8f6ecf0e63fa231d16c
nextOfferingId() view returns (uint24)
1
nextTradeId() view returns (uint24)
1
pendingAdmin() view returns (address)
0x0000000000000000000000000000000000000000
solver() view returns (address)
0x4b3140cd15f49b39669cca31e802817f0be7798a
Read-only
getDecliningPrice(uint24 offeringId_) view returns (uint128 highest, uint128 lowest, uint32 startTime, uint32 duration, uint32 interval)
getFixedPrice(uint24 offeringId_) view returns (uint128)
getPrice(uint24 offeringId_) view returns (uint128)
isBuyerAllowed(address voucher_, address buyer_) view returns (bool)
isSupportVoucherType(uint8 voucherType_) pure returns (bool)
markets(address) view returns (uint8 voucherType, address voucherPool, address asset, uint8 decimals, uint16 feeRate, bool onlyManangerOffer, bool isValid)
mintParameters(uint24 offeringId_) view returns (struct CreditBondOfferingMarketMintParameter)
offeringIdOfvoucherByIndex(address voucher_, uint256 index_) view returns (uint256)
offerings(uint24) view returns (uint24 offeringId, uint32 startTime, uint32 endTime, uint8 priceType, uint128 totalUnits, uint128 units, uint128 min, uint128 max, address voucher, address currency, address issuer, bool useAllowList, bool isValid)
purchasedUnits(uint24 offeringId_, address buyer_) view returns (uint128)
totalOfferingsOfvoucher(address voucher_) view returns (uint256)
voucherManagers(address voucher_) view returns (address[] managers_)
State-modifying
Events acceptAdmin()
addAllowAddress(address voucher_, address[] addresses_, bool resetExisting_)
addMarket(address voucher_, address voucherPool_, uint8 voucherType_, address asset_, uint8 decimals_, uint16 feeRate_, bool onlyManangerOffer_)
buy(uint24 offeringId_, uint128 units_) payable returns (uint256 amount_, uint128 fee_)
initialize(address solver_)
offer(address voucher_, address currency_, uint128 totalValue_, uint128 min_, uint128 max_, uint32 startTime_, uint32 endTime_, bool useAllowList_, uint8 priceType_, bytes priceData_, struct CreditBondOfferingMarketMintParameter mintParameter_) returns (uint24 offeringId)
remove(uint24 offeringId_)
removeAllowAddress(address voucher_, address[] addresses_)
removeMarket(address voucher_)
setCurrency(address currency_, bool enable_)
setPendingAdmin(address newPendingAdmin_)
setSolver(address newSolver_)
setVoucherManager(address voucher_, address[] managers_, bool resetExisting_)
withdrawFee(address currency_, uint256 reduceAmount_)
AddMarket(address indexed voucher, uint8 voucherType, address asset, uint8 decimals, uint16 feeRate, bool onlyManangerOffer)
DecliningPriceSet(address indexed voucher, uint24 indexed offeringId, uint128 highest, uint128 lowest, uint32 duration, uint32 interval)
FixedPriceSet(address indexed voucher, uint24 indexed offeringId, uint8 priceType, uint128 lastPrice)
NewAdmin(address oldAdmin, address newAdmin)
NewPendingAdmin(address oldPendingAdmin, address newPendingAdmin)
NewSolver(address oldSolver, address newSolver)
Offer(address indexed voucher, address indexed issuer, struct OfferingMarketCoreOffering offering)
Remove(address indexed issuer, uint24 indexed offeringId, address voucher, uint128 total, uint128 sold)
RemoveMarket(address indexed voucher)
SetCurrency(address indexed currency, bool enable)
Traded(address indexed buyer, uint24 indexed offeringId, address indexed voucher, uint256 voucherId, uint24 tradeId, uint32 tradeTime, address currency, uint8 priceType, uint128 price, uint128 tradedUnits, uint256 tradedAmount, uint128 fee)
WithdrawFee(address voucher, uint256 reduceAmount)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.