From e706f37616e2be916d7090784379a494057ecd99 Mon Sep 17 00:00:00 2001 From: Spencer Stock <46308524+spencerstock@users.noreply.github.com> Date: Mon, 16 Dec 2024 10:02:47 -1000 Subject: [PATCH] udpate test message (#1459) --- .../shortcut/signMessageShortcuts.ts | 22 +++++++++++-------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/examples/testapp/src/components/RpcMethods/shortcut/signMessageShortcuts.ts b/examples/testapp/src/components/RpcMethods/shortcut/signMessageShortcuts.ts index 8e218b3582..90ac2ca8bc 100644 --- a/examples/testapp/src/components/RpcMethods/shortcut/signMessageShortcuts.ts +++ b/examples/testapp/src/components/RpcMethods/shortcut/signMessageShortcuts.ts @@ -138,28 +138,32 @@ const ethSignTypedDataV4Shortcuts: (chainId: number) => ShortcutType[] = (chainI name: 'Spend Permission Manager', version: '1', chainId, - verifyingContract: '0x4ba47ee994d7fd63e8e8029431c35afa8487b8a5', + verifyingContract: '0xf85210B21cC50302F477BA56686d2019dC9b67Ad' }, types: { SpendPermission: [ { name: 'account', type: 'address' }, { name: 'spender', type: 'address' }, { name: 'token', type: 'address' }, + { name: 'allowance', type: 'uint160' }, + { name: 'period', type: 'uint48' }, { name: 'start', type: 'uint48' }, { name: 'end', type: 'uint48' }, - { name: 'period', type: 'uint48' }, - { name: 'allowance', type: 'uint160' }, + { name: 'salt', type: 'uint256' }, + { name: 'extraData', type: 'bytes' } ], }, primaryType: 'SpendPermission', message: { - account: '0xd4e17478581878A967aA22d45a5158A9fE96AA08', - spender: '0x0000000000000000000000000000000000000000', - token: '0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE', - end: 17242884802, - start: 1724264802, + account: 'YOUR_ADDRESS_HERE', + spender: '0xd4e17478581878A967aA22d45a5158A9fE96AA08', + token: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913', + allowance: '1000000', period: 86400, - allowance: '10000000000000000', + start: 1724264802, + end: 17242884802, + salt: '0x1', + extraData: '0x' }, }, address: ADDR_TO_FILL,