Offers
function
bidderWithdrawFunds
nonpayable
Restricted (whenFrozen)
Inputs
| Parameter | Type | Description |
|---|---|---|
| _tokenId | uint256 |
Outputs
(void)
function
cancelOffer
nonpayable
Restricted (whenNotFrozen)
Inputs
| Parameter | Type | Description |
|---|---|---|
| _tokenId | uint256 |
Outputs
(void)
function
fulfillOffer
nonpayable
Restricted (whenNotFrozen)
Inputs
| Parameter | Type | Description |
|---|---|---|
| _tokenId | uint256 | |
| _minOfferPrice | uint128 |
Outputs
(void)
function
batchRemoveExpired
nonpayable
Restricted (whenNotFrozen)
Inputs
| Parameter | Type | Description |
|---|---|---|
| _tokenIds | uint256[] |
Outputs
(void)
function
createOffer
payable
Restricted (whenNotFrozen)
Inputs
| Parameter | Type | Description |
|---|---|---|
| _tokenId | uint256 |
Outputs
(void)
function
updateOffer
payable
Restricted (whenNotFrozen)
Inputs
| Parameter | Type | Description |
|---|---|---|
| _tokenId | uint256 |
Outputs
(void)
constructor
Offers
nonpayable
Inputs
| Parameter | Type | Description |
|---|---|---|
| _nftAddress | address | |
| _cooAddress | address | |
| _globalDuration | uint256 | |
| _minimumTotalValue | uint256 | |
| _minimumPriceIncrement | uint256 | |
| _unsuccessfulFee | uint256 | |
| _offerCut | uint256 |
Outputs
(void)
fallback
(fallback)
payable
Inputs
(void)
Outputs
(void)
OffersAccessControl
function
setCFO
nonpayable
Restricted (onlyCEO)
Inputs
| Parameter | Type | Description |
|---|---|---|
| _newCFO | address |
Outputs
(void)
function
setCOO
nonpayable
Restricted (onlyCEO)
Inputs
| Parameter | Type | Description |
|---|---|---|
| _newCOO | address |
Outputs
(void)
function
setCEO
nonpayable
Restricted (onlyCEO)
Inputs
| Parameter | Type | Description |
|---|---|---|
| _newCEO | address |
Outputs
(void)
function
setLostAndFound
nonpayable
Restricted (onlyCEO)
Inputs
| Parameter | Type | Description |
|---|---|---|
| _newLostAndFound | address |
Outputs
(void)
function
withdrawTotalCFOEarnings
nonpayable
Restricted (onlyCFO)
Inputs
(void)
Outputs
(void)
function
freeze
nonpayable
Restricted (onlyCeoOrCfo, whenNotFrozen)
Inputs
(void)
Outputs
(void)
function
withdrawTotalLostAndFoundBalance
nonpayable
Restricted (onlyLostAndFound)
Inputs
(void)
Outputs
(void)
OffersBase
event
PushFundsFailed
Inputs
| Parameter | Type | Description |
|---|---|---|
| tokenId | uint256 | |
| to | address | |
| amount | uint256 |
Outputs
(void)
event
BidderWithdrewFundsWhenFrozen
Inputs
| Parameter | Type | Description |
|---|---|---|
| tokenId | uint256 | |
| bidder | address | |
| amount | uint256 |
Outputs
(void)
event
ExpiredOfferRemoved
Inputs
| Parameter | Type | Description |
|---|---|---|
| tokenId | uint256 | |
| bidder | address | |
| bidderReceived | uint256 | |
| fee | uint256 |
Outputs
(void)
event
OfferUpdated
Inputs
| Parameter | Type | Description |
|---|---|---|
| tokenId | uint256 | |
| bidder | address | |
| newExpiresAt | uint256 | |
| totalRaised | uint256 |
Outputs
(void)
event
OfferFulfilled
Inputs
| Parameter | Type | Description |
|---|---|---|
| tokenId | uint256 | |
| bidder | address | |
| owner | address | |
| ownerReceived | uint256 | |
| fee | uint256 |
Outputs
(void)
event
OfferCancelled
Inputs
| Parameter | Type | Description |
|---|---|---|
| tokenId | uint256 | |
| bidder | address | |
| bidderReceived | uint256 | |
| fee | uint256 |
Outputs
(void)
event
OfferCreated
Inputs
| Parameter | Type | Description |
|---|---|---|
| tokenId | uint256 | |
| bidder | address | |
| expiresAt | uint256 | |
| total | uint256 | |
| offerPrice | uint256 |
Outputs
(void)
OffersConfig
function
setUnsuccessfulFee
nonpayable
Restricted (onlyCOO, whenNotFrozen)
Inputs
| Parameter | Type | Description |
|---|---|---|
| _newUnsuccessfulFee | uint256 |
Outputs
(void)
function
setGlobalDuration
nonpayable
Restricted (onlyCOO, whenNotFrozen)
Inputs
| Parameter | Type | Description |
|---|---|---|
| _newDuration | uint256 |
Outputs
(void)
function
setMinimumTotalValue
nonpayable
Restricted (onlyCOO, whenNotFrozen)
Inputs
| Parameter | Type | Description |
|---|---|---|
| _newMinTotal | uint256 |
Outputs
(void)
function
setMinimumPriceIncrement
nonpayable
Restricted (onlyCOO, whenNotFrozen)
Inputs
| Parameter | Type | Description |
|---|---|---|
| _newMinimumPriceIncrement | uint256 |
Outputs
(void)
function
setOfferCut
nonpayable
Restricted (onlyCOO, whenNotFrozen)
Inputs
| Parameter | Type | Description |
|---|---|---|
| _newOfferCut | uint256 |
Outputs
(void)
event
UnsuccessfulFeeUpdated
Inputs
| Parameter | Type | Description |
|---|---|---|
| value | uint256 |
Outputs
(void)
event
OfferCutUpdated
Inputs
| Parameter | Type | Description |
|---|---|---|
| value | uint256 |
Outputs
(void)
event
MinimumPriceIncrementUpdated
Inputs
| Parameter | Type | Description |
|---|---|---|
| value | uint256 |
Outputs
(void)
event
MinimumTotalValueUpdated
Inputs
| Parameter | Type | Description |
|---|---|---|
| value | uint256 |
Outputs
(void)
event
GlobalDurationUpdated
Inputs
| Parameter | Type | Description |
|---|---|---|
| value | uint256 |
Outputs
(void)
function
nonFungibleContract
view
Inputs
(void)
Outputs
| Type | Description |
|---|---|
| address |
function
minimumPriceIncrement
view
Inputs
(void)
Outputs
| Type | Description |
|---|---|
| uint256 |
function
tokenIdToOffer
view
Inputs
| Parameter | Type | Description |
|---|---|---|
| uint256 |
Outputs
| Type | Description |
|---|---|
| uint64 | |
| address | |
| uint16 | |
| uint128 | |
| uint128 |
function
unsuccessfulFee
view
Inputs
(void)
Outputs
| Type | Description |
|---|---|
| uint256 |
function
offerCut
view
Inputs
(void)
Outputs
| Type | Description |
|---|---|
| uint256 |
function
cooAddress
view
Inputs
(void)
Outputs
| Type | Description |
|---|---|
| address |
function
totalLostAndFoundBalance
view
Inputs
(void)
Outputs
| Type | Description |
|---|---|
| uint256 |
function
minimumTotalValue
view
Inputs
(void)
Outputs
| Type | Description |
|---|---|
| uint256 |
function
totalCFOEarnings
view
Inputs
(void)
Outputs
| Type | Description |
|---|---|
| uint256 |
function
lostAndFoundAddress
view
Inputs
(void)
Outputs
| Type | Description |
|---|---|
| address |
function
globalDuration
view
Inputs
(void)
Outputs
| Type | Description |
|---|---|
| uint256 |
function
ceoAddress
view
Inputs
(void)
Outputs
| Type | Description |
|---|---|
| address |
function
frozen
view
Inputs
(void)
Outputs
| Type | Description |
|---|---|
| bool |
function
cfoAddress
view
Inputs
(void)
Outputs
| Type | Description |
|---|---|
| address |