@1delta/providers 0.0.41 → 0.0.43

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.
@@ -0,0 +1,204 @@
1
+ import { Address } from 'viem'
2
+
3
+ export const testContractAddress = {
4
+ address: '0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2' as Address, // on eth mainnet
5
+ abi: [
6
+ { inputs: [], stateMutability: 'nonpayable', type: 'constructor' },
7
+ {
8
+ anonymous: false,
9
+ inputs: [
10
+ {
11
+ indexed: true,
12
+ name: 'owner',
13
+ type: 'address',
14
+ },
15
+ {
16
+ indexed: true,
17
+ name: 'approved',
18
+ type: 'address',
19
+ },
20
+ {
21
+ indexed: true,
22
+ name: 'tokenId',
23
+ type: 'uint256',
24
+ },
25
+ ],
26
+ name: 'Approval',
27
+ type: 'event',
28
+ },
29
+ {
30
+ anonymous: false,
31
+ inputs: [
32
+ {
33
+ indexed: true,
34
+ name: 'owner',
35
+ type: 'address',
36
+ },
37
+ {
38
+ indexed: true,
39
+ name: 'operator',
40
+ type: 'address',
41
+ },
42
+ {
43
+ indexed: false,
44
+ name: 'approved',
45
+ type: 'bool',
46
+ },
47
+ ],
48
+ name: 'ApprovalForAll',
49
+ type: 'event',
50
+ },
51
+ {
52
+ anonymous: false,
53
+ inputs: [
54
+ {
55
+ indexed: true,
56
+ name: 'from',
57
+ type: 'address',
58
+ },
59
+ { indexed: true, name: 'to', type: 'address' },
60
+ {
61
+ indexed: true,
62
+ name: 'tokenId',
63
+ type: 'uint256',
64
+ },
65
+ ],
66
+ name: 'Transfer',
67
+ type: 'event',
68
+ },
69
+ {
70
+ inputs: [
71
+ { name: 'to', type: 'address' },
72
+ { name: 'tokenId', type: 'uint256' },
73
+ ],
74
+ name: 'approve',
75
+ outputs: [],
76
+ stateMutability: 'nonpayable',
77
+ type: 'function',
78
+ },
79
+ {
80
+ inputs: [{ name: 'owner', type: 'address' }],
81
+ name: 'balanceOf',
82
+ outputs: [{ name: '', type: 'uint256' }],
83
+ stateMutability: 'view',
84
+ type: 'function',
85
+ },
86
+ {
87
+ inputs: [{ name: 'tokenId', type: 'uint256' }],
88
+ name: 'getApproved',
89
+ outputs: [{ name: '', type: 'address' }],
90
+ stateMutability: 'view',
91
+ type: 'function',
92
+ },
93
+ {
94
+ inputs: [
95
+ { name: 'owner', type: 'address' },
96
+ { name: 'operator', type: 'address' },
97
+ ],
98
+ name: 'isApprovedForAll',
99
+ outputs: [{ name: '', type: 'bool' }],
100
+ stateMutability: 'view',
101
+ type: 'function',
102
+ },
103
+ {
104
+ inputs: [],
105
+ name: 'mint',
106
+ outputs: [],
107
+ stateMutability: 'nonpayable',
108
+ type: 'function',
109
+ },
110
+ {
111
+ inputs: [{ name: 'tokenId', type: 'uint256' }],
112
+ name: 'mint',
113
+ outputs: [],
114
+ stateMutability: 'nonpayable',
115
+ type: 'function',
116
+ },
117
+ {
118
+ inputs: [],
119
+ name: 'name',
120
+ outputs: [{ name: '', type: 'string' }],
121
+ stateMutability: 'view',
122
+ type: 'function',
123
+ },
124
+ {
125
+ inputs: [{ name: 'tokenId', type: 'uint256' }],
126
+ name: 'ownerOf',
127
+ outputs: [{ name: '', type: 'address' }],
128
+ stateMutability: 'view',
129
+ type: 'function',
130
+ },
131
+ {
132
+ inputs: [
133
+ { name: 'from', type: 'address' },
134
+ { name: 'to', type: 'address' },
135
+ { name: 'tokenId', type: 'uint256' },
136
+ ],
137
+ name: 'safeTransferFrom',
138
+ outputs: [],
139
+ stateMutability: 'nonpayable',
140
+ type: 'function',
141
+ },
142
+ {
143
+ inputs: [
144
+ { name: 'from', type: 'address' },
145
+ { name: 'to', type: 'address' },
146
+ { name: 'tokenId', type: 'uint256' },
147
+ { name: '_data', type: 'bytes' },
148
+ ],
149
+ name: 'safeTransferFrom',
150
+ outputs: [],
151
+ stateMutability: 'nonpayable',
152
+ type: 'function',
153
+ },
154
+ {
155
+ inputs: [
156
+ { name: 'operator', type: 'address' },
157
+ { name: 'approved', type: 'bool' },
158
+ ],
159
+ name: 'setApprovalForAll',
160
+ outputs: [],
161
+ stateMutability: 'nonpayable',
162
+ type: 'function',
163
+ },
164
+ {
165
+ inputs: [{ name: 'interfaceId', type: 'bytes4' }],
166
+ name: 'supportsInterface',
167
+ outputs: [{ name: '', type: 'bool' }],
168
+ stateMutability: 'view',
169
+ type: 'function',
170
+ },
171
+ {
172
+ inputs: [],
173
+ name: 'symbol',
174
+ outputs: [{ name: '', type: 'string' }],
175
+ stateMutability: 'view',
176
+ type: 'function',
177
+ },
178
+ {
179
+ inputs: [{ name: 'tokenId', type: 'uint256' }],
180
+ name: 'tokenURI',
181
+ outputs: [{ name: '', type: 'string' }],
182
+ stateMutability: 'pure',
183
+ type: 'function',
184
+ },
185
+ {
186
+ inputs: [],
187
+ name: 'totalSupply',
188
+ outputs: [{ name: '', type: 'uint256' }],
189
+ stateMutability: 'view',
190
+ type: 'function',
191
+ },
192
+ {
193
+ inputs: [
194
+ { name: 'from', type: 'address' },
195
+ { name: 'to', type: 'address' },
196
+ { name: 'tokenId', type: 'uint256' },
197
+ ],
198
+ name: 'transferFrom',
199
+ outputs: [],
200
+ stateMutability: 'nonpayable',
201
+ type: 'function',
202
+ },
203
+ ] as const,
204
+ }