chore: use generated types from vega protos - improvements

This commit is contained in:
maciek
2023-06-22 11:58:45 +02:00
parent 8f8f152050
commit 6df93cf7a4
@@ -39,10 +39,8 @@ export function addVegaWalletTopUpRewardsPool() {
const transactionBody: TransferBody = {
transfer: {
fromAccountType:
vegaProtos.AccountType.ACCOUNT_TYPE_GENERAL,
toAccountType:
vegaProtos.AccountType.ACCOUNT_TYPE_GLOBAL_REWARD,
fromAccountType: vegaProtos.AccountType.ACCOUNT_TYPE_GENERAL,
toAccountType: vegaProtos.AccountType.ACCOUNT_TYPE_GLOBAL_REWARD,
to: '0000000000000000000000000000000000000000000000000000000000000000',
asset: assetAddress,
amount: '1000000000000000000',