-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathGmPortal.json
1654 lines (1654 loc) · 77.1 KB
/
GmPortal.json
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
{
"abi": [
{
"inputs": [],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "from",
"type": "address"
},
{
"indexed": false,
"internalType": "uint256",
"name": "timestamp",
"type": "uint256"
},
{
"indexed": false,
"internalType": "string",
"name": "message",
"type": "string"
}
],
"name": "NewGm",
"type": "event"
},
{
"inputs": [],
"name": "getAllGms",
"outputs": [
{
"components": [
{
"internalType": "address",
"name": "gmer",
"type": "address"
},
{
"internalType": "string",
"name": "message",
"type": "string"
},
{
"internalType": "uint256",
"name": "timestamp",
"type": "uint256"
}
],
"internalType": "struct GmPortal.Gm[]",
"name": "",
"type": "tuple[]"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getTotalGms",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "string",
"name": "_message",
"type": "string"
}
],
"name": "gm",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"name": "usersWhoGmd",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
}
],
"bytecode": {
"object": "0x608060405234801561001057600080fd5b5061003c6040518060600160405280602a8152602001610980602a913961004160201b6103791760201c565b6100fa565b6100888160405160240161005591906100ac565b60408051601f198184030181529190526020810180516001600160e01b0390811663104c13eb60e21b1790915261008b16565b50565b80516a636f6e736f6c652e6c6f67602083016000808483855afa5050505050565b600060208083528351808285015260005b818110156100d9578581018301518582016040015282016100bd565b506000604082860101526040601f19601f8301168501019250505092915050565b610877806101096000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c80633a05e29e146100515780638a215be31461006f578063d8686ecb14610085578063e2d499c11461009a575b600080fd5b6100596100cd565b60405161006691906104bb565b60405180910390f35b6100776101de565b604051908152602001610066565b61009861009336600461055d565b610220565b005b6100bd6100a836600461060e565b60026020526000908152604090205460ff1681565b6040519015158152602001610066565b60606001805480602002602001604051908101604052809291908181526020016000905b828210156101d557600084815260209081902060408051606081019091526003850290910180546001600160a01b03168252600181018054929391929184019161013a9061063e565b80601f01602080910402602001604051908101604052809291908181526020018280546101669061063e565b80156101b35780601f10610188576101008083540402835291602001916101b3565b820191906000526020600020905b81548152906001019060200180831161019657829003601f168201915b50505050508152602001600282015481525050815260200190600101906100f1565b50505050905090565b6000610219604051806040016040528060158152602001745765206861766520256420746f74616c20676d732160581b8152506000546103bf565b5060005490565b60016000808282546102329190610678565b9091555050604080518082019091526015815274257320676d276420772f206d65737361676520257360581b602082015261026e903383610408565b6040805160608101825233815260208101838152429282019290925260018054808201825560009190915281517fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf6600390920291820180546001600160a01b0319166001600160a01b0390921691909117815592519192917fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf79091019061031590826106ed565b506040918201516002909101555133907fee86ba231d4398fdc6bddfeaf10d67c92be43790841bf9ae08cc7c476f01294e9061035490429085906107ad565b60405180910390a250336000908152600260205260409020805460ff19166001179055565b6103bc8160405160240161038d91906107ce565b60408051601f198184030181529190526020810180516001600160e01b031663104c13eb60e21b179052610454565b50565b61040482826040516024016103d59291906107e1565b60408051601f198184030181529190526020810180516001600160e01b03166309710a9d60e41b179052610454565b5050565b61044f83838360405160240161042093929190610803565b60408051601f198184030181529190526020810180516001600160e01b031663e0e9ad4f60e01b179052610454565b505050565b80516a636f6e736f6c652e6c6f67602083016000808483855afa5050505050565b6000815180845260005b8181101561049b5760208185018101518683018201520161047f565b506000602082860101526020601f19601f83011685010191505092915050565b60006020808301818452808551808352604092508286019150828160051b87010184880160005b8381101561053957888303603f19018552815180516001600160a01b031684528781015160608986018190529061051b82870182610475565b928901519589019590955250948701949250908601906001016104e2565b509098975050505050505050565b634e487b7160e01b600052604160045260246000fd5b60006020828403121561056f57600080fd5b813567ffffffffffffffff8082111561058757600080fd5b818401915084601f83011261059b57600080fd5b8135818111156105ad576105ad610547565b604051601f8201601f19908116603f011681019083821181831017156105d5576105d5610547565b816040528281528760208487010111156105ee57600080fd5b826020860160208301376000928101602001929092525095945050505050565b60006020828403121561062057600080fd5b81356001600160a01b038116811461063757600080fd5b9392505050565b600181811c9082168061065257607f821691505b60208210810361067257634e487b7160e01b600052602260045260246000fd5b50919050565b8082018082111561069957634e487b7160e01b600052601160045260246000fd5b92915050565b601f82111561044f57600081815260208120601f850160051c810160208610156106c65750805b601f850160051c820191505b818110156106e5578281556001016106d2565b505050505050565b815167ffffffffffffffff81111561070757610707610547565b61071b81610715845461063e565b8461069f565b602080601f83116001811461075057600084156107385750858301515b600019600386901b1c1916600185901b1785556106e5565b600085815260208120601f198616915b8281101561077f57888601518255948401946001909101908401610760565b508582101561079d5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b8281526040602082015260006107c66040830184610475565b949350505050565b6020815260006106376020830184610475565b6040815260006107f46040830185610475565b90508260208301529392505050565b6060815260006108166060830186610475565b6001600160a01b038516602084015282810360408401526108378185610475565b969550505050505056fea2646970667358221220c6effb246b3c42de7c5a0f127d0492fb1b27311cf1cd26564b88ad2b5a23b5ee64736f6c634300081100336920616d206120736d61727420636f6e7472616374206f6e204275627320746573746e65742e20676d21",
"sourceMap": "107:1009:16:-:0;;;487:88;;;;;;;;;;511:57;;;;;;;;;;;;;;;;;;:11;;;;;:57;;:::i;:::-;107:1009;;5630:121:13;5685:59;5740:2;5701:42;;;;;;;;:::i;:::-;;;;-1:-1:-1;;5701:42:13;;;;;;;;;;;;;;-1:-1:-1;;;;;5701:42:13;;;-1:-1:-1;;;5701:42:13;;;;5685:15;:59;:::i;:::-;5630:121;:::o;181:376::-;275:14;;131:42;448:2;435:16;;251:21;;275:14;435:16;131:42;484:5;473:68;464:77;;401:150;;181:376;:::o;14:548:18:-;126:4;155:2;184;173:9;166:21;216:6;210:13;259:6;254:2;243:9;239:18;232:34;284:1;294:140;308:6;305:1;302:13;294:140;;;403:14;;;399:23;;393:30;369:17;;;388:2;365:26;358:66;323:10;;294:140;;;298:3;483:1;478:2;469:6;458:9;454:22;450:31;443:42;553:2;546;542:7;537:2;529:6;525:15;521:29;510:9;506:45;502:54;494:62;;;;14:548;;;;:::o;:::-;107:1009:16;;;;;;",
"linkReferences": {}
},
"deployedBytecode": {
"object": "0x608060405234801561001057600080fd5b506004361061004c5760003560e01c80633a05e29e146100515780638a215be31461006f578063d8686ecb14610085578063e2d499c11461009a575b600080fd5b6100596100cd565b60405161006691906104bb565b60405180910390f35b6100776101de565b604051908152602001610066565b61009861009336600461055d565b610220565b005b6100bd6100a836600461060e565b60026020526000908152604090205460ff1681565b6040519015158152602001610066565b60606001805480602002602001604051908101604052809291908181526020016000905b828210156101d557600084815260209081902060408051606081019091526003850290910180546001600160a01b03168252600181018054929391929184019161013a9061063e565b80601f01602080910402602001604051908101604052809291908181526020018280546101669061063e565b80156101b35780601f10610188576101008083540402835291602001916101b3565b820191906000526020600020905b81548152906001019060200180831161019657829003601f168201915b50505050508152602001600282015481525050815260200190600101906100f1565b50505050905090565b6000610219604051806040016040528060158152602001745765206861766520256420746f74616c20676d732160581b8152506000546103bf565b5060005490565b60016000808282546102329190610678565b9091555050604080518082019091526015815274257320676d276420772f206d65737361676520257360581b602082015261026e903383610408565b6040805160608101825233815260208101838152429282019290925260018054808201825560009190915281517fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf6600390920291820180546001600160a01b0319166001600160a01b0390921691909117815592519192917fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf79091019061031590826106ed565b506040918201516002909101555133907fee86ba231d4398fdc6bddfeaf10d67c92be43790841bf9ae08cc7c476f01294e9061035490429085906107ad565b60405180910390a250336000908152600260205260409020805460ff19166001179055565b6103bc8160405160240161038d91906107ce565b60408051601f198184030181529190526020810180516001600160e01b031663104c13eb60e21b179052610454565b50565b61040482826040516024016103d59291906107e1565b60408051601f198184030181529190526020810180516001600160e01b03166309710a9d60e41b179052610454565b5050565b61044f83838360405160240161042093929190610803565b60408051601f198184030181529190526020810180516001600160e01b031663e0e9ad4f60e01b179052610454565b505050565b80516a636f6e736f6c652e6c6f67602083016000808483855afa5050505050565b6000815180845260005b8181101561049b5760208185018101518683018201520161047f565b506000602082860101526020601f19601f83011685010191505092915050565b60006020808301818452808551808352604092508286019150828160051b87010184880160005b8381101561053957888303603f19018552815180516001600160a01b031684528781015160608986018190529061051b82870182610475565b928901519589019590955250948701949250908601906001016104e2565b509098975050505050505050565b634e487b7160e01b600052604160045260246000fd5b60006020828403121561056f57600080fd5b813567ffffffffffffffff8082111561058757600080fd5b818401915084601f83011261059b57600080fd5b8135818111156105ad576105ad610547565b604051601f8201601f19908116603f011681019083821181831017156105d5576105d5610547565b816040528281528760208487010111156105ee57600080fd5b826020860160208301376000928101602001929092525095945050505050565b60006020828403121561062057600080fd5b81356001600160a01b038116811461063757600080fd5b9392505050565b600181811c9082168061065257607f821691505b60208210810361067257634e487b7160e01b600052602260045260246000fd5b50919050565b8082018082111561069957634e487b7160e01b600052601160045260246000fd5b92915050565b601f82111561044f57600081815260208120601f850160051c810160208610156106c65750805b601f850160051c820191505b818110156106e5578281556001016106d2565b505050505050565b815167ffffffffffffffff81111561070757610707610547565b61071b81610715845461063e565b8461069f565b602080601f83116001811461075057600084156107385750858301515b600019600386901b1c1916600185901b1785556106e5565b600085815260208120601f198616915b8281101561077f57888601518255948401946001909101908401610760565b508582101561079d5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b8281526040602082015260006107c66040830184610475565b949350505050565b6020815260006106376020830184610475565b6040815260006107f46040830185610475565b90508260208301529392505050565b6060815260006108166060830186610475565b6001600160a01b038516602084015282810360408401526108378185610475565b969550505050505056fea2646970667358221220c6effb246b3c42de7c5a0f127d0492fb1b27311cf1cd26564b88ad2b5a23b5ee64736f6c63430008110033",
"sourceMap": "107:1009:16:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;886:82;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;973:141;;;:::i;:::-;;;1754:25:18;;;1742:2;1727:18;973:141:16;1608:177:18;580:301:16;;;;;;:::i;:::-;;:::i;:::-;;438:43;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;3305:14:18;;3298:22;3280:41;;3268:2;3253:18;438:43:16;3140:187:18;886:82:16;928:11;958:3;951:10;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;951:10:16;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;886:82;:::o;973:141::-;1017:7;1036:46;;;;;;;;;;;;;;-1:-1:-1;;;1036:46:16;;;1073:8;;1036:11;:46::i;:::-;-1:-1:-1;1099:8:16;;;973:141::o;580:301::-;645:1;633:8;;:13;;;;;;;:::i;:::-;;;;-1:-1:-1;;656:58:16;;;;;;;;;;;;-1:-1:-1;;;656:58:16;;;;;;693:10;705:8;656:11;:58::i;:::-;733:41;;;;;;;;736:10;733:41;;;;;;;;758:15;733:41;;;;;;;724:3;:51;;;;;;;-1:-1:-1;724:51:16;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;724:51:16;-1:-1:-1;;;;;724:51:16;;;;;;;;;;;733:41;;724:51;;;;;;;;;;:::i;:::-;-1:-1:-1;724:51:16;;;;;;;;;;790:44;796:10;;790:44;;;;808:15;;825:8;;790:44;:::i;:::-;;;;;;;;-1:-1:-1;856:10:16;844:23;;;;:11;:23;;;;;:30;;-1:-1:-1;;844:30:16;870:4;844:30;;;580:301::o;5630:121:13:-;5685:59;5740:2;5701:42;;;;;;;;:::i;:::-;;;;-1:-1:-1;;5701:42:13;;;;;;;;;;;;;;-1:-1:-1;;;;;5701:42:13;-1:-1:-1;;;5701:42:13;;;5685:15;:59::i;:::-;5630:121;:::o;6548:139::-;6612:68;6672:2;6676;6628:51;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;6628:51:13;;;;;;;;;;;;;;-1:-1:-1;;;;;6628:51:13;-1:-1:-1;;;6628:51:13;;;6612:15;:68::i;:::-;6548:139;;:::o;13063:174::-;13148:82;13218:2;13222;13226;13164:65;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;13164:65:13;;;;;;;;;;;;;;-1:-1:-1;;;;;13164:65:13;-1:-1:-1;;;13164:65:13;;;13148:15;:82::i;:::-;13063:174;;;:::o;181:376::-;275:14;;131:42;448:2;435:16;;251:21;;275:14;435:16;131:42;484:5;473:68;464:77;;401:150;;181:376;:::o;14:423:18:-;56:3;94:5;88:12;121:6;116:3;109:19;146:1;156:162;170:6;167:1;164:13;156:162;;;232:4;288:13;;;284:22;;278:29;260:11;;;256:20;;249:59;185:12;156:162;;;160:3;363:1;356:4;347:6;342:3;338:16;334:27;327:38;426:4;419:2;415:7;410:2;402:6;398:15;394:29;389:3;385:39;381:50;374:57;;;14:423;;;;:::o;442:1161::-;626:4;655:2;695;684:9;680:18;725:2;714:9;707:21;748:6;783;777:13;814:6;806;799:22;840:2;830:12;;873:2;862:9;858:18;851:25;;935:2;925:6;922:1;918:14;907:9;903:30;899:39;973:2;965:6;961:15;994:1;1004:570;1018:6;1015:1;1012:13;1004:570;;;1083:22;;;-1:-1:-1;;1079:36:18;1067:49;;1139:13;;1211:9;;-1:-1:-1;;;;;1207:35:18;1192:51;;1282:11;;;1276:18;1175:4;1314:15;;;1307:27;;;1175:4;1361:48;1393:15;;;1276:18;1361:48;:::i;:::-;1452:11;;;1446:18;1429:15;;;1422:43;;;;-1:-1:-1;1552:12:18;;;;1347:62;-1:-1:-1;1517:15:18;;;;1040:1;1033:9;1004:570;;;-1:-1:-1;1591:6:18;;442:1161;-1:-1:-1;;;;;;;;442:1161:18:o;1790:127::-;1851:10;1846:3;1842:20;1839:1;1832:31;1882:4;1879:1;1872:15;1906:4;1903:1;1896:15;1922:922;1991:6;2044:2;2032:9;2023:7;2019:23;2015:32;2012:52;;;2060:1;2057;2050:12;2012:52;2100:9;2087:23;2129:18;2170:2;2162:6;2159:14;2156:34;;;2186:1;2183;2176:12;2156:34;2224:6;2213:9;2209:22;2199:32;;2269:7;2262:4;2258:2;2254:13;2250:27;2240:55;;2291:1;2288;2281:12;2240:55;2327:2;2314:16;2349:2;2345;2342:10;2339:36;;;2355:18;;:::i;:::-;2430:2;2424:9;2398:2;2484:13;;-1:-1:-1;;2480:22:18;;;2504:2;2476:31;2472:40;2460:53;;;2528:18;;;2548:22;;;2525:46;2522:72;;;2574:18;;:::i;:::-;2614:10;2610:2;2603:22;2649:2;2641:6;2634:18;2689:7;2684:2;2679;2675;2671:11;2667:20;2664:33;2661:53;;;2710:1;2707;2700:12;2661:53;2766:2;2761;2757;2753:11;2748:2;2740:6;2736:15;2723:46;2811:1;2789:15;;;2806:2;2785:24;2778:35;;;;-1:-1:-1;2793:6:18;1922:922;-1:-1:-1;;;;;1922:922:18:o;2849:286::-;2908:6;2961:2;2949:9;2940:7;2936:23;2932:32;2929:52;;;2977:1;2974;2967:12;2929:52;3003:23;;-1:-1:-1;;;;;3055:31:18;;3045:42;;3035:70;;3101:1;3098;3091:12;3035:70;3124:5;2849:286;-1:-1:-1;;;2849:286:18:o;3332:380::-;3411:1;3407:12;;;;3454;;;3475:61;;3529:4;3521:6;3517:17;3507:27;;3475:61;3582:2;3574:6;3571:14;3551:18;3548:38;3545:161;;3628:10;3623:3;3619:20;3616:1;3609:31;3663:4;3660:1;3653:15;3691:4;3688:1;3681:15;3545:161;;3332:380;;;:::o;3717:222::-;3782:9;;;3803:10;;;3800:133;;;3855:10;3850:3;3846:20;3843:1;3836:31;3890:4;3887:1;3880:15;3918:4;3915:1;3908:15;3800:133;3717:222;;;;:::o;4070:545::-;4172:2;4167:3;4164:11;4161:448;;;4208:1;4233:5;4229:2;4222:17;4278:4;4274:2;4264:19;4348:2;4336:10;4332:19;4329:1;4325:27;4319:4;4315:38;4384:4;4372:10;4369:20;4366:47;;;-1:-1:-1;4407:4:18;4366:47;4462:2;4457:3;4453:12;4450:1;4446:20;4440:4;4436:31;4426:41;;4517:82;4535:2;4528:5;4525:13;4517:82;;;4580:17;;;4561:1;4550:13;4517:82;;;4521:3;;;4070:545;;;:::o;4791:1352::-;4917:3;4911:10;4944:18;4936:6;4933:30;4930:56;;;4966:18;;:::i;:::-;4995:97;5085:6;5045:38;5077:4;5071:11;5045:38;:::i;:::-;5039:4;4995:97;:::i;:::-;5147:4;;5211:2;5200:14;;5228:1;5223:663;;;;5930:1;5947:6;5944:89;;;-1:-1:-1;5999:19:18;;;5993:26;5944:89;-1:-1:-1;;4748:1:18;4744:11;;;4740:24;4736:29;4726:40;4772:1;4768:11;;;4723:57;6046:81;;5193:944;;5223:663;4017:1;4010:14;;;4054:4;4041:18;;-1:-1:-1;;5259:20:18;;;5377:236;5391:7;5388:1;5385:14;5377:236;;;5480:19;;;5474:26;5459:42;;5572:27;;;;5540:1;5528:14;;;;5407:19;;5377:236;;;5381:3;5641:6;5632:7;5629:19;5626:201;;;5702:19;;;5696:26;-1:-1:-1;;5785:1:18;5781:14;;;5797:3;5777:24;5773:37;5769:42;5754:58;5739:74;;5626:201;-1:-1:-1;;;;;5873:1:18;5857:14;;;5853:22;5840:36;;-1:-1:-1;4791:1352:18:o;6148:291::-;6325:6;6314:9;6307:25;6368:2;6363;6352:9;6348:18;6341:30;6288:4;6388:45;6429:2;6418:9;6414:18;6406:6;6388:45;:::i;:::-;6380:53;6148:291;-1:-1:-1;;;;6148:291:18:o;6444:220::-;6593:2;6582:9;6575:21;6556:4;6613:45;6654:2;6643:9;6639:18;6631:6;6613:45;:::i;6669:291::-;6846:2;6835:9;6828:21;6809:4;6866:45;6907:2;6896:9;6892:18;6884:6;6866:45;:::i;:::-;6858:53;;6947:6;6942:2;6931:9;6927:18;6920:34;6669:291;;;;;:::o;6965:480::-;7190:2;7179:9;7172:21;7153:4;7216:45;7257:2;7246:9;7242:18;7234:6;7216:45;:::i;:::-;-1:-1:-1;;;;;7297:32:18;;7292:2;7277:18;;7270:60;7366:22;;;7361:2;7346:18;;7339:50;7406:33;7370:6;7424;7406:33;:::i;:::-;7398:41;6965:480;-1:-1:-1;;;;;;6965:480:18:o",
"linkReferences": {}
},
"methodIdentifiers": {
"getAllGms()": "3a05e29e",
"getTotalGms()": "8a215be3",
"gm(string)": "d8686ecb",
"usersWhoGmd(address)": "e2d499c1"
},
"rawMetadata": "{\"compiler\":{\"version\":\"0.8.17+commit.8df45f5f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"message\",\"type\":\"string\"}],\"name\":\"NewGm\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"getAllGms\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"gmer\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"message\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"}],\"internalType\":\"struct GmPortal.Gm[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getTotalGms\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_message\",\"type\":\"string\"}],\"name\":\"gm\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"usersWhoGmd\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"src/GmPortal.sol\":\"GmPortal\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\"]},\"sources\":{\"lib/forge-std/src/console.sol\":{\"keccak256\":\"0x91d5413c2434ca58fd278b6e1e79fd98d10c83931cc2596a6038eee4daeb34ba\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://91ccea707361e48b9b7a161fe81f496b9932bc471e9c4e4e1e9c283f2453cc70\",\"dweb:/ipfs/QmcB66sZhQ6Kz7MUHcLE78YXRUZxoZnnxZjN6yATsbB2ec\"]},\"src/GmPortal.sol\":{\"keccak256\":\"0x8c997a4d7735e0d4b72acc7db7512d5960634b45073c9a0f21a68c368825a6a9\",\"license\":\"UNLICENSED\",\"urls\":[\"bzz-raw://80661c8f13fb71143f369edcd26d03103586f3679a1106ae2e2c704af29b50b8\",\"dweb:/ipfs/QmZJfHcbZzXtt1NSwvUznitEphFy1oJspWncCLHHW8ihDE\"]}},\"version\":1}",
"metadata": {
"compiler": {
"version": "0.8.17+commit.8df45f5f"
},
"language": "Solidity",
"output": {
"abi": [
{
"inputs": [],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"inputs": [
{
"internalType": "address",
"name": "from",
"type": "address",
"indexed": true
},
{
"internalType": "uint256",
"name": "timestamp",
"type": "uint256",
"indexed": false
},
{
"internalType": "string",
"name": "message",
"type": "string",
"indexed": false
}
],
"type": "event",
"name": "NewGm",
"anonymous": false
},
{
"inputs": [],
"stateMutability": "view",
"type": "function",
"name": "getAllGms",
"outputs": [
{
"internalType": "struct GmPortal.Gm[]",
"name": "",
"type": "tuple[]",
"components": [
{
"internalType": "address",
"name": "gmer",
"type": "address"
},
{
"internalType": "string",
"name": "message",
"type": "string"
},
{
"internalType": "uint256",
"name": "timestamp",
"type": "uint256"
}
]
}
]
},
{
"inputs": [],
"stateMutability": "view",
"type": "function",
"name": "getTotalGms",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
]
},
{
"inputs": [
{
"internalType": "string",
"name": "_message",
"type": "string"
}
],
"stateMutability": "nonpayable",
"type": "function",
"name": "gm"
},
{
"inputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function",
"name": "usersWhoGmd",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
]
}
],
"devdoc": {
"kind": "dev",
"methods": {},
"version": 1
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
},
"settings": {
"remappings": [
":ds-test/=lib/forge-std/lib/ds-test/src/",
":forge-std/=lib/forge-std/src/"
],
"optimizer": {
"enabled": true,
"runs": 200
},
"metadata": {
"bytecodeHash": "ipfs"
},
"compilationTarget": {
"src/GmPortal.sol": "GmPortal"
},
"libraries": {}
},
"sources": {
"lib/forge-std/src/console.sol": {
"keccak256": "0x91d5413c2434ca58fd278b6e1e79fd98d10c83931cc2596a6038eee4daeb34ba",
"urls": [
"bzz-raw://91ccea707361e48b9b7a161fe81f496b9932bc471e9c4e4e1e9c283f2453cc70",
"dweb:/ipfs/QmcB66sZhQ6Kz7MUHcLE78YXRUZxoZnnxZjN6yATsbB2ec"
],
"license": "MIT"
},
"src/GmPortal.sol": {
"keccak256": "0x8c997a4d7735e0d4b72acc7db7512d5960634b45073c9a0f21a68c368825a6a9",
"urls": [
"bzz-raw://80661c8f13fb71143f369edcd26d03103586f3679a1106ae2e2c704af29b50b8",
"dweb:/ipfs/QmZJfHcbZzXtt1NSwvUznitEphFy1oJspWncCLHHW8ihDE"
],
"license": "UNLICENSED"
}
},
"version": 1
},
"ast": {
"absolutePath": "src/GmPortal.sol",
"id": 25654,
"exportedSymbols": {
"GmPortal": [
25653
],
"console": [
17416
]
},
"nodeType": "SourceUnit",
"src": "40:1077:16",
"nodes": [
{
"id": 25545,
"nodeType": "PragmaDirective",
"src": "40:24:16",
"nodes": [],
"literals": [
"solidity",
"^",
"0.8",
".17"
]
},
{
"id": 25546,
"nodeType": "ImportDirective",
"src": "66:39:16",
"nodes": [],
"absolutePath": "lib/forge-std/src/console.sol",
"file": "lib/forge-std/src/console.sol",
"nameLocation": "-1:-1:-1",
"scope": 25654,
"sourceUnit": 17417,
"symbolAliases": [],
"unitAlias": ""
},
{
"id": 25653,
"nodeType": "ContractDefinition",
"src": "107:1009:16",
"nodes": [
{
"id": 25548,
"nodeType": "VariableDeclaration",
"src": "131:16:16",
"nodes": [],
"constant": false,
"mutability": "mutable",
"name": "totalGms",
"nameLocation": "139:8:16",
"scope": 25653,
"stateVariable": true,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 25547,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "131:7:16",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
},
{
"id": 25556,
"nodeType": "EventDefinition",
"src": "153:69:16",
"nodes": [],
"anonymous": false,
"eventSelector": "ee86ba231d4398fdc6bddfeaf10d67c92be43790841bf9ae08cc7c476f01294e",
"name": "NewGm",
"nameLocation": "159:5:16",
"parameters": {
"id": 25555,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 25550,
"indexed": true,
"mutability": "mutable",
"name": "from",
"nameLocation": "181:4:16",
"nodeType": "VariableDeclaration",
"scope": 25556,
"src": "165:20:16",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 25549,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "165:7:16",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 25552,
"indexed": false,
"mutability": "mutable",
"name": "timestamp",
"nameLocation": "195:9:16",
"nodeType": "VariableDeclaration",
"scope": 25556,
"src": "187:17:16",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 25551,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "187:7:16",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 25554,
"indexed": false,
"mutability": "mutable",
"name": "message",
"nameLocation": "213:7:16",
"nodeType": "VariableDeclaration",
"scope": 25556,
"src": "206:14:16",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 25553,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "206:6:16",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"visibility": "internal"
}
],
"src": "164:57:16"
}
},
{
"id": 25563,
"nodeType": "StructDefinition",
"src": "227:192:16",
"nodes": [],
"canonicalName": "GmPortal.Gm",
"members": [
{
"constant": false,
"id": 25558,
"mutability": "mutable",
"name": "gmer",
"nameLocation": "255:4:16",
"nodeType": "VariableDeclaration",
"scope": 25563,
"src": "247:12:16",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 25557,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "247:7:16",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 25560,
"mutability": "mutable",
"name": "message",
"nameLocation": "312:7:16",
"nodeType": "VariableDeclaration",
"scope": 25563,
"src": "305:14:16",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
},
"typeName": {
"id": 25559,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "305:6:16",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 25562,
"mutability": "mutable",
"name": "timestamp",
"nameLocation": "367:9:16",
"nodeType": "VariableDeclaration",
"scope": 25563,
"src": "359:17:16",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 25561,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "359:7:16",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
}
],
"name": "Gm",
"nameLocation": "234:2:16",
"scope": 25653,
"visibility": "public"
},
{
"id": 25567,
"nodeType": "VariableDeclaration",
"src": "424:8:16",
"nodes": [],
"constant": false,
"mutability": "mutable",
"name": "gms",
"nameLocation": "429:3:16",
"scope": 25653,
"stateVariable": true,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_struct$_Gm_$25563_storage_$dyn_storage",
"typeString": "struct GmPortal.Gm[]"
},
"typeName": {
"baseType": {
"id": 25565,
"nodeType": "UserDefinedTypeName",
"pathNode": {
"id": 25564,
"name": "Gm",
"nameLocations": [
"424:2:16"
],
"nodeType": "IdentifierPath",
"referencedDeclaration": 25563,
"src": "424:2:16"
},
"referencedDeclaration": 25563,
"src": "424:2:16",
"typeDescriptions": {
"typeIdentifier": "t_struct$_Gm_$25563_storage_ptr",
"typeString": "struct GmPortal.Gm"
}
},
"id": 25566,
"nodeType": "ArrayTypeName",
"src": "424:4:16",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_struct$_Gm_$25563_storage_$dyn_storage_ptr",
"typeString": "struct GmPortal.Gm[]"
}
},
"visibility": "internal"
},
{
"id": 25571,
"nodeType": "VariableDeclaration",
"src": "438:43:16",
"nodes": [],
"constant": false,
"functionSelector": "e2d499c1",
"mutability": "mutable",
"name": "usersWhoGmd",
"nameLocation": "470:11:16",
"scope": 25653,
"stateVariable": true,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_mapping$_t_address_$_t_bool_$",
"typeString": "mapping(address => bool)"
},
"typeName": {
"id": 25570,
"keyType": {
"id": 25568,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "446:7:16",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"nodeType": "Mapping",
"src": "438:24:16",
"typeDescriptions": {
"typeIdentifier": "t_mapping$_t_address_$_t_bool_$",
"typeString": "mapping(address => bool)"
},
"valueType": {
"id": 25569,
"name": "bool",
"nodeType": "ElementaryTypeName",
"src": "457:4:16",
"typeDescriptions": {
"typeIdentifier": "t_bool",
"typeString": "bool"
}
}
},
"visibility": "public"
},
{
"id": 25581,
"nodeType": "FunctionDefinition",
"src": "487:88:16",
"nodes": [],
"body": {
"id": 25580,
"nodeType": "Block",
"src": "501:74:16",
"nodes": [],
"statements": [
{
"expression": {
"arguments": [
{
"hexValue": "6920616d206120736d61727420636f6e7472616374206f6e204275627320746573746e65742e20676d21",
"id": 25577,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "string",
"lValueRequested": false,
"nodeType": "Literal",
"src": "523:44:16",
"typeDescriptions": {
"typeIdentifier": "t_stringliteral_df71c0e8494586b0b37c3b214203b9ee4a0ffeaec96cb99202eb4bd02fe71625",
"typeString": "literal_string \"i am a smart contract on Bubs testnet. gm!\""
},
"value": "i am a smart contract on Bubs testnet. gm!"
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_stringliteral_df71c0e8494586b0b37c3b214203b9ee4a0ffeaec96cb99202eb4bd02fe71625",
"typeString": "literal_string \"i am a smart contract on Bubs testnet. gm!\""
}
],
"expression": {
"id": 25574,
"name": "console",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 17416,
"src": "511:7:16",
"typeDescriptions": {
"typeIdentifier": "t_type$_t_contract$_console_$17416_$",
"typeString": "type(library console)"
}
},
"id": 25576,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberLocation": "519:3:16",
"memberName": "log",
"nodeType": "MemberAccess",
"referencedDeclaration": 9947,
"src": "511:11:16",
"typeDescriptions": {
"typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$returns$__$",
"typeString": "function (string memory) view"
}
},
"id": 25578,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "511:57:16",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
"id": 25579,
"nodeType": "ExpressionStatement",
"src": "511:57:16"
}
]
},
"implemented": true,
"kind": "constructor",
"modifiers": [],
"name": "",
"nameLocation": "-1:-1:-1",
"parameters": {
"id": 25572,
"nodeType": "ParameterList",
"parameters": [],
"src": "498:2:16"
},
"returnParameters": {
"id": 25573,
"nodeType": "ParameterList",
"parameters": [],
"src": "501:0:16"
},
"scope": 25653,
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "public"
},
{
"id": 25627,
"nodeType": "FunctionDefinition",
"src": "580:301:16",
"nodes": [],
"body": {
"id": 25626,
"nodeType": "Block",
"src": "623:258:16",
"nodes": [],
"statements": [
{
"expression": {
"id": 25588,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"leftHandSide": {
"id": 25586,
"name": "totalGms",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 25548,
"src": "633:8:16",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"nodeType": "Assignment",
"operator": "+=",
"rightHandSide": {
"hexValue": "31",
"id": 25587,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "number",
"lValueRequested": false,
"nodeType": "Literal",
"src": "645:1:16",
"typeDescriptions": {
"typeIdentifier": "t_rational_1_by_1",
"typeString": "int_const 1"
},
"value": "1"
},
"src": "633:13:16",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"id": 25589,
"nodeType": "ExpressionStatement",
"src": "633:13:16"
},
{
"expression": {
"arguments": [
{
"hexValue": "257320676d276420772f206d657373616765202573",
"id": 25593,
"isConstant": false,
"isLValue": false,
"isPure": true,
"kind": "string",
"lValueRequested": false,
"nodeType": "Literal",
"src": "668:23:16",
"typeDescriptions": {
"typeIdentifier": "t_stringliteral_da804669792f20fb425f44e9d72387abf573d185f8353f23af95801503ec770a",
"typeString": "literal_string \"%s gm'd w/ message %s\""
},
"value": "%s gm'd w/ message %s"
},
{
"expression": {
"id": 25594,
"name": "msg",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": -15,
"src": "693:3:16",
"typeDescriptions": {
"typeIdentifier": "t_magic_message",
"typeString": "msg"
}
},
"id": 25595,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberLocation": "697:6:16",
"memberName": "sender",
"nodeType": "MemberAccess",
"src": "693:10:16",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
{
"id": 25596,
"name": "_message",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 25583,
"src": "705:8:16",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string memory"
}
}
],
"expression": {
"argumentTypes": [
{
"typeIdentifier": "t_stringliteral_da804669792f20fb425f44e9d72387abf573d185f8353f23af95801503ec770a",
"typeString": "literal_string \"%s gm'd w/ message %s\""
},
{
"typeIdentifier": "t_address",
"typeString": "address"
},
{
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string memory"
}
],
"expression": {
"id": 25590,
"name": "console",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 17416,
"src": "656:7:16",
"typeDescriptions": {
"typeIdentifier": "t_type$_t_contract$_console_$17416_$",
"typeString": "type(library console)"
}
},
"id": 25592,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberLocation": "664:3:16",
"memberName": "log",
"nodeType": "MemberAccess",
"referencedDeclaration": 10847,
"src": "656:11:16",
"typeDescriptions": {
"typeIdentifier": "t_function_internal_view$_t_string_memory_ptr_$_t_address_$_t_string_memory_ptr_$returns$__$",
"typeString": "function (string memory,address,string memory) view"
}
},
"id": 25597,
"isConstant": false,
"isLValue": false,
"isPure": false,
"kind": "functionCall",
"lValueRequested": false,
"nameLocations": [],
"names": [],
"nodeType": "FunctionCall",
"src": "656:58:16",
"tryCall": false,
"typeDescriptions": {
"typeIdentifier": "t_tuple$__$",
"typeString": "tuple()"
}
},
"id": 25598,
"nodeType": "ExpressionStatement",
"src": "656:58:16"
},
{
"expression": {
"arguments": [
{
"arguments": [
{
"expression": {
"id": 25603,
"name": "msg",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": -15,
"src": "736:3:16",
"typeDescriptions": {
"typeIdentifier": "t_magic_message",
"typeString": "msg"
}
},
"id": 25604,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberLocation": "740:6:16",
"memberName": "sender",
"nodeType": "MemberAccess",
"src": "736:10:16",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
{
"id": 25605,
"name": "_message",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": 25583,
"src": "748:8:16",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string memory"
}
},
{
"expression": {
"id": 25606,
"name": "block",
"nodeType": "Identifier",
"overloadedDeclarations": [],
"referencedDeclaration": -4,
"src": "758:5:16",
"typeDescriptions": {
"typeIdentifier": "t_magic_block",
"typeString": "block"
}
},
"id": 25607,
"isConstant": false,
"isLValue": false,
"isPure": false,
"lValueRequested": false,
"memberLocation": "764:9:16",