@gitmyabi/nounsdaoexecutor 1.0.0 → 1.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.
- package/README.md +5 -5
- package/contracts/{NounsDAOExecutorV2_json.d.ts → NounsDAOExecutor_json.d.ts} +17 -392
- package/contracts/{NounsDAOExecutorV2_json.js → NounsDAOExecutor_json.js} +21 -398
- package/contracts/{NounsDAOExecutorV2_json.ts → NounsDAOExecutor_json.ts} +25 -519
- package/contracts/index.d.ts +2 -4
- package/contracts/index.js +4 -7
- package/contracts/index.ts +2 -4
- package/package.json +3 -3
- package/contracts/NounsDAOExecutorProxy_json.d.ts +0 -169
- package/contracts/NounsDAOExecutorProxy_json.js +0 -221
- package/contracts/NounsDAOExecutorProxy_json.ts +0 -251
package/README.md
CHANGED
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
Auto-generated TypeScript type bindings for **NounsDAOExecutor**
|
|
4
4
|
|
|
5
|
-
- **Build ID**: `etherscan-nounsdaoexecutor-
|
|
5
|
+
- **Build ID**: `etherscan-nounsdaoexecutor-d5f279ff-1792255936008`
|
|
6
6
|
- **Build Number**: 1
|
|
7
|
-
- **Commit**: `
|
|
7
|
+
- **Commit**: `6395d14`
|
|
8
8
|
- **Branch**: `etherscan`
|
|
9
9
|
- **Target**: `ethers-v6`
|
|
10
|
-
- **Contracts**:
|
|
10
|
+
- **Contracts**: 1
|
|
11
11
|
|
|
12
12
|
## Installation
|
|
13
13
|
|
|
14
14
|
```bash
|
|
15
|
-
npm install @gitmyabi/nounsdaoexecutor@1.0.
|
|
15
|
+
npm install @gitmyabi/nounsdaoexecutor@1.0.1
|
|
16
16
|
```
|
|
17
17
|
|
|
18
18
|
## Usage
|
|
@@ -101,7 +101,7 @@ This package provides full TypeScript type safety for all contract methods, even
|
|
|
101
101
|
|
|
102
102
|
## Generated Contracts
|
|
103
103
|
|
|
104
|
-
This package includes type bindings for
|
|
104
|
+
This package includes type bindings for 1 contract(s) generated from ABI artifacts.
|
|
105
105
|
|
|
106
106
|
## License
|
|
107
107
|
|
|
@@ -1,38 +1,21 @@
|
|
|
1
1
|
import type { Address, PublicClient, WalletClient } from 'viem';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* NounsDAOExecutor_json ABI
|
|
4
4
|
*
|
|
5
5
|
* This ABI is typed using viem's type system for full type safety.
|
|
6
6
|
*/
|
|
7
|
-
export declare const
|
|
8
|
-
readonly inputs: readonly [];
|
|
9
|
-
readonly stateMutability: "nonpayable";
|
|
10
|
-
readonly type: "constructor";
|
|
11
|
-
}, {
|
|
12
|
-
readonly anonymous: false;
|
|
7
|
+
export declare const NounsDAOExecutor_jsonAbi: readonly [{
|
|
13
8
|
readonly inputs: readonly [{
|
|
14
|
-
readonly indexed: false;
|
|
15
9
|
readonly internalType: "address";
|
|
16
|
-
readonly name: "
|
|
10
|
+
readonly name: "admin_";
|
|
17
11
|
readonly type: "address";
|
|
18
12
|
}, {
|
|
19
|
-
readonly
|
|
20
|
-
readonly
|
|
21
|
-
readonly
|
|
22
|
-
readonly type: "address";
|
|
23
|
-
}];
|
|
24
|
-
readonly name: "AdminChanged";
|
|
25
|
-
readonly type: "event";
|
|
26
|
-
}, {
|
|
27
|
-
readonly anonymous: false;
|
|
28
|
-
readonly inputs: readonly [{
|
|
29
|
-
readonly indexed: true;
|
|
30
|
-
readonly internalType: "address";
|
|
31
|
-
readonly name: "beacon";
|
|
32
|
-
readonly type: "address";
|
|
13
|
+
readonly internalType: "uint256";
|
|
14
|
+
readonly name: "delay_";
|
|
15
|
+
readonly type: "uint256";
|
|
33
16
|
}];
|
|
34
|
-
readonly
|
|
35
|
-
readonly type: "
|
|
17
|
+
readonly stateMutability: "nonpayable";
|
|
18
|
+
readonly type: "constructor";
|
|
36
19
|
}, {
|
|
37
20
|
readonly anonymous: false;
|
|
38
21
|
readonly inputs: readonly [{
|
|
@@ -68,41 +51,6 @@ export declare const NounsDAOExecutorV2_jsonAbi: readonly [{
|
|
|
68
51
|
}];
|
|
69
52
|
readonly name: "CancelTransaction";
|
|
70
53
|
readonly type: "event";
|
|
71
|
-
}, {
|
|
72
|
-
readonly anonymous: false;
|
|
73
|
-
readonly inputs: readonly [{
|
|
74
|
-
readonly indexed: true;
|
|
75
|
-
readonly internalType: "address";
|
|
76
|
-
readonly name: "to";
|
|
77
|
-
readonly type: "address";
|
|
78
|
-
}, {
|
|
79
|
-
readonly indexed: true;
|
|
80
|
-
readonly internalType: "address";
|
|
81
|
-
readonly name: "erc20Token";
|
|
82
|
-
readonly type: "address";
|
|
83
|
-
}, {
|
|
84
|
-
readonly indexed: false;
|
|
85
|
-
readonly internalType: "uint256";
|
|
86
|
-
readonly name: "amount";
|
|
87
|
-
readonly type: "uint256";
|
|
88
|
-
}];
|
|
89
|
-
readonly name: "ERC20Sent";
|
|
90
|
-
readonly type: "event";
|
|
91
|
-
}, {
|
|
92
|
-
readonly anonymous: false;
|
|
93
|
-
readonly inputs: readonly [{
|
|
94
|
-
readonly indexed: true;
|
|
95
|
-
readonly internalType: "address";
|
|
96
|
-
readonly name: "to";
|
|
97
|
-
readonly type: "address";
|
|
98
|
-
}, {
|
|
99
|
-
readonly indexed: false;
|
|
100
|
-
readonly internalType: "uint256";
|
|
101
|
-
readonly name: "amount";
|
|
102
|
-
readonly type: "uint256";
|
|
103
|
-
}];
|
|
104
|
-
readonly name: "ETHSent";
|
|
105
|
-
readonly type: "event";
|
|
106
54
|
}, {
|
|
107
55
|
readonly anonymous: false;
|
|
108
56
|
readonly inputs: readonly [{
|
|
@@ -203,16 +151,6 @@ export declare const NounsDAOExecutorV2_jsonAbi: readonly [{
|
|
|
203
151
|
}];
|
|
204
152
|
readonly name: "QueueTransaction";
|
|
205
153
|
readonly type: "event";
|
|
206
|
-
}, {
|
|
207
|
-
readonly anonymous: false;
|
|
208
|
-
readonly inputs: readonly [{
|
|
209
|
-
readonly indexed: true;
|
|
210
|
-
readonly internalType: "address";
|
|
211
|
-
readonly name: "implementation";
|
|
212
|
-
readonly type: "address";
|
|
213
|
-
}];
|
|
214
|
-
readonly name: "Upgraded";
|
|
215
|
-
readonly type: "event";
|
|
216
154
|
}, {
|
|
217
155
|
readonly stateMutability: "payable";
|
|
218
156
|
readonly type: "fallback";
|
|
@@ -246,16 +184,6 @@ export declare const NounsDAOExecutorV2_jsonAbi: readonly [{
|
|
|
246
184
|
}];
|
|
247
185
|
readonly stateMutability: "view";
|
|
248
186
|
readonly type: "function";
|
|
249
|
-
}, {
|
|
250
|
-
readonly inputs: readonly [];
|
|
251
|
-
readonly name: "NAME";
|
|
252
|
-
readonly outputs: readonly [{
|
|
253
|
-
readonly internalType: "string";
|
|
254
|
-
readonly name: "";
|
|
255
|
-
readonly type: "string";
|
|
256
|
-
}];
|
|
257
|
-
readonly stateMutability: "view";
|
|
258
|
-
readonly type: "function";
|
|
259
187
|
}, {
|
|
260
188
|
readonly inputs: readonly [];
|
|
261
189
|
readonly name: "acceptAdmin";
|
|
@@ -338,20 +266,6 @@ export declare const NounsDAOExecutorV2_jsonAbi: readonly [{
|
|
|
338
266
|
}];
|
|
339
267
|
readonly stateMutability: "nonpayable";
|
|
340
268
|
readonly type: "function";
|
|
341
|
-
}, {
|
|
342
|
-
readonly inputs: readonly [{
|
|
343
|
-
readonly internalType: "address";
|
|
344
|
-
readonly name: "admin_";
|
|
345
|
-
readonly type: "address";
|
|
346
|
-
}, {
|
|
347
|
-
readonly internalType: "uint256";
|
|
348
|
-
readonly name: "delay_";
|
|
349
|
-
readonly type: "uint256";
|
|
350
|
-
}];
|
|
351
|
-
readonly name: "initialize";
|
|
352
|
-
readonly outputs: readonly [];
|
|
353
|
-
readonly stateMutability: "nonpayable";
|
|
354
|
-
readonly type: "function";
|
|
355
269
|
}, {
|
|
356
270
|
readonly inputs: readonly [];
|
|
357
271
|
readonly name: "pendingAdmin";
|
|
@@ -406,38 +320,6 @@ export declare const NounsDAOExecutorV2_jsonAbi: readonly [{
|
|
|
406
320
|
}];
|
|
407
321
|
readonly stateMutability: "view";
|
|
408
322
|
readonly type: "function";
|
|
409
|
-
}, {
|
|
410
|
-
readonly inputs: readonly [{
|
|
411
|
-
readonly internalType: "address";
|
|
412
|
-
readonly name: "recipient";
|
|
413
|
-
readonly type: "address";
|
|
414
|
-
}, {
|
|
415
|
-
readonly internalType: "address";
|
|
416
|
-
readonly name: "erc20Token";
|
|
417
|
-
readonly type: "address";
|
|
418
|
-
}, {
|
|
419
|
-
readonly internalType: "uint256";
|
|
420
|
-
readonly name: "tokensToSend";
|
|
421
|
-
readonly type: "uint256";
|
|
422
|
-
}];
|
|
423
|
-
readonly name: "sendERC20";
|
|
424
|
-
readonly outputs: readonly [];
|
|
425
|
-
readonly stateMutability: "nonpayable";
|
|
426
|
-
readonly type: "function";
|
|
427
|
-
}, {
|
|
428
|
-
readonly inputs: readonly [{
|
|
429
|
-
readonly internalType: "address payable";
|
|
430
|
-
readonly name: "recipient";
|
|
431
|
-
readonly type: "address";
|
|
432
|
-
}, {
|
|
433
|
-
readonly internalType: "uint256";
|
|
434
|
-
readonly name: "ethToSend";
|
|
435
|
-
readonly type: "uint256";
|
|
436
|
-
}];
|
|
437
|
-
readonly name: "sendETH";
|
|
438
|
-
readonly outputs: readonly [];
|
|
439
|
-
readonly stateMutability: "nonpayable";
|
|
440
|
-
readonly type: "function";
|
|
441
323
|
}, {
|
|
442
324
|
readonly inputs: readonly [{
|
|
443
325
|
readonly internalType: "uint256";
|
|
@@ -458,44 +340,20 @@ export declare const NounsDAOExecutorV2_jsonAbi: readonly [{
|
|
|
458
340
|
readonly outputs: readonly [];
|
|
459
341
|
readonly stateMutability: "nonpayable";
|
|
460
342
|
readonly type: "function";
|
|
461
|
-
}, {
|
|
462
|
-
readonly inputs: readonly [{
|
|
463
|
-
readonly internalType: "address";
|
|
464
|
-
readonly name: "newImplementation";
|
|
465
|
-
readonly type: "address";
|
|
466
|
-
}];
|
|
467
|
-
readonly name: "upgradeTo";
|
|
468
|
-
readonly outputs: readonly [];
|
|
469
|
-
readonly stateMutability: "nonpayable";
|
|
470
|
-
readonly type: "function";
|
|
471
|
-
}, {
|
|
472
|
-
readonly inputs: readonly [{
|
|
473
|
-
readonly internalType: "address";
|
|
474
|
-
readonly name: "newImplementation";
|
|
475
|
-
readonly type: "address";
|
|
476
|
-
}, {
|
|
477
|
-
readonly internalType: "bytes";
|
|
478
|
-
readonly name: "data";
|
|
479
|
-
readonly type: "bytes";
|
|
480
|
-
}];
|
|
481
|
-
readonly name: "upgradeToAndCall";
|
|
482
|
-
readonly outputs: readonly [];
|
|
483
|
-
readonly stateMutability: "payable";
|
|
484
|
-
readonly type: "function";
|
|
485
343
|
}, {
|
|
486
344
|
readonly stateMutability: "payable";
|
|
487
345
|
readonly type: "receive";
|
|
488
346
|
}];
|
|
489
347
|
/**
|
|
490
|
-
* Type-safe ABI for
|
|
348
|
+
* Type-safe ABI for NounsDAOExecutor_json
|
|
491
349
|
*/
|
|
492
|
-
export type
|
|
350
|
+
export type NounsDAOExecutor_jsonAbi = typeof NounsDAOExecutor_jsonAbi;
|
|
493
351
|
/**
|
|
494
|
-
* Contract instance type for
|
|
352
|
+
* Contract instance type for NounsDAOExecutor_json
|
|
495
353
|
*/
|
|
496
|
-
export type
|
|
354
|
+
export type NounsDAOExecutor_jsonContract = any;
|
|
497
355
|
/**
|
|
498
|
-
*
|
|
356
|
+
* NounsDAOExecutor_json Contract Class
|
|
499
357
|
*
|
|
500
358
|
* Provides a class-based API similar to TypeChain for interacting with the contract.
|
|
501
359
|
*
|
|
@@ -503,12 +361,12 @@ export type NounsDAOExecutorV2_jsonContract = any;
|
|
|
503
361
|
* ```typescript
|
|
504
362
|
* import { createPublicClient, createWalletClient, http } from 'viem';
|
|
505
363
|
* import { mainnet } from 'viem/chains';
|
|
506
|
-
* import {
|
|
364
|
+
* import { NounsDAOExecutor_json } from 'NounsDAOExecutor_json';
|
|
507
365
|
*
|
|
508
366
|
* const publicClient = createPublicClient({ chain: mainnet, transport: http() });
|
|
509
367
|
* const walletClient = createWalletClient({ chain: mainnet, transport: http() });
|
|
510
368
|
*
|
|
511
|
-
* const contract = new
|
|
369
|
+
* const contract = new NounsDAOExecutor_json('0x...', { publicClient, walletClient });
|
|
512
370
|
*
|
|
513
371
|
* // Read functions
|
|
514
372
|
* const result = await contract.balanceOf('0x...');
|
|
@@ -526,7 +384,7 @@ export type NounsDAOExecutorV2_jsonContract = any;
|
|
|
526
384
|
* });
|
|
527
385
|
* ```
|
|
528
386
|
*/
|
|
529
|
-
export declare class
|
|
387
|
+
export declare class NounsDAOExecutor_json {
|
|
530
388
|
private contract;
|
|
531
389
|
private contractAddress;
|
|
532
390
|
private publicClient;
|
|
@@ -541,7 +399,7 @@ export declare class NounsDAOExecutorV2_json {
|
|
|
541
399
|
/**
|
|
542
400
|
* Get the underlying viem contract instance
|
|
543
401
|
*/
|
|
544
|
-
getContract():
|
|
402
|
+
getContract(): NounsDAOExecutor_jsonContract;
|
|
545
403
|
/**
|
|
546
404
|
* GRACE_PERIOD
|
|
547
405
|
* view
|
|
@@ -557,11 +415,6 @@ export declare class NounsDAOExecutorV2_json {
|
|
|
557
415
|
* view
|
|
558
416
|
*/
|
|
559
417
|
MINIMUM_DELAY(): Promise<bigint>;
|
|
560
|
-
/**
|
|
561
|
-
* NAME
|
|
562
|
-
* view
|
|
563
|
-
*/
|
|
564
|
-
NAME(): Promise<string>;
|
|
565
418
|
/**
|
|
566
419
|
* admin
|
|
567
420
|
* view
|
|
@@ -633,23 +486,6 @@ export declare class NounsDAOExecutorV2_json {
|
|
|
633
486
|
nonce?: number;
|
|
634
487
|
value?: bigint;
|
|
635
488
|
}): Promise<`0x${string}`>;
|
|
636
|
-
/**
|
|
637
|
-
* initialize
|
|
638
|
-
* nonpayable
|
|
639
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
640
|
-
*/
|
|
641
|
-
initialize(admin_: `0x${string}`, delay_: bigint, options?: {
|
|
642
|
-
accessList?: import('viem').AccessList;
|
|
643
|
-
authorizationList?: import('viem').AuthorizationList;
|
|
644
|
-
chain?: import('viem').Chain | null;
|
|
645
|
-
dataSuffix?: `0x${string}`;
|
|
646
|
-
gas?: bigint;
|
|
647
|
-
gasPrice?: bigint;
|
|
648
|
-
maxFeePerGas?: bigint;
|
|
649
|
-
maxPriorityFeePerGas?: bigint;
|
|
650
|
-
nonce?: number;
|
|
651
|
-
value?: bigint;
|
|
652
|
-
}): Promise<`0x${string}`>;
|
|
653
489
|
/**
|
|
654
490
|
* queueTransaction
|
|
655
491
|
* nonpayable
|
|
@@ -667,40 +503,6 @@ export declare class NounsDAOExecutorV2_json {
|
|
|
667
503
|
nonce?: number;
|
|
668
504
|
value?: bigint;
|
|
669
505
|
}): Promise<`0x${string}`>;
|
|
670
|
-
/**
|
|
671
|
-
* sendERC20
|
|
672
|
-
* nonpayable
|
|
673
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
674
|
-
*/
|
|
675
|
-
sendERC20(recipient: `0x${string}`, erc20Token: `0x${string}`, tokensToSend: bigint, options?: {
|
|
676
|
-
accessList?: import('viem').AccessList;
|
|
677
|
-
authorizationList?: import('viem').AuthorizationList;
|
|
678
|
-
chain?: import('viem').Chain | null;
|
|
679
|
-
dataSuffix?: `0x${string}`;
|
|
680
|
-
gas?: bigint;
|
|
681
|
-
gasPrice?: bigint;
|
|
682
|
-
maxFeePerGas?: bigint;
|
|
683
|
-
maxPriorityFeePerGas?: bigint;
|
|
684
|
-
nonce?: number;
|
|
685
|
-
value?: bigint;
|
|
686
|
-
}): Promise<`0x${string}`>;
|
|
687
|
-
/**
|
|
688
|
-
* sendETH
|
|
689
|
-
* nonpayable
|
|
690
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
691
|
-
*/
|
|
692
|
-
sendETH(recipient: `0x${string}`, ethToSend: bigint, options?: {
|
|
693
|
-
accessList?: import('viem').AccessList;
|
|
694
|
-
authorizationList?: import('viem').AuthorizationList;
|
|
695
|
-
chain?: import('viem').Chain | null;
|
|
696
|
-
dataSuffix?: `0x${string}`;
|
|
697
|
-
gas?: bigint;
|
|
698
|
-
gasPrice?: bigint;
|
|
699
|
-
maxFeePerGas?: bigint;
|
|
700
|
-
maxPriorityFeePerGas?: bigint;
|
|
701
|
-
nonce?: number;
|
|
702
|
-
value?: bigint;
|
|
703
|
-
}): Promise<`0x${string}`>;
|
|
704
506
|
/**
|
|
705
507
|
* setDelay
|
|
706
508
|
* nonpayable
|
|
@@ -735,40 +537,6 @@ export declare class NounsDAOExecutorV2_json {
|
|
|
735
537
|
nonce?: number;
|
|
736
538
|
value?: bigint;
|
|
737
539
|
}): Promise<`0x${string}`>;
|
|
738
|
-
/**
|
|
739
|
-
* upgradeTo
|
|
740
|
-
* nonpayable
|
|
741
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
742
|
-
*/
|
|
743
|
-
upgradeTo(newImplementation: `0x${string}`, options?: {
|
|
744
|
-
accessList?: import('viem').AccessList;
|
|
745
|
-
authorizationList?: import('viem').AuthorizationList;
|
|
746
|
-
chain?: import('viem').Chain | null;
|
|
747
|
-
dataSuffix?: `0x${string}`;
|
|
748
|
-
gas?: bigint;
|
|
749
|
-
gasPrice?: bigint;
|
|
750
|
-
maxFeePerGas?: bigint;
|
|
751
|
-
maxPriorityFeePerGas?: bigint;
|
|
752
|
-
nonce?: number;
|
|
753
|
-
value?: bigint;
|
|
754
|
-
}): Promise<`0x${string}`>;
|
|
755
|
-
/**
|
|
756
|
-
* upgradeToAndCall
|
|
757
|
-
* payable
|
|
758
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
759
|
-
*/
|
|
760
|
-
upgradeToAndCall(newImplementation: `0x${string}`, data: `0x${string}`, options?: {
|
|
761
|
-
accessList?: import('viem').AccessList;
|
|
762
|
-
authorizationList?: import('viem').AuthorizationList;
|
|
763
|
-
chain?: import('viem').Chain | null;
|
|
764
|
-
dataSuffix?: `0x${string}`;
|
|
765
|
-
gas?: bigint;
|
|
766
|
-
gasPrice?: bigint;
|
|
767
|
-
maxFeePerGas?: bigint;
|
|
768
|
-
maxPriorityFeePerGas?: bigint;
|
|
769
|
-
nonce?: number;
|
|
770
|
-
value?: bigint;
|
|
771
|
-
}): Promise<`0x${string}`>;
|
|
772
540
|
/**
|
|
773
541
|
* Simulate contract write operations (dry-run without sending transaction)
|
|
774
542
|
*
|
|
@@ -829,23 +597,6 @@ export declare class NounsDAOExecutorV2_json {
|
|
|
829
597
|
nonce?: number;
|
|
830
598
|
value?: bigint;
|
|
831
599
|
}): Promise<`0x${string}`>;
|
|
832
|
-
/**
|
|
833
|
-
* Simulate initialize
|
|
834
|
-
* Returns gas estimate and result without sending transaction
|
|
835
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
836
|
-
*/
|
|
837
|
-
initialize(admin_: `0x${string}`, delay_: bigint, options?: {
|
|
838
|
-
accessList?: import("viem").AccessList;
|
|
839
|
-
authorizationList?: import("viem").AuthorizationList;
|
|
840
|
-
chain?: import("viem").Chain | null;
|
|
841
|
-
dataSuffix?: `0x${string}`;
|
|
842
|
-
gas?: bigint;
|
|
843
|
-
gasPrice?: bigint;
|
|
844
|
-
maxFeePerGas?: bigint;
|
|
845
|
-
maxPriorityFeePerGas?: bigint;
|
|
846
|
-
nonce?: number;
|
|
847
|
-
value?: bigint;
|
|
848
|
-
}): Promise<void>;
|
|
849
600
|
/**
|
|
850
601
|
* Simulate queueTransaction
|
|
851
602
|
* Returns gas estimate and result without sending transaction
|
|
@@ -863,40 +614,6 @@ export declare class NounsDAOExecutorV2_json {
|
|
|
863
614
|
nonce?: number;
|
|
864
615
|
value?: bigint;
|
|
865
616
|
}): Promise<`0x${string}`>;
|
|
866
|
-
/**
|
|
867
|
-
* Simulate sendERC20
|
|
868
|
-
* Returns gas estimate and result without sending transaction
|
|
869
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
870
|
-
*/
|
|
871
|
-
sendERC20(recipient: `0x${string}`, erc20Token: `0x${string}`, tokensToSend: bigint, options?: {
|
|
872
|
-
accessList?: import("viem").AccessList;
|
|
873
|
-
authorizationList?: import("viem").AuthorizationList;
|
|
874
|
-
chain?: import("viem").Chain | null;
|
|
875
|
-
dataSuffix?: `0x${string}`;
|
|
876
|
-
gas?: bigint;
|
|
877
|
-
gasPrice?: bigint;
|
|
878
|
-
maxFeePerGas?: bigint;
|
|
879
|
-
maxPriorityFeePerGas?: bigint;
|
|
880
|
-
nonce?: number;
|
|
881
|
-
value?: bigint;
|
|
882
|
-
}): Promise<void>;
|
|
883
|
-
/**
|
|
884
|
-
* Simulate sendETH
|
|
885
|
-
* Returns gas estimate and result without sending transaction
|
|
886
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
887
|
-
*/
|
|
888
|
-
sendETH(recipient: `0x${string}`, ethToSend: bigint, options?: {
|
|
889
|
-
accessList?: import("viem").AccessList;
|
|
890
|
-
authorizationList?: import("viem").AuthorizationList;
|
|
891
|
-
chain?: import("viem").Chain | null;
|
|
892
|
-
dataSuffix?: `0x${string}`;
|
|
893
|
-
gas?: bigint;
|
|
894
|
-
gasPrice?: bigint;
|
|
895
|
-
maxFeePerGas?: bigint;
|
|
896
|
-
maxPriorityFeePerGas?: bigint;
|
|
897
|
-
nonce?: number;
|
|
898
|
-
value?: bigint;
|
|
899
|
-
}): Promise<void>;
|
|
900
617
|
/**
|
|
901
618
|
* Simulate setDelay
|
|
902
619
|
* Returns gas estimate and result without sending transaction
|
|
@@ -931,40 +648,6 @@ export declare class NounsDAOExecutorV2_json {
|
|
|
931
648
|
nonce?: number;
|
|
932
649
|
value?: bigint;
|
|
933
650
|
}): Promise<void>;
|
|
934
|
-
/**
|
|
935
|
-
* Simulate upgradeTo
|
|
936
|
-
* Returns gas estimate and result without sending transaction
|
|
937
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
938
|
-
*/
|
|
939
|
-
upgradeTo(newImplementation: `0x${string}`, options?: {
|
|
940
|
-
accessList?: import("viem").AccessList;
|
|
941
|
-
authorizationList?: import("viem").AuthorizationList;
|
|
942
|
-
chain?: import("viem").Chain | null;
|
|
943
|
-
dataSuffix?: `0x${string}`;
|
|
944
|
-
gas?: bigint;
|
|
945
|
-
gasPrice?: bigint;
|
|
946
|
-
maxFeePerGas?: bigint;
|
|
947
|
-
maxPriorityFeePerGas?: bigint;
|
|
948
|
-
nonce?: number;
|
|
949
|
-
value?: bigint;
|
|
950
|
-
}): Promise<void>;
|
|
951
|
-
/**
|
|
952
|
-
* Simulate upgradeToAndCall
|
|
953
|
-
* Returns gas estimate and result without sending transaction
|
|
954
|
-
* @param options Optional transaction parameters (value, gas, nonce, etc.)
|
|
955
|
-
*/
|
|
956
|
-
upgradeToAndCall(newImplementation: `0x${string}`, data: `0x${string}`, options?: {
|
|
957
|
-
accessList?: import("viem").AccessList;
|
|
958
|
-
authorizationList?: import("viem").AuthorizationList;
|
|
959
|
-
chain?: import("viem").Chain | null;
|
|
960
|
-
dataSuffix?: `0x${string}`;
|
|
961
|
-
gas?: bigint;
|
|
962
|
-
gasPrice?: bigint;
|
|
963
|
-
maxFeePerGas?: bigint;
|
|
964
|
-
maxPriorityFeePerGas?: bigint;
|
|
965
|
-
nonce?: number;
|
|
966
|
-
value?: bigint;
|
|
967
|
-
}): Promise<void>;
|
|
968
651
|
};
|
|
969
652
|
/**
|
|
970
653
|
* Watch contract events
|
|
@@ -979,27 +662,6 @@ export declare class NounsDAOExecutorV2_json {
|
|
|
979
662
|
* unwatch();
|
|
980
663
|
*/
|
|
981
664
|
get watch(): {
|
|
982
|
-
/**
|
|
983
|
-
* Watch AdminChanged events
|
|
984
|
-
* @param callback Function to call when event is emitted
|
|
985
|
-
* @param filter Optional filter for indexed parameters
|
|
986
|
-
* @returns Unwatch function to stop listening
|
|
987
|
-
*/
|
|
988
|
-
AdminChanged: (callback: (event: {
|
|
989
|
-
previousAdmin: `0x${string}`;
|
|
990
|
-
newAdmin: `0x${string}`;
|
|
991
|
-
}) => void) => () => void;
|
|
992
|
-
/**
|
|
993
|
-
* Watch BeaconUpgraded events
|
|
994
|
-
* @param callback Function to call when event is emitted
|
|
995
|
-
* @param filter Optional filter for indexed parameters
|
|
996
|
-
* @returns Unwatch function to stop listening
|
|
997
|
-
*/
|
|
998
|
-
BeaconUpgraded: (callback: (event: {
|
|
999
|
-
beacon: `0x${string}`;
|
|
1000
|
-
}) => void, filter?: {
|
|
1001
|
-
beacon: `0x${string}`;
|
|
1002
|
-
}) => () => void;
|
|
1003
665
|
/**
|
|
1004
666
|
* Watch CancelTransaction events
|
|
1005
667
|
* @param callback Function to call when event is emitted
|
|
@@ -1017,32 +679,6 @@ export declare class NounsDAOExecutorV2_json {
|
|
|
1017
679
|
txHash: `0x${string}`;
|
|
1018
680
|
target: `0x${string}`;
|
|
1019
681
|
}) => () => void;
|
|
1020
|
-
/**
|
|
1021
|
-
* Watch ERC20Sent events
|
|
1022
|
-
* @param callback Function to call when event is emitted
|
|
1023
|
-
* @param filter Optional filter for indexed parameters
|
|
1024
|
-
* @returns Unwatch function to stop listening
|
|
1025
|
-
*/
|
|
1026
|
-
ERC20Sent: (callback: (event: {
|
|
1027
|
-
to: `0x${string}`;
|
|
1028
|
-
erc20Token: `0x${string}`;
|
|
1029
|
-
amount: bigint;
|
|
1030
|
-
}) => void, filter?: {
|
|
1031
|
-
to: `0x${string}`;
|
|
1032
|
-
erc20Token: `0x${string}`;
|
|
1033
|
-
}) => () => void;
|
|
1034
|
-
/**
|
|
1035
|
-
* Watch ETHSent events
|
|
1036
|
-
* @param callback Function to call when event is emitted
|
|
1037
|
-
* @param filter Optional filter for indexed parameters
|
|
1038
|
-
* @returns Unwatch function to stop listening
|
|
1039
|
-
*/
|
|
1040
|
-
ETHSent: (callback: (event: {
|
|
1041
|
-
to: `0x${string}`;
|
|
1042
|
-
amount: bigint;
|
|
1043
|
-
}) => void, filter?: {
|
|
1044
|
-
to: `0x${string}`;
|
|
1045
|
-
}) => () => void;
|
|
1046
682
|
/**
|
|
1047
683
|
* Watch ExecuteTransaction events
|
|
1048
684
|
* @param callback Function to call when event is emitted
|
|
@@ -1110,16 +746,5 @@ export declare class NounsDAOExecutorV2_json {
|
|
|
1110
746
|
txHash: `0x${string}`;
|
|
1111
747
|
target: `0x${string}`;
|
|
1112
748
|
}) => () => void;
|
|
1113
|
-
/**
|
|
1114
|
-
* Watch Upgraded events
|
|
1115
|
-
* @param callback Function to call when event is emitted
|
|
1116
|
-
* @param filter Optional filter for indexed parameters
|
|
1117
|
-
* @returns Unwatch function to stop listening
|
|
1118
|
-
*/
|
|
1119
|
-
Upgraded: (callback: (event: {
|
|
1120
|
-
implementation: `0x${string}`;
|
|
1121
|
-
}) => void, filter?: {
|
|
1122
|
-
implementation: `0x${string}`;
|
|
1123
|
-
}) => () => void;
|
|
1124
749
|
};
|
|
1125
750
|
}
|