opportunity-service 0.0.531 → 0.0.538

Sign up to get free protection for your applications and to get access to all the features.
Files changed (88) hide show
  1. package/dist/OpportunityService.js +16 -20
  2. package/dist/OpportunityService.js.map +1 -1
  3. package/dist/api/dispute/check-vote-results.js +33 -0
  4. package/dist/api/dispute/check-vote-results.js.map +1 -0
  5. package/dist/api/dispute/connect.js +39 -0
  6. package/dist/api/dispute/connect.js.map +1 -0
  7. package/dist/api/dispute/ensure-entity-metadata.js +39 -0
  8. package/dist/api/dispute/ensure-entity-metadata.js.map +1 -0
  9. package/dist/api/dispute/launch-new-vote.js +94 -0
  10. package/dist/api/dispute/launch-new-vote.js.map +1 -0
  11. package/dist/api/dispute/submit-vote.js +41 -0
  12. package/dist/api/dispute/submit-vote.js.map +1 -0
  13. package/dist/api/dispute/util/wait-until-present.js +27 -0
  14. package/dist/api/dispute/util/wait-until-present.js.map +1 -0
  15. package/dist/api/{voting/connect.js → dispute/util/wait-until-started.js} +11 -21
  16. package/dist/api/dispute/util/wait-until-started.js.map +1 -0
  17. package/dist/api/exchange/create-dispute.js +1 -2
  18. package/dist/api/exchange/create-dispute.js.map +1 -1
  19. package/dist/api/exchange/create-task.js +1 -1
  20. package/dist/api/exchange/create-task.js.map +1 -1
  21. package/dist/api/identity/register-new-user.js +11 -2
  22. package/dist/api/identity/register-new-user.js.map +1 -1
  23. package/dist/api/index.js +31 -2
  24. package/dist/api/index.js.map +1 -1
  25. package/dist/api/internal/abis.js +2 -1
  26. package/dist/api/internal/abis.js.map +1 -1
  27. package/dist/api/internal/addresses.js +21 -4
  28. package/dist/api/internal/addresses.js.map +1 -1
  29. package/dist/api/other/create-eth-crypto-creds.js +20 -0
  30. package/dist/api/other/create-eth-crypto-creds.js.map +1 -0
  31. package/dist/api/provider/decrypt.js +18 -0
  32. package/dist/api/provider/decrypt.js.map +1 -0
  33. package/dist/api/provider/encrypt.js +18 -0
  34. package/dist/api/provider/encrypt.js.map +1 -0
  35. package/dist/api/util/encrypt-by-public-key.js +52 -0
  36. package/dist/api/util/encrypt-by-public-key.js.map +1 -0
  37. package/dist/api/util/parse-cipher.js +11 -0
  38. package/dist/api/util/parse-cipher.js.map +1 -0
  39. package/dist/api/util/stringify-cipher.js +5 -0
  40. package/dist/api/util/stringify-cipher.js.map +1 -0
  41. package/dist/blockchain/abi.json +833 -162
  42. package/dist/blockchain/addresses.json +15 -5
  43. package/dist/blockchain/bytecode.json +2 -2
  44. package/dist/constants.js +0 -1
  45. package/dist/constants.js.map +1 -1
  46. package/dist/modules/storage/OpportunityStorageProvider.js +65 -41
  47. package/dist/modules/storage/OpportunityStorageProvider.js.map +1 -1
  48. package/dist/sync/sync-markets.js +1 -1
  49. package/dist/sync/sync-markets.js.map +1 -1
  50. package/package.json +13 -2
  51. package/src/OpportunityService.ts +22 -24
  52. package/src/api/dispute/check-vote-results.ts +30 -0
  53. package/src/api/dispute/connect.ts +36 -0
  54. package/src/api/dispute/ensure-entity-metadata.ts +34 -0
  55. package/src/api/dispute/launch-new-vote.ts +116 -0
  56. package/src/api/dispute/submit-vote.ts +59 -0
  57. package/src/api/dispute/util/wait-until-present.ts +19 -0
  58. package/src/api/dispute/util/wait-until-started.ts +14 -0
  59. package/src/api/exchange/create-dispute.ts +1 -1
  60. package/src/api/exchange/create-task.ts +1 -1
  61. package/src/api/identity/register-new-user.ts +13 -2
  62. package/src/api/index.ts +31 -2
  63. package/src/api/internal/abis.ts +2 -1
  64. package/src/api/internal/addresses.ts +21 -4
  65. package/src/api/other/create-eth-crypto-creds.ts +14 -0
  66. package/src/api/provider/decrypt.ts +9 -0
  67. package/src/api/provider/encrypt.ts +9 -0
  68. package/src/api/util/encrypt-by-public-key.ts +47 -0
  69. package/src/api/util/parse-cipher.ts +11 -0
  70. package/src/api/util/stringify-cipher.ts +5 -0
  71. package/src/blockchain/abi.json +833 -162
  72. package/src/blockchain/addresses.json +17 -5
  73. package/src/blockchain/bytecode.json +2 -2
  74. package/src/constants.ts +0 -1
  75. package/src/modules/storage/OpportunityStorageProvider.ts +75 -23
  76. package/src/sync/sync-markets.ts +1 -1
  77. package/src/types.ts +21 -1
  78. package/dist/api/voting/census.js +0 -38
  79. package/dist/api/voting/census.js.map +0 -1
  80. package/dist/api/voting/connect.js.map +0 -1
  81. package/dist/api/voting/entity.js +0 -39
  82. package/dist/api/voting/entity.js.map +0 -1
  83. package/dist/api/voting/process.js +0 -101
  84. package/dist/api/voting/process.js.map +0 -1
  85. package/src/api/voting/census.ts +0 -39
  86. package/src/api/voting/connect.ts +0 -34
  87. package/src/api/voting/entity.ts +0 -33
  88. package/src/api/voting/process.ts +0 -119
@@ -111,21 +111,37 @@
111
111
  "internalType": "address",
112
112
  "name": "_daiTokenAddress",
113
113
  "type": "address"
114
- },
115
- {
116
- "internalType": "address",
117
- "name": "_cDaiTokenAddress",
118
- "type": "address"
119
- },
120
- {
121
- "internalType": "address",
122
- "name": "_banker",
123
- "type": "address"
124
114
  }
125
115
  ],
126
116
  "stateMutability": "nonpayable",
127
117
  "type": "constructor"
128
118
  },
119
+ {
120
+ "inputs": [],
121
+ "name": "HIGH_MEDIAN_EVALUATION_THRESHOLD",
122
+ "outputs": [
123
+ {
124
+ "internalType": "uint8",
125
+ "name": "",
126
+ "type": "uint8"
127
+ }
128
+ ],
129
+ "stateMutability": "view",
130
+ "type": "function"
131
+ },
132
+ {
133
+ "inputs": [],
134
+ "name": "LOW_MEDIAN_EVALUATION_THRESHOLD",
135
+ "outputs": [
136
+ {
137
+ "internalType": "uint8",
138
+ "name": "",
139
+ "type": "uint8"
140
+ }
141
+ ],
142
+ "stateMutability": "view",
143
+ "type": "function"
144
+ },
129
145
  {
130
146
  "inputs": [],
131
147
  "name": "REVIEW_TYPEHASH",
@@ -233,24 +249,29 @@
233
249
  {
234
250
  "components": [
235
251
  {
236
- "internalType": "string",
237
- "name": "industry",
238
- "type": "string"
252
+ "internalType": "address",
253
+ "name": "market",
254
+ "type": "address"
239
255
  },
240
256
  {
241
257
  "internalType": "uint256",
242
- "name": "industrylevel",
258
+ "name": "marketReputation",
243
259
  "type": "uint256"
244
260
  },
245
261
  {
246
262
  "internalType": "uint256",
247
- "name": "reputation",
263
+ "name": "universalReputation",
248
264
  "type": "uint256"
249
265
  }
250
266
  ],
251
267
  "internalType": "struct Evaluation.EvaluationState",
252
268
  "name": "evaluationState",
253
269
  "type": "tuple"
270
+ },
271
+ {
272
+ "internalType": "address",
273
+ "name": "_market",
274
+ "type": "address"
254
275
  }
255
276
  ],
256
277
  "name": "checkWorkerEvaluation",
@@ -295,7 +316,7 @@
295
316
  "name": "contractStatus",
296
317
  "outputs": [
297
318
  {
298
- "internalType": "enum WorkRelationship.ContractStatus",
319
+ "internalType": "enum Relationship.ContractStatus",
299
320
  "name": "",
300
321
  "type": "uint8"
301
322
  }
@@ -316,6 +337,42 @@
316
337
  "stateMutability": "view",
317
338
  "type": "function"
318
339
  },
340
+ {
341
+ "inputs": [],
342
+ "name": "dispute",
343
+ "outputs": [
344
+ {
345
+ "internalType": "address",
346
+ "name": "",
347
+ "type": "address"
348
+ }
349
+ ],
350
+ "stateMutability": "view",
351
+ "type": "function"
352
+ },
353
+ {
354
+ "inputs": [
355
+ {
356
+ "internalType": "address",
357
+ "name": "_scheduler",
358
+ "type": "address"
359
+ },
360
+ {
361
+ "internalType": "bytes32",
362
+ "name": "_complaintMetadataPointer",
363
+ "type": "bytes32"
364
+ },
365
+ {
366
+ "internalType": "bytes32",
367
+ "name": "_complaintResponseMetadataPointer",
368
+ "type": "bytes32"
369
+ }
370
+ ],
371
+ "name": "disputeRelationship",
372
+ "outputs": [],
373
+ "stateMutability": "nonpayable",
374
+ "type": "function"
375
+ },
319
376
  {
320
377
  "inputs": [],
321
378
  "name": "domain_separator",
@@ -329,6 +386,19 @@
329
386
  "stateMutability": "view",
330
387
  "type": "function"
331
388
  },
389
+ {
390
+ "inputs": [],
391
+ "name": "getRewardAddress",
392
+ "outputs": [
393
+ {
394
+ "internalType": "address",
395
+ "name": "",
396
+ "type": "address"
397
+ }
398
+ ],
399
+ "stateMutability": "nonpayable",
400
+ "type": "function"
401
+ },
332
402
  {
333
403
  "inputs": [],
334
404
  "name": "getTaskSolutionPointer",
@@ -357,6 +427,36 @@
357
427
  },
358
428
  {
359
429
  "inputs": [
430
+ {
431
+ "internalType": "address",
432
+ "name": "_beneficiary",
433
+ "type": "address"
434
+ }
435
+ ],
436
+ "name": "resolveDisputedReward",
437
+ "outputs": [],
438
+ "stateMutability": "nonpayable",
439
+ "type": "function"
440
+ },
441
+ {
442
+ "inputs": [],
443
+ "name": "resolveTiedDisputedReward",
444
+ "outputs": [],
445
+ "stateMutability": "nonpayable",
446
+ "type": "function"
447
+ },
448
+ {
449
+ "inputs": [
450
+ {
451
+ "internalType": "uint256",
452
+ "name": "averageMarketWorkerRep",
453
+ "type": "uint256"
454
+ },
455
+ {
456
+ "internalType": "uint8",
457
+ "name": "_evaluationScore",
458
+ "type": "uint8"
459
+ },
360
460
  {
361
461
  "internalType": "bool",
362
462
  "name": "_approve",
@@ -556,13 +656,7 @@
556
656
  "type": "function"
557
657
  },
558
658
  {
559
- "inputs": [
560
- {
561
- "internalType": "address",
562
- "name": "universalAddress",
563
- "type": "address"
564
- }
565
- ],
659
+ "inputs": [],
566
660
  "name": "registerNewUser",
567
661
  "outputs": [
568
662
  {
@@ -598,36 +692,11 @@
598
692
  {
599
693
  "indexed": true,
600
694
  "internalType": "address",
601
- "name": "marketAddress",
602
- "type": "address"
603
- },
604
- {
605
- "indexed": true,
606
- "internalType": "string",
607
- "name": "marketName",
608
- "type": "string"
609
- }
610
- ],
611
- "name": "MarketPaused",
612
- "type": "event"
613
- },
614
- {
615
- "anonymous": false,
616
- "inputs": [
617
- {
618
- "indexed": true,
619
- "internalType": "address",
620
- "name": "marketAddress",
695
+ "name": "participant",
621
696
  "type": "address"
622
- },
623
- {
624
- "indexed": true,
625
- "internalType": "string",
626
- "name": "marketName",
627
- "type": "string"
628
697
  }
629
698
  ],
630
- "name": "MarketResumed",
699
+ "name": "NewMarketParticipant",
631
700
  "type": "event"
632
701
  },
633
702
  {
@@ -687,19 +756,6 @@
687
756
  "stateMutability": "view",
688
757
  "type": "function"
689
758
  },
690
- {
691
- "inputs": [],
692
- "name": "_marketStatus",
693
- "outputs": [
694
- {
695
- "internalType": "enum MarketLib.MarketStatus",
696
- "name": "",
697
- "type": "uint8"
698
- }
699
- ],
700
- "stateMutability": "view",
701
- "type": "function"
702
- },
703
759
  {
704
760
  "inputs": [],
705
761
  "name": "_marketType",
@@ -713,32 +769,6 @@
713
769
  "stateMutability": "view",
714
770
  "type": "function"
715
771
  },
716
- {
717
- "inputs": [],
718
- "name": "_requiredIndustryWeight",
719
- "outputs": [
720
- {
721
- "internalType": "uint256",
722
- "name": "",
723
- "type": "uint256"
724
- }
725
- ],
726
- "stateMutability": "view",
727
- "type": "function"
728
- },
729
- {
730
- "inputs": [],
731
- "name": "_requiredReputation",
732
- "outputs": [
733
- {
734
- "internalType": "uint256",
735
- "name": "",
736
- "type": "uint256"
737
- }
738
- ],
739
- "stateMutability": "view",
740
- "type": "function"
741
- },
742
772
  {
743
773
  "inputs": [
744
774
  {
@@ -760,16 +790,6 @@
760
790
  "internalType": "address",
761
791
  "name": "_daiTokenAddress",
762
792
  "type": "address"
763
- },
764
- {
765
- "internalType": "address",
766
- "name": "_cDaiTokenAddress",
767
- "type": "address"
768
- },
769
- {
770
- "internalType": "address",
771
- "name": "_banker",
772
- "type": "address"
773
793
  }
774
794
  ],
775
795
  "name": "createJob",
@@ -802,110 +822,606 @@
802
822
  ],
803
823
  "stateMutability": "view",
804
824
  "type": "function"
805
- }
806
- ],
807
- "Dai": [{ "inputs": [{ "internalType": "uint256", "name": "chainId_", "type": "uint256" }], "payable": false, "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "src", "type": "address" }, { "indexed": true, "internalType": "address", "name": "guy", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "wad", "type": "uint256" }], "name": "Approval", "type": "event" }, { "anonymous": true, "inputs": [{ "indexed": true, "internalType": "bytes4", "name": "sig", "type": "bytes4" }, { "indexed": true, "internalType": "address", "name": "usr", "type": "address" }, { "indexed": true, "internalType": "bytes32", "name": "arg1", "type": "bytes32" }, { "indexed": true, "internalType": "bytes32", "name": "arg2", "type": "bytes32" }, { "indexed": false, "internalType": "bytes", "name": "data", "type": "bytes" }], "name": "LogNote", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "src", "type": "address" }, { "indexed": true, "internalType": "address", "name": "dst", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "wad", "type": "uint256" }], "name": "Transfer", "type": "event" }, { "constant": true, "inputs": [], "name": "DOMAIN_SEPARATOR", "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "PERMIT_TYPEHASH", "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [{ "internalType": "address", "name": "", "type": "address" }, { "internalType": "address", "name": "", "type": "address" }], "name": "allowance", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "usr", "type": "address" }, { "internalType": "uint256", "name": "wad", "type": "uint256" }], "name": "approve", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [{ "internalType": "address", "name": "", "type": "address" }], "name": "balanceOf", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "usr", "type": "address" }, { "internalType": "uint256", "name": "wad", "type": "uint256" }], "name": "burn", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "decimals", "outputs": [{ "internalType": "uint8", "name": "", "type": "uint8" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "guy", "type": "address" }], "name": "deny", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "usr", "type": "address" }, { "internalType": "uint256", "name": "wad", "type": "uint256" }], "name": "mint", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "src", "type": "address" }, { "internalType": "address", "name": "dst", "type": "address" }, { "internalType": "uint256", "name": "wad", "type": "uint256" }], "name": "move", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "name", "outputs": [{ "internalType": "string", "name": "", "type": "string" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [{ "internalType": "address", "name": "", "type": "address" }], "name": "nonces", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "holder", "type": "address" }, { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "nonce", "type": "uint256" }, { "internalType": "uint256", "name": "expiry", "type": "uint256" }, { "internalType": "bool", "name": "allowed", "type": "bool" }, { "internalType": "uint8", "name": "v", "type": "uint8" }, { "internalType": "bytes32", "name": "r", "type": "bytes32" }, { "internalType": "bytes32", "name": "s", "type": "bytes32" }], "name": "permit", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "usr", "type": "address" }, { "internalType": "uint256", "name": "wad", "type": "uint256" }], "name": "pull", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "usr", "type": "address" }, { "internalType": "uint256", "name": "wad", "type": "uint256" }], "name": "push", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "guy", "type": "address" }], "name": "rely", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "symbol", "outputs": [{ "internalType": "string", "name": "", "type": "string" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "totalSupply", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "dst", "type": "address" }, { "internalType": "uint256", "name": "wad", "type": "uint256" }], "name": "transfer", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "src", "type": "address" }, { "internalType": "address", "name": "dst", "type": "address" }, { "internalType": "uint256", "name": "wad", "type": "uint256" }], "name": "transferFrom", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "version", "outputs": [{ "internalType": "string", "name": "", "type": "string" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [{ "internalType": "address", "name": "", "type": "address" }], "name": "wards", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function" }],
808
- "Banker": [
825
+ },
809
826
  {
810
- "anonymous": false,
811
827
  "inputs": [
812
828
  {
813
- "indexed": false,
814
829
  "internalType": "address",
815
- "name": "donor",
830
+ "name": "",
816
831
  "type": "address"
817
- },
832
+ }
833
+ ],
834
+ "name": "relationshipsToOwner",
835
+ "outputs": [
818
836
  {
819
- "indexed": false,
820
- "internalType": "uint256",
821
- "name": "amount",
822
- "type": "uint256"
837
+ "internalType": "address",
838
+ "name": "",
839
+ "type": "address"
823
840
  }
824
841
  ],
825
- "name": "ERC20Redeemed",
826
- "type": "event"
827
- },
842
+ "stateMutability": "view",
843
+ "type": "function"
844
+ }
845
+ ],
846
+ "Dai": [{ "inputs": [{ "internalType": "uint256", "name": "chainId_", "type": "uint256" }], "payable": false, "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "src", "type": "address" }, { "indexed": true, "internalType": "address", "name": "guy", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "wad", "type": "uint256" }], "name": "Approval", "type": "event" }, { "anonymous": true, "inputs": [{ "indexed": true, "internalType": "bytes4", "name": "sig", "type": "bytes4" }, { "indexed": true, "internalType": "address", "name": "usr", "type": "address" }, { "indexed": true, "internalType": "bytes32", "name": "arg1", "type": "bytes32" }, { "indexed": true, "internalType": "bytes32", "name": "arg2", "type": "bytes32" }, { "indexed": false, "internalType": "bytes", "name": "data", "type": "bytes" }], "name": "LogNote", "type": "event" }, { "anonymous": false, "inputs": [{ "indexed": true, "internalType": "address", "name": "src", "type": "address" }, { "indexed": true, "internalType": "address", "name": "dst", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "wad", "type": "uint256" }], "name": "Transfer", "type": "event" }, { "constant": true, "inputs": [], "name": "DOMAIN_SEPARATOR", "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "PERMIT_TYPEHASH", "outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [{ "internalType": "address", "name": "", "type": "address" }, { "internalType": "address", "name": "", "type": "address" }], "name": "allowance", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "usr", "type": "address" }, { "internalType": "uint256", "name": "wad", "type": "uint256" }], "name": "approve", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [{ "internalType": "address", "name": "", "type": "address" }], "name": "balanceOf", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "usr", "type": "address" }, { "internalType": "uint256", "name": "wad", "type": "uint256" }], "name": "burn", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "decimals", "outputs": [{ "internalType": "uint8", "name": "", "type": "uint8" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "guy", "type": "address" }], "name": "deny", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "usr", "type": "address" }, { "internalType": "uint256", "name": "wad", "type": "uint256" }], "name": "mint", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "src", "type": "address" }, { "internalType": "address", "name": "dst", "type": "address" }, { "internalType": "uint256", "name": "wad", "type": "uint256" }], "name": "move", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "name", "outputs": [{ "internalType": "string", "name": "", "type": "string" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [{ "internalType": "address", "name": "", "type": "address" }], "name": "nonces", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "holder", "type": "address" }, { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "nonce", "type": "uint256" }, { "internalType": "uint256", "name": "expiry", "type": "uint256" }, { "internalType": "bool", "name": "allowed", "type": "bool" }, { "internalType": "uint8", "name": "v", "type": "uint8" }, { "internalType": "bytes32", "name": "r", "type": "bytes32" }, { "internalType": "bytes32", "name": "s", "type": "bytes32" }], "name": "permit", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "usr", "type": "address" }, { "internalType": "uint256", "name": "wad", "type": "uint256" }], "name": "pull", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "usr", "type": "address" }, { "internalType": "uint256", "name": "wad", "type": "uint256" }], "name": "push", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "guy", "type": "address" }], "name": "rely", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "symbol", "outputs": [{ "internalType": "string", "name": "", "type": "string" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "totalSupply", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "dst", "type": "address" }, { "internalType": "uint256", "name": "wad", "type": "uint256" }], "name": "transfer", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [{ "internalType": "address", "name": "src", "type": "address" }, { "internalType": "address", "name": "dst", "type": "address" }, { "internalType": "uint256", "name": "wad", "type": "uint256" }], "name": "transferFrom", "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "version", "outputs": [{ "internalType": "string", "name": "", "type": "string" }], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [{ "internalType": "address", "name": "", "type": "address" }], "name": "wards", "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], "payable": false, "stateMutability": "view", "type": "function" }],
847
+ "Dispute": [
828
848
  {
829
- "anonymous": false,
830
849
  "inputs": [
831
850
  {
832
- "indexed": false,
833
851
  "internalType": "address",
834
- "name": "donor",
852
+ "name": "_relationship",
835
853
  "type": "address"
836
854
  },
837
855
  {
838
- "indexed": false,
839
- "internalType": "uint256",
840
- "name": "amount",
841
- "type": "uint256"
856
+ "internalType": "bytes32",
857
+ "name": "_complaintMetadataPointer",
858
+ "type": "bytes32"
859
+ },
860
+ {
861
+ "internalType": "bytes32",
862
+ "name": "_complaintResponseMetadataPointer",
863
+ "type": "bytes32"
842
864
  }
843
865
  ],
844
- "name": "ERC20Supplied",
845
- "type": "event"
866
+ "stateMutability": "nonpayable",
867
+ "type": "constructor"
846
868
  },
847
869
  {
870
+ "anonymous": false,
848
871
  "inputs": [
849
872
  {
873
+ "indexed": true,
850
874
  "internalType": "address",
851
- "name": "",
875
+ "name": "_dispute",
852
876
  "type": "address"
853
877
  }
854
878
  ],
855
- "name": "addressToLendAmount",
856
- "outputs": [
857
- {
858
- "internalType": "uint256",
859
- "name": "",
860
- "type": "uint256"
861
- }
862
- ],
863
- "stateMutability": "view",
864
- "type": "function"
879
+ "name": "ArbitrationWindowClosed",
880
+ "type": "event"
865
881
  },
866
882
  {
883
+ "anonymous": false,
867
884
  "inputs": [
868
885
  {
886
+ "indexed": true,
869
887
  "internalType": "address",
870
- "name": "_donor",
888
+ "name": "_dispute",
871
889
  "type": "address"
872
890
  }
873
891
  ],
874
- "name": "checkRedeemableAmount",
875
- "outputs": [
876
- {
877
- "internalType": "uint256",
878
- "name": "",
879
- "type": "uint256"
880
- }
881
- ],
882
- "stateMutability": "nonpayable",
883
- "type": "function"
892
+ "name": "ArbitrationWindowOpened",
893
+ "type": "event"
884
894
  },
885
895
  {
896
+ "anonymous": false,
886
897
  "inputs": [
887
898
  {
888
- "internalType": "uint256",
889
- "name": "amount",
890
- "type": "uint256"
899
+ "indexed": true,
900
+ "internalType": "address",
901
+ "name": "_employer",
902
+ "type": "address"
891
903
  },
892
904
  {
893
- "internalType": "bool",
894
- "name": "redeemType",
895
- "type": "bool"
896
- },
905
+ "indexed": true,
906
+ "internalType": "address",
907
+ "name": "_worker",
908
+ "type": "address"
909
+ },
910
+ {
911
+ "indexed": true,
912
+ "internalType": "address",
913
+ "name": "_relationship",
914
+ "type": "address"
915
+ },
916
+ {
917
+ "indexed": false,
918
+ "internalType": "address",
919
+ "name": "_dispute",
920
+ "type": "address"
921
+ }
922
+ ],
923
+ "name": "DisputeCreated",
924
+ "type": "event"
925
+ },
926
+ {
927
+ "anonymous": false,
928
+ "inputs": [
929
+ {
930
+ "indexed": true,
931
+ "internalType": "address",
932
+ "name": "_relationship",
933
+ "type": "address"
934
+ },
935
+ {
936
+ "indexed": false,
937
+ "internalType": "uint8",
938
+ "name": "round",
939
+ "type": "uint8"
940
+ }
941
+ ],
942
+ "name": "DisputeResolved",
943
+ "type": "event"
944
+ },
945
+ {
946
+ "anonymous": false,
947
+ "inputs": [
948
+ {
949
+ "indexed": true,
950
+ "internalType": "address",
951
+ "name": "dispute",
952
+ "type": "address"
953
+ },
954
+ {
955
+ "indexed": true,
956
+ "internalType": "uint256",
957
+ "name": "round",
958
+ "type": "uint256"
959
+ },
960
+ {
961
+ "indexed": false,
962
+ "internalType": "string",
963
+ "name": "processId",
964
+ "type": "string"
965
+ },
966
+ {
967
+ "indexed": false,
968
+ "internalType": "uint256",
969
+ "name": "timestamp",
970
+ "type": "uint256"
971
+ }
972
+ ],
973
+ "name": "NewRound",
974
+ "type": "event"
975
+ },
976
+ {
977
+ "anonymous": false,
978
+ "inputs": [
979
+ {
980
+ "indexed": true,
981
+ "internalType": "address",
982
+ "name": "voter",
983
+ "type": "address"
984
+ },
985
+ {
986
+ "indexed": true,
987
+ "internalType": "address",
988
+ "name": "_dispute",
989
+ "type": "address"
990
+ },
991
+ {
992
+ "indexed": false,
993
+ "internalType": "uint256",
994
+ "name": "_amount",
995
+ "type": "uint256"
996
+ }
997
+ ],
998
+ "name": "PenaltyProcessed",
999
+ "type": "event"
1000
+ },
1001
+ {
1002
+ "anonymous": false,
1003
+ "inputs": [
1004
+ {
1005
+ "indexed": true,
1006
+ "internalType": "address",
1007
+ "name": "_dispute",
1008
+ "type": "address"
1009
+ }
1010
+ ],
1011
+ "name": "StakeResolved",
1012
+ "type": "event"
1013
+ },
1014
+ {
1015
+ "anonymous": false,
1016
+ "inputs": [
1017
+ {
1018
+ "indexed": true,
1019
+ "internalType": "address",
1020
+ "name": "_dispute",
1021
+ "type": "address"
1022
+ }
1023
+ ],
1024
+ "name": "StakingWindowClosed",
1025
+ "type": "event"
1026
+ },
1027
+ {
1028
+ "anonymous": false,
1029
+ "inputs": [
1030
+ {
1031
+ "indexed": true,
1032
+ "internalType": "address",
1033
+ "name": "_dispute",
1034
+ "type": "address"
1035
+ }
1036
+ ],
1037
+ "name": "StakingWindowOpened",
1038
+ "type": "event"
1039
+ },
1040
+ {
1041
+ "inputs": [
1042
+ {
1043
+ "internalType": "address",
1044
+ "name": "",
1045
+ "type": "address"
1046
+ }
1047
+ ],
1048
+ "name": "addressToArbitrator",
1049
+ "outputs": [
1050
+ {
1051
+ "internalType": "address",
1052
+ "name": "universalAddress",
1053
+ "type": "address"
1054
+ },
1055
+ {
1056
+ "internalType": "bytes32",
1057
+ "name": "vote",
1058
+ "type": "bytes32"
1059
+ },
1060
+ {
1061
+ "internalType": "uint64",
1062
+ "name": "blockNumber",
1063
+ "type": "uint64"
1064
+ },
1065
+ {
1066
+ "internalType": "bool",
1067
+ "name": "voted",
1068
+ "type": "bool"
1069
+ },
1070
+ {
1071
+ "internalType": "bool",
1072
+ "name": "revealed",
1073
+ "type": "bool"
1074
+ }
1075
+ ],
1076
+ "stateMutability": "view",
1077
+ "type": "function"
1078
+ },
1079
+ {
1080
+ "inputs": [
1081
+ {
1082
+ "internalType": "uint256",
1083
+ "name": "",
1084
+ "type": "uint256"
1085
+ }
1086
+ ],
1087
+ "name": "arbitrators",
1088
+ "outputs": [
1089
+ {
1090
+ "internalType": "address",
1091
+ "name": "",
1092
+ "type": "address"
1093
+ }
1094
+ ],
1095
+ "stateMutability": "view",
1096
+ "type": "function"
1097
+ },
1098
+ {
1099
+ "inputs": [],
1100
+ "name": "checkDispute",
1101
+ "outputs": [],
1102
+ "stateMutability": "nonpayable",
1103
+ "type": "function"
1104
+ },
1105
+ {
1106
+ "inputs": [],
1107
+ "name": "complaintMetadataPointer",
1108
+ "outputs": [
1109
+ {
1110
+ "internalType": "bytes32",
1111
+ "name": "",
1112
+ "type": "bytes32"
1113
+ }
1114
+ ],
1115
+ "stateMutability": "view",
1116
+ "type": "function"
1117
+ },
1118
+ {
1119
+ "inputs": [],
1120
+ "name": "complaintResponseMetadataPointer",
1121
+ "outputs": [
1122
+ {
1123
+ "internalType": "bytes32",
1124
+ "name": "",
1125
+ "type": "bytes32"
1126
+ }
1127
+ ],
1128
+ "stateMutability": "view",
1129
+ "type": "function"
1130
+ },
1131
+ {
1132
+ "inputs": [],
1133
+ "name": "exitDispute",
1134
+ "outputs": [],
1135
+ "stateMutability": "nonpayable",
1136
+ "type": "function"
1137
+ },
1138
+ {
1139
+ "inputs": [],
1140
+ "name": "getStake",
1141
+ "outputs": [],
1142
+ "stateMutability": "nonpayable",
1143
+ "type": "function"
1144
+ },
1145
+ {
1146
+ "inputs": [
1147
+ {
1148
+ "components": [
1149
+ {
1150
+ "internalType": "uint256",
1151
+ "name": "nonce",
1152
+ "type": "uint256"
1153
+ },
1154
+ {
1155
+ "internalType": "uint256",
1156
+ "name": "expiry",
1157
+ "type": "uint256"
1158
+ },
1159
+ {
1160
+ "internalType": "uint8",
1161
+ "name": "v",
1162
+ "type": "uint8"
1163
+ },
1164
+ {
1165
+ "internalType": "bytes32",
1166
+ "name": "r",
1167
+ "type": "bytes32"
1168
+ },
1169
+ {
1170
+ "internalType": "bytes32",
1171
+ "name": "s",
1172
+ "type": "bytes32"
1173
+ }
1174
+ ],
1175
+ "internalType": "struct Transaction.EIP712ERC20Permit",
1176
+ "name": "allow",
1177
+ "type": "tuple"
1178
+ },
1179
+ {
1180
+ "components": [
1181
+ {
1182
+ "internalType": "uint256",
1183
+ "name": "nonce",
1184
+ "type": "uint256"
1185
+ },
1186
+ {
1187
+ "internalType": "uint256",
1188
+ "name": "expiry",
1189
+ "type": "uint256"
1190
+ },
1191
+ {
1192
+ "internalType": "uint8",
1193
+ "name": "v",
1194
+ "type": "uint8"
1195
+ },
1196
+ {
1197
+ "internalType": "bytes32",
1198
+ "name": "r",
1199
+ "type": "bytes32"
1200
+ },
1201
+ {
1202
+ "internalType": "bytes32",
1203
+ "name": "s",
1204
+ "type": "bytes32"
1205
+ }
1206
+ ],
1207
+ "internalType": "struct Transaction.EIP712ERC20Permit",
1208
+ "name": "deny",
1209
+ "type": "tuple"
1210
+ }
1211
+ ],
1212
+ "name": "joinDispute",
1213
+ "outputs": [
1214
+ {
1215
+ "internalType": "int256",
1216
+ "name": "",
1217
+ "type": "int256"
1218
+ }
1219
+ ],
1220
+ "stateMutability": "nonpayable",
1221
+ "type": "function"
1222
+ },
1223
+ {
1224
+ "inputs": [
1225
+ {
1226
+ "internalType": "string",
1227
+ "name": "processId",
1228
+ "type": "string"
1229
+ }
1230
+ ],
1231
+ "name": "newProcessId",
1232
+ "outputs": [],
1233
+ "stateMutability": "nonpayable",
1234
+ "type": "function"
1235
+ },
1236
+ {
1237
+ "inputs": [],
1238
+ "name": "numVotes",
1239
+ "outputs": [
1240
+ {
1241
+ "internalType": "uint8",
1242
+ "name": "",
1243
+ "type": "uint8"
1244
+ }
1245
+ ],
1246
+ "stateMutability": "view",
1247
+ "type": "function"
1248
+ },
1249
+ {
1250
+ "inputs": [],
1251
+ "name": "round",
1252
+ "outputs": [
1253
+ {
1254
+ "internalType": "uint8",
1255
+ "name": "",
1256
+ "type": "uint8"
1257
+ }
1258
+ ],
1259
+ "stateMutability": "view",
1260
+ "type": "function"
1261
+ },
1262
+ {
1263
+ "inputs": [],
1264
+ "name": "stake",
1265
+ "outputs": [
1266
+ {
1267
+ "internalType": "uint256",
1268
+ "name": "",
1269
+ "type": "uint256"
1270
+ }
1271
+ ],
1272
+ "stateMutability": "view",
1273
+ "type": "function"
1274
+ },
1275
+ {
1276
+ "inputs": [],
1277
+ "name": "startDate",
1278
+ "outputs": [
1279
+ {
1280
+ "internalType": "uint256",
1281
+ "name": "",
1282
+ "type": "uint256"
1283
+ }
1284
+ ],
1285
+ "stateMutability": "view",
1286
+ "type": "function"
1287
+ },
1288
+ {
1289
+ "inputs": [],
1290
+ "name": "votingRoundStart",
1291
+ "outputs": [
1292
+ {
1293
+ "internalType": "uint256",
1294
+ "name": "",
1295
+ "type": "uint256"
1296
+ }
1297
+ ],
1298
+ "stateMutability": "view",
1299
+ "type": "function"
1300
+ },
1301
+ {
1302
+ "inputs": [],
1303
+ "name": "votingStartDate",
1304
+ "outputs": [
1305
+ {
1306
+ "internalType": "uint256",
1307
+ "name": "",
1308
+ "type": "uint256"
1309
+ }
1310
+ ],
1311
+ "stateMutability": "view",
1312
+ "type": "function"
1313
+ }
1314
+ ],
1315
+ "Participation": [
1316
+ {
1317
+ "inputs": [
1318
+ {
1319
+ "internalType": "string",
1320
+ "name": "name_",
1321
+ "type": "string"
1322
+ },
1323
+ {
1324
+ "internalType": "string",
1325
+ "name": "symbol_",
1326
+ "type": "string"
1327
+ },
1328
+ {
1329
+ "internalType": "address",
1330
+ "name": "factory",
1331
+ "type": "address"
1332
+ }
1333
+ ],
1334
+ "stateMutability": "nonpayable",
1335
+ "type": "constructor"
1336
+ },
1337
+ {
1338
+ "anonymous": false,
1339
+ "inputs": [
1340
+ {
1341
+ "indexed": true,
1342
+ "internalType": "address",
1343
+ "name": "owner",
1344
+ "type": "address"
1345
+ },
1346
+ {
1347
+ "indexed": true,
1348
+ "internalType": "address",
1349
+ "name": "spender",
1350
+ "type": "address"
1351
+ },
1352
+ {
1353
+ "indexed": false,
1354
+ "internalType": "uint256",
1355
+ "name": "value",
1356
+ "type": "uint256"
1357
+ }
1358
+ ],
1359
+ "name": "Approval",
1360
+ "type": "event"
1361
+ },
1362
+ {
1363
+ "anonymous": false,
1364
+ "inputs": [
1365
+ {
1366
+ "indexed": true,
1367
+ "internalType": "address",
1368
+ "name": "from",
1369
+ "type": "address"
1370
+ },
1371
+ {
1372
+ "indexed": true,
1373
+ "internalType": "address",
1374
+ "name": "to",
1375
+ "type": "address"
1376
+ },
1377
+ {
1378
+ "indexed": false,
1379
+ "internalType": "uint256",
1380
+ "name": "value",
1381
+ "type": "uint256"
1382
+ }
1383
+ ],
1384
+ "name": "Transfer",
1385
+ "type": "event"
1386
+ },
1387
+ {
1388
+ "inputs": [
897
1389
  {
898
1390
  "internalType": "address",
899
- "name": "_cErc20Contract",
1391
+ "name": "owner",
900
1392
  "type": "address"
901
1393
  },
902
1394
  {
903
1395
  "internalType": "address",
904
- "name": "_donor",
1396
+ "name": "spender",
1397
+ "type": "address"
1398
+ }
1399
+ ],
1400
+ "name": "allowance",
1401
+ "outputs": [
1402
+ {
1403
+ "internalType": "uint256",
1404
+ "name": "",
1405
+ "type": "uint256"
1406
+ }
1407
+ ],
1408
+ "stateMutability": "view",
1409
+ "type": "function"
1410
+ },
1411
+ {
1412
+ "inputs": [
1413
+ {
1414
+ "internalType": "address",
1415
+ "name": "spender",
905
1416
  "type": "address"
1417
+ },
1418
+ {
1419
+ "internalType": "uint256",
1420
+ "name": "amount",
1421
+ "type": "uint256"
906
1422
  }
907
1423
  ],
908
- "name": "redeemCErc20Tokens",
1424
+ "name": "approve",
909
1425
  "outputs": [
910
1426
  {
911
1427
  "internalType": "bool",
@@ -920,26 +1436,129 @@
920
1436
  "inputs": [
921
1437
  {
922
1438
  "internalType": "address",
923
- "name": "_erc20Contract",
1439
+ "name": "account",
1440
+ "type": "address"
1441
+ }
1442
+ ],
1443
+ "name": "balanceOf",
1444
+ "outputs": [
1445
+ {
1446
+ "internalType": "uint256",
1447
+ "name": "",
1448
+ "type": "uint256"
1449
+ }
1450
+ ],
1451
+ "stateMutability": "view",
1452
+ "type": "function"
1453
+ },
1454
+ {
1455
+ "inputs": [],
1456
+ "name": "decimals",
1457
+ "outputs": [
1458
+ {
1459
+ "internalType": "uint8",
1460
+ "name": "",
1461
+ "type": "uint8"
1462
+ }
1463
+ ],
1464
+ "stateMutability": "view",
1465
+ "type": "function"
1466
+ },
1467
+ {
1468
+ "inputs": [
1469
+ {
1470
+ "internalType": "address",
1471
+ "name": "spender",
924
1472
  "type": "address"
925
1473
  },
1474
+ {
1475
+ "internalType": "uint256",
1476
+ "name": "subtractedValue",
1477
+ "type": "uint256"
1478
+ }
1479
+ ],
1480
+ "name": "decreaseAllowance",
1481
+ "outputs": [
1482
+ {
1483
+ "internalType": "bool",
1484
+ "name": "",
1485
+ "type": "bool"
1486
+ }
1487
+ ],
1488
+ "stateMutability": "nonpayable",
1489
+ "type": "function"
1490
+ },
1491
+ {
1492
+ "inputs": [
926
1493
  {
927
1494
  "internalType": "address",
928
- "name": "_cErc20Contract",
1495
+ "name": "spender",
929
1496
  "type": "address"
930
1497
  },
1498
+ {
1499
+ "internalType": "uint256",
1500
+ "name": "addedValue",
1501
+ "type": "uint256"
1502
+ }
1503
+ ],
1504
+ "name": "increaseAllowance",
1505
+ "outputs": [
1506
+ {
1507
+ "internalType": "bool",
1508
+ "name": "",
1509
+ "type": "bool"
1510
+ }
1511
+ ],
1512
+ "stateMutability": "nonpayable",
1513
+ "type": "function"
1514
+ },
1515
+ {
1516
+ "inputs": [
931
1517
  {
932
1518
  "internalType": "address",
933
- "name": "_donor",
1519
+ "name": "account",
934
1520
  "type": "address"
935
1521
  },
936
1522
  {
937
1523
  "internalType": "uint256",
938
- "name": "_numTokensToSupply",
1524
+ "name": "amount",
939
1525
  "type": "uint256"
940
1526
  }
941
1527
  ],
942
- "name": "supplyErc20ToCompound",
1528
+ "name": "mintJuryToken",
1529
+ "outputs": [],
1530
+ "stateMutability": "nonpayable",
1531
+ "type": "function"
1532
+ },
1533
+ {
1534
+ "inputs": [],
1535
+ "name": "name",
1536
+ "outputs": [
1537
+ {
1538
+ "internalType": "string",
1539
+ "name": "",
1540
+ "type": "string"
1541
+ }
1542
+ ],
1543
+ "stateMutability": "view",
1544
+ "type": "function"
1545
+ },
1546
+ {
1547
+ "inputs": [],
1548
+ "name": "symbol",
1549
+ "outputs": [
1550
+ {
1551
+ "internalType": "string",
1552
+ "name": "",
1553
+ "type": "string"
1554
+ }
1555
+ ],
1556
+ "stateMutability": "view",
1557
+ "type": "function"
1558
+ },
1559
+ {
1560
+ "inputs": [],
1561
+ "name": "totalSupply",
943
1562
  "outputs": [
944
1563
  {
945
1564
  "internalType": "uint256",
@@ -947,9 +1566,61 @@
947
1566
  "type": "uint256"
948
1567
  }
949
1568
  ],
1569
+ "stateMutability": "view",
1570
+ "type": "function"
1571
+ },
1572
+ {
1573
+ "inputs": [
1574
+ {
1575
+ "internalType": "address",
1576
+ "name": "recipient",
1577
+ "type": "address"
1578
+ },
1579
+ {
1580
+ "internalType": "uint256",
1581
+ "name": "amount",
1582
+ "type": "uint256"
1583
+ }
1584
+ ],
1585
+ "name": "transfer",
1586
+ "outputs": [
1587
+ {
1588
+ "internalType": "bool",
1589
+ "name": "",
1590
+ "type": "bool"
1591
+ }
1592
+ ],
1593
+ "stateMutability": "nonpayable",
1594
+ "type": "function"
1595
+ },
1596
+ {
1597
+ "inputs": [
1598
+ {
1599
+ "internalType": "address",
1600
+ "name": "sender",
1601
+ "type": "address"
1602
+ },
1603
+ {
1604
+ "internalType": "address",
1605
+ "name": "recipient",
1606
+ "type": "address"
1607
+ },
1608
+ {
1609
+ "internalType": "uint256",
1610
+ "name": "amount",
1611
+ "type": "uint256"
1612
+ }
1613
+ ],
1614
+ "name": "transferFrom",
1615
+ "outputs": [
1616
+ {
1617
+ "internalType": "bool",
1618
+ "name": "",
1619
+ "type": "bool"
1620
+ }
1621
+ ],
950
1622
  "stateMutability": "nonpayable",
951
1623
  "type": "function"
952
1624
  }
953
- ],
954
- "Dispute": {}
1625
+ ]
955
1626
  }