...r, _amount);
return _amount;
}
// Calculate and mint the amount of superToken the stakeToken is worth. The ratio will change overtime, as superToken is burned/minted and stakeToken deposited + gained from fees / withdrawn.
else {
uint256 what = _a...
...g.openzeppelin.com/mo...](https://learnblockchain.cn/article/16220/monitor-and-relayers-are-now-open-source)
>- 登链社区 AI 助手,为大家转译优秀英文文章,如有翻译不通的地方,还请包涵~
...
/// Swap the `i`th element of the TableVec `t` with the last element and then pop the TableVec.
/// This is O(1), but does not preserve ordering of elements in the TableVec.
/// Aborts if `i` is out of bounds.
public fun swap_remove(t: &mut TableVec, i: u64): Element {
...