receive()
payable external
unwrapWNativeToken(uint256,address)
payable external
Unwraps the contract's WNativeToken balance and sends it to recipient as NativeToken.
Name | Type | Description |
---|---|---|
sweepToken(address,uint256,address)
payable external
Transfers the full amount of a token held by this contract to recipient
Name | Type | Description |
---|---|---|
refundNativeToken()
payable external
Refunds any NativeToken balance held by this contract to the `msg.sender`
receive()
payable external
unwrapWNativeToken(uint256,address)
payable external
Unwraps the contract's WNativeToken balance and sends it to recipient as NativeToken.
sweepToken(address,uint256,address)
payable external
Transfers the full amount of a token held by this contract to recipient
refundNativeToken()
payable external
Refunds any NativeToken balance held by this contract to the `msg.sender`
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
amountMinimum
uint256
The minimum amount of WNativeToken to unwrap
recipient
address
The address receiving NativeToken
token
address
The contract address of the token which will be transferred to `recipient`
amountMinimum
uint256
The minimum amount of token required for a transfer
recipient
address
The destination address of the token
amountMinimum
uint256
The minimum amount of WNativeToken to unwrap
recipient
address
The address receiving NativeToken
token
address
The contract address of the token which will be transferred to `recipient`
amountMinimum
uint256
The minimum amount of token required for a transfer
recipient
address
The destination address of the token