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