@eluvio/elv-client-js 4.0.11 → 4.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.keep +0 -0
- package/dist/ElvClient-min.js +11 -10
- package/dist/ElvClient-node-min.js +11 -10
- package/dist/ElvFrameClient-min.js +11 -10
- package/dist/ElvPermissionsClient-min.js +10 -9
- package/dist/ElvWalletClient-min.js +10 -9
- package/dist/ElvWalletClient-node-min.js +10 -9
- package/dist/src/AuthorizationClient.js +1555 -2076
- package/dist/src/ContentObjectVerification.js +134 -185
- package/dist/src/Crypto.js +224 -319
- package/dist/src/ElvClient.js +822 -1114
- package/dist/src/ElvWallet.js +64 -106
- package/dist/src/EthClient.js +719 -974
- package/dist/src/FrameClient.js +223 -319
- package/dist/src/HttpClient.js +117 -156
- package/dist/src/Id.js +1 -6
- package/dist/src/LogMessage.js +4 -8
- package/dist/src/PermissionsClient.js +973 -1271
- package/dist/src/RemoteSigner.js +161 -232
- package/dist/src/UserProfileClient.js +781 -1038
- package/dist/src/Utils.js +159 -299
- package/dist/src/Validation.js +2 -17
- package/dist/src/client/ABRPublishing.js +828 -958
- package/dist/src/client/AccessGroups.js +849 -1095
- package/dist/src/client/ContentAccess.js +3323 -4195
- package/dist/src/client/ContentManagement.js +1818 -2290
- package/dist/src/client/Contracts.js +468 -614
- package/dist/src/client/Files.js +1506 -1846
- package/dist/src/client/NFT.js +94 -116
- package/dist/src/client/NTP.js +326 -425
- package/dist/src/index.js +2 -5
- package/dist/src/walletClient/ClientMethods.js +1368 -1763
- package/dist/src/walletClient/Configuration.js +5 -3
- package/dist/src/walletClient/Notifications.js +98 -127
- package/dist/src/walletClient/Profile.js +184 -246
- package/dist/src/walletClient/Utils.js +76 -122
- package/dist/src/walletClient/index.js +1171 -1496
- package/package.json +4 -21
- package/src/FrameClient.js +1 -0
- package/src/HttpClient.js +4 -2
- package/src/client/ABRPublishing.js +126 -105
- package/src/client/ContentAccess.js +1 -0
- package/src/client/ContentManagement.js +4 -2
- package/src/walletClient/Configuration.js +3 -2
- package/dist/AccessClient-min.js +0 -54
- package/dist/AccessClient-node-min.js +0 -74
- package/dist/src/AccessClient.js +0 -798
- package/dist/src/LimitedMap.js +0 -120
- package/dist/src/client/Access.js +0 -1
- package/dist/src/client/Management.js +0 -1606
- package/dist/src/contracts/AccessIndexor.js +0 -831
- package/dist/src/contracts/Accessible.js +0 -31
- package/dist/src/contracts/AdmgrAdvertisement.js +0 -695
- package/dist/src/contracts/AdmgrCampaign.js +0 -648
- package/dist/src/contracts/AdmgrCampaignManager.js +0 -493
- package/dist/src/contracts/AdmgrCommercialOffering.js +0 -622
- package/dist/src/contracts/AdmgrCommercialOfferingManager.js +0 -413
- package/dist/src/contracts/AdmgrMarketPlace.js +0 -413
- package/dist/src/contracts/AvailsDelivery.js +0 -535
- package/dist/src/contracts/BaseAccessControlGroup.js +0 -1221
- package/dist/src/contracts/BaseAccessWallet.js +0 -1575
- package/dist/src/contracts/BaseAccessWalletFactory.js +0 -93
- package/dist/src/contracts/BaseContent.js +0 -1104
- package/dist/src/contracts/BaseContentFactory.js +0 -99
- package/dist/src/contracts/BaseContentFactoryExt.js +0 -219
- package/dist/src/contracts/BaseContentSpace.js +0 -1346
- package/dist/src/contracts/BaseContentType.js +0 -353
- package/dist/src/contracts/BaseFactory.js +0 -107
- package/dist/src/contracts/BaseGroupFactory.js +0 -93
- package/dist/src/contracts/BaseLibrary.js +0 -1035
- package/dist/src/contracts/BaseLibraryFactory.js +0 -96
- package/dist/src/contracts/Certifyer.js +0 -87
- package/dist/src/contracts/Container.js +0 -543
- package/dist/src/contracts/Content.js +0 -432
- package/dist/src/contracts/Editable.js +0 -295
- package/dist/src/contracts/FactorySpace.js +0 -57
- package/dist/src/contracts/KmsSpace.js +0 -52
- package/dist/src/contracts/LvProvider.js +0 -512
- package/dist/src/contracts/LvRecordableStream.js +0 -1026
- package/dist/src/contracts/LvRecording.js +0 -627
- package/dist/src/contracts/LvStreamRightsHolder.js +0 -551
- package/dist/src/contracts/MetaObject.js +0 -110
- package/dist/src/contracts/Node.js +0 -167
- package/dist/src/contracts/NodeSpace.js +0 -18
- package/dist/src/contracts/NodeSpaceImpl.js +0 -273
- package/dist/src/contracts/Ownable.js +0 -87
- package/dist/src/contracts/PaymentService.js +0 -616
- package/dist/src/contracts/Precompile.js +0 -15
- package/dist/src/contracts/SampleContentAdMarketplace.js +0 -564
- package/dist/src/contracts/SampleContentAdvertising.js +0 -444
- package/dist/src/contracts/SampleContentHelloWorld.js +0 -459
- package/dist/src/contracts/SampleContentLicensing.js +0 -618
- package/dist/src/contracts/SampleContentSigned.js +0 -447
- package/dist/src/contracts/SampleInstance.js +0 -438
- package/dist/src/contracts/SampleInstanceFactory.js +0 -451
- package/dist/src/contracts/Transactable.js +0 -82
- package/dist/src/contracts/UserSpace.js +0 -18
- package/dist/src/contracts/UserSpaceImpl.js +0 -43
- package/dist/src/contracts/Utils.js +0 -18
- package/dist/src/contracts/Verifier.js +0 -53
- package/dist/src/contracts/strings.js +0 -4
- package/dist/src/contracts/v2/BaseContentFactoryExt.js +0 -219
- package/dist/src/contracts/v2/FactorySpace.js +0 -57
- package/dist/src/contracts/v2/KmsSpace.js +0 -52
- package/dist/src/contracts/v2/NodeSpaceImpl.js +0 -273
- package/dist/src/contracts/v2/UserSpaceImpl.js +0 -43
- package/dist/src/marketplaceClient/ClientMethods.js +0 -1918
- package/dist/src/marketplaceClient/Configuration.js +0 -29
- package/dist/src/marketplaceClient/Utils.js +0 -304
- package/dist/src/marketplaceClient/index.js +0 -1553
- package/utilities/ListAccessGroups.js +0 -34
|
@@ -1,167 +0,0 @@
|
|
|
1
|
-
var contract = {
|
|
2
|
-
"abi": [{
|
|
3
|
-
"constant": true,
|
|
4
|
-
"inputs": [],
|
|
5
|
-
"name": "creator",
|
|
6
|
-
"outputs": [{
|
|
7
|
-
"name": "",
|
|
8
|
-
"type": "address"
|
|
9
|
-
}],
|
|
10
|
-
"payable": false,
|
|
11
|
-
"stateMutability": "view",
|
|
12
|
-
"type": "function"
|
|
13
|
-
}, {
|
|
14
|
-
"constant": false,
|
|
15
|
-
"inputs": [{
|
|
16
|
-
"name": "label",
|
|
17
|
-
"type": "string"
|
|
18
|
-
}],
|
|
19
|
-
"name": "log",
|
|
20
|
-
"outputs": [],
|
|
21
|
-
"payable": false,
|
|
22
|
-
"stateMutability": "nonpayable",
|
|
23
|
-
"type": "function"
|
|
24
|
-
}, {
|
|
25
|
-
"constant": false,
|
|
26
|
-
"inputs": [],
|
|
27
|
-
"name": "kill",
|
|
28
|
-
"outputs": [],
|
|
29
|
-
"payable": false,
|
|
30
|
-
"stateMutability": "nonpayable",
|
|
31
|
-
"type": "function"
|
|
32
|
-
}, {
|
|
33
|
-
"constant": true,
|
|
34
|
-
"inputs": [],
|
|
35
|
-
"name": "version",
|
|
36
|
-
"outputs": [{
|
|
37
|
-
"name": "",
|
|
38
|
-
"type": "bytes32"
|
|
39
|
-
}],
|
|
40
|
-
"payable": false,
|
|
41
|
-
"stateMutability": "view",
|
|
42
|
-
"type": "function"
|
|
43
|
-
}, {
|
|
44
|
-
"constant": false,
|
|
45
|
-
"inputs": [{
|
|
46
|
-
"name": "newCreator",
|
|
47
|
-
"type": "address"
|
|
48
|
-
}],
|
|
49
|
-
"name": "transferCreatorship",
|
|
50
|
-
"outputs": [],
|
|
51
|
-
"payable": false,
|
|
52
|
-
"stateMutability": "nonpayable",
|
|
53
|
-
"type": "function"
|
|
54
|
-
}, {
|
|
55
|
-
"constant": true,
|
|
56
|
-
"inputs": [],
|
|
57
|
-
"name": "owner",
|
|
58
|
-
"outputs": [{
|
|
59
|
-
"name": "",
|
|
60
|
-
"type": "address"
|
|
61
|
-
}],
|
|
62
|
-
"payable": false,
|
|
63
|
-
"stateMutability": "view",
|
|
64
|
-
"type": "function"
|
|
65
|
-
}, {
|
|
66
|
-
"constant": true,
|
|
67
|
-
"inputs": [],
|
|
68
|
-
"name": "contentSpace",
|
|
69
|
-
"outputs": [{
|
|
70
|
-
"name": "",
|
|
71
|
-
"type": "address"
|
|
72
|
-
}],
|
|
73
|
-
"payable": false,
|
|
74
|
-
"stateMutability": "view",
|
|
75
|
-
"type": "function"
|
|
76
|
-
}, {
|
|
77
|
-
"constant": false,
|
|
78
|
-
"inputs": [{
|
|
79
|
-
"name": "newOwner",
|
|
80
|
-
"type": "address"
|
|
81
|
-
}],
|
|
82
|
-
"name": "transferOwnership",
|
|
83
|
-
"outputs": [],
|
|
84
|
-
"payable": false,
|
|
85
|
-
"stateMutability": "nonpayable",
|
|
86
|
-
"type": "function"
|
|
87
|
-
}, {
|
|
88
|
-
"payable": true,
|
|
89
|
-
"stateMutability": "payable",
|
|
90
|
-
"type": "fallback"
|
|
91
|
-
}, {
|
|
92
|
-
"anonymous": false,
|
|
93
|
-
"inputs": [{
|
|
94
|
-
"indexed": false,
|
|
95
|
-
"name": "label",
|
|
96
|
-
"type": "string"
|
|
97
|
-
}],
|
|
98
|
-
"name": "Log",
|
|
99
|
-
"type": "event"
|
|
100
|
-
}, {
|
|
101
|
-
"anonymous": false,
|
|
102
|
-
"inputs": [{
|
|
103
|
-
"indexed": false,
|
|
104
|
-
"name": "label",
|
|
105
|
-
"type": "string"
|
|
106
|
-
}, {
|
|
107
|
-
"indexed": false,
|
|
108
|
-
"name": "b",
|
|
109
|
-
"type": "bool"
|
|
110
|
-
}],
|
|
111
|
-
"name": "LogBool",
|
|
112
|
-
"type": "event"
|
|
113
|
-
}, {
|
|
114
|
-
"anonymous": false,
|
|
115
|
-
"inputs": [{
|
|
116
|
-
"indexed": false,
|
|
117
|
-
"name": "label",
|
|
118
|
-
"type": "string"
|
|
119
|
-
}, {
|
|
120
|
-
"indexed": false,
|
|
121
|
-
"name": "a",
|
|
122
|
-
"type": "address"
|
|
123
|
-
}],
|
|
124
|
-
"name": "LogAddress",
|
|
125
|
-
"type": "event"
|
|
126
|
-
}, {
|
|
127
|
-
"anonymous": false,
|
|
128
|
-
"inputs": [{
|
|
129
|
-
"indexed": false,
|
|
130
|
-
"name": "label",
|
|
131
|
-
"type": "string"
|
|
132
|
-
}, {
|
|
133
|
-
"indexed": false,
|
|
134
|
-
"name": "u",
|
|
135
|
-
"type": "uint256"
|
|
136
|
-
}],
|
|
137
|
-
"name": "LogUint256",
|
|
138
|
-
"type": "event"
|
|
139
|
-
}, {
|
|
140
|
-
"anonymous": false,
|
|
141
|
-
"inputs": [{
|
|
142
|
-
"indexed": false,
|
|
143
|
-
"name": "label",
|
|
144
|
-
"type": "string"
|
|
145
|
-
}, {
|
|
146
|
-
"indexed": false,
|
|
147
|
-
"name": "u",
|
|
148
|
-
"type": "int256"
|
|
149
|
-
}],
|
|
150
|
-
"name": "LogInt256",
|
|
151
|
-
"type": "event"
|
|
152
|
-
}, {
|
|
153
|
-
"anonymous": false,
|
|
154
|
-
"inputs": [{
|
|
155
|
-
"indexed": false,
|
|
156
|
-
"name": "label",
|
|
157
|
-
"type": "string"
|
|
158
|
-
}, {
|
|
159
|
-
"indexed": false,
|
|
160
|
-
"name": "b",
|
|
161
|
-
"type": "bytes32"
|
|
162
|
-
}],
|
|
163
|
-
"name": "LogBytes32",
|
|
164
|
-
"type": "event"
|
|
165
|
-
}]
|
|
166
|
-
};
|
|
167
|
-
module.exports = contract;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
var contract = {
|
|
2
|
-
"abi": [{
|
|
3
|
-
"constant": true,
|
|
4
|
-
"inputs": [{
|
|
5
|
-
"name": "candidate",
|
|
6
|
-
"type": "address"
|
|
7
|
-
}],
|
|
8
|
-
"name": "canNodePublish",
|
|
9
|
-
"outputs": [{
|
|
10
|
-
"name": "",
|
|
11
|
-
"type": "bool"
|
|
12
|
-
}],
|
|
13
|
-
"payable": false,
|
|
14
|
-
"stateMutability": "view",
|
|
15
|
-
"type": "function"
|
|
16
|
-
}]
|
|
17
|
-
};
|
|
18
|
-
module.exports = contract;
|
|
@@ -1,273 +0,0 @@
|
|
|
1
|
-
var contract = {
|
|
2
|
-
"abi": [{
|
|
3
|
-
"constant": true,
|
|
4
|
-
"inputs": [],
|
|
5
|
-
"name": "creator",
|
|
6
|
-
"outputs": [{
|
|
7
|
-
"name": "",
|
|
8
|
-
"type": "address"
|
|
9
|
-
}],
|
|
10
|
-
"payable": false,
|
|
11
|
-
"stateMutability": "view",
|
|
12
|
-
"type": "function"
|
|
13
|
-
}, {
|
|
14
|
-
"constant": false,
|
|
15
|
-
"inputs": [{
|
|
16
|
-
"name": "_locator",
|
|
17
|
-
"type": "bytes"
|
|
18
|
-
}],
|
|
19
|
-
"name": "submitNode",
|
|
20
|
-
"outputs": [],
|
|
21
|
-
"payable": false,
|
|
22
|
-
"stateMutability": "nonpayable",
|
|
23
|
-
"type": "function"
|
|
24
|
-
}, {
|
|
25
|
-
"constant": true,
|
|
26
|
-
"inputs": [{
|
|
27
|
-
"name": "candidate",
|
|
28
|
-
"type": "address"
|
|
29
|
-
}],
|
|
30
|
-
"name": "canNodePublish",
|
|
31
|
-
"outputs": [{
|
|
32
|
-
"name": "",
|
|
33
|
-
"type": "bool"
|
|
34
|
-
}],
|
|
35
|
-
"payable": false,
|
|
36
|
-
"stateMutability": "view",
|
|
37
|
-
"type": "function"
|
|
38
|
-
}, {
|
|
39
|
-
"constant": false,
|
|
40
|
-
"inputs": [],
|
|
41
|
-
"name": "kill",
|
|
42
|
-
"outputs": [],
|
|
43
|
-
"payable": false,
|
|
44
|
-
"stateMutability": "nonpayable",
|
|
45
|
-
"type": "function"
|
|
46
|
-
}, {
|
|
47
|
-
"constant": true,
|
|
48
|
-
"inputs": [],
|
|
49
|
-
"name": "numActiveNodes",
|
|
50
|
-
"outputs": [{
|
|
51
|
-
"name": "",
|
|
52
|
-
"type": "uint256"
|
|
53
|
-
}],
|
|
54
|
-
"payable": false,
|
|
55
|
-
"stateMutability": "view",
|
|
56
|
-
"type": "function"
|
|
57
|
-
}, {
|
|
58
|
-
"constant": true,
|
|
59
|
-
"inputs": [{
|
|
60
|
-
"name": "",
|
|
61
|
-
"type": "uint256"
|
|
62
|
-
}],
|
|
63
|
-
"name": "activeNodeLocators",
|
|
64
|
-
"outputs": [{
|
|
65
|
-
"name": "",
|
|
66
|
-
"type": "bytes"
|
|
67
|
-
}],
|
|
68
|
-
"payable": false,
|
|
69
|
-
"stateMutability": "view",
|
|
70
|
-
"type": "function"
|
|
71
|
-
}, {
|
|
72
|
-
"constant": true,
|
|
73
|
-
"inputs": [{
|
|
74
|
-
"name": "",
|
|
75
|
-
"type": "uint256"
|
|
76
|
-
}],
|
|
77
|
-
"name": "activeNodeAddresses",
|
|
78
|
-
"outputs": [{
|
|
79
|
-
"name": "",
|
|
80
|
-
"type": "address"
|
|
81
|
-
}],
|
|
82
|
-
"payable": false,
|
|
83
|
-
"stateMutability": "view",
|
|
84
|
-
"type": "function"
|
|
85
|
-
}, {
|
|
86
|
-
"constant": true,
|
|
87
|
-
"inputs": [],
|
|
88
|
-
"name": "version",
|
|
89
|
-
"outputs": [{
|
|
90
|
-
"name": "",
|
|
91
|
-
"type": "bytes32"
|
|
92
|
-
}],
|
|
93
|
-
"payable": false,
|
|
94
|
-
"stateMutability": "view",
|
|
95
|
-
"type": "function"
|
|
96
|
-
}, {
|
|
97
|
-
"constant": false,
|
|
98
|
-
"inputs": [{
|
|
99
|
-
"name": "_nodeAddr",
|
|
100
|
-
"type": "address"
|
|
101
|
-
}, {
|
|
102
|
-
"name": "_locator",
|
|
103
|
-
"type": "bytes"
|
|
104
|
-
}],
|
|
105
|
-
"name": "addNode",
|
|
106
|
-
"outputs": [],
|
|
107
|
-
"payable": false,
|
|
108
|
-
"stateMutability": "nonpayable",
|
|
109
|
-
"type": "function"
|
|
110
|
-
}, {
|
|
111
|
-
"constant": true,
|
|
112
|
-
"inputs": [{
|
|
113
|
-
"name": "",
|
|
114
|
-
"type": "uint256"
|
|
115
|
-
}],
|
|
116
|
-
"name": "pendingNodeLocators",
|
|
117
|
-
"outputs": [{
|
|
118
|
-
"name": "",
|
|
119
|
-
"type": "bytes"
|
|
120
|
-
}],
|
|
121
|
-
"payable": false,
|
|
122
|
-
"stateMutability": "view",
|
|
123
|
-
"type": "function"
|
|
124
|
-
}, {
|
|
125
|
-
"constant": true,
|
|
126
|
-
"inputs": [{
|
|
127
|
-
"name": "",
|
|
128
|
-
"type": "uint256"
|
|
129
|
-
}],
|
|
130
|
-
"name": "pendingNodeAddresses",
|
|
131
|
-
"outputs": [{
|
|
132
|
-
"name": "",
|
|
133
|
-
"type": "address"
|
|
134
|
-
}],
|
|
135
|
-
"payable": false,
|
|
136
|
-
"stateMutability": "view",
|
|
137
|
-
"type": "function"
|
|
138
|
-
}, {
|
|
139
|
-
"constant": false,
|
|
140
|
-
"inputs": [{
|
|
141
|
-
"name": "newCreator",
|
|
142
|
-
"type": "address"
|
|
143
|
-
}],
|
|
144
|
-
"name": "transferCreatorship",
|
|
145
|
-
"outputs": [],
|
|
146
|
-
"payable": false,
|
|
147
|
-
"stateMutability": "nonpayable",
|
|
148
|
-
"type": "function"
|
|
149
|
-
}, {
|
|
150
|
-
"constant": true,
|
|
151
|
-
"inputs": [],
|
|
152
|
-
"name": "owner",
|
|
153
|
-
"outputs": [{
|
|
154
|
-
"name": "",
|
|
155
|
-
"type": "address"
|
|
156
|
-
}],
|
|
157
|
-
"payable": false,
|
|
158
|
-
"stateMutability": "view",
|
|
159
|
-
"type": "function"
|
|
160
|
-
}, {
|
|
161
|
-
"constant": true,
|
|
162
|
-
"inputs": [],
|
|
163
|
-
"name": "contentSpace",
|
|
164
|
-
"outputs": [{
|
|
165
|
-
"name": "",
|
|
166
|
-
"type": "address"
|
|
167
|
-
}],
|
|
168
|
-
"payable": false,
|
|
169
|
-
"stateMutability": "view",
|
|
170
|
-
"type": "function"
|
|
171
|
-
}, {
|
|
172
|
-
"constant": false,
|
|
173
|
-
"inputs": [{
|
|
174
|
-
"name": "_nodeAddr",
|
|
175
|
-
"type": "address"
|
|
176
|
-
}],
|
|
177
|
-
"name": "removeNode",
|
|
178
|
-
"outputs": [],
|
|
179
|
-
"payable": false,
|
|
180
|
-
"stateMutability": "nonpayable",
|
|
181
|
-
"type": "function"
|
|
182
|
-
}, {
|
|
183
|
-
"constant": false,
|
|
184
|
-
"inputs": [{
|
|
185
|
-
"name": "_nodeAddr",
|
|
186
|
-
"type": "address"
|
|
187
|
-
}],
|
|
188
|
-
"name": "approveNode",
|
|
189
|
-
"outputs": [],
|
|
190
|
-
"payable": false,
|
|
191
|
-
"stateMutability": "nonpayable",
|
|
192
|
-
"type": "function"
|
|
193
|
-
}, {
|
|
194
|
-
"constant": false,
|
|
195
|
-
"inputs": [{
|
|
196
|
-
"name": "newOwner",
|
|
197
|
-
"type": "address"
|
|
198
|
-
}],
|
|
199
|
-
"name": "transferOwnership",
|
|
200
|
-
"outputs": [],
|
|
201
|
-
"payable": false,
|
|
202
|
-
"stateMutability": "nonpayable",
|
|
203
|
-
"type": "function"
|
|
204
|
-
}, {
|
|
205
|
-
"constant": true,
|
|
206
|
-
"inputs": [],
|
|
207
|
-
"name": "numPendingNodes",
|
|
208
|
-
"outputs": [{
|
|
209
|
-
"name": "",
|
|
210
|
-
"type": "uint256"
|
|
211
|
-
}],
|
|
212
|
-
"payable": false,
|
|
213
|
-
"stateMutability": "view",
|
|
214
|
-
"type": "function"
|
|
215
|
-
}, {
|
|
216
|
-
"payable": true,
|
|
217
|
-
"stateMutability": "payable",
|
|
218
|
-
"type": "fallback"
|
|
219
|
-
}, {
|
|
220
|
-
"anonymous": false,
|
|
221
|
-
"inputs": [{
|
|
222
|
-
"indexed": false,
|
|
223
|
-
"name": "addr",
|
|
224
|
-
"type": "address"
|
|
225
|
-
}, {
|
|
226
|
-
"indexed": false,
|
|
227
|
-
"name": "locator",
|
|
228
|
-
"type": "bytes"
|
|
229
|
-
}],
|
|
230
|
-
"name": "NodeSubmitted",
|
|
231
|
-
"type": "event"
|
|
232
|
-
}, {
|
|
233
|
-
"anonymous": false,
|
|
234
|
-
"inputs": [{
|
|
235
|
-
"indexed": false,
|
|
236
|
-
"name": "addr",
|
|
237
|
-
"type": "address"
|
|
238
|
-
}, {
|
|
239
|
-
"indexed": false,
|
|
240
|
-
"name": "locator",
|
|
241
|
-
"type": "bytes"
|
|
242
|
-
}],
|
|
243
|
-
"name": "NodeApproved",
|
|
244
|
-
"type": "event"
|
|
245
|
-
}, {
|
|
246
|
-
"anonymous": false,
|
|
247
|
-
"inputs": [{
|
|
248
|
-
"indexed": false,
|
|
249
|
-
"name": "ownerAddr",
|
|
250
|
-
"type": "address"
|
|
251
|
-
}, {
|
|
252
|
-
"indexed": false,
|
|
253
|
-
"name": "nodeAddr",
|
|
254
|
-
"type": "address"
|
|
255
|
-
}],
|
|
256
|
-
"name": "AddNode",
|
|
257
|
-
"type": "event"
|
|
258
|
-
}, {
|
|
259
|
-
"anonymous": false,
|
|
260
|
-
"inputs": [{
|
|
261
|
-
"indexed": false,
|
|
262
|
-
"name": "ownerAddr",
|
|
263
|
-
"type": "address"
|
|
264
|
-
}, {
|
|
265
|
-
"indexed": false,
|
|
266
|
-
"name": "nodeAddr",
|
|
267
|
-
"type": "address"
|
|
268
|
-
}],
|
|
269
|
-
"name": "RemoveNode",
|
|
270
|
-
"type": "event"
|
|
271
|
-
}]
|
|
272
|
-
};
|
|
273
|
-
module.exports = contract;
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
var contract = {
|
|
2
|
-
"abi": [{
|
|
3
|
-
"constant": true,
|
|
4
|
-
"inputs": [],
|
|
5
|
-
"name": "creator",
|
|
6
|
-
"outputs": [{
|
|
7
|
-
"name": "",
|
|
8
|
-
"type": "address"
|
|
9
|
-
}],
|
|
10
|
-
"payable": false,
|
|
11
|
-
"stateMutability": "view",
|
|
12
|
-
"type": "function"
|
|
13
|
-
}, {
|
|
14
|
-
"constant": false,
|
|
15
|
-
"inputs": [],
|
|
16
|
-
"name": "kill",
|
|
17
|
-
"outputs": [],
|
|
18
|
-
"payable": false,
|
|
19
|
-
"stateMutability": "nonpayable",
|
|
20
|
-
"type": "function"
|
|
21
|
-
}, {
|
|
22
|
-
"constant": true,
|
|
23
|
-
"inputs": [],
|
|
24
|
-
"name": "version",
|
|
25
|
-
"outputs": [{
|
|
26
|
-
"name": "",
|
|
27
|
-
"type": "bytes32"
|
|
28
|
-
}],
|
|
29
|
-
"payable": false,
|
|
30
|
-
"stateMutability": "view",
|
|
31
|
-
"type": "function"
|
|
32
|
-
}, {
|
|
33
|
-
"constant": false,
|
|
34
|
-
"inputs": [{
|
|
35
|
-
"name": "newCreator",
|
|
36
|
-
"type": "address"
|
|
37
|
-
}],
|
|
38
|
-
"name": "transferCreatorship",
|
|
39
|
-
"outputs": [],
|
|
40
|
-
"payable": false,
|
|
41
|
-
"stateMutability": "nonpayable",
|
|
42
|
-
"type": "function"
|
|
43
|
-
}, {
|
|
44
|
-
"constant": true,
|
|
45
|
-
"inputs": [],
|
|
46
|
-
"name": "owner",
|
|
47
|
-
"outputs": [{
|
|
48
|
-
"name": "",
|
|
49
|
-
"type": "address"
|
|
50
|
-
}],
|
|
51
|
-
"payable": false,
|
|
52
|
-
"stateMutability": "view",
|
|
53
|
-
"type": "function"
|
|
54
|
-
}, {
|
|
55
|
-
"constant": true,
|
|
56
|
-
"inputs": [],
|
|
57
|
-
"name": "contentSpace",
|
|
58
|
-
"outputs": [{
|
|
59
|
-
"name": "",
|
|
60
|
-
"type": "address"
|
|
61
|
-
}],
|
|
62
|
-
"payable": false,
|
|
63
|
-
"stateMutability": "view",
|
|
64
|
-
"type": "function"
|
|
65
|
-
}, {
|
|
66
|
-
"constant": false,
|
|
67
|
-
"inputs": [{
|
|
68
|
-
"name": "newOwner",
|
|
69
|
-
"type": "address"
|
|
70
|
-
}],
|
|
71
|
-
"name": "transferOwnership",
|
|
72
|
-
"outputs": [],
|
|
73
|
-
"payable": false,
|
|
74
|
-
"stateMutability": "nonpayable",
|
|
75
|
-
"type": "function"
|
|
76
|
-
}, {
|
|
77
|
-
"inputs": [],
|
|
78
|
-
"payable": true,
|
|
79
|
-
"stateMutability": "payable",
|
|
80
|
-
"type": "constructor"
|
|
81
|
-
}, {
|
|
82
|
-
"payable": true,
|
|
83
|
-
"stateMutability": "payable",
|
|
84
|
-
"type": "fallback"
|
|
85
|
-
}]
|
|
86
|
-
};
|
|
87
|
-
module.exports = contract;
|