@cleanmate/cip-sdk 1.0.5 → 1.0.6
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/dist/abis/Cleanup.d.ts +246 -0
- package/dist/abis/Cleanup.d.ts.map +1 -1
- package/dist/abis/Cleanup.js +319 -0
- package/dist/abis/Cleanup.js.map +1 -1
- package/dist/abis/RewardsManager.d.ts +4 -0
- package/dist/abis/RewardsManager.d.ts.map +1 -1
- package/dist/abis/RewardsManager.js +5 -0
- package/dist/abis/RewardsManager.js.map +1 -1
- package/dist/abis/Streak.d.ts +128 -1
- package/dist/abis/Streak.d.ts.map +1 -1
- package/dist/abis/Streak.js +168 -1
- package/dist/abis/Streak.js.map +1 -1
- package/dist/abis/UserRegistry.d.ts +28 -0
- package/dist/abis/UserRegistry.d.ts.map +1 -1
- package/dist/abis/UserRegistry.js +36 -0
- package/dist/abis/UserRegistry.js.map +1 -1
- package/package.json +1 -1
package/dist/abis/Cleanup.d.ts
CHANGED
|
@@ -3,6 +3,10 @@ export declare const CleanupABI: readonly [{
|
|
|
3
3
|
readonly internalType: "address";
|
|
4
4
|
readonly name: "addressesProviderAddr";
|
|
5
5
|
readonly type: "address";
|
|
6
|
+
}, {
|
|
7
|
+
readonly internalType: "uint256";
|
|
8
|
+
readonly name: "chainIdValue";
|
|
9
|
+
readonly type: "uint256";
|
|
6
10
|
}];
|
|
7
11
|
readonly stateMutability: "nonpayable";
|
|
8
12
|
readonly type: "constructor";
|
|
@@ -38,6 +42,26 @@ export declare const CleanupABI: readonly [{
|
|
|
38
42
|
readonly inputs: readonly [];
|
|
39
43
|
readonly name: "CleanupNotOpen";
|
|
40
44
|
readonly type: "error";
|
|
45
|
+
}, {
|
|
46
|
+
readonly inputs: readonly [];
|
|
47
|
+
readonly name: "ECDSAInvalidSignature";
|
|
48
|
+
readonly type: "error";
|
|
49
|
+
}, {
|
|
50
|
+
readonly inputs: readonly [{
|
|
51
|
+
readonly internalType: "uint256";
|
|
52
|
+
readonly name: "length";
|
|
53
|
+
readonly type: "uint256";
|
|
54
|
+
}];
|
|
55
|
+
readonly name: "ECDSAInvalidSignatureLength";
|
|
56
|
+
readonly type: "error";
|
|
57
|
+
}, {
|
|
58
|
+
readonly inputs: readonly [{
|
|
59
|
+
readonly internalType: "bytes32";
|
|
60
|
+
readonly name: "s";
|
|
61
|
+
readonly type: "bytes32";
|
|
62
|
+
}];
|
|
63
|
+
readonly name: "ECDSAInvalidSignatureS";
|
|
64
|
+
readonly type: "error";
|
|
41
65
|
}, {
|
|
42
66
|
readonly inputs: readonly [];
|
|
43
67
|
readonly name: "EmailNotVerified";
|
|
@@ -78,6 +102,18 @@ export declare const CleanupABI: readonly [{
|
|
|
78
102
|
readonly inputs: readonly [];
|
|
79
103
|
readonly name: "ParticipantNotPending";
|
|
80
104
|
readonly type: "error";
|
|
105
|
+
}, {
|
|
106
|
+
readonly inputs: readonly [{
|
|
107
|
+
readonly internalType: "address";
|
|
108
|
+
readonly name: "expectedSigner";
|
|
109
|
+
readonly type: "address";
|
|
110
|
+
}, {
|
|
111
|
+
readonly internalType: "address";
|
|
112
|
+
readonly name: "actualSigner";
|
|
113
|
+
readonly type: "address";
|
|
114
|
+
}];
|
|
115
|
+
readonly name: "UnauthorizedSigner";
|
|
116
|
+
readonly type: "error";
|
|
81
117
|
}, {
|
|
82
118
|
readonly inputs: readonly [];
|
|
83
119
|
readonly name: "ZeroAddress";
|
|
@@ -397,6 +433,16 @@ export declare const CleanupABI: readonly [{
|
|
|
397
433
|
}];
|
|
398
434
|
readonly stateMutability: "view";
|
|
399
435
|
readonly type: "function";
|
|
436
|
+
}, {
|
|
437
|
+
readonly inputs: readonly [];
|
|
438
|
+
readonly name: "DOMAIN_SEPARATOR";
|
|
439
|
+
readonly outputs: readonly [{
|
|
440
|
+
readonly internalType: "bytes32";
|
|
441
|
+
readonly name: "";
|
|
442
|
+
readonly type: "bytes32";
|
|
443
|
+
}];
|
|
444
|
+
readonly stateMutability: "view";
|
|
445
|
+
readonly type: "function";
|
|
400
446
|
}, {
|
|
401
447
|
readonly inputs: readonly [{
|
|
402
448
|
readonly internalType: "uint256";
|
|
@@ -430,6 +476,45 @@ export declare const CleanupABI: readonly [{
|
|
|
430
476
|
readonly outputs: readonly [];
|
|
431
477
|
readonly stateMutability: "nonpayable";
|
|
432
478
|
readonly type: "function";
|
|
479
|
+
}, {
|
|
480
|
+
readonly inputs: readonly [{
|
|
481
|
+
readonly components: readonly [{
|
|
482
|
+
readonly internalType: "uint256";
|
|
483
|
+
readonly name: "cleanupId";
|
|
484
|
+
readonly type: "uint256";
|
|
485
|
+
}, {
|
|
486
|
+
readonly internalType: "string";
|
|
487
|
+
readonly name: "metadata";
|
|
488
|
+
readonly type: "string";
|
|
489
|
+
}];
|
|
490
|
+
readonly internalType: "struct Params.AddCleanupUpdatesParams";
|
|
491
|
+
readonly name: "params";
|
|
492
|
+
readonly type: "tuple";
|
|
493
|
+
}, {
|
|
494
|
+
readonly internalType: "address";
|
|
495
|
+
readonly name: "editor";
|
|
496
|
+
readonly type: "address";
|
|
497
|
+
}, {
|
|
498
|
+
readonly internalType: "uint256";
|
|
499
|
+
readonly name: "deadline";
|
|
500
|
+
readonly type: "uint256";
|
|
501
|
+
}, {
|
|
502
|
+
readonly internalType: "uint8";
|
|
503
|
+
readonly name: "v";
|
|
504
|
+
readonly type: "uint8";
|
|
505
|
+
}, {
|
|
506
|
+
readonly internalType: "bytes32";
|
|
507
|
+
readonly name: "r";
|
|
508
|
+
readonly type: "bytes32";
|
|
509
|
+
}, {
|
|
510
|
+
readonly internalType: "bytes32";
|
|
511
|
+
readonly name: "s";
|
|
512
|
+
readonly type: "bytes32";
|
|
513
|
+
}];
|
|
514
|
+
readonly name: "addCleanupUpdatesWithPermit";
|
|
515
|
+
readonly outputs: readonly [];
|
|
516
|
+
readonly stateMutability: "nonpayable";
|
|
517
|
+
readonly type: "function";
|
|
433
518
|
}, {
|
|
434
519
|
readonly inputs: readonly [];
|
|
435
520
|
readonly name: "addressesProvider";
|
|
@@ -450,6 +535,16 @@ export declare const CleanupABI: readonly [{
|
|
|
450
535
|
readonly outputs: readonly [];
|
|
451
536
|
readonly stateMutability: "nonpayable";
|
|
452
537
|
readonly type: "function";
|
|
538
|
+
}, {
|
|
539
|
+
readonly inputs: readonly [];
|
|
540
|
+
readonly name: "chainId";
|
|
541
|
+
readonly outputs: readonly [{
|
|
542
|
+
readonly internalType: "uint256";
|
|
543
|
+
readonly name: "";
|
|
544
|
+
readonly type: "uint256";
|
|
545
|
+
}];
|
|
546
|
+
readonly stateMutability: "view";
|
|
547
|
+
readonly type: "function";
|
|
453
548
|
}, {
|
|
454
549
|
readonly inputs: readonly [{
|
|
455
550
|
readonly internalType: "uint256";
|
|
@@ -624,6 +719,100 @@ export declare const CleanupABI: readonly [{
|
|
|
624
719
|
}];
|
|
625
720
|
readonly stateMutability: "nonpayable";
|
|
626
721
|
readonly type: "function";
|
|
722
|
+
}, {
|
|
723
|
+
readonly inputs: readonly [{
|
|
724
|
+
readonly components: readonly [{
|
|
725
|
+
readonly internalType: "string";
|
|
726
|
+
readonly name: "metadata";
|
|
727
|
+
readonly type: "string";
|
|
728
|
+
}, {
|
|
729
|
+
readonly internalType: "string";
|
|
730
|
+
readonly name: "category";
|
|
731
|
+
readonly type: "string";
|
|
732
|
+
}, {
|
|
733
|
+
readonly components: readonly [{
|
|
734
|
+
readonly internalType: "string";
|
|
735
|
+
readonly name: "address_";
|
|
736
|
+
readonly type: "string";
|
|
737
|
+
}, {
|
|
738
|
+
readonly internalType: "string";
|
|
739
|
+
readonly name: "city";
|
|
740
|
+
readonly type: "string";
|
|
741
|
+
}, {
|
|
742
|
+
readonly internalType: "string";
|
|
743
|
+
readonly name: "country";
|
|
744
|
+
readonly type: "string";
|
|
745
|
+
}, {
|
|
746
|
+
readonly internalType: "int256";
|
|
747
|
+
readonly name: "latitude";
|
|
748
|
+
readonly type: "int256";
|
|
749
|
+
}, {
|
|
750
|
+
readonly internalType: "int256";
|
|
751
|
+
readonly name: "longitude";
|
|
752
|
+
readonly type: "int256";
|
|
753
|
+
}];
|
|
754
|
+
readonly internalType: "struct ICleanup.Location";
|
|
755
|
+
readonly name: "location";
|
|
756
|
+
readonly type: "tuple";
|
|
757
|
+
}, {
|
|
758
|
+
readonly internalType: "uint256";
|
|
759
|
+
readonly name: "date";
|
|
760
|
+
readonly type: "uint256";
|
|
761
|
+
}, {
|
|
762
|
+
readonly internalType: "uint256";
|
|
763
|
+
readonly name: "startTime";
|
|
764
|
+
readonly type: "uint256";
|
|
765
|
+
}, {
|
|
766
|
+
readonly internalType: "uint256";
|
|
767
|
+
readonly name: "endTime";
|
|
768
|
+
readonly type: "uint256";
|
|
769
|
+
}, {
|
|
770
|
+
readonly internalType: "uint256";
|
|
771
|
+
readonly name: "maxParticipants";
|
|
772
|
+
readonly type: "uint256";
|
|
773
|
+
}];
|
|
774
|
+
readonly internalType: "struct Params.CreateCleanupParams";
|
|
775
|
+
readonly name: "params";
|
|
776
|
+
readonly type: "tuple";
|
|
777
|
+
}, {
|
|
778
|
+
readonly internalType: "address";
|
|
779
|
+
readonly name: "organizer";
|
|
780
|
+
readonly type: "address";
|
|
781
|
+
}, {
|
|
782
|
+
readonly internalType: "uint256";
|
|
783
|
+
readonly name: "deadline";
|
|
784
|
+
readonly type: "uint256";
|
|
785
|
+
}, {
|
|
786
|
+
readonly internalType: "uint8";
|
|
787
|
+
readonly name: "v";
|
|
788
|
+
readonly type: "uint8";
|
|
789
|
+
}, {
|
|
790
|
+
readonly internalType: "bytes32";
|
|
791
|
+
readonly name: "r";
|
|
792
|
+
readonly type: "bytes32";
|
|
793
|
+
}, {
|
|
794
|
+
readonly internalType: "bytes32";
|
|
795
|
+
readonly name: "s";
|
|
796
|
+
readonly type: "bytes32";
|
|
797
|
+
}];
|
|
798
|
+
readonly name: "createCleanupWithPermit";
|
|
799
|
+
readonly outputs: readonly [{
|
|
800
|
+
readonly internalType: "uint256";
|
|
801
|
+
readonly name: "cleanupId";
|
|
802
|
+
readonly type: "uint256";
|
|
803
|
+
}];
|
|
804
|
+
readonly stateMutability: "nonpayable";
|
|
805
|
+
readonly type: "function";
|
|
806
|
+
}, {
|
|
807
|
+
readonly inputs: readonly [];
|
|
808
|
+
readonly name: "getChainId";
|
|
809
|
+
readonly outputs: readonly [{
|
|
810
|
+
readonly internalType: "uint256";
|
|
811
|
+
readonly name: "";
|
|
812
|
+
readonly type: "uint256";
|
|
813
|
+
}];
|
|
814
|
+
readonly stateMutability: "view";
|
|
815
|
+
readonly type: "function";
|
|
627
816
|
}, {
|
|
628
817
|
readonly inputs: readonly [{
|
|
629
818
|
readonly internalType: "uint256";
|
|
@@ -848,6 +1037,20 @@ export declare const CleanupABI: readonly [{
|
|
|
848
1037
|
}];
|
|
849
1038
|
readonly stateMutability: "view";
|
|
850
1039
|
readonly type: "function";
|
|
1040
|
+
}, {
|
|
1041
|
+
readonly inputs: readonly [{
|
|
1042
|
+
readonly internalType: "address";
|
|
1043
|
+
readonly name: "";
|
|
1044
|
+
readonly type: "address";
|
|
1045
|
+
}];
|
|
1046
|
+
readonly name: "nonces";
|
|
1047
|
+
readonly outputs: readonly [{
|
|
1048
|
+
readonly internalType: "uint256";
|
|
1049
|
+
readonly name: "";
|
|
1050
|
+
readonly type: "uint256";
|
|
1051
|
+
}];
|
|
1052
|
+
readonly stateMutability: "view";
|
|
1053
|
+
readonly type: "function";
|
|
851
1054
|
}, {
|
|
852
1055
|
readonly inputs: readonly [{
|
|
853
1056
|
readonly internalType: "uint256";
|
|
@@ -982,6 +1185,49 @@ export declare const CleanupABI: readonly [{
|
|
|
982
1185
|
readonly outputs: readonly [];
|
|
983
1186
|
readonly stateMutability: "nonpayable";
|
|
984
1187
|
readonly type: "function";
|
|
1188
|
+
}, {
|
|
1189
|
+
readonly inputs: readonly [{
|
|
1190
|
+
readonly internalType: "uint256";
|
|
1191
|
+
readonly name: "cleanupId";
|
|
1192
|
+
readonly type: "uint256";
|
|
1193
|
+
}, {
|
|
1194
|
+
readonly components: readonly [{
|
|
1195
|
+
readonly internalType: "string[]";
|
|
1196
|
+
readonly name: "ipfsHashes";
|
|
1197
|
+
readonly type: "string[]";
|
|
1198
|
+
}, {
|
|
1199
|
+
readonly internalType: "string[]";
|
|
1200
|
+
readonly name: "mimetypes";
|
|
1201
|
+
readonly type: "string[]";
|
|
1202
|
+
}];
|
|
1203
|
+
readonly internalType: "struct Params.SubmitProofOfWorkParams";
|
|
1204
|
+
readonly name: "params";
|
|
1205
|
+
readonly type: "tuple";
|
|
1206
|
+
}, {
|
|
1207
|
+
readonly internalType: "address";
|
|
1208
|
+
readonly name: "user";
|
|
1209
|
+
readonly type: "address";
|
|
1210
|
+
}, {
|
|
1211
|
+
readonly internalType: "uint256";
|
|
1212
|
+
readonly name: "deadline";
|
|
1213
|
+
readonly type: "uint256";
|
|
1214
|
+
}, {
|
|
1215
|
+
readonly internalType: "uint8";
|
|
1216
|
+
readonly name: "v";
|
|
1217
|
+
readonly type: "uint8";
|
|
1218
|
+
}, {
|
|
1219
|
+
readonly internalType: "bytes32";
|
|
1220
|
+
readonly name: "r";
|
|
1221
|
+
readonly type: "bytes32";
|
|
1222
|
+
}, {
|
|
1223
|
+
readonly internalType: "bytes32";
|
|
1224
|
+
readonly name: "s";
|
|
1225
|
+
readonly type: "bytes32";
|
|
1226
|
+
}];
|
|
1227
|
+
readonly name: "submitProofOfWorkWithPermit";
|
|
1228
|
+
readonly outputs: readonly [];
|
|
1229
|
+
readonly stateMutability: "nonpayable";
|
|
1230
|
+
readonly type: "function";
|
|
985
1231
|
}, {
|
|
986
1232
|
readonly inputs: readonly [{
|
|
987
1233
|
readonly internalType: "bytes4";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Cleanup.d.ts","sourceRoot":"","sources":["../../src/abis/Cleanup.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"Cleanup.d.ts","sourceRoot":"","sources":["../../src/abis/Cleanup.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4mDb,CAAC"}
|
package/dist/abis/Cleanup.js
CHANGED
|
@@ -9,6 +9,11 @@ exports.CleanupABI = [
|
|
|
9
9
|
name: "addressesProviderAddr",
|
|
10
10
|
type: "address",
|
|
11
11
|
},
|
|
12
|
+
{
|
|
13
|
+
internalType: "uint256",
|
|
14
|
+
name: "chainIdValue",
|
|
15
|
+
type: "uint256",
|
|
16
|
+
},
|
|
12
17
|
],
|
|
13
18
|
stateMutability: "nonpayable",
|
|
14
19
|
type: "constructor",
|
|
@@ -54,6 +59,33 @@ exports.CleanupABI = [
|
|
|
54
59
|
name: "CleanupNotOpen",
|
|
55
60
|
type: "error",
|
|
56
61
|
},
|
|
62
|
+
{
|
|
63
|
+
inputs: [],
|
|
64
|
+
name: "ECDSAInvalidSignature",
|
|
65
|
+
type: "error",
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
inputs: [
|
|
69
|
+
{
|
|
70
|
+
internalType: "uint256",
|
|
71
|
+
name: "length",
|
|
72
|
+
type: "uint256",
|
|
73
|
+
},
|
|
74
|
+
],
|
|
75
|
+
name: "ECDSAInvalidSignatureLength",
|
|
76
|
+
type: "error",
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
inputs: [
|
|
80
|
+
{
|
|
81
|
+
internalType: "bytes32",
|
|
82
|
+
name: "s",
|
|
83
|
+
type: "bytes32",
|
|
84
|
+
},
|
|
85
|
+
],
|
|
86
|
+
name: "ECDSAInvalidSignatureS",
|
|
87
|
+
type: "error",
|
|
88
|
+
},
|
|
57
89
|
{
|
|
58
90
|
inputs: [],
|
|
59
91
|
name: "EmailNotVerified",
|
|
@@ -104,6 +136,22 @@ exports.CleanupABI = [
|
|
|
104
136
|
name: "ParticipantNotPending",
|
|
105
137
|
type: "error",
|
|
106
138
|
},
|
|
139
|
+
{
|
|
140
|
+
inputs: [
|
|
141
|
+
{
|
|
142
|
+
internalType: "address",
|
|
143
|
+
name: "expectedSigner",
|
|
144
|
+
type: "address",
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
internalType: "address",
|
|
148
|
+
name: "actualSigner",
|
|
149
|
+
type: "address",
|
|
150
|
+
},
|
|
151
|
+
],
|
|
152
|
+
name: "UnauthorizedSigner",
|
|
153
|
+
type: "error",
|
|
154
|
+
},
|
|
107
155
|
{
|
|
108
156
|
inputs: [],
|
|
109
157
|
name: "ZeroAddress",
|
|
@@ -501,6 +549,19 @@ exports.CleanupABI = [
|
|
|
501
549
|
stateMutability: "view",
|
|
502
550
|
type: "function",
|
|
503
551
|
},
|
|
552
|
+
{
|
|
553
|
+
inputs: [],
|
|
554
|
+
name: "DOMAIN_SEPARATOR",
|
|
555
|
+
outputs: [
|
|
556
|
+
{
|
|
557
|
+
internalType: "bytes32",
|
|
558
|
+
name: "",
|
|
559
|
+
type: "bytes32",
|
|
560
|
+
},
|
|
561
|
+
],
|
|
562
|
+
stateMutability: "view",
|
|
563
|
+
type: "function",
|
|
564
|
+
},
|
|
504
565
|
{
|
|
505
566
|
inputs: [
|
|
506
567
|
{
|
|
@@ -544,6 +605,56 @@ exports.CleanupABI = [
|
|
|
544
605
|
stateMutability: "nonpayable",
|
|
545
606
|
type: "function",
|
|
546
607
|
},
|
|
608
|
+
{
|
|
609
|
+
inputs: [
|
|
610
|
+
{
|
|
611
|
+
components: [
|
|
612
|
+
{
|
|
613
|
+
internalType: "uint256",
|
|
614
|
+
name: "cleanupId",
|
|
615
|
+
type: "uint256",
|
|
616
|
+
},
|
|
617
|
+
{
|
|
618
|
+
internalType: "string",
|
|
619
|
+
name: "metadata",
|
|
620
|
+
type: "string",
|
|
621
|
+
},
|
|
622
|
+
],
|
|
623
|
+
internalType: "struct Params.AddCleanupUpdatesParams",
|
|
624
|
+
name: "params",
|
|
625
|
+
type: "tuple",
|
|
626
|
+
},
|
|
627
|
+
{
|
|
628
|
+
internalType: "address",
|
|
629
|
+
name: "editor",
|
|
630
|
+
type: "address",
|
|
631
|
+
},
|
|
632
|
+
{
|
|
633
|
+
internalType: "uint256",
|
|
634
|
+
name: "deadline",
|
|
635
|
+
type: "uint256",
|
|
636
|
+
},
|
|
637
|
+
{
|
|
638
|
+
internalType: "uint8",
|
|
639
|
+
name: "v",
|
|
640
|
+
type: "uint8",
|
|
641
|
+
},
|
|
642
|
+
{
|
|
643
|
+
internalType: "bytes32",
|
|
644
|
+
name: "r",
|
|
645
|
+
type: "bytes32",
|
|
646
|
+
},
|
|
647
|
+
{
|
|
648
|
+
internalType: "bytes32",
|
|
649
|
+
name: "s",
|
|
650
|
+
type: "bytes32",
|
|
651
|
+
},
|
|
652
|
+
],
|
|
653
|
+
name: "addCleanupUpdatesWithPermit",
|
|
654
|
+
outputs: [],
|
|
655
|
+
stateMutability: "nonpayable",
|
|
656
|
+
type: "function",
|
|
657
|
+
},
|
|
547
658
|
{
|
|
548
659
|
inputs: [],
|
|
549
660
|
name: "addressesProvider",
|
|
@@ -570,6 +681,19 @@ exports.CleanupABI = [
|
|
|
570
681
|
stateMutability: "nonpayable",
|
|
571
682
|
type: "function",
|
|
572
683
|
},
|
|
684
|
+
{
|
|
685
|
+
inputs: [],
|
|
686
|
+
name: "chainId",
|
|
687
|
+
outputs: [
|
|
688
|
+
{
|
|
689
|
+
internalType: "uint256",
|
|
690
|
+
name: "",
|
|
691
|
+
type: "uint256",
|
|
692
|
+
},
|
|
693
|
+
],
|
|
694
|
+
stateMutability: "view",
|
|
695
|
+
type: "function",
|
|
696
|
+
},
|
|
573
697
|
{
|
|
574
698
|
inputs: [
|
|
575
699
|
{
|
|
@@ -795,6 +919,127 @@ exports.CleanupABI = [
|
|
|
795
919
|
stateMutability: "nonpayable",
|
|
796
920
|
type: "function",
|
|
797
921
|
},
|
|
922
|
+
{
|
|
923
|
+
inputs: [
|
|
924
|
+
{
|
|
925
|
+
components: [
|
|
926
|
+
{
|
|
927
|
+
internalType: "string",
|
|
928
|
+
name: "metadata",
|
|
929
|
+
type: "string",
|
|
930
|
+
},
|
|
931
|
+
{
|
|
932
|
+
internalType: "string",
|
|
933
|
+
name: "category",
|
|
934
|
+
type: "string",
|
|
935
|
+
},
|
|
936
|
+
{
|
|
937
|
+
components: [
|
|
938
|
+
{
|
|
939
|
+
internalType: "string",
|
|
940
|
+
name: "address_",
|
|
941
|
+
type: "string",
|
|
942
|
+
},
|
|
943
|
+
{
|
|
944
|
+
internalType: "string",
|
|
945
|
+
name: "city",
|
|
946
|
+
type: "string",
|
|
947
|
+
},
|
|
948
|
+
{
|
|
949
|
+
internalType: "string",
|
|
950
|
+
name: "country",
|
|
951
|
+
type: "string",
|
|
952
|
+
},
|
|
953
|
+
{
|
|
954
|
+
internalType: "int256",
|
|
955
|
+
name: "latitude",
|
|
956
|
+
type: "int256",
|
|
957
|
+
},
|
|
958
|
+
{
|
|
959
|
+
internalType: "int256",
|
|
960
|
+
name: "longitude",
|
|
961
|
+
type: "int256",
|
|
962
|
+
},
|
|
963
|
+
],
|
|
964
|
+
internalType: "struct ICleanup.Location",
|
|
965
|
+
name: "location",
|
|
966
|
+
type: "tuple",
|
|
967
|
+
},
|
|
968
|
+
{
|
|
969
|
+
internalType: "uint256",
|
|
970
|
+
name: "date",
|
|
971
|
+
type: "uint256",
|
|
972
|
+
},
|
|
973
|
+
{
|
|
974
|
+
internalType: "uint256",
|
|
975
|
+
name: "startTime",
|
|
976
|
+
type: "uint256",
|
|
977
|
+
},
|
|
978
|
+
{
|
|
979
|
+
internalType: "uint256",
|
|
980
|
+
name: "endTime",
|
|
981
|
+
type: "uint256",
|
|
982
|
+
},
|
|
983
|
+
{
|
|
984
|
+
internalType: "uint256",
|
|
985
|
+
name: "maxParticipants",
|
|
986
|
+
type: "uint256",
|
|
987
|
+
},
|
|
988
|
+
],
|
|
989
|
+
internalType: "struct Params.CreateCleanupParams",
|
|
990
|
+
name: "params",
|
|
991
|
+
type: "tuple",
|
|
992
|
+
},
|
|
993
|
+
{
|
|
994
|
+
internalType: "address",
|
|
995
|
+
name: "organizer",
|
|
996
|
+
type: "address",
|
|
997
|
+
},
|
|
998
|
+
{
|
|
999
|
+
internalType: "uint256",
|
|
1000
|
+
name: "deadline",
|
|
1001
|
+
type: "uint256",
|
|
1002
|
+
},
|
|
1003
|
+
{
|
|
1004
|
+
internalType: "uint8",
|
|
1005
|
+
name: "v",
|
|
1006
|
+
type: "uint8",
|
|
1007
|
+
},
|
|
1008
|
+
{
|
|
1009
|
+
internalType: "bytes32",
|
|
1010
|
+
name: "r",
|
|
1011
|
+
type: "bytes32",
|
|
1012
|
+
},
|
|
1013
|
+
{
|
|
1014
|
+
internalType: "bytes32",
|
|
1015
|
+
name: "s",
|
|
1016
|
+
type: "bytes32",
|
|
1017
|
+
},
|
|
1018
|
+
],
|
|
1019
|
+
name: "createCleanupWithPermit",
|
|
1020
|
+
outputs: [
|
|
1021
|
+
{
|
|
1022
|
+
internalType: "uint256",
|
|
1023
|
+
name: "cleanupId",
|
|
1024
|
+
type: "uint256",
|
|
1025
|
+
},
|
|
1026
|
+
],
|
|
1027
|
+
stateMutability: "nonpayable",
|
|
1028
|
+
type: "function",
|
|
1029
|
+
},
|
|
1030
|
+
{
|
|
1031
|
+
inputs: [],
|
|
1032
|
+
name: "getChainId",
|
|
1033
|
+
outputs: [
|
|
1034
|
+
{
|
|
1035
|
+
internalType: "uint256",
|
|
1036
|
+
name: "",
|
|
1037
|
+
type: "uint256",
|
|
1038
|
+
},
|
|
1039
|
+
],
|
|
1040
|
+
stateMutability: "view",
|
|
1041
|
+
type: "function",
|
|
1042
|
+
},
|
|
798
1043
|
{
|
|
799
1044
|
inputs: [
|
|
800
1045
|
{
|
|
@@ -1088,6 +1333,25 @@ exports.CleanupABI = [
|
|
|
1088
1333
|
stateMutability: "view",
|
|
1089
1334
|
type: "function",
|
|
1090
1335
|
},
|
|
1336
|
+
{
|
|
1337
|
+
inputs: [
|
|
1338
|
+
{
|
|
1339
|
+
internalType: "address",
|
|
1340
|
+
name: "",
|
|
1341
|
+
type: "address",
|
|
1342
|
+
},
|
|
1343
|
+
],
|
|
1344
|
+
name: "nonces",
|
|
1345
|
+
outputs: [
|
|
1346
|
+
{
|
|
1347
|
+
internalType: "uint256",
|
|
1348
|
+
name: "",
|
|
1349
|
+
type: "uint256",
|
|
1350
|
+
},
|
|
1351
|
+
],
|
|
1352
|
+
stateMutability: "view",
|
|
1353
|
+
type: "function",
|
|
1354
|
+
},
|
|
1091
1355
|
{
|
|
1092
1356
|
inputs: [
|
|
1093
1357
|
{
|
|
@@ -1263,6 +1527,61 @@ exports.CleanupABI = [
|
|
|
1263
1527
|
stateMutability: "nonpayable",
|
|
1264
1528
|
type: "function",
|
|
1265
1529
|
},
|
|
1530
|
+
{
|
|
1531
|
+
inputs: [
|
|
1532
|
+
{
|
|
1533
|
+
internalType: "uint256",
|
|
1534
|
+
name: "cleanupId",
|
|
1535
|
+
type: "uint256",
|
|
1536
|
+
},
|
|
1537
|
+
{
|
|
1538
|
+
components: [
|
|
1539
|
+
{
|
|
1540
|
+
internalType: "string[]",
|
|
1541
|
+
name: "ipfsHashes",
|
|
1542
|
+
type: "string[]",
|
|
1543
|
+
},
|
|
1544
|
+
{
|
|
1545
|
+
internalType: "string[]",
|
|
1546
|
+
name: "mimetypes",
|
|
1547
|
+
type: "string[]",
|
|
1548
|
+
},
|
|
1549
|
+
],
|
|
1550
|
+
internalType: "struct Params.SubmitProofOfWorkParams",
|
|
1551
|
+
name: "params",
|
|
1552
|
+
type: "tuple",
|
|
1553
|
+
},
|
|
1554
|
+
{
|
|
1555
|
+
internalType: "address",
|
|
1556
|
+
name: "user",
|
|
1557
|
+
type: "address",
|
|
1558
|
+
},
|
|
1559
|
+
{
|
|
1560
|
+
internalType: "uint256",
|
|
1561
|
+
name: "deadline",
|
|
1562
|
+
type: "uint256",
|
|
1563
|
+
},
|
|
1564
|
+
{
|
|
1565
|
+
internalType: "uint8",
|
|
1566
|
+
name: "v",
|
|
1567
|
+
type: "uint8",
|
|
1568
|
+
},
|
|
1569
|
+
{
|
|
1570
|
+
internalType: "bytes32",
|
|
1571
|
+
name: "r",
|
|
1572
|
+
type: "bytes32",
|
|
1573
|
+
},
|
|
1574
|
+
{
|
|
1575
|
+
internalType: "bytes32",
|
|
1576
|
+
name: "s",
|
|
1577
|
+
type: "bytes32",
|
|
1578
|
+
},
|
|
1579
|
+
],
|
|
1580
|
+
name: "submitProofOfWorkWithPermit",
|
|
1581
|
+
outputs: [],
|
|
1582
|
+
stateMutability: "nonpayable",
|
|
1583
|
+
type: "function",
|
|
1584
|
+
},
|
|
1266
1585
|
{
|
|
1267
1586
|
inputs: [
|
|
1268
1587
|
{
|