SwapInput$json top-level constant
Implementation
@$core.Deprecated('Use swapInputDescriptor instead')
const SwapInput$json = const {
'1': 'SwapInput',
'2': const [
const {
'1': 'from_chain',
'3': 1,
'4': 1,
'5': 14,
'6': '.TW.THORChainSwap.Proto.Chain',
'10': 'fromChain'
},
const {'1': 'from_address', '3': 2, '4': 1, '5': 9, '10': 'fromAddress'},
const {
'1': 'to_asset',
'3': 3,
'4': 1,
'5': 11,
'6': '.TW.THORChainSwap.Proto.Asset',
'10': 'toAsset'
},
const {'1': 'to_address', '3': 4, '4': 1, '5': 9, '10': 'toAddress'},
const {'1': 'vault_address', '3': 5, '4': 1, '5': 9, '10': 'vaultAddress'},
const {
'1': 'router_address',
'3': 6,
'4': 1,
'5': 9,
'10': 'routerAddress'
},
const {'1': 'from_amount', '3': 7, '4': 1, '5': 9, '10': 'fromAmount'},
const {
'1': 'to_amount_limit',
'3': 8,
'4': 1,
'5': 9,
'10': 'toAmountLimit'
},
],
};