opportunity-service 0.0.535 → 0.0.540
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/OpportunityService.js +16 -20
- package/dist/OpportunityService.js.map +1 -1
- package/dist/api/dispute/check-vote-results.js +33 -0
- package/dist/api/dispute/check-vote-results.js.map +1 -0
- package/dist/api/dispute/connect.js +39 -0
- package/dist/api/dispute/connect.js.map +1 -0
- package/dist/api/dispute/ensure-entity-metadata.js +39 -0
- package/dist/api/dispute/ensure-entity-metadata.js.map +1 -0
- package/dist/api/dispute/launch-new-vote.js +94 -0
- package/dist/api/dispute/launch-new-vote.js.map +1 -0
- package/dist/api/dispute/submit-vote.js +41 -0
- package/dist/api/dispute/submit-vote.js.map +1 -0
- package/dist/api/dispute/util/wait-until-present.js +27 -0
- package/dist/api/dispute/util/wait-until-present.js.map +1 -0
- package/dist/api/{voting/connect.js → dispute/util/wait-until-started.js} +11 -21
- package/dist/api/dispute/util/wait-until-started.js.map +1 -0
- package/dist/api/exchange/create-dispute.js +1 -2
- package/dist/api/exchange/create-dispute.js.map +1 -1
- package/dist/api/exchange/create-task.js +1 -1
- package/dist/api/exchange/create-task.js.map +1 -1
- package/dist/api/identity/register-new-user.js +1 -1
- package/dist/api/identity/register-new-user.js.map +1 -1
- package/dist/api/index.js +31 -2
- package/dist/api/index.js.map +1 -1
- package/dist/api/internal/abis.js +2 -1
- package/dist/api/internal/abis.js.map +1 -1
- package/dist/api/internal/addresses.js +21 -4
- package/dist/api/internal/addresses.js.map +1 -1
- package/dist/api/other/create-eth-crypto-creds.js +20 -0
- package/dist/api/other/create-eth-crypto-creds.js.map +1 -0
- package/dist/api/provider/decrypt.js +18 -0
- package/dist/api/provider/decrypt.js.map +1 -0
- package/dist/api/provider/encrypt.js +18 -0
- package/dist/api/provider/encrypt.js.map +1 -0
- package/dist/api/util/encrypt-by-public-key.js +52 -0
- package/dist/api/util/encrypt-by-public-key.js.map +1 -0
- package/dist/api/util/parse-cipher.js +11 -0
- package/dist/api/util/parse-cipher.js.map +1 -0
- package/dist/api/util/stringify-cipher.js +5 -0
- package/dist/api/util/stringify-cipher.js.map +1 -0
- package/dist/blockchain/abi.json +779 -1
- package/dist/blockchain/addresses.json +15 -5
- package/dist/blockchain/bytecode.json +2 -2
- package/dist/constants.js +0 -1
- package/dist/constants.js.map +1 -1
- package/dist/modules/storage/OpportunityStorageProvider.js +71 -41
- package/dist/modules/storage/OpportunityStorageProvider.js.map +1 -1
- package/dist/sync/sync-markets.js +1 -1
- package/dist/sync/sync-markets.js.map +1 -1
- package/package.json +13 -2
- package/src/OpportunityService.ts +22 -24
- package/src/api/dispute/check-vote-results.ts +30 -0
- package/src/api/dispute/connect.ts +36 -0
- package/src/api/dispute/ensure-entity-metadata.ts +34 -0
- package/src/api/dispute/launch-new-vote.ts +116 -0
- package/src/api/dispute/submit-vote.ts +59 -0
- package/src/api/dispute/util/wait-until-present.ts +19 -0
- package/src/api/dispute/util/wait-until-started.ts +14 -0
- package/src/api/exchange/create-dispute.ts +1 -1
- package/src/api/exchange/create-task.ts +1 -1
- package/src/api/identity/register-new-user.ts +3 -1
- package/src/api/index.ts +31 -2
- package/src/api/internal/abis.ts +2 -1
- package/src/api/internal/addresses.ts +21 -4
- package/src/api/other/create-eth-crypto-creds.ts +14 -0
- package/src/api/provider/decrypt.ts +9 -0
- package/src/api/provider/encrypt.ts +9 -0
- package/src/api/util/encrypt-by-public-key.ts +47 -0
- package/src/api/util/parse-cipher.ts +11 -0
- package/src/api/util/stringify-cipher.ts +5 -0
- package/src/blockchain/abi.json +779 -1
- package/src/blockchain/addresses.json +17 -5
- package/src/blockchain/bytecode.json +2 -2
- package/src/constants.ts +0 -1
- package/src/modules/storage/OpportunityStorageProvider.ts +80 -23
- package/src/sync/sync-markets.ts +1 -1
- package/src/types.ts +21 -1
- package/dist/api/voting/census.js +0 -38
- package/dist/api/voting/census.js.map +0 -1
- package/dist/api/voting/connect.js.map +0 -1
- package/dist/api/voting/entity.js +0 -39
- package/dist/api/voting/entity.js.map +0 -1
- package/dist/api/voting/process.js +0 -101
- package/dist/api/voting/process.js.map +0 -1
- package/src/api/voting/census.ts +0 -39
- package/src/api/voting/connect.ts +0 -34
- package/src/api/voting/entity.ts +0 -33
- package/src/api/voting/process.ts +0 -119
package/src/blockchain/abi.json
CHANGED
@@ -844,6 +844,784 @@
|
|
844
844
|
}
|
845
845
|
],
|
846
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": [
|
847
|
+
"Dispute": [
|
848
|
+
{
|
849
|
+
"inputs": [
|
850
|
+
{
|
851
|
+
"internalType": "address",
|
852
|
+
"name": "_relationship",
|
853
|
+
"type": "address"
|
854
|
+
},
|
855
|
+
{
|
856
|
+
"internalType": "bytes32",
|
857
|
+
"name": "_complaintMetadataPointer",
|
858
|
+
"type": "bytes32"
|
859
|
+
},
|
860
|
+
{
|
861
|
+
"internalType": "bytes32",
|
862
|
+
"name": "_complaintResponseMetadataPointer",
|
863
|
+
"type": "bytes32"
|
864
|
+
}
|
865
|
+
],
|
866
|
+
"stateMutability": "nonpayable",
|
867
|
+
"type": "constructor"
|
868
|
+
},
|
869
|
+
{
|
870
|
+
"anonymous": false,
|
871
|
+
"inputs": [
|
872
|
+
{
|
873
|
+
"indexed": true,
|
874
|
+
"internalType": "address",
|
875
|
+
"name": "_dispute",
|
876
|
+
"type": "address"
|
877
|
+
}
|
878
|
+
],
|
879
|
+
"name": "ArbitrationWindowClosed",
|
880
|
+
"type": "event"
|
881
|
+
},
|
882
|
+
{
|
883
|
+
"anonymous": false,
|
884
|
+
"inputs": [
|
885
|
+
{
|
886
|
+
"indexed": true,
|
887
|
+
"internalType": "address",
|
888
|
+
"name": "_dispute",
|
889
|
+
"type": "address"
|
890
|
+
}
|
891
|
+
],
|
892
|
+
"name": "ArbitrationWindowOpened",
|
893
|
+
"type": "event"
|
894
|
+
},
|
895
|
+
{
|
896
|
+
"anonymous": false,
|
897
|
+
"inputs": [
|
898
|
+
{
|
899
|
+
"indexed": true,
|
900
|
+
"internalType": "address",
|
901
|
+
"name": "_employer",
|
902
|
+
"type": "address"
|
903
|
+
},
|
904
|
+
{
|
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": [
|
1389
|
+
{
|
1390
|
+
"internalType": "address",
|
1391
|
+
"name": "owner",
|
1392
|
+
"type": "address"
|
1393
|
+
},
|
1394
|
+
{
|
1395
|
+
"internalType": "address",
|
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",
|
1416
|
+
"type": "address"
|
1417
|
+
},
|
1418
|
+
{
|
1419
|
+
"internalType": "uint256",
|
1420
|
+
"name": "amount",
|
1421
|
+
"type": "uint256"
|
1422
|
+
}
|
1423
|
+
],
|
1424
|
+
"name": "approve",
|
1425
|
+
"outputs": [
|
1426
|
+
{
|
1427
|
+
"internalType": "bool",
|
1428
|
+
"name": "",
|
1429
|
+
"type": "bool"
|
1430
|
+
}
|
1431
|
+
],
|
1432
|
+
"stateMutability": "nonpayable",
|
1433
|
+
"type": "function"
|
1434
|
+
},
|
1435
|
+
{
|
1436
|
+
"inputs": [
|
1437
|
+
{
|
1438
|
+
"internalType": "address",
|
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",
|
1472
|
+
"type": "address"
|
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": [
|
1493
|
+
{
|
1494
|
+
"internalType": "address",
|
1495
|
+
"name": "spender",
|
1496
|
+
"type": "address"
|
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": [
|
1517
|
+
{
|
1518
|
+
"internalType": "address",
|
1519
|
+
"name": "account",
|
1520
|
+
"type": "address"
|
1521
|
+
},
|
1522
|
+
{
|
1523
|
+
"internalType": "uint256",
|
1524
|
+
"name": "amount",
|
1525
|
+
"type": "uint256"
|
1526
|
+
}
|
1527
|
+
],
|
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",
|
1562
|
+
"outputs": [
|
1563
|
+
{
|
1564
|
+
"internalType": "uint256",
|
1565
|
+
"name": "",
|
1566
|
+
"type": "uint256"
|
1567
|
+
}
|
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
|
+
],
|
1622
|
+
"stateMutability": "nonpayable",
|
1623
|
+
"type": "function"
|
1624
|
+
}
|
1625
|
+
]
|
848
1626
|
}
|
849
1627
|
|