Skip to content

Commit

Permalink
fix: update send calls default calls (#389)
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewwalsh0 authored Feb 12, 2025
1 parent d333c93 commit 6f35977
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/components/transactions/eip5792/sendCalls.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
import globalContext from '../../..';

const VERSION = '1.0';

const DEFAULT_CALLS = [
{
to: '0x0c54FcCd2e384b4BB6f2E405Bf5Cbc15a017AaFb',
data: '0x654365436543',
value: '0x1234123412341234',
value: '0x3B9ACA00', // 1 Gwei
},
{
to: '0x5FbDB2315678afecb367f032d93F642f64180aa3',
to: '0xbc2114a988e9CEf5bA63548D432024f34B487048',
data: '0x789078907890',
value: '0x4321432143214321',
value: '0x1DCD6500', // 0.5 Gwei
},
];

Expand Down Expand Up @@ -143,6 +145,7 @@ export function sendCallsComponent(parentContainer) {
const calls = useInputs ? getCalls() : DEFAULT_CALLS;

return {
version: VERSION,
from,
chainId,
calls,
Expand Down

0 comments on commit 6f35977

Please sign in to comment.