UniswapExtension
Last updated
Last updated
Blast Pool:
Dapp Pool:
The action for supplying asset
Returns
_0
bytes32
undefined
The action for supplying native token
Returns
_0
bytes32
undefined
The action for supplying pToken
Returns
_0
bytes32
undefined
The action for supplying stEth
Returns
_0
bytes32
undefined
The action for exact input swap thru Uniswap v2
Returns
_0
bytes32
undefined
The action for exact output swap thru Uniswap v2
Returns
_0
bytes32
undefined
The action for exact input swap thru Uniswap v3
Returns
_0
bytes32
undefined
The action for exact output swap thru Uniswap v3
Returns
_0
bytes32
undefined
The address of Blast
Returns
_0
address
undefined
The sub-action for closing long position
Returns
_0
bytes32
undefined
The sub-action for closing short position
Returns
_0
bytes32
undefined
The sub-action for opening long position
Returns
_0
bytes32
undefined
The sub-action for opening short position
Returns
_0
bytes32
undefined
The sub-action for swapping collateral
Returns
_0
bytes32
undefined
The sub-action for swapping debt
Returns
_0
bytes32
undefined
The new owner accepts the ownership transfer.
The address of AlienFinance
Returns
_0
contract IAlienFinance
undefined
Parameters
actions
UniswapExtension.Action[]
undefined
Returns the address of the current owner.
Returns
_0
address
undefined
Returns the address of the pending owner.
Returns
_0
address
undefined
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.
Admin seizes the asset from the contract.
Parameters
recipient
address
The recipient of the seized asset
asset
address
The asset to seize
Starts the ownership transfer of the contract to a new account. Replaces the pending transfer if there is one. Can only be called by the current owner.
Parameters
newOwner
address
undefined
The address of Uniswap V2 factory
Returns
_0
address
undefined
The address of Uniswap V3 factory
Returns
_0
address
undefined
Parameters
sender
address
undefined
amount0
uint256
undefined
amount1
uint256
undefined
_data
bytes
undefined
Called to msg.sender
after executing a swap via IUniswapV3Pool#swap.
In the implementation you must pay the pool tokens owed for the swap. The caller of this method must be checked to be a UniswapV3Pool deployed by the canonical UniswapV3Factory. amount0Delta and amount1Delta can both be 0 if no tokens were swapped.
Parameters
amount0Delta
int256
The amount of token0 that was sent (negative) or must be received (positive) by the pool by the end of the swap. If positive, the callback must send that amount of token0 to the pool.
amount1Delta
int256
The amount of token1 that was sent (negative) or must be received (positive) by the pool by the end of the swap. If positive, the callback must send that amount of token1 to the pool.
_data
bytes
undefined
The address of WETH
Returns
_0
address
undefined
Parameters
previousOwner indexed
address
undefined
newOwner indexed
address
undefined
Parameters
previousOwner indexed
address
undefined
newOwner indexed
address
undefined
The event of a swap being executed
Parameters
user
address
undefined
subAction
bytes32
undefined
tokenIn
address
undefined
tokenOut
address
undefined
amountIn
uint256
undefined
amountOut
uint256
undefined