File tree Expand file tree Collapse file tree 1 file changed +21
-11
lines changed
src/components/transactions/eip5792 Expand file tree Collapse file tree 1 file changed +21
-11
lines changed Original file line number Diff line number Diff line change @@ -232,18 +232,28 @@ export function sendCallsComponent(parentContainer) {
232232 sendCallsRequiredAssetsButton . onclick = ( ) => {
233233 const usdcAddress = USDC_BY_CHAIN [ globalContext . chainIdInt ] ;
234234
235- submitRequest ( [ { to : TEST_RECIPIENT_ADDRESS , value : '0x0' } ] , {
236- auxiliaryFunds : {
237- supported : true ,
238- requiredAssets : [
239- {
240- address : usdcAddress ,
241- amount : REQUIRED_AMOUNT ,
242- standard : 'erc20' ,
243- } ,
244- ] ,
235+ submitRequest (
236+ [
237+ {
238+ to : TEST_RECIPIENT_ADDRESS ,
239+ value : '0x0' ,
240+ // test(uint256 -> 123)
241+ data : '0x29e99f07000000000000000000000000000000000000000000000000000000000000007b' ,
242+ } ,
243+ ] ,
244+ {
245+ auxiliaryFunds : {
246+ supported : true ,
247+ requiredAssets : [
248+ {
249+ address : usdcAddress ,
250+ amount : REQUIRED_AMOUNT ,
251+ standard : 'erc20' ,
252+ } ,
253+ ] ,
254+ } ,
245255 } ,
246- } ) ;
256+ ) ;
247257 } ;
248258
249259 async function submitRequest ( calls , capabilities ) {
You can’t perform that action at this time.
0 commit comments