SwapInput$json top-level constant
Implementation
@$core.Deprecated('Use swapInputDescriptor instead')
const SwapInput$json = {
'1': 'SwapInput',
'2': [
{
'1': 'from_asset',
'3': 1,
'4': 1,
'5': 11,
'6': '.TW.THORChainSwap.Proto.Asset',
'10': 'fromAsset'
},
{'1': 'from_address', '3': 2, '4': 1, '5': 9, '10': 'fromAddress'},
{
'1': 'to_asset',
'3': 3,
'4': 1,
'5': 11,
'6': '.TW.THORChainSwap.Proto.Asset',
'10': 'toAsset'
},
{'1': 'to_address', '3': 4, '4': 1, '5': 9, '10': 'toAddress'},
{'1': 'vault_address', '3': 5, '4': 1, '5': 9, '10': 'vaultAddress'},
{'1': 'router_address', '3': 6, '4': 1, '5': 9, '10': 'routerAddress'},
{'1': 'from_amount', '3': 7, '4': 1, '5': 9, '10': 'fromAmount'},
{'1': 'to_amount_limit', '3': 8, '4': 1, '5': 9, '10': 'toAmountLimit'},
{
'1': 'affiliate_fee_address',
'3': 9,
'4': 1,
'5': 9,
'10': 'affiliateFeeAddress'
},
{
'1': 'affiliate_fee_rate_bp',
'3': 10,
'4': 1,
'5': 9,
'10': 'affiliateFeeRateBp'
},
{'1': 'extra_memo', '3': 11, '4': 1, '5': 9, '10': 'extraMemo'},
{'1': 'expiration_time', '3': 12, '4': 1, '5': 4, '10': 'expirationTime'},
{
'1': 'stream_params',
'3': 13,
'4': 1,
'5': 11,
'6': '.TW.THORChainSwap.Proto.StreamParams',
'10': 'streamParams'
},
],
};