diff --git a/packages/portfolio-contract/src/pos-gmp.flows.ts b/packages/portfolio-contract/src/pos-gmp.flows.ts index df4cd4a6c1a..241c68beca7 100644 --- a/packages/portfolio-contract/src/pos-gmp.flows.ts +++ b/packages/portfolio-contract/src/pos-gmp.flows.ts @@ -171,6 +171,13 @@ export const CCTPfromEVM = { } as const satisfies TransportDetail<'CCTP', AxelarChain, 'agoric', EVMContext>; harden(CCTPfromEVM); +/** + * Noble CCTP relayer policy is to not relay very small amounts. + * + * XXX could be configurable for test networks + */ +const CCTP_OUTBOUND_THRESHOLD = 1_000_000n; + export const CCTP = { how: 'CCTP', connections: keys(AxelarChain).map((dest: AxelarChain) => ({ @@ -182,6 +189,8 @@ export const CCTP = { const denomAmount: DenomAmount = { denom: 'uusdc', value: amount.value }; const { chainId, remoteAddress } = dest; traceTransfer('transfer', denomAmount, 'to', remoteAddress); + amount.value >= CCTP_OUTBOUND_THRESHOLD || + Fail`too small to relay: ${amount} below ${CCTP_OUTBOUND_THRESHOLD}`; const destinationAddress: AccountId = `${chainId}:${remoteAddress}`; const { ica } = src; diff --git a/packages/portfolio-contract/test/portfolio.flows.test.ts b/packages/portfolio-contract/test/portfolio.flows.test.ts index b4143cfe5b0..44f2e4eee44 100644 --- a/packages/portfolio-contract/test/portfolio.flows.test.ts +++ b/packages/portfolio-contract/test/portfolio.flows.test.ts @@ -640,7 +640,7 @@ test( ); test('open portfolio with Aave position', async t => { - const amount = AmountMath.make(USDC, 300n); + const amount = AmountMath.make(USDC, 2_000_000n); const feeAcct = AmountMath.make(BLD, 50n); const detail = { evmGas: 50n }; const feeCall = AmountMath.make(BLD, 100n); @@ -678,7 +678,7 @@ test('open portfolio with Aave position', async t => { { _method: 'transfer', address: { chainId: 'axelar-6' } }, { _method: 'localTransfer', - amounts: { Deposit: { value: 300n } }, + amounts: { Deposit: { value: 2_000_000n } }, }, { _method: 'transfer', address: { chainId: 'noble-5' } }, { _method: 'depositForBurn' }, @@ -707,7 +707,7 @@ test.skip('reject missing fee before committing anything', t => { test('open portfolio with Compound position', async t => { const { give, steps } = await makePortfolioSteps( - { Compound: make(USDC, 300n) }, + { Compound: make(USDC, 2_000_000n) }, { fees: { Compound: { Account: make(BLD, 300n), Call: make(BLD, 100n) } } }, ); const { orch, tapPK, ctx, offer, storage, txResolver } = mocks({}, give); @@ -730,7 +730,7 @@ test('open portfolio with Compound position', async t => { { _method: 'transfer', address: { chainId: 'noble-5' } }, { _method: 'send' }, { _method: 'transfer', address: { chainId: 'axelar-6' } }, - { _method: 'localTransfer', amounts: { Deposit: { value: 300n } } }, + { _method: 'localTransfer', amounts: { Deposit: { value: 2_000_000n } } }, { _method: 'transfer', address: { chainId: 'noble-5' } }, { _method: 'depositForBurn' }, { _method: 'send' }, @@ -941,7 +941,7 @@ test.skip('rebalance handles stepFlow failure correctly', async t => { }); test('claim rewards on Aave position', async t => { - const amount = AmountMath.make(USDC, 300n); + const amount = AmountMath.make(USDC, 2_000_000n); const emptyAmount = AmountMath.make(USDC, 0n); const feeCall = AmountMath.make(BLD, 100n); const { orch, tapPK, ctx, offer, storage, txResolver } = mocks( @@ -999,7 +999,7 @@ test('claim rewards on Aave position', async t => { }); test('open portfolio with Beefy position', async t => { - const amount = AmountMath.make(USDC, 300n); + const amount = AmountMath.make(USDC, 2_000_000n); const feeAcct = AmountMath.make(BLD, 50n); const detail = { evmGas: 50n }; const feeCall = AmountMath.make(BLD, 100n); @@ -1041,7 +1041,7 @@ test('open portfolio with Beefy position', async t => { { _method: 'transfer', address: { chainId: 'axelar-6' } }, { _method: 'localTransfer', - amounts: { Deposit: { value: 300n } }, + amounts: { Deposit: { value: 2_000_000n } }, }, { _method: 'transfer', address: { chainId: 'noble-5' } }, { _method: 'depositForBurn' }, @@ -1062,7 +1062,7 @@ test('open portfolio with Beefy position', async t => { }); test('wayFromSrcToDesc handles +agoric -> @agoric', t => { - const amount = AmountMath.make(USDC, 300n); + const amount = AmountMath.make(USDC, 2_000_000n); const actual = wayFromSrcToDesc({ src: '+agoric', dest: '@agoric', amount }); t.deepEqual(actual, { how: 'send' }); }); @@ -1071,7 +1071,7 @@ test('Engine can move deposits +agoric -> @agoric', async t => { const { orch, ctx, offer, storage } = mocks({}, {}); const { log } = offer; - const amount = AmountMath.make(USDC, 300n); + const amount = AmountMath.make(USDC, 2_000_000n); const kit = await ctx.makePortfolioKit(); await rebalance( @@ -1099,7 +1099,7 @@ test('client can move to deposit LCA', async t => { const { orch, ctx, offer, storage } = mocks({}, {}); const { log } = offer; - const amount = AmountMath.make(USDC, 300n); + const amount = AmountMath.make(USDC, 2_000_000n); const kit = await ctx.makePortfolioKit(); await rebalance( @@ -1207,7 +1207,7 @@ test('handle failure in provideCosmosAccount makeAccount', async t => { test('handle failure in provideEVMAccount sendMakeAccountCall', async t => { const unlucky = make(BLD, 13n); const { give, steps } = await makePortfolioSteps( - { Compound: make(USDC, 300n) }, + { Compound: make(USDC, 2_000_000n) }, { fees: { Compound: { Account: unlucky, Call: make(BLD, 100n) } }, evm: 'Arbitrum', @@ -1256,7 +1256,7 @@ test('handle failure in provideEVMAccount sendMakeAccountCall', async t => { // Recovery attempt - avoid the unlucky 13n fee using same portfolio const { give: giveGood, steps: stepsGood } = await makePortfolioSteps( - { Compound: make(USDC, 300n) }, + { Compound: make(USDC, 2_000_000n) }, { fees: { Compound: { Account: make(BLD, 300n), Call: make(BLD, 100n) } } }, ); const seat2 = makeMockSeat(giveGood, undefined, log); @@ -1322,7 +1322,7 @@ test('withdraw in coordination with planner', async t => { } const webUiDone = (async () => { - const Cash = make(USDC, 300n); + const Cash = make(USDC, 2_000_000n); const wSeat = makeMockSeat({}, { Cash }, offer.log); await executePlan(orch, ctx, wSeat, {}, kit, { type: 'withdraw', @@ -1373,7 +1373,7 @@ test('withdraw in coordination with planner', async t => { }, { _method: 'send', _cap: 'agoric11014' }, { _method: 'transfer' }, // depositForBurn - { _method: 'withdrawToSeat', amounts: { Cash: { value: 300n } } }, + { _method: 'withdrawToSeat', amounts: { Cash: { value: 2_000_000n } } }, { _method: 'exit' }, ]); t.snapshot(log, 'call log'); // see snapshot for remaining arg details @@ -1488,17 +1488,17 @@ test('simple rebalance in coordination with planner', async t => { // Planner provides steps to move from USDN to mixed allocation const steps: MovementDesc[] = [ - { src: 'USDN', dest: '@noble', amount: make(USDC, 5000n) }, + { src: 'USDN', dest: '@noble', amount: make(USDC, 5_000_000n) }, { src: '@noble', dest: '@Arbitrum', - amount: make(USDC, 5000n), + amount: make(USDC, 5_000_000n), fee: make(BLD, 100n), }, { src: '@Arbitrum', dest: 'Aave_Arbitrum', - amount: make(USDC, 5000n), + amount: make(USDC, 5_000_000n), fee: make(BLD, 50n), }, ]; diff --git a/packages/portfolio-contract/test/snapshots/portfolio.flows.test.ts.md b/packages/portfolio-contract/test/snapshots/portfolio.flows.test.ts.md index 4a904862c1a..4a489db793c 100644 --- a/packages/portfolio-contract/test/snapshots/portfolio.flows.test.ts.md +++ b/packages/portfolio-contract/test/snapshots/portfolio.flows.test.ts.md @@ -693,7 +693,7 @@ Generated by [AVA](https://avajs.dev). amounts: { Deposit: { brand: Object @Alleged: USDC brand {}, - value: 300n, + value: 2000000n, }, }, localAccount: Object @Alleged: AgoricAccount { @@ -720,7 +720,7 @@ Generated by [AVA](https://avajs.dev). }, amount: { denom: 'ibc/40F1B2458AEDA66431F9D44F48413240B8D28C072463E2BF53655728683583E3', - value: 300n, + value: 2000000n, }, opts: undefined, }, @@ -729,7 +729,7 @@ Generated by [AVA](https://avajs.dev). _method: 'depositForBurn', denomAmount: { denom: 'uusdc', - value: 300n, + value: 2000000n, }, destinationAddress: 'eip155:42161:0x126cf3AC9ea12794Ff50f56727C7C66E26D9C092', }, @@ -758,7 +758,7 @@ Generated by [AVA](https://avajs.dev). value: 100n, }, opts: { - memo: '{"destination_chain":"arbitrum","destination_address":"0x126cf3AC9ea12794Ff50f56727C7C66E26D9C092","payload":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,32,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,116,120,49,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,202,199,255,168,44,15,67,235,176,252,17,252,211,33,35,236,164,102,38,207,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,68,9,94,167,179,0,0,0,0,0,0,0,0,0,0,0,0,135,135,11,202,63,63,214,51,92,63,76,232,57,45,105,53,11,79,164,226,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,44,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,135,135,11,202,63,63,214,51,92,63,76,232,57,45,105,53,11,79,164,226,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,132,97,123,160,55,0,0,0,0,0,0,0,0,0,0,0,0,202,199,255,168,44,15,67,235,176,252,17,252,211,33,35,236,164,102,38,207,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,44,0,0,0,0,0,0,0,0,0,0,0,0,18,108,243,172,158,161,39,148,255,80,245,103,39,199,198,110,38,217,192,146,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"type":1,"fee":{"amount":"100","recipient":"axelar1aythygn6z5thymj6tmzfwekzh05ewg3l7d6y89"}}', + memo: '{"destination_chain":"arbitrum","destination_address":"0x126cf3AC9ea12794Ff50f56727C7C66E26D9C092","payload":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,32,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,116,120,49,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,202,199,255,168,44,15,67,235,176,252,17,252,211,33,35,236,164,102,38,207,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,68,9,94,167,179,0,0,0,0,0,0,0,0,0,0,0,0,135,135,11,202,63,63,214,51,92,63,76,232,57,45,105,53,11,79,164,226,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,30,132,128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,135,135,11,202,63,63,214,51,92,63,76,232,57,45,105,53,11,79,164,226,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,132,97,123,160,55,0,0,0,0,0,0,0,0,0,0,0,0,202,199,255,168,44,15,67,235,176,252,17,252,211,33,35,236,164,102,38,207,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,30,132,128,0,0,0,0,0,0,0,0,0,0,0,0,18,108,243,172,158,161,39,148,255,80,245,103,39,199,198,110,38,217,192,146,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"type":1,"fee":{"amount":"100","recipient":"axelar1aythygn6z5thymj6tmzfwekzh05ewg3l7d6y89"}}', }, }, { @@ -777,7 +777,7 @@ Generated by [AVA](https://avajs.dev). [ 'published.ymax0.pendingTxs.tx0', { - amount: 300n, + amount: 2000000n, destinationAddress: 'eip155:42161:0x126cf3AC9ea12794Ff50f56727C7C66E26D9C092', status: 'success', type: 'CCTP_TO_EVM', @@ -830,7 +830,7 @@ Generated by [AVA](https://avajs.dev). { amount: { brand: Object @Alleged: USDC brand {}, - value: 300n, + value: 2000000n, }, dest: '@agoric', how: 'localTransfer', @@ -839,7 +839,7 @@ Generated by [AVA](https://avajs.dev). { amount: { brand: Object @Alleged: USDC brand {}, - value: 300n, + value: 2000000n, }, dest: '@noble', how: 'IBC to Noble', @@ -848,7 +848,7 @@ Generated by [AVA](https://avajs.dev). { amount: { brand: Object @Alleged: USDC brand {}, - value: 300n, + value: 2000000n, }, dest: '@Arbitrum', how: 'CCTP', @@ -857,7 +857,7 @@ Generated by [AVA](https://avajs.dev). { amount: { brand: Object @Alleged: USDC brand {}, - value: 300n, + value: 2000000n, }, dest: 'Aave_Arbitrum', how: 'Aave', @@ -872,7 +872,7 @@ Generated by [AVA](https://avajs.dev). protocol: 'Aave', totalIn: { brand: Object @Alleged: USDC brand {}, - value: 300n, + value: 2000000n, }, totalOut: { brand: Object @Alleged: USDC brand {}, @@ -940,7 +940,7 @@ Generated by [AVA](https://avajs.dev). amounts: { Deposit: { brand: Object @Alleged: USDC brand {}, - value: 300n, + value: 2000000n, }, }, localAccount: Object @Alleged: AgoricAccount { @@ -967,7 +967,7 @@ Generated by [AVA](https://avajs.dev). }, amount: { denom: 'ibc/40F1B2458AEDA66431F9D44F48413240B8D28C072463E2BF53655728683583E3', - value: 300n, + value: 2000000n, }, opts: undefined, }, @@ -976,7 +976,7 @@ Generated by [AVA](https://avajs.dev). _method: 'depositForBurn', denomAmount: { denom: 'uusdc', - value: 300n, + value: 2000000n, }, destinationAddress: 'eip155:42161:0x126cf3AC9ea12794Ff50f56727C7C66E26D9C092', }, @@ -1005,7 +1005,7 @@ Generated by [AVA](https://avajs.dev). value: 100n, }, opts: { - memo: '{"destination_chain":"arbitrum","destination_address":"0x126cf3AC9ea12794Ff50f56727C7C66E26D9C092","payload":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,32,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,116,120,49,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,202,199,255,168,44,15,67,235,176,252,17,252,211,33,35,236,164,102,38,207,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,68,9,94,167,179,0,0,0,0,0,0,0,0,0,0,0,0,195,214,136,182,103,3,73,125,170,25,33,30,237,255,71,242,83,132,205,195,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,44,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,195,214,136,182,103,3,73,125,170,25,33,30,237,255,71,242,83,132,205,195,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,68,242,185,253,184,0,0,0,0,0,0,0,0,0,0,0,0,202,199,255,168,44,15,67,235,176,252,17,252,211,33,35,236,164,102,38,207,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,44,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"type":1,"fee":{"amount":"100","recipient":"axelar1aythygn6z5thymj6tmzfwekzh05ewg3l7d6y89"}}', + memo: '{"destination_chain":"arbitrum","destination_address":"0x126cf3AC9ea12794Ff50f56727C7C66E26D9C092","payload":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,32,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,116,120,49,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,202,199,255,168,44,15,67,235,176,252,17,252,211,33,35,236,164,102,38,207,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,68,9,94,167,179,0,0,0,0,0,0,0,0,0,0,0,0,195,214,136,182,103,3,73,125,170,25,33,30,237,255,71,242,83,132,205,195,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,30,132,128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,195,214,136,182,103,3,73,125,170,25,33,30,237,255,71,242,83,132,205,195,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,68,242,185,253,184,0,0,0,0,0,0,0,0,0,0,0,0,202,199,255,168,44,15,67,235,176,252,17,252,211,33,35,236,164,102,38,207,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,30,132,128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"type":1,"fee":{"amount":"100","recipient":"axelar1aythygn6z5thymj6tmzfwekzh05ewg3l7d6y89"}}', }, }, { @@ -1024,7 +1024,7 @@ Generated by [AVA](https://avajs.dev). [ 'published.ymax0.pendingTxs.tx0', { - amount: 300n, + amount: 2000000n, destinationAddress: 'eip155:42161:0x126cf3AC9ea12794Ff50f56727C7C66E26D9C092', status: 'success', type: 'CCTP_TO_EVM', @@ -1077,7 +1077,7 @@ Generated by [AVA](https://avajs.dev). { amount: { brand: Object @Alleged: USDC brand {}, - value: 300n, + value: 2000000n, }, dest: '@agoric', how: 'localTransfer', @@ -1086,7 +1086,7 @@ Generated by [AVA](https://avajs.dev). { amount: { brand: Object @Alleged: USDC brand {}, - value: 300n, + value: 2000000n, }, dest: '@noble', how: 'IBC to Noble', @@ -1095,7 +1095,7 @@ Generated by [AVA](https://avajs.dev). { amount: { brand: Object @Alleged: USDC brand {}, - value: 300n, + value: 2000000n, }, dest: '@Arbitrum', how: 'CCTP', @@ -1104,7 +1104,7 @@ Generated by [AVA](https://avajs.dev). { amount: { brand: Object @Alleged: USDC brand {}, - value: 300n, + value: 2000000n, }, dest: 'Compound_Arbitrum', how: 'Compound', @@ -1119,7 +1119,7 @@ Generated by [AVA](https://avajs.dev). protocol: 'Compound', totalIn: { brand: Object @Alleged: USDC brand {}, - value: 300n, + value: 2000000n, }, totalOut: { brand: Object @Alleged: USDC brand {}, @@ -2410,7 +2410,7 @@ Generated by [AVA](https://avajs.dev). amounts: { Deposit: { brand: Object @Alleged: USDC brand {}, - value: 300n, + value: 2000000n, }, }, localAccount: Object @Alleged: AgoricAccount { @@ -2437,7 +2437,7 @@ Generated by [AVA](https://avajs.dev). }, amount: { denom: 'ibc/40F1B2458AEDA66431F9D44F48413240B8D28C072463E2BF53655728683583E3', - value: 300n, + value: 2000000n, }, opts: undefined, }, @@ -2446,7 +2446,7 @@ Generated by [AVA](https://avajs.dev). _method: 'depositForBurn', denomAmount: { denom: 'uusdc', - value: 300n, + value: 2000000n, }, destinationAddress: 'eip155:43114:0x126cf3AC9ea12794Ff50f56727C7C66E26D9C092', }, @@ -2475,7 +2475,7 @@ Generated by [AVA](https://avajs.dev). value: 100n, }, opts: { - memo: '{"destination_chain":"Avalanche","destination_address":"0x126cf3AC9ea12794Ff50f56727C7C66E26D9C092","payload":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,32,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,116,120,49,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,202,199,255,168,44,15,67,235,176,252,17,252,211,33,35,236,164,102,38,207,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,68,9,94,167,179,0,0,0,0,0,0,0,0,0,0,0,0,195,214,136,182,103,3,73,125,170,25,33,30,237,255,71,242,83,132,205,195,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,44,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,195,214,136,182,103,3,73,125,170,25,33,30,237,255,71,242,83,132,205,195,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,36,182,181,95,37,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,44,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"type":1,"fee":{"amount":"100","recipient":"axelar1aythygn6z5thymj6tmzfwekzh05ewg3l7d6y89"}}', + memo: '{"destination_chain":"Avalanche","destination_address":"0x126cf3AC9ea12794Ff50f56727C7C66E26D9C092","payload":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,32,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,116,120,49,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,202,199,255,168,44,15,67,235,176,252,17,252,211,33,35,236,164,102,38,207,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,68,9,94,167,179,0,0,0,0,0,0,0,0,0,0,0,0,195,214,136,182,103,3,73,125,170,25,33,30,237,255,71,242,83,132,205,195,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,30,132,128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,195,214,136,182,103,3,73,125,170,25,33,30,237,255,71,242,83,132,205,195,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,36,182,181,95,37,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,30,132,128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"type":1,"fee":{"amount":"100","recipient":"axelar1aythygn6z5thymj6tmzfwekzh05ewg3l7d6y89"}}', }, }, { @@ -2494,7 +2494,7 @@ Generated by [AVA](https://avajs.dev). [ 'published.ymax0.pendingTxs.tx0', { - amount: 300n, + amount: 2000000n, destinationAddress: 'eip155:43114:0x126cf3AC9ea12794Ff50f56727C7C66E26D9C092', status: 'success', type: 'CCTP_TO_EVM', @@ -2547,7 +2547,7 @@ Generated by [AVA](https://avajs.dev). { amount: { brand: Object @Alleged: USDC brand {}, - value: 300n, + value: 2000000n, }, dest: '@agoric', how: 'localTransfer', @@ -2556,7 +2556,7 @@ Generated by [AVA](https://avajs.dev). { amount: { brand: Object @Alleged: USDC brand {}, - value: 300n, + value: 2000000n, }, dest: '@noble', how: 'IBC to Noble', @@ -2565,7 +2565,7 @@ Generated by [AVA](https://avajs.dev). { amount: { brand: Object @Alleged: USDC brand {}, - value: 300n, + value: 2000000n, }, dest: '@Avalanche', how: 'CCTP', @@ -2574,7 +2574,7 @@ Generated by [AVA](https://avajs.dev). { amount: { brand: Object @Alleged: USDC brand {}, - value: 300n, + value: 2000000n, }, dest: 'Beefy_re7_Avalanche', how: 'Beefy', @@ -2589,7 +2589,7 @@ Generated by [AVA](https://avajs.dev). protocol: 'Beefy', totalIn: { brand: Object @Alleged: USDC brand {}, - value: 300n, + value: 2000000n, }, totalOut: { brand: Object @Alleged: USDC brand {}, @@ -2606,13 +2606,13 @@ Generated by [AVA](https://avajs.dev). { args: [ '0xc3d688B66703497DAA19211EEdff47f25384cdc3', - 300n, + 2000000n, ], functionName: 'approve', }, { args: [ - 300n, + 2000000n, ], functionName: 'deposit', }, @@ -2635,7 +2635,7 @@ Generated by [AVA](https://avajs.dev). _method: 'send', amount: { brand: Object @Alleged: USDC brand {}, - value: 300n, + value: 2000000n, }, toAccount: { chainId: 'agoric-6', @@ -2690,7 +2690,7 @@ Generated by [AVA](https://avajs.dev). { amount: { brand: Object @Alleged: USDC brand {}, - value: 300n, + value: 2000000n, }, dest: '@agoric', how: 'send', @@ -2715,7 +2715,7 @@ Generated by [AVA](https://avajs.dev). amounts: { Deposit: { brand: Object @Alleged: USDC brand {}, - value: 300n, + value: 2000000n, }, }, localAccount: Object @Alleged: AgoricAccount { @@ -2781,7 +2781,7 @@ Generated by [AVA](https://avajs.dev). { amount: { brand: Object @Alleged: USDC brand {}, - value: 300n, + value: 2000000n, }, dest: '+agoric', how: 'localTransfer', @@ -2932,7 +2932,7 @@ Generated by [AVA](https://avajs.dev). value: 100n, }, opts: { - memo: '{"destination_chain":"arbitrum","destination_address":"0x126cf3AC9ea12794Ff50f56727C7C66E26D9C092","payload":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,32,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,116,120,50,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,32,0,0,0,0,0,0,0,0,0,0,0,0,135,135,11,202,63,63,214,51,92,63,76,232,57,45,105,53,11,79,164,226,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,100,105,50,141,236,0,0,0,0,0,0,0,0,0,0,0,0,202,199,255,168,44,15,67,235,176,252,17,252,211,33,35,236,164,102,38,207,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,44,0,0,0,0,0,0,0,0,0,0,0,0,18,108,243,172,158,161,39,148,255,80,245,103,39,199,198,110,38,217,192,146,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"type":1,"fee":{"amount":"100","recipient":"axelar1aythygn6z5thymj6tmzfwekzh05ewg3l7d6y89"}}', + memo: '{"destination_chain":"arbitrum","destination_address":"0x126cf3AC9ea12794Ff50f56727C7C66E26D9C092","payload":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,32,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,116,120,50,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,32,0,0,0,0,0,0,0,0,0,0,0,0,135,135,11,202,63,63,214,51,92,63,76,232,57,45,105,53,11,79,164,226,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,100,105,50,141,236,0,0,0,0,0,0,0,0,0,0,0,0,202,199,255,168,44,15,67,235,176,252,17,252,211,33,35,236,164,102,38,207,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,30,132,128,0,0,0,0,0,0,0,0,0,0,0,0,18,108,243,172,158,161,39,148,255,80,245,103,39,199,198,110,38,217,192,146,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"type":1,"fee":{"amount":"100","recipient":"axelar1aythygn6z5thymj6tmzfwekzh05ewg3l7d6y89"}}', }, }, { @@ -2960,7 +2960,7 @@ Generated by [AVA](https://avajs.dev). value: 0n, }, opts: { - memo: '{"destination_chain":"arbitrum","destination_address":"0x126cf3AC9ea12794Ff50f56727C7C66E26D9C092","payload":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,32,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,116,120,52,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,202,199,255,168,44,15,67,235,176,252,17,252,211,33,35,236,164,102,38,207,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,68,9,94,167,179,0,0,0,0,0,0,0,0,0,0,0,0,159,59,134,121,199,60,47,239,139,89,180,243,68,77,78,21,111,183,10,165,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,44,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,159,59,134,121,199,60,47,239,139,89,180,243,68,77,78,21,111,183,10,165,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,132,111,211,80,78,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,44,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,64,224,198,184,129,31,220,225,4,223,85,14,22,207,21,208,36,23,190,250,0,0,0,0,0,0,0,0,0,0,0,0,202,199,255,168,44,15,67,235,176,252,17,252,211,33,35,236,164,102,38,207,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"type":1,"fee":{"amount":"0","recipient":"axelar1aythygn6z5thymj6tmzfwekzh05ewg3l7d6y89"}}', + memo: '{"destination_chain":"arbitrum","destination_address":"0x126cf3AC9ea12794Ff50f56727C7C66E26D9C092","payload":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,32,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,116,120,52,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,202,199,255,168,44,15,67,235,176,252,17,252,211,33,35,236,164,102,38,207,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,68,9,94,167,179,0,0,0,0,0,0,0,0,0,0,0,0,159,59,134,121,199,60,47,239,139,89,180,243,68,77,78,21,111,183,10,165,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,30,132,128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,159,59,134,121,199,60,47,239,139,89,180,243,68,77,78,21,111,183,10,165,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,132,111,211,80,78,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,30,132,128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,64,224,198,184,129,31,220,225,4,223,85,14,22,207,21,208,36,23,190,250,0,0,0,0,0,0,0,0,0,0,0,0,202,199,255,168,44,15,67,235,176,252,17,252,211,33,35,236,164,102,38,207,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"type":1,"fee":{"amount":"0","recipient":"axelar1aythygn6z5thymj6tmzfwekzh05ewg3l7d6y89"}}', }, }, { @@ -2968,7 +2968,7 @@ Generated by [AVA](https://avajs.dev). amounts: { Cash: { brand: Object @Alleged: USDC brand {}, - value: 300n, + value: 2000000n, }, }, destSeat: { @@ -3027,7 +3027,7 @@ Generated by [AVA](https://avajs.dev). [ 'published.ymax0.pendingTxs.tx3', { - amount: 300n, + amount: 2000000n, destinationAddress: 'cosmos:agoric-6:agoric11028', status: 'success', type: 'CCTP_TO_AGORIC', @@ -3120,7 +3120,7 @@ Generated by [AVA](https://avajs.dev). { amount: { brand: Object @Alleged: USDC brand {}, - value: 300n, + value: 2000000n, }, state: 'done', type: 'withdraw', @@ -3132,7 +3132,7 @@ Generated by [AVA](https://avajs.dev). { amount: { brand: Object @Alleged: USDC brand {}, - value: 300n, + value: 2000000n, }, dest: '@Arbitrum', how: 'Aave', @@ -3141,7 +3141,7 @@ Generated by [AVA](https://avajs.dev). { amount: { brand: Object @Alleged: USDC brand {}, - value: 300n, + value: 2000000n, }, dest: '@agoric', how: 'CCTP', @@ -3150,7 +3150,7 @@ Generated by [AVA](https://avajs.dev). { amount: { brand: Object @Alleged: USDC brand {}, - value: 300n, + value: 2000000n, }, dest: '', how: 'withdrawToSeat', @@ -3169,7 +3169,7 @@ Generated by [AVA](https://avajs.dev). }, totalOut: { brand: Object @Alleged: USDC brand {}, - value: 300n, + value: 2000000n, }, }, ], @@ -3401,7 +3401,7 @@ Generated by [AVA](https://avajs.dev). msgs: [ { typeUrl: '/noble.swap.v1.MsgSwap', - value: 'Cgpub2JsZTExMDU2Eg0KBXV1c2RuEgQ1MDAwGgcSBXV1c2RjIg0KBXV1c2RjEgQ1MDAw', + value: 'Cgpub2JsZTExMDU2EhAKBXV1c2RuEgc1MDAwMDAwGgcSBXV1c2RjIhAKBXV1c2RjEgc1MDAwMDAw', }, ], }, @@ -3410,7 +3410,7 @@ Generated by [AVA](https://avajs.dev). _method: 'depositForBurn', denomAmount: { denom: 'uusdc', - value: 5000n, + value: 5000000n, }, destinationAddress: 'eip155:42161:0x126cf3AC9ea12794Ff50f56727C7C66E26D9C092', }, @@ -3439,7 +3439,7 @@ Generated by [AVA](https://avajs.dev). value: 50n, }, opts: { - memo: '{"destination_chain":"arbitrum","destination_address":"0x126cf3AC9ea12794Ff50f56727C7C66E26D9C092","payload":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,32,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,116,120,49,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,202,199,255,168,44,15,67,235,176,252,17,252,211,33,35,236,164,102,38,207,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,68,9,94,167,179,0,0,0,0,0,0,0,0,0,0,0,0,135,135,11,202,63,63,214,51,92,63,76,232,57,45,105,53,11,79,164,226,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,19,136,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,135,135,11,202,63,63,214,51,92,63,76,232,57,45,105,53,11,79,164,226,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,132,97,123,160,55,0,0,0,0,0,0,0,0,0,0,0,0,202,199,255,168,44,15,67,235,176,252,17,252,211,33,35,236,164,102,38,207,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,19,136,0,0,0,0,0,0,0,0,0,0,0,0,18,108,243,172,158,161,39,148,255,80,245,103,39,199,198,110,38,217,192,146,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"type":1,"fee":{"amount":"50","recipient":"axelar1aythygn6z5thymj6tmzfwekzh05ewg3l7d6y89"}}', + memo: '{"destination_chain":"arbitrum","destination_address":"0x126cf3AC9ea12794Ff50f56727C7C66E26D9C092","payload":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,32,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,128,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,116,120,49,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,202,199,255,168,44,15,67,235,176,252,17,252,211,33,35,236,164,102,38,207,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,68,9,94,167,179,0,0,0,0,0,0,0,0,0,0,0,0,135,135,11,202,63,63,214,51,92,63,76,232,57,45,105,53,11,79,164,226,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,76,75,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,135,135,11,202,63,63,214,51,92,63,76,232,57,45,105,53,11,79,164,226,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,132,97,123,160,55,0,0,0,0,0,0,0,0,0,0,0,0,202,199,255,168,44,15,67,235,176,252,17,252,211,33,35,236,164,102,38,207,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,76,75,64,0,0,0,0,0,0,0,0,0,0,0,0,18,108,243,172,158,161,39,148,255,80,245,103,39,199,198,110,38,217,192,146,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"type":1,"fee":{"amount":"50","recipient":"axelar1aythygn6z5thymj6tmzfwekzh05ewg3l7d6y89"}}', }, }, { @@ -3458,7 +3458,7 @@ Generated by [AVA](https://avajs.dev). [ 'published.ymax0.pendingTxs.tx0', { - amount: 5000n, + amount: 5000000n, destinationAddress: 'eip155:42161:0x126cf3AC9ea12794Ff50f56727C7C66E26D9C092', status: 'success', type: 'CCTP_TO_EVM', @@ -3555,7 +3555,7 @@ Generated by [AVA](https://avajs.dev). { amount: { brand: Object @Alleged: USDC brand {}, - value: 5000n, + value: 5000000n, }, dest: '@noble', how: 'USDN', @@ -3564,7 +3564,7 @@ Generated by [AVA](https://avajs.dev). { amount: { brand: Object @Alleged: USDC brand {}, - value: 5000n, + value: 5000000n, }, dest: '@Arbitrum', how: 'CCTP', @@ -3573,7 +3573,7 @@ Generated by [AVA](https://avajs.dev). { amount: { brand: Object @Alleged: USDC brand {}, - value: 5000n, + value: 5000000n, }, dest: 'Aave_Arbitrum', how: 'Aave', @@ -3588,7 +3588,7 @@ Generated by [AVA](https://avajs.dev). protocol: 'Aave', totalIn: { brand: Object @Alleged: USDC brand {}, - value: 5000n, + value: 5000000n, }, totalOut: { brand: Object @Alleged: USDC brand {}, @@ -3607,7 +3607,7 @@ Generated by [AVA](https://avajs.dev). }, totalOut: { brand: Object @Alleged: USDC brand {}, - value: 5000n, + value: 5000000n, }, }, ], diff --git a/packages/portfolio-contract/test/snapshots/portfolio.flows.test.ts.snap b/packages/portfolio-contract/test/snapshots/portfolio.flows.test.ts.snap index 91825fbd559..46d1df9e719 100644 Binary files a/packages/portfolio-contract/test/snapshots/portfolio.flows.test.ts.snap and b/packages/portfolio-contract/test/snapshots/portfolio.flows.test.ts.snap differ