BendExchange
Last updated
Last updated
It is the core contract of the Bend exchange.
Match a takerBid with a matchAsk
Parameters
Name | Type | Description |
---|---|---|
Match ask with a taker bid order using ETH
Parameters
Name | Type | Description |
---|---|---|
Match a takerAsk with a makerBid
Parameters
Cancel all pending orders for a sender
Parameters
Cancel maker orders
Parameters
Parameters
Leaves the contract without owner. It will not be possible to call onlyOwner
functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner.
Transfers ownership of the contract to a new account (newOwner
). Can only be called by the current owner.
Parameters
Update authorization manager
Parameters
Update currency manager
Parameters
Update execution manager
Parameters
Update protocol fee and recipient
Parameters
Update royalty fee manager
Parameters
Update transfer manager
Parameters
Update interceptor manager
Parameters
Returns
Returns
Returns
Returns
Returns
Returns
Returns
Returns
Check whether user order nonce is executed or cancelled
Parameters
Returns
Returns
Returns the address of the current owner.
Returns
Parameters
Returns
Parameters
Parameters
Parameters
Parameters
Parameters
Parameters
Parameters
Parameters
Parameters
Parameters
Parameters
Parameters
Parameters
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
takerBid
OrderTypes.TakerOrder
taker bid order
makerAsk
OrderTypes.MakerOrder
maker ask order
takerBid
OrderTypes.TakerOrder
taker bid order
makerAsk
OrderTypes.MakerOrder
maker ask order
takerAsk
OrderTypes.TakerOrder
taker ask order
makerBid
OrderTypes.MakerOrder
maker bid order
minNonce
uint256
minimum user nonce
orderNonces
uint256[]
array of order nonces
user indexed
address
user address
orderNonces
uint256[]
array of order nonces that are cancelled
newOwner
address
address of the new owner
_authorizationManager
address
new authorization manager address
_currencyManager
address
new currency manager address
_executionManager
address
new execution manager address
_protocolFeeRecipient
address
new recipient for protocol fees
_royaltyFeeManager
address
new fee manager address
_transferManager
address
new transfer manager address
_interceptorManager
address
new interceptor manager address
DOMAIN_SEPARATOR
bytes32
EIP-712 domain separator for the exchange
WETH
address
address of the WETH ("Wrapped Ether") contract
contract IAuthorizationManager
address of the AuthorizationManager
currencyManager
contract ICurrencyManager
address of the CurrencyManager
executionManager
contract IExecutionManager
address of the ExecutionManager
royaltyFeeManager
contract IRoyaltyFeeManager
address of the RoyaltyFeeManager
transferManager
contract ITransferManager
address of the TransferManager contract
interceptorManager
contract IInterceptorManager
address of the InterceptorManager contract
user
address
address of user
orderNonce
uint256
nonce of the order
-
bool
whether the user order nonce is executed or cancelled (for cancels, it needs to be checked against the minOrderNonce too)
protocolFeeRecipient
address
address of the protocol fee recipient
owner
address
address of the current owner
user
address
user address
minOrderNonce
uint256
minimum order nonce that defines the validity of user orders. If an order has a nonce inferior to the minOrderNonce, it cannot be executed.
user indexed
address
user address
newMinNonce
uint256
new minimum order nonce
authorizationManager indexed
address
address of the new AuthorizationManager
currencyManager indexed
address
address of the new CurrencyManager
executionManager indexed
address
address of the new ExecutionManager
protocolFeeRecipient indexed
address
address of the new protocol fee recipient
royaltyFeeManager indexed
address
address of the new RoyaltyFeeManager
transferManager indexed
address
address of the new TransferManager
interceptorManager indexed
address
address of the new InterceptorManager
previousOwner indexed
address
address of the previous owner
newOwner indexed
address
address of the new owner
collection indexed
address
collection address
tokenId indexed
uint256
tokenId
royaltyRecipient indexed
address
royalty fee recipient
currency
address
currency used (e.g., WETH)
amount
uint256
royalty amount transferred
collection indexed
address
collection address
tokenId indexed
uint256
tokenId
protocolFeeRecipient indexed
address
protocol fee recipient
currency
address
currency used (e.g., WETH)
amount
uint256
royalty amount transferred
orderHash
bytes32
order hash
orderNonce
uint256
user order nonce (for the maker)
taker indexed
address
taker address
maker indexed
address
maker address
strategy indexed
address
address of the execution strategy
currency
address
currency address
collection
address
collection address
tokenId
uint256
tokenId
amount
uint256
amount of tokens transferred
price
uint256
gross transaction price
orderHash
bytes32
order hash
orderNonce
uint256
user order nonce (for the maker)
taker indexed
address
taker address
maker indexed
address
maker address
strategy indexed
address
address of the execution strategy
currency
address
currency address
collection
address
collection address
tokenId
uint256
tokenId
amount
uint256
amount of tokens transferred
price
uint256
gross transaction price