> For the complete documentation index, see [llms.txt](https://docs.verified.network/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.verified.network/reference/verified-sdk/staking-to-borrow/bond-issuing-function.md).

# Bond issuing function

Function definition

### Issuing Via bonds for ether

`requestIssueForEther(_viaBondToIssue, _amount)`

| Function parameter | Description                                                            |
| ------------------ | ---------------------------------------------------------------------- |
| \_viaBondToIssue   | 3 letter ISO code of the currency in which Via bond is to be issued in |
| \_amount           | float number of ether to stake for issue                               |

### Purchase of Via bonds with Via cash

`requestIssueForViaCash(_amount, _viaBondToIssue, _currencyToDebit)`

| Function parameter | Description                                                         |
| ------------------ | ------------------------------------------------------------------- |
| \_amount           | float number of amount to purchase                                  |
| \_viaBondToIssue   | address of Via bond to purchase                                     |
| \_currencyToDebit  | 3 letter ISO code of currency of Via cash to purchase Via bond with |

### Transfer of Via bonds

`requestTransfer(_amount, _recipient, _bondToTransfer)`

| Function parameter | Description                                                 |
| ------------------ | ----------------------------------------------------------- |
| \_amount           | float number amount of Via bond to transfer                 |
| \_recipient        | address of recipient to which Via bond is to be transferred |
| \_bondToTransfer   | address of Via bond to transfer                             |

### Redemption of Via bonds by investor

`redemptionByInvestor(_amount, _bondToRedeem)`

| Function parameter | Description                               |
| ------------------ | ----------------------------------------- |
| \_amount           | float number amount of Via bond to redeem |
| \_bondToRedeem     | address of Via bond to redeem             |

### Redemption of Via bonds by issuer

`function redemptionByIssuer(_amount, _bondToRedeem, _currencyToRedeemBond)`

| Function parameter     | Description                                                       |
| ---------------------- | ----------------------------------------------------------------- |
| \_amount               | float number of amount to redeem                                  |
| \_bondToRedeem         | address of Via bond to redeem                                     |
| \_currencyToRedeemBond | 3 letter ISO code of currency of Via cash to redeem Via bond with |
