Token Facet
The Token Facet handles the transfers of assets outside the Silo.
Call Functions
Transfers
Transfers an asset from a Farmer's Internal and/or External Balance to a Farmer's Internal or External Balance.
Parameter | Type | Description |
---|---|---|
|
| The token to be transferred. |
|
| The recipient of the transferred tokens (can be |
|
| The amount of tokens to be transferred. |
|
| Specifies what balance to receive the tokens from (see Internal Balances). |
|
| Specifies what balance to send the tokens to (see Internal Balances). |
WIP
Parameter | Type | Description |
---|---|---|
|
| WIP |
|
| WIP |
|
| WIP |
|
| WIP |
|
| WIP |
Approvals
Wraps Ether into WETH.
Parameter | Type | Description |
---|---|---|
|
| The amount of Ether to wrap into WETH. Must be |
|
| Specifies what balance to send the WETH to (see Internal Balances). |
Wraps Ether into WETH.
Parameter | Type | Description |
---|---|---|
|
| The amount of Ether to wrap into WETH. Must be |
|
| Specifies what balance to send the WETH to (see Internal Balances). |
Wraps Ether into WETH.
Parameter | Type | Description |
---|---|---|
|
| The amount of Ether to wrap into WETH. Must be |
|
| Specifies what balance to send the WETH to (see Internal Balances). |
Wraps Ether into WETH.
Parameter | Type | Description |
---|---|---|
|
| The amount of Ether to wrap into WETH. Must be |
|
| Specifies what balance to send the WETH to (see Internal Balances). |
Permits
Wraps Ether into WETH.
Parameter | Type | Description |
---|---|---|
|
| The amount of Ether to wrap into WETH. Must be |
|
| Specifies what balance to send the WETH to (see Internal Balances). |
Wraps Ether into WETH.
Parameter | Type | Description |
---|---|---|
|
| The amount of Ether to wrap into WETH. Must be |
|
| Specifies what balance to send the WETH to (see Internal Balances). |
Wraps Ether into WETH.
Parameter | Type | Description |
---|---|---|
|
| The amount of Ether to wrap into WETH. Must be |
|
| Specifies what balance to send the WETH to (see Internal Balances). |
ERC-1155
Wraps Ether into WETH.
Parameter | Type | Description |
---|---|---|
|
| The amount of Ether to wrap into WETH. Must be |
|
| Specifies what balance to send the WETH to (see Internal Balances). |
Wraps Ether into WETH.
Parameter | Type | Description |
---|---|---|
|
| The amount of Ether to wrap into WETH. Must be |
|
| Specifies what balance to send the WETH to (see Internal Balances). |
WETH
Wraps Ether into WETH.
Parameter | Type | Description |
---|---|---|
|
| The amount of Ether to wrap into WETH. Must be |
|
| Specifies what balance to send the WETH to (see Internal Balances). |
Unwraps WETH into Ether.
Parameter | Type | Description |
---|---|---|
|
| The amount of WETH to unwrap into Ether. |
|
| Specifies what balance to receive the WETH from (see Internal Balances). |
View Functions
Parameter | Type | Description |
---|---|---|
|
| WIP |
|
| WIP |
Return Value | Type | Description |
---|---|---|
|
| WIP |
Parameter | Type | Description |
---|---|---|
|
| WIP |
|
| WIP |
Return Value | Type | Description |
---|---|---|
|
| WIP |
Parameter | Type | Description |
---|---|---|
|
| WIP |
|
| WIP |
Return Value | Type | Description |
---|---|---|
|
| WIP |
Parameter | Type | Description |
---|---|---|
|
| WIP |
|
| WIP |
Return Value | Type | Description |
---|---|---|
|
| WIP |
Parameter | Type | Description |
---|---|---|
|
| WIP |
|
| WIP |
Return Value | Type | Description |
---|---|---|
|
| WIP |
Parameter | Type | Description |
---|---|---|
|
| WIP |
|
| WIP |
Return Value | Type | Description |
---|---|---|
|
| WIP |
Parameter | Type | Description |
---|---|---|
|
| WIP |
|
| WIP |
Return Value | Type | Description |
---|---|---|
|
| WIP |
Parameter | Type | Description |
---|---|---|
|
| WIP |
|
| WIP |
Return Value | Type | Description |
---|---|---|
|
| WIP |
Events
Parameter | Type | Description |
---|---|---|
|
| WIP |
|
| WIP |
|
| WIP |
Parameter | Type | Description |
---|---|---|
|
| WIP |
|
| WIP |
|
| WIP |
|
| WIP |
Last updated