OasisDirectProxy
function
buyAllAmountBuyEth
nonpayable
Inputs
| Parameter | Type | Description |
|---|---|---|
| otc | address | |
| wethToken | address | |
| wethAmt | uint256 | |
| payToken | address | |
| maxPayAmt | uint256 |
Outputs
| Type | Description |
|---|---|
| uint256 |
function
buyAllAmount
nonpayable
Inputs
| Parameter | Type | Description |
|---|---|---|
| otc | address | |
| buyToken | address | |
| buyAmt | uint256 | |
| payToken | address | |
| maxPayAmt | uint256 |
Outputs
| Type | Description |
|---|---|
| uint256 |
function
sellAllAmount
nonpayable
Inputs
| Parameter | Type | Description |
|---|---|---|
| otc | address | |
| payToken | address | |
| payAmt | uint256 | |
| buyToken | address | |
| minBuyAmt | uint256 |
Outputs
| Type | Description |
|---|---|
| uint256 |
function
sellAllAmountBuyEth
nonpayable
Inputs
| Parameter | Type | Description |
|---|---|---|
| otc | address | |
| payToken | address | |
| payAmt | uint256 | |
| wethToken | address | |
| minBuyAmt | uint256 |
Outputs
| Type | Description |
|---|---|
| uint256 |
function
sellAllAmountPayEth
payable
Inputs
| Parameter | Type | Description |
|---|---|---|
| otc | address | |
| wethToken | address | |
| buyToken | address | |
| minBuyAmt | uint256 |
Outputs
| Type | Description |
|---|---|
| uint256 |
function
buyAllAmountPayEth
payable
Inputs
| Parameter | Type | Description |
|---|---|---|
| otc | address | |
| buyToken | address | |
| buyAmt | uint256 | |
| wethToken | address |
Outputs
| Type | Description |
|---|---|
| uint256 |
ProxyCreationAndExecute
function
createAndSellAllAmount
nonpayable
Inputs
| Parameter | Type | Description |
|---|---|---|
| factory | address | |
| otc | address | |
| payToken | address | |
| payAmt | uint256 | |
| buyToken | address | |
| minBuyAmt | uint256 |
Outputs
| Type | Description |
|---|---|
| address | |
| uint256 |
function
createAndBuyAllAmount
nonpayable
Inputs
| Parameter | Type | Description |
|---|---|---|
| factory | address | |
| otc | address | |
| buyToken | address | |
| buyAmt | uint256 | |
| payToken | address | |
| maxPayAmt | uint256 |
Outputs
| Type | Description |
|---|---|
| address | |
| uint256 |
function
createAndSellAllAmountBuyEth
nonpayable
Inputs
| Parameter | Type | Description |
|---|---|---|
| factory | address | |
| otc | address | |
| payToken | address | |
| payAmt | uint256 | |
| minBuyAmt | uint256 |
Outputs
| Type | Description |
|---|---|
| address | |
| uint256 |
function
createAndBuyAllAmountBuyEth
nonpayable
Inputs
| Parameter | Type | Description |
|---|---|---|
| factory | address | |
| otc | address | |
| wethAmt | uint256 | |
| payToken | address | |
| maxPayAmt | uint256 |
Outputs
| Type | Description |
|---|---|
| address | |
| uint256 |
function
createAndSellAllAmountPayEth
payable
Inputs
| Parameter | Type | Description |
|---|---|---|
| factory | address | |
| otc | address | |
| buyToken | address | |
| minBuyAmt | uint256 |
Outputs
| Type | Description |
|---|---|
| address | |
| uint256 |
function
createAndBuyAllAmountPayEth
payable
Inputs
| Parameter | Type | Description |
|---|---|---|
| factory | address | |
| otc | address | |
| buyToken | address | |
| buyAmt | uint256 |
Outputs
| Type | Description |
|---|---|
| address | |
| uint256 |
constructor
ProxyCreationAndExecute
nonpayable
Inputs
| Parameter | Type | Description |
|---|---|---|
| wethToken_ | address |
Outputs
(void)
fallback
(fallback)
payable
Inputs
(void)
Outputs
(void)