StakingV1_1
upgrade
upgrade
Upgrades all codes and main data related to staking version v1.1.
Parameters:
Name | Type | Description |
---|---|---|
code | TvmCell | Staking V1_1 platformโs code |
send_gas_to | address | Address where to send remaining gas |
sendRelaysToRelayRound
sendRelaysToRelayRound
Sets relayers to the specific round.
Parameters:
Name | Type | Description |
---|---|---|
relay_round | uint32 | relayer round id |
_ton_keys | uint256[] | List of ton accountsโ public keys |
_eth_addrs | uint160[] | List of ethereum accountsโ addresses |
_staker_addrs | address[] | List of stakersโ address |
_staked_tokens | uint128[] | List of amounts of staked tokens |
onCodeUpgrade
onCodeUpgrade
After the code upgrade, this method emits the StakingUpdated event.
Parameters:
Name | Type | Description |
---|---|---|
upgrade_data | TvmCell | Upgraded election data in cell format |
Events emitted:
StakingUpdated
Last updated