InterceptorManager
Last updated
Last updated
It allows adding/removing interceptor for trading on the Bend exchange.
Add a interceptor in the system
Parameters
Name | Type | Description |
---|---|---|
Remove a interceptor from the system
Parameters
Name | Type | Description |
---|---|---|
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
Returns if a interceptor is in the system
Parameters
Returns
Returns the address of the current owner.
Returns
View number of whitelisted currencies
Returns
See whitelisted interceptors in the system
Parameters
Returns
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 |
---|---|---|
interceptor
address
address of the interceptor to add
interceptor
address
address of the interceptor to remove
newOwner
address
address of the new owner
interceptor
address
address of the interceptor
-
bool
whether interceptor is whitelisted
owner
address
address of the current owner
-
uint256
number of currencies valid on the exchange
cursor
uint256
cursor (should start at 0 for first request)
size
uint256
size of the response (e.g., 50)
-
address[]
array of currency addresses
cursor
uint256
cursor position
interceptor indexed
address
address of the interceptor
interceptor indexed
address
address of the interceptor
previousOwner indexed
address
address of the previous owner
newOwner indexed
address
address of the new owner