@gitmyabi-stg/usat 0.0.1

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,173 @@
1
+ import type { Address, PublicClient, WalletClient } from 'viem';
2
+ /**
3
+ * TransparentUpgradeableProxy ABI
4
+ *
5
+ * This ABI is typed using viem's type system for full type safety.
6
+ */
7
+ export declare const TransparentUpgradeableProxyAbi: readonly [{
8
+ readonly inputs: readonly [{
9
+ readonly internalType: "address";
10
+ readonly name: "_logic";
11
+ readonly type: "address";
12
+ }, {
13
+ readonly internalType: "address";
14
+ readonly name: "admin_";
15
+ readonly type: "address";
16
+ }, {
17
+ readonly internalType: "bytes";
18
+ readonly name: "_data";
19
+ readonly type: "bytes";
20
+ }];
21
+ readonly stateMutability: "payable";
22
+ readonly type: "constructor";
23
+ }, {
24
+ readonly anonymous: false;
25
+ readonly inputs: readonly [{
26
+ readonly indexed: false;
27
+ readonly internalType: "address";
28
+ readonly name: "previousAdmin";
29
+ readonly type: "address";
30
+ }, {
31
+ readonly indexed: false;
32
+ readonly internalType: "address";
33
+ readonly name: "newAdmin";
34
+ readonly type: "address";
35
+ }];
36
+ readonly name: "AdminChanged";
37
+ readonly type: "event";
38
+ }, {
39
+ readonly anonymous: false;
40
+ readonly inputs: readonly [{
41
+ readonly indexed: true;
42
+ readonly internalType: "address";
43
+ readonly name: "beacon";
44
+ readonly type: "address";
45
+ }];
46
+ readonly name: "BeaconUpgraded";
47
+ readonly type: "event";
48
+ }, {
49
+ readonly anonymous: false;
50
+ readonly inputs: readonly [{
51
+ readonly indexed: true;
52
+ readonly internalType: "address";
53
+ readonly name: "implementation";
54
+ readonly type: "address";
55
+ }];
56
+ readonly name: "Upgraded";
57
+ readonly type: "event";
58
+ }, {
59
+ readonly stateMutability: "payable";
60
+ readonly type: "fallback";
61
+ }, {
62
+ readonly stateMutability: "payable";
63
+ readonly type: "receive";
64
+ }];
65
+ /**
66
+ * Type-safe ABI for TransparentUpgradeableProxy
67
+ */
68
+ export type TransparentUpgradeableProxyAbi = typeof TransparentUpgradeableProxyAbi;
69
+ /**
70
+ * Contract instance type for TransparentUpgradeableProxy
71
+ */
72
+ export type TransparentUpgradeableProxyContract = any;
73
+ /**
74
+ * TransparentUpgradeableProxy Contract Class
75
+ *
76
+ * Provides a class-based API similar to TypeChain for interacting with the contract.
77
+ *
78
+ * @example
79
+ * ```typescript
80
+ * import { createPublicClient, createWalletClient, http } from 'viem';
81
+ * import { mainnet } from 'viem/chains';
82
+ * import { TransparentUpgradeableProxy } from 'TransparentUpgradeableProxy';
83
+ *
84
+ * const publicClient = createPublicClient({ chain: mainnet, transport: http() });
85
+ * const walletClient = createWalletClient({ chain: mainnet, transport: http() });
86
+ *
87
+ * const contract = new TransparentUpgradeableProxy('0x...', { publicClient, walletClient });
88
+ *
89
+ * // Read functions
90
+ * const result = await contract.balanceOf('0x...');
91
+ *
92
+ * // Write functions
93
+ * const hash = await contract.transfer('0x...', 1000n);
94
+ *
95
+ * // Simulate transactions (dry-run)
96
+ * const simulation = await contract.simulate.transfer('0x...', 1000n);
97
+ * console.log('Gas estimate:', simulation.request.gas);
98
+ *
99
+ * // Watch events
100
+ * const unwatch = contract.watch.Transfer((event) => {
101
+ * console.log('Transfer event:', event);
102
+ * });
103
+ * ```
104
+ */
105
+ export declare class TransparentUpgradeableProxy {
106
+ private contract;
107
+ private contractAddress;
108
+ private publicClient;
109
+ constructor(address: Address, clients: {
110
+ publicClient: PublicClient;
111
+ walletClient?: WalletClient;
112
+ });
113
+ /**
114
+ * Get the contract address
115
+ */
116
+ get address(): Address;
117
+ /**
118
+ * Get the underlying viem contract instance.
119
+ */
120
+ getContract(): TransparentUpgradeableProxyContract;
121
+ /**
122
+ * Simulate contract write operations (dry-run without sending transaction)
123
+ *
124
+ * Note: This contract has no write functions, so simulate returns an empty object.
125
+ */
126
+ get simulate(): {};
127
+ /**
128
+ * Watch contract events
129
+ *
130
+ * @example
131
+ * // Watch all Transfer events
132
+ * const unwatch = contract.watch.Transfer((event) => {
133
+ * console.log('Transfer:', event);
134
+ * });
135
+ *
136
+ * // Stop watching
137
+ * unwatch();
138
+ */
139
+ get watch(): {
140
+ /**
141
+ * Watch AdminChanged events
142
+ * @param callback Function to call when event is emitted
143
+ * @param filter Optional filter for indexed parameters
144
+ * @returns Unwatch function to stop listening
145
+ */
146
+ AdminChanged: (callback: (event: {
147
+ previousAdmin: `0x${string}`;
148
+ newAdmin: `0x${string}`;
149
+ }) => void) => () => void;
150
+ /**
151
+ * Watch BeaconUpgraded events
152
+ * @param callback Function to call when event is emitted
153
+ * @param filter Optional filter for indexed parameters
154
+ * @returns Unwatch function to stop listening
155
+ */
156
+ BeaconUpgraded: (callback: (event: {
157
+ beacon: `0x${string}`;
158
+ }) => void, filter?: {
159
+ beacon?: `0x${string}` | `0x${string}`[] | null;
160
+ }) => () => void;
161
+ /**
162
+ * Watch Upgraded events
163
+ * @param callback Function to call when event is emitted
164
+ * @param filter Optional filter for indexed parameters
165
+ * @returns Unwatch function to stop listening
166
+ */
167
+ Upgraded: (callback: (event: {
168
+ implementation: `0x${string}`;
169
+ }) => void, filter?: {
170
+ implementation?: `0x${string}` | `0x${string}`[] | null;
171
+ }) => () => void;
172
+ };
173
+ }
@@ -0,0 +1,226 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TransparentUpgradeableProxy = exports.TransparentUpgradeableProxyAbi = void 0;
4
+ const viem_1 = require("viem");
5
+ /**
6
+ * TransparentUpgradeableProxy ABI
7
+ *
8
+ * This ABI is typed using viem's type system for full type safety.
9
+ */
10
+ exports.TransparentUpgradeableProxyAbi = [
11
+ {
12
+ "inputs": [
13
+ {
14
+ "internalType": "address",
15
+ "name": "_logic",
16
+ "type": "address"
17
+ },
18
+ {
19
+ "internalType": "address",
20
+ "name": "admin_",
21
+ "type": "address"
22
+ },
23
+ {
24
+ "internalType": "bytes",
25
+ "name": "_data",
26
+ "type": "bytes"
27
+ }
28
+ ],
29
+ "stateMutability": "payable",
30
+ "type": "constructor"
31
+ },
32
+ {
33
+ "anonymous": false,
34
+ "inputs": [
35
+ {
36
+ "indexed": false,
37
+ "internalType": "address",
38
+ "name": "previousAdmin",
39
+ "type": "address"
40
+ },
41
+ {
42
+ "indexed": false,
43
+ "internalType": "address",
44
+ "name": "newAdmin",
45
+ "type": "address"
46
+ }
47
+ ],
48
+ "name": "AdminChanged",
49
+ "type": "event"
50
+ },
51
+ {
52
+ "anonymous": false,
53
+ "inputs": [
54
+ {
55
+ "indexed": true,
56
+ "internalType": "address",
57
+ "name": "beacon",
58
+ "type": "address"
59
+ }
60
+ ],
61
+ "name": "BeaconUpgraded",
62
+ "type": "event"
63
+ },
64
+ {
65
+ "anonymous": false,
66
+ "inputs": [
67
+ {
68
+ "indexed": true,
69
+ "internalType": "address",
70
+ "name": "implementation",
71
+ "type": "address"
72
+ }
73
+ ],
74
+ "name": "Upgraded",
75
+ "type": "event"
76
+ },
77
+ {
78
+ "stateMutability": "payable",
79
+ "type": "fallback"
80
+ },
81
+ {
82
+ "stateMutability": "payable",
83
+ "type": "receive"
84
+ }
85
+ ];
86
+ /**
87
+ * TransparentUpgradeableProxy Contract Class
88
+ *
89
+ * Provides a class-based API similar to TypeChain for interacting with the contract.
90
+ *
91
+ * @example
92
+ * ```typescript
93
+ * import { createPublicClient, createWalletClient, http } from 'viem';
94
+ * import { mainnet } from 'viem/chains';
95
+ * import { TransparentUpgradeableProxy } from 'TransparentUpgradeableProxy';
96
+ *
97
+ * const publicClient = createPublicClient({ chain: mainnet, transport: http() });
98
+ * const walletClient = createWalletClient({ chain: mainnet, transport: http() });
99
+ *
100
+ * const contract = new TransparentUpgradeableProxy('0x...', { publicClient, walletClient });
101
+ *
102
+ * // Read functions
103
+ * const result = await contract.balanceOf('0x...');
104
+ *
105
+ * // Write functions
106
+ * const hash = await contract.transfer('0x...', 1000n);
107
+ *
108
+ * // Simulate transactions (dry-run)
109
+ * const simulation = await contract.simulate.transfer('0x...', 1000n);
110
+ * console.log('Gas estimate:', simulation.request.gas);
111
+ *
112
+ * // Watch events
113
+ * const unwatch = contract.watch.Transfer((event) => {
114
+ * console.log('Transfer event:', event);
115
+ * });
116
+ * ```
117
+ */
118
+ class TransparentUpgradeableProxy {
119
+ constructor(address, clients) {
120
+ this.contractAddress = address;
121
+ this.publicClient = clients.publicClient;
122
+ this.contract = (0, viem_1.getContract)({
123
+ address,
124
+ abi: exports.TransparentUpgradeableProxyAbi,
125
+ client: {
126
+ public: clients.publicClient,
127
+ wallet: clients.walletClient,
128
+ },
129
+ });
130
+ }
131
+ /**
132
+ * Get the contract address
133
+ */
134
+ get address() {
135
+ return this.contractAddress;
136
+ }
137
+ /**
138
+ * Get the underlying viem contract instance.
139
+ */
140
+ getContract() {
141
+ return this.contract;
142
+ }
143
+ // No read functions
144
+ // No write functions
145
+ /**
146
+ * Simulate contract write operations (dry-run without sending transaction)
147
+ *
148
+ * Note: This contract has no write functions, so simulate returns an empty object.
149
+ */
150
+ get simulate() {
151
+ return {};
152
+ }
153
+ /**
154
+ * Watch contract events
155
+ *
156
+ * @example
157
+ * // Watch all Transfer events
158
+ * const unwatch = contract.watch.Transfer((event) => {
159
+ * console.log('Transfer:', event);
160
+ * });
161
+ *
162
+ * // Stop watching
163
+ * unwatch();
164
+ */
165
+ get watch() {
166
+ return {
167
+ /**
168
+ * Watch AdminChanged events
169
+ * @param callback Function to call when event is emitted
170
+ * @param filter Optional filter for indexed parameters
171
+ * @returns Unwatch function to stop listening
172
+ */
173
+ AdminChanged: (callback) => {
174
+ return this.publicClient.watchContractEvent({
175
+ address: this.contractAddress,
176
+ abi: exports.TransparentUpgradeableProxyAbi,
177
+ eventName: 'AdminChanged',
178
+ onLogs: (logs) => {
179
+ logs.forEach((log) => {
180
+ callback(log.args);
181
+ });
182
+ },
183
+ });
184
+ },
185
+ /**
186
+ * Watch BeaconUpgraded events
187
+ * @param callback Function to call when event is emitted
188
+ * @param filter Optional filter for indexed parameters
189
+ * @returns Unwatch function to stop listening
190
+ */
191
+ BeaconUpgraded: (callback, filter) => {
192
+ return this.publicClient.watchContractEvent({
193
+ address: this.contractAddress,
194
+ abi: exports.TransparentUpgradeableProxyAbi,
195
+ eventName: 'BeaconUpgraded',
196
+ args: filter,
197
+ onLogs: (logs) => {
198
+ logs.forEach((log) => {
199
+ callback(log.args);
200
+ });
201
+ },
202
+ });
203
+ },
204
+ /**
205
+ * Watch Upgraded events
206
+ * @param callback Function to call when event is emitted
207
+ * @param filter Optional filter for indexed parameters
208
+ * @returns Unwatch function to stop listening
209
+ */
210
+ Upgraded: (callback, filter) => {
211
+ return this.publicClient.watchContractEvent({
212
+ address: this.contractAddress,
213
+ abi: exports.TransparentUpgradeableProxyAbi,
214
+ eventName: 'Upgraded',
215
+ args: filter,
216
+ onLogs: (logs) => {
217
+ logs.forEach((log) => {
218
+ callback(log.args);
219
+ });
220
+ },
221
+ });
222
+ }
223
+ };
224
+ }
225
+ }
226
+ exports.TransparentUpgradeableProxy = TransparentUpgradeableProxy;
@@ -0,0 +1,256 @@
1
+ import type { Abi, Address, PublicClient, WalletClient, GetContractReturnType } from 'viem';
2
+ import { getContract } from 'viem';
3
+
4
+ /**
5
+ * TransparentUpgradeableProxy ABI
6
+ *
7
+ * This ABI is typed using viem's type system for full type safety.
8
+ */
9
+ export const TransparentUpgradeableProxyAbi = [
10
+ {
11
+ "inputs": [
12
+ {
13
+ "internalType": "address",
14
+ "name": "_logic",
15
+ "type": "address"
16
+ },
17
+ {
18
+ "internalType": "address",
19
+ "name": "admin_",
20
+ "type": "address"
21
+ },
22
+ {
23
+ "internalType": "bytes",
24
+ "name": "_data",
25
+ "type": "bytes"
26
+ }
27
+ ],
28
+ "stateMutability": "payable",
29
+ "type": "constructor"
30
+ },
31
+ {
32
+ "anonymous": false,
33
+ "inputs": [
34
+ {
35
+ "indexed": false,
36
+ "internalType": "address",
37
+ "name": "previousAdmin",
38
+ "type": "address"
39
+ },
40
+ {
41
+ "indexed": false,
42
+ "internalType": "address",
43
+ "name": "newAdmin",
44
+ "type": "address"
45
+ }
46
+ ],
47
+ "name": "AdminChanged",
48
+ "type": "event"
49
+ },
50
+ {
51
+ "anonymous": false,
52
+ "inputs": [
53
+ {
54
+ "indexed": true,
55
+ "internalType": "address",
56
+ "name": "beacon",
57
+ "type": "address"
58
+ }
59
+ ],
60
+ "name": "BeaconUpgraded",
61
+ "type": "event"
62
+ },
63
+ {
64
+ "anonymous": false,
65
+ "inputs": [
66
+ {
67
+ "indexed": true,
68
+ "internalType": "address",
69
+ "name": "implementation",
70
+ "type": "address"
71
+ }
72
+ ],
73
+ "name": "Upgraded",
74
+ "type": "event"
75
+ },
76
+ {
77
+ "stateMutability": "payable",
78
+ "type": "fallback"
79
+ },
80
+ {
81
+ "stateMutability": "payable",
82
+ "type": "receive"
83
+ }
84
+ ] as const satisfies Abi;
85
+
86
+ /**
87
+ * Type-safe ABI for TransparentUpgradeableProxy
88
+ */
89
+ export type TransparentUpgradeableProxyAbi = typeof TransparentUpgradeableProxyAbi;
90
+
91
+ /**
92
+ * Contract instance type for TransparentUpgradeableProxy
93
+ */
94
+ // Use any for contract type to avoid complex viem type issues
95
+ // The runtime behavior is type-safe through viem's ABI typing
96
+ export type TransparentUpgradeableProxyContract = any;
97
+
98
+ /**
99
+ * TransparentUpgradeableProxy Contract Class
100
+ *
101
+ * Provides a class-based API similar to TypeChain for interacting with the contract.
102
+ *
103
+ * @example
104
+ * ```typescript
105
+ * import { createPublicClient, createWalletClient, http } from 'viem';
106
+ * import { mainnet } from 'viem/chains';
107
+ * import { TransparentUpgradeableProxy } from 'TransparentUpgradeableProxy';
108
+ *
109
+ * const publicClient = createPublicClient({ chain: mainnet, transport: http() });
110
+ * const walletClient = createWalletClient({ chain: mainnet, transport: http() });
111
+ *
112
+ * const contract = new TransparentUpgradeableProxy('0x...', { publicClient, walletClient });
113
+ *
114
+ * // Read functions
115
+ * const result = await contract.balanceOf('0x...');
116
+ *
117
+ * // Write functions
118
+ * const hash = await contract.transfer('0x...', 1000n);
119
+ *
120
+ * // Simulate transactions (dry-run)
121
+ * const simulation = await contract.simulate.transfer('0x...', 1000n);
122
+ * console.log('Gas estimate:', simulation.request.gas);
123
+ *
124
+ * // Watch events
125
+ * const unwatch = contract.watch.Transfer((event) => {
126
+ * console.log('Transfer event:', event);
127
+ * });
128
+ * ```
129
+ */
130
+ export class TransparentUpgradeableProxy {
131
+ private contract: TransparentUpgradeableProxyContract;
132
+ private contractAddress: Address;
133
+ private publicClient: PublicClient;
134
+
135
+ constructor(
136
+ address: Address,
137
+ clients: {
138
+ publicClient: PublicClient;
139
+ walletClient?: WalletClient;
140
+ }
141
+ ) {
142
+ this.contractAddress = address;
143
+ this.publicClient = clients.publicClient;
144
+ this.contract = getContract({
145
+ address,
146
+ abi: TransparentUpgradeableProxyAbi,
147
+ client: {
148
+ public: clients.publicClient,
149
+ wallet: clients.walletClient,
150
+ },
151
+ });
152
+ }
153
+
154
+ /**
155
+ * Get the contract address
156
+ */
157
+ get address(): Address {
158
+ return this.contractAddress;
159
+ }
160
+
161
+ /**
162
+ * Get the underlying viem contract instance.
163
+ */
164
+ getContract(): TransparentUpgradeableProxyContract {
165
+ return this.contract;
166
+ }
167
+
168
+ // No read functions
169
+
170
+ // No write functions
171
+
172
+
173
+
174
+ /**
175
+ * Simulate contract write operations (dry-run without sending transaction)
176
+ *
177
+ * Note: This contract has no write functions, so simulate returns an empty object.
178
+ */
179
+ get simulate() {
180
+ return {};
181
+ }
182
+
183
+ /**
184
+ * Watch contract events
185
+ *
186
+ * @example
187
+ * // Watch all Transfer events
188
+ * const unwatch = contract.watch.Transfer((event) => {
189
+ * console.log('Transfer:', event);
190
+ * });
191
+ *
192
+ * // Stop watching
193
+ * unwatch();
194
+ */
195
+ get watch() {
196
+ return {
197
+ /**
198
+ * Watch AdminChanged events
199
+ * @param callback Function to call when event is emitted
200
+ * @param filter Optional filter for indexed parameters
201
+ * @returns Unwatch function to stop listening
202
+ */
203
+ AdminChanged: (callback: (event: { previousAdmin: `0x${string}`; newAdmin: `0x${string}` }) => void) => {
204
+ return this.publicClient.watchContractEvent({
205
+ address: this.contractAddress,
206
+ abi: TransparentUpgradeableProxyAbi,
207
+ eventName: 'AdminChanged',
208
+
209
+ onLogs: (logs: any[]) => {
210
+ logs.forEach((log: any) => {
211
+ callback(log.args as any);
212
+ });
213
+ },
214
+ }) as () => void;
215
+ },
216
+ /**
217
+ * Watch BeaconUpgraded events
218
+ * @param callback Function to call when event is emitted
219
+ * @param filter Optional filter for indexed parameters
220
+ * @returns Unwatch function to stop listening
221
+ */
222
+ BeaconUpgraded: (callback: (event: { beacon: `0x${string}` }) => void, filter?: { beacon?: `0x${string}` | `0x${string}`[] | null }) => {
223
+ return this.publicClient.watchContractEvent({
224
+ address: this.contractAddress,
225
+ abi: TransparentUpgradeableProxyAbi,
226
+ eventName: 'BeaconUpgraded',
227
+ args: filter as any,
228
+ onLogs: (logs: any[]) => {
229
+ logs.forEach((log: any) => {
230
+ callback(log.args as any);
231
+ });
232
+ },
233
+ }) as () => void;
234
+ },
235
+ /**
236
+ * Watch Upgraded events
237
+ * @param callback Function to call when event is emitted
238
+ * @param filter Optional filter for indexed parameters
239
+ * @returns Unwatch function to stop listening
240
+ */
241
+ Upgraded: (callback: (event: { implementation: `0x${string}` }) => void, filter?: { implementation?: `0x${string}` | `0x${string}`[] | null }) => {
242
+ return this.publicClient.watchContractEvent({
243
+ address: this.contractAddress,
244
+ abi: TransparentUpgradeableProxyAbi,
245
+ eventName: 'Upgraded',
246
+ args: filter as any,
247
+ onLogs: (logs: any[]) => {
248
+ logs.forEach((log: any) => {
249
+ callback(log.args as any);
250
+ });
251
+ },
252
+ }) as () => void;
253
+ }
254
+ };
255
+ }
256
+ }
@@ -0,0 +1,4 @@
1
+ export { HadronTokenAbi, HadronToken } from './HadronToken';
2
+ export type { HadronTokenAbi as HadronTokenAbiType, HadronTokenContract } from './HadronToken';
3
+ export { TransparentUpgradeableProxyAbi, TransparentUpgradeableProxy } from './TransparentUpgradeableProxy';
4
+ export type { TransparentUpgradeableProxyAbi as TransparentUpgradeableProxyAbiType, TransparentUpgradeableProxyContract } from './TransparentUpgradeableProxy';
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TransparentUpgradeableProxy = exports.TransparentUpgradeableProxyAbi = exports.HadronToken = exports.HadronTokenAbi = void 0;
4
+ // Auto-generated exports for all contracts
5
+ var HadronToken_1 = require("./HadronToken");
6
+ Object.defineProperty(exports, "HadronTokenAbi", { enumerable: true, get: function () { return HadronToken_1.HadronTokenAbi; } });
7
+ Object.defineProperty(exports, "HadronToken", { enumerable: true, get: function () { return HadronToken_1.HadronToken; } });
8
+ var TransparentUpgradeableProxy_1 = require("./TransparentUpgradeableProxy");
9
+ Object.defineProperty(exports, "TransparentUpgradeableProxyAbi", { enumerable: true, get: function () { return TransparentUpgradeableProxy_1.TransparentUpgradeableProxyAbi; } });
10
+ Object.defineProperty(exports, "TransparentUpgradeableProxy", { enumerable: true, get: function () { return TransparentUpgradeableProxy_1.TransparentUpgradeableProxy; } });
@@ -0,0 +1,5 @@
1
+ // Auto-generated exports for all contracts
2
+ export { HadronTokenAbi, HadronToken } from './HadronToken';
3
+ export type { HadronTokenAbi as HadronTokenAbiType, HadronTokenContract } from './HadronToken';
4
+ export { TransparentUpgradeableProxyAbi, TransparentUpgradeableProxy } from './TransparentUpgradeableProxy';
5
+ export type { TransparentUpgradeableProxyAbi as TransparentUpgradeableProxyAbiType, TransparentUpgradeableProxyContract } from './TransparentUpgradeableProxy';
package/index.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * from './contracts';
package/index.js ADDED
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ // Auto-generated TypeScript type bindings
3
+ // This file exports all generated contract types
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
17
+ };
18
+ Object.defineProperty(exports, "__esModule", { value: true });
19
+ __exportStar(require("./contracts"), exports);