Methods for deploying and interacting with contracts
- Source:
Methods
static BlockNumber() → Promise.<number>
Retrieve the latest block number on the blockchain
Examples
async BlockNumber(); 203218
async BlockNumber(); 203230
async BlockNumber(); 203233
async BlockNumber(); 203235
async BlockNumber(); 203240
async BlockNumber(); 203244
async BlockNumber(); 203248
async BlockNumber(); 203258
async BlockNumber(); 203263
async BlockNumber(); 203265
async BlockNumber(); 203269
async BlockNumber(); 203273
async BlockNumber(); 203277
async BlockNumber(); 203281
async BlockNumber(); 203285
async BlockNumber(); 203289
async BlockNumber(); 203293
async BlockNumber(); 203295
async BlockNumber(); 203299
async BlockNumber(); 203303
async BlockNumber(); 203311
async BlockNumber(); 203313
async BlockNumber(); 203315
async BlockNumber(); 203317
async BlockNumber(); 203319
async BlockNumber(); 203321
async BlockNumber(); 203323
async BlockNumber(); 203324
async BlockNumber(); 203325
async BlockNumber(); 203327
async BlockNumber(); 203329
async BlockNumber(); 203331
async BlockNumber(); 203333
async BlockNumber(); 203337
async BlockNumber(); 203348
async BlockNumber(); 203351
async BlockNumber(); 203357
async BlockNumber(); 203362
async BlockNumber(); 203367
async BlockNumber(); 203373
async BlockNumber(); 203375
async BlockNumber(); 203377
async BlockNumber(); 203378
async BlockNumber(); 203379
async BlockNumber(); 203384
async BlockNumber(); 203385
async BlockNumber(); 203388
- Source:
static CallContractMethod({contractAddress,abioptional,methodName,methodArgsoptional,valueoptional,formatArgumentsoptional,overridesoptional}) → Promise.<*>
Call the specified method on a deployed contract. This action will be performed by this client's signer.
Use this method to call constant methods and contract attributes, as well as transaction-performing methods for which the transaction does not need to be awaited.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
contractAddress |
string |
Address of the contract to call the specified method on |
||
abi |
Object |
<optional> |
ABI of contract - If the contract is a standard Eluvio contract, this can be determined automatically if not specified |
|
methodName |
string |
Method to call on the contract |
||
methodArgs |
Array |
<optional> |
List of arguments to the contract constructor |
|
value |
number | BigNumber |
<optional> |
Amount of ether to include in the transaction |
|
formatArguments |
boolean |
<optional> |
true |
If specified, the arguments will automatically be formatted to the ABI specification |
overrides |
Object |
<optional> |
Change default gasPrice or gasLimit used for this action |
Examples
async CallContractMethod({ "contractAddress": "0xfea494af0cfb6bbc257314f4c00850a5f03476d0", "methodName": "libraryAddress" }); "0xA570b8c292b02a0bca8E4C3F2dA9aBAD0dA8951a"
async CallContractMethod({ "contractAddress": "0xfea494af0cfb6bbc257314f4c00850a5f03476d0", "methodName": "objectHash" }); "hq__AXQrQWT8v1Xe784ciwaFJoXphaeoXHJzsG3JY8NHTsXZcZ18jqx6dPfqT8268c8Aoq5VnsmC3"
async CallContractMethod({ "contractAddress": "0xfea494af0cfb6bbc257314f4c00850a5f03476d0", "abi": [ { "constant": true, "inputs": [], "name": "STATUS_PUBLISHED", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "parentAddress", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "creator", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "request_ID", "type": "uint256" }, { "name": "score_pct", "type": "uint256" }, { "name": "", "type": "uint256" } ], "name": "accessComplete", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [], "name": "publish", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [ { "name": "requestNonce", "type": "uint256" }, { "name": "payee", "type": "address" }, { "name": "label", "type": "string" }, { "name": "amount", "type": "uint256" } ], "name": "processRequestPayment", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "stakeholder", "type": "address" }, { "name": "access_type", "type": "uint8" }, { "name": "access", "type": "uint8" } ], "name": "setRights", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_SEE", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "canConfirm", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "requestMap", "outputs": [ { "name": "originator", "type": "address" }, { "name": "amountPaid", "type": "uint256" }, { "name": "status", "type": "int8" }, { "name": "settled", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessRequestV3", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [ { "name": "group", "type": "address" }, { "name": "access_type", "type": "uint8" }, { "name": "access", "type": "uint8" } ], "name": "setGroupRights", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "contentContractAddress", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "_candidate", "type": "address" } ], "name": "isAdmin", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "statusCode", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "visibility", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "addressKMS", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "countVersionHashes", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "contentType", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "commitPending", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "status_code", "type": "int256" } ], "name": "statusCodeDescription", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "level", "type": "uint8" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "getAccessInfo", "outputs": [ { "name": "", "type": "uint8" }, { "name": "", "type": "uint8" }, { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "objectTimestamp", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "kill", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [], "name": "confirmCommit", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [ { "name": "requestNonce", "type": "uint256" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessCompleteV3", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [ { "name": "requestNonce", "type": "uint256" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessCompleteInternal", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [], "name": "STATUS_DRAFT", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "status_code", "type": "int256" } ], "name": "setStatusCode", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "version", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "versionAPI", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "clearPending", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "pendingHash", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "indexCategory", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "accessCharge", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "candidate", "type": "address" } ], "name": "hasEditorRight", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "newCreator", "type": "address" } ], "name": "transferCreatorship", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "canCommit", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "versionTimestamp", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "requestNonce", "type": "uint256" }, { "name": "contextHash", "type": "bytes32" }, { "name": "accessor", "type": "address" }, { "name": "request_timestamp", "type": "uint256" } ], "name": "accessRequestContext", "outputs": [ { "name": "", "type": "uint256" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "versionHashes", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "accessor", "type": "address" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "getAccessInfoV3", "outputs": [ { "name": "", "type": "uint8" }, { "name": "", "type": "uint8" }, { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "canEdit", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "status_code", "type": "int256" } ], "name": "updateStatus", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "owner", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "reqId", "type": "uint256" } ], "name": "makeNonce", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "requestID", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "candidate", "type": "address" } ], "name": "hasAccess", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_ACCESS", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_objectHash", "type": "string" } ], "name": "commit", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "level", "type": "uint8" }, { "name": "pkeRequestor", "type": "string" }, { "name": "pkeAFGH", "type": "string" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessRequest", "outputs": [ { "name": "", "type": "uint256" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [ { "name": "prefix", "type": "bytes" } ], "name": "getKMSInfo", "outputs": [ { "name": "", "type": "string" }, { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_visibility_code", "type": "uint8" } ], "name": "setVisibility", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "key", "type": "bytes" } ], "name": "getMeta", "outputs": [ { "name": "", "type": "bytes" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "contentSpace", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "libraryAddress", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_requestNonce", "type": "uint256" }, { "name": "_contextHash", "type": "bytes32" }, { "name": "_accessor", "type": "address" }, { "name": "_request_timestamp", "type": "uint256" } ], "name": "accessCompleteContext", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [ { "name": "accessor", "type": "address" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "getCustomInfo", "outputs": [ { "name": "", "type": "uint8" }, { "name": "", "type": "uint8" }, { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "updateRequest", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "address_KMS", "type": "address" } ], "name": "setAddressKMS", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "canPublish", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "STATUS_REVIEW", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "objectHash", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_versionHash", "type": "string" } ], "name": "deleteVersion", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "addr", "type": "address" } ], "name": "setContentContractAddress", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "key", "type": "bytes" }, { "name": "value", "type": "bytes" } ], "name": "putMeta", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_EDIT", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "charge", "type": "uint256" } ], "name": "setAccessCharge", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "statusDescription", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "inputs": [ { "name": "content_space", "type": "address" }, { "name": "lib", "type": "address" }, { "name": "content_type", "type": "address" } ], "payable": true, "stateMutability": "payable", "type": "constructor" }, { "payable": true, "stateMutability": "payable", "type": "fallback" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "containingLibrary", "type": "address" } ], "name": "ContentObjectCreate", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentType", "type": "address" }, { "indexed": false, "name": "contentContractAddress", "type": "address" } ], "name": "SetContentType", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestNonce", "type": "uint256" }, { "indexed": false, "name": "label", "type": "string" }, { "indexed": false, "name": "payee", "type": "address" }, { "indexed": false, "name": "amount", "type": "uint256" } ], "name": "LogPayment", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "customValue", "type": "bytes32" } ], "name": "AccessRequestValue", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "stakeholder", "type": "address" } ], "name": "AccessRequestStakeholder", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestID", "type": "uint256" }, { "indexed": false, "name": "level", "type": "uint8" }, { "indexed": false, "name": "contentHash", "type": "string" }, { "indexed": false, "name": "pkeRequestor", "type": "string" }, { "indexed": false, "name": "pkeAFGH", "type": "string" } ], "name": "AccessRequest", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestID", "type": "uint256" }, { "indexed": false, "name": "scorePct", "type": "uint256" }, { "indexed": false, "name": "customContractResult", "type": "bool" } ], "name": "AccessComplete", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestNonce", "type": "uint256" }, { "indexed": false, "name": "customContractResult", "type": "bool" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "contextHash", "type": "bytes32" }, { "indexed": false, "name": "accessor", "type": "address" }, { "indexed": false, "name": "request_timestamp", "type": "uint256" } ], "name": "AccessCompleteV3", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentContractAddress", "type": "address" } ], "name": "SetContentContract", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "accessCharge", "type": "uint256" } ], "name": "SetAccessCharge", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "accessCharge", "type": "uint256" }, { "indexed": false, "name": "amountProvided", "type": "uint256" } ], "name": "InsufficientFunds", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "statusCode", "type": "int256" } ], "name": "SetStatusCode", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestStatus", "type": "bool" }, { "indexed": false, "name": "statusCode", "type": "int256" }, { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "Publish", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "custom_contract", "type": "address" } ], "name": "InvokeCustomPreHook", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "custom_contract", "type": "address" }, { "indexed": false, "name": "result", "type": "uint256" } ], "name": "ReturnCustomHook", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "custom_contract", "type": "address" } ], "name": "InvokeCustomPostHook", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "CommitPending", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "UpdateRequest", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "VersionConfirm", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "versionHash", "type": "string" }, { "indexed": false, "name": "index", "type": "int256" } ], "name": "VersionDelete", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestNonce", "type": "uint256" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "contextHash", "type": "bytes32" }, { "indexed": false, "name": "accessor", "type": "address" }, { "indexed": false, "name": "requestTimestamp", "type": "uint256" } ], "name": "AccessRequestV3", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentSpace", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "visibility", "type": "uint8" } ], "name": "VisibilityChanged", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "key", "type": "bytes" } ], "name": "ObjectMetaChanged", "type": "event" } ], "methodName": "getKMSInfo", "methodArgs": [ [] ], "formatArguments": false }); [ "https://host-34-65-65-227.testv2.contentfabric.io/eth/,https://host-34-105-49-255.testv2.contentfabric.io/eth/", "kepkjPtk9MjDv3qrUvoE3qoi66wZFcqbZKmo2Lnxt6CKku45" ]
async CallContractMethod({ "contractAddress": "0xfea494af0cfb6bbc257314f4c00850a5f03476d0", "methodName": "visibility" }); 0
async CallContractMethod({ "contractAddress": "0xfea494af0cfb6bbc257314f4c00850a5f03476d0", "methodName": "owner", "methodArgs": [] }); "0x665AEe2328fa4040e569e91be23Faf5A82a6186C"
async CallContractMethod({ "contractAddress": "0xfea494af0cfb6bbc257314f4c00850a5f03476d0", "abi": [ { "constant": true, "inputs": [], "name": "STATUS_PUBLISHED", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "parentAddress", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "creator", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "request_ID", "type": "uint256" }, { "name": "score_pct", "type": "uint256" }, { "name": "", "type": "uint256" } ], "name": "accessComplete", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [], "name": "publish", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [ { "name": "requestNonce", "type": "uint256" }, { "name": "payee", "type": "address" }, { "name": "label", "type": "string" }, { "name": "amount", "type": "uint256" } ], "name": "processRequestPayment", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "stakeholder", "type": "address" }, { "name": "access_type", "type": "uint8" }, { "name": "access", "type": "uint8" } ], "name": "setRights", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_SEE", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "canConfirm", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "requestMap", "outputs": [ { "name": "originator", "type": "address" }, { "name": "amountPaid", "type": "uint256" }, { "name": "status", "type": "int8" }, { "name": "settled", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessRequestV3", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [ { "name": "group", "type": "address" }, { "name": "access_type", "type": "uint8" }, { "name": "access", "type": "uint8" } ], "name": "setGroupRights", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "contentContractAddress", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "_candidate", "type": "address" } ], "name": "isAdmin", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "statusCode", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "visibility", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "addressKMS", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "countVersionHashes", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "contentType", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "commitPending", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "status_code", "type": "int256" } ], "name": "statusCodeDescription", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "level", "type": "uint8" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "getAccessInfo", "outputs": [ { "name": "", "type": "uint8" }, { "name": "", "type": "uint8" }, { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "objectTimestamp", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "kill", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [], "name": "confirmCommit", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [ { "name": "requestNonce", "type": "uint256" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessCompleteV3", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [ { "name": "requestNonce", "type": "uint256" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessCompleteInternal", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [], "name": "STATUS_DRAFT", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "status_code", "type": "int256" } ], "name": "setStatusCode", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "version", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "versionAPI", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "clearPending", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "pendingHash", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "indexCategory", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "accessCharge", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "candidate", "type": "address" } ], "name": "hasEditorRight", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "newCreator", "type": "address" } ], "name": "transferCreatorship", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "canCommit", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "versionTimestamp", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "requestNonce", "type": "uint256" }, { "name": "contextHash", "type": "bytes32" }, { "name": "accessor", "type": "address" }, { "name": "request_timestamp", "type": "uint256" } ], "name": "accessRequestContext", "outputs": [ { "name": "", "type": "uint256" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "versionHashes", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "accessor", "type": "address" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "getAccessInfoV3", "outputs": [ { "name": "", "type": "uint8" }, { "name": "", "type": "uint8" }, { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "canEdit", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "status_code", "type": "int256" } ], "name": "updateStatus", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "owner", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "reqId", "type": "uint256" } ], "name": "makeNonce", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "requestID", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "candidate", "type": "address" } ], "name": "hasAccess", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_ACCESS", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_objectHash", "type": "string" } ], "name": "commit", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "level", "type": "uint8" }, { "name": "pkeRequestor", "type": "string" }, { "name": "pkeAFGH", "type": "string" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessRequest", "outputs": [ { "name": "", "type": "uint256" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [ { "name": "prefix", "type": "bytes" } ], "name": "getKMSInfo", "outputs": [ { "name": "", "type": "string" }, { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_visibility_code", "type": "uint8" } ], "name": "setVisibility", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "key", "type": "bytes" } ], "name": "getMeta", "outputs": [ { "name": "", "type": "bytes" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "contentSpace", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "libraryAddress", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_requestNonce", "type": "uint256" }, { "name": "_contextHash", "type": "bytes32" }, { "name": "_accessor", "type": "address" }, { "name": "_request_timestamp", "type": "uint256" } ], "name": "accessCompleteContext", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [ { "name": "accessor", "type": "address" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "getCustomInfo", "outputs": [ { "name": "", "type": "uint8" }, { "name": "", "type": "uint8" }, { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "updateRequest", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "address_KMS", "type": "address" } ], "name": "setAddressKMS", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "canPublish", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "STATUS_REVIEW", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "objectHash", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_versionHash", "type": "string" } ], "name": "deleteVersion", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "addr", "type": "address" } ], "name": "setContentContractAddress", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "key", "type": "bytes" }, { "name": "value", "type": "bytes" } ], "name": "putMeta", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_EDIT", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "charge", "type": "uint256" } ], "name": "setAccessCharge", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "statusDescription", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "inputs": [ { "name": "content_space", "type": "address" }, { "name": "lib", "type": "address" }, { "name": "content_type", "type": "address" } ], "payable": true, "stateMutability": "payable", "type": "constructor" }, { "payable": true, "stateMutability": "payable", "type": "fallback" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "containingLibrary", "type": "address" } ], "name": "ContentObjectCreate", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentType", "type": "address" }, { "indexed": false, "name": "contentContractAddress", "type": "address" } ], "name": "SetContentType", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestNonce", "type": "uint256" }, { "indexed": false, "name": "label", "type": "string" }, { "indexed": false, "name": "payee", "type": "address" }, { "indexed": false, "name": "amount", "type": "uint256" } ], "name": "LogPayment", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "customValue", "type": "bytes32" } ], "name": "AccessRequestValue", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "stakeholder", "type": "address" } ], "name": "AccessRequestStakeholder", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestID", "type": "uint256" }, { "indexed": false, "name": "level", "type": "uint8" }, { "indexed": false, "name": "contentHash", "type": "string" }, { "indexed": false, "name": "pkeRequestor", "type": "string" }, { "indexed": false, "name": "pkeAFGH", "type": "string" } ], "name": "AccessRequest", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestID", "type": "uint256" }, { "indexed": false, "name": "scorePct", "type": "uint256" }, { "indexed": false, "name": "customContractResult", "type": "bool" } ], "name": "AccessComplete", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestNonce", "type": "uint256" }, { "indexed": false, "name": "customContractResult", "type": "bool" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "contextHash", "type": "bytes32" }, { "indexed": false, "name": "accessor", "type": "address" }, { "indexed": false, "name": "request_timestamp", "type": "uint256" } ], "name": "AccessCompleteV3", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentContractAddress", "type": "address" } ], "name": "SetContentContract", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "accessCharge", "type": "uint256" } ], "name": "SetAccessCharge", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "accessCharge", "type": "uint256" }, { "indexed": false, "name": "amountProvided", "type": "uint256" } ], "name": "InsufficientFunds", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "statusCode", "type": "int256" } ], "name": "SetStatusCode", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestStatus", "type": "bool" }, { "indexed": false, "name": "statusCode", "type": "int256" }, { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "Publish", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "custom_contract", "type": "address" } ], "name": "InvokeCustomPreHook", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "custom_contract", "type": "address" }, { "indexed": false, "name": "result", "type": "uint256" } ], "name": "ReturnCustomHook", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "custom_contract", "type": "address" } ], "name": "InvokeCustomPostHook", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "CommitPending", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "UpdateRequest", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "VersionConfirm", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "versionHash", "type": "string" }, { "indexed": false, "name": "index", "type": "int256" } ], "name": "VersionDelete", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestNonce", "type": "uint256" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "contextHash", "type": "bytes32" }, { "indexed": false, "name": "accessor", "type": "address" }, { "indexed": false, "name": "requestTimestamp", "type": "uint256" } ], "name": "AccessRequestV3", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentSpace", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "visibility", "type": "uint8" } ], "name": "VisibilityChanged", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "key", "type": "bytes" } ], "name": "ObjectMetaChanged", "type": "event" } ], "methodName": "getAccessInfo", "methodArgs": [ 0, [], [] ] }); [ 0, 0, { "_hex": "0x00" } ]
async CallContractMethod({ "contractAddress": "0xfea494af0cfb6bbc257314f4c00850a5f03476d0", "methodName": "pendingHash" }); ""
async CallContractMethod({ "contractAddress": "0xe43da44cd2f7b9ead9405c8763dc7493a5ab54f1", "methodName": "addressKMS" }); "0xff6Ac56821eEBb2C8e92cbdFd24fC93466AeAF9f"
async CallContractMethod({ "contractAddress": "0x8b42013151e80d738cfd81157b80be7febbccc5a", "methodName": "pendingHash" }); ""
async CallContractMethod({ "contractAddress": "0xfea494af0cfb6bbc257314f4c00850a5f03476d0", "methodName": "objectHash" }); "hq__CPA8kvgi3XgZW6wUWv1F1GZCjnBuRjtx3YaepZqwyCVZXKHDyKsv4ncddX3BGvFXynZzQiU3cs"
async CallContractMethod({ "contractAddress": "0xa9749f575e1faadaddd1fe8a8410b25460307f80", "methodName": "pendingHash" }); ""
async CallContractMethod({ "contractAddress": "0xa9749f575e1faadaddd1fe8a8410b25460307f80", "methodName": "objectHash" }); "hq__HX8rWEhiUP1koNyZvhw7ijtzpvk3Ysp7ZHuFb47Cp7vRD5GPcYxSDdAVPeXFXEyjGLHzLWXsps"
async CallContractMethod({ "contractAddress": "0xa9749f575e1faadaddd1fe8a8410b25460307f80", "methodName": "libraryAddress" }); "0x8B42013151E80D738cfD81157B80be7feBbCCC5a"
async CallContractMethod({ "contractAddress": "0xa9749f575e1faadaddd1fe8a8410b25460307f80", "methodName": "visibility" }); 10
async CallContractMethod({ "contractAddress": "0xa9749f575e1faadaddd1fe8a8410b25460307f80", "abi": [ { "constant": true, "inputs": [], "name": "STATUS_PUBLISHED", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "parentAddress", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "creator", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "request_ID", "type": "uint256" }, { "name": "score_pct", "type": "uint256" }, { "name": "", "type": "uint256" } ], "name": "accessComplete", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [], "name": "publish", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [ { "name": "requestNonce", "type": "uint256" }, { "name": "payee", "type": "address" }, { "name": "label", "type": "string" }, { "name": "amount", "type": "uint256" } ], "name": "processRequestPayment", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "stakeholder", "type": "address" }, { "name": "access_type", "type": "uint8" }, { "name": "access", "type": "uint8" } ], "name": "setRights", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_SEE", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "canConfirm", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "requestMap", "outputs": [ { "name": "originator", "type": "address" }, { "name": "amountPaid", "type": "uint256" }, { "name": "status", "type": "int8" }, { "name": "settled", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessRequestV3", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [ { "name": "group", "type": "address" }, { "name": "access_type", "type": "uint8" }, { "name": "access", "type": "uint8" } ], "name": "setGroupRights", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "contentContractAddress", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "_candidate", "type": "address" } ], "name": "isAdmin", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "statusCode", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "visibility", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "addressKMS", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "countVersionHashes", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "contentType", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "commitPending", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "status_code", "type": "int256" } ], "name": "statusCodeDescription", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "level", "type": "uint8" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "getAccessInfo", "outputs": [ { "name": "", "type": "uint8" }, { "name": "", "type": "uint8" }, { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "objectTimestamp", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "kill", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [], "name": "confirmCommit", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [ { "name": "requestNonce", "type": "uint256" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessCompleteV3", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [ { "name": "requestNonce", "type": "uint256" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessCompleteInternal", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [], "name": "STATUS_DRAFT", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "status_code", "type": "int256" } ], "name": "setStatusCode", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "version", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "versionAPI", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "clearPending", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "pendingHash", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "indexCategory", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "accessCharge", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "candidate", "type": "address" } ], "name": "hasEditorRight", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "newCreator", "type": "address" } ], "name": "transferCreatorship", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "canCommit", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "versionTimestamp", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "requestNonce", "type": "uint256" }, { "name": "contextHash", "type": "bytes32" }, { "name": "accessor", "type": "address" }, { "name": "request_timestamp", "type": "uint256" } ], "name": "accessRequestContext", "outputs": [ { "name": "", "type": "uint256" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "versionHashes", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "accessor", "type": "address" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "getAccessInfoV3", "outputs": [ { "name": "", "type": "uint8" }, { "name": "", "type": "uint8" }, { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "canEdit", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "status_code", "type": "int256" } ], "name": "updateStatus", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "owner", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "reqId", "type": "uint256" } ], "name": "makeNonce", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "requestID", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "candidate", "type": "address" } ], "name": "hasAccess", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_ACCESS", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_objectHash", "type": "string" } ], "name": "commit", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "level", "type": "uint8" }, { "name": "pkeRequestor", "type": "string" }, { "name": "pkeAFGH", "type": "string" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessRequest", "outputs": [ { "name": "", "type": "uint256" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [ { "name": "prefix", "type": "bytes" } ], "name": "getKMSInfo", "outputs": [ { "name": "", "type": "string" }, { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_visibility_code", "type": "uint8" } ], "name": "setVisibility", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "key", "type": "bytes" } ], "name": "getMeta", "outputs": [ { "name": "", "type": "bytes" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "contentSpace", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "libraryAddress", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_requestNonce", "type": "uint256" }, { "name": "_contextHash", "type": "bytes32" }, { "name": "_accessor", "type": "address" }, { "name": "_request_timestamp", "type": "uint256" } ], "name": "accessCompleteContext", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [ { "name": "accessor", "type": "address" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "getCustomInfo", "outputs": [ { "name": "", "type": "uint8" }, { "name": "", "type": "uint8" }, { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "updateRequest", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "address_KMS", "type": "address" } ], "name": "setAddressKMS", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "canPublish", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "STATUS_REVIEW", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "objectHash", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_versionHash", "type": "string" } ], "name": "deleteVersion", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "addr", "type": "address" } ], "name": "setContentContractAddress", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "key", "type": "bytes" }, { "name": "value", "type": "bytes" } ], "name": "putMeta", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_EDIT", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "charge", "type": "uint256" } ], "name": "setAccessCharge", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "statusDescription", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "inputs": [ { "name": "content_space", "type": "address" }, { "name": "lib", "type": "address" }, { "name": "content_type", "type": "address" } ], "payable": true, "stateMutability": "payable", "type": "constructor" }, { "payable": true, "stateMutability": "payable", "type": "fallback" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "containingLibrary", "type": "address" } ], "name": "ContentObjectCreate", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentType", "type": "address" }, { "indexed": false, "name": "contentContractAddress", "type": "address" } ], "name": "SetContentType", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestNonce", "type": "uint256" }, { "indexed": false, "name": "label", "type": "string" }, { "indexed": false, "name": "payee", "type": "address" }, { "indexed": false, "name": "amount", "type": "uint256" } ], "name": "LogPayment", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "customValue", "type": "bytes32" } ], "name": "AccessRequestValue", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "stakeholder", "type": "address" } ], "name": "AccessRequestStakeholder", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestID", "type": "uint256" }, { "indexed": false, "name": "level", "type": "uint8" }, { "indexed": false, "name": "contentHash", "type": "string" }, { "indexed": false, "name": "pkeRequestor", "type": "string" }, { "indexed": false, "name": "pkeAFGH", "type": "string" } ], "name": "AccessRequest", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestID", "type": "uint256" }, { "indexed": false, "name": "scorePct", "type": "uint256" }, { "indexed": false, "name": "customContractResult", "type": "bool" } ], "name": "AccessComplete", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestNonce", "type": "uint256" }, { "indexed": false, "name": "customContractResult", "type": "bool" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "contextHash", "type": "bytes32" }, { "indexed": false, "name": "accessor", "type": "address" }, { "indexed": false, "name": "request_timestamp", "type": "uint256" } ], "name": "AccessCompleteV3", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentContractAddress", "type": "address" } ], "name": "SetContentContract", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "accessCharge", "type": "uint256" } ], "name": "SetAccessCharge", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "accessCharge", "type": "uint256" }, { "indexed": false, "name": "amountProvided", "type": "uint256" } ], "name": "InsufficientFunds", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "statusCode", "type": "int256" } ], "name": "SetStatusCode", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestStatus", "type": "bool" }, { "indexed": false, "name": "statusCode", "type": "int256" }, { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "Publish", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "custom_contract", "type": "address" } ], "name": "InvokeCustomPreHook", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "custom_contract", "type": "address" }, { "indexed": false, "name": "result", "type": "uint256" } ], "name": "ReturnCustomHook", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "custom_contract", "type": "address" } ], "name": "InvokeCustomPostHook", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "CommitPending", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "UpdateRequest", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "VersionConfirm", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "versionHash", "type": "string" }, { "indexed": false, "name": "index", "type": "int256" } ], "name": "VersionDelete", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestNonce", "type": "uint256" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "contextHash", "type": "bytes32" }, { "indexed": false, "name": "accessor", "type": "address" }, { "indexed": false, "name": "requestTimestamp", "type": "uint256" } ], "name": "AccessRequestV3", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentSpace", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "visibility", "type": "uint8" } ], "name": "VisibilityChanged", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "key", "type": "bytes" } ], "name": "ObjectMetaChanged", "type": "event" } ], "methodName": "getKMSInfo", "methodArgs": [ [] ], "formatArguments": false }); [ "https://host-34-65-65-227.testv2.contentfabric.io/eth/,https://host-34-105-49-255.testv2.contentfabric.io/eth/", "kepkjPtk9MjDv3qrUvoE3qoi66wZFcqbZKmo2Lnxt6CKku45" ]
async CallContractMethod({ "contractAddress": "0x4bc2174003693d09d3b030cba23e659ae8ec269c", "methodName": "pendingHash" }); ""
async CallContractMethod({ "contractAddress": "0x4bc2174003693d09d3b030cba23e659ae8ec269c", "methodName": "objectHash" }); "hq__KEb1KzuifJmqr6wVFDFLwMJjLNb3YJxCyNGgN9U7TiviEVPMQ2ZLZA5eknQ1rey7tvWYqsCedh"
async CallContractMethod({ "contractAddress": "0xa8f7cee1ca8e77292f0cd7aad14849f783ee5cba", "methodName": "pendingHash" }); ""
async CallContractMethod({ "contractAddress": "0x4bc2174003693d09d3b030cba23e659ae8ec269c", "methodName": "pendingHash" }); "hq__H6ygcx5tCcQmK84W6fjAxVEJk7jj1uy4D4KKb9wd1TuArvb44UkGvELtxNbbnersvkzuiN1ukX"
async CallContractMethod({ "contractAddress": "0xa8f7cee1ca8e77292f0cd7aad14849f783ee5cba", "methodName": "objectHash" }); "hq__5u5T6cb8qSAE5ms7hQF6FMcmPmDTeyZHu1Zz5rFjLCHnzeVrFMt993cDcstkW4k5AqrrRN91sP"
async CallContractMethod({ "contractAddress": "0xa8f7cee1ca8e77292f0cd7aad14849f783ee5cba", "methodName": "libraryAddress" }); "0x97172A5190A9967238444e2e7983f934A8D40e47"
async CallContractMethod({ "contractAddress": "0xa8f7cee1ca8e77292f0cd7aad14849f783ee5cba", "methodName": "pendingHash" }); "hq__FpupZ6b3eVaxCUBv1yn26bqscg3b1aEwdHm7qEx5kFAVhfceVWEH65W8oY8p4u7PsGHYSEnUSD"
async CallContractMethod({ "contractAddress": "0xa8f7cee1ca8e77292f0cd7aad14849f783ee5cba", "methodName": "objectHash" }); "hq__FpupZ6b3eVaxCUBv1yn26bqscg3b1aEwdHm7qEx5kFAVhfceVWEH65W8oY8p4u7PsGHYSEnUSD"
async CallContractMethod({ "contractAddress": "0xa8f7cee1ca8e77292f0cd7aad14849f783ee5cba", "methodName": "visibility" }); 10
async CallContractMethod({ "contractAddress": "0xa8f7cee1ca8e77292f0cd7aad14849f783ee5cba", "methodName": "owner", "methodArgs": [] }); "0x665AEe2328fa4040e569e91be23Faf5A82a6186C"
- Source:
static CallContractMethodAndWait({contractAddress,abioptional,methodName,methodArgsoptional,valueoptional,overridesoptional,formatArgumentsoptional}) → Promise.<*>
Call the specified method on a deployed contract and wait for the transaction to be mined. This action will be performed by this client's signer.
Use this method to call transaction-performing methods and wait for the transaction to complete.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
contractAddress |
string |
Address of the contract to call the specified method on |
||
abi |
Object |
<optional> |
ABI of contract - If the contract is a standard Eluvio contract, this can be determined automatically if not specified |
|
methodName |
string |
Method to call on the contract |
||
methodArgs |
Array.<string> |
<optional> |
[ |
List of arguments to the contract constructor |
value |
number | BigNumber |
<optional> |
Amount of ether to include in the transaction |
|
overrides |
Object |
<optional> |
Change default gasPrice or gasLimit used for this action |
|
formatArguments |
boolean |
<optional> |
true |
If specified, the arguments will automatically be formatted to the ABI specification |
Examples
async CallContractMethodAndWait({ "contractAddress": "0xa570b8c292b02a0bca8e4c3f2da9abad0da8951a", "abi": [ { "constant": true, "inputs": [], "name": "parentAddress", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "address_KMS", "type": "address" } ], "name": "updateAddressKMS", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "creator", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "_candidate", "type": "address" } ], "name": "canContribute", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "content_type", "type": "address" }, { "name": "content_contract", "type": "address" } ], "name": "addContentType", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "stakeholder", "type": "address" }, { "name": "access_type", "type": "uint8" }, { "name": "access", "type": "uint8" } ], "name": "setRights", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_SEE", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "canConfirm", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "approvalRequestsLength", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "group", "type": "address" } ], "name": "removeReviewerGroup", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessRequestV3", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "address" } ], "name": "contentTypeContracts", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "group", "type": "address" } ], "name": "addAccessorGroup", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "content_type", "type": "address" } ], "name": "createContent", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "typeHash", "type": "bytes32" } ], "name": "findTypeByHash", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "reviewerGroupsLength", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "group", "type": "address" }, { "name": "access_type", "type": "uint8" }, { "name": "access", "type": "uint8" } ], "name": "setGroupRights", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "contributorGroups", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "_candidate", "type": "address" } ], "name": "isAdmin", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "visibility", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "_candidate", "type": "address" } ], "name": "canReview", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "content_type", "type": "address" } ], "name": "validType", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "accessorGroups", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "contentObj", "type": "address" } ], "name": "publish", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "addressKMS", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "countVersionHashes", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "commitPending", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "group", "type": "address" } ], "name": "removeContributorGroup", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "requiresReview", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "objectTimestamp", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "kill", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [], "name": "confirmCommit", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [], "name": "contributorGroupsLength", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "submitApprovalRequest", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "version", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "versionAPI", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "clearPending", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "pendingHash", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "indexCategory", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "index", "type": "uint256" } ], "name": "getPendingApprovalRequest", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "group", "type": "address" } ], "name": "addContributorGroup", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "candidate", "type": "address" } ], "name": "hasEditorRight", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "newCreator", "type": "address" } ], "name": "transferCreatorship", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "canCommit", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "versionTimestamp", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "versionHashes", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "canEdit", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "content_contract", "type": "address" }, { "name": "approved", "type": "bool" }, { "name": "note", "type": "string" } ], "name": "approveContent", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "_contentAddr", "type": "address" } ], "name": "deleteContent", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "approvalRequests", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "owner", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "reviewerGroups", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "candidate", "type": "address" } ], "name": "hasAccess", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_ACCESS", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_objectHash", "type": "string" } ], "name": "commit", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "contentTypes", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "_candidate", "type": "address" } ], "name": "canPublish", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "content_type", "type": "address" } ], "name": "whitelistedType", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_visibility_code", "type": "uint8" } ], "name": "setVisibility", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "key", "type": "bytes" } ], "name": "getMeta", "outputs": [ { "name": "", "type": "bytes" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "contentSpace", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "updateRequest", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "contentTypesLength", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "address_KMS", "type": "address" } ], "name": "setAddressKMS", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "canPublish", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "group", "type": "address" } ], "name": "addReviewerGroup", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "objectHash", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_versionHash", "type": "string" } ], "name": "deleteVersion", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "key", "type": "bytes" }, { "name": "value", "type": "bytes" } ], "name": "putMeta", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "accessorGroupsLength", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "group", "type": "address" } ], "name": "removeAccessorGroup", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_EDIT", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "content_type", "type": "address" } ], "name": "removeContentType", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "name": "address_KMS", "type": "address" }, { "name": "content_space", "type": "address" } ], "payable": true, "stateMutability": "payable", "type": "constructor" }, { "payable": true, "stateMutability": "payable", "type": "fallback" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentAddress", "type": "address" }, { "indexed": false, "name": "content_type", "type": "address" }, { "indexed": false, "name": "spaceAddress", "type": "address" } ], "name": "ContentObjectCreated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentAddress", "type": "address" }, { "indexed": false, "name": "spaceAddress", "type": "address" } ], "name": "ContentObjectDeleted", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "group", "type": "address" } ], "name": "ContributorGroupAdded", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "group", "type": "address" } ], "name": "ContributorGroupRemoved", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "group", "type": "address" } ], "name": "ReviewerGroupAdded", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "group", "type": "address" } ], "name": "ReviewerGroupRemoved", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "group", "type": "address" } ], "name": "AccessorGroupAdded", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "group", "type": "address" } ], "name": "AccessorGroupRemoved", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "operationCode", "type": "uint256" }, { "indexed": false, "name": "candidate", "type": "address" } ], "name": "UnauthorizedOperation", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentAddress", "type": "address" }, { "indexed": false, "name": "submitter", "type": "address" } ], "name": "ApproveContentRequest", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentAddress", "type": "address" }, { "indexed": false, "name": "approved", "type": "bool" }, { "indexed": false, "name": "note", "type": "string" } ], "name": "ApproveContent", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "addressKms", "type": "address" } ], "name": "UpdateKmsAddress", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentType", "type": "address" }, { "indexed": false, "name": "contentContract", "type": "address" } ], "name": "ContentTypeAdded", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentType", "type": "address" } ], "name": "ContentTypeRemoved", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "CommitPending", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "UpdateRequest", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "VersionConfirm", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "versionHash", "type": "string" }, { "indexed": false, "name": "index", "type": "int256" } ], "name": "VersionDelete", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestNonce", "type": "uint256" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "contextHash", "type": "bytes32" }, { "indexed": false, "name": "accessor", "type": "address" }, { "indexed": false, "name": "requestTimestamp", "type": "uint256" } ], "name": "AccessRequestV3", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentSpace", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "visibility", "type": "uint8" } ], "name": "VisibilityChanged", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "key", "type": "bytes" } ], "name": "ObjectMetaChanged", "type": "event" } ], "methodName": "accessRequestV3", "methodArgs": [ [], [] ], "value": 0 }); { "to": "0xA570b8c292b02a0bca8E4C3F2dA9aBAD0dA8951a", "from": "0x249e5764B14962387e82429152CA748D90130769", "contractAddress": null, "transactionIndex": 0, "gasUsed": { "_hex": "0xa88a" }, "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "blockHash": "0x422165c949fa0f9a349bf04f42d48012dc2164e475aa28a9da1daadc85cc4270", "transactionHash": "0x178860184795fff54c73eb7da295669e2eddda9d8278253ce791f2336c7c9f70", "logs": [], "blockNumber": 203354, "confirmations": 1, "cumulativeGasUsed": { "_hex": "0xa88a" }, "status": 0, "byzantium": true }
async CallContractMethodAndWait({ "contractAddress": "0xfea494af0cfb6bbc257314f4c00850a5f03476d0", "abi": [ { "constant": true, "inputs": [], "name": "STATUS_PUBLISHED", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "parentAddress", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "creator", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "request_ID", "type": "uint256" }, { "name": "score_pct", "type": "uint256" }, { "name": "", "type": "uint256" } ], "name": "accessComplete", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [], "name": "publish", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [ { "name": "requestNonce", "type": "uint256" }, { "name": "payee", "type": "address" }, { "name": "label", "type": "string" }, { "name": "amount", "type": "uint256" } ], "name": "processRequestPayment", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "stakeholder", "type": "address" }, { "name": "access_type", "type": "uint8" }, { "name": "access", "type": "uint8" } ], "name": "setRights", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_SEE", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "canConfirm", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "requestMap", "outputs": [ { "name": "originator", "type": "address" }, { "name": "amountPaid", "type": "uint256" }, { "name": "status", "type": "int8" }, { "name": "settled", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessRequestV3", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [ { "name": "group", "type": "address" }, { "name": "access_type", "type": "uint8" }, { "name": "access", "type": "uint8" } ], "name": "setGroupRights", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "contentContractAddress", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "_candidate", "type": "address" } ], "name": "isAdmin", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "statusCode", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "visibility", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "addressKMS", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "countVersionHashes", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "contentType", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "commitPending", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "status_code", "type": "int256" } ], "name": "statusCodeDescription", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "level", "type": "uint8" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "getAccessInfo", "outputs": [ { "name": "", "type": "uint8" }, { "name": "", "type": "uint8" }, { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "objectTimestamp", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "kill", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [], "name": "confirmCommit", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [ { "name": "requestNonce", "type": "uint256" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessCompleteV3", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [ { "name": "requestNonce", "type": "uint256" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessCompleteInternal", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [], "name": "STATUS_DRAFT", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "status_code", "type": "int256" } ], "name": "setStatusCode", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "version", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "versionAPI", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "clearPending", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "pendingHash", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "indexCategory", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "accessCharge", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "candidate", "type": "address" } ], "name": "hasEditorRight", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "newCreator", "type": "address" } ], "name": "transferCreatorship", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "canCommit", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "versionTimestamp", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "requestNonce", "type": "uint256" }, { "name": "contextHash", "type": "bytes32" }, { "name": "accessor", "type": "address" }, { "name": "request_timestamp", "type": "uint256" } ], "name": "accessRequestContext", "outputs": [ { "name": "", "type": "uint256" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "versionHashes", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "accessor", "type": "address" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "getAccessInfoV3", "outputs": [ { "name": "", "type": "uint8" }, { "name": "", "type": "uint8" }, { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "canEdit", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "status_code", "type": "int256" } ], "name": "updateStatus", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "owner", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "reqId", "type": "uint256" } ], "name": "makeNonce", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "requestID", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "candidate", "type": "address" } ], "name": "hasAccess", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_ACCESS", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_objectHash", "type": "string" } ], "name": "commit", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "level", "type": "uint8" }, { "name": "pkeRequestor", "type": "string" }, { "name": "pkeAFGH", "type": "string" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessRequest", "outputs": [ { "name": "", "type": "uint256" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [ { "name": "prefix", "type": "bytes" } ], "name": "getKMSInfo", "outputs": [ { "name": "", "type": "string" }, { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_visibility_code", "type": "uint8" } ], "name": "setVisibility", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "key", "type": "bytes" } ], "name": "getMeta", "outputs": [ { "name": "", "type": "bytes" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "contentSpace", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "libraryAddress", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_requestNonce", "type": "uint256" }, { "name": "_contextHash", "type": "bytes32" }, { "name": "_accessor", "type": "address" }, { "name": "_request_timestamp", "type": "uint256" } ], "name": "accessCompleteContext", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [ { "name": "accessor", "type": "address" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "getCustomInfo", "outputs": [ { "name": "", "type": "uint8" }, { "name": "", "type": "uint8" }, { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "updateRequest", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "address_KMS", "type": "address" } ], "name": "setAddressKMS", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "canPublish", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "STATUS_REVIEW", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "objectHash", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_versionHash", "type": "string" } ], "name": "deleteVersion", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "addr", "type": "address" } ], "name": "setContentContractAddress", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "key", "type": "bytes" }, { "name": "value", "type": "bytes" } ], "name": "putMeta", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_EDIT", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "charge", "type": "uint256" } ], "name": "setAccessCharge", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "statusDescription", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "inputs": [ { "name": "content_space", "type": "address" }, { "name": "lib", "type": "address" }, { "name": "content_type", "type": "address" } ], "payable": true, "stateMutability": "payable", "type": "constructor" }, { "payable": true, "stateMutability": "payable", "type": "fallback" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "containingLibrary", "type": "address" } ], "name": "ContentObjectCreate", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentType", "type": "address" }, { "indexed": false, "name": "contentContractAddress", "type": "address" } ], "name": "SetContentType", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestNonce", "type": "uint256" }, { "indexed": false, "name": "label", "type": "string" }, { "indexed": false, "name": "payee", "type": "address" }, { "indexed": false, "name": "amount", "type": "uint256" } ], "name": "LogPayment", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "customValue", "type": "bytes32" } ], "name": "AccessRequestValue", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "stakeholder", "type": "address" } ], "name": "AccessRequestStakeholder", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestID", "type": "uint256" }, { "indexed": false, "name": "level", "type": "uint8" }, { "indexed": false, "name": "contentHash", "type": "string" }, { "indexed": false, "name": "pkeRequestor", "type": "string" }, { "indexed": false, "name": "pkeAFGH", "type": "string" } ], "name": "AccessRequest", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestID", "type": "uint256" }, { "indexed": false, "name": "scorePct", "type": "uint256" }, { "indexed": false, "name": "customContractResult", "type": "bool" } ], "name": "AccessComplete", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestNonce", "type": "uint256" }, { "indexed": false, "name": "customContractResult", "type": "bool" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "contextHash", "type": "bytes32" }, { "indexed": false, "name": "accessor", "type": "address" }, { "indexed": false, "name": "request_timestamp", "type": "uint256" } ], "name": "AccessCompleteV3", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentContractAddress", "type": "address" } ], "name": "SetContentContract", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "accessCharge", "type": "uint256" } ], "name": "SetAccessCharge", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "accessCharge", "type": "uint256" }, { "indexed": false, "name": "amountProvided", "type": "uint256" } ], "name": "InsufficientFunds", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "statusCode", "type": "int256" } ], "name": "SetStatusCode", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestStatus", "type": "bool" }, { "indexed": false, "name": "statusCode", "type": "int256" }, { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "Publish", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "custom_contract", "type": "address" } ], "name": "InvokeCustomPreHook", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "custom_contract", "type": "address" }, { "indexed": false, "name": "result", "type": "uint256" } ], "name": "ReturnCustomHook", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "custom_contract", "type": "address" } ], "name": "InvokeCustomPostHook", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "CommitPending", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "UpdateRequest", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "VersionConfirm", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "versionHash", "type": "string" }, { "indexed": false, "name": "index", "type": "int256" } ], "name": "VersionDelete", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestNonce", "type": "uint256" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "contextHash", "type": "bytes32" }, { "indexed": false, "name": "accessor", "type": "address" }, { "indexed": false, "name": "requestTimestamp", "type": "uint256" } ], "name": "AccessRequestV3", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentSpace", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "visibility", "type": "uint8" } ], "name": "VisibilityChanged", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "key", "type": "bytes" } ], "name": "ObjectMetaChanged", "type": "event" } ], "methodName": "accessRequestV3", "methodArgs": [ [], [] ], "value": "0" }); { "to": "0xFEa494Af0CFb6BBc257314F4c00850A5f03476d0", "from": "0x249e5764B14962387e82429152CA748D90130769", "contractAddress": null, "transactionIndex": 0, "gasUsed": { "_hex": "0x164ca" }, "logsBloom": "0x00000000000000000000010000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000008000800000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "blockHash": "0x1b5118838e09ef51aac1d11376fcf8f1b22861a18030bdcf7a2091af134e0d1d", "transactionHash": "0xf81e158fc07d07c25bda46930e1ff6d7f3d9ed80bcc18aadf1d106f7b8baccb9", "logs": [ { "transactionIndex": 0, "blockNumber": 203355, "transactionHash": "0xf81e158fc07d07c25bda46930e1ff6d7f3d9ed80bcc18aadf1d106f7b8baccb9", "address": "0xFEa494Af0CFb6BBc257314F4c00850A5f03476d0", "topics": [ "0x545ceffc5093a8300777a74bb094968fbd62d128313df01eb72fd5350ec659c7" ], "data": "0xf0ce07802edcec2934d6c6f73666a1b1b0d76fd5a504a5930e7f74dc1d48cd7e000000000000000000000000a570b8c292b02a0bca8e4c3f2da9abad0da8951a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000249e5764b14962387e82429152ca748d9013076900000000000000000000000000000000000000000000000000000178189a0f88", "logIndex": 0, "blockHash": "0x1b5118838e09ef51aac1d11376fcf8f1b22861a18030bdcf7a2091af134e0d1d", "transactionLogIndex": 0, "decode": "<function>", "name": "AccessRequestV3", "signature": "AccessRequestV3(uint256,address,bytes32,address,uint256)", "topic": "0x545ceffc5093a8300777a74bb094968fbd62d128313df01eb72fd5350ec659c7", "values": { "0": { "_hex": "0xf0ce07802edcec2934d6c6f73666a1b1b0d76fd5a504a5930e7f74dc1d48cd7e" }, "1": "0xA570b8c292b02a0bca8E4C3F2dA9aBAD0dA8951a", "2": "0x0000000000000000000000000000000000000000000000000000000000000000", "3": "0x249e5764B14962387e82429152CA748D90130769", "4": { "_hex": "0x0178189a0f88" }, "requestNonce": { "_hex": "0xf0ce07802edcec2934d6c6f73666a1b1b0d76fd5a504a5930e7f74dc1d48cd7e" }, "parentAddress": "0xA570b8c292b02a0bca8E4C3F2dA9aBAD0dA8951a", "contextHash": "0x0000000000000000000000000000000000000000000000000000000000000000", "accessor": "0x249e5764B14962387e82429152CA748D90130769", "requestTimestamp": { "_hex": "0x0178189a0f88" }, "length": 5 } } ], "blockNumber": 203355, "confirmations": 1, "cumulativeGasUsed": { "_hex": "0x164ca" }, "status": 1, "byzantium": true }
async CallContractMethodAndWait({ "contractAddress": "0xfea494af0cfb6bbc257314f4c00850a5f03476d0", "methodName": "setVisibility", "methodArgs": [ 10 ] }); { "to": "0xFEa494Af0CFb6BBc257314F4c00850A5f03476d0", "from": "0x665AEe2328fa4040e569e91be23Faf5A82a6186C", "contractAddress": null, "transactionIndex": 0, "gasUsed": { "_hex": "0x7399" }, "logsBloom": "0x00000000000000000000000000000000000000000000000000000400000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000", "blockHash": "0xa1a69b52f0e2449d70c50e62b0946b09dcf79238a641859d797f0aa808923ac5", "transactionHash": "0xcb340cc23c34da5528bc2234bd6c4260a04f3370f3fce28bd748b169acf9f8db", "logs": [ { "transactionIndex": 0, "blockNumber": 203358, "transactionHash": "0xcb340cc23c34da5528bc2234bd6c4260a04f3370f3fce28bd748b169acf9f8db", "address": "0xFEa494Af0CFb6BBc257314F4c00850A5f03476d0", "topics": [ "0x369a336baa7895746725663e717b3523139ebabfff8c32bc4b13e8f88e502500" ], "data": "0x000000000000000000000000e43da44cd2f7b9ead9405c8763dc7493a5ab54f1000000000000000000000000a570b8c292b02a0bca8e4c3f2da9abad0da8951a000000000000000000000000000000000000000000000000000000000000000a", "logIndex": 0, "blockHash": "0xa1a69b52f0e2449d70c50e62b0946b09dcf79238a641859d797f0aa808923ac5", "transactionLogIndex": 0, "decode": "<function>", "name": "VisibilityChanged", "signature": "VisibilityChanged(address,address,uint8)", "topic": "0x369a336baa7895746725663e717b3523139ebabfff8c32bc4b13e8f88e502500", "values": { "0": "0xe43DA44cd2f7b9Ead9405C8763Dc7493a5AB54f1", "1": "0xA570b8c292b02a0bca8E4C3F2dA9aBAD0dA8951a", "2": 10, "contentSpace": "0xe43DA44cd2f7b9Ead9405C8763Dc7493a5AB54f1", "parentAddress": "0xA570b8c292b02a0bca8E4C3F2dA9aBAD0dA8951a", "visibility": 10, "length": 3 } } ], "blockNumber": 203358, "confirmations": 1, "cumulativeGasUsed": { "_hex": "0x7399" }, "status": 1, "byzantium": true }
async CallContractMethodAndWait({ "contractAddress": "0x8b42013151e80d738cfd81157b80be7febbccc5a", "abi": [ { "constant": true, "inputs": [], "name": "parentAddress", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "address_KMS", "type": "address" } ], "name": "updateAddressKMS", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "creator", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "_candidate", "type": "address" } ], "name": "canContribute", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "content_type", "type": "address" }, { "name": "content_contract", "type": "address" } ], "name": "addContentType", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "stakeholder", "type": "address" }, { "name": "access_type", "type": "uint8" }, { "name": "access", "type": "uint8" } ], "name": "setRights", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_SEE", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "canConfirm", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "approvalRequestsLength", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "group", "type": "address" } ], "name": "removeReviewerGroup", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessRequestV3", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "address" } ], "name": "contentTypeContracts", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "group", "type": "address" } ], "name": "addAccessorGroup", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "content_type", "type": "address" } ], "name": "createContent", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "typeHash", "type": "bytes32" } ], "name": "findTypeByHash", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "reviewerGroupsLength", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "group", "type": "address" }, { "name": "access_type", "type": "uint8" }, { "name": "access", "type": "uint8" } ], "name": "setGroupRights", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "contributorGroups", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "_candidate", "type": "address" } ], "name": "isAdmin", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "visibility", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "_candidate", "type": "address" } ], "name": "canReview", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "content_type", "type": "address" } ], "name": "validType", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "accessorGroups", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "contentObj", "type": "address" } ], "name": "publish", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "addressKMS", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "countVersionHashes", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "commitPending", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "group", "type": "address" } ], "name": "removeContributorGroup", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "requiresReview", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "objectTimestamp", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "kill", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [], "name": "confirmCommit", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [], "name": "contributorGroupsLength", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "submitApprovalRequest", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "version", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "versionAPI", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "clearPending", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "pendingHash", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "indexCategory", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "index", "type": "uint256" } ], "name": "getPendingApprovalRequest", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "group", "type": "address" } ], "name": "addContributorGroup", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "candidate", "type": "address" } ], "name": "hasEditorRight", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "newCreator", "type": "address" } ], "name": "transferCreatorship", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "canCommit", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "versionTimestamp", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "versionHashes", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "canEdit", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "content_contract", "type": "address" }, { "name": "approved", "type": "bool" }, { "name": "note", "type": "string" } ], "name": "approveContent", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "_contentAddr", "type": "address" } ], "name": "deleteContent", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "approvalRequests", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "owner", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "reviewerGroups", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "candidate", "type": "address" } ], "name": "hasAccess", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_ACCESS", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_objectHash", "type": "string" } ], "name": "commit", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "contentTypes", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "_candidate", "type": "address" } ], "name": "canPublish", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "content_type", "type": "address" } ], "name": "whitelistedType", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_visibility_code", "type": "uint8" } ], "name": "setVisibility", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "key", "type": "bytes" } ], "name": "getMeta", "outputs": [ { "name": "", "type": "bytes" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "contentSpace", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "updateRequest", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "contentTypesLength", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "address_KMS", "type": "address" } ], "name": "setAddressKMS", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "canPublish", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "group", "type": "address" } ], "name": "addReviewerGroup", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "objectHash", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_versionHash", "type": "string" } ], "name": "deleteVersion", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "key", "type": "bytes" }, { "name": "value", "type": "bytes" } ], "name": "putMeta", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "accessorGroupsLength", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "group", "type": "address" } ], "name": "removeAccessorGroup", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_EDIT", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "content_type", "type": "address" } ], "name": "removeContentType", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "name": "address_KMS", "type": "address" }, { "name": "content_space", "type": "address" } ], "payable": true, "stateMutability": "payable", "type": "constructor" }, { "payable": true, "stateMutability": "payable", "type": "fallback" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentAddress", "type": "address" }, { "indexed": false, "name": "content_type", "type": "address" }, { "indexed": false, "name": "spaceAddress", "type": "address" } ], "name": "ContentObjectCreated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentAddress", "type": "address" }, { "indexed": false, "name": "spaceAddress", "type": "address" } ], "name": "ContentObjectDeleted", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "group", "type": "address" } ], "name": "ContributorGroupAdded", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "group", "type": "address" } ], "name": "ContributorGroupRemoved", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "group", "type": "address" } ], "name": "ReviewerGroupAdded", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "group", "type": "address" } ], "name": "ReviewerGroupRemoved", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "group", "type": "address" } ], "name": "AccessorGroupAdded", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "group", "type": "address" } ], "name": "AccessorGroupRemoved", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "operationCode", "type": "uint256" }, { "indexed": false, "name": "candidate", "type": "address" } ], "name": "UnauthorizedOperation", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentAddress", "type": "address" }, { "indexed": false, "name": "submitter", "type": "address" } ], "name": "ApproveContentRequest", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentAddress", "type": "address" }, { "indexed": false, "name": "approved", "type": "bool" }, { "indexed": false, "name": "note", "type": "string" } ], "name": "ApproveContent", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "addressKms", "type": "address" } ], "name": "UpdateKmsAddress", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentType", "type": "address" }, { "indexed": false, "name": "contentContract", "type": "address" } ], "name": "ContentTypeAdded", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentType", "type": "address" } ], "name": "ContentTypeRemoved", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "CommitPending", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "UpdateRequest", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "VersionConfirm", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "versionHash", "type": "string" }, { "indexed": false, "name": "index", "type": "int256" } ], "name": "VersionDelete", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestNonce", "type": "uint256" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "contextHash", "type": "bytes32" }, { "indexed": false, "name": "accessor", "type": "address" }, { "indexed": false, "name": "requestTimestamp", "type": "uint256" } ], "name": "AccessRequestV3", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentSpace", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "visibility", "type": "uint8" } ], "name": "VisibilityChanged", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "key", "type": "bytes" } ], "name": "ObjectMetaChanged", "type": "event" } ], "methodName": "updateRequest", "methodArgs": [] }); { "to": "0x8B42013151E80D738cfD81157B80be7feBbCCC5a", "from": "0x665AEe2328fa4040e569e91be23Faf5A82a6186C", "contractAddress": null, "transactionIndex": 0, "gasUsed": { "_hex": "0x5c82" }, "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000200000000000000000000000000000000000000000010000000000010000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "blockHash": "0x7c8083cd45a6906d806a23847ac6f313726bf67397492263d3c62b713653a719", "transactionHash": "0xa05cb9cb31ad9e1119f3cc6a95de3f8fd5a66397e9aa42c172d9a76a0eafa926", "logs": [ { "transactionIndex": 0, "blockNumber": 203360, "transactionHash": "0xa05cb9cb31ad9e1119f3cc6a95de3f8fd5a66397e9aa42c172d9a76a0eafa926", "address": "0x8B42013151E80D738cfD81157B80be7feBbCCC5a", "topics": [ "0x403f30aa5f4f2f89331a7b50054f64a00ce206f4d0a37f566ff344bbe46f8b65" ], "data": "0x00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000", "logIndex": 0, "blockHash": "0x7c8083cd45a6906d806a23847ac6f313726bf67397492263d3c62b713653a719", "transactionLogIndex": 0, "decode": "<function>", "name": "UpdateRequest", "signature": "UpdateRequest(string)", "topic": "0x403f30aa5f4f2f89331a7b50054f64a00ce206f4d0a37f566ff344bbe46f8b65", "values": { "0": "", "objectHash": "", "length": 1 } } ], "blockNumber": 203360, "confirmations": 1, "cumulativeGasUsed": { "_hex": "0x5c82" }, "status": 1, "byzantium": true }
async CallContractMethodAndWait({ "contractAddress": "0xa9749f575e1faadaddd1fe8a8410b25460307f80", "methodName": "setVisibility", "methodArgs": [ 1 ] }); { "to": "0xA9749f575e1faADAddD1Fe8A8410b25460307F80", "from": "0x665AEe2328fa4040e569e91be23Faf5A82a6186C", "contractAddress": null, "transactionIndex": 0, "gasUsed": { "_hex": "0x7399" }, "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000", "blockHash": "0x433fc4910e6ef721187c172df8aff62eb350c525d056dbdae32d27173da811b9", "transactionHash": "0x9d9cc8755d79032d2fcba674cff656e299bfc1aae3430c87cf3316c02309c11b", "logs": [ { "transactionIndex": 0, "blockNumber": 203364, "transactionHash": "0x9d9cc8755d79032d2fcba674cff656e299bfc1aae3430c87cf3316c02309c11b", "address": "0xA9749f575e1faADAddD1Fe8A8410b25460307F80", "topics": [ "0x369a336baa7895746725663e717b3523139ebabfff8c32bc4b13e8f88e502500" ], "data": "0x000000000000000000000000e43da44cd2f7b9ead9405c8763dc7493a5ab54f10000000000000000000000008b42013151e80d738cfd81157b80be7febbccc5a0000000000000000000000000000000000000000000000000000000000000001", "logIndex": 0, "blockHash": "0x433fc4910e6ef721187c172df8aff62eb350c525d056dbdae32d27173da811b9", "transactionLogIndex": 0, "decode": "<function>", "name": "VisibilityChanged", "signature": "VisibilityChanged(address,address,uint8)", "topic": "0x369a336baa7895746725663e717b3523139ebabfff8c32bc4b13e8f88e502500", "values": { "0": "0xe43DA44cd2f7b9Ead9405C8763Dc7493a5AB54f1", "1": "0x8B42013151E80D738cfD81157B80be7feBbCCC5a", "2": 1, "contentSpace": "0xe43DA44cd2f7b9Ead9405C8763Dc7493a5AB54f1", "parentAddress": "0x8B42013151E80D738cfD81157B80be7feBbCCC5a", "visibility": 1, "length": 3 } } ], "blockNumber": 203364, "confirmations": 1, "cumulativeGasUsed": { "_hex": "0x7399" }, "status": 1, "byzantium": true }
async CallContractMethodAndWait({ "contractAddress": "0xa9749f575e1faadaddd1fe8a8410b25460307f80", "abi": [ { "constant": true, "inputs": [], "name": "STATUS_PUBLISHED", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "parentAddress", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "creator", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "request_ID", "type": "uint256" }, { "name": "score_pct", "type": "uint256" }, { "name": "", "type": "uint256" } ], "name": "accessComplete", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [], "name": "publish", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [ { "name": "requestNonce", "type": "uint256" }, { "name": "payee", "type": "address" }, { "name": "label", "type": "string" }, { "name": "amount", "type": "uint256" } ], "name": "processRequestPayment", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "stakeholder", "type": "address" }, { "name": "access_type", "type": "uint8" }, { "name": "access", "type": "uint8" } ], "name": "setRights", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_SEE", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "canConfirm", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "requestMap", "outputs": [ { "name": "originator", "type": "address" }, { "name": "amountPaid", "type": "uint256" }, { "name": "status", "type": "int8" }, { "name": "settled", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessRequestV3", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [ { "name": "group", "type": "address" }, { "name": "access_type", "type": "uint8" }, { "name": "access", "type": "uint8" } ], "name": "setGroupRights", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "contentContractAddress", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "_candidate", "type": "address" } ], "name": "isAdmin", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "statusCode", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "visibility", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "addressKMS", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "countVersionHashes", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "contentType", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "commitPending", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "status_code", "type": "int256" } ], "name": "statusCodeDescription", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "level", "type": "uint8" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "getAccessInfo", "outputs": [ { "name": "", "type": "uint8" }, { "name": "", "type": "uint8" }, { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "objectTimestamp", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "kill", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [], "name": "confirmCommit", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [ { "name": "requestNonce", "type": "uint256" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessCompleteV3", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [ { "name": "requestNonce", "type": "uint256" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessCompleteInternal", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [], "name": "STATUS_DRAFT", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "status_code", "type": "int256" } ], "name": "setStatusCode", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "version", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "versionAPI", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "clearPending", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "pendingHash", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "indexCategory", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "accessCharge", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "candidate", "type": "address" } ], "name": "hasEditorRight", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "newCreator", "type": "address" } ], "name": "transferCreatorship", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "canCommit", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "versionTimestamp", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "requestNonce", "type": "uint256" }, { "name": "contextHash", "type": "bytes32" }, { "name": "accessor", "type": "address" }, { "name": "request_timestamp", "type": "uint256" } ], "name": "accessRequestContext", "outputs": [ { "name": "", "type": "uint256" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "versionHashes", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "accessor", "type": "address" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "getAccessInfoV3", "outputs": [ { "name": "", "type": "uint8" }, { "name": "", "type": "uint8" }, { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "canEdit", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "status_code", "type": "int256" } ], "name": "updateStatus", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "owner", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "reqId", "type": "uint256" } ], "name": "makeNonce", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "requestID", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "candidate", "type": "address" } ], "name": "hasAccess", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_ACCESS", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_objectHash", "type": "string" } ], "name": "commit", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "level", "type": "uint8" }, { "name": "pkeRequestor", "type": "string" }, { "name": "pkeAFGH", "type": "string" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessRequest", "outputs": [ { "name": "", "type": "uint256" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [ { "name": "prefix", "type": "bytes" } ], "name": "getKMSInfo", "outputs": [ { "name": "", "type": "string" }, { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_visibility_code", "type": "uint8" } ], "name": "setVisibility", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "key", "type": "bytes" } ], "name": "getMeta", "outputs": [ { "name": "", "type": "bytes" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "contentSpace", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "libraryAddress", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_requestNonce", "type": "uint256" }, { "name": "_contextHash", "type": "bytes32" }, { "name": "_accessor", "type": "address" }, { "name": "_request_timestamp", "type": "uint256" } ], "name": "accessCompleteContext", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [ { "name": "accessor", "type": "address" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "getCustomInfo", "outputs": [ { "name": "", "type": "uint8" }, { "name": "", "type": "uint8" }, { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "updateRequest", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "address_KMS", "type": "address" } ], "name": "setAddressKMS", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "canPublish", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "STATUS_REVIEW", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "objectHash", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_versionHash", "type": "string" } ], "name": "deleteVersion", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "addr", "type": "address" } ], "name": "setContentContractAddress", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "key", "type": "bytes" }, { "name": "value", "type": "bytes" } ], "name": "putMeta", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_EDIT", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "charge", "type": "uint256" } ], "name": "setAccessCharge", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "statusDescription", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "inputs": [ { "name": "content_space", "type": "address" }, { "name": "lib", "type": "address" }, { "name": "content_type", "type": "address" } ], "payable": true, "stateMutability": "payable", "type": "constructor" }, { "payable": true, "stateMutability": "payable", "type": "fallback" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "containingLibrary", "type": "address" } ], "name": "ContentObjectCreate", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentType", "type": "address" }, { "indexed": false, "name": "contentContractAddress", "type": "address" } ], "name": "SetContentType", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestNonce", "type": "uint256" }, { "indexed": false, "name": "label", "type": "string" }, { "indexed": false, "name": "payee", "type": "address" }, { "indexed": false, "name": "amount", "type": "uint256" } ], "name": "LogPayment", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "customValue", "type": "bytes32" } ], "name": "AccessRequestValue", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "stakeholder", "type": "address" } ], "name": "AccessRequestStakeholder", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestID", "type": "uint256" }, { "indexed": false, "name": "level", "type": "uint8" }, { "indexed": false, "name": "contentHash", "type": "string" }, { "indexed": false, "name": "pkeRequestor", "type": "string" }, { "indexed": false, "name": "pkeAFGH", "type": "string" } ], "name": "AccessRequest", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestID", "type": "uint256" }, { "indexed": false, "name": "scorePct", "type": "uint256" }, { "indexed": false, "name": "customContractResult", "type": "bool" } ], "name": "AccessComplete", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestNonce", "type": "uint256" }, { "indexed": false, "name": "customContractResult", "type": "bool" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "contextHash", "type": "bytes32" }, { "indexed": false, "name": "accessor", "type": "address" }, { "indexed": false, "name": "request_timestamp", "type": "uint256" } ], "name": "AccessCompleteV3", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentContractAddress", "type": "address" } ], "name": "SetContentContract", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "accessCharge", "type": "uint256" } ], "name": "SetAccessCharge", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "accessCharge", "type": "uint256" }, { "indexed": false, "name": "amountProvided", "type": "uint256" } ], "name": "InsufficientFunds", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "statusCode", "type": "int256" } ], "name": "SetStatusCode", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestStatus", "type": "bool" }, { "indexed": false, "name": "statusCode", "type": "int256" }, { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "Publish", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "custom_contract", "type": "address" } ], "name": "InvokeCustomPreHook", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "custom_contract", "type": "address" }, { "indexed": false, "name": "result", "type": "uint256" } ], "name": "ReturnCustomHook", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "custom_contract", "type": "address" } ], "name": "InvokeCustomPostHook", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "CommitPending", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "UpdateRequest", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "VersionConfirm", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "versionHash", "type": "string" }, { "indexed": false, "name": "index", "type": "int256" } ], "name": "VersionDelete", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestNonce", "type": "uint256" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "contextHash", "type": "bytes32" }, { "indexed": false, "name": "accessor", "type": "address" }, { "indexed": false, "name": "requestTimestamp", "type": "uint256" } ], "name": "AccessRequestV3", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentSpace", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "visibility", "type": "uint8" } ], "name": "VisibilityChanged", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "key", "type": "bytes" } ], "name": "ObjectMetaChanged", "type": "event" } ], "methodName": "updateRequest", "methodArgs": [] }); { "to": "0xA9749f575e1faADAddD1Fe8A8410b25460307F80", "from": "0x665AEe2328fa4040e569e91be23Faf5A82a6186C", "contractAddress": null, "transactionIndex": 0, "gasUsed": { "_hex": "0x5dcf" }, "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000200000000000000000000000000000000000000000010000000000010000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "blockHash": "0x377a4409f27e5902d3aa3a243b6475cd823389d42d10da17549232ccdd1e94de", "transactionHash": "0xe358f851ac84a66eb5278e4b12e785961b8a2dee39680917d733bc81e9e368a9", "logs": [ { "transactionIndex": 0, "blockNumber": 203365, "transactionHash": "0xe358f851ac84a66eb5278e4b12e785961b8a2dee39680917d733bc81e9e368a9", "address": "0xA9749f575e1faADAddD1Fe8A8410b25460307F80", "topics": [ "0x403f30aa5f4f2f89331a7b50054f64a00ce206f4d0a37f566ff344bbe46f8b65" ], "data": "0x00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000", "logIndex": 0, "blockHash": "0x377a4409f27e5902d3aa3a243b6475cd823389d42d10da17549232ccdd1e94de", "transactionLogIndex": 0, "decode": "<function>", "name": "UpdateRequest", "signature": "UpdateRequest(string)", "topic": "0x403f30aa5f4f2f89331a7b50054f64a00ce206f4d0a37f566ff344bbe46f8b65", "values": { "0": "", "objectHash": "", "length": 1 } } ], "blockNumber": 203365, "confirmations": 1, "cumulativeGasUsed": { "_hex": "0x5dcf" }, "status": 1, "byzantium": true }
async CallContractMethodAndWait({ "contractAddress": "0xa9749f575e1faadaddd1fe8a8410b25460307f80", "methodName": "publish" }); { "to": "0xA9749f575e1faADAddD1Fe8A8410b25460307F80", "from": "0x665AEe2328fa4040e569e91be23Faf5A82a6186C", "contractAddress": null, "transactionIndex": 0, "gasUsed": { "_hex": "0x8ebd" }, "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100240000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000800000000000001000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000002000000800000000000000000000000800000000000000000000000000000000000000002000000000000000000400000000002000000000008000000000000000000000000020000000000000000000000000000000000000000000000", "blockHash": "0xa40c1bba8627e786308c1dace3173e382a8556c76c129b2fdd5b0f40e5962d9a", "transactionHash": "0x7bacdb0d075cd94b3f6c04aeebe45c57c460c0d8b3ff929d595c3e303721f7e9", "logs": [ { "transactionIndex": 0, "blockNumber": 203368, "transactionHash": "0x7bacdb0d075cd94b3f6c04aeebe45c57c460c0d8b3ff929d595c3e303721f7e9", "address": "0xA9749f575e1faADAddD1Fe8A8410b25460307F80", "topics": [ "0xda4f34b30fa0ba8a73fedb922f4d28e2a10a5d68e53cf8e942abce3ac09158a2" ], "data": "0x0000000000000000000000000000000000000000000000000000000000000001", "logIndex": 0, "blockHash": "0xa40c1bba8627e786308c1dace3173e382a8556c76c129b2fdd5b0f40e5962d9a", "transactionLogIndex": 0, "decode": "<function>", "name": "SetStatusCode", "signature": "SetStatusCode(int256)", "topic": "0xda4f34b30fa0ba8a73fedb922f4d28e2a10a5d68e53cf8e942abce3ac09158a2", "values": { "0": { "_hex": "0x01" }, "statusCode": { "_hex": "0x01" }, "length": 1 } }, { "transactionIndex": 0, "blockNumber": 203368, "transactionHash": "0x7bacdb0d075cd94b3f6c04aeebe45c57c460c0d8b3ff929d595c3e303721f7e9", "address": "0xA9749f575e1faADAddD1Fe8A8410b25460307F80", "topics": [ "0xda4f34b30fa0ba8a73fedb922f4d28e2a10a5d68e53cf8e942abce3ac09158a2" ], "data": "0x0000000000000000000000000000000000000000000000000000000000000000", "logIndex": 1, "blockHash": "0xa40c1bba8627e786308c1dace3173e382a8556c76c129b2fdd5b0f40e5962d9a", "transactionLogIndex": 1, "decode": "<function>", "name": "SetStatusCode", "signature": "SetStatusCode(int256)", "topic": "0xda4f34b30fa0ba8a73fedb922f4d28e2a10a5d68e53cf8e942abce3ac09158a2", "values": { "0": { "_hex": "0x00" }, "statusCode": { "_hex": "0x00" }, "length": 1 } }, { "transactionIndex": 0, "blockNumber": 203368, "transactionHash": "0x7bacdb0d075cd94b3f6c04aeebe45c57c460c0d8b3ff929d595c3e303721f7e9", "address": "0x8B42013151E80D738cfD81157B80be7feBbCCC5a", "topics": [ "0x70234ce475fee4ab40e5e55cf533f67f12b47ef4c860e62dd7affa84ead4b442" ], "data": "0x000000000000000000000000a9749f575e1faadaddd1fe8a8410b25460307f800000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "logIndex": 2, "blockHash": "0xa40c1bba8627e786308c1dace3173e382a8556c76c129b2fdd5b0f40e5962d9a", "transactionLogIndex": 2 }, { "transactionIndex": 0, "blockNumber": 203368, "transactionHash": "0x7bacdb0d075cd94b3f6c04aeebe45c57c460c0d8b3ff929d595c3e303721f7e9", "address": "0xA9749f575e1faADAddD1Fe8A8410b25460307F80", "topics": [ "0xad9c5eacc073b2e1767affc883e050347e1dd379c9799cb5ac0a17bde80f5cf4" ], "data": "0x000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000004e68715f5f48583872574568695550316b6f4e795a76687737696a747a70766b33597370375a4875466234374370377652443547506359785344644156506558465845796a474c487a4c5758737073000000000000000000000000000000000000", "logIndex": 3, "blockHash": "0xa40c1bba8627e786308c1dace3173e382a8556c76c129b2fdd5b0f40e5962d9a", "transactionLogIndex": 3, "decode": "<function>", "name": "Publish", "signature": "Publish(bool,int256,string)", "topic": "0xad9c5eacc073b2e1767affc883e050347e1dd379c9799cb5ac0a17bde80f5cf4", "values": { "0": true, "1": { "_hex": "0x00" }, "2": "hq__HX8rWEhiUP1koNyZvhw7ijtzpvk3Ysp7ZHuFb47Cp7vRD5GPcYxSDdAVPeXFXEyjGLHzLWXsps", "requestStatus": true, "statusCode": { "_hex": "0x00" }, "objectHash": "hq__HX8rWEhiUP1koNyZvhw7ijtzpvk3Ysp7ZHuFb47Cp7vRD5GPcYxSDdAVPeXFXEyjGLHzLWXsps", "length": 3 } } ], "blockNumber": 203368, "confirmations": 1, "cumulativeGasUsed": { "_hex": "0x8ebd" }, "status": 1, "byzantium": true }
async CallContractMethodAndWait({ "contractAddress": "0xa9749f575e1faadaddd1fe8a8410b25460307f80", "methodName": "setVisibility", "methodArgs": [ 10 ] }); { "to": "0xA9749f575e1faADAddD1Fe8A8410b25460307F80", "from": "0x665AEe2328fa4040e569e91be23Faf5A82a6186C", "contractAddress": null, "transactionIndex": 0, "gasUsed": { "_hex": "0x7399" }, "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000", "blockHash": "0x18fc8c3e2d63e8eb72c36598808a6bf0654cebffc7dd6a8b86c00f2550ce0fa7", "transactionHash": "0x51c5b6d6b2f8e7a90734e8e65a68d4ffe158e612f7f0759ef3bdae2af971c200", "logs": [ { "transactionIndex": 0, "blockNumber": 203369, "transactionHash": "0x51c5b6d6b2f8e7a90734e8e65a68d4ffe158e612f7f0759ef3bdae2af971c200", "address": "0xA9749f575e1faADAddD1Fe8A8410b25460307F80", "topics": [ "0x369a336baa7895746725663e717b3523139ebabfff8c32bc4b13e8f88e502500" ], "data": "0x000000000000000000000000e43da44cd2f7b9ead9405c8763dc7493a5ab54f10000000000000000000000008b42013151e80d738cfd81157b80be7febbccc5a000000000000000000000000000000000000000000000000000000000000000a", "logIndex": 0, "blockHash": "0x18fc8c3e2d63e8eb72c36598808a6bf0654cebffc7dd6a8b86c00f2550ce0fa7", "transactionLogIndex": 0, "decode": "<function>", "name": "VisibilityChanged", "signature": "VisibilityChanged(address,address,uint8)", "topic": "0x369a336baa7895746725663e717b3523139ebabfff8c32bc4b13e8f88e502500", "values": { "0": "0xe43DA44cd2f7b9Ead9405C8763Dc7493a5AB54f1", "1": "0x8B42013151E80D738cfD81157B80be7feBbCCC5a", "2": 10, "contentSpace": "0xe43DA44cd2f7b9Ead9405C8763Dc7493a5AB54f1", "parentAddress": "0x8B42013151E80D738cfD81157B80be7feBbCCC5a", "visibility": 10, "length": 3 } } ], "blockNumber": 203369, "confirmations": 1, "cumulativeGasUsed": { "_hex": "0x7399" }, "status": 1, "byzantium": true }
async CallContractMethodAndWait({ "contractAddress": "0x4bc2174003693d09d3b030cba23e659ae8ec269c", "abi": [ { "constant": true, "inputs": [], "name": "STATUS_PUBLISHED", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "parentAddress", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "creator", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "request_ID", "type": "uint256" }, { "name": "score_pct", "type": "uint256" }, { "name": "", "type": "uint256" } ], "name": "accessComplete", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [], "name": "publish", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [ { "name": "requestNonce", "type": "uint256" }, { "name": "payee", "type": "address" }, { "name": "label", "type": "string" }, { "name": "amount", "type": "uint256" } ], "name": "processRequestPayment", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "stakeholder", "type": "address" }, { "name": "access_type", "type": "uint8" }, { "name": "access", "type": "uint8" } ], "name": "setRights", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_SEE", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "canConfirm", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "requestMap", "outputs": [ { "name": "originator", "type": "address" }, { "name": "amountPaid", "type": "uint256" }, { "name": "status", "type": "int8" }, { "name": "settled", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessRequestV3", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [ { "name": "group", "type": "address" }, { "name": "access_type", "type": "uint8" }, { "name": "access", "type": "uint8" } ], "name": "setGroupRights", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "contentContractAddress", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "_candidate", "type": "address" } ], "name": "isAdmin", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "statusCode", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "visibility", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "addressKMS", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "countVersionHashes", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "contentType", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "commitPending", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "status_code", "type": "int256" } ], "name": "statusCodeDescription", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "level", "type": "uint8" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "getAccessInfo", "outputs": [ { "name": "", "type": "uint8" }, { "name": "", "type": "uint8" }, { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "objectTimestamp", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "kill", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [], "name": "confirmCommit", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [ { "name": "requestNonce", "type": "uint256" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessCompleteV3", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [ { "name": "requestNonce", "type": "uint256" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessCompleteInternal", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [], "name": "STATUS_DRAFT", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "status_code", "type": "int256" } ], "name": "setStatusCode", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "version", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "versionAPI", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "clearPending", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "pendingHash", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "indexCategory", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "accessCharge", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "candidate", "type": "address" } ], "name": "hasEditorRight", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "newCreator", "type": "address" } ], "name": "transferCreatorship", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "canCommit", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "versionTimestamp", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "requestNonce", "type": "uint256" }, { "name": "contextHash", "type": "bytes32" }, { "name": "accessor", "type": "address" }, { "name": "request_timestamp", "type": "uint256" } ], "name": "accessRequestContext", "outputs": [ { "name": "", "type": "uint256" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "versionHashes", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "accessor", "type": "address" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "getAccessInfoV3", "outputs": [ { "name": "", "type": "uint8" }, { "name": "", "type": "uint8" }, { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "canEdit", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "status_code", "type": "int256" } ], "name": "updateStatus", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "owner", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "reqId", "type": "uint256" } ], "name": "makeNonce", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "requestID", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "candidate", "type": "address" } ], "name": "hasAccess", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_ACCESS", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_objectHash", "type": "string" } ], "name": "commit", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "level", "type": "uint8" }, { "name": "pkeRequestor", "type": "string" }, { "name": "pkeAFGH", "type": "string" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessRequest", "outputs": [ { "name": "", "type": "uint256" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [ { "name": "prefix", "type": "bytes" } ], "name": "getKMSInfo", "outputs": [ { "name": "", "type": "string" }, { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_visibility_code", "type": "uint8" } ], "name": "setVisibility", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "key", "type": "bytes" } ], "name": "getMeta", "outputs": [ { "name": "", "type": "bytes" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "contentSpace", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "libraryAddress", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_requestNonce", "type": "uint256" }, { "name": "_contextHash", "type": "bytes32" }, { "name": "_accessor", "type": "address" }, { "name": "_request_timestamp", "type": "uint256" } ], "name": "accessCompleteContext", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [ { "name": "accessor", "type": "address" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "getCustomInfo", "outputs": [ { "name": "", "type": "uint8" }, { "name": "", "type": "uint8" }, { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "updateRequest", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "address_KMS", "type": "address" } ], "name": "setAddressKMS", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "canPublish", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "STATUS_REVIEW", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "objectHash", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_versionHash", "type": "string" } ], "name": "deleteVersion", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "addr", "type": "address" } ], "name": "setContentContractAddress", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "key", "type": "bytes" }, { "name": "value", "type": "bytes" } ], "name": "putMeta", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_EDIT", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "charge", "type": "uint256" } ], "name": "setAccessCharge", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "statusDescription", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "inputs": [ { "name": "content_space", "type": "address" }, { "name": "lib", "type": "address" }, { "name": "content_type", "type": "address" } ], "payable": true, "stateMutability": "payable", "type": "constructor" }, { "payable": true, "stateMutability": "payable", "type": "fallback" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "containingLibrary", "type": "address" } ], "name": "ContentObjectCreate", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentType", "type": "address" }, { "indexed": false, "name": "contentContractAddress", "type": "address" } ], "name": "SetContentType", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestNonce", "type": "uint256" }, { "indexed": false, "name": "label", "type": "string" }, { "indexed": false, "name": "payee", "type": "address" }, { "indexed": false, "name": "amount", "type": "uint256" } ], "name": "LogPayment", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "customValue", "type": "bytes32" } ], "name": "AccessRequestValue", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "stakeholder", "type": "address" } ], "name": "AccessRequestStakeholder", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestID", "type": "uint256" }, { "indexed": false, "name": "level", "type": "uint8" }, { "indexed": false, "name": "contentHash", "type": "string" }, { "indexed": false, "name": "pkeRequestor", "type": "string" }, { "indexed": false, "name": "pkeAFGH", "type": "string" } ], "name": "AccessRequest", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestID", "type": "uint256" }, { "indexed": false, "name": "scorePct", "type": "uint256" }, { "indexed": false, "name": "customContractResult", "type": "bool" } ], "name": "AccessComplete", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestNonce", "type": "uint256" }, { "indexed": false, "name": "customContractResult", "type": "bool" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "contextHash", "type": "bytes32" }, { "indexed": false, "name": "accessor", "type": "address" }, { "indexed": false, "name": "request_timestamp", "type": "uint256" } ], "name": "AccessCompleteV3", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentContractAddress", "type": "address" } ], "name": "SetContentContract", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "accessCharge", "type": "uint256" } ], "name": "SetAccessCharge", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "accessCharge", "type": "uint256" }, { "indexed": false, "name": "amountProvided", "type": "uint256" } ], "name": "InsufficientFunds", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "statusCode", "type": "int256" } ], "name": "SetStatusCode", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestStatus", "type": "bool" }, { "indexed": false, "name": "statusCode", "type": "int256" }, { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "Publish", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "custom_contract", "type": "address" } ], "name": "InvokeCustomPreHook", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "custom_contract", "type": "address" }, { "indexed": false, "name": "result", "type": "uint256" } ], "name": "ReturnCustomHook", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "custom_contract", "type": "address" } ], "name": "InvokeCustomPostHook", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "CommitPending", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "UpdateRequest", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "VersionConfirm", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "versionHash", "type": "string" }, { "indexed": false, "name": "index", "type": "int256" } ], "name": "VersionDelete", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestNonce", "type": "uint256" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "contextHash", "type": "bytes32" }, { "indexed": false, "name": "accessor", "type": "address" }, { "indexed": false, "name": "requestTimestamp", "type": "uint256" } ], "name": "AccessRequestV3", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentSpace", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "visibility", "type": "uint8" } ], "name": "VisibilityChanged", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "key", "type": "bytes" } ], "name": "ObjectMetaChanged", "type": "event" } ], "methodName": "updateRequest", "methodArgs": [] }); { "to": "0x4bc2174003693D09d3B030cBA23e659AE8Ec269c", "from": "0x665AEe2328fa4040e569e91be23Faf5A82a6186C", "contractAddress": null, "transactionIndex": 0, "gasUsed": { "_hex": "0x5dcf" }, "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000010000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000400000000000", "blockHash": "0x633f19e67ce1e18423973da0cc315292b483d343af16772783ecdf1e96a17e8c", "transactionHash": "0xb71df15d7d1a05f696c92dafea6368c3fa92d9e445e0fb34ff37537e5a4e4b3c", "logs": [ { "transactionIndex": 0, "blockNumber": 203371, "transactionHash": "0xb71df15d7d1a05f696c92dafea6368c3fa92d9e445e0fb34ff37537e5a4e4b3c", "address": "0x4bc2174003693D09d3B030cBA23e659AE8Ec269c", "topics": [ "0x403f30aa5f4f2f89331a7b50054f64a00ce206f4d0a37f566ff344bbe46f8b65" ], "data": "0x00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000", "logIndex": 0, "blockHash": "0x633f19e67ce1e18423973da0cc315292b483d343af16772783ecdf1e96a17e8c", "transactionLogIndex": 0, "decode": "<function>", "name": "UpdateRequest", "signature": "UpdateRequest(string)", "topic": "0x403f30aa5f4f2f89331a7b50054f64a00ce206f4d0a37f566ff344bbe46f8b65", "values": { "0": "", "objectHash": "", "length": 1 } } ], "blockNumber": 203371, "confirmations": 1, "cumulativeGasUsed": { "_hex": "0x5dcf" }, "status": 1, "byzantium": true }
async CallContractMethodAndWait({ "contractAddress": "0xa8f7cee1ca8e77292f0cd7aad14849f783ee5cba", "methodName": "publish" }); { "to": "0xa8f7CeE1cA8E77292f0CD7aad14849F783EE5Cba", "from": "0x665AEe2328fa4040e569e91be23Faf5A82a6186C", "contractAddress": null, "transactionIndex": 0, "gasUsed": { "_hex": "0x8ebd" }, "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000100040000000000000000000000000000000000000000000001000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000100000000020000000000000000000000000000000000400000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000002000000008000000000400000000000000000000008000000000000000000002000020000000000000000000000000000000000000000000000", "blockHash": "0xbd7680e79f37f43ab993baf319ea3e0e3a3b78e80855b20a171479846c2a90c7", "transactionHash": "0x3c4fbc72de9e3b026441d190f844962afa021014cd2acf74cfd91378b4719a45", "logs": [ { "transactionIndex": 0, "blockNumber": 203380, "transactionHash": "0x3c4fbc72de9e3b026441d190f844962afa021014cd2acf74cfd91378b4719a45", "address": "0xa8f7CeE1cA8E77292f0CD7aad14849F783EE5Cba", "topics": [ "0xda4f34b30fa0ba8a73fedb922f4d28e2a10a5d68e53cf8e942abce3ac09158a2" ], "data": "0x0000000000000000000000000000000000000000000000000000000000000001", "logIndex": 0, "blockHash": "0xbd7680e79f37f43ab993baf319ea3e0e3a3b78e80855b20a171479846c2a90c7", "transactionLogIndex": 0, "decode": "<function>", "name": "SetStatusCode", "signature": "SetStatusCode(int256)", "topic": "0xda4f34b30fa0ba8a73fedb922f4d28e2a10a5d68e53cf8e942abce3ac09158a2", "values": { "0": { "_hex": "0x01" }, "statusCode": { "_hex": "0x01" }, "length": 1 } }, { "transactionIndex": 0, "blockNumber": 203380, "transactionHash": "0x3c4fbc72de9e3b026441d190f844962afa021014cd2acf74cfd91378b4719a45", "address": "0xa8f7CeE1cA8E77292f0CD7aad14849F783EE5Cba", "topics": [ "0xda4f34b30fa0ba8a73fedb922f4d28e2a10a5d68e53cf8e942abce3ac09158a2" ], "data": "0x0000000000000000000000000000000000000000000000000000000000000000", "logIndex": 1, "blockHash": "0xbd7680e79f37f43ab993baf319ea3e0e3a3b78e80855b20a171479846c2a90c7", "transactionLogIndex": 1, "decode": "<function>", "name": "SetStatusCode", "signature": "SetStatusCode(int256)", "topic": "0xda4f34b30fa0ba8a73fedb922f4d28e2a10a5d68e53cf8e942abce3ac09158a2", "values": { "0": { "_hex": "0x00" }, "statusCode": { "_hex": "0x00" }, "length": 1 } }, { "transactionIndex": 0, "blockNumber": 203380, "transactionHash": "0x3c4fbc72de9e3b026441d190f844962afa021014cd2acf74cfd91378b4719a45", "address": "0x97172A5190A9967238444e2e7983f934A8D40e47", "topics": [ "0x70234ce475fee4ab40e5e55cf533f67f12b47ef4c860e62dd7affa84ead4b442" ], "data": "0x000000000000000000000000a8f7cee1ca8e77292f0cd7aad14849f783ee5cba0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "logIndex": 2, "blockHash": "0xbd7680e79f37f43ab993baf319ea3e0e3a3b78e80855b20a171479846c2a90c7", "transactionLogIndex": 2 }, { "transactionIndex": 0, "blockNumber": 203380, "transactionHash": "0x3c4fbc72de9e3b026441d190f844962afa021014cd2acf74cfd91378b4719a45", "address": "0xa8f7CeE1cA8E77292f0CD7aad14849F783EE5Cba", "topics": [ "0xad9c5eacc073b2e1767affc883e050347e1dd379c9799cb5ac0a17bde80f5cf4" ], "data": "0x000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000004e68715f5f467075705a366233655661784355427631796e3236627173636733623161457764486d37714578356b4641566866636556574548363557386f593870347537507347485953456e555344000000000000000000000000000000000000", "logIndex": 3, "blockHash": "0xbd7680e79f37f43ab993baf319ea3e0e3a3b78e80855b20a171479846c2a90c7", "transactionLogIndex": 3, "decode": "<function>", "name": "Publish", "signature": "Publish(bool,int256,string)", "topic": "0xad9c5eacc073b2e1767affc883e050347e1dd379c9799cb5ac0a17bde80f5cf4", "values": { "0": true, "1": { "_hex": "0x00" }, "2": "hq__FpupZ6b3eVaxCUBv1yn26bqscg3b1aEwdHm7qEx5kFAVhfceVWEH65W8oY8p4u7PsGHYSEnUSD", "requestStatus": true, "statusCode": { "_hex": "0x00" }, "objectHash": "hq__FpupZ6b3eVaxCUBv1yn26bqscg3b1aEwdHm7qEx5kFAVhfceVWEH65W8oY8p4u7PsGHYSEnUSD", "length": 3 } } ], "blockNumber": 203380, "confirmations": 1, "cumulativeGasUsed": { "_hex": "0x8ebd" }, "status": 1, "byzantium": true }
async CallContractMethodAndWait({ "contractAddress": "0xa8f7cee1ca8e77292f0cd7aad14849f783ee5cba", "methodName": "setVisibility", "methodArgs": [ 10 ] }); { "to": "0xa8f7CeE1cA8E77292f0CD7aad14849F783EE5Cba", "from": "0x665AEe2328fa4040e569e91be23Faf5A82a6186C", "contractAddress": null, "transactionIndex": 0, "gasUsed": { "_hex": "0x7399" }, "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000000100000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000001000000000000", "blockHash": "0x05633e060490be6c95bd264bdca0c134d4849fe4d2d663bad59f587a4012e74f", "transactionHash": "0x0338a6d2a7c7bf6bfc9518aa4fdd1078c122dd56f16c17ddd090f1a1f14021c0", "logs": [ { "transactionIndex": 0, "blockNumber": 203381, "transactionHash": "0x0338a6d2a7c7bf6bfc9518aa4fdd1078c122dd56f16c17ddd090f1a1f14021c0", "address": "0xa8f7CeE1cA8E77292f0CD7aad14849F783EE5Cba", "topics": [ "0x369a336baa7895746725663e717b3523139ebabfff8c32bc4b13e8f88e502500" ], "data": "0x000000000000000000000000e43da44cd2f7b9ead9405c8763dc7493a5ab54f100000000000000000000000097172a5190a9967238444e2e7983f934a8d40e47000000000000000000000000000000000000000000000000000000000000000a", "logIndex": 0, "blockHash": "0x05633e060490be6c95bd264bdca0c134d4849fe4d2d663bad59f587a4012e74f", "transactionLogIndex": 0, "decode": "<function>", "name": "VisibilityChanged", "signature": "VisibilityChanged(address,address,uint8)", "topic": "0x369a336baa7895746725663e717b3523139ebabfff8c32bc4b13e8f88e502500", "values": { "0": "0xe43DA44cd2f7b9Ead9405C8763Dc7493a5AB54f1", "1": "0x97172A5190A9967238444e2e7983f934A8D40e47", "2": 10, "contentSpace": "0xe43DA44cd2f7b9Ead9405C8763Dc7493a5AB54f1", "parentAddress": "0x97172A5190A9967238444e2e7983f934A8D40e47", "visibility": 10, "length": 3 } } ], "blockNumber": 203381, "confirmations": 1, "cumulativeGasUsed": { "_hex": "0x7399" }, "status": 1, "byzantium": true }
async CallContractMethodAndWait({ "contractAddress": "0xa8f7cee1ca8e77292f0cd7aad14849f783ee5cba", "abi": [ { "constant": true, "inputs": [], "name": "STATUS_PUBLISHED", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "parentAddress", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "creator", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "request_ID", "type": "uint256" }, { "name": "score_pct", "type": "uint256" }, { "name": "", "type": "uint256" } ], "name": "accessComplete", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [], "name": "publish", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [ { "name": "requestNonce", "type": "uint256" }, { "name": "payee", "type": "address" }, { "name": "label", "type": "string" }, { "name": "amount", "type": "uint256" } ], "name": "processRequestPayment", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "stakeholder", "type": "address" }, { "name": "access_type", "type": "uint8" }, { "name": "access", "type": "uint8" } ], "name": "setRights", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_SEE", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "canConfirm", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "requestMap", "outputs": [ { "name": "originator", "type": "address" }, { "name": "amountPaid", "type": "uint256" }, { "name": "status", "type": "int8" }, { "name": "settled", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessRequestV3", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [ { "name": "group", "type": "address" }, { "name": "access_type", "type": "uint8" }, { "name": "access", "type": "uint8" } ], "name": "setGroupRights", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "contentContractAddress", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "_candidate", "type": "address" } ], "name": "isAdmin", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "statusCode", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "visibility", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "addressKMS", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "countVersionHashes", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "contentType", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "commitPending", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "status_code", "type": "int256" } ], "name": "statusCodeDescription", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "level", "type": "uint8" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "getAccessInfo", "outputs": [ { "name": "", "type": "uint8" }, { "name": "", "type": "uint8" }, { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "objectTimestamp", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "kill", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [], "name": "confirmCommit", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [ { "name": "requestNonce", "type": "uint256" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessCompleteV3", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [ { "name": "requestNonce", "type": "uint256" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessCompleteInternal", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [], "name": "STATUS_DRAFT", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "status_code", "type": "int256" } ], "name": "setStatusCode", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "version", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "versionAPI", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "clearPending", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "pendingHash", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "indexCategory", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "accessCharge", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "candidate", "type": "address" } ], "name": "hasEditorRight", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "newCreator", "type": "address" } ], "name": "transferCreatorship", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "canCommit", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "versionTimestamp", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "requestNonce", "type": "uint256" }, { "name": "contextHash", "type": "bytes32" }, { "name": "accessor", "type": "address" }, { "name": "request_timestamp", "type": "uint256" } ], "name": "accessRequestContext", "outputs": [ { "name": "", "type": "uint256" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "versionHashes", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "accessor", "type": "address" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "getAccessInfoV3", "outputs": [ { "name": "", "type": "uint8" }, { "name": "", "type": "uint8" }, { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "canEdit", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "status_code", "type": "int256" } ], "name": "updateStatus", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "owner", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "reqId", "type": "uint256" } ], "name": "makeNonce", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "requestID", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "candidate", "type": "address" } ], "name": "hasAccess", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_ACCESS", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_objectHash", "type": "string" } ], "name": "commit", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "level", "type": "uint8" }, { "name": "pkeRequestor", "type": "string" }, { "name": "pkeAFGH", "type": "string" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessRequest", "outputs": [ { "name": "", "type": "uint256" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [ { "name": "prefix", "type": "bytes" } ], "name": "getKMSInfo", "outputs": [ { "name": "", "type": "string" }, { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_visibility_code", "type": "uint8" } ], "name": "setVisibility", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "key", "type": "bytes" } ], "name": "getMeta", "outputs": [ { "name": "", "type": "bytes" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "contentSpace", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "libraryAddress", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_requestNonce", "type": "uint256" }, { "name": "_contextHash", "type": "bytes32" }, { "name": "_accessor", "type": "address" }, { "name": "_request_timestamp", "type": "uint256" } ], "name": "accessCompleteContext", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [ { "name": "accessor", "type": "address" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "getCustomInfo", "outputs": [ { "name": "", "type": "uint8" }, { "name": "", "type": "uint8" }, { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "updateRequest", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "address_KMS", "type": "address" } ], "name": "setAddressKMS", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "canPublish", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "STATUS_REVIEW", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "objectHash", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_versionHash", "type": "string" } ], "name": "deleteVersion", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "addr", "type": "address" } ], "name": "setContentContractAddress", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "key", "type": "bytes" }, { "name": "value", "type": "bytes" } ], "name": "putMeta", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_EDIT", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "charge", "type": "uint256" } ], "name": "setAccessCharge", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "statusDescription", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "inputs": [ { "name": "content_space", "type": "address" }, { "name": "lib", "type": "address" }, { "name": "content_type", "type": "address" } ], "payable": true, "stateMutability": "payable", "type": "constructor" }, { "payable": true, "stateMutability": "payable", "type": "fallback" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "containingLibrary", "type": "address" } ], "name": "ContentObjectCreate", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentType", "type": "address" }, { "indexed": false, "name": "contentContractAddress", "type": "address" } ], "name": "SetContentType", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestNonce", "type": "uint256" }, { "indexed": false, "name": "label", "type": "string" }, { "indexed": false, "name": "payee", "type": "address" }, { "indexed": false, "name": "amount", "type": "uint256" } ], "name": "LogPayment", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "customValue", "type": "bytes32" } ], "name": "AccessRequestValue", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "stakeholder", "type": "address" } ], "name": "AccessRequestStakeholder", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestID", "type": "uint256" }, { "indexed": false, "name": "level", "type": "uint8" }, { "indexed": false, "name": "contentHash", "type": "string" }, { "indexed": false, "name": "pkeRequestor", "type": "string" }, { "indexed": false, "name": "pkeAFGH", "type": "string" } ], "name": "AccessRequest", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestID", "type": "uint256" }, { "indexed": false, "name": "scorePct", "type": "uint256" }, { "indexed": false, "name": "customContractResult", "type": "bool" } ], "name": "AccessComplete", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestNonce", "type": "uint256" }, { "indexed": false, "name": "customContractResult", "type": "bool" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "contextHash", "type": "bytes32" }, { "indexed": false, "name": "accessor", "type": "address" }, { "indexed": false, "name": "request_timestamp", "type": "uint256" } ], "name": "AccessCompleteV3", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentContractAddress", "type": "address" } ], "name": "SetContentContract", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "accessCharge", "type": "uint256" } ], "name": "SetAccessCharge", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "accessCharge", "type": "uint256" }, { "indexed": false, "name": "amountProvided", "type": "uint256" } ], "name": "InsufficientFunds", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "statusCode", "type": "int256" } ], "name": "SetStatusCode", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestStatus", "type": "bool" }, { "indexed": false, "name": "statusCode", "type": "int256" }, { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "Publish", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "custom_contract", "type": "address" } ], "name": "InvokeCustomPreHook", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "custom_contract", "type": "address" }, { "indexed": false, "name": "result", "type": "uint256" } ], "name": "ReturnCustomHook", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "custom_contract", "type": "address" } ], "name": "InvokeCustomPostHook", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "CommitPending", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "UpdateRequest", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "VersionConfirm", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "versionHash", "type": "string" }, { "indexed": false, "name": "index", "type": "int256" } ], "name": "VersionDelete", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestNonce", "type": "uint256" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "contextHash", "type": "bytes32" }, { "indexed": false, "name": "accessor", "type": "address" }, { "indexed": false, "name": "requestTimestamp", "type": "uint256" } ], "name": "AccessRequestV3", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentSpace", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "visibility", "type": "uint8" } ], "name": "VisibilityChanged", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "key", "type": "bytes" } ], "name": "ObjectMetaChanged", "type": "event" } ], "methodName": "accessRequestV3", "methodArgs": [ [], [] ], "value": 0 }); { "to": "0xa8f7CeE1cA8E77292f0CD7aad14849F783EE5Cba", "from": "0x665AEe2328fa4040e569e91be23Faf5A82a6186C", "contractAddress": null, "transactionIndex": 0, "gasUsed": { "_hex": "0x10dd9" }, "logsBloom": "0x00000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000008000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000", "blockHash": "0x292d206ed39ef116e1d50d3e6913a0429391fee8108cf0e6042181f6a3898693", "transactionHash": "0x3ba9f70a72aa671bad6b41dcd568cefd4d5c55b6f4f7863e1128279b88487747", "logs": [ { "transactionIndex": 0, "blockNumber": 203383, "transactionHash": "0x3ba9f70a72aa671bad6b41dcd568cefd4d5c55b6f4f7863e1128279b88487747", "address": "0xa8f7CeE1cA8E77292f0CD7aad14849F783EE5Cba", "topics": [ "0x545ceffc5093a8300777a74bb094968fbd62d128313df01eb72fd5350ec659c7" ], "data": "0xde7e797f3ee454dc0637e4fa717ff114d1c58222c420acd970225a3d6b73cc8500000000000000000000000097172a5190a9967238444e2e7983f934a8d40e470000000000000000000000000000000000000000000000000000000000000000000000000000000000000000665aee2328fa4040e569e91be23faf5a82a6186c00000000000000000000000000000000000000000000000000000178189b1928", "logIndex": 0, "blockHash": "0x292d206ed39ef116e1d50d3e6913a0429391fee8108cf0e6042181f6a3898693", "transactionLogIndex": 0, "decode": "<function>", "name": "AccessRequestV3", "signature": "AccessRequestV3(uint256,address,bytes32,address,uint256)", "topic": "0x545ceffc5093a8300777a74bb094968fbd62d128313df01eb72fd5350ec659c7", "values": { "0": { "_hex": "0xde7e797f3ee454dc0637e4fa717ff114d1c58222c420acd970225a3d6b73cc85" }, "1": "0x97172A5190A9967238444e2e7983f934A8D40e47", "2": "0x0000000000000000000000000000000000000000000000000000000000000000", "3": "0x665AEe2328fa4040e569e91be23Faf5A82a6186C", "4": { "_hex": "0x0178189b1928" }, "requestNonce": { "_hex": "0xde7e797f3ee454dc0637e4fa717ff114d1c58222c420acd970225a3d6b73cc85" }, "parentAddress": "0x97172A5190A9967238444e2e7983f934A8D40e47", "contextHash": "0x0000000000000000000000000000000000000000000000000000000000000000", "accessor": "0x665AEe2328fa4040e569e91be23Faf5A82a6186C", "requestTimestamp": { "_hex": "0x0178189b1928" }, "length": 5 } } ], "blockNumber": 203383, "confirmations": 1, "cumulativeGasUsed": { "_hex": "0x10dd9" }, "status": 1, "byzantium": true }
async CallContractMethodAndWait({ "contractAddress": "0xa8f7cee1ca8e77292f0cd7aad14849f783ee5cba", "abi": [ { "constant": true, "inputs": [], "name": "STATUS_PUBLISHED", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "parentAddress", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "creator", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "request_ID", "type": "uint256" }, { "name": "score_pct", "type": "uint256" }, { "name": "", "type": "uint256" } ], "name": "accessComplete", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [], "name": "publish", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [ { "name": "requestNonce", "type": "uint256" }, { "name": "payee", "type": "address" }, { "name": "label", "type": "string" }, { "name": "amount", "type": "uint256" } ], "name": "processRequestPayment", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "stakeholder", "type": "address" }, { "name": "access_type", "type": "uint8" }, { "name": "access", "type": "uint8" } ], "name": "setRights", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_SEE", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "canConfirm", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "requestMap", "outputs": [ { "name": "originator", "type": "address" }, { "name": "amountPaid", "type": "uint256" }, { "name": "status", "type": "int8" }, { "name": "settled", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessRequestV3", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [ { "name": "group", "type": "address" }, { "name": "access_type", "type": "uint8" }, { "name": "access", "type": "uint8" } ], "name": "setGroupRights", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "contentContractAddress", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "_candidate", "type": "address" } ], "name": "isAdmin", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "statusCode", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "visibility", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "addressKMS", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "countVersionHashes", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "contentType", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "commitPending", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "status_code", "type": "int256" } ], "name": "statusCodeDescription", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "level", "type": "uint8" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "getAccessInfo", "outputs": [ { "name": "", "type": "uint8" }, { "name": "", "type": "uint8" }, { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "objectTimestamp", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "kill", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [], "name": "confirmCommit", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [ { "name": "requestNonce", "type": "uint256" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessCompleteV3", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [ { "name": "requestNonce", "type": "uint256" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessCompleteInternal", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [], "name": "STATUS_DRAFT", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "status_code", "type": "int256" } ], "name": "setStatusCode", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "version", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "versionAPI", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "clearPending", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "pendingHash", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "indexCategory", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "accessCharge", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "candidate", "type": "address" } ], "name": "hasEditorRight", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "newCreator", "type": "address" } ], "name": "transferCreatorship", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "canCommit", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "versionTimestamp", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "requestNonce", "type": "uint256" }, { "name": "contextHash", "type": "bytes32" }, { "name": "accessor", "type": "address" }, { "name": "request_timestamp", "type": "uint256" } ], "name": "accessRequestContext", "outputs": [ { "name": "", "type": "uint256" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "versionHashes", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "accessor", "type": "address" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "getAccessInfoV3", "outputs": [ { "name": "", "type": "uint8" }, { "name": "", "type": "uint8" }, { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "canEdit", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "status_code", "type": "int256" } ], "name": "updateStatus", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "owner", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "reqId", "type": "uint256" } ], "name": "makeNonce", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "requestID", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "candidate", "type": "address" } ], "name": "hasAccess", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_ACCESS", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_objectHash", "type": "string" } ], "name": "commit", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "level", "type": "uint8" }, { "name": "pkeRequestor", "type": "string" }, { "name": "pkeAFGH", "type": "string" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessRequest", "outputs": [ { "name": "", "type": "uint256" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [ { "name": "prefix", "type": "bytes" } ], "name": "getKMSInfo", "outputs": [ { "name": "", "type": "string" }, { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_visibility_code", "type": "uint8" } ], "name": "setVisibility", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "key", "type": "bytes" } ], "name": "getMeta", "outputs": [ { "name": "", "type": "bytes" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "contentSpace", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "libraryAddress", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_requestNonce", "type": "uint256" }, { "name": "_contextHash", "type": "bytes32" }, { "name": "_accessor", "type": "address" }, { "name": "_request_timestamp", "type": "uint256" } ], "name": "accessCompleteContext", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [ { "name": "accessor", "type": "address" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "getCustomInfo", "outputs": [ { "name": "", "type": "uint8" }, { "name": "", "type": "uint8" }, { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "updateRequest", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "address_KMS", "type": "address" } ], "name": "setAddressKMS", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "canPublish", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "STATUS_REVIEW", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "objectHash", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_versionHash", "type": "string" } ], "name": "deleteVersion", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "addr", "type": "address" } ], "name": "setContentContractAddress", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "key", "type": "bytes" }, { "name": "value", "type": "bytes" } ], "name": "putMeta", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_EDIT", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "charge", "type": "uint256" } ], "name": "setAccessCharge", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "statusDescription", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "inputs": [ { "name": "content_space", "type": "address" }, { "name": "lib", "type": "address" }, { "name": "content_type", "type": "address" } ], "payable": true, "stateMutability": "payable", "type": "constructor" }, { "payable": true, "stateMutability": "payable", "type": "fallback" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "containingLibrary", "type": "address" } ], "name": "ContentObjectCreate", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentType", "type": "address" }, { "indexed": false, "name": "contentContractAddress", "type": "address" } ], "name": "SetContentType", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestNonce", "type": "uint256" }, { "indexed": false, "name": "label", "type": "string" }, { "indexed": false, "name": "payee", "type": "address" }, { "indexed": false, "name": "amount", "type": "uint256" } ], "name": "LogPayment", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "customValue", "type": "bytes32" } ], "name": "AccessRequestValue", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "stakeholder", "type": "address" } ], "name": "AccessRequestStakeholder", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestID", "type": "uint256" }, { "indexed": false, "name": "level", "type": "uint8" }, { "indexed": false, "name": "contentHash", "type": "string" }, { "indexed": false, "name": "pkeRequestor", "type": "string" }, { "indexed": false, "name": "pkeAFGH", "type": "string" } ], "name": "AccessRequest", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestID", "type": "uint256" }, { "indexed": false, "name": "scorePct", "type": "uint256" }, { "indexed": false, "name": "customContractResult", "type": "bool" } ], "name": "AccessComplete", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestNonce", "type": "uint256" }, { "indexed": false, "name": "customContractResult", "type": "bool" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "contextHash", "type": "bytes32" }, { "indexed": false, "name": "accessor", "type": "address" }, { "indexed": false, "name": "request_timestamp", "type": "uint256" } ], "name": "AccessCompleteV3", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentContractAddress", "type": "address" } ], "name": "SetContentContract", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "accessCharge", "type": "uint256" } ], "name": "SetAccessCharge", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "accessCharge", "type": "uint256" }, { "indexed": false, "name": "amountProvided", "type": "uint256" } ], "name": "InsufficientFunds", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "statusCode", "type": "int256" } ], "name": "SetStatusCode", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestStatus", "type": "bool" }, { "indexed": false, "name": "statusCode", "type": "int256" }, { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "Publish", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "custom_contract", "type": "address" } ], "name": "InvokeCustomPreHook", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "custom_contract", "type": "address" }, { "indexed": false, "name": "result", "type": "uint256" } ], "name": "ReturnCustomHook", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "custom_contract", "type": "address" } ], "name": "InvokeCustomPostHook", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "CommitPending", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "UpdateRequest", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "VersionConfirm", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "versionHash", "type": "string" }, { "indexed": false, "name": "index", "type": "int256" } ], "name": "VersionDelete", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestNonce", "type": "uint256" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "contextHash", "type": "bytes32" }, { "indexed": false, "name": "accessor", "type": "address" }, { "indexed": false, "name": "requestTimestamp", "type": "uint256" } ], "name": "AccessRequestV3", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentSpace", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "visibility", "type": "uint8" } ], "name": "VisibilityChanged", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "key", "type": "bytes" } ], "name": "ObjectMetaChanged", "type": "event" } ], "methodName": "accessCompleteV3", "methodArgs": [ "100636913657491695237883419631707866963666401197438411937915493944735168711813", [], [] ] }); { "to": "0xa8f7CeE1cA8E77292f0CD7aad14849F783EE5Cba", "from": "0x665AEe2328fa4040e569e91be23Faf5A82a6186C", "contractAddress": null, "transactionIndex": 0, "gasUsed": { "_hex": "0x9e18" }, "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000100000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000002000000000000000000000000000000000000000000000000000", "blockHash": "0x1a1024c7b441c5b035219ac48438a8c2d72be1936650ad859e41dfb50717fbc4", "transactionHash": "0x4ae34daee7f96a31ba4d12567b6ef0fc3a1171b598aa10b5b18fc378bde1e516", "logs": [ { "transactionIndex": 0, "blockNumber": 203384, "transactionHash": "0x4ae34daee7f96a31ba4d12567b6ef0fc3a1171b598aa10b5b18fc378bde1e516", "address": "0xa8f7CeE1cA8E77292f0CD7aad14849F783EE5Cba", "topics": [ "0xd3e5b1d14681444d8159fa85b57104b685f47fb9164fd82b7fafe4e123dcc3a1" ], "data": "0xde7e797f3ee454dc0637e4fa717ff114d1c58222c420acd970225a3d6b73cc85000000000000000000000000000000000000000000000000000000000000000100000000000000000000000097172a5190a9967238444e2e7983f934a8d40e470000000000000000000000000000000000000000000000000000000000000000000000000000000000000000665aee2328fa4040e569e91be23faf5a82a6186c00000000000000000000000000000000000000000000000000000178189b1d10", "logIndex": 0, "blockHash": "0x1a1024c7b441c5b035219ac48438a8c2d72be1936650ad859e41dfb50717fbc4", "transactionLogIndex": 0, "decode": "<function>", "name": "AccessCompleteV3", "signature": "AccessCompleteV3(uint256,bool,address,bytes32,address,uint256)", "topic": "0xd3e5b1d14681444d8159fa85b57104b685f47fb9164fd82b7fafe4e123dcc3a1", "values": { "0": { "_hex": "0xde7e797f3ee454dc0637e4fa717ff114d1c58222c420acd970225a3d6b73cc85" }, "1": true, "2": "0x97172A5190A9967238444e2e7983f934A8D40e47", "3": "0x0000000000000000000000000000000000000000000000000000000000000000", "4": "0x665AEe2328fa4040e569e91be23Faf5A82a6186C", "5": { "_hex": "0x0178189b1d10" }, "requestNonce": { "_hex": "0xde7e797f3ee454dc0637e4fa717ff114d1c58222c420acd970225a3d6b73cc85" }, "customContractResult": true, "parentAddress": "0x97172A5190A9967238444e2e7983f934A8D40e47", "contextHash": "0x0000000000000000000000000000000000000000000000000000000000000000", "accessor": "0x665AEe2328fa4040e569e91be23Faf5A82a6186C", "request_timestamp": { "_hex": "0x0178189b1d10" }, "length": 6 } } ], "blockNumber": 203384, "confirmations": 1, "cumulativeGasUsed": { "_hex": "0x9e18" }, "status": 1, "byzantium": true }
async CallContractMethodAndWait({ "contractAddress": "0xa8f7cee1ca8e77292f0cd7aad14849f783ee5cba", "abi": [ { "constant": true, "inputs": [], "name": "STATUS_PUBLISHED", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "parentAddress", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "creator", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "request_ID", "type": "uint256" }, { "name": "score_pct", "type": "uint256" }, { "name": "", "type": "uint256" } ], "name": "accessComplete", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [], "name": "publish", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [ { "name": "requestNonce", "type": "uint256" }, { "name": "payee", "type": "address" }, { "name": "label", "type": "string" }, { "name": "amount", "type": "uint256" } ], "name": "processRequestPayment", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "stakeholder", "type": "address" }, { "name": "access_type", "type": "uint8" }, { "name": "access", "type": "uint8" } ], "name": "setRights", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_SEE", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "canConfirm", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "requestMap", "outputs": [ { "name": "originator", "type": "address" }, { "name": "amountPaid", "type": "uint256" }, { "name": "status", "type": "int8" }, { "name": "settled", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessRequestV3", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [ { "name": "group", "type": "address" }, { "name": "access_type", "type": "uint8" }, { "name": "access", "type": "uint8" } ], "name": "setGroupRights", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "contentContractAddress", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "_candidate", "type": "address" } ], "name": "isAdmin", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "statusCode", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "visibility", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "addressKMS", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "countVersionHashes", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "contentType", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "commitPending", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "status_code", "type": "int256" } ], "name": "statusCodeDescription", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "level", "type": "uint8" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "getAccessInfo", "outputs": [ { "name": "", "type": "uint8" }, { "name": "", "type": "uint8" }, { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "objectTimestamp", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "kill", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [], "name": "confirmCommit", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [ { "name": "requestNonce", "type": "uint256" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessCompleteV3", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [ { "name": "requestNonce", "type": "uint256" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessCompleteInternal", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [], "name": "STATUS_DRAFT", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "status_code", "type": "int256" } ], "name": "setStatusCode", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "version", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "versionAPI", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "clearPending", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "pendingHash", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "indexCategory", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "accessCharge", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "candidate", "type": "address" } ], "name": "hasEditorRight", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "newCreator", "type": "address" } ], "name": "transferCreatorship", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "canCommit", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "versionTimestamp", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "requestNonce", "type": "uint256" }, { "name": "contextHash", "type": "bytes32" }, { "name": "accessor", "type": "address" }, { "name": "request_timestamp", "type": "uint256" } ], "name": "accessRequestContext", "outputs": [ { "name": "", "type": "uint256" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "versionHashes", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "accessor", "type": "address" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "getAccessInfoV3", "outputs": [ { "name": "", "type": "uint8" }, { "name": "", "type": "uint8" }, { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "canEdit", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "status_code", "type": "int256" } ], "name": "updateStatus", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "owner", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "reqId", "type": "uint256" } ], "name": "makeNonce", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "requestID", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "candidate", "type": "address" } ], "name": "hasAccess", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_ACCESS", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_objectHash", "type": "string" } ], "name": "commit", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "level", "type": "uint8" }, { "name": "pkeRequestor", "type": "string" }, { "name": "pkeAFGH", "type": "string" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessRequest", "outputs": [ { "name": "", "type": "uint256" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [ { "name": "prefix", "type": "bytes" } ], "name": "getKMSInfo", "outputs": [ { "name": "", "type": "string" }, { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_visibility_code", "type": "uint8" } ], "name": "setVisibility", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "key", "type": "bytes" } ], "name": "getMeta", "outputs": [ { "name": "", "type": "bytes" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "contentSpace", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "libraryAddress", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_requestNonce", "type": "uint256" }, { "name": "_contextHash", "type": "bytes32" }, { "name": "_accessor", "type": "address" }, { "name": "_request_timestamp", "type": "uint256" } ], "name": "accessCompleteContext", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [ { "name": "accessor", "type": "address" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "getCustomInfo", "outputs": [ { "name": "", "type": "uint8" }, { "name": "", "type": "uint8" }, { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "updateRequest", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "address_KMS", "type": "address" } ], "name": "setAddressKMS", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "canPublish", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "STATUS_REVIEW", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "objectHash", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_versionHash", "type": "string" } ], "name": "deleteVersion", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "addr", "type": "address" } ], "name": "setContentContractAddress", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "key", "type": "bytes" }, { "name": "value", "type": "bytes" } ], "name": "putMeta", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_EDIT", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "charge", "type": "uint256" } ], "name": "setAccessCharge", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "statusDescription", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "inputs": [ { "name": "content_space", "type": "address" }, { "name": "lib", "type": "address" }, { "name": "content_type", "type": "address" } ], "payable": true, "stateMutability": "payable", "type": "constructor" }, { "payable": true, "stateMutability": "payable", "type": "fallback" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "containingLibrary", "type": "address" } ], "name": "ContentObjectCreate", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentType", "type": "address" }, { "indexed": false, "name": "contentContractAddress", "type": "address" } ], "name": "SetContentType", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestNonce", "type": "uint256" }, { "indexed": false, "name": "label", "type": "string" }, { "indexed": false, "name": "payee", "type": "address" }, { "indexed": false, "name": "amount", "type": "uint256" } ], "name": "LogPayment", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "customValue", "type": "bytes32" } ], "name": "AccessRequestValue", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "stakeholder", "type": "address" } ], "name": "AccessRequestStakeholder", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestID", "type": "uint256" }, { "indexed": false, "name": "level", "type": "uint8" }, { "indexed": false, "name": "contentHash", "type": "string" }, { "indexed": false, "name": "pkeRequestor", "type": "string" }, { "indexed": false, "name": "pkeAFGH", "type": "string" } ], "name": "AccessRequest", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestID", "type": "uint256" }, { "indexed": false, "name": "scorePct", "type": "uint256" }, { "indexed": false, "name": "customContractResult", "type": "bool" } ], "name": "AccessComplete", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestNonce", "type": "uint256" }, { "indexed": false, "name": "customContractResult", "type": "bool" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "contextHash", "type": "bytes32" }, { "indexed": false, "name": "accessor", "type": "address" }, { "indexed": false, "name": "request_timestamp", "type": "uint256" } ], "name": "AccessCompleteV3", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentContractAddress", "type": "address" } ], "name": "SetContentContract", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "accessCharge", "type": "uint256" } ], "name": "SetAccessCharge", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "accessCharge", "type": "uint256" }, { "indexed": false, "name": "amountProvided", "type": "uint256" } ], "name": "InsufficientFunds", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "statusCode", "type": "int256" } ], "name": "SetStatusCode", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestStatus", "type": "bool" }, { "indexed": false, "name": "statusCode", "type": "int256" }, { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "Publish", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "custom_contract", "type": "address" } ], "name": "InvokeCustomPreHook", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "custom_contract", "type": "address" }, { "indexed": false, "name": "result", "type": "uint256" } ], "name": "ReturnCustomHook", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "custom_contract", "type": "address" } ], "name": "InvokeCustomPostHook", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "CommitPending", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "UpdateRequest", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "VersionConfirm", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "versionHash", "type": "string" }, { "indexed": false, "name": "index", "type": "int256" } ], "name": "VersionDelete", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestNonce", "type": "uint256" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "contextHash", "type": "bytes32" }, { "indexed": false, "name": "accessor", "type": "address" }, { "indexed": false, "name": "requestTimestamp", "type": "uint256" } ], "name": "AccessRequestV3", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentSpace", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "visibility", "type": "uint8" } ], "name": "VisibilityChanged", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "key", "type": "bytes" } ], "name": "ObjectMetaChanged", "type": "event" } ], "methodName": "accessRequestV3", "methodArgs": [ [], [] ], "value": 0 }); { "to": "0xa8f7CeE1cA8E77292f0CD7aad14849F783EE5Cba", "from": "0x665AEe2328fa4040e569e91be23Faf5A82a6186C", "contractAddress": null, "transactionIndex": 0, "gasUsed": { "_hex": "0x10dd9" }, "logsBloom": "0x00000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000008000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000", "blockHash": "0x58b5acf997b6eefc39fe5524bfae1fe0a9e2dd44050d176f2837a700591e331a", "transactionHash": "0x7f65122c0c81dd83dfc1bfd8df04fbcd7cebb9f56dc6230f8ce6b5773fd82219", "logs": [ { "transactionIndex": 0, "blockNumber": 203386, "transactionHash": "0x7f65122c0c81dd83dfc1bfd8df04fbcd7cebb9f56dc6230f8ce6b5773fd82219", "address": "0xa8f7CeE1cA8E77292f0CD7aad14849F783EE5Cba", "topics": [ "0x545ceffc5093a8300777a74bb094968fbd62d128313df01eb72fd5350ec659c7" ], "data": "0x9045a85df4c9ca09c8348766cace8a12798860d53472bae99884fded0a399aa400000000000000000000000097172a5190a9967238444e2e7983f934a8d40e470000000000000000000000000000000000000000000000000000000000000000000000000000000000000000665aee2328fa4040e569e91be23faf5a82a6186c00000000000000000000000000000000000000000000000000000178189b76e8", "logIndex": 0, "blockHash": "0x58b5acf997b6eefc39fe5524bfae1fe0a9e2dd44050d176f2837a700591e331a", "transactionLogIndex": 0, "decode": "<function>", "name": "AccessRequestV3", "signature": "AccessRequestV3(uint256,address,bytes32,address,uint256)", "topic": "0x545ceffc5093a8300777a74bb094968fbd62d128313df01eb72fd5350ec659c7", "values": { "0": { "_hex": "0x9045a85df4c9ca09c8348766cace8a12798860d53472bae99884fded0a399aa4" }, "1": "0x97172A5190A9967238444e2e7983f934A8D40e47", "2": "0x0000000000000000000000000000000000000000000000000000000000000000", "3": "0x665AEe2328fa4040e569e91be23Faf5A82a6186C", "4": { "_hex": "0x0178189b76e8" }, "requestNonce": { "_hex": "0x9045a85df4c9ca09c8348766cace8a12798860d53472bae99884fded0a399aa4" }, "parentAddress": "0x97172A5190A9967238444e2e7983f934A8D40e47", "contextHash": "0x0000000000000000000000000000000000000000000000000000000000000000", "accessor": "0x665AEe2328fa4040e569e91be23Faf5A82a6186C", "requestTimestamp": { "_hex": "0x0178189b76e8" }, "length": 5 } } ], "blockNumber": 203386, "confirmations": 1, "cumulativeGasUsed": { "_hex": "0x10dd9" }, "status": 1, "byzantium": true }
async CallContractMethodAndWait({ "contractAddress": "0xa8f7cee1ca8e77292f0cd7aad14849f783ee5cba", "methodName": "deleteVersion", "methodArgs": [ "hq__2hRfGeY9TRxCQPK6jUgpkBCGyxsyRx4kx35Q32u7XUMkzS7v6ThjgoTX7WY6SwNYdANsUW7MwF" ] }); { "to": "0xa8f7CeE1cA8E77292f0CD7aad14849F783EE5Cba", "from": "0x665AEe2328fa4040e569e91be23Faf5A82a6186C", "contractAddress": null, "transactionIndex": 0, "gasUsed": { "_hex": "0x18def" }, "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000400000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000002", "blockHash": "0xf8549b5034e8e132cfe2fe15914c8c0b1b343f1d456ef1119d94ef235f646451", "transactionHash": "0xbe387ef750e78e61464d63365d68d17f2f1abd60873c8d863cef35dfbd1c7282", "logs": [ { "transactionIndex": 0, "blockNumber": 203389, "transactionHash": "0xbe387ef750e78e61464d63365d68d17f2f1abd60873c8d863cef35dfbd1c7282", "address": "0xa8f7CeE1cA8E77292f0CD7aad14849F783EE5Cba", "topics": [ "0x238d74c13cda9ba51e904772d41a616a1b9b30d09802484df6279fe1c3c07f51" ], "data": "0x000000000000000000000000e43da44cd2f7b9ead9405c8763dc7493a5ab54f100000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000004e68715f5f32685266476559395452784351504b366a5567706b424347797873795278346b783335513332753758554d6b7a5337763654686a676f54583757593653774e5964414e735557374d7746000000000000000000000000000000000000", "logIndex": 0, "blockHash": "0xf8549b5034e8e132cfe2fe15914c8c0b1b343f1d456ef1119d94ef235f646451", "transactionLogIndex": 0, "decode": "<function>", "name": "VersionDelete", "signature": "VersionDelete(address,string,int256)", "topic": "0x238d74c13cda9ba51e904772d41a616a1b9b30d09802484df6279fe1c3c07f51", "values": { "0": "0xe43DA44cd2f7b9Ead9405C8763Dc7493a5AB54f1", "1": "hq__2hRfGeY9TRxCQPK6jUgpkBCGyxsyRx4kx35Q32u7XUMkzS7v6ThjgoTX7WY6SwNYdANsUW7MwF", "2": { "_hex": "0x01" }, "spaceAddress": "0xe43DA44cd2f7b9Ead9405C8763Dc7493a5AB54f1", "versionHash": "hq__2hRfGeY9TRxCQPK6jUgpkBCGyxsyRx4kx35Q32u7XUMkzS7v6ThjgoTX7WY6SwNYdANsUW7MwF", "index": { "_hex": "0x01" }, "length": 3 } } ], "blockNumber": 203389, "confirmations": 1, "cumulativeGasUsed": { "_hex": "0x18def" }, "status": 1, "byzantium": true }
async CallContractMethodAndWait({ "contractAddress": "0x97172a5190a9967238444e2e7983f934a8d40e47", "methodName": "deleteContent", "methodArgs": [ "0xa8f7cee1ca8e77292f0cd7aad14849f783ee5cba" ] }); { "to": "0x97172A5190A9967238444e2e7983f934A8D40e47", "from": "0x665AEe2328fa4040e569e91be23Faf5A82a6186C", "contractAddress": null, "transactionIndex": 0, "gasUsed": { "_hex": "0x40c5" }, "logsBloom": "0x00000000000800000000000000000000008000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000", "blockHash": "0x1a8648eac2a18a2bb4a2879a06728febeb1d90a6d207a53c0ddb7d636261fa30", "transactionHash": "0x7cd3a7e156fb3888230ee5d5b40833a2cfdd967d19a3f04af0c8e1848fcfc75d", "logs": [ { "transactionIndex": 0, "blockNumber": 203390, "transactionHash": "0x7cd3a7e156fb3888230ee5d5b40833a2cfdd967d19a3f04af0c8e1848fcfc75d", "address": "0x97172A5190A9967238444e2e7983f934A8D40e47", "topics": [ "0x36500cee87b0da1746889a3483dccb525acfc40b8c0f2218e164c6cdf1482a3e" ], "data": "0x000000000000000000000000a8f7cee1ca8e77292f0cd7aad14849f783ee5cba000000000000000000000000e43da44cd2f7b9ead9405c8763dc7493a5ab54f1", "logIndex": 0, "blockHash": "0x1a8648eac2a18a2bb4a2879a06728febeb1d90a6d207a53c0ddb7d636261fa30", "transactionLogIndex": 0, "decode": "<function>", "name": "ContentObjectDeleted", "signature": "ContentObjectDeleted(address,address)", "topic": "0x36500cee87b0da1746889a3483dccb525acfc40b8c0f2218e164c6cdf1482a3e", "values": { "0": "0xa8f7CeE1cA8E77292f0CD7aad14849F783EE5Cba", "1": "0xe43DA44cd2f7b9Ead9405C8763Dc7493a5AB54f1", "contentAddress": "0xa8f7CeE1cA8E77292f0CD7aad14849F783EE5Cba", "spaceAddress": "0xe43DA44cd2f7b9Ead9405C8763Dc7493a5AB54f1", "length": 2 } } ], "blockNumber": 203390, "confirmations": 1, "cumulativeGasUsed": { "_hex": "0x40c5" }, "status": 1, "byzantium": true }
async CallContractMethodAndWait({ "contractAddress": "0xa570b8c292b02a0bca8e4c3f2da9abad0da8951a", "methodName": "deleteContent", "methodArgs": [ "0x2f887c658a005b7b6d6733ddccad73107494a4da" ] }); { "to": "0xA570b8c292b02a0bca8E4C3F2dA9aBAD0dA8951a", "from": "0x665AEe2328fa4040e569e91be23Faf5A82a6186C", "contractAddress": null, "transactionIndex": 0, "gasUsed": { "_hex": "0x40a5" }, "logsBloom": "0x00000000000800000000000000000000008000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000010000000000000000000000000000000000000000000000000000000000000000000000", "blockHash": "0x3dead04cfc3b36840c9ca53c5fb9c8791737c335bb5b4fb63755b1eb9f887a2b", "transactionHash": "0x664f342004b095dcddabbf31e3dd775412bd53662bebfa348deda62f1ec36869", "logs": [ { "transactionIndex": 0, "blockNumber": 203391, "transactionHash": "0x664f342004b095dcddabbf31e3dd775412bd53662bebfa348deda62f1ec36869", "address": "0xA570b8c292b02a0bca8E4C3F2dA9aBAD0dA8951a", "topics": [ "0x36500cee87b0da1746889a3483dccb525acfc40b8c0f2218e164c6cdf1482a3e" ], "data": "0x0000000000000000000000002f887c658a005b7b6d6733ddccad73107494a4da000000000000000000000000e43da44cd2f7b9ead9405c8763dc7493a5ab54f1", "logIndex": 0, "blockHash": "0x3dead04cfc3b36840c9ca53c5fb9c8791737c335bb5b4fb63755b1eb9f887a2b", "transactionLogIndex": 0, "decode": "<function>", "name": "ContentObjectDeleted", "signature": "ContentObjectDeleted(address,address)", "topic": "0x36500cee87b0da1746889a3483dccb525acfc40b8c0f2218e164c6cdf1482a3e", "values": { "0": "0x2F887C658A005b7b6D6733dDCCad73107494A4DA", "1": "0xe43DA44cd2f7b9Ead9405C8763Dc7493a5AB54f1", "contentAddress": "0x2F887C658A005b7b6D6733dDCCad73107494A4DA", "spaceAddress": "0xe43DA44cd2f7b9Ead9405C8763Dc7493a5AB54f1", "length": 2 } } ], "blockNumber": 203391, "confirmations": 1, "cumulativeGasUsed": { "_hex": "0x40a5" }, "status": 1, "byzantium": true }
async CallContractMethodAndWait({ "contractAddress": "0x8b42013151e80d738cfd81157b80be7febbccc5a", "methodName": "deleteContent", "methodArgs": [ "0xa9749f575e1faadaddd1fe8a8410b25460307f80" ] }); { "to": "0x8B42013151E80D738cfD81157B80be7feBbCCC5a", "from": "0x665AEe2328fa4040e569e91be23Faf5A82a6186C", "contractAddress": null, "transactionIndex": 0, "gasUsed": { "_hex": "0x40c5" }, "logsBloom": "0x00000000000800000000000000000000008000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002002000000000000000000000000000000000000000000000000000000000000000000000000000000000", "blockHash": "0x463e43beb849445441bf13d8f5cb47fce6caaa1183880e9bd04463e1d5e9c20f", "transactionHash": "0x28cb1d1d1138dc5afbf1ed604b96e59dfa6880efb0716ed59dee50968909ff53", "logs": [ { "transactionIndex": 0, "blockNumber": 203392, "transactionHash": "0x28cb1d1d1138dc5afbf1ed604b96e59dfa6880efb0716ed59dee50968909ff53", "address": "0x8B42013151E80D738cfD81157B80be7feBbCCC5a", "topics": [ "0x36500cee87b0da1746889a3483dccb525acfc40b8c0f2218e164c6cdf1482a3e" ], "data": "0x000000000000000000000000a9749f575e1faadaddd1fe8a8410b25460307f80000000000000000000000000e43da44cd2f7b9ead9405c8763dc7493a5ab54f1", "logIndex": 0, "blockHash": "0x463e43beb849445441bf13d8f5cb47fce6caaa1183880e9bd04463e1d5e9c20f", "transactionLogIndex": 0, "decode": "<function>", "name": "ContentObjectDeleted", "signature": "ContentObjectDeleted(address,address)", "topic": "0x36500cee87b0da1746889a3483dccb525acfc40b8c0f2218e164c6cdf1482a3e", "values": { "0": "0xA9749f575e1faADAddD1Fe8A8410b25460307F80", "1": "0xe43DA44cd2f7b9Ead9405C8763Dc7493a5AB54f1", "contentAddress": "0xA9749f575e1faADAddD1Fe8A8410b25460307F80", "spaceAddress": "0xe43DA44cd2f7b9Ead9405C8763Dc7493a5AB54f1", "length": 2 } } ], "blockNumber": 203392, "confirmations": 1, "cumulativeGasUsed": { "_hex": "0x40c5" }, "status": 1, "byzantium": true }
- Source:
static ContractAbi({contractAddressoptional,idoptional}) → Promise.<Object>
Retrieve the ABI for the given contract via its address or a Fabric ID. Contract must be a standard Eluvio contract
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
contractAddress |
string |
<optional> |
The address of the contract |
id |
string |
<optional> |
The Fabric ID of the contract |
Throws:
If ABI is not able to be determined, throws an error
Examples
async ContractAbi({ "contractAddress": "0xfea494af0cfb6bbc257314f4c00850a5f03476d0" }); [ { "constant": true, "inputs": [], "name": "STATUS_PUBLISHED", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "parentAddress", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "creator", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "request_ID", "type": "uint256" }, { "name": "score_pct", "type": "uint256" }, { "name": "", "type": "uint256" } ], "name": "accessComplete", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [], "name": "publish", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [ { "name": "requestNonce", "type": "uint256" }, { "name": "payee", "type": "address" }, { "name": "label", "type": "string" }, { "name": "amount", "type": "uint256" } ], "name": "processRequestPayment", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "stakeholder", "type": "address" }, { "name": "access_type", "type": "uint8" }, { "name": "access", "type": "uint8" } ], "name": "setRights", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_SEE", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "canConfirm", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "requestMap", "outputs": [ { "name": "originator", "type": "address" }, { "name": "amountPaid", "type": "uint256" }, { "name": "status", "type": "int8" }, { "name": "settled", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessRequestV3", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [ { "name": "group", "type": "address" }, { "name": "access_type", "type": "uint8" }, { "name": "access", "type": "uint8" } ], "name": "setGroupRights", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "contentContractAddress", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "_candidate", "type": "address" } ], "name": "isAdmin", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "statusCode", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "visibility", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "addressKMS", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "countVersionHashes", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "contentType", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "commitPending", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "status_code", "type": "int256" } ], "name": "statusCodeDescription", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "level", "type": "uint8" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "getAccessInfo", "outputs": [ { "name": "", "type": "uint8" }, { "name": "", "type": "uint8" }, { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "objectTimestamp", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "kill", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [], "name": "confirmCommit", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [ { "name": "requestNonce", "type": "uint256" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessCompleteV3", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [ { "name": "requestNonce", "type": "uint256" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessCompleteInternal", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [], "name": "STATUS_DRAFT", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "status_code", "type": "int256" } ], "name": "setStatusCode", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "version", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "versionAPI", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "clearPending", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "pendingHash", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "indexCategory", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "accessCharge", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "candidate", "type": "address" } ], "name": "hasEditorRight", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "newCreator", "type": "address" } ], "name": "transferCreatorship", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "canCommit", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "versionTimestamp", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "requestNonce", "type": "uint256" }, { "name": "contextHash", "type": "bytes32" }, { "name": "accessor", "type": "address" }, { "name": "request_timestamp", "type": "uint256" } ], "name": "accessRequestContext", "outputs": [ { "name": "", "type": "uint256" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "versionHashes", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "accessor", "type": "address" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "getAccessInfoV3", "outputs": [ { "name": "", "type": "uint8" }, { "name": "", "type": "uint8" }, { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "canEdit", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "status_code", "type": "int256" } ], "name": "updateStatus", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "owner", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "reqId", "type": "uint256" } ], "name": "makeNonce", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "requestID", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "candidate", "type": "address" } ], "name": "hasAccess", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_ACCESS", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_objectHash", "type": "string" } ], "name": "commit", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "level", "type": "uint8" }, { "name": "pkeRequestor", "type": "string" }, { "name": "pkeAFGH", "type": "string" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessRequest", "outputs": [ { "name": "", "type": "uint256" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [ { "name": "prefix", "type": "bytes" } ], "name": "getKMSInfo", "outputs": [ { "name": "", "type": "string" }, { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_visibility_code", "type": "uint8" } ], "name": "setVisibility", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "key", "type": "bytes" } ], "name": "getMeta", "outputs": [ { "name": "", "type": "bytes" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "contentSpace", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "libraryAddress", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_requestNonce", "type": "uint256" }, { "name": "_contextHash", "type": "bytes32" }, { "name": "_accessor", "type": "address" }, { "name": "_request_timestamp", "type": "uint256" } ], "name": "accessCompleteContext", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [ { "name": "accessor", "type": "address" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "getCustomInfo", "outputs": [ { "name": "", "type": "uint8" }, { "name": "", "type": "uint8" }, { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "updateRequest", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "address_KMS", "type": "address" } ], "name": "setAddressKMS", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "canPublish", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "STATUS_REVIEW", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "objectHash", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_versionHash", "type": "string" } ], "name": "deleteVersion", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "addr", "type": "address" } ], "name": "setContentContractAddress", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "key", "type": "bytes" }, { "name": "value", "type": "bytes" } ], "name": "putMeta", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_EDIT", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "charge", "type": "uint256" } ], "name": "setAccessCharge", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "statusDescription", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "inputs": [ { "name": "content_space", "type": "address" }, { "name": "lib", "type": "address" }, { "name": "content_type", "type": "address" } ], "payable": true, "stateMutability": "payable", "type": "constructor" }, { "payable": true, "stateMutability": "payable", "type": "fallback" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "containingLibrary", "type": "address" } ], "name": "ContentObjectCreate", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentType", "type": "address" }, { "indexed": false, "name": "contentContractAddress", "type": "address" } ], "name": "SetContentType", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestNonce", "type": "uint256" }, { "indexed": false, "name": "label", "type": "string" }, { "indexed": false, "name": "payee", "type": "address" }, { "indexed": false, "name": "amount", "type": "uint256" } ], "name": "LogPayment", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "customValue", "type": "bytes32" } ], "name": "AccessRequestValue", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "stakeholder", "type": "address" } ], "name": "AccessRequestStakeholder", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestID", "type": "uint256" }, { "indexed": false, "name": "level", "type": "uint8" }, { "indexed": false, "name": "contentHash", "type": "string" }, { "indexed": false, "name": "pkeRequestor", "type": "string" }, { "indexed": false, "name": "pkeAFGH", "type": "string" } ], "name": "AccessRequest", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestID", "type": "uint256" }, { "indexed": false, "name": "scorePct", "type": "uint256" }, { "indexed": false, "name": "customContractResult", "type": "bool" } ], "name": "AccessComplete", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestNonce", "type": "uint256" }, { "indexed": false, "name": "customContractResult", "type": "bool" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "contextHash", "type": "bytes32" }, { "indexed": false, "name": "accessor", "type": "address" }, { "indexed": false, "name": "request_timestamp", "type": "uint256" } ], "name": "AccessCompleteV3", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentContractAddress", "type": "address" } ], "name": "SetContentContract", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "accessCharge", "type": "uint256" } ], "name": "SetAccessCharge", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "accessCharge", "type": "uint256" }, { "indexed": false, "name": "amountProvided", "type": "uint256" } ], "name": "InsufficientFunds", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "statusCode", "type": "int256" } ], "name": "SetStatusCode", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestStatus", "type": "bool" }, { "indexed": false, "name": "statusCode", "type": "int256" }, { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "Publish", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "custom_contract", "type": "address" } ], "name": "InvokeCustomPreHook", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "custom_contract", "type": "address" }, { "indexed": false, "name": "result", "type": "uint256" } ], "name": "ReturnCustomHook", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "custom_contract", "type": "address" } ], "name": "InvokeCustomPostHook", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "CommitPending", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "UpdateRequest", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "VersionConfirm", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "versionHash", "type": "string" }, { "indexed": false, "name": "index", "type": "int256" } ], "name": "VersionDelete", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestNonce", "type": "uint256" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "contextHash", "type": "bytes32" }, { "indexed": false, "name": "accessor", "type": "address" }, { "indexed": false, "name": "requestTimestamp", "type": "uint256" } ], "name": "AccessRequestV3", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentSpace", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "visibility", "type": "uint8" } ], "name": "VisibilityChanged", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "key", "type": "bytes" } ], "name": "ObjectMetaChanged", "type": "event" } ]
async ContractAbi({ "id": "iq__4Ym91uVyPhayTRsew3ixQ8aGDJjy" }); [ { "constant": true, "inputs": [], "name": "STATUS_PUBLISHED", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "parentAddress", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "creator", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "request_ID", "type": "uint256" }, { "name": "score_pct", "type": "uint256" }, { "name": "", "type": "uint256" } ], "name": "accessComplete", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [], "name": "publish", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [ { "name": "requestNonce", "type": "uint256" }, { "name": "payee", "type": "address" }, { "name": "label", "type": "string" }, { "name": "amount", "type": "uint256" } ], "name": "processRequestPayment", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "stakeholder", "type": "address" }, { "name": "access_type", "type": "uint8" }, { "name": "access", "type": "uint8" } ], "name": "setRights", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_SEE", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "canConfirm", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "requestMap", "outputs": [ { "name": "originator", "type": "address" }, { "name": "amountPaid", "type": "uint256" }, { "name": "status", "type": "int8" }, { "name": "settled", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessRequestV3", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [ { "name": "group", "type": "address" }, { "name": "access_type", "type": "uint8" }, { "name": "access", "type": "uint8" } ], "name": "setGroupRights", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "contentContractAddress", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "_candidate", "type": "address" } ], "name": "isAdmin", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "statusCode", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "visibility", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "addressKMS", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "countVersionHashes", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "contentType", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "commitPending", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "status_code", "type": "int256" } ], "name": "statusCodeDescription", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "level", "type": "uint8" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "getAccessInfo", "outputs": [ { "name": "", "type": "uint8" }, { "name": "", "type": "uint8" }, { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "objectTimestamp", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "kill", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [], "name": "confirmCommit", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [ { "name": "requestNonce", "type": "uint256" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessCompleteV3", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [ { "name": "requestNonce", "type": "uint256" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessCompleteInternal", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [], "name": "STATUS_DRAFT", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "status_code", "type": "int256" } ], "name": "setStatusCode", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "version", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "versionAPI", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "clearPending", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "pendingHash", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "indexCategory", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "accessCharge", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "candidate", "type": "address" } ], "name": "hasEditorRight", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "newCreator", "type": "address" } ], "name": "transferCreatorship", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "canCommit", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "versionTimestamp", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "requestNonce", "type": "uint256" }, { "name": "contextHash", "type": "bytes32" }, { "name": "accessor", "type": "address" }, { "name": "request_timestamp", "type": "uint256" } ], "name": "accessRequestContext", "outputs": [ { "name": "", "type": "uint256" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "versionHashes", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "accessor", "type": "address" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "getAccessInfoV3", "outputs": [ { "name": "", "type": "uint8" }, { "name": "", "type": "uint8" }, { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "canEdit", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "status_code", "type": "int256" } ], "name": "updateStatus", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "owner", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "reqId", "type": "uint256" } ], "name": "makeNonce", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "requestID", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "candidate", "type": "address" } ], "name": "hasAccess", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_ACCESS", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_objectHash", "type": "string" } ], "name": "commit", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "level", "type": "uint8" }, { "name": "pkeRequestor", "type": "string" }, { "name": "pkeAFGH", "type": "string" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessRequest", "outputs": [ { "name": "", "type": "uint256" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [ { "name": "prefix", "type": "bytes" } ], "name": "getKMSInfo", "outputs": [ { "name": "", "type": "string" }, { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_visibility_code", "type": "uint8" } ], "name": "setVisibility", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "key", "type": "bytes" } ], "name": "getMeta", "outputs": [ { "name": "", "type": "bytes" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "contentSpace", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "libraryAddress", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_requestNonce", "type": "uint256" }, { "name": "_contextHash", "type": "bytes32" }, { "name": "_accessor", "type": "address" }, { "name": "_request_timestamp", "type": "uint256" } ], "name": "accessCompleteContext", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [ { "name": "accessor", "type": "address" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "getCustomInfo", "outputs": [ { "name": "", "type": "uint8" }, { "name": "", "type": "uint8" }, { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "updateRequest", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "address_KMS", "type": "address" } ], "name": "setAddressKMS", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "canPublish", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "STATUS_REVIEW", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "objectHash", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_versionHash", "type": "string" } ], "name": "deleteVersion", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "addr", "type": "address" } ], "name": "setContentContractAddress", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "key", "type": "bytes" }, { "name": "value", "type": "bytes" } ], "name": "putMeta", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_EDIT", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "charge", "type": "uint256" } ], "name": "setAccessCharge", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "statusDescription", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "inputs": [ { "name": "content_space", "type": "address" }, { "name": "lib", "type": "address" }, { "name": "content_type", "type": "address" } ], "payable": true, "stateMutability": "payable", "type": "constructor" }, { "payable": true, "stateMutability": "payable", "type": "fallback" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "containingLibrary", "type": "address" } ], "name": "ContentObjectCreate", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentType", "type": "address" }, { "indexed": false, "name": "contentContractAddress", "type": "address" } ], "name": "SetContentType", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestNonce", "type": "uint256" }, { "indexed": false, "name": "label", "type": "string" }, { "indexed": false, "name": "payee", "type": "address" }, { "indexed": false, "name": "amount", "type": "uint256" } ], "name": "LogPayment", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "customValue", "type": "bytes32" } ], "name": "AccessRequestValue", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "stakeholder", "type": "address" } ], "name": "AccessRequestStakeholder", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestID", "type": "uint256" }, { "indexed": false, "name": "level", "type": "uint8" }, { "indexed": false, "name": "contentHash", "type": "string" }, { "indexed": false, "name": "pkeRequestor", "type": "string" }, { "indexed": false, "name": "pkeAFGH", "type": "string" } ], "name": "AccessRequest", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestID", "type": "uint256" }, { "indexed": false, "name": "scorePct", "type": "uint256" }, { "indexed": false, "name": "customContractResult", "type": "bool" } ], "name": "AccessComplete", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestNonce", "type": "uint256" }, { "indexed": false, "name": "customContractResult", "type": "bool" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "contextHash", "type": "bytes32" }, { "indexed": false, "name": "accessor", "type": "address" }, { "indexed": false, "name": "request_timestamp", "type": "uint256" } ], "name": "AccessCompleteV3", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentContractAddress", "type": "address" } ], "name": "SetContentContract", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "accessCharge", "type": "uint256" } ], "name": "SetAccessCharge", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "accessCharge", "type": "uint256" }, { "indexed": false, "name": "amountProvided", "type": "uint256" } ], "name": "InsufficientFunds", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "statusCode", "type": "int256" } ], "name": "SetStatusCode", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestStatus", "type": "bool" }, { "indexed": false, "name": "statusCode", "type": "int256" }, { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "Publish", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "custom_contract", "type": "address" } ], "name": "InvokeCustomPreHook", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "custom_contract", "type": "address" }, { "indexed": false, "name": "result", "type": "uint256" } ], "name": "ReturnCustomHook", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "custom_contract", "type": "address" } ], "name": "InvokeCustomPostHook", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "CommitPending", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "UpdateRequest", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "VersionConfirm", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "versionHash", "type": "string" }, { "indexed": false, "name": "index", "type": "int256" } ], "name": "VersionDelete", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestNonce", "type": "uint256" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "contextHash", "type": "bytes32" }, { "indexed": false, "name": "accessor", "type": "address" }, { "indexed": false, "name": "requestTimestamp", "type": "uint256" } ], "name": "AccessRequestV3", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentSpace", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "visibility", "type": "uint8" } ], "name": "VisibilityChanged", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "key", "type": "bytes" } ], "name": "ObjectMetaChanged", "type": "event" } ]
async ContractAbi({ "contractAddress": "0xe43da44cd2f7b9ead9405c8763dc7493a5ab54f1" }); [ { "constant": true, "inputs": [], "name": "parentAddress", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "creator", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "name", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "_candidate", "type": "address" } ], "name": "canContribute", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "content_type", "type": "address" }, { "name": "content_contract", "type": "address" } ], "name": "addContentType", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "canConfirm", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_locator", "type": "bytes" } ], "name": "submitNode", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "address" } ], "name": "contentTypeContracts", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "typeHash", "type": "bytes32" } ], "name": "findTypeByHash", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "candidate", "type": "address" } ], "name": "canNodePublish", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "_kmsID", "type": "string" }, { "name": "prefix", "type": "bytes" } ], "name": "getKMSInfo", "outputs": [ { "name": "", "type": "string" }, { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "address" } ], "name": "canReview", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "content_type", "type": "address" } ], "name": "validType", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "contentObj", "type": "address" } ], "name": "publish", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [], "name": "registerSpaceNode", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "addressKMS", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "countVersionHashes", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "commitPending", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "requiresReview", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "address_KMS", "type": "address" } ], "name": "createLibrary", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [], "name": "kill", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "numActiveNodes", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "libraryFactory", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "confirmCommit", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "activeNodeLocators", "outputs": [ { "name": "", "type": "bytes" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "activeNodeAddresses", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "version", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "createGroup", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "_kmsAddr", "type": "address" } ], "name": "getKMSID", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "new_factory", "type": "address" } ], "name": "setFactory", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [], "name": "clearPending", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "pendingHash", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "_userAddr", "type": "address" } ], "name": "userWallets", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_nodeAddr", "type": "address" }, { "name": "_locator", "type": "bytes" } ], "name": "addNode", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "_kmsID", "type": "string" }, { "name": "_locator", "type": "bytes" } ], "name": "addKMSLocator", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "pendingNodeLocators", "outputs": [ { "name": "", "type": "bytes" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "pendingNodeAddresses", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "newCreator", "type": "address" } ], "name": "transferCreatorship", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "canCommit", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "description", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "createAccessWallet", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "versionTimestamp", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "versionHashes", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "new_factory", "type": "address" } ], "name": "setWalletFactory", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "canEdit", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "new_factory", "type": "address" } ], "name": "setGroupFactory", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "new_factory", "type": "address" } ], "name": "setContentFactory", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "_kmsIdStr", "type": "string" } ], "name": "checkKMS", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "owner", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "contentFactory", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "content_space_description", "type": "string" } ], "name": "setDescription", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "address" } ], "name": "hasAccess", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_objectHash", "type": "string" } ], "name": "commit", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "contentTypes", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "_candidate", "type": "address" } ], "name": "canPublish", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "content_type", "type": "address" } ], "name": "whitelistedType", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "new_factory", "type": "address" } ], "name": "setLibraryFactory", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [], "name": "getAccessWallet", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "_kmsID", "type": "string" }, { "name": "_pubKey", "type": "string" } ], "name": "setKMSPublicKey", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [], "name": "unregisterSpaceNode", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "key", "type": "bytes" } ], "name": "getMeta", "outputs": [ { "name": "", "type": "bytes" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "contentSpace", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "groupFactory", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_nodeAddr", "type": "address" } ], "name": "removeNode", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [], "name": "createContentType", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "lib", "type": "address" }, { "name": "content_type", "type": "address" } ], "name": "createContent", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [], "name": "updateRequest", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "factory", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "walletFactory", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "contentTypesLength", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "engageAccountLibrary", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "address_KMS", "type": "address" } ], "name": "setAddressKMS", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "_kmsAddr", "type": "address" } ], "name": "checkKMSAddr", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_nodeAddr", "type": "address" } ], "name": "approveNode", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "objectHash", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_versionHash", "type": "string" } ], "name": "deleteVersion", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "key", "type": "bytes" }, { "name": "value", "type": "bytes" } ], "name": "putMeta", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "_v", "type": "uint8[]" }, { "name": "_r", "type": "bytes32[]" }, { "name": "_s", "type": "bytes32[]" }, { "name": "_from", "type": "address[]" }, { "name": "_dest", "type": "address[]" }, { "name": "_value", "type": "uint256[]" }, { "name": "_ts", "type": "uint256[]" } ], "name": "executeBatch", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [], "name": "accessRequest", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "numPendingNodes", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "address" } ], "name": "nodeMapping", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "content_type", "type": "address" } ], "name": "removeContentType", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "_kmsID", "type": "string" }, { "name": "_locator", "type": "bytes" } ], "name": "removeKMSLocator", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "name": "content_space_name", "type": "string" } ], "payable": false, "stateMutability": "nonpayable", "type": "constructor" }, { "payable": true, "stateMutability": "payable", "type": "fallback" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentTypeAddress", "type": "address" } ], "name": "CreateContentType", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "libraryAddress", "type": "address" } ], "name": "CreateLibrary", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "groupAddress", "type": "address" } ], "name": "CreateGroup", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentAddress", "type": "address" } ], "name": "CreateContent", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "wallet", "type": "address" } ], "name": "CreateAccessWallet", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "wallet", "type": "address" }, { "indexed": false, "name": "userAddr", "type": "address" } ], "name": "BindUserWallet", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "accountAddress", "type": "address" } ], "name": "EngageAccountLibrary", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "factory", "type": "address" } ], "name": "SetFactory", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "nodeObjAddr", "type": "address" } ], "name": "RegisterNode", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "nodeObjAddr", "type": "address" } ], "name": "UnregisterNode", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "sender", "type": "address" }, { "indexed": false, "name": "status", "type": "uint256" } ], "name": "AddKMSLocator", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "sender", "type": "address" }, { "indexed": false, "name": "status", "type": "uint256" } ], "name": "RemoveKMSLocator", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "version", "type": "bytes32" }, { "indexed": false, "name": "owner", "type": "address" } ], "name": "CreateSpace", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "walletAddress", "type": "address" } ], "name": "GetAccessWallet", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "addr", "type": "address" }, { "indexed": false, "name": "locator", "type": "bytes" } ], "name": "NodeSubmitted", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "addr", "type": "address" }, { "indexed": false, "name": "locator", "type": "bytes" } ], "name": "NodeApproved", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "ownerAddr", "type": "address" }, { "indexed": false, "name": "nodeAddr", "type": "address" } ], "name": "AddNode", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "ownerAddr", "type": "address" }, { "indexed": false, "name": "nodeAddr", "type": "address" } ], "name": "RemoveNode", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentType", "type": "address" }, { "indexed": false, "name": "contentContract", "type": "address" } ], "name": "ContentTypeAdded", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentType", "type": "address" } ], "name": "ContentTypeRemoved", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "CommitPending", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "UpdateRequest", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "VersionConfirm", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "versionHash", "type": "string" }, { "indexed": false, "name": "index", "type": "int256" } ], "name": "VersionDelete", "type": "event" }, { "anonymous": false, "inputs": [], "name": "AccessRequest", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "key", "type": "bytes" } ], "name": "ObjectMetaChanged", "type": "event" } ]
async ContractAbi({ "contractAddress": "0x8b42013151e80d738cfd81157b80be7febbccc5a" }); [ { "constant": true, "inputs": [], "name": "parentAddress", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "address_KMS", "type": "address" } ], "name": "updateAddressKMS", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "creator", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "_candidate", "type": "address" } ], "name": "canContribute", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "content_type", "type": "address" }, { "name": "content_contract", "type": "address" } ], "name": "addContentType", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "stakeholder", "type": "address" }, { "name": "access_type", "type": "uint8" }, { "name": "access", "type": "uint8" } ], "name": "setRights", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_SEE", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "canConfirm", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "approvalRequestsLength", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "group", "type": "address" } ], "name": "removeReviewerGroup", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessRequestV3", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "address" } ], "name": "contentTypeContracts", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "group", "type": "address" } ], "name": "addAccessorGroup", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "content_type", "type": "address" } ], "name": "createContent", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "typeHash", "type": "bytes32" } ], "name": "findTypeByHash", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "reviewerGroupsLength", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "group", "type": "address" }, { "name": "access_type", "type": "uint8" }, { "name": "access", "type": "uint8" } ], "name": "setGroupRights", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "contributorGroups", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "_candidate", "type": "address" } ], "name": "isAdmin", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "visibility", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "_candidate", "type": "address" } ], "name": "canReview", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "content_type", "type": "address" } ], "name": "validType", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "accessorGroups", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "contentObj", "type": "address" } ], "name": "publish", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "addressKMS", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "countVersionHashes", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "commitPending", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "group", "type": "address" } ], "name": "removeContributorGroup", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "requiresReview", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "objectTimestamp", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "kill", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [], "name": "confirmCommit", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [], "name": "contributorGroupsLength", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "submitApprovalRequest", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "version", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "versionAPI", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "clearPending", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "pendingHash", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "indexCategory", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "index", "type": "uint256" } ], "name": "getPendingApprovalRequest", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "group", "type": "address" } ], "name": "addContributorGroup", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "candidate", "type": "address" } ], "name": "hasEditorRight", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "newCreator", "type": "address" } ], "name": "transferCreatorship", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "canCommit", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "versionTimestamp", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "versionHashes", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "canEdit", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "content_contract", "type": "address" }, { "name": "approved", "type": "bool" }, { "name": "note", "type": "string" } ], "name": "approveContent", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "_contentAddr", "type": "address" } ], "name": "deleteContent", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "approvalRequests", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "owner", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "reviewerGroups", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "candidate", "type": "address" } ], "name": "hasAccess", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_ACCESS", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_objectHash", "type": "string" } ], "name": "commit", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "contentTypes", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "_candidate", "type": "address" } ], "name": "canPublish", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "content_type", "type": "address" } ], "name": "whitelistedType", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_visibility_code", "type": "uint8" } ], "name": "setVisibility", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "key", "type": "bytes" } ], "name": "getMeta", "outputs": [ { "name": "", "type": "bytes" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "contentSpace", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "updateRequest", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "contentTypesLength", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "address_KMS", "type": "address" } ], "name": "setAddressKMS", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "canPublish", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "group", "type": "address" } ], "name": "addReviewerGroup", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "objectHash", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_versionHash", "type": "string" } ], "name": "deleteVersion", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "key", "type": "bytes" }, { "name": "value", "type": "bytes" } ], "name": "putMeta", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "accessorGroupsLength", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "group", "type": "address" } ], "name": "removeAccessorGroup", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_EDIT", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "content_type", "type": "address" } ], "name": "removeContentType", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "name": "address_KMS", "type": "address" }, { "name": "content_space", "type": "address" } ], "payable": true, "stateMutability": "payable", "type": "constructor" }, { "payable": true, "stateMutability": "payable", "type": "fallback" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentAddress", "type": "address" }, { "indexed": false, "name": "content_type", "type": "address" }, { "indexed": false, "name": "spaceAddress", "type": "address" } ], "name": "ContentObjectCreated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentAddress", "type": "address" }, { "indexed": false, "name": "spaceAddress", "type": "address" } ], "name": "ContentObjectDeleted", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "group", "type": "address" } ], "name": "ContributorGroupAdded", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "group", "type": "address" } ], "name": "ContributorGroupRemoved", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "group", "type": "address" } ], "name": "ReviewerGroupAdded", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "group", "type": "address" } ], "name": "ReviewerGroupRemoved", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "group", "type": "address" } ], "name": "AccessorGroupAdded", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "group", "type": "address" } ], "name": "AccessorGroupRemoved", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "operationCode", "type": "uint256" }, { "indexed": false, "name": "candidate", "type": "address" } ], "name": "UnauthorizedOperation", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentAddress", "type": "address" }, { "indexed": false, "name": "submitter", "type": "address" } ], "name": "ApproveContentRequest", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentAddress", "type": "address" }, { "indexed": false, "name": "approved", "type": "bool" }, { "indexed": false, "name": "note", "type": "string" } ], "name": "ApproveContent", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "addressKms", "type": "address" } ], "name": "UpdateKmsAddress", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentType", "type": "address" }, { "indexed": false, "name": "contentContract", "type": "address" } ], "name": "ContentTypeAdded", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentType", "type": "address" } ], "name": "ContentTypeRemoved", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "CommitPending", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "UpdateRequest", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "VersionConfirm", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "versionHash", "type": "string" }, { "indexed": false, "name": "index", "type": "int256" } ], "name": "VersionDelete", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestNonce", "type": "uint256" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "contextHash", "type": "bytes32" }, { "indexed": false, "name": "accessor", "type": "address" }, { "indexed": false, "name": "requestTimestamp", "type": "uint256" } ], "name": "AccessRequestV3", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentSpace", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "visibility", "type": "uint8" } ], "name": "VisibilityChanged", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "key", "type": "bytes" } ], "name": "ObjectMetaChanged", "type": "event" } ]
async ContractAbi({ "id": "iq__2wXUwatNUvPoBWtNyiyDEsEYRxX3" }); [ { "constant": true, "inputs": [], "name": "parentAddress", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "address_KMS", "type": "address" } ], "name": "updateAddressKMS", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "creator", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "_candidate", "type": "address" } ], "name": "canContribute", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "content_type", "type": "address" }, { "name": "content_contract", "type": "address" } ], "name": "addContentType", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "stakeholder", "type": "address" }, { "name": "access_type", "type": "uint8" }, { "name": "access", "type": "uint8" } ], "name": "setRights", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_SEE", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "canConfirm", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "approvalRequestsLength", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "group", "type": "address" } ], "name": "removeReviewerGroup", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessRequestV3", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "address" } ], "name": "contentTypeContracts", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "group", "type": "address" } ], "name": "addAccessorGroup", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "content_type", "type": "address" } ], "name": "createContent", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "typeHash", "type": "bytes32" } ], "name": "findTypeByHash", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "reviewerGroupsLength", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "group", "type": "address" }, { "name": "access_type", "type": "uint8" }, { "name": "access", "type": "uint8" } ], "name": "setGroupRights", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "contributorGroups", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "_candidate", "type": "address" } ], "name": "isAdmin", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "visibility", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "_candidate", "type": "address" } ], "name": "canReview", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "content_type", "type": "address" } ], "name": "validType", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "accessorGroups", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "contentObj", "type": "address" } ], "name": "publish", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "addressKMS", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "countVersionHashes", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "commitPending", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "group", "type": "address" } ], "name": "removeContributorGroup", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "requiresReview", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "objectTimestamp", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "kill", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [], "name": "confirmCommit", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [], "name": "contributorGroupsLength", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "submitApprovalRequest", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "version", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "versionAPI", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "clearPending", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "pendingHash", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "indexCategory", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "index", "type": "uint256" } ], "name": "getPendingApprovalRequest", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "group", "type": "address" } ], "name": "addContributorGroup", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "candidate", "type": "address" } ], "name": "hasEditorRight", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "newCreator", "type": "address" } ], "name": "transferCreatorship", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "canCommit", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "versionTimestamp", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "versionHashes", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "canEdit", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "content_contract", "type": "address" }, { "name": "approved", "type": "bool" }, { "name": "note", "type": "string" } ], "name": "approveContent", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "_contentAddr", "type": "address" } ], "name": "deleteContent", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "approvalRequests", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "owner", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "reviewerGroups", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "candidate", "type": "address" } ], "name": "hasAccess", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_ACCESS", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_objectHash", "type": "string" } ], "name": "commit", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "contentTypes", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "_candidate", "type": "address" } ], "name": "canPublish", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "content_type", "type": "address" } ], "name": "whitelistedType", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_visibility_code", "type": "uint8" } ], "name": "setVisibility", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "key", "type": "bytes" } ], "name": "getMeta", "outputs": [ { "name": "", "type": "bytes" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "contentSpace", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "updateRequest", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "contentTypesLength", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "address_KMS", "type": "address" } ], "name": "setAddressKMS", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "canPublish", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "group", "type": "address" } ], "name": "addReviewerGroup", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "objectHash", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_versionHash", "type": "string" } ], "name": "deleteVersion", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "key", "type": "bytes" }, { "name": "value", "type": "bytes" } ], "name": "putMeta", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "accessorGroupsLength", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "group", "type": "address" } ], "name": "removeAccessorGroup", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_EDIT", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "content_type", "type": "address" } ], "name": "removeContentType", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "name": "address_KMS", "type": "address" }, { "name": "content_space", "type": "address" } ], "payable": true, "stateMutability": "payable", "type": "constructor" }, { "payable": true, "stateMutability": "payable", "type": "fallback" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentAddress", "type": "address" }, { "indexed": false, "name": "content_type", "type": "address" }, { "indexed": false, "name": "spaceAddress", "type": "address" } ], "name": "ContentObjectCreated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentAddress", "type": "address" }, { "indexed": false, "name": "spaceAddress", "type": "address" } ], "name": "ContentObjectDeleted", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "group", "type": "address" } ], "name": "ContributorGroupAdded", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "group", "type": "address" } ], "name": "ContributorGroupRemoved", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "group", "type": "address" } ], "name": "ReviewerGroupAdded", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "group", "type": "address" } ], "name": "ReviewerGroupRemoved", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "group", "type": "address" } ], "name": "AccessorGroupAdded", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "group", "type": "address" } ], "name": "AccessorGroupRemoved", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "operationCode", "type": "uint256" }, { "indexed": false, "name": "candidate", "type": "address" } ], "name": "UnauthorizedOperation", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentAddress", "type": "address" }, { "indexed": false, "name": "submitter", "type": "address" } ], "name": "ApproveContentRequest", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentAddress", "type": "address" }, { "indexed": false, "name": "approved", "type": "bool" }, { "indexed": false, "name": "note", "type": "string" } ], "name": "ApproveContent", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "addressKms", "type": "address" } ], "name": "UpdateKmsAddress", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentType", "type": "address" }, { "indexed": false, "name": "contentContract", "type": "address" } ], "name": "ContentTypeAdded", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentType", "type": "address" } ], "name": "ContentTypeRemoved", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "CommitPending", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "UpdateRequest", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "VersionConfirm", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "versionHash", "type": "string" }, { "indexed": false, "name": "index", "type": "int256" } ], "name": "VersionDelete", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestNonce", "type": "uint256" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "contextHash", "type": "bytes32" }, { "indexed": false, "name": "accessor", "type": "address" }, { "indexed": false, "name": "requestTimestamp", "type": "uint256" } ], "name": "AccessRequestV3", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentSpace", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "visibility", "type": "uint8" } ], "name": "VisibilityChanged", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "key", "type": "bytes" } ], "name": "ObjectMetaChanged", "type": "event" } ]
async ContractAbi({ "contractAddress": "0xa9749f575e1faadaddd1fe8a8410b25460307f80" }); [ { "constant": true, "inputs": [], "name": "STATUS_PUBLISHED", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "parentAddress", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "creator", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "request_ID", "type": "uint256" }, { "name": "score_pct", "type": "uint256" }, { "name": "", "type": "uint256" } ], "name": "accessComplete", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [], "name": "publish", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [ { "name": "requestNonce", "type": "uint256" }, { "name": "payee", "type": "address" }, { "name": "label", "type": "string" }, { "name": "amount", "type": "uint256" } ], "name": "processRequestPayment", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "stakeholder", "type": "address" }, { "name": "access_type", "type": "uint8" }, { "name": "access", "type": "uint8" } ], "name": "setRights", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_SEE", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "canConfirm", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "requestMap", "outputs": [ { "name": "originator", "type": "address" }, { "name": "amountPaid", "type": "uint256" }, { "name": "status", "type": "int8" }, { "name": "settled", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessRequestV3", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [ { "name": "group", "type": "address" }, { "name": "access_type", "type": "uint8" }, { "name": "access", "type": "uint8" } ], "name": "setGroupRights", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "contentContractAddress", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "_candidate", "type": "address" } ], "name": "isAdmin", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "statusCode", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "visibility", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "addressKMS", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "countVersionHashes", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "contentType", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "commitPending", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "status_code", "type": "int256" } ], "name": "statusCodeDescription", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "level", "type": "uint8" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "getAccessInfo", "outputs": [ { "name": "", "type": "uint8" }, { "name": "", "type": "uint8" }, { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "objectTimestamp", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "kill", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [], "name": "confirmCommit", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [ { "name": "requestNonce", "type": "uint256" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessCompleteV3", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [ { "name": "requestNonce", "type": "uint256" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessCompleteInternal", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [], "name": "STATUS_DRAFT", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "status_code", "type": "int256" } ], "name": "setStatusCode", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "version", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "versionAPI", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "clearPending", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "pendingHash", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "indexCategory", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "accessCharge", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "candidate", "type": "address" } ], "name": "hasEditorRight", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "newCreator", "type": "address" } ], "name": "transferCreatorship", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "canCommit", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "versionTimestamp", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "requestNonce", "type": "uint256" }, { "name": "contextHash", "type": "bytes32" }, { "name": "accessor", "type": "address" }, { "name": "request_timestamp", "type": "uint256" } ], "name": "accessRequestContext", "outputs": [ { "name": "", "type": "uint256" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "versionHashes", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "accessor", "type": "address" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "getAccessInfoV3", "outputs": [ { "name": "", "type": "uint8" }, { "name": "", "type": "uint8" }, { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "canEdit", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "status_code", "type": "int256" } ], "name": "updateStatus", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "owner", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "reqId", "type": "uint256" } ], "name": "makeNonce", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "requestID", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "candidate", "type": "address" } ], "name": "hasAccess", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_ACCESS", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_objectHash", "type": "string" } ], "name": "commit", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "level", "type": "uint8" }, { "name": "pkeRequestor", "type": "string" }, { "name": "pkeAFGH", "type": "string" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessRequest", "outputs": [ { "name": "", "type": "uint256" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [ { "name": "prefix", "type": "bytes" } ], "name": "getKMSInfo", "outputs": [ { "name": "", "type": "string" }, { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_visibility_code", "type": "uint8" } ], "name": "setVisibility", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "key", "type": "bytes" } ], "name": "getMeta", "outputs": [ { "name": "", "type": "bytes" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "contentSpace", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "libraryAddress", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_requestNonce", "type": "uint256" }, { "name": "_contextHash", "type": "bytes32" }, { "name": "_accessor", "type": "address" }, { "name": "_request_timestamp", "type": "uint256" } ], "name": "accessCompleteContext", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [ { "name": "accessor", "type": "address" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "getCustomInfo", "outputs": [ { "name": "", "type": "uint8" }, { "name": "", "type": "uint8" }, { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "updateRequest", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "address_KMS", "type": "address" } ], "name": "setAddressKMS", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "canPublish", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "STATUS_REVIEW", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "objectHash", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_versionHash", "type": "string" } ], "name": "deleteVersion", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "addr", "type": "address" } ], "name": "setContentContractAddress", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "key", "type": "bytes" }, { "name": "value", "type": "bytes" } ], "name": "putMeta", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_EDIT", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "charge", "type": "uint256" } ], "name": "setAccessCharge", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "statusDescription", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "inputs": [ { "name": "content_space", "type": "address" }, { "name": "lib", "type": "address" }, { "name": "content_type", "type": "address" } ], "payable": true, "stateMutability": "payable", "type": "constructor" }, { "payable": true, "stateMutability": "payable", "type": "fallback" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "containingLibrary", "type": "address" } ], "name": "ContentObjectCreate", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentType", "type": "address" }, { "indexed": false, "name": "contentContractAddress", "type": "address" } ], "name": "SetContentType", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestNonce", "type": "uint256" }, { "indexed": false, "name": "label", "type": "string" }, { "indexed": false, "name": "payee", "type": "address" }, { "indexed": false, "name": "amount", "type": "uint256" } ], "name": "LogPayment", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "customValue", "type": "bytes32" } ], "name": "AccessRequestValue", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "stakeholder", "type": "address" } ], "name": "AccessRequestStakeholder", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestID", "type": "uint256" }, { "indexed": false, "name": "level", "type": "uint8" }, { "indexed": false, "name": "contentHash", "type": "string" }, { "indexed": false, "name": "pkeRequestor", "type": "string" }, { "indexed": false, "name": "pkeAFGH", "type": "string" } ], "name": "AccessRequest", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestID", "type": "uint256" }, { "indexed": false, "name": "scorePct", "type": "uint256" }, { "indexed": false, "name": "customContractResult", "type": "bool" } ], "name": "AccessComplete", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestNonce", "type": "uint256" }, { "indexed": false, "name": "customContractResult", "type": "bool" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "contextHash", "type": "bytes32" }, { "indexed": false, "name": "accessor", "type": "address" }, { "indexed": false, "name": "request_timestamp", "type": "uint256" } ], "name": "AccessCompleteV3", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentContractAddress", "type": "address" } ], "name": "SetContentContract", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "accessCharge", "type": "uint256" } ], "name": "SetAccessCharge", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "accessCharge", "type": "uint256" }, { "indexed": false, "name": "amountProvided", "type": "uint256" } ], "name": "InsufficientFunds", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "statusCode", "type": "int256" } ], "name": "SetStatusCode", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestStatus", "type": "bool" }, { "indexed": false, "name": "statusCode", "type": "int256" }, { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "Publish", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "custom_contract", "type": "address" } ], "name": "InvokeCustomPreHook", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "custom_contract", "type": "address" }, { "indexed": false, "name": "result", "type": "uint256" } ], "name": "ReturnCustomHook", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "custom_contract", "type": "address" } ], "name": "InvokeCustomPostHook", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "CommitPending", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "UpdateRequest", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "VersionConfirm", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "versionHash", "type": "string" }, { "indexed": false, "name": "index", "type": "int256" } ], "name": "VersionDelete", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestNonce", "type": "uint256" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "contextHash", "type": "bytes32" }, { "indexed": false, "name": "accessor", "type": "address" }, { "indexed": false, "name": "requestTimestamp", "type": "uint256" } ], "name": "AccessRequestV3", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentSpace", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "visibility", "type": "uint8" } ], "name": "VisibilityChanged", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "key", "type": "bytes" } ], "name": "ObjectMetaChanged", "type": "event" } ]
async ContractAbi({ "id": "iq__3MvjYsa9bi4aywAYAXUhrvsQVHZq" }); [ { "constant": true, "inputs": [], "name": "STATUS_PUBLISHED", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "parentAddress", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "creator", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "request_ID", "type": "uint256" }, { "name": "score_pct", "type": "uint256" }, { "name": "", "type": "uint256" } ], "name": "accessComplete", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [], "name": "publish", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [ { "name": "requestNonce", "type": "uint256" }, { "name": "payee", "type": "address" }, { "name": "label", "type": "string" }, { "name": "amount", "type": "uint256" } ], "name": "processRequestPayment", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "stakeholder", "type": "address" }, { "name": "access_type", "type": "uint8" }, { "name": "access", "type": "uint8" } ], "name": "setRights", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_SEE", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "canConfirm", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "requestMap", "outputs": [ { "name": "originator", "type": "address" }, { "name": "amountPaid", "type": "uint256" }, { "name": "status", "type": "int8" }, { "name": "settled", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessRequestV3", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [ { "name": "group", "type": "address" }, { "name": "access_type", "type": "uint8" }, { "name": "access", "type": "uint8" } ], "name": "setGroupRights", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "contentContractAddress", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "_candidate", "type": "address" } ], "name": "isAdmin", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "statusCode", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "visibility", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "addressKMS", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "countVersionHashes", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "contentType", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "commitPending", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "status_code", "type": "int256" } ], "name": "statusCodeDescription", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "level", "type": "uint8" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "getAccessInfo", "outputs": [ { "name": "", "type": "uint8" }, { "name": "", "type": "uint8" }, { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "objectTimestamp", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "kill", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [], "name": "confirmCommit", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [ { "name": "requestNonce", "type": "uint256" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessCompleteV3", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [ { "name": "requestNonce", "type": "uint256" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessCompleteInternal", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [], "name": "STATUS_DRAFT", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "status_code", "type": "int256" } ], "name": "setStatusCode", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "version", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "versionAPI", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "clearPending", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "pendingHash", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "indexCategory", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "accessCharge", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "candidate", "type": "address" } ], "name": "hasEditorRight", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "newCreator", "type": "address" } ], "name": "transferCreatorship", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "canCommit", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "versionTimestamp", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "requestNonce", "type": "uint256" }, { "name": "contextHash", "type": "bytes32" }, { "name": "accessor", "type": "address" }, { "name": "request_timestamp", "type": "uint256" } ], "name": "accessRequestContext", "outputs": [ { "name": "", "type": "uint256" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "versionHashes", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "accessor", "type": "address" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "getAccessInfoV3", "outputs": [ { "name": "", "type": "uint8" }, { "name": "", "type": "uint8" }, { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "canEdit", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "status_code", "type": "int256" } ], "name": "updateStatus", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "owner", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "reqId", "type": "uint256" } ], "name": "makeNonce", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "requestID", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "candidate", "type": "address" } ], "name": "hasAccess", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_ACCESS", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_objectHash", "type": "string" } ], "name": "commit", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "level", "type": "uint8" }, { "name": "pkeRequestor", "type": "string" }, { "name": "pkeAFGH", "type": "string" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessRequest", "outputs": [ { "name": "", "type": "uint256" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [ { "name": "prefix", "type": "bytes" } ], "name": "getKMSInfo", "outputs": [ { "name": "", "type": "string" }, { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_visibility_code", "type": "uint8" } ], "name": "setVisibility", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "key", "type": "bytes" } ], "name": "getMeta", "outputs": [ { "name": "", "type": "bytes" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "contentSpace", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "libraryAddress", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_requestNonce", "type": "uint256" }, { "name": "_contextHash", "type": "bytes32" }, { "name": "_accessor", "type": "address" }, { "name": "_request_timestamp", "type": "uint256" } ], "name": "accessCompleteContext", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [ { "name": "accessor", "type": "address" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "getCustomInfo", "outputs": [ { "name": "", "type": "uint8" }, { "name": "", "type": "uint8" }, { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "updateRequest", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "address_KMS", "type": "address" } ], "name": "setAddressKMS", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "canPublish", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "STATUS_REVIEW", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "objectHash", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_versionHash", "type": "string" } ], "name": "deleteVersion", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "addr", "type": "address" } ], "name": "setContentContractAddress", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "key", "type": "bytes" }, { "name": "value", "type": "bytes" } ], "name": "putMeta", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_EDIT", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "charge", "type": "uint256" } ], "name": "setAccessCharge", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "statusDescription", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "inputs": [ { "name": "content_space", "type": "address" }, { "name": "lib", "type": "address" }, { "name": "content_type", "type": "address" } ], "payable": true, "stateMutability": "payable", "type": "constructor" }, { "payable": true, "stateMutability": "payable", "type": "fallback" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "containingLibrary", "type": "address" } ], "name": "ContentObjectCreate", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentType", "type": "address" }, { "indexed": false, "name": "contentContractAddress", "type": "address" } ], "name": "SetContentType", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestNonce", "type": "uint256" }, { "indexed": false, "name": "label", "type": "string" }, { "indexed": false, "name": "payee", "type": "address" }, { "indexed": false, "name": "amount", "type": "uint256" } ], "name": "LogPayment", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "customValue", "type": "bytes32" } ], "name": "AccessRequestValue", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "stakeholder", "type": "address" } ], "name": "AccessRequestStakeholder", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestID", "type": "uint256" }, { "indexed": false, "name": "level", "type": "uint8" }, { "indexed": false, "name": "contentHash", "type": "string" }, { "indexed": false, "name": "pkeRequestor", "type": "string" }, { "indexed": false, "name": "pkeAFGH", "type": "string" } ], "name": "AccessRequest", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestID", "type": "uint256" }, { "indexed": false, "name": "scorePct", "type": "uint256" }, { "indexed": false, "name": "customContractResult", "type": "bool" } ], "name": "AccessComplete", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestNonce", "type": "uint256" }, { "indexed": false, "name": "customContractResult", "type": "bool" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "contextHash", "type": "bytes32" }, { "indexed": false, "name": "accessor", "type": "address" }, { "indexed": false, "name": "request_timestamp", "type": "uint256" } ], "name": "AccessCompleteV3", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentContractAddress", "type": "address" } ], "name": "SetContentContract", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "accessCharge", "type": "uint256" } ], "name": "SetAccessCharge", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "accessCharge", "type": "uint256" }, { "indexed": false, "name": "amountProvided", "type": "uint256" } ], "name": "InsufficientFunds", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "statusCode", "type": "int256" } ], "name": "SetStatusCode", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestStatus", "type": "bool" }, { "indexed": false, "name": "statusCode", "type": "int256" }, { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "Publish", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "custom_contract", "type": "address" } ], "name": "InvokeCustomPreHook", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "custom_contract", "type": "address" }, { "indexed": false, "name": "result", "type": "uint256" } ], "name": "ReturnCustomHook", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "custom_contract", "type": "address" } ], "name": "InvokeCustomPostHook", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "CommitPending", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "UpdateRequest", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "VersionConfirm", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "versionHash", "type": "string" }, { "indexed": false, "name": "index", "type": "int256" } ], "name": "VersionDelete", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestNonce", "type": "uint256" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "contextHash", "type": "bytes32" }, { "indexed": false, "name": "accessor", "type": "address" }, { "indexed": false, "name": "requestTimestamp", "type": "uint256" } ], "name": "AccessRequestV3", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentSpace", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "visibility", "type": "uint8" } ], "name": "VisibilityChanged", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "key", "type": "bytes" } ], "name": "ObjectMetaChanged", "type": "event" } ]
async ContractAbi({ "contractAddress": "0x97172a5190a9967238444e2e7983f934a8d40e47" }); [ { "constant": true, "inputs": [], "name": "parentAddress", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "address_KMS", "type": "address" } ], "name": "updateAddressKMS", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "creator", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "_candidate", "type": "address" } ], "name": "canContribute", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "content_type", "type": "address" }, { "name": "content_contract", "type": "address" } ], "name": "addContentType", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "stakeholder", "type": "address" }, { "name": "access_type", "type": "uint8" }, { "name": "access", "type": "uint8" } ], "name": "setRights", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_SEE", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "canConfirm", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "approvalRequestsLength", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "group", "type": "address" } ], "name": "removeReviewerGroup", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessRequestV3", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "address" } ], "name": "contentTypeContracts", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "group", "type": "address" } ], "name": "addAccessorGroup", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "content_type", "type": "address" } ], "name": "createContent", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "typeHash", "type": "bytes32" } ], "name": "findTypeByHash", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "reviewerGroupsLength", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "group", "type": "address" }, { "name": "access_type", "type": "uint8" }, { "name": "access", "type": "uint8" } ], "name": "setGroupRights", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "contributorGroups", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "_candidate", "type": "address" } ], "name": "isAdmin", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "visibility", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "_candidate", "type": "address" } ], "name": "canReview", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "content_type", "type": "address" } ], "name": "validType", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "accessorGroups", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "contentObj", "type": "address" } ], "name": "publish", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "addressKMS", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "countVersionHashes", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "commitPending", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "group", "type": "address" } ], "name": "removeContributorGroup", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "requiresReview", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "objectTimestamp", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "kill", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [], "name": "confirmCommit", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [], "name": "contributorGroupsLength", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "submitApprovalRequest", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "version", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "versionAPI", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "clearPending", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "pendingHash", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "indexCategory", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "index", "type": "uint256" } ], "name": "getPendingApprovalRequest", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "group", "type": "address" } ], "name": "addContributorGroup", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "candidate", "type": "address" } ], "name": "hasEditorRight", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "newCreator", "type": "address" } ], "name": "transferCreatorship", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "canCommit", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "versionTimestamp", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "versionHashes", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "canEdit", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "content_contract", "type": "address" }, { "name": "approved", "type": "bool" }, { "name": "note", "type": "string" } ], "name": "approveContent", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "_contentAddr", "type": "address" } ], "name": "deleteContent", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "approvalRequests", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "owner", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "reviewerGroups", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "candidate", "type": "address" } ], "name": "hasAccess", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_ACCESS", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_objectHash", "type": "string" } ], "name": "commit", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "contentTypes", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "_candidate", "type": "address" } ], "name": "canPublish", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "content_type", "type": "address" } ], "name": "whitelistedType", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_visibility_code", "type": "uint8" } ], "name": "setVisibility", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "key", "type": "bytes" } ], "name": "getMeta", "outputs": [ { "name": "", "type": "bytes" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "contentSpace", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "updateRequest", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "contentTypesLength", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "address_KMS", "type": "address" } ], "name": "setAddressKMS", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "canPublish", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "group", "type": "address" } ], "name": "addReviewerGroup", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "objectHash", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_versionHash", "type": "string" } ], "name": "deleteVersion", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "key", "type": "bytes" }, { "name": "value", "type": "bytes" } ], "name": "putMeta", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "accessorGroupsLength", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "group", "type": "address" } ], "name": "removeAccessorGroup", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_EDIT", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "content_type", "type": "address" } ], "name": "removeContentType", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "name": "address_KMS", "type": "address" }, { "name": "content_space", "type": "address" } ], "payable": true, "stateMutability": "payable", "type": "constructor" }, { "payable": true, "stateMutability": "payable", "type": "fallback" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentAddress", "type": "address" }, { "indexed": false, "name": "content_type", "type": "address" }, { "indexed": false, "name": "spaceAddress", "type": "address" } ], "name": "ContentObjectCreated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentAddress", "type": "address" }, { "indexed": false, "name": "spaceAddress", "type": "address" } ], "name": "ContentObjectDeleted", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "group", "type": "address" } ], "name": "ContributorGroupAdded", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "group", "type": "address" } ], "name": "ContributorGroupRemoved", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "group", "type": "address" } ], "name": "ReviewerGroupAdded", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "group", "type": "address" } ], "name": "ReviewerGroupRemoved", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "group", "type": "address" } ], "name": "AccessorGroupAdded", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "group", "type": "address" } ], "name": "AccessorGroupRemoved", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "operationCode", "type": "uint256" }, { "indexed": false, "name": "candidate", "type": "address" } ], "name": "UnauthorizedOperation", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentAddress", "type": "address" }, { "indexed": false, "name": "submitter", "type": "address" } ], "name": "ApproveContentRequest", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentAddress", "type": "address" }, { "indexed": false, "name": "approved", "type": "bool" }, { "indexed": false, "name": "note", "type": "string" } ], "name": "ApproveContent", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "addressKms", "type": "address" } ], "name": "UpdateKmsAddress", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentType", "type": "address" }, { "indexed": false, "name": "contentContract", "type": "address" } ], "name": "ContentTypeAdded", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentType", "type": "address" } ], "name": "ContentTypeRemoved", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "CommitPending", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "UpdateRequest", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "VersionConfirm", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "versionHash", "type": "string" }, { "indexed": false, "name": "index", "type": "int256" } ], "name": "VersionDelete", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestNonce", "type": "uint256" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "contextHash", "type": "bytes32" }, { "indexed": false, "name": "accessor", "type": "address" }, { "indexed": false, "name": "requestTimestamp", "type": "uint256" } ], "name": "AccessRequestV3", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentSpace", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "visibility", "type": "uint8" } ], "name": "VisibilityChanged", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "key", "type": "bytes" } ], "name": "ObjectMetaChanged", "type": "event" } ]
async ContractAbi({ "contractAddress": "0x4bc2174003693d09d3b030cba23e659ae8ec269c" }); [ { "constant": true, "inputs": [], "name": "STATUS_PUBLISHED", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "parentAddress", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "creator", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "request_ID", "type": "uint256" }, { "name": "score_pct", "type": "uint256" }, { "name": "", "type": "uint256" } ], "name": "accessComplete", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [], "name": "publish", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [ { "name": "requestNonce", "type": "uint256" }, { "name": "payee", "type": "address" }, { "name": "label", "type": "string" }, { "name": "amount", "type": "uint256" } ], "name": "processRequestPayment", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "stakeholder", "type": "address" }, { "name": "access_type", "type": "uint8" }, { "name": "access", "type": "uint8" } ], "name": "setRights", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_SEE", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "canConfirm", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "requestMap", "outputs": [ { "name": "originator", "type": "address" }, { "name": "amountPaid", "type": "uint256" }, { "name": "status", "type": "int8" }, { "name": "settled", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessRequestV3", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [ { "name": "group", "type": "address" }, { "name": "access_type", "type": "uint8" }, { "name": "access", "type": "uint8" } ], "name": "setGroupRights", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "contentContractAddress", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "_candidate", "type": "address" } ], "name": "isAdmin", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "statusCode", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "visibility", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "addressKMS", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "countVersionHashes", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "contentType", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "commitPending", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "status_code", "type": "int256" } ], "name": "statusCodeDescription", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "level", "type": "uint8" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "getAccessInfo", "outputs": [ { "name": "", "type": "uint8" }, { "name": "", "type": "uint8" }, { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "objectTimestamp", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "kill", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [], "name": "confirmCommit", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [ { "name": "requestNonce", "type": "uint256" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessCompleteV3", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [ { "name": "requestNonce", "type": "uint256" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessCompleteInternal", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [], "name": "STATUS_DRAFT", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "status_code", "type": "int256" } ], "name": "setStatusCode", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "version", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "versionAPI", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "clearPending", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "pendingHash", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "indexCategory", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "accessCharge", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "candidate", "type": "address" } ], "name": "hasEditorRight", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "newCreator", "type": "address" } ], "name": "transferCreatorship", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "canCommit", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "versionTimestamp", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "requestNonce", "type": "uint256" }, { "name": "contextHash", "type": "bytes32" }, { "name": "accessor", "type": "address" }, { "name": "request_timestamp", "type": "uint256" } ], "name": "accessRequestContext", "outputs": [ { "name": "", "type": "uint256" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "versionHashes", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "accessor", "type": "address" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "getAccessInfoV3", "outputs": [ { "name": "", "type": "uint8" }, { "name": "", "type": "uint8" }, { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "canEdit", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "status_code", "type": "int256" } ], "name": "updateStatus", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "owner", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "reqId", "type": "uint256" } ], "name": "makeNonce", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "requestID", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "candidate", "type": "address" } ], "name": "hasAccess", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_ACCESS", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_objectHash", "type": "string" } ], "name": "commit", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "level", "type": "uint8" }, { "name": "pkeRequestor", "type": "string" }, { "name": "pkeAFGH", "type": "string" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessRequest", "outputs": [ { "name": "", "type": "uint256" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [ { "name": "prefix", "type": "bytes" } ], "name": "getKMSInfo", "outputs": [ { "name": "", "type": "string" }, { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_visibility_code", "type": "uint8" } ], "name": "setVisibility", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "key", "type": "bytes" } ], "name": "getMeta", "outputs": [ { "name": "", "type": "bytes" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "contentSpace", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "libraryAddress", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_requestNonce", "type": "uint256" }, { "name": "_contextHash", "type": "bytes32" }, { "name": "_accessor", "type": "address" }, { "name": "_request_timestamp", "type": "uint256" } ], "name": "accessCompleteContext", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [ { "name": "accessor", "type": "address" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "getCustomInfo", "outputs": [ { "name": "", "type": "uint8" }, { "name": "", "type": "uint8" }, { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "updateRequest", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "address_KMS", "type": "address" } ], "name": "setAddressKMS", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "canPublish", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "STATUS_REVIEW", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "objectHash", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_versionHash", "type": "string" } ], "name": "deleteVersion", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "addr", "type": "address" } ], "name": "setContentContractAddress", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "key", "type": "bytes" }, { "name": "value", "type": "bytes" } ], "name": "putMeta", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_EDIT", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "charge", "type": "uint256" } ], "name": "setAccessCharge", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "statusDescription", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "inputs": [ { "name": "content_space", "type": "address" }, { "name": "lib", "type": "address" }, { "name": "content_type", "type": "address" } ], "payable": true, "stateMutability": "payable", "type": "constructor" }, { "payable": true, "stateMutability": "payable", "type": "fallback" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "containingLibrary", "type": "address" } ], "name": "ContentObjectCreate", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentType", "type": "address" }, { "indexed": false, "name": "contentContractAddress", "type": "address" } ], "name": "SetContentType", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestNonce", "type": "uint256" }, { "indexed": false, "name": "label", "type": "string" }, { "indexed": false, "name": "payee", "type": "address" }, { "indexed": false, "name": "amount", "type": "uint256" } ], "name": "LogPayment", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "customValue", "type": "bytes32" } ], "name": "AccessRequestValue", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "stakeholder", "type": "address" } ], "name": "AccessRequestStakeholder", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestID", "type": "uint256" }, { "indexed": false, "name": "level", "type": "uint8" }, { "indexed": false, "name": "contentHash", "type": "string" }, { "indexed": false, "name": "pkeRequestor", "type": "string" }, { "indexed": false, "name": "pkeAFGH", "type": "string" } ], "name": "AccessRequest", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestID", "type": "uint256" }, { "indexed": false, "name": "scorePct", "type": "uint256" }, { "indexed": false, "name": "customContractResult", "type": "bool" } ], "name": "AccessComplete", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestNonce", "type": "uint256" }, { "indexed": false, "name": "customContractResult", "type": "bool" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "contextHash", "type": "bytes32" }, { "indexed": false, "name": "accessor", "type": "address" }, { "indexed": false, "name": "request_timestamp", "type": "uint256" } ], "name": "AccessCompleteV3", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentContractAddress", "type": "address" } ], "name": "SetContentContract", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "accessCharge", "type": "uint256" } ], "name": "SetAccessCharge", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "accessCharge", "type": "uint256" }, { "indexed": false, "name": "amountProvided", "type": "uint256" } ], "name": "InsufficientFunds", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "statusCode", "type": "int256" } ], "name": "SetStatusCode", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestStatus", "type": "bool" }, { "indexed": false, "name": "statusCode", "type": "int256" }, { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "Publish", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "custom_contract", "type": "address" } ], "name": "InvokeCustomPreHook", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "custom_contract", "type": "address" }, { "indexed": false, "name": "result", "type": "uint256" } ], "name": "ReturnCustomHook", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "custom_contract", "type": "address" } ], "name": "InvokeCustomPostHook", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "CommitPending", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "UpdateRequest", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "VersionConfirm", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "versionHash", "type": "string" }, { "indexed": false, "name": "index", "type": "int256" } ], "name": "VersionDelete", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestNonce", "type": "uint256" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "contextHash", "type": "bytes32" }, { "indexed": false, "name": "accessor", "type": "address" }, { "indexed": false, "name": "requestTimestamp", "type": "uint256" } ], "name": "AccessRequestV3", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentSpace", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "visibility", "type": "uint8" } ], "name": "VisibilityChanged", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "key", "type": "bytes" } ], "name": "ObjectMetaChanged", "type": "event" } ]
async ContractAbi({ "id": "iq__24DVjj4gbe8TwRguc9f2bqXFL2Dh" }); [ { "constant": true, "inputs": [], "name": "STATUS_PUBLISHED", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "parentAddress", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "creator", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "request_ID", "type": "uint256" }, { "name": "score_pct", "type": "uint256" }, { "name": "", "type": "uint256" } ], "name": "accessComplete", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [], "name": "publish", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [ { "name": "requestNonce", "type": "uint256" }, { "name": "payee", "type": "address" }, { "name": "label", "type": "string" }, { "name": "amount", "type": "uint256" } ], "name": "processRequestPayment", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "stakeholder", "type": "address" }, { "name": "access_type", "type": "uint8" }, { "name": "access", "type": "uint8" } ], "name": "setRights", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_SEE", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "canConfirm", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "requestMap", "outputs": [ { "name": "originator", "type": "address" }, { "name": "amountPaid", "type": "uint256" }, { "name": "status", "type": "int8" }, { "name": "settled", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessRequestV3", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [ { "name": "group", "type": "address" }, { "name": "access_type", "type": "uint8" }, { "name": "access", "type": "uint8" } ], "name": "setGroupRights", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "contentContractAddress", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "_candidate", "type": "address" } ], "name": "isAdmin", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "statusCode", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "visibility", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "addressKMS", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "countVersionHashes", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "contentType", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "commitPending", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "status_code", "type": "int256" } ], "name": "statusCodeDescription", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "level", "type": "uint8" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "getAccessInfo", "outputs": [ { "name": "", "type": "uint8" }, { "name": "", "type": "uint8" }, { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "objectTimestamp", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "kill", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [], "name": "confirmCommit", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [ { "name": "requestNonce", "type": "uint256" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessCompleteV3", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [ { "name": "requestNonce", "type": "uint256" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessCompleteInternal", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [], "name": "STATUS_DRAFT", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "status_code", "type": "int256" } ], "name": "setStatusCode", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "version", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "versionAPI", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "clearPending", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "pendingHash", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "indexCategory", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "accessCharge", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "candidate", "type": "address" } ], "name": "hasEditorRight", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "newCreator", "type": "address" } ], "name": "transferCreatorship", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "canCommit", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "versionTimestamp", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "requestNonce", "type": "uint256" }, { "name": "contextHash", "type": "bytes32" }, { "name": "accessor", "type": "address" }, { "name": "request_timestamp", "type": "uint256" } ], "name": "accessRequestContext", "outputs": [ { "name": "", "type": "uint256" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "versionHashes", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "accessor", "type": "address" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "getAccessInfoV3", "outputs": [ { "name": "", "type": "uint8" }, { "name": "", "type": "uint8" }, { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "canEdit", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "status_code", "type": "int256" } ], "name": "updateStatus", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "owner", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "reqId", "type": "uint256" } ], "name": "makeNonce", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "requestID", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "candidate", "type": "address" } ], "name": "hasAccess", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_ACCESS", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_objectHash", "type": "string" } ], "name": "commit", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "level", "type": "uint8" }, { "name": "pkeRequestor", "type": "string" }, { "name": "pkeAFGH", "type": "string" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessRequest", "outputs": [ { "name": "", "type": "uint256" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [ { "name": "prefix", "type": "bytes" } ], "name": "getKMSInfo", "outputs": [ { "name": "", "type": "string" }, { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_visibility_code", "type": "uint8" } ], "name": "setVisibility", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "key", "type": "bytes" } ], "name": "getMeta", "outputs": [ { "name": "", "type": "bytes" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "contentSpace", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "libraryAddress", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_requestNonce", "type": "uint256" }, { "name": "_contextHash", "type": "bytes32" }, { "name": "_accessor", "type": "address" }, { "name": "_request_timestamp", "type": "uint256" } ], "name": "accessCompleteContext", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [ { "name": "accessor", "type": "address" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "getCustomInfo", "outputs": [ { "name": "", "type": "uint8" }, { "name": "", "type": "uint8" }, { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "updateRequest", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "address_KMS", "type": "address" } ], "name": "setAddressKMS", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "canPublish", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "STATUS_REVIEW", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "objectHash", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_versionHash", "type": "string" } ], "name": "deleteVersion", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "addr", "type": "address" } ], "name": "setContentContractAddress", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "key", "type": "bytes" }, { "name": "value", "type": "bytes" } ], "name": "putMeta", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_EDIT", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "charge", "type": "uint256" } ], "name": "setAccessCharge", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "statusDescription", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "inputs": [ { "name": "content_space", "type": "address" }, { "name": "lib", "type": "address" }, { "name": "content_type", "type": "address" } ], "payable": true, "stateMutability": "payable", "type": "constructor" }, { "payable": true, "stateMutability": "payable", "type": "fallback" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "containingLibrary", "type": "address" } ], "name": "ContentObjectCreate", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentType", "type": "address" }, { "indexed": false, "name": "contentContractAddress", "type": "address" } ], "name": "SetContentType", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestNonce", "type": "uint256" }, { "indexed": false, "name": "label", "type": "string" }, { "indexed": false, "name": "payee", "type": "address" }, { "indexed": false, "name": "amount", "type": "uint256" } ], "name": "LogPayment", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "customValue", "type": "bytes32" } ], "name": "AccessRequestValue", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "stakeholder", "type": "address" } ], "name": "AccessRequestStakeholder", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestID", "type": "uint256" }, { "indexed": false, "name": "level", "type": "uint8" }, { "indexed": false, "name": "contentHash", "type": "string" }, { "indexed": false, "name": "pkeRequestor", "type": "string" }, { "indexed": false, "name": "pkeAFGH", "type": "string" } ], "name": "AccessRequest", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestID", "type": "uint256" }, { "indexed": false, "name": "scorePct", "type": "uint256" }, { "indexed": false, "name": "customContractResult", "type": "bool" } ], "name": "AccessComplete", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestNonce", "type": "uint256" }, { "indexed": false, "name": "customContractResult", "type": "bool" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "contextHash", "type": "bytes32" }, { "indexed": false, "name": "accessor", "type": "address" }, { "indexed": false, "name": "request_timestamp", "type": "uint256" } ], "name": "AccessCompleteV3", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentContractAddress", "type": "address" } ], "name": "SetContentContract", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "accessCharge", "type": "uint256" } ], "name": "SetAccessCharge", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "accessCharge", "type": "uint256" }, { "indexed": false, "name": "amountProvided", "type": "uint256" } ], "name": "InsufficientFunds", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "statusCode", "type": "int256" } ], "name": "SetStatusCode", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestStatus", "type": "bool" }, { "indexed": false, "name": "statusCode", "type": "int256" }, { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "Publish", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "custom_contract", "type": "address" } ], "name": "InvokeCustomPreHook", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "custom_contract", "type": "address" }, { "indexed": false, "name": "result", "type": "uint256" } ], "name": "ReturnCustomHook", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "custom_contract", "type": "address" } ], "name": "InvokeCustomPostHook", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "CommitPending", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "UpdateRequest", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "VersionConfirm", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "versionHash", "type": "string" }, { "indexed": false, "name": "index", "type": "int256" } ], "name": "VersionDelete", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestNonce", "type": "uint256" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "contextHash", "type": "bytes32" }, { "indexed": false, "name": "accessor", "type": "address" }, { "indexed": false, "name": "requestTimestamp", "type": "uint256" } ], "name": "AccessRequestV3", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentSpace", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "visibility", "type": "uint8" } ], "name": "VisibilityChanged", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "key", "type": "bytes" } ], "name": "ObjectMetaChanged", "type": "event" } ]
async ContractAbi({ "contractAddress": "0xa8f7cee1ca8e77292f0cd7aad14849f783ee5cba" }); [ { "constant": true, "inputs": [], "name": "STATUS_PUBLISHED", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "parentAddress", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "creator", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "request_ID", "type": "uint256" }, { "name": "score_pct", "type": "uint256" }, { "name": "", "type": "uint256" } ], "name": "accessComplete", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [], "name": "publish", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [ { "name": "requestNonce", "type": "uint256" }, { "name": "payee", "type": "address" }, { "name": "label", "type": "string" }, { "name": "amount", "type": "uint256" } ], "name": "processRequestPayment", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "stakeholder", "type": "address" }, { "name": "access_type", "type": "uint8" }, { "name": "access", "type": "uint8" } ], "name": "setRights", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_SEE", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "canConfirm", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "requestMap", "outputs": [ { "name": "originator", "type": "address" }, { "name": "amountPaid", "type": "uint256" }, { "name": "status", "type": "int8" }, { "name": "settled", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessRequestV3", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [ { "name": "group", "type": "address" }, { "name": "access_type", "type": "uint8" }, { "name": "access", "type": "uint8" } ], "name": "setGroupRights", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "contentContractAddress", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "_candidate", "type": "address" } ], "name": "isAdmin", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "statusCode", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "visibility", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "addressKMS", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "countVersionHashes", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "contentType", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "commitPending", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "status_code", "type": "int256" } ], "name": "statusCodeDescription", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "level", "type": "uint8" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "getAccessInfo", "outputs": [ { "name": "", "type": "uint8" }, { "name": "", "type": "uint8" }, { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "objectTimestamp", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "kill", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [], "name": "confirmCommit", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [ { "name": "requestNonce", "type": "uint256" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessCompleteV3", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [ { "name": "requestNonce", "type": "uint256" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessCompleteInternal", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [], "name": "STATUS_DRAFT", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "status_code", "type": "int256" } ], "name": "setStatusCode", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "version", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "versionAPI", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "clearPending", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "pendingHash", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "indexCategory", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "accessCharge", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "candidate", "type": "address" } ], "name": "hasEditorRight", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "newCreator", "type": "address" } ], "name": "transferCreatorship", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "canCommit", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "versionTimestamp", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "requestNonce", "type": "uint256" }, { "name": "contextHash", "type": "bytes32" }, { "name": "accessor", "type": "address" }, { "name": "request_timestamp", "type": "uint256" } ], "name": "accessRequestContext", "outputs": [ { "name": "", "type": "uint256" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "versionHashes", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "accessor", "type": "address" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "getAccessInfoV3", "outputs": [ { "name": "", "type": "uint8" }, { "name": "", "type": "uint8" }, { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "canEdit", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "status_code", "type": "int256" } ], "name": "updateStatus", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "owner", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "reqId", "type": "uint256" } ], "name": "makeNonce", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "requestID", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "candidate", "type": "address" } ], "name": "hasAccess", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_ACCESS", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_objectHash", "type": "string" } ], "name": "commit", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "level", "type": "uint8" }, { "name": "pkeRequestor", "type": "string" }, { "name": "pkeAFGH", "type": "string" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessRequest", "outputs": [ { "name": "", "type": "uint256" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [ { "name": "prefix", "type": "bytes" } ], "name": "getKMSInfo", "outputs": [ { "name": "", "type": "string" }, { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_visibility_code", "type": "uint8" } ], "name": "setVisibility", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "key", "type": "bytes" } ], "name": "getMeta", "outputs": [ { "name": "", "type": "bytes" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "contentSpace", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "libraryAddress", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_requestNonce", "type": "uint256" }, { "name": "_contextHash", "type": "bytes32" }, { "name": "_accessor", "type": "address" }, { "name": "_request_timestamp", "type": "uint256" } ], "name": "accessCompleteContext", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [ { "name": "accessor", "type": "address" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "getCustomInfo", "outputs": [ { "name": "", "type": "uint8" }, { "name": "", "type": "uint8" }, { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "updateRequest", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "address_KMS", "type": "address" } ], "name": "setAddressKMS", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "canPublish", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "STATUS_REVIEW", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "objectHash", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_versionHash", "type": "string" } ], "name": "deleteVersion", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "addr", "type": "address" } ], "name": "setContentContractAddress", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "key", "type": "bytes" }, { "name": "value", "type": "bytes" } ], "name": "putMeta", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_EDIT", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "charge", "type": "uint256" } ], "name": "setAccessCharge", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "statusDescription", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "inputs": [ { "name": "content_space", "type": "address" }, { "name": "lib", "type": "address" }, { "name": "content_type", "type": "address" } ], "payable": true, "stateMutability": "payable", "type": "constructor" }, { "payable": true, "stateMutability": "payable", "type": "fallback" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "containingLibrary", "type": "address" } ], "name": "ContentObjectCreate", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentType", "type": "address" }, { "indexed": false, "name": "contentContractAddress", "type": "address" } ], "name": "SetContentType", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestNonce", "type": "uint256" }, { "indexed": false, "name": "label", "type": "string" }, { "indexed": false, "name": "payee", "type": "address" }, { "indexed": false, "name": "amount", "type": "uint256" } ], "name": "LogPayment", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "customValue", "type": "bytes32" } ], "name": "AccessRequestValue", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "stakeholder", "type": "address" } ], "name": "AccessRequestStakeholder", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestID", "type": "uint256" }, { "indexed": false, "name": "level", "type": "uint8" }, { "indexed": false, "name": "contentHash", "type": "string" }, { "indexed": false, "name": "pkeRequestor", "type": "string" }, { "indexed": false, "name": "pkeAFGH", "type": "string" } ], "name": "AccessRequest", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestID", "type": "uint256" }, { "indexed": false, "name": "scorePct", "type": "uint256" }, { "indexed": false, "name": "customContractResult", "type": "bool" } ], "name": "AccessComplete", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestNonce", "type": "uint256" }, { "indexed": false, "name": "customContractResult", "type": "bool" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "contextHash", "type": "bytes32" }, { "indexed": false, "name": "accessor", "type": "address" }, { "indexed": false, "name": "request_timestamp", "type": "uint256" } ], "name": "AccessCompleteV3", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentContractAddress", "type": "address" } ], "name": "SetContentContract", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "accessCharge", "type": "uint256" } ], "name": "SetAccessCharge", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "accessCharge", "type": "uint256" }, { "indexed": false, "name": "amountProvided", "type": "uint256" } ], "name": "InsufficientFunds", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "statusCode", "type": "int256" } ], "name": "SetStatusCode", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestStatus", "type": "bool" }, { "indexed": false, "name": "statusCode", "type": "int256" }, { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "Publish", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "custom_contract", "type": "address" } ], "name": "InvokeCustomPreHook", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "custom_contract", "type": "address" }, { "indexed": false, "name": "result", "type": "uint256" } ], "name": "ReturnCustomHook", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "custom_contract", "type": "address" } ], "name": "InvokeCustomPostHook", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "CommitPending", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "UpdateRequest", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "VersionConfirm", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "versionHash", "type": "string" }, { "indexed": false, "name": "index", "type": "int256" } ], "name": "VersionDelete", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestNonce", "type": "uint256" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "contextHash", "type": "bytes32" }, { "indexed": false, "name": "accessor", "type": "address" }, { "indexed": false, "name": "requestTimestamp", "type": "uint256" } ], "name": "AccessRequestV3", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentSpace", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "visibility", "type": "uint8" } ], "name": "VisibilityChanged", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "key", "type": "bytes" } ], "name": "ObjectMetaChanged", "type": "event" } ]
async ContractAbi({ "id": "iq__3MXtFtRdbFtPwKHmw46mgmd8GQjs" }); [ { "constant": true, "inputs": [], "name": "STATUS_PUBLISHED", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "parentAddress", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "creator", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "request_ID", "type": "uint256" }, { "name": "score_pct", "type": "uint256" }, { "name": "", "type": "uint256" } ], "name": "accessComplete", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [], "name": "publish", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [ { "name": "requestNonce", "type": "uint256" }, { "name": "payee", "type": "address" }, { "name": "label", "type": "string" }, { "name": "amount", "type": "uint256" } ], "name": "processRequestPayment", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "stakeholder", "type": "address" }, { "name": "access_type", "type": "uint8" }, { "name": "access", "type": "uint8" } ], "name": "setRights", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_SEE", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "canConfirm", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "requestMap", "outputs": [ { "name": "originator", "type": "address" }, { "name": "amountPaid", "type": "uint256" }, { "name": "status", "type": "int8" }, { "name": "settled", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessRequestV3", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [ { "name": "group", "type": "address" }, { "name": "access_type", "type": "uint8" }, { "name": "access", "type": "uint8" } ], "name": "setGroupRights", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "contentContractAddress", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "_candidate", "type": "address" } ], "name": "isAdmin", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "statusCode", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "visibility", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "addressKMS", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "countVersionHashes", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "contentType", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "commitPending", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "status_code", "type": "int256" } ], "name": "statusCodeDescription", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "level", "type": "uint8" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "getAccessInfo", "outputs": [ { "name": "", "type": "uint8" }, { "name": "", "type": "uint8" }, { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "objectTimestamp", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "kill", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [], "name": "confirmCommit", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [ { "name": "requestNonce", "type": "uint256" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessCompleteV3", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [ { "name": "requestNonce", "type": "uint256" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessCompleteInternal", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [], "name": "STATUS_DRAFT", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "status_code", "type": "int256" } ], "name": "setStatusCode", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "version", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "versionAPI", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "clearPending", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "pendingHash", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "indexCategory", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "accessCharge", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "candidate", "type": "address" } ], "name": "hasEditorRight", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "newCreator", "type": "address" } ], "name": "transferCreatorship", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "canCommit", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "versionTimestamp", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "requestNonce", "type": "uint256" }, { "name": "contextHash", "type": "bytes32" }, { "name": "accessor", "type": "address" }, { "name": "request_timestamp", "type": "uint256" } ], "name": "accessRequestContext", "outputs": [ { "name": "", "type": "uint256" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "versionHashes", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "accessor", "type": "address" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "getAccessInfoV3", "outputs": [ { "name": "", "type": "uint8" }, { "name": "", "type": "uint8" }, { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "canEdit", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "status_code", "type": "int256" } ], "name": "updateStatus", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "owner", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "reqId", "type": "uint256" } ], "name": "makeNonce", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "requestID", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "candidate", "type": "address" } ], "name": "hasAccess", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_ACCESS", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_objectHash", "type": "string" } ], "name": "commit", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "level", "type": "uint8" }, { "name": "pkeRequestor", "type": "string" }, { "name": "pkeAFGH", "type": "string" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessRequest", "outputs": [ { "name": "", "type": "uint256" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [ { "name": "prefix", "type": "bytes" } ], "name": "getKMSInfo", "outputs": [ { "name": "", "type": "string" }, { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_visibility_code", "type": "uint8" } ], "name": "setVisibility", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "key", "type": "bytes" } ], "name": "getMeta", "outputs": [ { "name": "", "type": "bytes" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "contentSpace", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "libraryAddress", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_requestNonce", "type": "uint256" }, { "name": "_contextHash", "type": "bytes32" }, { "name": "_accessor", "type": "address" }, { "name": "_request_timestamp", "type": "uint256" } ], "name": "accessCompleteContext", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [ { "name": "accessor", "type": "address" }, { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "getCustomInfo", "outputs": [ { "name": "", "type": "uint8" }, { "name": "", "type": "uint8" }, { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "updateRequest", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "address_KMS", "type": "address" } ], "name": "setAddressKMS", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "canPublish", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "STATUS_REVIEW", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "objectHash", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_versionHash", "type": "string" } ], "name": "deleteVersion", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "addr", "type": "address" } ], "name": "setContentContractAddress", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "key", "type": "bytes" }, { "name": "value", "type": "bytes" } ], "name": "putMeta", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_EDIT", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "charge", "type": "uint256" } ], "name": "setAccessCharge", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "statusDescription", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "inputs": [ { "name": "content_space", "type": "address" }, { "name": "lib", "type": "address" }, { "name": "content_type", "type": "address" } ], "payable": true, "stateMutability": "payable", "type": "constructor" }, { "payable": true, "stateMutability": "payable", "type": "fallback" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "containingLibrary", "type": "address" } ], "name": "ContentObjectCreate", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentType", "type": "address" }, { "indexed": false, "name": "contentContractAddress", "type": "address" } ], "name": "SetContentType", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestNonce", "type": "uint256" }, { "indexed": false, "name": "label", "type": "string" }, { "indexed": false, "name": "payee", "type": "address" }, { "indexed": false, "name": "amount", "type": "uint256" } ], "name": "LogPayment", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "customValue", "type": "bytes32" } ], "name": "AccessRequestValue", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "stakeholder", "type": "address" } ], "name": "AccessRequestStakeholder", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestID", "type": "uint256" }, { "indexed": false, "name": "level", "type": "uint8" }, { "indexed": false, "name": "contentHash", "type": "string" }, { "indexed": false, "name": "pkeRequestor", "type": "string" }, { "indexed": false, "name": "pkeAFGH", "type": "string" } ], "name": "AccessRequest", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestID", "type": "uint256" }, { "indexed": false, "name": "scorePct", "type": "uint256" }, { "indexed": false, "name": "customContractResult", "type": "bool" } ], "name": "AccessComplete", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestNonce", "type": "uint256" }, { "indexed": false, "name": "customContractResult", "type": "bool" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "contextHash", "type": "bytes32" }, { "indexed": false, "name": "accessor", "type": "address" }, { "indexed": false, "name": "request_timestamp", "type": "uint256" } ], "name": "AccessCompleteV3", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentContractAddress", "type": "address" } ], "name": "SetContentContract", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "accessCharge", "type": "uint256" } ], "name": "SetAccessCharge", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "accessCharge", "type": "uint256" }, { "indexed": false, "name": "amountProvided", "type": "uint256" } ], "name": "InsufficientFunds", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "statusCode", "type": "int256" } ], "name": "SetStatusCode", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestStatus", "type": "bool" }, { "indexed": false, "name": "statusCode", "type": "int256" }, { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "Publish", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "custom_contract", "type": "address" } ], "name": "InvokeCustomPreHook", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "custom_contract", "type": "address" }, { "indexed": false, "name": "result", "type": "uint256" } ], "name": "ReturnCustomHook", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "custom_contract", "type": "address" } ], "name": "InvokeCustomPostHook", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "CommitPending", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "UpdateRequest", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "VersionConfirm", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "versionHash", "type": "string" }, { "indexed": false, "name": "index", "type": "int256" } ], "name": "VersionDelete", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestNonce", "type": "uint256" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "contextHash", "type": "bytes32" }, { "indexed": false, "name": "accessor", "type": "address" }, { "indexed": false, "name": "requestTimestamp", "type": "uint256" } ], "name": "AccessRequestV3", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentSpace", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "visibility", "type": "uint8" } ], "name": "VisibilityChanged", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "key", "type": "bytes" } ], "name": "ObjectMetaChanged", "type": "event" } ]
async ContractAbi({ "contractAddress": "0xa570b8c292b02a0bca8e4c3f2da9abad0da8951a" }); [ { "constant": true, "inputs": [], "name": "parentAddress", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "address_KMS", "type": "address" } ], "name": "updateAddressKMS", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "creator", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "_candidate", "type": "address" } ], "name": "canContribute", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "content_type", "type": "address" }, { "name": "content_contract", "type": "address" } ], "name": "addContentType", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "stakeholder", "type": "address" }, { "name": "access_type", "type": "uint8" }, { "name": "access", "type": "uint8" } ], "name": "setRights", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_SEE", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "canConfirm", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "approvalRequestsLength", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "group", "type": "address" } ], "name": "removeReviewerGroup", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessRequestV3", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "address" } ], "name": "contentTypeContracts", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "group", "type": "address" } ], "name": "addAccessorGroup", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "content_type", "type": "address" } ], "name": "createContent", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "typeHash", "type": "bytes32" } ], "name": "findTypeByHash", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "reviewerGroupsLength", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "group", "type": "address" }, { "name": "access_type", "type": "uint8" }, { "name": "access", "type": "uint8" } ], "name": "setGroupRights", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "contributorGroups", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "_candidate", "type": "address" } ], "name": "isAdmin", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "visibility", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "_candidate", "type": "address" } ], "name": "canReview", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "content_type", "type": "address" } ], "name": "validType", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "accessorGroups", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "contentObj", "type": "address" } ], "name": "publish", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "addressKMS", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "countVersionHashes", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "commitPending", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "group", "type": "address" } ], "name": "removeContributorGroup", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "requiresReview", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "objectTimestamp", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "kill", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [], "name": "confirmCommit", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [], "name": "contributorGroupsLength", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "submitApprovalRequest", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "version", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "versionAPI", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "clearPending", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "pendingHash", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "indexCategory", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "index", "type": "uint256" } ], "name": "getPendingApprovalRequest", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "group", "type": "address" } ], "name": "addContributorGroup", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "candidate", "type": "address" } ], "name": "hasEditorRight", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "newCreator", "type": "address" } ], "name": "transferCreatorship", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "canCommit", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "versionTimestamp", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "versionHashes", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "canEdit", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "content_contract", "type": "address" }, { "name": "approved", "type": "bool" }, { "name": "note", "type": "string" } ], "name": "approveContent", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "_contentAddr", "type": "address" } ], "name": "deleteContent", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "approvalRequests", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "owner", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "reviewerGroups", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "candidate", "type": "address" } ], "name": "hasAccess", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_ACCESS", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_objectHash", "type": "string" } ], "name": "commit", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "contentTypes", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "_candidate", "type": "address" } ], "name": "canPublish", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "content_type", "type": "address" } ], "name": "whitelistedType", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_visibility_code", "type": "uint8" } ], "name": "setVisibility", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "key", "type": "bytes" } ], "name": "getMeta", "outputs": [ { "name": "", "type": "bytes" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "contentSpace", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "updateRequest", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "contentTypesLength", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "address_KMS", "type": "address" } ], "name": "setAddressKMS", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "canPublish", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "group", "type": "address" } ], "name": "addReviewerGroup", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "objectHash", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_versionHash", "type": "string" } ], "name": "deleteVersion", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "key", "type": "bytes" }, { "name": "value", "type": "bytes" } ], "name": "putMeta", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "accessorGroupsLength", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "group", "type": "address" } ], "name": "removeAccessorGroup", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_EDIT", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "content_type", "type": "address" } ], "name": "removeContentType", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "name": "address_KMS", "type": "address" }, { "name": "content_space", "type": "address" } ], "payable": true, "stateMutability": "payable", "type": "constructor" }, { "payable": true, "stateMutability": "payable", "type": "fallback" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentAddress", "type": "address" }, { "indexed": false, "name": "content_type", "type": "address" }, { "indexed": false, "name": "spaceAddress", "type": "address" } ], "name": "ContentObjectCreated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentAddress", "type": "address" }, { "indexed": false, "name": "spaceAddress", "type": "address" } ], "name": "ContentObjectDeleted", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "group", "type": "address" } ], "name": "ContributorGroupAdded", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "group", "type": "address" } ], "name": "ContributorGroupRemoved", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "group", "type": "address" } ], "name": "ReviewerGroupAdded", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "group", "type": "address" } ], "name": "ReviewerGroupRemoved", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "group", "type": "address" } ], "name": "AccessorGroupAdded", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "group", "type": "address" } ], "name": "AccessorGroupRemoved", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "operationCode", "type": "uint256" }, { "indexed": false, "name": "candidate", "type": "address" } ], "name": "UnauthorizedOperation", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentAddress", "type": "address" }, { "indexed": false, "name": "submitter", "type": "address" } ], "name": "ApproveContentRequest", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentAddress", "type": "address" }, { "indexed": false, "name": "approved", "type": "bool" }, { "indexed": false, "name": "note", "type": "string" } ], "name": "ApproveContent", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "addressKms", "type": "address" } ], "name": "UpdateKmsAddress", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentType", "type": "address" }, { "indexed": false, "name": "contentContract", "type": "address" } ], "name": "ContentTypeAdded", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentType", "type": "address" } ], "name": "ContentTypeRemoved", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "CommitPending", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "UpdateRequest", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "VersionConfirm", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "versionHash", "type": "string" }, { "indexed": false, "name": "index", "type": "int256" } ], "name": "VersionDelete", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestNonce", "type": "uint256" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "contextHash", "type": "bytes32" }, { "indexed": false, "name": "accessor", "type": "address" }, { "indexed": false, "name": "requestTimestamp", "type": "uint256" } ], "name": "AccessRequestV3", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentSpace", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "visibility", "type": "uint8" } ], "name": "VisibilityChanged", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "key", "type": "bytes" } ], "name": "ObjectMetaChanged", "type": "event" } ]
- Source:
static ContractEvents({contractAddress,abioptional,fromBlockoptional,toBlockoptional,countoptional,includeTransactionoptional}) → Promise.<Array.<Array.<Object>>>
Get all events on the specified contract
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
contractAddress |
string |
The address of the contract |
||
abi |
Object |
<optional> |
ABI of contract - If the contract is a standard Eluvio contract, this can be determined automatically if not specified |
|
fromBlock |
number |
<optional> |
Limit results to events after the specified block (inclusive) |
|
toBlock |
number |
<optional> |
Limit results to events before the specified block (inclusive) |
|
count |
number |
<optional> |
1000 |
Maximum range of blocks to search (unless both toBlock and fromBlock are specified) |
includeTransaction |
boolean |
<optional> |
false |
If specified, more detailed transaction info will be included. Note: This requires one extra network call per block, so it should not be used for very large ranges |
Examples
async ContractEvents({ "contractAddress": "0x1770921fada087576272ccca2a30cc0f5bbec934", "abi": [ { "constant": true, "inputs": [], "name": "parentAddress", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "creator", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "cleanUpContentObjects", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "content_space", "type": "address" } ], "name": "setContentSpace", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "obj", "type": "address" } ], "name": "getContractRights", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "CATEGORY_CONTENT_OBJECT", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "candidate", "type": "address" } ], "name": "grantAccess", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "getAccessGroupsLength", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "stakeholder", "type": "address" }, { "name": "access_type", "type": "uint8" }, { "name": "access", "type": "uint8" } ], "name": "setRights", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_SEE", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "CATEGORY_GROUP", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "oauthEnabled", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "membersList", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "canConfirm", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "CATEGORY_LIBRARY", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "ACCESS_CONFIRMED", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessRequestV3", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "managersList", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "obj", "type": "address" }, { "name": "access_type", "type": "uint8" }, { "name": "access", "type": "uint8" } ], "name": "setContractRights", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "group", "type": "address" }, { "name": "access_type", "type": "uint8" }, { "name": "access", "type": "uint8" } ], "name": "setGroupRights", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "_candidate", "type": "address" } ], "name": "isAdmin", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_ident", "type": "bytes32" }, { "name": "_ord", "type": "uint8" } ], "name": "setAndGetBit", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "visibility", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "position", "type": "uint256" } ], "name": "getAccessGroup", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_tenantAddr", "type": "address" } ], "name": "setTenant", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [], "name": "cleanUpAll", "outputs": [ { "name": "", "type": "uint256" }, { "name": "", "type": "uint256" }, { "name": "", "type": "uint256" }, { "name": "", "type": "uint256" }, { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "group", "type": "address" } ], "name": "getAccessGroupRights", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "accessGroups", "outputs": [ { "name": "category", "type": "uint8" }, { "name": "length", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "_ident", "type": "bytes32" }, { "name": "_ord", "type": "uint8" } ], "name": "getBit", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "countVersionHashes", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_ident", "type": "bytes32" }, { "name": "_ord", "type": "uint8" } ], "name": "setAndGetBitInternal", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "commitPending", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "obj", "type": "address" }, { "name": "access_type", "type": "uint8" }, { "name": "access", "type": "uint8" } ], "name": "setContentObjectRights", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "objectTimestamp", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "kill", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "_candidate", "type": "address" } ], "name": "hasManagerAccess", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "confirmCommit", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [], "name": "ACCESS_TENTATIVE", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "others", "outputs": [ { "name": "category", "type": "uint8" }, { "name": "length", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "version", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "membersNum", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "getContentTypesLength", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "indexType", "type": "uint8" }, { "name": "obj", "type": "address" }, { "name": "access_type", "type": "uint8" }, { "name": "access", "type": "uint8" } ], "name": "setEntityRights", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "TYPE_EDIT", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "versionAPI", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "clearPending", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "pendingHash", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "CATEGORY_CONTRACT", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "indexCategory", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "managersNum", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "_candidate", "type": "address" } ], "name": "hasEditorRight", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "CATEGORY_CONTENT_TYPE", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "obj", "type": "address" } ], "name": "getContentObjectRights", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "contracts", "outputs": [ { "name": "category", "type": "uint8" }, { "name": "length", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "newCreator", "type": "address" } ], "name": "transferCreatorship", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "canCommit", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "position", "type": "uint256" } ], "name": "getContract", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_ident", "type": "bytes32" }, { "name": "_ord", "type": "uint8" } ], "name": "incrementCounter", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "manager", "type": "address" } ], "name": "grantManagerAccess", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "addr", "type": "address" } ], "name": "contractExists", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "versionTimestamp", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "versionHashes", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "lib", "type": "address" }, { "name": "access_type", "type": "uint8" }, { "name": "access", "type": "uint8" } ], "name": "setLibraryRights", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "index_type", "type": "uint8" }, { "name": "obj", "type": "address" }, { "name": "access_type", "type": "uint8" } ], "name": "checkRights", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "canEdit", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "ACCESS_NONE", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "cleanUpContentTypes", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "candidate", "type": "address" } ], "name": "revokeAccess", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "obj", "type": "address" }, { "name": "access_type", "type": "uint8" }, { "name": "access", "type": "uint8" } ], "name": "setContentTypeRights", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "owner", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "cleanUpLibraries", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "candidate", "type": "address" } ], "name": "hasAccess", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "TYPE_SEE", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_ACCESS", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_objectHash", "type": "string" } ], "name": "commit", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "contentTypes", "outputs": [ { "name": "category", "type": "uint8" }, { "name": "length", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "index_type", "type": "uint8" }, { "name": "obj", "type": "address" }, { "name": "access_type", "type": "uint8" } ], "name": "checkDirectRights", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "obj", "type": "address" } ], "name": "getContentTypeRights", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "contentObjects", "outputs": [ { "name": "category", "type": "uint8" }, { "name": "length", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_visibility_code", "type": "uint8" } ], "name": "setVisibility", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "position", "type": "uint256" } ], "name": "getContentType", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "key", "type": "bytes" } ], "name": "getMeta", "outputs": [ { "name": "", "type": "bytes" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "tenant", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "contentSpace", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "setAccessRights", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [], "name": "updateRequest", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "libraries", "outputs": [ { "name": "category", "type": "uint8" }, { "name": "length", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "getLibrariesLength", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "manager", "type": "address" } ], "name": "revokeManagerAccess", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "position", "type": "uint256" } ], "name": "getContentObject", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "position", "type": "uint256" } ], "name": "getLibrary", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "TYPE_ACCESS", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "cleanUpAccessGroups", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "candidate", "type": "address" }, { "name": "mgr", "type": "bool" } ], "name": "hasAccessRight", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "objectHash", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "_ident", "type": "bytes32" }, { "name": "_ord", "type": "uint8" } ], "name": "getCounter", "outputs": [ { "name": "", "type": "uint32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_versionHash", "type": "string" } ], "name": "deleteVersion", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "key", "type": "bytes" }, { "name": "value", "type": "bytes" } ], "name": "putMeta", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "_ident", "type": "bytes32" } ], "name": "deleteGroup", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "getContentObjectsLength", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_EDIT", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "group", "type": "address" }, { "name": "access_type", "type": "uint8" }, { "name": "access", "type": "uint8" } ], "name": "setAccessGroupRights", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "lib", "type": "address" } ], "name": "getLibraryRights", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_enabled", "type": "bool" } ], "name": "setOAuthEnabled", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "getContractsLength", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "inputs": [ { "name": "_contentSpace", "type": "address" } ], "payable": false, "stateMutability": "nonpayable", "type": "constructor" }, { "payable": true, "stateMutability": "payable", "type": "fallback" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "candidate", "type": "address" } ], "name": "MemberAdded", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "candidate", "type": "address" } ], "name": "ManagerAccessGranted", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "candidate", "type": "address" } ], "name": "MemberRevoked", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "candidate", "type": "address" } ], "name": "ManagerAccessRevoked", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "operationCode", "type": "uint256" }, { "indexed": false, "name": "candidate", "type": "address" } ], "name": "UnauthorizedOperation", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "enabled", "type": "bool" } ], "name": "OAuthStatusChanged", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "CommitPending", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "UpdateRequest", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "VersionConfirm", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "versionHash", "type": "string" }, { "indexed": false, "name": "index", "type": "int256" } ], "name": "VersionDelete", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestNonce", "type": "uint256" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "contextHash", "type": "bytes32" }, { "indexed": false, "name": "accessor", "type": "address" }, { "indexed": false, "name": "requestTimestamp", "type": "uint256" } ], "name": "AccessRequestV3", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentSpace", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "visibility", "type": "uint8" } ], "name": "VisibilityChanged", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "principal", "type": "address" }, { "indexed": false, "name": "entity", "type": "address" }, { "indexed": false, "name": "aggregate", "type": "uint8" } ], "name": "RightsChanged", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "ident", "type": "bytes32" }, { "indexed": false, "name": "slot", "type": "uint8" }, { "indexed": false, "name": "val", "type": "uint32" } ], "name": "CounterIncremented", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "ident", "type": "bytes32" }, { "indexed": false, "name": "ord", "type": "uint8" }, { "indexed": false, "name": "prev", "type": "bool" } ], "name": "BitSetAndGet", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "ident", "type": "bytes32" } ], "name": "WordGroupDeleted", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "key", "type": "bytes" } ], "name": "ObjectMetaChanged", "type": "event" } ], "fromBlock": 203218, "count": 1000 }); [ [ { "blockNumber": 203218, "blockHash": "0x49049b495f29a2060aa132b6846ba50e9fa6098e19ec9f3bc4e23a4924955e1b", "transactionIndex": 0, "removed": false, "address": "0x1770921fADA087576272cCCA2A30CC0F5Bbec934", "data": "0x000000000000000000000000e43da44cd2f7b9ead9405c8763dc7493a5ab54f1000000000000000000000000e43da44cd2f7b9ead9405c8763dc7493a5ab54f10000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000004e68715f5f3573687a526b416668467162696e446f724c4a574d62484764735764477a624a53643636336d4862375569364765555473724147546a6439534c6d4247454a6979625268366a6673375a000000000000000000000000000000000000", "topics": [ "0xbdaffceabaaa783aa187fea6c2e815541d29e2290bf3f7d3c4fc53672b68f7df" ], "transactionHash": "0x7cfe6547d6387ef57c6d10397ad78a00948c9dbbfec96cb6557c78d52a98d42a", "logIndex": 0, "decode": "<function>", "name": "VersionConfirm", "signature": "VersionConfirm(address,address,string)", "topic": "0xbdaffceabaaa783aa187fea6c2e815541d29e2290bf3f7d3c4fc53672b68f7df", "values": { "0": "0xe43DA44cd2f7b9Ead9405C8763Dc7493a5AB54f1", "1": "0xe43DA44cd2f7b9Ead9405C8763Dc7493a5AB54f1", "2": "hq__5shzRkAfhFqbinDorLJWMbHGdsWdGzbJSd663mHb7Ui6GeUTsrAGTjd9SLmBGEJiybRh6jfs7Z", "spaceAddress": "0xe43DA44cd2f7b9Ead9405C8763Dc7493a5AB54f1", "parentAddress": "0xe43DA44cd2f7b9Ead9405C8763Dc7493a5AB54f1", "objectHash": "hq__5shzRkAfhFqbinDorLJWMbHGdsWdGzbJSd663mHb7Ui6GeUTsrAGTjd9SLmBGEJiybRh6jfs7Z", "length": 3 } } ] ]
async ContractEvents({ "contractAddress": "0xb7f51115b2803082687b215f70049803034cdc81", "abi": [ { "constant": true, "inputs": [], "name": "parentAddress", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "creator", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "stakeholder", "type": "address" }, { "name": "access_type", "type": "uint8" }, { "name": "access", "type": "uint8" } ], "name": "setRights", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_SEE", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "canConfirm", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessRequestV3", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [ { "name": "group", "type": "address" }, { "name": "access_type", "type": "uint8" }, { "name": "access", "type": "uint8" } ], "name": "setGroupRights", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "visibility", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "countVersionHashes", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "commitPending", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "objectTimestamp", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "kill", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [], "name": "confirmCommit", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [], "name": "version", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "versionAPI", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "clearPending", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "pendingHash", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "indexCategory", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "candidate", "type": "address" } ], "name": "hasEditorRight", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "newCreator", "type": "address" } ], "name": "transferCreatorship", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "canCommit", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "versionTimestamp", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "versionHashes", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "canEdit", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "owner", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "candidate", "type": "address" } ], "name": "hasAccess", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_ACCESS", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_objectHash", "type": "string" } ], "name": "commit", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "_visibility_code", "type": "uint8" } ], "name": "setVisibility", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "contentSpace", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "updateRequest", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "objectHash", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_versionHash", "type": "string" } ], "name": "deleteVersion", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_EDIT", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "name": "content_space", "type": "address" } ], "payable": true, "stateMutability": "payable", "type": "constructor" }, { "payable": true, "stateMutability": "payable", "type": "fallback" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "CommitPending", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "UpdateRequest", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "VersionConfirm", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "versionHash", "type": "string" }, { "indexed": false, "name": "index", "type": "int256" } ], "name": "VersionDelete", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestNonce", "type": "uint256" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "contextHash", "type": "bytes32" }, { "indexed": false, "name": "accessor", "type": "address" }, { "indexed": false, "name": "requestTimestamp", "type": "uint256" } ], "name": "AccessRequestV3", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentSpace", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "visibility", "type": "uint8" } ], "name": "VisibilityChanged", "type": "event" } ], "fromBlock": 203230, "count": 1000 }); [ [ { "blockNumber": 203230, "blockHash": "0x7465ad0491fe6f4272e3854dbdbef82db51f66557f502143fe48915df5707cf0", "transactionIndex": 0, "removed": false, "address": "0xB7f51115B2803082687B215F70049803034cdC81", "data": "0x000000000000000000000000e43da44cd2f7b9ead9405c8763dc7493a5ab54f1000000000000000000000000e43da44cd2f7b9ead9405c8763dc7493a5ab54f10000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000004e68715f5f4c564a714e3744577a43655a535152766a785461534753706e704462656331754d774468416761614b455054386379645959774267413139666f5475773365324559547a476535665738000000000000000000000000000000000000", "topics": [ "0xbdaffceabaaa783aa187fea6c2e815541d29e2290bf3f7d3c4fc53672b68f7df" ], "transactionHash": "0xb850484c842b27f898a0043e6e08c542d8acd00dc98259e8e9f0b9e6c82007bc", "logIndex": 0, "decode": "<function>", "name": "VersionConfirm", "signature": "VersionConfirm(address,address,string)", "topic": "0xbdaffceabaaa783aa187fea6c2e815541d29e2290bf3f7d3c4fc53672b68f7df", "values": { "0": "0xe43DA44cd2f7b9Ead9405C8763Dc7493a5AB54f1", "1": "0xe43DA44cd2f7b9Ead9405C8763Dc7493a5AB54f1", "2": "hq__LVJqN7DWzCeZSQRvjxTaSGSpnpDbec1uMwDhAgaaKEPT8cydYYwBgA19foTuw3e2EYTzGe5fW8", "spaceAddress": "0xe43DA44cd2f7b9Ead9405C8763Dc7493a5AB54f1", "parentAddress": "0xe43DA44cd2f7b9Ead9405C8763Dc7493a5AB54f1", "objectHash": "hq__LVJqN7DWzCeZSQRvjxTaSGSpnpDbec1uMwDhAgaaKEPT8cydYYwBgA19foTuw3e2EYTzGe5fW8", "length": 3 } } ] ]
async ContractEvents({ "contractAddress": "0x8f748b6a0e62bfaf62b55cb61c6831ae842051ed", "abi": [ { "constant": true, "inputs": [], "name": "parentAddress", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "creator", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "cleanUpContentObjects", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "execStatusNonceFail", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "content_space", "type": "address" } ], "name": "setContentSpace", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "execStatusSendFail", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "obj", "type": "address" } ], "name": "getContractRights", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "CATEGORY_CONTENT_OBJECT", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "getAccessGroupsLength", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "_candidate", "type": "address" } ], "name": "canContribute", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "content_type", "type": "address" }, { "name": "content_contract", "type": "address" } ], "name": "addContentType", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "stakeholder", "type": "address" }, { "name": "access_type", "type": "uint8" }, { "name": "access", "type": "uint8" } ], "name": "setRights", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_SEE", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "CATEGORY_GROUP", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "canConfirm", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "CATEGORY_LIBRARY", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "ACCESS_CONFIRMED", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessRequestV3", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "address" } ], "name": "contentTypeContracts", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "currentTimestamp", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "typeHash", "type": "bytes32" } ], "name": "findTypeByHash", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "obj", "type": "address" }, { "name": "access_type", "type": "uint8" }, { "name": "access", "type": "uint8" } ], "name": "setContractRights", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "group", "type": "address" }, { "name": "access_type", "type": "uint8" }, { "name": "access", "type": "uint8" } ], "name": "setGroupRights", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "_candidate", "type": "address" } ], "name": "isAdmin", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "visibility", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "address" } ], "name": "canReview", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "content_type", "type": "address" } ], "name": "validType", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "contentObj", "type": "address" } ], "name": "publish", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "position", "type": "uint256" } ], "name": "getAccessGroup", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "cleanUpAll", "outputs": [ { "name": "", "type": "uint256" }, { "name": "", "type": "uint256" }, { "name": "", "type": "uint256" }, { "name": "", "type": "uint256" }, { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "group", "type": "address" } ], "name": "getAccessGroupRights", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "accessGroups", "outputs": [ { "name": "category", "type": "uint8" }, { "name": "length", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "addressKMS", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "countVersionHashes", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "commitPending", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "requiresReview", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "obj", "type": "address" }, { "name": "access_type", "type": "uint8" }, { "name": "access", "type": "uint8" } ], "name": "setContentObjectRights", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "objectTimestamp", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "kill", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "candidate", "type": "address" } ], "name": "hasManagerAccess", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "confirmCommit", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [], "name": "ACCESS_TENTATIVE", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_guarantor", "type": "address" }, { "name": "_v", "type": "uint8" }, { "name": "_r", "type": "bytes32" }, { "name": "_s", "type": "bytes32" }, { "name": "_dest", "type": "address" }, { "name": "_value", "type": "uint256" }, { "name": "_ts", "type": "uint256" } ], "name": "execute", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "others", "outputs": [ { "name": "category", "type": "uint8" }, { "name": "length", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "version", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "getContentTypesLength", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "indexType", "type": "uint8" }, { "name": "obj", "type": "address" }, { "name": "access_type", "type": "uint8" }, { "name": "access", "type": "uint8" } ], "name": "setEntityRights", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "TYPE_EDIT", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "versionAPI", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "clearPending", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "pendingHash", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "CATEGORY_CONTRACT", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "indexCategory", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "candidate", "type": "address" } ], "name": "hasEditorRight", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "CATEGORY_CONTENT_TYPE", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "obj", "type": "address" } ], "name": "getContentObjectRights", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "contracts", "outputs": [ { "name": "category", "type": "uint8" }, { "name": "length", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "newCreator", "type": "address" } ], "name": "transferCreatorship", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "canCommit", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "position", "type": "uint256" } ], "name": "getContract", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "_v", "type": "uint8" }, { "name": "_r", "type": "bytes32" }, { "name": "_s", "type": "bytes32" }, { "name": "_dest", "type": "address" }, { "name": "_value", "type": "uint256" }, { "name": "_ts", "type": "uint256" } ], "name": "validateTransaction", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "addr", "type": "address" } ], "name": "contractExists", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "versionTimestamp", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "versionHashes", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "lib", "type": "address" }, { "name": "access_type", "type": "uint8" }, { "name": "access", "type": "uint8" } ], "name": "setLibraryRights", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "index_type", "type": "uint8" }, { "name": "obj", "type": "address" }, { "name": "access_type", "type": "uint8" } ], "name": "checkRights", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "canEdit", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "ACCESS_NONE", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "cleanUpContentTypes", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "obj", "type": "address" }, { "name": "access_type", "type": "uint8" }, { "name": "access", "type": "uint8" } ], "name": "setContentTypeRights", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "owner", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "cleanUpLibraries", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "execStatusBalanceFail", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "candidate", "type": "address" } ], "name": "hasAccess", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "execStatusOk", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "TYPE_SEE", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_ACCESS", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_objectHash", "type": "string" } ], "name": "commit", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "contentTypes", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "_candidate", "type": "address" } ], "name": "canPublish", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "content_type", "type": "address" } ], "name": "whitelistedType", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "contentTypes", "outputs": [ { "name": "category", "type": "uint8" }, { "name": "length", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "index_type", "type": "uint8" }, { "name": "obj", "type": "address" }, { "name": "access_type", "type": "uint8" } ], "name": "checkDirectRights", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "obj", "type": "address" } ], "name": "getContentTypeRights", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "contentObjects", "outputs": [ { "name": "category", "type": "uint8" }, { "name": "length", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_visibility_code", "type": "uint8" } ], "name": "setVisibility", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "position", "type": "uint256" } ], "name": "getContentType", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "key", "type": "bytes" } ], "name": "getMeta", "outputs": [ { "name": "", "type": "bytes" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "contentSpace", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "setAccessRights", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [], "name": "updateRequest", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "libraries", "outputs": [ { "name": "category", "type": "uint8" }, { "name": "length", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "contentTypesLength", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "address_KMS", "type": "address" } ], "name": "setAddressKMS", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "getLibrariesLength", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "position", "type": "uint256" } ], "name": "getContentObject", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "position", "type": "uint256" } ], "name": "getLibrary", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "TYPE_ACCESS", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "cleanUpAccessGroups", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "objectHash", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_versionHash", "type": "string" } ], "name": "deleteVersion", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "key", "type": "bytes" }, { "name": "value", "type": "bytes" } ], "name": "putMeta", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "execStatusSigFail", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "getContentObjectsLength", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_EDIT", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "group", "type": "address" }, { "name": "access_type", "type": "uint8" }, { "name": "access", "type": "uint8" } ], "name": "setAccessGroupRights", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "_ts", "type": "uint256" } ], "name": "validateTimestamp", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "lib", "type": "address" } ], "name": "getLibraryRights", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "getContractsLength", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "content_type", "type": "address" } ], "name": "removeContentType", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "name": "content_space", "type": "address" } ], "payable": true, "stateMutability": "payable", "type": "constructor" }, { "payable": true, "stateMutability": "payable", "type": "fallback" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "guarantor", "type": "address" }, { "indexed": false, "name": "code", "type": "int256" } ], "name": "ExecStatus", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "principal", "type": "address" }, { "indexed": false, "name": "entity", "type": "address" }, { "indexed": false, "name": "aggregate", "type": "uint8" } ], "name": "RightsChanged", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentType", "type": "address" }, { "indexed": false, "name": "contentContract", "type": "address" } ], "name": "ContentTypeAdded", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentType", "type": "address" } ], "name": "ContentTypeRemoved", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "CommitPending", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "UpdateRequest", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "VersionConfirm", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "versionHash", "type": "string" }, { "indexed": false, "name": "index", "type": "int256" } ], "name": "VersionDelete", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestNonce", "type": "uint256" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "contextHash", "type": "bytes32" }, { "indexed": false, "name": "accessor", "type": "address" }, { "indexed": false, "name": "requestTimestamp", "type": "uint256" } ], "name": "AccessRequestV3", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentSpace", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "visibility", "type": "uint8" } ], "name": "VisibilityChanged", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "key", "type": "bytes" } ], "name": "ObjectMetaChanged", "type": "event" } ], "fromBlock": 203233, "count": 1000 }); [ [ { "blockNumber": 203233, "blockHash": "0x8eb4ebaf1efd33b7bbd73da9ca33a1623dc69adccb1cedf6a07c49b45c9eb5c4", "transactionIndex": 0, "removed": false, "address": "0x8f748b6A0e62bfaF62b55CB61C6831ae842051ed", "data": "0x000000000000000000000000e43da44cd2f7b9ead9405c8763dc7493a5ab54f1000000000000000000000000e43da44cd2f7b9ead9405c8763dc7493a5ab54f10000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000004e68715f5f36684a61423974374c4161673635397331507632587a424c474c797a6138337463564b694e7334693969356873546239536952796e657070356f6e445538506371716631517933446359000000000000000000000000000000000000", "topics": [ "0xbdaffceabaaa783aa187fea6c2e815541d29e2290bf3f7d3c4fc53672b68f7df" ], "transactionHash": "0xa7677e50ff4cbc846174c4142b7a5cf2b7d5c45245a83f567b185acd7f158c2a", "logIndex": 0, "decode": "<function>", "name": "VersionConfirm", "signature": "VersionConfirm(address,address,string)", "topic": "0xbdaffceabaaa783aa187fea6c2e815541d29e2290bf3f7d3c4fc53672b68f7df", "values": { "0": "0xe43DA44cd2f7b9Ead9405C8763Dc7493a5AB54f1", "1": "0xe43DA44cd2f7b9Ead9405C8763Dc7493a5AB54f1", "2": "hq__6hJaB9t7LAag659s1Pv2XzBLGLyza83tcVKiNs4i9i5hsTb9SiRynepp5onDU8Pcqqf1Qy3DcY", "spaceAddress": "0xe43DA44cd2f7b9Ead9405C8763Dc7493a5AB54f1", "parentAddress": "0xe43DA44cd2f7b9Ead9405C8763Dc7493a5AB54f1", "objectHash": "hq__6hJaB9t7LAag659s1Pv2XzBLGLyza83tcVKiNs4i9i5hsTb9SiRynepp5onDU8Pcqqf1Qy3DcY", "length": 3 } } ] ]
async ContractEvents({ "contractAddress": "0x8f748b6a0e62bfaf62b55cb61c6831ae842051ed", "abi": [ { "constant": true, "inputs": [], "name": "parentAddress", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "creator", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "cleanUpContentObjects", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "execStatusNonceFail", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "content_space", "type": "address" } ], "name": "setContentSpace", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "execStatusSendFail", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "obj", "type": "address" } ], "name": "getContractRights", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "CATEGORY_CONTENT_OBJECT", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "getAccessGroupsLength", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "_candidate", "type": "address" } ], "name": "canContribute", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "content_type", "type": "address" }, { "name": "content_contract", "type": "address" } ], "name": "addContentType", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "stakeholder", "type": "address" }, { "name": "access_type", "type": "uint8" }, { "name": "access", "type": "uint8" } ], "name": "setRights", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_SEE", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "CATEGORY_GROUP", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "canConfirm", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "CATEGORY_LIBRARY", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "ACCESS_CONFIRMED", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessRequestV3", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "address" } ], "name": "contentTypeContracts", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "currentTimestamp", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "typeHash", "type": "bytes32" } ], "name": "findTypeByHash", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "obj", "type": "address" }, { "name": "access_type", "type": "uint8" }, { "name": "access", "type": "uint8" } ], "name": "setContractRights", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "group", "type": "address" }, { "name": "access_type", "type": "uint8" }, { "name": "access", "type": "uint8" } ], "name": "setGroupRights", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "_candidate", "type": "address" } ], "name": "isAdmin", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "visibility", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "address" } ], "name": "canReview", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "content_type", "type": "address" } ], "name": "validType", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "contentObj", "type": "address" } ], "name": "publish", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "position", "type": "uint256" } ], "name": "getAccessGroup", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "cleanUpAll", "outputs": [ { "name": "", "type": "uint256" }, { "name": "", "type": "uint256" }, { "name": "", "type": "uint256" }, { "name": "", "type": "uint256" }, { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "group", "type": "address" } ], "name": "getAccessGroupRights", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "accessGroups", "outputs": [ { "name": "category", "type": "uint8" }, { "name": "length", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "addressKMS", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "countVersionHashes", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "commitPending", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "requiresReview", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "obj", "type": "address" }, { "name": "access_type", "type": "uint8" }, { "name": "access", "type": "uint8" } ], "name": "setContentObjectRights", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "objectTimestamp", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "kill", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "candidate", "type": "address" } ], "name": "hasManagerAccess", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "confirmCommit", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [], "name": "ACCESS_TENTATIVE", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_guarantor", "type": "address" }, { "name": "_v", "type": "uint8" }, { "name": "_r", "type": "bytes32" }, { "name": "_s", "type": "bytes32" }, { "name": "_dest", "type": "address" }, { "name": "_value", "type": "uint256" }, { "name": "_ts", "type": "uint256" } ], "name": "execute", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "others", "outputs": [ { "name": "category", "type": "uint8" }, { "name": "length", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "version", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "getContentTypesLength", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "indexType", "type": "uint8" }, { "name": "obj", "type": "address" }, { "name": "access_type", "type": "uint8" }, { "name": "access", "type": "uint8" } ], "name": "setEntityRights", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "TYPE_EDIT", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "versionAPI", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "clearPending", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "pendingHash", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "CATEGORY_CONTRACT", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "indexCategory", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "candidate", "type": "address" } ], "name": "hasEditorRight", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "CATEGORY_CONTENT_TYPE", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "obj", "type": "address" } ], "name": "getContentObjectRights", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "contracts", "outputs": [ { "name": "category", "type": "uint8" }, { "name": "length", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "newCreator", "type": "address" } ], "name": "transferCreatorship", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "canCommit", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "position", "type": "uint256" } ], "name": "getContract", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "_v", "type": "uint8" }, { "name": "_r", "type": "bytes32" }, { "name": "_s", "type": "bytes32" }, { "name": "_dest", "type": "address" }, { "name": "_value", "type": "uint256" }, { "name": "_ts", "type": "uint256" } ], "name": "validateTransaction", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "addr", "type": "address" } ], "name": "contractExists", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "versionTimestamp", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "versionHashes", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "lib", "type": "address" }, { "name": "access_type", "type": "uint8" }, { "name": "access", "type": "uint8" } ], "name": "setLibraryRights", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "index_type", "type": "uint8" }, { "name": "obj", "type": "address" }, { "name": "access_type", "type": "uint8" } ], "name": "checkRights", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "canEdit", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "ACCESS_NONE", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "cleanUpContentTypes", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "obj", "type": "address" }, { "name": "access_type", "type": "uint8" }, { "name": "access", "type": "uint8" } ], "name": "setContentTypeRights", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "owner", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "cleanUpLibraries", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "execStatusBalanceFail", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "candidate", "type": "address" } ], "name": "hasAccess", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "execStatusOk", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "TYPE_SEE", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_ACCESS", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_objectHash", "type": "string" } ], "name": "commit", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "contentTypes", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "_candidate", "type": "address" } ], "name": "canPublish", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "content_type", "type": "address" } ], "name": "whitelistedType", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "contentTypes", "outputs": [ { "name": "category", "type": "uint8" }, { "name": "length", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "index_type", "type": "uint8" }, { "name": "obj", "type": "address" }, { "name": "access_type", "type": "uint8" } ], "name": "checkDirectRights", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "obj", "type": "address" } ], "name": "getContentTypeRights", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "contentObjects", "outputs": [ { "name": "category", "type": "uint8" }, { "name": "length", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_visibility_code", "type": "uint8" } ], "name": "setVisibility", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "position", "type": "uint256" } ], "name": "getContentType", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "key", "type": "bytes" } ], "name": "getMeta", "outputs": [ { "name": "", "type": "bytes" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "contentSpace", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "setAccessRights", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [], "name": "updateRequest", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "libraries", "outputs": [ { "name": "category", "type": "uint8" }, { "name": "length", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "contentTypesLength", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "address_KMS", "type": "address" } ], "name": "setAddressKMS", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "getLibrariesLength", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "position", "type": "uint256" } ], "name": "getContentObject", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "position", "type": "uint256" } ], "name": "getLibrary", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "TYPE_ACCESS", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "cleanUpAccessGroups", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "objectHash", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_versionHash", "type": "string" } ], "name": "deleteVersion", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "key", "type": "bytes" }, { "name": "value", "type": "bytes" } ], "name": "putMeta", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "execStatusSigFail", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "getContentObjectsLength", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_EDIT", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "group", "type": "address" }, { "name": "access_type", "type": "uint8" }, { "name": "access", "type": "uint8" } ], "name": "setAccessGroupRights", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "_ts", "type": "uint256" } ], "name": "validateTimestamp", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "lib", "type": "address" } ], "name": "getLibraryRights", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "getContractsLength", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "content_type", "type": "address" } ], "name": "removeContentType", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "name": "content_space", "type": "address" } ], "payable": true, "stateMutability": "payable", "type": "constructor" }, { "payable": true, "stateMutability": "payable", "type": "fallback" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "guarantor", "type": "address" }, { "indexed": false, "name": "code", "type": "int256" } ], "name": "ExecStatus", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "principal", "type": "address" }, { "indexed": false, "name": "entity", "type": "address" }, { "indexed": false, "name": "aggregate", "type": "uint8" } ], "name": "RightsChanged", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentType", "type": "address" }, { "indexed": false, "name": "contentContract", "type": "address" } ], "name": "ContentTypeAdded", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentType", "type": "address" } ], "name": "ContentTypeRemoved", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "CommitPending", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "UpdateRequest", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "VersionConfirm", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "versionHash", "type": "string" }, { "indexed": false, "name": "index", "type": "int256" } ], "name": "VersionDelete", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestNonce", "type": "uint256" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "contextHash", "type": "bytes32" }, { "indexed": false, "name": "accessor", "type": "address" }, { "indexed": false, "name": "requestTimestamp", "type": "uint256" } ], "name": "AccessRequestV3", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentSpace", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "visibility", "type": "uint8" } ], "name": "VisibilityChanged", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "key", "type": "bytes" } ], "name": "ObjectMetaChanged", "type": "event" } ], "fromBlock": 203235, "count": 1000 }); [ [ { "blockNumber": 203235, "blockHash": "0xc81fd037594bf3988cc7525581b0d55b024b588498da32099b5dd4d16f87cb8e", "transactionIndex": 0, "removed": false, "address": "0x8f748b6A0e62bfaF62b55CB61C6831ae842051ed", "data": "0x000000000000000000000000e43da44cd2f7b9ead9405c8763dc7493a5ab54f1000000000000000000000000e43da44cd2f7b9ead9405c8763dc7493a5ab54f10000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000004e68715f5f466a4543636645337a4571376637516e5047616a50707772354e6d7a7648336959774d65357142677455387a354b725a6836326e4b454a64537a35663459435877516546666858777769000000000000000000000000000000000000", "topics": [ "0xbdaffceabaaa783aa187fea6c2e815541d29e2290bf3f7d3c4fc53672b68f7df" ], "transactionHash": "0x33c350dacff557164566bd0d52bb9a67302f65911153cae2e3f255c979884863", "logIndex": 0, "decode": "<function>", "name": "VersionConfirm", "signature": "VersionConfirm(address,address,string)", "topic": "0xbdaffceabaaa783aa187fea6c2e815541d29e2290bf3f7d3c4fc53672b68f7df", "values": { "0": "0xe43DA44cd2f7b9Ead9405C8763Dc7493a5AB54f1", "1": "0xe43DA44cd2f7b9Ead9405C8763Dc7493a5AB54f1", "2": "hq__FjECcfE3zEq7f7QnPGajPpwr5NmzvH3iYwMe5qBgtU8z5KrZh62nKEJdSz5f4YCXwQeFfhXwwi", "spaceAddress": "0xe43DA44cd2f7b9Ead9405C8763Dc7493a5AB54f1", "parentAddress": "0xe43DA44cd2f7b9Ead9405C8763Dc7493a5AB54f1", "objectHash": "hq__FjECcfE3zEq7f7QnPGajPpwr5NmzvH3iYwMe5qBgtU8z5KrZh62nKEJdSz5f4YCXwQeFfhXwwi", "length": 3 } } ] ]
async ContractEvents({ "contractAddress": "0x97172a5190a9967238444e2e7983f934a8d40e47", "abi": [ { "constant": true, "inputs": [], "name": "parentAddress", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "address_KMS", "type": "address" } ], "name": "updateAddressKMS", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "creator", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "_candidate", "type": "address" } ], "name": "canContribute", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "content_type", "type": "address" }, { "name": "content_contract", "type": "address" } ], "name": "addContentType", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "stakeholder", "type": "address" }, { "name": "access_type", "type": "uint8" }, { "name": "access", "type": "uint8" } ], "name": "setRights", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_SEE", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "canConfirm", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "approvalRequestsLength", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "group", "type": "address" } ], "name": "removeReviewerGroup", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "customValues", "type": "bytes32[]" }, { "name": "stakeholders", "type": "address[]" } ], "name": "accessRequestV3", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "address" } ], "name": "contentTypeContracts", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "group", "type": "address" } ], "name": "addAccessorGroup", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "content_type", "type": "address" } ], "name": "createContent", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "typeHash", "type": "bytes32" } ], "name": "findTypeByHash", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "reviewerGroupsLength", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "group", "type": "address" }, { "name": "access_type", "type": "uint8" }, { "name": "access", "type": "uint8" } ], "name": "setGroupRights", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "contributorGroups", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "_candidate", "type": "address" } ], "name": "isAdmin", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "visibility", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "_candidate", "type": "address" } ], "name": "canReview", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "content_type", "type": "address" } ], "name": "validType", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "accessorGroups", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "contentObj", "type": "address" } ], "name": "publish", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "addressKMS", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "countVersionHashes", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "commitPending", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "group", "type": "address" } ], "name": "removeContributorGroup", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "requiresReview", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "objectTimestamp", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "kill", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [], "name": "confirmCommit", "outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [], "name": "contributorGroupsLength", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "submitApprovalRequest", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "version", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "versionAPI", "outputs": [ { "name": "", "type": "bytes32" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "clearPending", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "pendingHash", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "indexCategory", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "index", "type": "uint256" } ], "name": "getPendingApprovalRequest", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "group", "type": "address" } ], "name": "addContributorGroup", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "candidate", "type": "address" } ], "name": "hasEditorRight", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "newCreator", "type": "address" } ], "name": "transferCreatorship", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "canCommit", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "versionTimestamp", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "versionHashes", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "canEdit", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "content_contract", "type": "address" }, { "name": "approved", "type": "bool" }, { "name": "note", "type": "string" } ], "name": "approveContent", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "_contentAddr", "type": "address" } ], "name": "deleteContent", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "approvalRequests", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "owner", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "reviewerGroups", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "candidate", "type": "address" } ], "name": "hasAccess", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_ACCESS", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_objectHash", "type": "string" } ], "name": "commit", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "", "type": "uint256" } ], "name": "contentTypes", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "_candidate", "type": "address" } ], "name": "canPublish", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "content_type", "type": "address" } ], "name": "whitelistedType", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_visibility_code", "type": "uint8" } ], "name": "setVisibility", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [ { "name": "key", "type": "bytes" } ], "name": "getMeta", "outputs": [ { "name": "", "type": "bytes" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [], "name": "contentSpace", "outputs": [ { "name": "", "type": "address" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [], "name": "updateRequest", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "contentTypesLength", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "address_KMS", "type": "address" } ], "name": "setAddressKMS", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "canPublish", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "group", "type": "address" } ], "name": "addReviewerGroup", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "objectHash", "outputs": [ { "name": "", "type": "string" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "_versionHash", "type": "string" } ], "name": "deleteVersion", "outputs": [ { "name": "", "type": "int256" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "key", "type": "bytes" }, { "name": "value", "type": "bytes" } ], "name": "putMeta", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "accessorGroupsLength", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "group", "type": "address" } ], "name": "removeAccessorGroup", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "CAN_EDIT", "outputs": [ { "name": "", "type": "uint8" } ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": false, "inputs": [ { "name": "newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": "content_type", "type": "address" } ], "name": "removeContentType", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "name": "address_KMS", "type": "address" }, { "name": "content_space", "type": "address" } ], "payable": true, "stateMutability": "payable", "type": "constructor" }, { "payable": true, "stateMutability": "payable", "type": "fallback" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentAddress", "type": "address" }, { "indexed": false, "name": "content_type", "type": "address" }, { "indexed": false, "name": "spaceAddress", "type": "address" } ], "name": "ContentObjectCreated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentAddress", "type": "address" }, { "indexed": false, "name": "spaceAddress", "type": "address" } ], "name": "ContentObjectDeleted", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "group", "type": "address" } ], "name": "ContributorGroupAdded", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "group", "type": "address" } ], "name": "ContributorGroupRemoved", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "group", "type": "address" } ], "name": "ReviewerGroupAdded", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "group", "type": "address" } ], "name": "ReviewerGroupRemoved", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "group", "type": "address" } ], "name": "AccessorGroupAdded", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "group", "type": "address" } ], "name": "AccessorGroupRemoved", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "operationCode", "type": "uint256" }, { "indexed": false, "name": "candidate", "type": "address" } ], "name": "UnauthorizedOperation", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentAddress", "type": "address" }, { "indexed": false, "name": "submitter", "type": "address" } ], "name": "ApproveContentRequest", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentAddress", "type": "address" }, { "indexed": false, "name": "approved", "type": "bool" }, { "indexed": false, "name": "note", "type": "string" } ], "name": "ApproveContent", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "addressKms", "type": "address" } ], "name": "UpdateKmsAddress", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentType", "type": "address" }, { "indexed": false, "name": "contentContract", "type": "address" } ], "name": "ContentTypeAdded", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentType", "type": "address" } ], "name": "ContentTypeRemoved", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "CommitPending", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "UpdateRequest", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "objectHash", "type": "string" } ], "name": "VersionConfirm", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "spaceAddress", "type": "address" }, { "indexed": false, "name": "versionHash", "type": "string" }, { "indexed": false, "name": "index", "type": "int256" } ], "name": "VersionDelete", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "requestNonce", "type": "uint256" }, { "indexed": false, "name": "parentAddress", "type": "address" }, { "indexed": false, "name": "contextHash", "type": "bytes32" }, { "indexed": false, "name": "accessor", "type": "address" }, { "indexed": false, "name": "requestTimestamp", "type": "uint256" } ], "name": "AccessRequestV3", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "contentSpace", "type": "address" }, { "indexed": false, "name": "parentAddress",