-
Notifications
You must be signed in to change notification settings - Fork 303
Expand file tree
/
Copy pathclippy.log
More file actions
2496 lines (2284 loc) · 99 KB
/
Copy pathclippy.log
File metadata and controls
2496 lines (2284 loc) · 99 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
Compiling libc v0.2.183
Checking once_cell v1.21.4
Checking ahash v0.8.12
Checking hashbrown v0.13.2
Checking getrandom v0.2.17
Checking rand_core v0.6.4
Checking rand_chacha v0.3.1
Checking ff v0.13.1
Checking crypto-bigint v0.5.5
Checking signature v2.2.0
Checking group v0.13.0
Checking ed25519 v2.2.3
Checking ed25519-dalek v2.2.0
Checking rand v0.8.5
Checking ark-std v0.4.0
Checking ark-serialize v0.4.2
Checking ark-ff v0.4.2
Checking elliptic-curve v0.13.8
Checking ecdsa v0.16.9
Checking primeorder v0.13.6
Checking p256 v0.13.2
Checking k256 v0.13.4
Checking ark-poly v0.4.2
Checking ark-ec v0.4.2
Checking ark-bls12-381 v0.4.0
Checking soroban-env-host v22.1.3
Checking soroban-ledger-snapshot v22.0.11
Checking soroban-sdk v22.0.11
Checking escrow v0.1.0 (/home/semicolon/Drip/Talenttrust-Contracts/contracts/escrow)
error[E0428]: the name `MAX_MILESTONES` is defined multiple times
--> contracts/escrow/src/lib.rs:183:1
|
112 | pub const MAX_MILESTONES: u32 = DEFAULT_MAX_MILESTONES;
| ------------------------------------------------------- previous definition of the value `MAX_MILESTONES` here
...
183 | pub const MAX_MILESTONES: u32 = 10;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `MAX_MILESTONES` redefined here
|
= note: `MAX_MILESTONES` must be defined only once in the value namespace of this module
error[E0428]: the name `MAX_TOTAL_ESCROW_STROOPS` is defined multiple times
--> contracts/escrow/src/lib.rs:186:1
|
115 | pub const MAX_TOTAL_ESCROW_STROOPS: i128 = DEFAULT_MAX_TOTAL_ESCROW_STROOPS;
| ---------------------------------------------------------------------------- previous definition of the value `MAX_TOTAL_ESCROW_STROOPS` here
...
186 | pub const MAX_TOTAL_ESCROW_STROOPS: i128 = MAX_SINGLE_AMOUNT_STROOPS;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `MAX_TOTAL_ESCROW_STROOPS` redefined here
|
= note: `MAX_TOTAL_ESCROW_STROOPS` must be defined only once in the value namespace of this module
error[E0428]: the name `DEFAULT_MAX_MILESTONES` is defined multiple times
--> contracts/escrow/src/lib.rs:198:1
|
106 | pub const DEFAULT_MAX_MILESTONES: u32 = 10;
| ------------------------------------------- previous definition of the value `DEFAULT_MAX_MILESTONES` here
...
198 | pub const DEFAULT_MAX_MILESTONES: u32 = 10;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `DEFAULT_MAX_MILESTONES` redefined here
|
= note: `DEFAULT_MAX_MILESTONES` must be defined only once in the value namespace of this module
error[E0428]: the name `DEFAULT_MAX_TOTAL_ESCROW_STROOPS` is defined multiple times
--> contracts/escrow/src/lib.rs:200:1
|
109 | pub const DEFAULT_MAX_TOTAL_ESCROW_STROOPS: i128 = 10_000_000_000_000;
| ---------------------------------------------------------------------- previous definition of the value `DEFAULT_MAX_TOTAL_ESCROW_STROOPS` here
...
200 | pub const DEFAULT_MAX_TOTAL_ESCROW_STROOPS: i128 = 10_000_000_000_000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `DEFAULT_MAX_TOTAL_ESCROW_STROOPS` redefined here
|
= note: `DEFAULT_MAX_TOTAL_ESCROW_STROOPS` must be defined only once in the value namespace of this module
error[E0428]: the name `MIN_MAX_MILESTONES` is defined multiple times
--> contracts/escrow/src/lib.rs:202:1
|
118 | pub const MIN_MAX_MILESTONES: u32 = 1;
| -------------------------------------- previous definition of the value `MIN_MAX_MILESTONES` here
...
202 | pub const MIN_MAX_MILESTONES: u32 = 1;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `MIN_MAX_MILESTONES` redefined here
|
= note: `MIN_MAX_MILESTONES` must be defined only once in the value namespace of this module
error[E0428]: the name `MAX_MAX_MILESTONES` is defined multiple times
--> contracts/escrow/src/lib.rs:204:1
|
121 | pub const MAX_MAX_MILESTONES: u32 = 100;
| ---------------------------------------- previous definition of the value `MAX_MAX_MILESTONES` here
...
204 | pub const MAX_MAX_MILESTONES: u32 = 100;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `MAX_MAX_MILESTONES` redefined here
|
= note: `MAX_MAX_MILESTONES` must be defined only once in the value namespace of this module
error[E0428]: the name `MIN_MAX_ESCROW_STROOPS` is defined multiple times
--> contracts/escrow/src/lib.rs:206:1
|
124 | pub const MIN_MAX_ESCROW_STROOPS: i128 = 1_000_000;
| --------------------------------------------------- previous definition of the value `MIN_MAX_ESCROW_STROOPS` here
...
206 | pub const MIN_MAX_ESCROW_STROOPS: i128 = 1_000_000;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `MIN_MAX_ESCROW_STROOPS` redefined here
|
= note: `MIN_MAX_ESCROW_STROOPS` must be defined only once in the value namespace of this module
error[E0428]: the name `MAINNET_PROTOCOL_VERSION` is defined multiple times
--> contracts/escrow/src/lib.rs:214:1
|
126 | pub const MAINNET_PROTOCOL_VERSION: u32 = 1u32;
| ----------------------------------------------- previous definition of the value `MAINNET_PROTOCOL_VERSION` here
...
214 | pub const MAINNET_PROTOCOL_VERSION: u32 = 1u32;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `MAINNET_PROTOCOL_VERSION` redefined here
|
= note: `MAINNET_PROTOCOL_VERSION` must be defined only once in the value namespace of this module
error[E0428]: the name `MAINNET_MAX_TOTAL_ESCROW_PER_CONTRACT_STROOPS` is defined multiple times
--> contracts/escrow/src/lib.rs:216:1
|
127 | pub const MAINNET_MAX_TOTAL_ESCROW_PER_CONTRACT_STROOPS: i128 = 1_000_000_000_000_000i128;
| ------------------------------------------------------------------------------------------ previous definition of the value `MAINNET_MAX_TOTAL_ESCROW_PER_CONTRACT_STROOPS` here
...
216 | pub const MAINNET_MAX_TOTAL_ESCROW_PER_CONTRACT_STROOPS: i128 = 1_000_000_000_000_000i128;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `MAINNET_MAX_TOTAL_ESCROW_PER_CONTRACT_STROOPS` redefined here
|
= note: `MAINNET_MAX_TOTAL_ESCROW_PER_CONTRACT_STROOPS` must be defined only once in the value namespace of this module
error[E0428]: the name `PAGE_CEILING` is defined multiple times
--> contracts/escrow/src/lib.rs:218:1
|
128 | pub const PAGE_CEILING: u32 = 100;
| ---------------------------------- previous definition of the value `PAGE_CEILING` here
...
218 | pub const PAGE_CEILING: u32 = 50;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `PAGE_CEILING` redefined here
|
= note: `PAGE_CEILING` must be defined only once in the value namespace of this module
error[E0255]: the name `MAX_SINGLE_AMOUNT_STROOPS` is defined multiple times
--> contracts/escrow/src/lib.rs:185:1
|
88 | pub use amount_validation::MAX_SINGLE_AMOUNT_STROOPS;
| -------------------------------------------- previous import of the value `MAX_SINGLE_AMOUNT_STROOPS` here
...
185 | pub const MAX_SINGLE_AMOUNT_STROOPS: i128 = crate::amount_validation::MAX_SINGLE_AMOUNT_STROOPS;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `MAX_SINGLE_AMOUNT_STROOPS` redefined here
|
= note: `MAX_SINGLE_AMOUNT_STROOPS` must be defined only once in the value namespace of this module
help: you can use `as` to change the binding name of the import
|
88 | pub use amount_validation::MAX_SINGLE_AMOUNT_STROOPS as OtherMAX_SINGLE_AMOUNT_STROOPS;
| +++++++++++++++++++++++++++++++++
error[E0428]: the name `MaxMilestones` is defined multiple times
--> contracts/escrow/src/types.rs:96:5
|
67 | MaxMilestones,
| ------------- previous definition of the type `MaxMilestones` here
...
96 | MaxMilestones,
| ^^^^^^^^^^^^^ `MaxMilestones` redefined here
|
= note: `MaxMilestones` must be defined only once in the type namespace of this enum
error[E0428]: the name `__deposit_funds` is defined multiple times
--> contracts/escrow/src/lib.rs:328:1
|
328 | #[contractimpl]
| ^^^^^^^^^^^^^^^ `__deposit_funds` redefined here
|
= note: `__deposit_funds` must be defined only once in the type namespace of this module
= note: this error originates in the attribute macro `contractimpl` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0428]: the name `__propose_client_migration` is defined multiple times
--> contracts/escrow/src/lib.rs:328:1
|
328 | #[contractimpl]
| ^^^^^^^^^^^^^^^ `__propose_client_migration` redefined here
|
= note: `__propose_client_migration` must be defined only once in the type namespace of this module
= note: this error originates in the attribute macro `contractimpl` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0428]: the name `__accept_client_migration` is defined multiple times
--> contracts/escrow/src/lib.rs:328:1
|
328 | #[contractimpl]
| ^^^^^^^^^^^^^^^ `__accept_client_migration` redefined here
|
= note: `__accept_client_migration` must be defined only once in the type namespace of this module
= note: this error originates in the attribute macro `contractimpl` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0428]: the name `__has_pending_client_migration` is defined multiple times
--> contracts/escrow/src/lib.rs:328:1
|
328 | #[contractimpl]
| ^^^^^^^^^^^^^^^ `__has_pending_client_migration` redefined here
|
= note: `__has_pending_client_migration` must be defined only once in the type namespace of this module
= note: this error originates in the attribute macro `contractimpl` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0428]: the name `__get_pending_client_migration` is defined multiple times
--> contracts/escrow/src/lib.rs:328:1
|
328 | #[contractimpl]
| ^^^^^^^^^^^^^^^ `__get_pending_client_migration` redefined here
|
= note: `__get_pending_client_migration` must be defined only once in the type namespace of this module
= note: this error originates in the attribute macro `contractimpl` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0428]: the name `__approve_milestone_release` is defined multiple times
--> contracts/escrow/src/lib.rs:328:1
|
328 | #[contractimpl]
| ^^^^^^^^^^^^^^^ `__approve_milestone_release` redefined here
|
= note: `__approve_milestone_release` must be defined only once in the type namespace of this module
= note: this error originates in the attribute macro `contractimpl` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0428]: the name `__release_milestone` is defined multiple times
--> contracts/escrow/src/lib.rs:328:1
|
328 | #[contractimpl]
| ^^^^^^^^^^^^^^^ `__release_milestone` redefined here
|
= note: `__release_milestone` must be defined only once in the type namespace of this module
= note: this error originates in the attribute macro `contractimpl` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0428]: the name `__propose_governance_admin` is defined multiple times
--> contracts/escrow/src/lib.rs:328:1
|
328 | #[contractimpl]
| ^^^^^^^^^^^^^^^ `__propose_governance_admin` redefined here
|
= note: `__propose_governance_admin` must be defined only once in the type namespace of this module
= note: this error originates in the attribute macro `contractimpl` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0428]: the name `__accept_governance_admin` is defined multiple times
--> contracts/escrow/src/lib.rs:328:1
|
328 | #[contractimpl]
| ^^^^^^^^^^^^^^^ `__accept_governance_admin` redefined here
|
= note: `__accept_governance_admin` must be defined only once in the type namespace of this module
= note: this error originates in the attribute macro `contractimpl` (in Nightly builds, run with -Z macro-backtrace for more info)
error: contract function name is too long: 40, max is 32
--> contracts/escrow/src/lib.rs:2657:12
|
2657 | pub fn get_pending_governance_admin_proposed_at(env: Env) -> Option<u32> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error[E0252]: the name `MilestoneIndexEvent` is defined multiple times
--> contracts/escrow/src/events.rs:5:9
|
1 | use crate::types::{Contract, EventEntry, MilestoneIndexEvent};
| ------------------- previous import of the type `MilestoneIndexEvent` here
...
5 | pub use crate::types::MilestoneIndexEvent;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `MilestoneIndexEvent` reimported here
|
= note: `MilestoneIndexEvent` must be defined only once in the type namespace of this module
error[E0255]: the name `MilestoneApprovals` is defined multiple times
--> contracts/escrow/src/lib.rs:148:1
|
100 | DisputeResolution, DisputeSplit, Error, GovernedParameters, Milestone, MilestoneApprovals,
| ------------------ previous import of the type `MilestoneApprovals` here
...
148 | pub struct MilestoneApprovals {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `MilestoneApprovals` redefined here
|
= note: `MilestoneApprovals` must be defined only once in the type namespace of this module
help: you can use `as` to change the binding name of the import
|
100 | DisputeResolution, DisputeSplit, Error, GovernedParameters, Milestone, MilestoneApprovals as OtherMilestoneApprovals,
| ++++++++++++++++++++++++++
error[E0432]: unresolved import `crate::types::ReleaseAuthorization`
--> contracts/escrow/src/approvals.rs:16:5
|
16 | ReleaseAuthorization, MAX_PAGINATION_LIMIT,
| ^^^^^^^^^^^^^^^^^^^^ no `ReleaseAuthorization` in `types`
error[E0432]: unresolved imports `crate::ReleaseAuthorization`, `crate::SimulateCreateContractOutcome`, `crate::SimulatedDeposit`, `crate::SimulatedRefund`, `crate::SimulatedRelease`
--> contracts/escrow/src/simulate.rs:3:55
|
3 | EscrowArgs, EscrowClient, EscrowError, Milestone, ReleaseAuthorization,
| ^^^^^^^^^^^^^^^^^^^^ no `ReleaseAuthorization` in the root
4 | SimulateCreateContractOutcome, SimulatedDeposit, SimulatedRefund, SimulatedRelease,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ no `SimulatedRelease` in the root
| | | |
| | | no `SimulatedRefund` in the root
| | no `SimulatedDeposit` in the root
| no `SimulateCreateContractOutcome` in the root
|
= help: consider importing this struct instead:
crate::types::SimulateCreateContractOutcome
= help: consider importing this struct instead:
crate::types::SimulatedDeposit
= help: consider importing this struct instead:
crate::types::SimulatedRefund
= help: consider importing this struct instead:
crate::types::SimulatedRelease
error[E0432]: unresolved import `types::DISPUTE_STORAGE_VERSION`
--> contracts/escrow/src/lib.rs:97:9
|
97 | pub use types::DISPUTE_STORAGE_VERSION;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `DISPUTE_STORAGE_VERSION` in `types`
error[E0432]: unresolved import `types::ReleaseAuthorization`
--> contracts/escrow/src/lib.rs:101:65
|
101 | MilestoneSummary, PendingAdminProposal, ReadinessChecklist, ReleaseAuthorization, Reputation,
| ^^^^^^^^^^^^^^^^^^^^ no `ReleaseAuthorization` in `types`
|
= note: unresolved item `crate::simulate::__simulate_refund::ReleaseAuthorization` exists but is inaccessible
error: cannot find macro `symbol_short` in this scope
--> contracts/escrow/src/dispute.rs:268:36
|
268 | (symbol_short!("dispute"), symbol_short!("resolved")),
| ^^^^^^^^^^^^
|
help: consider importing one of these macros
|
10 + use crate::symbol_short;
|
10 + use soroban_sdk::symbol_short;
|
error: cannot find macro `symbol_short` in this scope
--> contracts/escrow/src/dispute.rs:268:10
|
268 | (symbol_short!("dispute"), symbol_short!("resolved")),
| ^^^^^^^^^^^^
|
help: consider importing one of these macros
|
10 + use crate::symbol_short;
|
10 + use soroban_sdk::symbol_short;
|
error: cannot find macro `symbol_short` in this scope
--> contracts/escrow/src/dispute.rs:219:36
|
219 | (symbol_short!("dispute"), symbol_short!("opened")),
| ^^^^^^^^^^^^
|
help: consider importing one of these macros
|
10 + use crate::symbol_short;
|
10 + use soroban_sdk::symbol_short;
|
error: cannot find macro `symbol_short` in this scope
--> contracts/escrow/src/dispute.rs:219:10
|
219 | (symbol_short!("dispute"), symbol_short!("opened")),
| ^^^^^^^^^^^^
|
help: consider importing one of these macros
|
10 + use crate::symbol_short;
|
10 + use soroban_sdk::symbol_short;
|
error[E0433]: failed to resolve: unresolved import
--> contracts/escrow/src/types.rs:394:36
|
394 | max_milestones: crate::contracts::DEFAULT_MAX_MILESTONES,
| ^^^^^^^^^ unresolved import
|
help: a struct with a similar name exists
|
394 - max_milestones: crate::contracts::DEFAULT_MAX_MILESTONES,
394 + max_milestones: crate::Contract::DEFAULT_MAX_MILESTONES,
|
help: a similar path exists
|
394 | max_milestones: crate::core::contracts::DEFAULT_MAX_MILESTONES,
| ++++++
error[E0433]: failed to resolve: unresolved import
--> contracts/escrow/src/types.rs:395:40
|
395 | max_escrow_stroops: crate::contracts::DEFAULT_MAX_TOTAL_ESCROW_STROOPS,
| ^^^^^^^^^ unresolved import
|
help: a struct with a similar name exists
|
395 - max_escrow_stroops: crate::contracts::DEFAULT_MAX_TOTAL_ESCROW_STROOPS,
395 + max_escrow_stroops: crate::Contract::DEFAULT_MAX_TOTAL_ESCROW_STROOPS,
|
help: a similar path exists
|
395 | max_escrow_stroops: crate::core::contracts::DEFAULT_MAX_TOTAL_ESCROW_STROOPS,
| ++++++
error[E0433]: failed to resolve: use of unresolved module or unlinked crate `storage_validation`
--> contracts/escrow/src/deposit.rs:26:5
|
26 | storage_validation::validate_stroop_amount(env, amount);
| ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `storage_validation`
|
help: to make use of source file contracts/escrow/src/storage_validation.rs, use `mod storage_validation` in this file to declare the module
--> contracts/escrow/src/lib.rs:60:1
|
60 + mod storage_validation;
|
help: consider importing this module
|
1 + use crate::storage_validation;
|
error[E0425]: cannot find value `MAX_SINGLE_AMOUNT_STROOPS` in this scope
--> contracts/escrow/src/deposit.rs:28:17
|
28 | if amount > MAX_SINGLE_AMOUNT_STROOPS {
| ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing one of these constants
|
1 + use crate::MAX_SINGLE_AMOUNT_STROOPS;
|
1 + use crate::amount_validation::MAX_SINGLE_AMOUNT_STROOPS;
|
error[E0412]: cannot find type `Address` in this scope
--> contracts/escrow/src/events.rs:67:14
|
67 | caller: &Address,
| ^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
1 + use crate::Address;
|
1 + use soroban_sdk::Address;
|
1 + use soroban_sdk::testutils::Address;
|
error[E0412]: cannot find type `ContractStatus` in this scope
--> contracts/escrow/src/events.rs:93:19
|
93 | final_status: ContractStatus,
| ^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this enum through its public re-export
|
1 + use crate::ContractStatus;
|
error[E0433]: failed to resolve: use of unresolved module or unlinked crate `keys`
--> contracts/escrow/src/finalize.rs:103:29
|
103 | let milestone_key = keys::milestone_key(env, contract_id);
| ^^^^ use of unresolved module or unlinked crate `keys`
|
help: to make use of source file contracts/escrow/src/keys.rs, use `mod keys` in this file to declare the module
--> contracts/escrow/src/lib.rs:60:1
|
60 + mod keys;
|
help: consider importing this module
|
1 + use crate::keys;
|
error[E0412]: cannot find type `EscrowClient` in this scope
--> contracts/escrow/src/reputation.rs:6:1
|
6 | #[contractimpl]
| ^^^^^^^^^^^^^^^ not found in this scope
|
= note: this error originates in the attribute macro `soroban_sdk::contractclient` (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider importing this struct
|
1 + use crate::EscrowClient;
|
error[E0412]: cannot find type `EscrowArgs` in this scope
--> contracts/escrow/src/reputation.rs:6:1
|
6 | #[contractimpl]
| ^^^^^^^^^^^^^^^ not found in this scope
|
= note: this error originates in the attribute macro `soroban_sdk::contractargs` (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider importing this struct
|
1 + use crate::EscrowArgs;
|
error[E0412]: cannot find type `ReleaseAuthorization` in this scope
--> contracts/escrow/src/types.rs:265:32
|
265 | pub release_authorization: ReleaseAuthorization,
| ^^^^^^^^^^^^^^^^^^^^ not found in this scope
error[E0412]: cannot find type `ReleaseAuthorization` in this scope
--> contracts/escrow/src/types.rs:265:32
|
265 | pub release_authorization: ReleaseAuthorization,
| ^^^^^^^^^^^^^^^^^^^^ not found in this scope
|
help: you might be missing a type parameter
|
259 | pub struct SimulateCreateContractOutcome<ReleaseAuthorization> {
| ++++++++++++++++++++++
error[E0412]: cannot find type `ReleaseAuthorization` in this scope
--> contracts/escrow/src/types.rs:303:32
|
303 | pub release_authorization: ReleaseAuthorization,
| ^^^^^^^^^^^^^^^^^^^^ not found in this scope
error[E0412]: cannot find type `ReleaseAuthorization` in this scope
--> contracts/escrow/src/types.rs:303:32
|
303 | pub release_authorization: ReleaseAuthorization,
| ^^^^^^^^^^^^^^^^^^^^ not found in this scope
|
help: you might be missing a type parameter
|
294 | pub struct Contract<ReleaseAuthorization> {
| ++++++++++++++++++++++
error[E0433]: failed to resolve: use of undeclared type `Symbol`
--> contracts/escrow/src/create_contract.rs:162:29
|
162 | let milestone_key = Symbol::new(&env, "milestones");
| ^^^^^^ use of undeclared type `Symbol`
|
help: consider importing one of these structs
|
1 + use crate::Symbol;
|
1 + use soroban_sdk::Symbol;
|
error[E0412]: cannot find type `Env` in this scope
--> contracts/escrow/src/dispute.rs:16:33
|
16 | pub fn get_dispute_config(env: &Env) -> Option<DisputeConfig> {
| ^^^ not found in this scope
|
help: consider importing one of these structs
|
10 + use crate::Env;
|
10 + use soroban_sdk::Env;
|
error[E0412]: cannot find type `DisputeConfig` in this scope
--> contracts/escrow/src/dispute.rs:16:48
|
16 | pub fn get_dispute_config(env: &Env) -> Option<DisputeConfig> {
| ^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct through its public re-export
|
10 + use crate::DisputeConfig;
|
error[E0433]: failed to resolve: use of undeclared type `DataKey`
--> contracts/escrow/src/dispute.rs:17:37
|
17 | env.storage().persistent().get(&DataKey::DisputeConfigKey)
| ^^^^^^^ use of undeclared type `DataKey`
|
help: consider importing this enum through its public re-export
|
10 + use crate::DataKey;
|
error[E0412]: cannot find type `Env` in this scope
--> contracts/escrow/src/dispute.rs:21:33
|
21 | pub fn set_dispute_config(env: &Env, config: DisputeConfig) {
| ^^^ not found in this scope
|
help: consider importing one of these structs
|
10 + use crate::Env;
|
10 + use soroban_sdk::Env;
|
error[E0412]: cannot find type `DisputeConfig` in this scope
--> contracts/escrow/src/dispute.rs:21:46
|
21 | pub fn set_dispute_config(env: &Env, config: DisputeConfig) {
| ^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct through its public re-export
|
10 + use crate::DisputeConfig;
|
error[E0433]: failed to resolve: use of undeclared type `DataKey`
--> contracts/escrow/src/dispute.rs:24:15
|
24 | .set(&DataKey::DisputeConfigKey, &config);
| ^^^^^^^ use of undeclared type `DataKey`
|
help: consider importing this enum through its public re-export
|
10 + use crate::DataKey;
|
error[E0412]: cannot find type `DisputeInfo` in this scope
--> contracts/escrow/src/dispute.rs:46:13
|
46 | ) -> Result<DisputeInfo, Error> {
| ^^^^^^^^^^^ not found in this scope
|
help: you might be missing a type parameter
|
43 | pub fn resolution_payouts<DisputeInfo>(
| +++++++++++++
error[E0422]: cannot find struct, variant or union type `DisputeInfo` in this scope
--> contracts/escrow/src/dispute.rs:57:45
|
57 | DisputeResolution::FullRefund => Ok(DisputeInfo {
| ^^^^^^^^^^^ not found in this scope
error[E0422]: cannot find struct, variant or union type `DisputeInfo` in this scope
--> contracts/escrow/src/dispute.rs:73:45
|
73 | DisputeResolution::FullPayout => Ok(DisputeInfo {
| ^^^^^^^^^^^ not found in this scope
error[E0422]: cannot find struct, variant or union type `DisputeInfo` in this scope
--> contracts/escrow/src/dispute.rs:91:16
|
91 | Ok(DisputeInfo {
| ^^^^^^^^^^^ not found in this scope
error[E0412]: cannot find type `Env` in this scope
--> contracts/escrow/src/dispute.rs:117:37
|
117 | pub fn store_dispute_metadata(env: &Env, contract_id: u32, metadata: &DisputeMetadata) {
| ^^^ not found in this scope
|
help: consider importing one of these structs
|
10 + use crate::Env;
|
10 + use soroban_sdk::Env;
|
error[E0412]: cannot find type `DisputeMetadata` in this scope
--> contracts/escrow/src/dispute.rs:117:71
|
117 | pub fn store_dispute_metadata(env: &Env, contract_id: u32, metadata: &DisputeMetadata) {
| ^^^^^^^^^^^^^^^ not found in this scope
error[E0433]: failed to resolve: use of undeclared type `DataKey`
--> contracts/escrow/src/dispute.rs:120:15
|
120 | .set(&DataKey::Dispute(contract_id), metadata);
| ^^^^^^^ use of undeclared type `DataKey`
|
help: consider importing this enum through its public re-export
|
10 + use crate::DataKey;
|
error[E0412]: cannot find type `Env` in this scope
--> contracts/escrow/src/dispute.rs:124:37
|
124 | pub fn clear_dispute_metadata(env: &Env, contract_id: u32) {
| ^^^ not found in this scope
|
help: consider importing one of these structs
|
10 + use crate::Env;
|
10 + use soroban_sdk::Env;
|
error[E0433]: failed to resolve: use of undeclared type `DataKey`
--> contracts/escrow/src/dispute.rs:127:18
|
127 | .remove(&DataKey::Dispute(contract_id));
| ^^^^^^^ use of undeclared type `DataKey`
|
help: consider importing this enum through its public re-export
|
10 + use crate::DataKey;
|
error[E0412]: cannot find type `Env` in this scope
--> contracts/escrow/src/dispute.rs:131:42
|
131 | pub fn get_dispute_storage_version(env: &Env, contract_id: u32) -> u32 {
| ^^^ not found in this scope
|
help: consider importing one of these structs
|
10 + use crate::Env;
|
10 + use soroban_sdk::Env;
|
error[E0433]: failed to resolve: use of undeclared type `DataKey`
--> contracts/escrow/src/dispute.rs:135:15
|
135 | .has(&DataKey::Dispute(contract_id))
| ^^^^^^^ use of undeclared type `DataKey`
|
help: consider importing this enum through its public re-export
|
10 + use crate::DataKey;
|
error[E0425]: cannot find value `DISPUTE_STORAGE_VERSION` in this scope
--> contracts/escrow/src/dispute.rs:137:9
|
137 | DISPUTE_STORAGE_VERSION
| ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
error[E0412]: cannot find type `Env` in this scope
--> contracts/escrow/src/dispute.rs:146:36
|
146 | pub fn load_dispute_metadata(env: &Env, contract_id: u32) -> DisputeMetadata {
| ^^^ not found in this scope
|
help: consider importing one of these structs
|
10 + use crate::Env;
|
10 + use soroban_sdk::Env;
|
error[E0412]: cannot find type `DisputeMetadata` in this scope
--> contracts/escrow/src/dispute.rs:146:62
|
146 | pub fn load_dispute_metadata(env: &Env, contract_id: u32) -> DisputeMetadata {
| ^^^^^^^^^^^^^^^ not found in this scope
error[E0433]: failed to resolve: use of undeclared type `DataKey`
--> contracts/escrow/src/dispute.rs:150:37
|
150 | .get::<_, DisputeMetadata>(&DataKey::Dispute(contract_id))
| ^^^^^^^ use of undeclared type `DataKey`
|
help: consider importing this enum through its public re-export
|
10 + use crate::DataKey;
|
error[E0412]: cannot find type `DisputeMetadata` in this scope
--> contracts/escrow/src/dispute.rs:150:19
|
150 | .get::<_, DisputeMetadata>(&DataKey::Dispute(contract_id))
| ^^^^^^^^^^^^^^^ not found in this scope
|
help: you might be missing a type parameter
|
146 | pub fn load_dispute_metadata<DisputeMetadata>(env: &Env, contract_id: u32) -> DisputeMetadata {
| +++++++++++++++++
error[E0425]: cannot find value `DISPUTE_STORAGE_VERSION` in this scope
--> contracts/escrow/src/dispute.rs:152:34
|
152 | if meta.schema_version > DISPUTE_STORAGE_VERSION {
| ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
error[E0433]: failed to resolve: use of undeclared type `DataKey`
--> contracts/escrow/src/dispute.rs:161:39
|
161 | .get::<_, DisputeMetadataV0>(&DataKey::Dispute(contract_id))
| ^^^^^^^ use of undeclared type `DataKey`
|
help: consider importing this enum through its public re-export
|
10 + use crate::DataKey;
|
error[E0412]: cannot find type `DisputeMetadataV0` in this scope
--> contracts/escrow/src/dispute.rs:161:19
|
161 | .get::<_, DisputeMetadataV0>(&DataKey::Dispute(contract_id))
| ^^^^^^^^^^^^^^^^^ not found in this scope
|
help: you might be missing a type parameter
|
146 | pub fn load_dispute_metadata<DisputeMetadataV0>(env: &Env, contract_id: u32) -> DisputeMetadata {
| +++++++++++++++++++
error[E0412]: cannot find type `DisputeMetadataV0` in this scope
--> contracts/escrow/src/dispute.rs:172:46
|
172 | pub fn migrate_dispute_metadata_v0_to_v1(v0: DisputeMetadataV0) -> DisputeMetadata {
| ^^^^^^^^^^^^^^^^^ not found in this scope
error[E0412]: cannot find type `DisputeMetadata` in this scope
--> contracts/escrow/src/dispute.rs:172:68
|
172 | pub fn migrate_dispute_metadata_v0_to_v1(v0: DisputeMetadataV0) -> DisputeMetadata {
| ^^^^^^^^^^^^^^^ not found in this scope
error[E0422]: cannot find struct, variant or union type `DisputeMetadata` in this scope
--> contracts/escrow/src/dispute.rs:173:5
|
173 | DisputeMetadata {
| ^^^^^^^^^^^^^^^ not found in this scope
error[E0425]: cannot find value `DISPUTE_STORAGE_VERSION` in this scope
--> contracts/escrow/src/dispute.rs:174:25
|
174 | schema_version: DISPUTE_STORAGE_VERSION,
| ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
error[E0412]: cannot find type `Env` in this scope
--> contracts/escrow/src/dispute.rs:185:40
|
185 | pub(crate) fn raise_dispute_impl(env: &Env, contract_id: u32, caller: Address) -> bool {
| ^^^ not found in this scope
|
help: consider importing one of these structs
|
10 + use crate::Env;
|
10 + use soroban_sdk::Env;
|
error[E0412]: cannot find type `Address` in this scope
--> contracts/escrow/src/dispute.rs:185:71
|
185 | pub(crate) fn raise_dispute_impl(env: &Env, contract_id: u32, caller: Address) -> bool {
| ^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
10 + use crate::Address;
|
10 + use soroban_sdk::Address;
|
10 + use soroban_sdk::testutils::Address;
|
error[E0433]: failed to resolve: use of undeclared type `Escrow`
--> contracts/escrow/src/dispute.rs:186:5
|
186 | Escrow::require_initialized(env);
| ^^^^^^ use of undeclared type `Escrow`
|
help: consider importing this struct
|
10 + use crate::Escrow;
|
error[E0433]: failed to resolve: use of undeclared type `Escrow`
--> contracts/escrow/src/dispute.rs:187:5
|
187 | Escrow::require_not_paused(env);
| ^^^^^^ use of undeclared type `Escrow`
|
help: consider importing this struct
|
10 + use crate::Escrow;
|
error[E0433]: failed to resolve: use of undeclared type `DataKey`
--> contracts/escrow/src/dispute.rs:193:15
|
193 | .get(&DataKey::Contract(contract_id))
| ^^^^^^^ use of undeclared type `DataKey`
|
help: consider importing this enum through its public re-export
|
10 + use crate::DataKey;
|
error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ttl`
--> contracts/escrow/src/dispute.rs:196:5
|
196 | ttl::extend_contract_ttl(env, contract_id);
| ^^^ use of unresolved module or unlinked crate `ttl`
|
help: to make use of source file contracts/escrow/src/ttl.rs, use `mod ttl` in this file to declare the module
--> contracts/escrow/src/lib.rs:60:1
|
60 + mod ttl;
|
help: consider importing this module
|
10 + use crate::ttl;
|
error[E0433]: failed to resolve: use of undeclared type `Escrow`
--> contracts/escrow/src/dispute.rs:197:5
|
197 | Escrow::require_not_finalized(env, contract_id);
| ^^^^^^ use of undeclared type `Escrow`
|
help: consider importing this struct
|
10 + use crate::Escrow;
|
error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ttl`
--> contracts/escrow/src/dispute.rs:210:22
|
210 | let milestones = ttl::load_milestones(env, contract_id);
| ^^^ use of unresolved module or unlinked crate `ttl`
|
help: to make use of source file contracts/escrow/src/ttl.rs, use `mod ttl` in this file to declare the module
--> contracts/escrow/src/lib.rs:60:1
|
60 + mod ttl;
|
help: consider importing this module
|
10 + use crate::ttl;
|
error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rollback`
--> contracts/escrow/src/dispute.rs:211:5
|
211 | rollback::store_dispute_rollback(env, contract_id, &contract, &milestones);
| ^^^^^^^^ use of unresolved module or unlinked crate `rollback`
|
help: to make use of source file contracts/escrow/src/rollback.rs, use `mod rollback` in this file to declare the module
--> contracts/escrow/src/lib.rs:60:1
|
60 + mod rollback;
|
help: consider importing this module
|
10 + use crate::rollback;
|
error[E0433]: failed to resolve: use of undeclared type `DataKey`
--> contracts/escrow/src/dispute.rs:215:15
|
215 | .set(&DataKey::Contract(contract_id), &contract);
| ^^^^^^^ use of undeclared type `DataKey`
|
help: consider importing this enum through its public re-export
|
10 + use crate::DataKey;
|
error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ttl`
--> contracts/escrow/src/dispute.rs:216:5
|
216 | ttl::extend_contract_ttl(env, contract_id);
| ^^^ use of unresolved module or unlinked crate `ttl`
|
help: to make use of source file contracts/escrow/src/ttl.rs, use `mod ttl` in this file to declare the module
--> contracts/escrow/src/lib.rs:60:1
|
60 + mod ttl;
|
help: consider importing this module
|
10 + use crate::ttl;
|
error[E0412]: cannot find type `Env` in this scope
--> contracts/escrow/src/dispute.rs:227:11
|
227 | env: &Env,
| ^^^ not found in this scope
|
help: consider importing one of these structs
|
10 + use crate::Env;
|
10 + use soroban_sdk::Env;
|
error[E0412]: cannot find type `Address` in this scope
--> contracts/escrow/src/dispute.rs:229:14
|
229 | arbiter: Address,
| ^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
10 + use crate::Address;
|
10 + use soroban_sdk::Address;
|
10 + use soroban_sdk::testutils::Address;
|
error[E0433]: failed to resolve: use of undeclared type `Escrow`
--> contracts/escrow/src/dispute.rs:232:5
|
232 | Escrow::require_initialized(env);