IZtakingPool ​
Functions ​
depositFor ​
Stake a specified amount of a particular supported token into the Ztaking Pool
solidity
function depositFor(address _token, address _for, uint256 _amount) external;Parameters
| Name | Type | Description |
|---|---|---|
_token | address | The token to deposit/stake in the Ztaking Pool |
_for | address | The user to deposit/stake on behalf of |
_amount | uint256 | The amount of token to deposit/stake into the Ztaking Pool |
withdraw ​
Withdraw a specified amount of a particular supported token previously staked into the Ztaking Pool
solidity
function withdraw(address _token, uint256 _amount) external;Parameters
| Name | Type | Description |
|---|---|---|
_token | address | The token to withdraw from the Ztaking Pool |
_amount | uint256 | The amount of token to withdraw from the Ztaking Pool |
balance ​
solidity
function balance(address token_, address staker_) external view returns (uint256);
