Skip to content

Commit 243fd84

Browse files
authored
Merge pull request #226 from pushchain/sdk-3.0
Sdk 3.0
2 parents ed252ad + 45fb010 commit 243fd84

File tree

16 files changed

+4575
-975
lines changed

16 files changed

+4575
-975
lines changed

packages/core/jest.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ export default {
88
},
99
moduleFileExtensions: ['ts', 'js', 'html'],
1010
coverageDirectory: '../../coverage/packages/core',
11-
testTimeout: 10000, // Set max test time to 10 seconds
11+
testTimeout: 300000, // Allow long-running integration tests (5 min)
1212
};

packages/core/src/lib/constants/abi/erc20.evm.ts

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,23 @@ export const ERC20_EVM = [
1919
outputs: [{ name: '', type: 'bool' }],
2020
stateMutability: 'nonpayable',
2121
},
22+
{
23+
type: 'function',
24+
name: 'transfer',
25+
inputs: [
26+
{ name: 'recipient', type: 'address', internalType: 'address' },
27+
{ name: 'amount', type: 'uint256', internalType: 'uint256' },
28+
],
29+
outputs: [{ name: '', type: 'bool' }],
30+
stateMutability: 'nonpayable',
31+
},
32+
{
33+
type: 'function',
34+
name: 'transferFrom',
35+
inputs: [
36+
{ name: 'sender', type: 'address', internalType: 'address' },
37+
{ name: 'recipient', type: 'address', internalType: 'address' },
38+
{ name: 'amount', type: 'uint256', internalType: 'uint256' },
39+
],
40+
},
2241
] as const;

0 commit comments

Comments
 (0)