ReservePool.sol
function reserveOf(address network) public view returns (uint256)
Fetch the credit limit of given member's credit line.
Call Params
Name | Type | Description |
---|---|---|
member | address | address of member with credit line. |
Return Values
Type | Description |
---|---|
uint256 | The credit limit of the given member |
function operatorPool(address network) public view returns (uint256)
Fetch the operatorPool balance of the given network's reserve.
Call Params
Name | Type | Description |
---|---|---|
network | address | address of network with operatorPool balance. |
Return Values
Type | Description |
---|---|
uint256 | The operator pool balance of the provided network |
function targetRTD(address network) public view returns (uint256)
Call Params
Name | Type | Description |
---|---|---|
network | address | address of network with targetRTD. |
Return Values
Type | Description |
---|---|
uint256 | The targetRTD value of the provided network's reserve |
function depositReserve(address network, uint256 amount) public
Deposit referenced amount of given network's reference currency to the network's reserve
Call Params
Name | Type | Description |
---|---|---|
network | address | address of network to deposit reserve funds into |
amount | uint256 | amount of reference currency to deposit |
function withdrawOperator(address network, uint256 amount) public
Call Params
Name | Type | Description |
---|---|---|
network | address | address of network with operatorPool balance. |
amount | uint256 | amount of network's reference currency to withdraw |
Last modified 1mo ago