@swapkit/types 1.0.0-rc.4 → 1.0.0-rc.40

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/abis/erc20.ts CHANGED
@@ -1,99 +1,99 @@
1
1
  export const erc20ABI = [
2
- { inputs: [], stateMutability: 'nonpayable', type: 'constructor' },
2
+ { inputs: [], stateMutability: "nonpayable", type: "constructor" },
3
3
  {
4
4
  anonymous: false,
5
5
  inputs: [
6
- { indexed: true, internalType: 'address', name: 'owner', type: 'address' },
7
- { indexed: true, internalType: 'address', name: 'spender', type: 'address' },
8
- { indexed: false, internalType: 'uint256', name: 'value', type: 'uint256' },
6
+ { indexed: true, internalType: "address", name: "owner", type: "address" },
7
+ { indexed: true, internalType: "address", name: "spender", type: "address" },
8
+ { indexed: false, internalType: "uint256", name: "value", type: "uint256" },
9
9
  ],
10
- name: 'Approval',
11
- type: 'event',
10
+ name: "Approval",
11
+ type: "event",
12
12
  },
13
13
  {
14
14
  anonymous: false,
15
15
  inputs: [
16
- { indexed: true, internalType: 'address', name: 'from', type: 'address' },
17
- { indexed: true, internalType: 'address', name: 'to', type: 'address' },
18
- { indexed: false, internalType: 'uint256', name: 'value', type: 'uint256' },
16
+ { indexed: true, internalType: "address", name: "from", type: "address" },
17
+ { indexed: true, internalType: "address", name: "to", type: "address" },
18
+ { indexed: false, internalType: "uint256", name: "value", type: "uint256" },
19
19
  ],
20
- name: 'Transfer',
21
- type: 'event',
20
+ name: "Transfer",
21
+ type: "event",
22
22
  },
23
23
  {
24
24
  inputs: [
25
- { internalType: 'address', name: '', type: 'address' },
26
- { internalType: 'address', name: '', type: 'address' },
25
+ { internalType: "address", name: "", type: "address" },
26
+ { internalType: "address", name: "", type: "address" },
27
27
  ],
28
- name: 'allowance',
29
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
30
- stateMutability: 'view',
31
- type: 'function',
28
+ name: "allowance",
29
+ outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
30
+ stateMutability: "view",
31
+ type: "function",
32
32
  },
33
33
  {
34
34
  inputs: [
35
- { internalType: 'address', name: 'spender', type: 'address' },
36
- { internalType: 'uint256', name: 'value', type: 'uint256' },
35
+ { internalType: "address", name: "spender", type: "address" },
36
+ { internalType: "uint256", name: "value", type: "uint256" },
37
37
  ],
38
- name: 'approve',
39
- outputs: [{ internalType: 'bool', name: 'success', type: 'bool' }],
40
- stateMutability: 'nonpayable',
41
- type: 'function',
38
+ name: "approve",
39
+ outputs: [{ internalType: "bool", name: "success", type: "bool" }],
40
+ stateMutability: "nonpayable",
41
+ type: "function",
42
42
  },
43
43
  {
44
- inputs: [{ internalType: 'address', name: '', type: 'address' }],
45
- name: 'balanceOf',
46
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
47
- stateMutability: 'view',
48
- type: 'function',
44
+ inputs: [{ internalType: "address", name: "", type: "address" }],
45
+ name: "balanceOf",
46
+ outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
47
+ stateMutability: "view",
48
+ type: "function",
49
49
  },
50
50
  {
51
51
  inputs: [],
52
- name: 'decimals',
53
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
54
- stateMutability: 'view',
55
- type: 'function',
52
+ name: "decimals",
53
+ outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
54
+ stateMutability: "view",
55
+ type: "function",
56
56
  },
57
57
  {
58
58
  inputs: [],
59
- name: 'name',
60
- outputs: [{ internalType: 'string', name: '', type: 'string' }],
61
- stateMutability: 'view',
62
- type: 'function',
59
+ name: "name",
60
+ outputs: [{ internalType: "string", name: "", type: "string" }],
61
+ stateMutability: "view",
62
+ type: "function",
63
63
  },
64
64
  {
65
65
  inputs: [],
66
- name: 'symbol',
67
- outputs: [{ internalType: 'string', name: '', type: 'string' }],
68
- stateMutability: 'view',
69
- type: 'function',
66
+ name: "symbol",
67
+ outputs: [{ internalType: "string", name: "", type: "string" }],
68
+ stateMutability: "view",
69
+ type: "function",
70
70
  },
71
71
  {
72
72
  inputs: [],
73
- name: 'totalSupply',
74
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
75
- stateMutability: 'view',
76
- type: 'function',
73
+ name: "totalSupply",
74
+ outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
75
+ stateMutability: "view",
76
+ type: "function",
77
77
  },
78
78
  {
79
79
  inputs: [
80
- { internalType: 'address', name: 'to', type: 'address' },
81
- { internalType: 'uint256', name: 'value', type: 'uint256' },
80
+ { internalType: "address", name: "to", type: "address" },
81
+ { internalType: "uint256", name: "value", type: "uint256" },
82
82
  ],
83
- name: 'transfer',
84
- outputs: [{ internalType: 'bool', name: 'success', type: 'bool' }],
85
- stateMutability: 'nonpayable',
86
- type: 'function',
83
+ name: "transfer",
84
+ outputs: [{ internalType: "bool", name: "success", type: "bool" }],
85
+ stateMutability: "nonpayable",
86
+ type: "function",
87
87
  },
88
88
  {
89
89
  inputs: [
90
- { internalType: 'address', name: 'from', type: 'address' },
91
- { internalType: 'address', name: 'to', type: 'address' },
92
- { internalType: 'uint256', name: 'value', type: 'uint256' },
90
+ { internalType: "address", name: "from", type: "address" },
91
+ { internalType: "address", name: "to", type: "address" },
92
+ { internalType: "uint256", name: "value", type: "uint256" },
93
93
  ],
94
- name: 'transferFrom',
95
- outputs: [{ internalType: 'bool', name: 'success', type: 'bool' }],
96
- stateMutability: 'nonpayable',
97
- type: 'function',
94
+ name: "transferFrom",
95
+ outputs: [{ internalType: "bool", name: "success", type: "bool" }],
96
+ stateMutability: "nonpayable",
97
+ type: "function",
98
98
  },
99
99
  ];