File tree 8 files changed +19
-40
lines changed
8 files changed +19
-40
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 72
72
"js-sha3" : " ^0.8.0" ,
73
73
"lodash" : " ^4.17.4" ,
74
74
"multihashes" : " ^0.4.14" ,
75
- "web3" : " ^1.3.0 "
75
+ "web3" : " ^1.2.11 "
76
76
}
77
77
}
Original file line number Diff line number Diff line change 1
- {
1
+ export default {
2
2
"abi" : [
3
3
{
4
4
"constant" : true ,
Original file line number Diff line number Diff line change 1
- {
1
+ export default {
2
2
"abi" : [
3
3
{
4
4
"constant" : true ,
Original file line number Diff line number Diff line change 1
- import ArbitrableJSONInterface from '../abis/arbitrable.json '
1
+ import ArbitrableJSONInterface from '../abis/arbitrable'
2
2
3
3
import * as errorConstants from '../constants/error'
4
4
import EventListener from '../utils/EventListener'
@@ -21,8 +21,10 @@ class Arbitrable extends StandardContract {
21
21
* @param {string } contractAddress - Address of the Arbitrable contract.
22
22
* @returns {object } web3 contract instance
23
23
*/
24
- _loadContractInstance = contractAddress =>
25
- new this . web3 . eth . Contract ( ArbitrableJSONInterface . abi , contractAddress )
24
+ _loadContractInstance = contractAddress => {
25
+ console . log ( ArbitrableJSONInterface . abi )
26
+ return new this . web3 . eth . Contract ( ArbitrableJSONInterface . abi , contractAddress )
27
+ }
26
28
27
29
/**
28
30
* Fetch all Evidence submitted to the contract.
Original file line number Diff line number Diff line change 1
- import ArbitratorContractInterface from '../abis/arbitrator.json '
1
+ import ArbitratorContractInterface from '../abis/arbitrator'
2
2
3
3
import EventListener from '../utils/EventListener'
4
4
import isRequired from '../utils/isRequired'
Original file line number Diff line number Diff line change @@ -9,9 +9,7 @@ module.exports = {
9
9
umdNamedDefine : true ,
10
10
library : 'Archon'
11
11
} ,
12
-
13
12
devtool : 'source-map' ,
14
-
15
13
module : {
16
14
rules : [
17
15
{
Original file line number Diff line number Diff line change 681
681
integrity sha1-aaI6OtKcrwCX8G7aWbNh7i8GOfY=
682
682
683
683
"@types/node@*":
684
- version "14.14.1 "
685
- resolved "https://registry.yarnpkg.com/@types/node/-/node-14.14.1 .tgz#b8d6e8a84b119ae51fd0593c71eb3a9dd31fea4e "
686
- integrity sha512-D2/Xwp9c49JhIWq7SIrdvoYyGdq6yXkr5FTldN4rus9XljYFBul6P2epAID8xepOpL4ffcx09C05FZGK/1AIkw ==
684
+ version "14.14.2 "
685
+ resolved "https://registry.yarnpkg.com/@types/node/-/node-14.14.2 .tgz#d25295f9e4ca5989a2c610754dc02a9721235eeb "
686
+ integrity sha512-jeYJU2kl7hL9U5xuI/BhKPZ4vqGM/OmK6whiFAXVhlstzZhVamWhDSmHyGLIp+RVyuF9/d0dqr2P85aFj4BvJg ==
687
687
688
688
"@types/node@^12.12.6":
689
- version "12.12.70 "
690
- resolved "https://registry.yarnpkg.com/@types/node/-/node-12.12.70 .tgz#adf70b179c3ee17620215ee4cb5c68c95f7c37ec "
691
- integrity sha512-i5y7HTbvhonZQE+GnUM2rz1Bi8QkzxdQmEv1LKOv4nWyaQk/gdeiTApuQR3PDJHX7WomAbpx2wlWSEpxXGZ/UQ ==
689
+ version "12.19.0 "
690
+ resolved "https://registry.yarnpkg.com/@types/node/-/node-12.19.0 .tgz#a0f841c195bdbe0b5070da9278b3e22189e8c8f6 "
691
+ integrity sha512-4BVAE9yp5DU3ISqBInsaRp9J474HWNaNVs8eZ1Far3dI1MwS3Wk0EvBRMM4xBh3Oz+c05hUgJmcbtAVmG8bv7w ==
692
692
693
693
"@types/normalize-package-data@^2.4.0":
694
694
version "2.4.0"
@@ -8162,9 +8162,9 @@ nano-json-stream-parser@^0.1.2:
8162
8162
integrity sha1-DMj20OK2IrR5xA1JnEbWS3Vcb18=
8163
8163
8164
8164
nanoid@^3.1.12:
8165
- version "3.1.12 "
8166
- resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.1.12 .tgz#6f7736c62e8d39421601e4a0c77623a97ea69654 "
8167
- integrity sha512-1qstj9z5+x491jfiC4Nelk+f8XBad7LN20PmyWINJEMRSf3wcAjAWysw1qaA8z6NSKe2sjq1hRSDpBH5paCb6A ==
8165
+ version "3.1.13 "
8166
+ resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.1.13 .tgz#7f4f0729ab8a824291deb72b0d10cf357bc7563c "
8167
+ integrity sha512-oYL7jWZUdScASxYOrcwE8EvISFGzO3/1g+t56vCyR0s2nrpmBcOc7hTAFJaVf6HMyEPJrnNelnjRnMN6KZnCPA ==
8168
8168
8169
8169
nanomatch@^1.2.9:
8170
8170
version "1.2.13"
12085
12085
underscore "1.9.1"
12086
12086
utf8 "3.0.0"
12087
12087
12088
- web3@^1.3.0 :
12088
+ web3@^1.2.11 :
12089
12089
version "1.3.0"
12090
12090
resolved "https://registry.yarnpkg.com/web3/-/web3-1.3.0.tgz#8fe4cd6e2a21c91904f343ba75717ee4c76bb349"
12091
12091
integrity sha512-4q9dna0RecnrlgD/bD1C5S+81Untbd6Z/TBD7rb+D5Bvvc0Wxjr4OP70x+LlnwuRDjDtzBwJbNUblh2grlVArw==
You can’t perform that action at this time.
0 commit comments