Note: If you are unsure about how to ensure you have a valid L2 address, please reach out to the core team on Discord.
migrateDelegator
transaction parameters if the L1 address has stake to
migratemigrateUnbondingLocks
transaction parameters if the L1 address has
unbonding locks (i.e., undelegated stake) to migrate0x21146B872D3A95d2cF9afeD03eE5a783DaE9A89A
migrateDelegator
with the following parameters:
address _l1Addr
: the address of your L1 contract wallet that has stake to
migrateaddress _l2Addr
: the address on L2 that will receive migrated stake (the
L2 address you created prior).bytes _sig
: this parameter can be left blankuint256 _maxGas
: the maxGas
printed by the command-line tooluint256 _gasPriceBid
: the gasPriceBid
printed by the command-line tooluint256 _maxSubmissionCost
: the maxSubmissionCost
printed by the
command-line toolvalue
printed
by the command-line tool. The value
printed by the command-line tool is
denominated in Wei, so make sure to convert it into the units (i.e.,
Ether) required by the tool you are using to submit the transaction.
0x21146B872D3A95d2cF9afeD03eE5a783DaE9A89A
migrateUnbondingLocks
with the following parameters:
address _l1Addr
: the address of your L1 contract wallet that has unbonding
locks to migrateaddress _l2Addr
: the address on L2 that will receive the total stake of
migrated unbonding locks (the L2 address you created prior).uint256[] _unbondingLockIds
: The array of IDs for unbonding locks that
will be migratedbytes _sig
: This parameter can be ignored and left blankuint256 _maxGas
: This should be the maxGas
printed by the command-line
tooluint256 _gasPriceBid
: This should be the gasPriceBid
printed by the
command-line tooluint256 _maxSubmissionCost
: This should be the maxSubmissionCost
printed
by the command-line toolvalue
printed
by the command-line tool. The value
printed by the command-line tool is
denominated in Wei, so make sure to convert it into the units (i.e.,
Ether) required by the tool you are using to submit the transaction.<L1_TX_HASH>
is the hash of the L1 transaction submitted by your contract
wallet.
The command will notify you when the transaction is finalized on L2. You
should then be able to navigate to the
Livepeer Explorer to find the L2 address you
specified and view the migrated stake owned by that address.