{ "contract_manager_address": "0x856d1487Ad3235C05E3A9a3101Ca1EeB1ccC7075", "contract_manager_abi": [ { "type": "event", "anonymous": false, "name": "ContractUpgraded", "inputs": [ { "type": "string", "name": "contractsName", "indexed": false }, { "type": "address", "name": "contractsAddress", "indexed": false } ] }, { "type": "event", "anonymous": false, "name": "Initialized", "inputs": [ { "type": "uint8", "name": "version", "indexed": false } ] }, { "type": "event", "anonymous": false, "name": "OwnershipTransferred", "inputs": [ { "type": "address", "name": "previousOwner", "indexed": true }, { "type": "address", "name": "newOwner", "indexed": true } ] }, { "type": "function", "name": "BOUNTY", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "string", "name": "" } ] }, { "type": "function", "name": "CONSTANTS_HOLDER", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "string", "name": "" } ] }, { "type": "function", "name": "DELEGATION_PERIOD_MANAGER", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "string", "name": "" } ] }, { "type": "function", "name": "PUNISHER", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "string", "name": "" } ] }, { "type": "function", "name": "SKALE_TOKEN", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "string", "name": "" } ] }, { "type": "function", "name": "TIME_HELPERS", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "string", "name": "" } ] }, { "type": "function", "name": "TOKEN_STATE", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "string", "name": "" } ] }, { "type": "function", "name": "VALIDATOR_SERVICE", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "string", "name": "" } ] }, { "type": "function", "name": "contracts", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "" } ], "outputs": [ { "type": "address", "name": "" } ] }, { "type": "function", "name": "getBounty", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "address", "name": "" } ] }, { "type": "function", "name": "getConstantsHolder", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "address", "name": "" } ] }, { "type": "function", "name": "getContract", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "string", "name": "name" } ], "outputs": [ { "type": "address", "name": "contractAddress" } ] }, { "type": "function", "name": "getDelegationPeriodManager", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "address", "name": "" } ] }, { "type": "function", "name": "getPunisher", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "address", "name": "" } ] }, { "type": "function", "name": "getSkaleToken", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "address", "name": "" } ] }, { "type": "function", "name": "getTimeHelpers", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "address", "name": "" } ] }, { "type": "function", "name": "getTokenState", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "address", "name": "" } ] }, { "type": "function", "name": "getValidatorService", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "address", "name": "" } ] }, { "type": "function", "name": "initialize", "constant": false, "payable": false, "inputs": [], "outputs": [] }, { "type": "function", "name": "owner", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "address", "name": "" } ] }, { "type": "function", "name": "renounceOwnership", "constant": false, "payable": false, "inputs": [], "outputs": [] }, { "type": "function", "name": "setContractsAddress", "constant": false, "payable": false, "inputs": [ { "type": "string", "name": "contractsName" }, { "type": "address", "name": "newContractsAddress" } ], "outputs": [] }, { "type": "function", "name": "transferOwnership", "constant": false, "payable": false, "inputs": [ { "type": "address", "name": "newOwner" } ], "outputs": [] } ], "delegation_controller_address": "0x4adEdC3223D48BEfcD3aCC0496d34e6591ca67e0", "delegation_controller_abi": [ { "type": "event", "anonymous": false, "name": "Confiscated", "inputs": [ { "type": "uint256", "name": "validatorId", "indexed": true }, { "type": "uint256", "name": "amount", "indexed": false } ] }, { "type": "event", "anonymous": false, "name": "DelegationAccepted", "inputs": [ { "type": "uint256", "name": "delegationId", "indexed": false } ] }, { "type": "event", "anonymous": false, "name": "DelegationProposed", "inputs": [ { "type": "uint256", "name": "delegationId", "indexed": false } ] }, { "type": "event", "anonymous": false, "name": "DelegationRequestCanceledByUser", "inputs": [ { "type": "uint256", "name": "delegationId", "indexed": false } ] }, { "type": "event", "anonymous": false, "name": "Initialized", "inputs": [ { "type": "uint8", "name": "version", "indexed": false } ] }, { "type": "event", "anonymous": false, "name": "RoleGranted", "inputs": [ { "type": "bytes32", "name": "role", "indexed": true }, { "type": "address", "name": "account", "indexed": true }, { "type": "address", "name": "sender", "indexed": true } ] }, { "type": "event", "anonymous": false, "name": "RoleRevoked", "inputs": [ { "type": "bytes32", "name": "role", "indexed": true }, { "type": "address", "name": "account", "indexed": true }, { "type": "address", "name": "sender", "indexed": true } ] }, { "type": "event", "anonymous": false, "name": "SlashesProcessed", "inputs": [ { "type": "address", "name": "holder", "indexed": true }, { "type": "uint256", "name": "limit", "indexed": false } ] }, { "type": "event", "anonymous": false, "name": "UndelegationRequested", "inputs": [ { "type": "uint256", "name": "delegationId", "indexed": false } ] }, { "type": "function", "name": "DEFAULT_ADMIN_ROLE", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "bytes32", "name": "" } ] }, { "type": "function", "name": "UNDELEGATION_PROHIBITION_WINDOW_SECONDS", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "acceptPendingDelegation", "constant": false, "payable": false, "inputs": [ { "type": "uint256", "name": "delegationId" } ], "outputs": [] }, { "type": "function", "name": "cancelPendingDelegation", "constant": false, "payable": false, "inputs": [ { "type": "uint256", "name": "delegationId" } ], "outputs": [] }, { "type": "function", "name": "confiscate", "constant": false, "payable": false, "inputs": [ { "type": "uint256", "name": "validatorId" }, { "type": "uint256", "name": "amount" } ], "outputs": [] }, { "type": "function", "name": "contractManager", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "address", "name": "" } ] }, { "type": "function", "name": "delegate", "constant": false, "payable": false, "inputs": [ { "type": "uint256", "name": "validatorId" }, { "type": "uint256", "name": "amount" }, { "type": "uint256", "name": "delegationPeriod" }, { "type": "string", "name": "info" } ], "outputs": [] }, { "type": "function", "name": "delegations", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "uint256", "name": "" } ], "outputs": [ { "type": "address", "name": "holder" }, { "type": "uint256", "name": "validatorId" }, { "type": "uint256", "name": "amount" }, { "type": "uint256", "name": "delegationPeriod" }, { "type": "uint256", "name": "created" }, { "type": "uint256", "name": "started" }, { "type": "uint256", "name": "finished" }, { "type": "string", "name": "info" } ] }, { "type": "function", "name": "delegationsByHolder", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "address", "name": "" }, { "type": "uint256", "name": "" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "delegationsByValidator", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "uint256", "name": "" }, { "type": "uint256", "name": "" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "getAndUpdateDelegatedAmount", "constant": false, "payable": false, "inputs": [ { "type": "address", "name": "holder" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "getAndUpdateDelegatedByHolderToValidatorNow", "constant": false, "payable": false, "inputs": [ { "type": "address", "name": "holder" }, { "type": "uint256", "name": "validatorId" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "getAndUpdateDelegatedToValidatorNow", "constant": false, "payable": false, "inputs": [ { "type": "uint256", "name": "validatorId" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "getAndUpdateEffectiveDelegatedByHolderToValidator", "constant": false, "payable": false, "inputs": [ { "type": "address", "name": "holder" }, { "type": "uint256", "name": "validatorId" }, { "type": "uint256", "name": "month" } ], "outputs": [ { "type": "uint256", "name": "effectiveDelegated" } ] }, { "type": "function", "name": "getAndUpdateEffectiveDelegatedToValidator", "constant": false, "payable": false, "inputs": [ { "type": "uint256", "name": "validatorId" }, { "type": "uint256", "name": "month" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "getAndUpdateForbiddenForDelegationAmount", "constant": false, "payable": false, "inputs": [ { "type": "address", "name": "wallet" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "getAndUpdateLockedAmount", "constant": false, "payable": false, "inputs": [ { "type": "address", "name": "wallet" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "getDelegatedToValidator", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "uint256", "name": "validatorId" }, { "type": "uint256", "name": "month" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "getDelegation", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "uint256", "name": "delegationId" } ], "outputs": [ { "type": "tuple", "components": [ { "type": "address", "name": "holder" }, { "type": "uint256", "name": "validatorId" }, { "type": "uint256", "name": "amount" }, { "type": "uint256", "name": "delegationPeriod" }, { "type": "uint256", "name": "created" }, { "type": "uint256", "name": "started" }, { "type": "uint256", "name": "finished" }, { "type": "string", "name": "info" } ], "name": "" } ] }, { "type": "function", "name": "getDelegationsByHolderLength", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "address", "name": "holder" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "getDelegationsByValidatorLength", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "uint256", "name": "validatorId" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "getEffectiveDelegatedToValidator", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "uint256", "name": "validatorId" }, { "type": "uint256", "name": "month" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "getEffectiveDelegatedValuesByValidator", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "uint256", "name": "validatorId" } ], "outputs": [ { "type": "uint256[]", "name": "" } ] }, { "type": "function", "name": "getFirstDelegationMonth", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "address", "name": "holder" }, { "type": "uint256", "name": "validatorId" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "getLockedInPendingDelegations", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "address", "name": "holder" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "getRoleAdmin", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" } ], "outputs": [ { "type": "bytes32", "name": "" } ] }, { "type": "function", "name": "getRoleMember", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "uint256", "name": "index" } ], "outputs": [ { "type": "address", "name": "" } ] }, { "type": "function", "name": "getRoleMemberCount", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "getState", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "uint256", "name": "delegationId" } ], "outputs": [ { "type": "uint8", "name": "state" } ] }, { "type": "function", "name": "grantRole", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [] }, { "type": "function", "name": "hasRole", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [ { "type": "bool", "name": "" } ] }, { "type": "function", "name": "hasUnprocessedSlashes", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "address", "name": "holder" } ], "outputs": [ { "type": "bool", "name": "" } ] }, { "type": "function", "name": "initialize", "constant": false, "payable": false, "inputs": [ { "type": "address", "name": "contractsAddress" } ], "outputs": [] }, { "type": "function", "name": "processAllSlashes", "constant": false, "payable": false, "inputs": [ { "type": "address", "name": "holder" } ], "outputs": [] }, { "type": "function", "name": "processSlashes", "constant": false, "payable": false, "inputs": [ { "type": "address", "name": "holder" }, { "type": "uint256", "name": "limit" } ], "outputs": [] }, { "type": "function", "name": "renounceRole", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [] }, { "type": "function", "name": "requestUndelegation", "constant": false, "payable": false, "inputs": [ { "type": "uint256", "name": "delegationId" } ], "outputs": [] }, { "type": "function", "name": "revokeRole", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [] } ], "delegation_period_manager_address": "0x11E72ebE3813940E5b42ce27B7368873Ed9843C2", "delegation_period_manager_abi": [ { "type": "event", "anonymous": false, "name": "DelegationPeriodWasSet", "inputs": [ { "type": "uint256", "name": "length", "indexed": false }, { "type": "uint256", "name": "stakeMultiplier", "indexed": false } ] }, { "type": "event", "anonymous": false, "name": "Initialized", "inputs": [ { "type": "uint8", "name": "version", "indexed": false } ] }, { "type": "event", "anonymous": false, "name": "RoleGranted", "inputs": [ { "type": "bytes32", "name": "role", "indexed": true }, { "type": "address", "name": "account", "indexed": true }, { "type": "address", "name": "sender", "indexed": true } ] }, { "type": "event", "anonymous": false, "name": "RoleRevoked", "inputs": [ { "type": "bytes32", "name": "role", "indexed": true }, { "type": "address", "name": "account", "indexed": true }, { "type": "address", "name": "sender", "indexed": true } ] }, { "type": "function", "name": "DEFAULT_ADMIN_ROLE", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "bytes32", "name": "" } ] }, { "type": "function", "name": "DELEGATION_PERIOD_SETTER_ROLE", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "bytes32", "name": "" } ] }, { "type": "function", "name": "contractManager", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "address", "name": "" } ] }, { "type": "function", "name": "getRoleAdmin", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" } ], "outputs": [ { "type": "bytes32", "name": "" } ] }, { "type": "function", "name": "getRoleMember", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "uint256", "name": "index" } ], "outputs": [ { "type": "address", "name": "" } ] }, { "type": "function", "name": "getRoleMemberCount", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "grantRole", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [] }, { "type": "function", "name": "hasRole", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [ { "type": "bool", "name": "" } ] }, { "type": "function", "name": "initialize", "constant": false, "payable": false, "inputs": [ { "type": "address", "name": "contractsAddress" } ], "outputs": [] }, { "type": "function", "name": "isDelegationPeriodAllowed", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "uint256", "name": "monthsCount" } ], "outputs": [ { "type": "bool", "name": "" } ] }, { "type": "function", "name": "renounceRole", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [] }, { "type": "function", "name": "revokeRole", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [] }, { "type": "function", "name": "setDelegationPeriod", "constant": false, "payable": false, "inputs": [ { "type": "uint256", "name": "monthsCount" }, { "type": "uint256", "name": "stakeMultiplier" } ], "outputs": [] }, { "type": "function", "name": "stakeMultipliers", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "uint256", "name": "" } ], "outputs": [ { "type": "uint256", "name": "" } ] } ], "distributor_address": "0xac8e1E257BbDbeA89bF651Bc1e5420e08eDE62fA", "distributor_abi": [ { "type": "event", "anonymous": false, "name": "BountyWasPaid", "inputs": [ { "type": "uint256", "name": "validatorId", "indexed": false }, { "type": "uint256", "name": "amount", "indexed": false } ] }, { "type": "event", "anonymous": false, "name": "Initialized", "inputs": [ { "type": "uint8", "name": "version", "indexed": false } ] }, { "type": "event", "anonymous": false, "name": "RoleGranted", "inputs": [ { "type": "bytes32", "name": "role", "indexed": true }, { "type": "address", "name": "account", "indexed": true }, { "type": "address", "name": "sender", "indexed": true } ] }, { "type": "event", "anonymous": false, "name": "RoleRevoked", "inputs": [ { "type": "bytes32", "name": "role", "indexed": true }, { "type": "address", "name": "account", "indexed": true }, { "type": "address", "name": "sender", "indexed": true } ] }, { "type": "event", "anonymous": false, "name": "WithdrawBounty", "inputs": [ { "type": "address", "name": "holder", "indexed": false }, { "type": "uint256", "name": "validatorId", "indexed": false }, { "type": "address", "name": "destination", "indexed": false }, { "type": "uint256", "name": "amount", "indexed": false } ] }, { "type": "event", "anonymous": false, "name": "WithdrawFee", "inputs": [ { "type": "uint256", "name": "validatorId", "indexed": false }, { "type": "address", "name": "destination", "indexed": false }, { "type": "uint256", "name": "amount", "indexed": false } ] }, { "type": "function", "name": "DEFAULT_ADMIN_ROLE", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "bytes32", "name": "" } ] }, { "type": "function", "name": "contractManager", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "address", "name": "" } ] }, { "type": "function", "name": "getAndUpdateEarnedBountyAmount", "constant": false, "payable": false, "inputs": [ { "type": "uint256", "name": "validatorId" } ], "outputs": [ { "type": "uint256", "name": "earned" }, { "type": "uint256", "name": "endMonth" } ] }, { "type": "function", "name": "getAndUpdateEarnedBountyAmountOf", "constant": false, "payable": false, "inputs": [ { "type": "address", "name": "wallet" }, { "type": "uint256", "name": "validatorId" } ], "outputs": [ { "type": "uint256", "name": "earned" }, { "type": "uint256", "name": "endMonth" } ] }, { "type": "function", "name": "getEarnedFeeAmount", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "uint256", "name": "earned" }, { "type": "uint256", "name": "endMonth" } ] }, { "type": "function", "name": "getEarnedFeeAmountOf", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "uint256", "name": "validatorId" } ], "outputs": [ { "type": "uint256", "name": "earned" }, { "type": "uint256", "name": "endMonth" } ] }, { "type": "function", "name": "getRoleAdmin", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" } ], "outputs": [ { "type": "bytes32", "name": "" } ] }, { "type": "function", "name": "getRoleMember", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "uint256", "name": "index" } ], "outputs": [ { "type": "address", "name": "" } ] }, { "type": "function", "name": "getRoleMemberCount", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "grantRole", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [] }, { "type": "function", "name": "hasRole", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [ { "type": "bool", "name": "" } ] }, { "type": "function", "name": "initialize", "constant": false, "payable": false, "inputs": [ { "type": "address", "name": "contractsAddress" } ], "outputs": [] }, { "type": "function", "name": "renounceRole", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [] }, { "type": "function", "name": "revokeRole", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [] }, { "type": "function", "name": "tokensReceived", "constant": false, "payable": false, "inputs": [ { "type": "address", "name": "" }, { "type": "address", "name": "" }, { "type": "address", "name": "to" }, { "type": "uint256", "name": "amount" }, { "type": "bytes", "name": "userData" }, { "type": "bytes", "name": "" } ], "outputs": [] }, { "type": "function", "name": "withdrawBounty", "constant": false, "payable": false, "inputs": [ { "type": "uint256", "name": "validatorId" }, { "type": "address", "name": "to" } ], "outputs": [] }, { "type": "function", "name": "withdrawFee", "constant": false, "payable": false, "inputs": [ { "type": "address", "name": "to" } ], "outputs": [] } ], "punisher_address": "0x0053A2d5003DEa84C12f96374026f80eB361F3eF", "punisher_abi": [ { "type": "event", "anonymous": false, "name": "Forgive", "inputs": [ { "type": "address", "name": "wallet", "indexed": false }, { "type": "uint256", "name": "amount", "indexed": false } ] }, { "type": "event", "anonymous": false, "name": "Initialized", "inputs": [ { "type": "uint8", "name": "version", "indexed": false } ] }, { "type": "event", "anonymous": false, "name": "RoleGranted", "inputs": [ { "type": "bytes32", "name": "role", "indexed": true }, { "type": "address", "name": "account", "indexed": true }, { "type": "address", "name": "sender", "indexed": true } ] }, { "type": "event", "anonymous": false, "name": "RoleRevoked", "inputs": [ { "type": "bytes32", "name": "role", "indexed": true }, { "type": "address", "name": "account", "indexed": true }, { "type": "address", "name": "sender", "indexed": true } ] }, { "type": "event", "anonymous": false, "name": "Slash", "inputs": [ { "type": "uint256", "name": "validatorId", "indexed": false }, { "type": "uint256", "name": "amount", "indexed": false } ] }, { "type": "function", "name": "DEFAULT_ADMIN_ROLE", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "bytes32", "name": "" } ] }, { "type": "function", "name": "FORGIVER_ROLE", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "bytes32", "name": "" } ] }, { "type": "function", "name": "contractManager", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "address", "name": "" } ] }, { "type": "function", "name": "forgive", "constant": false, "payable": false, "inputs": [ { "type": "address", "name": "holder" }, { "type": "uint256", "name": "amount" } ], "outputs": [] }, { "type": "function", "name": "getAndUpdateForbiddenForDelegationAmount", "constant": false, "payable": false, "inputs": [ { "type": "address", "name": "wallet" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "getAndUpdateLockedAmount", "constant": false, "payable": false, "inputs": [ { "type": "address", "name": "wallet" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "getRoleAdmin", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" } ], "outputs": [ { "type": "bytes32", "name": "" } ] }, { "type": "function", "name": "getRoleMember", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "uint256", "name": "index" } ], "outputs": [ { "type": "address", "name": "" } ] }, { "type": "function", "name": "getRoleMemberCount", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "grantRole", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [] }, { "type": "function", "name": "handleSlash", "constant": false, "payable": false, "inputs": [ { "type": "address", "name": "holder" }, { "type": "uint256", "name": "amount" } ], "outputs": [] }, { "type": "function", "name": "hasRole", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [ { "type": "bool", "name": "" } ] }, { "type": "function", "name": "initialize", "constant": false, "payable": false, "inputs": [ { "type": "address", "name": "contractManagerAddress" } ], "outputs": [] }, { "type": "function", "name": "renounceRole", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [] }, { "type": "function", "name": "revokeRole", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [] }, { "type": "function", "name": "slash", "constant": false, "payable": false, "inputs": [ { "type": "uint256", "name": "validatorId" }, { "type": "uint256", "name": "amount" } ], "outputs": [] } ], "slashing_table_address": "0x220c25E44E381dacE2D0C7713920436703eD734f", "slashing_table_abi": [ { "type": "event", "anonymous": false, "name": "Initialized", "inputs": [ { "type": "uint8", "name": "version", "indexed": false } ] }, { "type": "event", "anonymous": false, "name": "PenaltyAdded", "inputs": [ { "type": "uint256", "name": "offenseHash", "indexed": true }, { "type": "string", "name": "offense", "indexed": false }, { "type": "uint256", "name": "penalty", "indexed": false } ] }, { "type": "event", "anonymous": false, "name": "RoleGranted", "inputs": [ { "type": "bytes32", "name": "role", "indexed": true }, { "type": "address", "name": "account", "indexed": true }, { "type": "address", "name": "sender", "indexed": true } ] }, { "type": "event", "anonymous": false, "name": "RoleRevoked", "inputs": [ { "type": "bytes32", "name": "role", "indexed": true }, { "type": "address", "name": "account", "indexed": true }, { "type": "address", "name": "sender", "indexed": true } ] }, { "type": "function", "name": "DEFAULT_ADMIN_ROLE", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "bytes32", "name": "" } ] }, { "type": "function", "name": "PENALTY_SETTER_ROLE", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "bytes32", "name": "" } ] }, { "type": "function", "name": "contractManager", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "address", "name": "" } ] }, { "type": "function", "name": "getPenalty", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "string", "name": "offense" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "getRoleAdmin", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" } ], "outputs": [ { "type": "bytes32", "name": "" } ] }, { "type": "function", "name": "getRoleMember", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "uint256", "name": "index" } ], "outputs": [ { "type": "address", "name": "" } ] }, { "type": "function", "name": "getRoleMemberCount", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "grantRole", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [] }, { "type": "function", "name": "hasRole", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [ { "type": "bool", "name": "" } ] }, { "type": "function", "name": "initialize", "constant": false, "payable": false, "inputs": [ { "type": "address", "name": "contractManagerAddress" } ], "outputs": [] }, { "type": "function", "name": "renounceRole", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [] }, { "type": "function", "name": "revokeRole", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [] }, { "type": "function", "name": "setPenalty", "constant": false, "payable": false, "inputs": [ { "type": "string", "name": "offense" }, { "type": "uint256", "name": "penalty" } ], "outputs": [] } ], "time_helpers_address": "0xfce696027577134d70C55a97c223c2dCd87461f8", "time_helpers_abi": [ { "type": "function", "name": "addDays", "constant": true, "stateMutability": "pure", "payable": false, "inputs": [ { "type": "uint256", "name": "fromTimestamp" }, { "type": "uint256", "name": "n" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "addMonths", "constant": true, "stateMutability": "pure", "payable": false, "inputs": [ { "type": "uint256", "name": "fromTimestamp" }, { "type": "uint256", "name": "n" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "addYears", "constant": true, "stateMutability": "pure", "payable": false, "inputs": [ { "type": "uint256", "name": "fromTimestamp" }, { "type": "uint256", "name": "n" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "calculateProofOfUseLockEndTime", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "uint256", "name": "month" }, { "type": "uint256", "name": "lockUpPeriodDays" } ], "outputs": [ { "type": "uint256", "name": "timestamp" } ] }, { "type": "function", "name": "getCurrentMonth", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "monthToTimestamp", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "uint256", "name": "month" } ], "outputs": [ { "type": "uint256", "name": "timestamp" } ] }, { "type": "function", "name": "timestampToMonth", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "uint256", "name": "timestamp" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "timestampToYear", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "uint256", "name": "timestamp" } ], "outputs": [ { "type": "uint256", "name": "" } ] } ], "token_state_address": "0x5B5B487A872Bb408e69e6F6b09FeDb32c2B1E36B", "token_state_abi": [ { "type": "event", "anonymous": false, "name": "Initialized", "inputs": [ { "type": "uint8", "name": "version", "indexed": false } ] }, { "type": "event", "anonymous": false, "name": "LockerWasAdded", "inputs": [ { "type": "string", "name": "locker", "indexed": false } ] }, { "type": "event", "anonymous": false, "name": "LockerWasRemoved", "inputs": [ { "type": "string", "name": "locker", "indexed": false } ] }, { "type": "event", "anonymous": false, "name": "RoleGranted", "inputs": [ { "type": "bytes32", "name": "role", "indexed": true }, { "type": "address", "name": "account", "indexed": true }, { "type": "address", "name": "sender", "indexed": true } ] }, { "type": "event", "anonymous": false, "name": "RoleRevoked", "inputs": [ { "type": "bytes32", "name": "role", "indexed": true }, { "type": "address", "name": "account", "indexed": true }, { "type": "address", "name": "sender", "indexed": true } ] }, { "type": "function", "name": "DEFAULT_ADMIN_ROLE", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "bytes32", "name": "" } ] }, { "type": "function", "name": "LOCKER_MANAGER_ROLE", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "bytes32", "name": "" } ] }, { "type": "function", "name": "addLocker", "constant": false, "payable": false, "inputs": [ { "type": "string", "name": "locker" } ], "outputs": [] }, { "type": "function", "name": "contractManager", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "address", "name": "" } ] }, { "type": "function", "name": "getAndUpdateForbiddenForDelegationAmount", "constant": false, "payable": false, "inputs": [ { "type": "address", "name": "holder" } ], "outputs": [ { "type": "uint256", "name": "amount" } ] }, { "type": "function", "name": "getAndUpdateLockedAmount", "constant": false, "payable": false, "inputs": [ { "type": "address", "name": "holder" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "getRoleAdmin", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" } ], "outputs": [ { "type": "bytes32", "name": "" } ] }, { "type": "function", "name": "getRoleMember", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "uint256", "name": "index" } ], "outputs": [ { "type": "address", "name": "" } ] }, { "type": "function", "name": "getRoleMemberCount", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "grantRole", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [] }, { "type": "function", "name": "hasRole", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [ { "type": "bool", "name": "" } ] }, { "type": "function", "name": "initialize", "constant": false, "payable": false, "inputs": [ { "type": "address", "name": "contractManagerAddress" } ], "outputs": [] }, { "type": "function", "name": "removeLocker", "constant": false, "payable": false, "inputs": [ { "type": "string", "name": "locker" } ], "outputs": [] }, { "type": "function", "name": "renounceRole", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [] }, { "type": "function", "name": "revokeRole", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [] } ], "validator_service_address": "0xA5AC91C92e9FaAe7c46859BfAbbC7218b56C22B5", "validator_service_abi": [ { "type": "event", "anonymous": false, "name": "AcceptingNewRequests", "inputs": [ { "type": "uint256", "name": "validatorId", "indexed": true }, { "type": "bool", "name": "status", "indexed": false } ] }, { "type": "event", "anonymous": false, "name": "Initialized", "inputs": [ { "type": "uint8", "name": "version", "indexed": false } ] }, { "type": "event", "anonymous": false, "name": "NodeAddressWasAdded", "inputs": [ { "type": "uint256", "name": "validatorId", "indexed": false }, { "type": "address", "name": "nodeAddress", "indexed": false } ] }, { "type": "event", "anonymous": false, "name": "NodeAddressWasRemoved", "inputs": [ { "type": "uint256", "name": "validatorId", "indexed": false }, { "type": "address", "name": "nodeAddress", "indexed": false } ] }, { "type": "event", "anonymous": false, "name": "RequestNewAddress", "inputs": [ { "type": "uint256", "name": "validatorId", "indexed": true }, { "type": "address", "name": "previousAddress", "indexed": false }, { "type": "address", "name": "newAddress", "indexed": false } ] }, { "type": "event", "anonymous": false, "name": "RoleGranted", "inputs": [ { "type": "bytes32", "name": "role", "indexed": true }, { "type": "address", "name": "account", "indexed": true }, { "type": "address", "name": "sender", "indexed": true } ] }, { "type": "event", "anonymous": false, "name": "RoleRevoked", "inputs": [ { "type": "bytes32", "name": "role", "indexed": true }, { "type": "address", "name": "account", "indexed": true }, { "type": "address", "name": "sender", "indexed": true } ] }, { "type": "event", "anonymous": false, "name": "SetMinimumDelegationAmount", "inputs": [ { "type": "uint256", "name": "validatorId", "indexed": true }, { "type": "uint256", "name": "previousMDA", "indexed": false }, { "type": "uint256", "name": "newMDA", "indexed": false } ] }, { "type": "event", "anonymous": false, "name": "SetValidatorDescription", "inputs": [ { "type": "uint256", "name": "validatorId", "indexed": true }, { "type": "string", "name": "previousDescription", "indexed": false }, { "type": "string", "name": "newDescription", "indexed": false } ] }, { "type": "event", "anonymous": false, "name": "SetValidatorName", "inputs": [ { "type": "uint256", "name": "validatorId", "indexed": true }, { "type": "string", "name": "previousName", "indexed": false }, { "type": "string", "name": "newName", "indexed": false } ] }, { "type": "event", "anonymous": false, "name": "ValidatorAddressChanged", "inputs": [ { "type": "uint256", "name": "validatorId", "indexed": false }, { "type": "address", "name": "newAddress", "indexed": false } ] }, { "type": "event", "anonymous": false, "name": "ValidatorRegistered", "inputs": [ { "type": "uint256", "name": "validatorId", "indexed": false } ] }, { "type": "event", "anonymous": false, "name": "ValidatorWasDisabled", "inputs": [ { "type": "uint256", "name": "validatorId", "indexed": false } ] }, { "type": "event", "anonymous": false, "name": "ValidatorWasEnabled", "inputs": [ { "type": "uint256", "name": "validatorId", "indexed": false } ] }, { "type": "event", "anonymous": false, "name": "WhitelistDisabled", "inputs": [ { "type": "bool", "name": "status", "indexed": false } ] }, { "type": "function", "name": "DEFAULT_ADMIN_ROLE", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "bytes32", "name": "" } ] }, { "type": "function", "name": "VALIDATOR_MANAGER_ROLE", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "bytes32", "name": "" } ] }, { "type": "function", "name": "checkIfValidatorAddressExists", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "address", "name": "validatorAddress" } ], "outputs": [] }, { "type": "function", "name": "checkValidatorAddressToId", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "address", "name": "validatorAddress" }, { "type": "uint256", "name": "validatorId" } ], "outputs": [ { "type": "bool", "name": "" } ] }, { "type": "function", "name": "checkValidatorCanReceiveDelegation", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "uint256", "name": "validatorId" }, { "type": "uint256", "name": "amount" } ], "outputs": [] }, { "type": "function", "name": "confirmNewAddress", "constant": false, "payable": false, "inputs": [ { "type": "uint256", "name": "validatorId" } ], "outputs": [] }, { "type": "function", "name": "contractManager", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "address", "name": "" } ] }, { "type": "function", "name": "disableValidator", "constant": false, "payable": false, "inputs": [ { "type": "uint256", "name": "validatorId" } ], "outputs": [] }, { "type": "function", "name": "disableWhitelist", "constant": false, "payable": false, "inputs": [], "outputs": [] }, { "type": "function", "name": "enableValidator", "constant": false, "payable": false, "inputs": [ { "type": "uint256", "name": "validatorId" } ], "outputs": [] }, { "type": "function", "name": "getAndUpdateBondAmount", "constant": false, "payable": false, "inputs": [ { "type": "uint256", "name": "validatorId" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "getMyNodesAddresses", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "address[]", "name": "" } ] }, { "type": "function", "name": "getNodeAddresses", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "uint256", "name": "validatorId" } ], "outputs": [ { "type": "address[]", "name": "" } ] }, { "type": "function", "name": "getRoleAdmin", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" } ], "outputs": [ { "type": "bytes32", "name": "" } ] }, { "type": "function", "name": "getRoleMember", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "uint256", "name": "index" } ], "outputs": [ { "type": "address", "name": "" } ] }, { "type": "function", "name": "getRoleMemberCount", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "getTrustedValidators", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "uint256[]", "name": "" } ] }, { "type": "function", "name": "getValidator", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "uint256", "name": "validatorId" } ], "outputs": [ { "type": "tuple", "components": [ { "type": "string", "name": "name" }, { "type": "address", "name": "validatorAddress" }, { "type": "address", "name": "requestedAddress" }, { "type": "string", "name": "description" }, { "type": "uint256", "name": "feeRate" }, { "type": "uint256", "name": "registrationTime" }, { "type": "uint256", "name": "minimumDelegationAmount" }, { "type": "bool", "name": "acceptNewRequests" } ], "name": "" } ] }, { "type": "function", "name": "getValidatorId", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "address", "name": "validatorAddress" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "getValidatorIdByNodeAddress", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "address", "name": "nodeAddress" } ], "outputs": [ { "type": "uint256", "name": "validatorId" } ] }, { "type": "function", "name": "grantRole", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [] }, { "type": "function", "name": "hasRole", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [ { "type": "bool", "name": "" } ] }, { "type": "function", "name": "initialize", "constant": false, "payable": false, "inputs": [ { "type": "address", "name": "contractManagerAddress" } ], "outputs": [] }, { "type": "function", "name": "isAcceptingNewRequests", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "uint256", "name": "validatorId" } ], "outputs": [ { "type": "bool", "name": "" } ] }, { "type": "function", "name": "isAuthorizedValidator", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "uint256", "name": "validatorId" } ], "outputs": [ { "type": "bool", "name": "" } ] }, { "type": "function", "name": "linkNodeAddress", "constant": false, "payable": false, "inputs": [ { "type": "address", "name": "nodeAddress" }, { "type": "bytes", "name": "sig" } ], "outputs": [] }, { "type": "function", "name": "numberOfValidators", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "registerValidator", "constant": false, "payable": false, "inputs": [ { "type": "string", "name": "name" }, { "type": "string", "name": "description" }, { "type": "uint256", "name": "feeRate" }, { "type": "uint256", "name": "minimumDelegationAmount" } ], "outputs": [ { "type": "uint256", "name": "validatorId" } ] }, { "type": "function", "name": "removeNodeAddress", "constant": false, "payable": false, "inputs": [ { "type": "uint256", "name": "validatorId" }, { "type": "address", "name": "nodeAddress" } ], "outputs": [] }, { "type": "function", "name": "renounceRole", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [] }, { "type": "function", "name": "requestForNewAddress", "constant": false, "payable": false, "inputs": [ { "type": "address", "name": "newValidatorAddress" } ], "outputs": [] }, { "type": "function", "name": "revokeRole", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [] }, { "type": "function", "name": "setValidatorDescription", "constant": false, "payable": false, "inputs": [ { "type": "string", "name": "newDescription" } ], "outputs": [] }, { "type": "function", "name": "setValidatorMDA", "constant": false, "payable": false, "inputs": [ { "type": "uint256", "name": "minimumDelegationAmount" } ], "outputs": [] }, { "type": "function", "name": "setValidatorName", "constant": false, "payable": false, "inputs": [ { "type": "string", "name": "newName" } ], "outputs": [] }, { "type": "function", "name": "startAcceptingNewRequests", "constant": false, "payable": false, "inputs": [], "outputs": [] }, { "type": "function", "name": "stopAcceptingNewRequests", "constant": false, "payable": false, "inputs": [], "outputs": [] }, { "type": "function", "name": "trustedValidatorsList", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "uint256", "name": "" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "unlinkNodeAddress", "constant": false, "payable": false, "inputs": [ { "type": "address", "name": "nodeAddress" } ], "outputs": [] }, { "type": "function", "name": "useWhitelist", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "bool", "name": "" } ] }, { "type": "function", "name": "validatorAddressExists", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "address", "name": "validatorAddress" } ], "outputs": [ { "type": "bool", "name": "" } ] }, { "type": "function", "name": "validatorExists", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "uint256", "name": "validatorId" } ], "outputs": [ { "type": "bool", "name": "" } ] }, { "type": "function", "name": "validators", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "uint256", "name": "" } ], "outputs": [ { "type": "string", "name": "name" }, { "type": "address", "name": "validatorAddress" }, { "type": "address", "name": "requestedAddress" }, { "type": "string", "name": "description" }, { "type": "uint256", "name": "feeRate" }, { "type": "uint256", "name": "registrationTime" }, { "type": "uint256", "name": "minimumDelegationAmount" }, { "type": "bool", "name": "acceptNewRequests" } ] } ], "constants_holder_address": "0x479B026D3b23c3F817ae20ce229adaf566D62269", "constants_holder_abi": [ { "type": "event", "anonymous": false, "name": "ConstantUpdated", "inputs": [ { "type": "bytes32", "name": "constantHash", "indexed": true }, { "type": "uint256", "name": "previousValue", "indexed": false }, { "type": "uint256", "name": "newValue", "indexed": false } ] }, { "type": "event", "anonymous": false, "name": "Initialized", "inputs": [ { "type": "uint8", "name": "version", "indexed": false } ] }, { "type": "event", "anonymous": false, "name": "RoleGranted", "inputs": [ { "type": "bytes32", "name": "role", "indexed": true }, { "type": "address", "name": "account", "indexed": true }, { "type": "address", "name": "sender", "indexed": true } ] }, { "type": "event", "anonymous": false, "name": "RoleRevoked", "inputs": [ { "type": "bytes32", "name": "role", "indexed": true }, { "type": "address", "name": "account", "indexed": true }, { "type": "address", "name": "sender", "indexed": true } ] }, { "type": "function", "name": "ADJUSTMENT_SPEED", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "ALRIGHT_DELTA", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "BOUNTY_LOCKUP_MONTHS", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "BROADCAST_DELTA", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "COMPLAINT_BAD_DATA_DELTA", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "COMPLAINT_DELTA", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "CONSTANTS_HOLDER_MANAGER_ROLE", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "bytes32", "name": "" } ] }, { "type": "function", "name": "COOLDOWN_TIME", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "DEFAULT_ADMIN_ROLE", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "bytes32", "name": "" } ] }, { "type": "function", "name": "DOWNTIME_THRESHOLD_PART", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "LARGE_DIVISOR", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "uint8", "name": "" } ] }, { "type": "function", "name": "MEDIUM_DIVISOR", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "uint8", "name": "" } ] }, { "type": "function", "name": "MEDIUM_TEST_DIVISOR", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "uint8", "name": "" } ] }, { "type": "function", "name": "MIN_PRICE", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "MSR_REDUCING_COEFFICIENT", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "NODE_DEPOSIT", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "NUMBER_OF_MONITORS", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "NUMBER_OF_NODES_FOR_MEDIUM_TEST_SCHAIN", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "NUMBER_OF_NODES_FOR_SCHAIN", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "NUMBER_OF_NODES_FOR_TEST_SCHAIN", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "OPTIMAL_LOAD_PERCENTAGE", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "PRE_RESPONSE_DELTA", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "RESPONSE_DELTA", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "SECONDS_TO_YEAR", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "uint32", "name": "" } ] }, { "type": "function", "name": "SMALL_DIVISOR", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "uint8", "name": "" } ] }, { "type": "function", "name": "TOTAL_SPACE_ON_NODE", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "uint8", "name": "" } ] }, { "type": "function", "name": "allowableLatency", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "uint32", "name": "" } ] }, { "type": "function", "name": "checkTime", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "complaintTimeLimit", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "contractManager", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "address", "name": "" } ] }, { "type": "function", "name": "deltaPeriod", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "uint32", "name": "" } ] }, { "type": "function", "name": "firstDelegationsMonth", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "getRoleAdmin", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" } ], "outputs": [ { "type": "bytes32", "name": "" } ] }, { "type": "function", "name": "getRoleMember", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "uint256", "name": "index" } ], "outputs": [ { "type": "address", "name": "" } ] }, { "type": "function", "name": "getRoleMemberCount", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "grantRole", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [] }, { "type": "function", "name": "hasRole", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [ { "type": "bool", "name": "" } ] }, { "type": "function", "name": "initialize", "constant": false, "payable": false, "inputs": [ { "type": "address", "name": "contractsAddress" } ], "outputs": [] }, { "type": "function", "name": "launchTimestamp", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "limitValidatorsPerDelegator", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "minNodeBalance", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "minimalSchainLifetime", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "msr", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "proofOfUseDelegationPercentage", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "proofOfUseLockUpPeriodDays", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "reinitialize", "constant": false, "payable": false, "inputs": [], "outputs": [] }, { "type": "function", "name": "renounceRole", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [] }, { "type": "function", "name": "revokeRole", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [] }, { "type": "function", "name": "rewardPeriod", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "uint32", "name": "" } ] }, { "type": "function", "name": "rotationDelay", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "schainCreationTimeStamp", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "setCheckTime", "constant": false, "payable": false, "inputs": [ { "type": "uint256", "name": "newCheckTime" } ], "outputs": [] }, { "type": "function", "name": "setComplaintTimeLimit", "constant": false, "payable": false, "inputs": [ { "type": "uint256", "name": "timeLimit" } ], "outputs": [] }, { "type": "function", "name": "setLatency", "constant": false, "payable": false, "inputs": [ { "type": "uint32", "name": "newAllowableLatency" } ], "outputs": [] }, { "type": "function", "name": "setLaunchTimestamp", "constant": false, "payable": false, "inputs": [ { "type": "uint256", "name": "timestamp" } ], "outputs": [] }, { "type": "function", "name": "setLimitValidatorsPerDelegator", "constant": false, "payable": false, "inputs": [ { "type": "uint256", "name": "newLimit" } ], "outputs": [] }, { "type": "function", "name": "setMSR", "constant": false, "payable": false, "inputs": [ { "type": "uint256", "name": "newMSR" } ], "outputs": [] }, { "type": "function", "name": "setMinNodeBalance", "constant": false, "payable": false, "inputs": [ { "type": "uint256", "name": "newMinNodeBalance" } ], "outputs": [] }, { "type": "function", "name": "setMinimalSchainLifetime", "constant": false, "payable": false, "inputs": [ { "type": "uint256", "name": "lifetime" } ], "outputs": [] }, { "type": "function", "name": "setPeriods", "constant": false, "payable": false, "inputs": [ { "type": "uint32", "name": "newRewardPeriod" }, { "type": "uint32", "name": "newDeltaPeriod" } ], "outputs": [] }, { "type": "function", "name": "setProofOfUseDelegationPercentage", "constant": false, "payable": false, "inputs": [ { "type": "uint256", "name": "percentage" } ], "outputs": [] }, { "type": "function", "name": "setProofOfUseLockUpPeriod", "constant": false, "payable": false, "inputs": [ { "type": "uint256", "name": "periodDays" } ], "outputs": [] }, { "type": "function", "name": "setRotationDelay", "constant": false, "payable": false, "inputs": [ { "type": "uint256", "name": "newDelay" } ], "outputs": [] }, { "type": "function", "name": "setSchainCreationTimeStamp", "constant": false, "payable": false, "inputs": [ { "type": "uint256", "name": "timestamp" } ], "outputs": [] } ], "nodes_address": "0x8ACf0FF9d9Eb269d8D49374CdF0527ec76602a41", "nodes_abi": [ { "type": "event", "anonymous": false, "name": "ExitCompleted", "inputs": [ { "type": "uint256", "name": "nodeIndex", "indexed": false } ] }, { "type": "event", "anonymous": false, "name": "ExitInitialized", "inputs": [ { "type": "uint256", "name": "nodeIndex", "indexed": false }, { "type": "uint256", "name": "startLeavingPeriod", "indexed": false } ] }, { "type": "event", "anonymous": false, "name": "IPChanged", "inputs": [ { "type": "uint256", "name": "nodeIndex", "indexed": true }, { "type": "bytes4", "name": "previousIP", "indexed": false }, { "type": "bytes4", "name": "newIP", "indexed": false } ] }, { "type": "event", "anonymous": false, "name": "IncompliantNode", "inputs": [ { "type": "uint256", "name": "nodeIndex", "indexed": true }, { "type": "bool", "name": "status", "indexed": false } ] }, { "type": "event", "anonymous": false, "name": "Initialized", "inputs": [ { "type": "uint8", "name": "version", "indexed": false } ] }, { "type": "event", "anonymous": false, "name": "MaintenanceNode", "inputs": [ { "type": "uint256", "name": "nodeIndex", "indexed": true }, { "type": "bool", "name": "status", "indexed": false } ] }, { "type": "event", "anonymous": false, "name": "NodeCreated", "inputs": [ { "type": "uint256", "name": "nodeIndex", "indexed": false }, { "type": "address", "name": "owner", "indexed": false }, { "type": "string", "name": "name", "indexed": false }, { "type": "bytes4", "name": "ip", "indexed": false }, { "type": "bytes4", "name": "publicIP", "indexed": false }, { "type": "uint16", "name": "port", "indexed": false }, { "type": "uint16", "name": "nonce", "indexed": false }, { "type": "string", "name": "domainName", "indexed": false } ] }, { "type": "event", "anonymous": false, "name": "RoleGranted", "inputs": [ { "type": "bytes32", "name": "role", "indexed": true }, { "type": "address", "name": "account", "indexed": true }, { "type": "address", "name": "sender", "indexed": true } ] }, { "type": "event", "anonymous": false, "name": "RoleRevoked", "inputs": [ { "type": "bytes32", "name": "role", "indexed": true }, { "type": "address", "name": "account", "indexed": true }, { "type": "address", "name": "sender", "indexed": true } ] }, { "type": "function", "name": "COMPLIANCE_ROLE", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "bytes32", "name": "" } ] }, { "type": "function", "name": "DEFAULT_ADMIN_ROLE", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "bytes32", "name": "" } ] }, { "type": "function", "name": "NODE_MANAGER_ROLE", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "bytes32", "name": "" } ] }, { "type": "function", "name": "addSpaceToNode", "constant": false, "payable": false, "inputs": [ { "type": "uint256", "name": "nodeIndex" }, { "type": "uint8", "name": "space" } ], "outputs": [] }, { "type": "function", "name": "changeIP", "constant": false, "payable": false, "inputs": [ { "type": "uint256", "name": "nodeIndex" }, { "type": "bytes4", "name": "newIP" }, { "type": "bytes4", "name": "newPublicIP" } ], "outputs": [] }, { "type": "function", "name": "changeNodeFinishTime", "constant": false, "payable": false, "inputs": [ { "type": "uint256", "name": "nodeIndex" }, { "type": "uint256", "name": "time" } ], "outputs": [] }, { "type": "function", "name": "changeNodeLastRewardDate", "constant": false, "payable": false, "inputs": [ { "type": "uint256", "name": "nodeIndex" } ], "outputs": [] }, { "type": "function", "name": "checkPossibilityCreatingNode", "constant": false, "payable": false, "inputs": [ { "type": "address", "name": "nodeAddress" } ], "outputs": [] }, { "type": "function", "name": "checkPossibilityToMaintainNode", "constant": false, "payable": false, "inputs": [ { "type": "uint256", "name": "validatorId" }, { "type": "uint256", "name": "nodeIndex" } ], "outputs": [ { "type": "bool", "name": "" } ] }, { "type": "function", "name": "completeExit", "constant": false, "payable": false, "inputs": [ { "type": "uint256", "name": "nodeIndex" } ], "outputs": [ { "type": "bool", "name": "" } ] }, { "type": "function", "name": "contractManager", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "address", "name": "" } ] }, { "type": "function", "name": "countNodesWithFreeSpace", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "uint8", "name": "freeSpace" } ], "outputs": [ { "type": "uint256", "name": "count" } ] }, { "type": "function", "name": "createNode", "constant": false, "payable": false, "inputs": [ { "type": "address", "name": "from" }, { "type": "tuple", "name": "params", "components": [ { "type": "string", "name": "name" }, { "type": "bytes4", "name": "ip" }, { "type": "bytes4", "name": "publicIp" }, { "type": "uint16", "name": "port" }, { "type": "bytes32[2]", "name": "publicKey" }, { "type": "uint16", "name": "nonce" }, { "type": "string", "name": "domainName" } ] } ], "outputs": [] }, { "type": "function", "name": "deleteNodeForValidator", "constant": false, "payable": false, "inputs": [ { "type": "uint256", "name": "validatorId" }, { "type": "uint256", "name": "nodeIndex" } ], "outputs": [] }, { "type": "function", "name": "domainNames", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "uint256", "name": "" } ], "outputs": [ { "type": "string", "name": "" } ] }, { "type": "function", "name": "getActiveNodeIds", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "uint256[]", "name": "activeNodeIds" } ] }, { "type": "function", "name": "getNodeAddress", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "uint256", "name": "nodeIndex" } ], "outputs": [ { "type": "address", "name": "" } ] }, { "type": "function", "name": "getNodeDomainName", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "uint256", "name": "nodeIndex" } ], "outputs": [ { "type": "string", "name": "" } ] }, { "type": "function", "name": "getNodeFinishTime", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "uint256", "name": "nodeIndex" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "getNodeIP", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "uint256", "name": "nodeIndex" } ], "outputs": [ { "type": "bytes4", "name": "" } ] }, { "type": "function", "name": "getNodeLastRewardDate", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "uint256", "name": "nodeIndex" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "getNodeNextRewardDate", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "uint256", "name": "nodeIndex" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "getNodePort", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "uint256", "name": "nodeIndex" } ], "outputs": [ { "type": "uint16", "name": "" } ] }, { "type": "function", "name": "getNodePublicKey", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "uint256", "name": "nodeIndex" } ], "outputs": [ { "type": "bytes32[2]", "name": "" } ] }, { "type": "function", "name": "getNodeStatus", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "uint256", "name": "nodeIndex" } ], "outputs": [ { "type": "uint8", "name": "" } ] }, { "type": "function", "name": "getNumberOfNodes", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "getNumberOnlineNodes", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "getRandomNodeWithFreeSpace", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "uint8", "name": "freeSpace" }, { "type": "tuple", "name": "randomGenerator", "components": [ { "type": "uint256", "name": "seed" } ] } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "getRoleAdmin", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" } ], "outputs": [ { "type": "bytes32", "name": "" } ] }, { "type": "function", "name": "getRoleMember", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "uint256", "name": "index" } ], "outputs": [ { "type": "address", "name": "" } ] }, { "type": "function", "name": "getRoleMemberCount", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "getValidatorId", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "uint256", "name": "nodeIndex" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "getValidatorNodeIndexes", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "uint256", "name": "validatorId" } ], "outputs": [ { "type": "uint256[]", "name": "" } ] }, { "type": "function", "name": "grantRole", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [] }, { "type": "function", "name": "hasRole", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [ { "type": "bool", "name": "" } ] }, { "type": "function", "name": "incompliant", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "uint256", "name": "" } ], "outputs": [ { "type": "bool", "name": "" } ] }, { "type": "function", "name": "initExit", "constant": false, "payable": false, "inputs": [ { "type": "uint256", "name": "nodeIndex" } ], "outputs": [] }, { "type": "function", "name": "initialize", "constant": false, "payable": false, "inputs": [ { "type": "address", "name": "contractsAddress" } ], "outputs": [] }, { "type": "function", "name": "isNodeActive", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "uint256", "name": "nodeIndex" } ], "outputs": [ { "type": "bool", "name": "" } ] }, { "type": "function", "name": "isNodeExist", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "address", "name": "from" }, { "type": "uint256", "name": "nodeIndex" } ], "outputs": [ { "type": "bool", "name": "" } ] }, { "type": "function", "name": "isNodeInMaintenance", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "uint256", "name": "nodeIndex" } ], "outputs": [ { "type": "bool", "name": "" } ] }, { "type": "function", "name": "isNodeLeaving", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "uint256", "name": "nodeIndex" } ], "outputs": [ { "type": "bool", "name": "" } ] }, { "type": "function", "name": "isNodeLeft", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "uint256", "name": "nodeIndex" } ], "outputs": [ { "type": "bool", "name": "" } ] }, { "type": "function", "name": "isTimeForReward", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "uint256", "name": "nodeIndex" } ], "outputs": [ { "type": "bool", "name": "" } ] }, { "type": "function", "name": "makeNodeInvisible", "constant": false, "payable": false, "inputs": [ { "type": "uint256", "name": "nodeIndex" } ], "outputs": [] }, { "type": "function", "name": "makeNodeVisible", "constant": false, "payable": false, "inputs": [ { "type": "uint256", "name": "nodeIndex" } ], "outputs": [] }, { "type": "function", "name": "nodeIndexes", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "address", "name": "" } ], "outputs": [ { "type": "uint256", "name": "numberOfNodes" } ] }, { "type": "function", "name": "nodes", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "uint256", "name": "" } ], "outputs": [ { "type": "string", "name": "name" }, { "type": "bytes4", "name": "ip" }, { "type": "bytes4", "name": "publicIP" }, { "type": "uint16", "name": "port" }, { "type": "uint256", "name": "startBlock" }, { "type": "uint256", "name": "lastRewardDate" }, { "type": "uint256", "name": "finishTime" }, { "type": "uint8", "name": "status" }, { "type": "uint256", "name": "validatorId" } ] }, { "type": "function", "name": "nodesIPCheck", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes4", "name": "" } ], "outputs": [ { "type": "bool", "name": "" } ] }, { "type": "function", "name": "nodesNameCheck", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "" } ], "outputs": [ { "type": "bool", "name": "" } ] }, { "type": "function", "name": "nodesNameToIndex", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "numberOfActiveNodes", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "numberOfLeavingNodes", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "numberOfLeftNodes", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "removeNodeFromInMaintenance", "constant": false, "payable": false, "inputs": [ { "type": "uint256", "name": "nodeIndex" } ], "outputs": [] }, { "type": "function", "name": "removeSpaceFromNode", "constant": false, "payable": false, "inputs": [ { "type": "uint256", "name": "nodeIndex" }, { "type": "uint8", "name": "space" } ], "outputs": [ { "type": "bool", "name": "" } ] }, { "type": "function", "name": "renounceRole", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [] }, { "type": "function", "name": "revokeRole", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [] }, { "type": "function", "name": "setDomainName", "constant": false, "payable": false, "inputs": [ { "type": "uint256", "name": "nodeIndex" }, { "type": "string", "name": "domainName" } ], "outputs": [] }, { "type": "function", "name": "setNodeCompliant", "constant": false, "payable": false, "inputs": [ { "type": "uint256", "name": "nodeIndex" } ], "outputs": [] }, { "type": "function", "name": "setNodeInMaintenance", "constant": false, "payable": false, "inputs": [ { "type": "uint256", "name": "nodeIndex" } ], "outputs": [] }, { "type": "function", "name": "setNodeIncompliant", "constant": false, "payable": false, "inputs": [ { "type": "uint256", "name": "nodeIndex" } ], "outputs": [] }, { "type": "function", "name": "spaceOfNodes", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "uint256", "name": "" } ], "outputs": [ { "type": "uint8", "name": "freeSpace" }, { "type": "uint256", "name": "indexInSpaceMap" } ] }, { "type": "function", "name": "spaceToNodes", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "uint8", "name": "" }, { "type": "uint256", "name": "" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "validatorToNodeIndexes", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "uint256", "name": "" }, { "type": "uint256", "name": "" } ], "outputs": [ { "type": "uint256", "name": "" } ] } ], "node_rotation_address": "0x306df93940afA8d56e258128D3d30d2d8e38ecfB", "node_rotation_abi": [ { "type": "event", "anonymous": false, "name": "Initialized", "inputs": [ { "type": "uint8", "name": "version", "indexed": false } ] }, { "type": "event", "anonymous": false, "name": "RoleGranted", "inputs": [ { "type": "bytes32", "name": "role", "indexed": true }, { "type": "address", "name": "account", "indexed": true }, { "type": "address", "name": "sender", "indexed": true } ] }, { "type": "event", "anonymous": false, "name": "RoleRevoked", "inputs": [ { "type": "bytes32", "name": "role", "indexed": true }, { "type": "address", "name": "account", "indexed": true }, { "type": "address", "name": "sender", "indexed": true } ] }, { "type": "event", "anonymous": false, "name": "RotationDelaySkipped", "inputs": [ { "type": "bytes32", "name": "schainHash", "indexed": true } ] }, { "type": "function", "name": "DEBUGGER_ROLE", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "bytes32", "name": "" } ] }, { "type": "function", "name": "DEFAULT_ADMIN_ROLE", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "bytes32", "name": "" } ] }, { "type": "function", "name": "contractManager", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "address", "name": "" } ] }, { "type": "function", "name": "exitFromSchain", "constant": false, "payable": false, "inputs": [ { "type": "uint256", "name": "nodeIndex" } ], "outputs": [ { "type": "bool", "name": "" }, { "type": "bool", "name": "" } ] }, { "type": "function", "name": "freezeSchains", "constant": false, "payable": false, "inputs": [ { "type": "uint256", "name": "nodeIndex" } ], "outputs": [] }, { "type": "function", "name": "getLeavingHistory", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "uint256", "name": "nodeIndex" } ], "outputs": [ { "type": "tuple[]", "components": [ { "type": "bytes32", "name": "schainHash" }, { "type": "uint256", "name": "finishedRotation" } ], "name": "" } ] }, { "type": "function", "name": "getPreviousNode", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "schainHash" }, { "type": "uint256", "name": "nodeIndex" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "getRoleAdmin", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" } ], "outputs": [ { "type": "bytes32", "name": "" } ] }, { "type": "function", "name": "getRoleMember", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "uint256", "name": "index" } ], "outputs": [ { "type": "address", "name": "" } ] }, { "type": "function", "name": "getRoleMemberCount", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "getRotation", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "schainHash" } ], "outputs": [ { "type": "tuple", "components": [ { "type": "uint256", "name": "nodeIndex" }, { "type": "uint256", "name": "newNodeIndex" }, { "type": "uint256", "name": "freezeUntil" }, { "type": "uint256", "name": "rotationCounter" } ], "name": "" } ] }, { "type": "function", "name": "grantRole", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [] }, { "type": "function", "name": "hasRole", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [ { "type": "bool", "name": "" } ] }, { "type": "function", "name": "initialize", "constant": false, "payable": false, "inputs": [ { "type": "address", "name": "newContractsAddress" } ], "outputs": [] }, { "type": "function", "name": "isNewNodeFound", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "schainHash" } ], "outputs": [ { "type": "bool", "name": "" } ] }, { "type": "function", "name": "isRotationInProgress", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "schainHash" } ], "outputs": [ { "type": "bool", "name": "" } ] }, { "type": "function", "name": "leavingHistory", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "uint256", "name": "" }, { "type": "uint256", "name": "" } ], "outputs": [ { "type": "bytes32", "name": "schainHash" }, { "type": "uint256", "name": "finishedRotation" } ] }, { "type": "function", "name": "removeRotation", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "schainHash" } ], "outputs": [] }, { "type": "function", "name": "renounceRole", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [] }, { "type": "function", "name": "revokeRole", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [] }, { "type": "function", "name": "rotateNode", "constant": false, "payable": false, "inputs": [ { "type": "uint256", "name": "nodeIndex" }, { "type": "bytes32", "name": "schainHash" }, { "type": "bool", "name": "shouldDelay" }, { "type": "bool", "name": "isBadNode" } ], "outputs": [ { "type": "uint256", "name": "newNode" } ] }, { "type": "function", "name": "selectNodeToGroup", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "schainHash" } ], "outputs": [ { "type": "uint256", "name": "nodeIndex" } ] }, { "type": "function", "name": "skipRotationDelay", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "schainHash" } ], "outputs": [] }, { "type": "function", "name": "waitForNewNode", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "" } ], "outputs": [ { "type": "bool", "name": "" } ] } ], "schains_internal_address": "0x9BAdb4c4F15427A5334ef7BD1f9C1cCC6b956dc3", "schains_internal_abi": [ { "type": "event", "anonymous": false, "name": "Initialized", "inputs": [ { "type": "uint8", "name": "version", "indexed": false } ] }, { "type": "event", "anonymous": false, "name": "RoleGranted", "inputs": [ { "type": "bytes32", "name": "role", "indexed": true }, { "type": "address", "name": "account", "indexed": true }, { "type": "address", "name": "sender", "indexed": true } ] }, { "type": "event", "anonymous": false, "name": "RoleRevoked", "inputs": [ { "type": "bytes32", "name": "role", "indexed": true }, { "type": "address", "name": "account", "indexed": true }, { "type": "address", "name": "sender", "indexed": true } ] }, { "type": "event", "anonymous": false, "name": "SchainTypeAdded", "inputs": [ { "type": "uint256", "name": "schainType", "indexed": true }, { "type": "uint256", "name": "partOfNode", "indexed": false }, { "type": "uint256", "name": "numberOfNodes", "indexed": false } ] }, { "type": "event", "anonymous": false, "name": "SchainTypeRemoved", "inputs": [ { "type": "uint256", "name": "schainType", "indexed": true } ] }, { "type": "function", "name": "DEBUGGER_ROLE", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "bytes32", "name": "" } ] }, { "type": "function", "name": "DEFAULT_ADMIN_ROLE", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "bytes32", "name": "" } ] }, { "type": "function", "name": "GENERATION_MANAGER_ROLE", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "bytes32", "name": "" } ] }, { "type": "function", "name": "SCHAIN_TYPE_MANAGER_ROLE", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "bytes32", "name": "" } ] }, { "type": "function", "name": "addSchainForNode", "constant": false, "payable": false, "inputs": [ { "type": "address", "name": "nodes" }, { "type": "uint256", "name": "nodeIndex" }, { "type": "bytes32", "name": "schainHash" } ], "outputs": [] }, { "type": "function", "name": "addSchainType", "constant": false, "payable": false, "inputs": [ { "type": "uint8", "name": "partOfNode" }, { "type": "uint256", "name": "numberOfNodes" } ], "outputs": [] }, { "type": "function", "name": "changeLifetime", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "schainHash" }, { "type": "uint256", "name": "lifetime" }, { "type": "uint256", "name": "deposit" } ], "outputs": [] }, { "type": "function", "name": "checkException", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "schainHash" }, { "type": "uint256", "name": "nodeIndex" } ], "outputs": [ { "type": "bool", "name": "" } ] }, { "type": "function", "name": "checkHoleForSchain", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "schainHash" }, { "type": "uint256", "name": "indexOfNode" } ], "outputs": [ { "type": "bool", "name": "" } ] }, { "type": "function", "name": "checkSchainOnNode", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "uint256", "name": "nodeIndex" }, { "type": "bytes32", "name": "schainHash" } ], "outputs": [ { "type": "bool", "name": "" } ] }, { "type": "function", "name": "contractManager", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "address", "name": "" } ] }, { "type": "function", "name": "createGroupForSchain", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "schainHash" }, { "type": "uint256", "name": "numberOfNodes" }, { "type": "uint8", "name": "partOfNode" } ], "outputs": [ { "type": "uint256[]", "name": "" } ] }, { "type": "function", "name": "currentGeneration", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "deleteGroup", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "schainHash" } ], "outputs": [] }, { "type": "function", "name": "getActiveSchain", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "uint256", "name": "nodeIndex" } ], "outputs": [ { "type": "bytes32", "name": "" } ] }, { "type": "function", "name": "getActiveSchains", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "uint256", "name": "nodeIndex" } ], "outputs": [ { "type": "bytes32[]", "name": "activeSchains" } ] }, { "type": "function", "name": "getGeneration", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "schainHash" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "getNodeIndexInGroup", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "schainHash" }, { "type": "uint256", "name": "nodeId" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "getNodesInGroup", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "schainHash" } ], "outputs": [ { "type": "uint256[]", "name": "" } ] }, { "type": "function", "name": "getNumberOfNodesInGroup", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "schainHash" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "getRoleAdmin", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" } ], "outputs": [ { "type": "bytes32", "name": "" } ] }, { "type": "function", "name": "getRoleMember", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "uint256", "name": "index" } ], "outputs": [ { "type": "address", "name": "" } ] }, { "type": "function", "name": "getRoleMemberCount", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "getSchainHashesByAddress", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "address", "name": "from" } ], "outputs": [ { "type": "bytes32[]", "name": "" } ] }, { "type": "function", "name": "getSchainHashesForNode", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "uint256", "name": "nodeIndex" } ], "outputs": [ { "type": "bytes32[]", "name": "" } ] }, { "type": "function", "name": "getSchainListSize", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "address", "name": "from" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "getSchainName", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "schainHash" } ], "outputs": [ { "type": "string", "name": "" } ] }, { "type": "function", "name": "getSchainOriginator", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "schainHash" } ], "outputs": [ { "type": "address", "name": "" } ] }, { "type": "function", "name": "getSchainOwner", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "schainHash" } ], "outputs": [ { "type": "address", "name": "" } ] }, { "type": "function", "name": "getSchainType", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "uint256", "name": "typeOfSchain" } ], "outputs": [ { "type": "uint8", "name": "" }, { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "getSchains", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "bytes32[]", "name": "" } ] }, { "type": "function", "name": "getSchainsPartOfNode", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "schainHash" } ], "outputs": [ { "type": "uint8", "name": "" } ] }, { "type": "function", "name": "grantRole", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [] }, { "type": "function", "name": "hasRole", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [ { "type": "bool", "name": "" } ] }, { "type": "function", "name": "holesForNodes", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "uint256", "name": "" }, { "type": "uint256", "name": "" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "holesForSchains", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "" }, { "type": "uint256", "name": "" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "initialize", "constant": false, "payable": false, "inputs": [ { "type": "address", "name": "newContractsAddress" } ], "outputs": [] }, { "type": "function", "name": "initializeSchain", "constant": false, "payable": false, "inputs": [ { "type": "string", "name": "name" }, { "type": "address", "name": "from" }, { "type": "address", "name": "originator" }, { "type": "uint256", "name": "lifetime" }, { "type": "uint256", "name": "deposit" } ], "outputs": [] }, { "type": "function", "name": "isAnyFreeNode", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "schainHash" } ], "outputs": [ { "type": "bool", "name": "" } ] }, { "type": "function", "name": "isNodeAddressesInGroup", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "schainHash" }, { "type": "address", "name": "sender" } ], "outputs": [ { "type": "bool", "name": "" } ] }, { "type": "function", "name": "isOwnerAddress", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "address", "name": "from" }, { "type": "bytes32", "name": "schainHash" } ], "outputs": [ { "type": "bool", "name": "" } ] }, { "type": "function", "name": "isSchainActive", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "" } ], "outputs": [ { "type": "bool", "name": "" } ] }, { "type": "function", "name": "isSchainExist", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "schainHash" } ], "outputs": [ { "type": "bool", "name": "" } ] }, { "type": "function", "name": "isSchainNameAvailable", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "string", "name": "name" } ], "outputs": [ { "type": "bool", "name": "" } ] }, { "type": "function", "name": "isTimeExpired", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "schainHash" } ], "outputs": [ { "type": "bool", "name": "" } ] }, { "type": "function", "name": "makeSchainNodesInvisible", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "schainHash" } ], "outputs": [] }, { "type": "function", "name": "makeSchainNodesVisible", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "schainHash" } ], "outputs": [] }, { "type": "function", "name": "newGeneration", "constant": false, "payable": false, "inputs": [], "outputs": [] }, { "type": "function", "name": "numberOfSchainTypes", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "numberOfSchains", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "uint64", "name": "" } ] }, { "type": "function", "name": "placeOfSchainOnNode", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "" }, { "type": "uint256", "name": "" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "pruneNode", "constant": false, "payable": false, "inputs": [ { "type": "uint256", "name": "nodeIndex" } ], "outputs": [] }, { "type": "function", "name": "removeAllNodesFromSchainExceptions", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "schainHash" } ], "outputs": [] }, { "type": "function", "name": "removeHolesForSchain", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "schainHash" } ], "outputs": [] }, { "type": "function", "name": "removeNodeFromAllExceptionSchains", "constant": false, "payable": false, "inputs": [ { "type": "uint256", "name": "nodeIndex" } ], "outputs": [] }, { "type": "function", "name": "removeNodeFromExceptions", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "schainHash" }, { "type": "uint256", "name": "nodeIndex" } ], "outputs": [] }, { "type": "function", "name": "removeNodeFromSchain", "constant": false, "payable": false, "inputs": [ { "type": "uint256", "name": "nodeIndex" }, { "type": "bytes32", "name": "schainHash" } ], "outputs": [] }, { "type": "function", "name": "removeSchain", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "schainHash" }, { "type": "address", "name": "from" } ], "outputs": [] }, { "type": "function", "name": "removeSchainForNode", "constant": false, "payable": false, "inputs": [ { "type": "uint256", "name": "nodeIndex" }, { "type": "uint256", "name": "schainIndex" } ], "outputs": [] }, { "type": "function", "name": "removeSchainType", "constant": false, "payable": false, "inputs": [ { "type": "uint256", "name": "typeOfSchain" } ], "outputs": [] }, { "type": "function", "name": "renounceRole", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [] }, { "type": "function", "name": "revokeRole", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [] }, { "type": "function", "name": "schainIndexes", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "address", "name": "" }, { "type": "uint256", "name": "" } ], "outputs": [ { "type": "bytes32", "name": "" } ] }, { "type": "function", "name": "schainTypes", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "uint256", "name": "" } ], "outputs": [ { "type": "uint8", "name": "partOfNode" }, { "type": "uint256", "name": "numberOfNodes" } ] }, { "type": "function", "name": "schains", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "" } ], "outputs": [ { "type": "string", "name": "name" }, { "type": "address", "name": "owner" }, { "type": "uint256", "name": "indexInOwnerList" }, { "type": "uint8", "name": "partOfNode" }, { "type": "uint256", "name": "lifetime" }, { "type": "uint256", "name": "startDate" }, { "type": "uint256", "name": "startBlock" }, { "type": "uint256", "name": "deposit" }, { "type": "uint64", "name": "index" }, { "type": "uint256", "name": "generation" }, { "type": "address", "name": "originator" } ] }, { "type": "function", "name": "schainsAtSystem", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "uint256", "name": "" } ], "outputs": [ { "type": "bytes32", "name": "" } ] }, { "type": "function", "name": "schainsForNodes", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "uint256", "name": "" }, { "type": "uint256", "name": "" } ], "outputs": [ { "type": "bytes32", "name": "" } ] }, { "type": "function", "name": "schainsGroups", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "" }, { "type": "uint256", "name": "" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "setException", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "schainHash" }, { "type": "uint256", "name": "nodeIndex" } ], "outputs": [] }, { "type": "function", "name": "setNodeInGroup", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "schainHash" }, { "type": "uint256", "name": "nodeIndex" } ], "outputs": [] }, { "type": "function", "name": "setNumberOfSchainTypes", "constant": false, "payable": false, "inputs": [ { "type": "uint256", "name": "newNumberOfSchainTypes" } ], "outputs": [] }, { "type": "function", "name": "sumOfSchainsResources", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "usedSchainNames", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "" } ], "outputs": [ { "type": "bool", "name": "" } ] } ], "schains_address": "0x4f577480697f23b20b0Bd74766e127f5dA345B52", "schains_abi": [ { "type": "event", "anonymous": false, "name": "Initialized", "inputs": [ { "type": "uint8", "name": "version", "indexed": false } ] }, { "type": "event", "anonymous": false, "name": "NodeAdded", "inputs": [ { "type": "bytes32", "name": "schainHash", "indexed": false }, { "type": "uint256", "name": "newNode", "indexed": false } ] }, { "type": "event", "anonymous": false, "name": "NodeRotated", "inputs": [ { "type": "bytes32", "name": "schainHash", "indexed": false }, { "type": "uint256", "name": "oldNode", "indexed": false }, { "type": "uint256", "name": "newNode", "indexed": false } ] }, { "type": "event", "anonymous": false, "name": "RoleGranted", "inputs": [ { "type": "bytes32", "name": "role", "indexed": true }, { "type": "address", "name": "account", "indexed": true }, { "type": "address", "name": "sender", "indexed": true } ] }, { "type": "event", "anonymous": false, "name": "RoleRevoked", "inputs": [ { "type": "bytes32", "name": "role", "indexed": true }, { "type": "address", "name": "account", "indexed": true }, { "type": "address", "name": "sender", "indexed": true } ] }, { "type": "event", "anonymous": false, "name": "SchainCreated", "inputs": [ { "type": "string", "name": "name", "indexed": false }, { "type": "address", "name": "owner", "indexed": false }, { "type": "uint256", "name": "partOfNode", "indexed": false }, { "type": "uint256", "name": "lifetime", "indexed": false }, { "type": "uint256", "name": "numberOfNodes", "indexed": false }, { "type": "uint256", "name": "deposit", "indexed": false }, { "type": "uint16", "name": "nonce", "indexed": false }, { "type": "bytes32", "name": "schainHash", "indexed": false } ] }, { "type": "event", "anonymous": false, "name": "SchainDeleted", "inputs": [ { "type": "address", "name": "owner", "indexed": false }, { "type": "string", "name": "name", "indexed": false }, { "type": "bytes32", "name": "schainHash", "indexed": true } ] }, { "type": "event", "anonymous": false, "name": "SchainNodes", "inputs": [ { "type": "string", "name": "name", "indexed": false }, { "type": "bytes32", "name": "schainHash", "indexed": false }, { "type": "uint256[]", "name": "nodesInGroup", "indexed": false } ] }, { "type": "function", "name": "DEFAULT_ADMIN_ROLE", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "bytes32", "name": "" } ] }, { "type": "function", "name": "SCHAIN_CREATOR_ROLE", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "bytes32", "name": "" } ] }, { "type": "function", "name": "addSchain", "constant": false, "payable": false, "inputs": [ { "type": "address", "name": "from" }, { "type": "uint256", "name": "deposit" }, { "type": "bytes", "name": "data" } ], "outputs": [] }, { "type": "function", "name": "addSchainByFoundation", "constant": false, "stateMutability": "payable", "payable": true, "inputs": [ { "type": "uint256", "name": "lifetime" }, { "type": "uint8", "name": "typeOfSchain" }, { "type": "uint16", "name": "nonce" }, { "type": "string", "name": "name" }, { "type": "address", "name": "schainOwner" }, { "type": "address", "name": "schainOriginator" }, { "type": "tuple[]", "name": "options", "components": [ { "type": "string", "name": "name" }, { "type": "bytes", "name": "value" } ] } ], "outputs": [] }, { "type": "function", "name": "contractManager", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "address", "name": "" } ] }, { "type": "function", "name": "deleteSchain", "constant": false, "payable": false, "inputs": [ { "type": "address", "name": "from" }, { "type": "string", "name": "name" } ], "outputs": [] }, { "type": "function", "name": "deleteSchainByRoot", "constant": false, "payable": false, "inputs": [ { "type": "string", "name": "name" } ], "outputs": [] }, { "type": "function", "name": "getOption", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "schainHash" }, { "type": "string", "name": "optionName" } ], "outputs": [ { "type": "bytes", "name": "" } ] }, { "type": "function", "name": "getOptions", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "schainHash" } ], "outputs": [ { "type": "tuple[]", "components": [ { "type": "string", "name": "name" }, { "type": "bytes", "name": "value" } ], "name": "" } ] }, { "type": "function", "name": "getRoleAdmin", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" } ], "outputs": [ { "type": "bytes32", "name": "" } ] }, { "type": "function", "name": "getRoleMember", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "uint256", "name": "index" } ], "outputs": [ { "type": "address", "name": "" } ] }, { "type": "function", "name": "getRoleMemberCount", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "getSchainPrice", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "uint256", "name": "typeOfSchain" }, { "type": "uint256", "name": "lifetime" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "grantRole", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [] }, { "type": "function", "name": "hasRole", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [ { "type": "bool", "name": "" } ] }, { "type": "function", "name": "initialize", "constant": false, "payable": false, "inputs": [ { "type": "address", "name": "newContractsAddress" } ], "outputs": [] }, { "type": "function", "name": "renounceRole", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [] }, { "type": "function", "name": "restartSchainCreation", "constant": false, "payable": false, "inputs": [ { "type": "string", "name": "name" } ], "outputs": [] }, { "type": "function", "name": "revokeRole", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [] }, { "type": "function", "name": "verifySchainSignature", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "uint256", "name": "signatureA" }, { "type": "uint256", "name": "signatureB" }, { "type": "bytes32", "name": "hash" }, { "type": "uint256", "name": "counter" }, { "type": "uint256", "name": "hashA" }, { "type": "uint256", "name": "hashB" }, { "type": "string", "name": "schainName" } ], "outputs": [ { "type": "bool", "name": "" } ] } ], "decryption_address": "0x70C3910404C60407f6268D6F47d6538B63871FdB", "decryption_abi": [ { "type": "function", "name": "decrypt", "constant": true, "stateMutability": "pure", "payable": false, "inputs": [ { "type": "bytes32", "name": "cipherText" }, { "type": "bytes32", "name": "key" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "encrypt", "constant": true, "stateMutability": "pure", "payable": false, "inputs": [ { "type": "uint256", "name": "secretNumber" }, { "type": "bytes32", "name": "key" } ], "outputs": [ { "type": "bytes32", "name": "" } ] } ], "e_c_d_h_address": "0xCbE21723198C0e329aC08a0c6183f952BbDc67BD", "e_c_d_h_abi": [ { "type": "function", "name": "deriveKey", "constant": true, "stateMutability": "pure", "payable": false, "inputs": [ { "type": "uint256", "name": "privKey" }, { "type": "uint256", "name": "pubX" }, { "type": "uint256", "name": "pubY" } ], "outputs": [ { "type": "uint256", "name": "qx" }, { "type": "uint256", "name": "qy" } ] }, { "type": "function", "name": "ecAdd", "constant": true, "stateMutability": "pure", "payable": false, "inputs": [ { "type": "uint256", "name": "x1" }, { "type": "uint256", "name": "y1" }, { "type": "uint256", "name": "z1" }, { "type": "uint256", "name": "x2" }, { "type": "uint256", "name": "y2" }, { "type": "uint256", "name": "z2" } ], "outputs": [ { "type": "uint256", "name": "x3" }, { "type": "uint256", "name": "y3" }, { "type": "uint256", "name": "z3" } ] }, { "type": "function", "name": "ecDouble", "constant": true, "stateMutability": "pure", "payable": false, "inputs": [ { "type": "uint256", "name": "x1" }, { "type": "uint256", "name": "y1" }, { "type": "uint256", "name": "z1" } ], "outputs": [ { "type": "uint256", "name": "x3" }, { "type": "uint256", "name": "y3" }, { "type": "uint256", "name": "z3" } ] }, { "type": "function", "name": "ecMul", "constant": true, "stateMutability": "pure", "payable": false, "inputs": [ { "type": "uint256", "name": "d" }, { "type": "uint256", "name": "x1" }, { "type": "uint256", "name": "y1" }, { "type": "uint256", "name": "z1" } ], "outputs": [ { "type": "uint256", "name": "x3" }, { "type": "uint256", "name": "y3" }, { "type": "uint256", "name": "z3" } ] }, { "type": "function", "name": "inverse", "constant": true, "stateMutability": "pure", "payable": false, "inputs": [ { "type": "uint256", "name": "a" } ], "outputs": [ { "type": "uint256", "name": "invA" } ] }, { "type": "function", "name": "jAdd", "constant": true, "stateMutability": "pure", "payable": false, "inputs": [ { "type": "uint256", "name": "x1" }, { "type": "uint256", "name": "z1" }, { "type": "uint256", "name": "x2" }, { "type": "uint256", "name": "z2" } ], "outputs": [ { "type": "uint256", "name": "x3" }, { "type": "uint256", "name": "z3" } ] }, { "type": "function", "name": "jDiv", "constant": true, "stateMutability": "pure", "payable": false, "inputs": [ { "type": "uint256", "name": "x1" }, { "type": "uint256", "name": "z1" }, { "type": "uint256", "name": "x2" }, { "type": "uint256", "name": "z2" } ], "outputs": [ { "type": "uint256", "name": "x3" }, { "type": "uint256", "name": "z3" } ] }, { "type": "function", "name": "jMul", "constant": true, "stateMutability": "pure", "payable": false, "inputs": [ { "type": "uint256", "name": "x1" }, { "type": "uint256", "name": "z1" }, { "type": "uint256", "name": "x2" }, { "type": "uint256", "name": "z2" } ], "outputs": [ { "type": "uint256", "name": "x3" }, { "type": "uint256", "name": "z3" } ] }, { "type": "function", "name": "jSub", "constant": true, "stateMutability": "pure", "payable": false, "inputs": [ { "type": "uint256", "name": "x1" }, { "type": "uint256", "name": "z1" }, { "type": "uint256", "name": "x2" }, { "type": "uint256", "name": "z2" } ], "outputs": [ { "type": "uint256", "name": "x3" }, { "type": "uint256", "name": "z3" } ] }, { "type": "function", "name": "publicKey", "constant": true, "stateMutability": "pure", "payable": false, "inputs": [ { "type": "uint256", "name": "privKey" } ], "outputs": [ { "type": "uint256", "name": "qx" }, { "type": "uint256", "name": "qy" } ] } ], "key_storage_address": "0x0985144A53EBD2fB8e119f6dDC76726f40C98135", "key_storage_abi": [ { "type": "event", "anonymous": false, "name": "Initialized", "inputs": [ { "type": "uint8", "name": "version", "indexed": false } ] }, { "type": "event", "anonymous": false, "name": "RoleGranted", "inputs": [ { "type": "bytes32", "name": "role", "indexed": true }, { "type": "address", "name": "account", "indexed": true }, { "type": "address", "name": "sender", "indexed": true } ] }, { "type": "event", "anonymous": false, "name": "RoleRevoked", "inputs": [ { "type": "bytes32", "name": "role", "indexed": true }, { "type": "address", "name": "account", "indexed": true }, { "type": "address", "name": "sender", "indexed": true } ] }, { "type": "function", "name": "DEFAULT_ADMIN_ROLE", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "bytes32", "name": "" } ] }, { "type": "function", "name": "adding", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "schainHash" }, { "type": "tuple", "name": "value", "components": [ { "type": "tuple", "name": "x", "components": [ { "type": "uint256", "name": "a" }, { "type": "uint256", "name": "b" } ] }, { "type": "tuple", "name": "y", "components": [ { "type": "uint256", "name": "a" }, { "type": "uint256", "name": "b" } ] } ] } ], "outputs": [] }, { "type": "function", "name": "contractManager", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "address", "name": "" } ] }, { "type": "function", "name": "deleteKey", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "schainHash" } ], "outputs": [] }, { "type": "function", "name": "finalizePublicKey", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "schainHash" } ], "outputs": [] }, { "type": "function", "name": "getAllPreviousPublicKeys", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "schainHash" } ], "outputs": [ { "type": "tuple[]", "components": [ { "type": "tuple", "name": "x", "components": [ { "type": "uint256", "name": "a" }, { "type": "uint256", "name": "b" } ] }, { "type": "tuple", "name": "y", "components": [ { "type": "uint256", "name": "a" }, { "type": "uint256", "name": "b" } ] } ], "name": "" } ] }, { "type": "function", "name": "getCommonPublicKey", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "schainHash" } ], "outputs": [ { "type": "tuple", "components": [ { "type": "tuple", "name": "x", "components": [ { "type": "uint256", "name": "a" }, { "type": "uint256", "name": "b" } ] }, { "type": "tuple", "name": "y", "components": [ { "type": "uint256", "name": "a" }, { "type": "uint256", "name": "b" } ] } ], "name": "" } ] }, { "type": "function", "name": "getPreviousPublicKey", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "schainHash" } ], "outputs": [ { "type": "tuple", "components": [ { "type": "tuple", "name": "x", "components": [ { "type": "uint256", "name": "a" }, { "type": "uint256", "name": "b" } ] }, { "type": "tuple", "name": "y", "components": [ { "type": "uint256", "name": "a" }, { "type": "uint256", "name": "b" } ] } ], "name": "" } ] }, { "type": "function", "name": "getRoleAdmin", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" } ], "outputs": [ { "type": "bytes32", "name": "" } ] }, { "type": "function", "name": "getRoleMember", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "uint256", "name": "index" } ], "outputs": [ { "type": "address", "name": "" } ] }, { "type": "function", "name": "getRoleMemberCount", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "grantRole", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [] }, { "type": "function", "name": "hasRole", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [ { "type": "bool", "name": "" } ] }, { "type": "function", "name": "initPublicKeyInProgress", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "schainHash" } ], "outputs": [] }, { "type": "function", "name": "initialize", "constant": false, "payable": false, "inputs": [ { "type": "address", "name": "contractsAddress" } ], "outputs": [] }, { "type": "function", "name": "renounceRole", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [] }, { "type": "function", "name": "revokeRole", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [] } ], "skale_d_k_g_address": "0x020C35d239E3FFCEE1e64e41853295b512C2C7f0", "skale_d_k_g_abi": [ { "type": "event", "anonymous": false, "name": "AllDataReceived", "inputs": [ { "type": "bytes32", "name": "schainHash", "indexed": true }, { "type": "uint256", "name": "nodeIndex", "indexed": false } ] }, { "type": "event", "anonymous": false, "name": "BadGuy", "inputs": [ { "type": "uint256", "name": "nodeIndex", "indexed": false } ] }, { "type": "event", "anonymous": false, "name": "BroadcastAndKeyShare", "inputs": [ { "type": "bytes32", "name": "schainHash", "indexed": true }, { "type": "uint256", "name": "fromNode", "indexed": true }, { "type": "tuple[]", "name": "verificationVector", "indexed": false, "components": [ { "type": "tuple", "name": "x", "components": [ { "type": "uint256", "name": "a" }, { "type": "uint256", "name": "b" } ] }, { "type": "tuple", "name": "y", "components": [ { "type": "uint256", "name": "a" }, { "type": "uint256", "name": "b" } ] } ] }, { "type": "tuple[]", "name": "secretKeyContribution", "indexed": false, "components": [ { "type": "bytes32[2]", "name": "publicKey" }, { "type": "bytes32", "name": "share" } ] } ] }, { "type": "event", "anonymous": false, "name": "ChannelClosed", "inputs": [ { "type": "bytes32", "name": "schainHash", "indexed": false } ] }, { "type": "event", "anonymous": false, "name": "ChannelOpened", "inputs": [ { "type": "bytes32", "name": "schainHash", "indexed": false } ] }, { "type": "event", "anonymous": false, "name": "ComplaintError", "inputs": [ { "type": "string", "name": "error", "indexed": false } ] }, { "type": "event", "anonymous": false, "name": "ComplaintSent", "inputs": [ { "type": "bytes32", "name": "schainHash", "indexed": true }, { "type": "uint256", "name": "fromNodeIndex", "indexed": true }, { "type": "uint256", "name": "toNodeIndex", "indexed": true } ] }, { "type": "event", "anonymous": false, "name": "FailedDKG", "inputs": [ { "type": "bytes32", "name": "schainHash", "indexed": true } ] }, { "type": "event", "anonymous": false, "name": "Initialized", "inputs": [ { "type": "uint8", "name": "version", "indexed": false } ] }, { "type": "event", "anonymous": false, "name": "NewGuy", "inputs": [ { "type": "uint256", "name": "nodeIndex", "indexed": false } ] }, { "type": "event", "anonymous": false, "name": "RoleGranted", "inputs": [ { "type": "bytes32", "name": "role", "indexed": true }, { "type": "address", "name": "account", "indexed": true }, { "type": "address", "name": "sender", "indexed": true } ] }, { "type": "event", "anonymous": false, "name": "RoleRevoked", "inputs": [ { "type": "bytes32", "name": "role", "indexed": true }, { "type": "address", "name": "account", "indexed": true }, { "type": "address", "name": "sender", "indexed": true } ] }, { "type": "event", "anonymous": false, "name": "SuccessfulDKG", "inputs": [ { "type": "bytes32", "name": "schainHash", "indexed": true } ] }, { "type": "function", "name": "DEFAULT_ADMIN_ROLE", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "bytes32", "name": "" } ] }, { "type": "function", "name": "alright", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "schainHash" }, { "type": "uint256", "name": "fromNodeIndex" } ], "outputs": [] }, { "type": "function", "name": "broadcast", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "schainHash" }, { "type": "uint256", "name": "nodeIndex" }, { "type": "tuple[]", "name": "verificationVector", "components": [ { "type": "tuple", "name": "x", "components": [ { "type": "uint256", "name": "a" }, { "type": "uint256", "name": "b" } ] }, { "type": "tuple", "name": "y", "components": [ { "type": "uint256", "name": "a" }, { "type": "uint256", "name": "b" } ] } ] }, { "type": "tuple[]", "name": "secretKeyContribution", "components": [ { "type": "bytes32[2]", "name": "publicKey" }, { "type": "bytes32", "name": "share" } ] } ], "outputs": [] }, { "type": "function", "name": "channels", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "" } ], "outputs": [ { "type": "bool", "name": "active" }, { "type": "uint256", "name": "n" }, { "type": "uint256", "name": "startedBlockTimestamp" }, { "type": "uint256", "name": "startedBlock" } ] }, { "type": "function", "name": "checkAndReturnIndexInGroup", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "schainHash" }, { "type": "uint256", "name": "nodeIndex" }, { "type": "bool", "name": "revertCheck" } ], "outputs": [ { "type": "uint256", "name": "" }, { "type": "bool", "name": "" } ] }, { "type": "function", "name": "complaint", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "schainHash" }, { "type": "uint256", "name": "fromNodeIndex" }, { "type": "uint256", "name": "toNodeIndex" } ], "outputs": [] }, { "type": "function", "name": "complaintBadData", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "schainHash" }, { "type": "uint256", "name": "fromNodeIndex" }, { "type": "uint256", "name": "toNodeIndex" } ], "outputs": [] }, { "type": "function", "name": "complaints", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "" } ], "outputs": [ { "type": "uint256", "name": "nodeToComplaint" }, { "type": "uint256", "name": "fromNodeToComplaint" }, { "type": "uint256", "name": "startComplaintBlockTimestamp" }, { "type": "bool", "name": "isResponse" }, { "type": "bytes32", "name": "keyShare" }, { "type": "tuple", "name": "sumOfVerVec", "components": [ { "type": "tuple", "name": "x", "components": [ { "type": "uint256", "name": "a" }, { "type": "uint256", "name": "b" } ] }, { "type": "tuple", "name": "y", "components": [ { "type": "uint256", "name": "a" }, { "type": "uint256", "name": "b" } ] } ] } ] }, { "type": "function", "name": "contractManager", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "address", "name": "" } ] }, { "type": "function", "name": "deleteChannel", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "schainHash" } ], "outputs": [] }, { "type": "function", "name": "dkgProcess", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "" } ], "outputs": [ { "type": "uint256", "name": "numberOfBroadcasted" }, { "type": "uint256", "name": "numberOfCompleted" } ] }, { "type": "function", "name": "finalizeSlashing", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "schainHash" }, { "type": "uint256", "name": "badNode" } ], "outputs": [] }, { "type": "function", "name": "getAlrightStartedTime", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "schainHash" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "getChannelStartedBlock", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "schainHash" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "getChannelStartedTime", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "schainHash" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "getComplaintData", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "schainHash" } ], "outputs": [ { "type": "uint256", "name": "" }, { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "getComplaintStartedTime", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "schainHash" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "getNumberOfBroadcasted", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "schainHash" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "getNumberOfCompleted", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "schainHash" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "getRoleAdmin", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" } ], "outputs": [ { "type": "bytes32", "name": "" } ] }, { "type": "function", "name": "getRoleMember", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "uint256", "name": "index" } ], "outputs": [ { "type": "address", "name": "" } ] }, { "type": "function", "name": "getRoleMemberCount", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "getTimeOfLastSuccessfulDKG", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "schainHash" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "grantRole", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [] }, { "type": "function", "name": "hasRole", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [ { "type": "bool", "name": "" } ] }, { "type": "function", "name": "hashData", "constant": true, "stateMutability": "pure", "payable": false, "inputs": [ { "type": "tuple[]", "name": "secretKeyContribution", "components": [ { "type": "bytes32[2]", "name": "publicKey" }, { "type": "bytes32", "name": "share" } ] }, { "type": "tuple[]", "name": "verificationVector", "components": [ { "type": "tuple", "name": "x", "components": [ { "type": "uint256", "name": "a" }, { "type": "uint256", "name": "b" } ] }, { "type": "tuple", "name": "y", "components": [ { "type": "uint256", "name": "a" }, { "type": "uint256", "name": "b" } ] } ] } ], "outputs": [ { "type": "bytes32", "name": "" } ] }, { "type": "function", "name": "hashedData", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "" }, { "type": "uint256", "name": "" } ], "outputs": [ { "type": "bytes32", "name": "" } ] }, { "type": "function", "name": "initialize", "constant": false, "payable": false, "inputs": [ { "type": "address", "name": "contractsAddress" } ], "outputs": [] }, { "type": "function", "name": "isAllDataReceived", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "schainHash" }, { "type": "uint256", "name": "nodeIndex" } ], "outputs": [ { "type": "bool", "name": "" } ] }, { "type": "function", "name": "isAlrightPossible", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "schainHash" }, { "type": "uint256", "name": "nodeIndex" } ], "outputs": [ { "type": "bool", "name": "" } ] }, { "type": "function", "name": "isBroadcastPossible", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "schainHash" }, { "type": "uint256", "name": "nodeIndex" } ], "outputs": [ { "type": "bool", "name": "" } ] }, { "type": "function", "name": "isChannelOpened", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "schainHash" } ], "outputs": [ { "type": "bool", "name": "" } ] }, { "type": "function", "name": "isComplaintPossible", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "schainHash" }, { "type": "uint256", "name": "fromNodeIndex" }, { "type": "uint256", "name": "toNodeIndex" } ], "outputs": [ { "type": "bool", "name": "" } ] }, { "type": "function", "name": "isEveryoneBroadcasted", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "schainHash" } ], "outputs": [ { "type": "bool", "name": "" } ] }, { "type": "function", "name": "isLastDKGSuccessful", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "schainHash" } ], "outputs": [ { "type": "bool", "name": "" } ] }, { "type": "function", "name": "isNodeBroadcasted", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "schainHash" }, { "type": "uint256", "name": "nodeIndex" } ], "outputs": [ { "type": "bool", "name": "" } ] }, { "type": "function", "name": "isPreResponsePossible", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "schainHash" }, { "type": "uint256", "name": "nodeIndex" } ], "outputs": [ { "type": "bool", "name": "" } ] }, { "type": "function", "name": "isResponsePossible", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "schainHash" }, { "type": "uint256", "name": "nodeIndex" } ], "outputs": [ { "type": "bool", "name": "" } ] }, { "type": "function", "name": "lastSuccessfulDKG", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "openChannel", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "schainHash" } ], "outputs": [] }, { "type": "function", "name": "preResponse", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "schainId" }, { "type": "uint256", "name": "fromNodeIndex" }, { "type": "tuple[]", "name": "verificationVector", "components": [ { "type": "tuple", "name": "x", "components": [ { "type": "uint256", "name": "a" }, { "type": "uint256", "name": "b" } ] }, { "type": "tuple", "name": "y", "components": [ { "type": "uint256", "name": "a" }, { "type": "uint256", "name": "b" } ] } ] }, { "type": "tuple[]", "name": "verificationVectorMultiplication", "components": [ { "type": "tuple", "name": "x", "components": [ { "type": "uint256", "name": "a" }, { "type": "uint256", "name": "b" } ] }, { "type": "tuple", "name": "y", "components": [ { "type": "uint256", "name": "a" }, { "type": "uint256", "name": "b" } ] } ] }, { "type": "tuple[]", "name": "secretKeyContribution", "components": [ { "type": "bytes32[2]", "name": "publicKey" }, { "type": "bytes32", "name": "share" } ] } ], "outputs": [] }, { "type": "function", "name": "renounceRole", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [] }, { "type": "function", "name": "response", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "schainHash" }, { "type": "uint256", "name": "fromNodeIndex" }, { "type": "uint256", "name": "secretNumber" }, { "type": "tuple", "name": "multipliedShare", "components": [ { "type": "tuple", "name": "x", "components": [ { "type": "uint256", "name": "a" }, { "type": "uint256", "name": "b" } ] }, { "type": "tuple", "name": "y", "components": [ { "type": "uint256", "name": "a" }, { "type": "uint256", "name": "b" } ] } ] } ], "outputs": [] }, { "type": "function", "name": "revokeRole", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [] }, { "type": "function", "name": "setBadNode", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "schainHash" }, { "type": "uint256", "name": "nodeIndex" } ], "outputs": [] }, { "type": "function", "name": "setStartAlrightTimestamp", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "schainHash" } ], "outputs": [] }, { "type": "function", "name": "startAlrightTimestamp", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "" } ], "outputs": [ { "type": "uint256", "name": "" } ] } ], "skale_verifier_address": "0xebA4c92920c67F46DC8b04ab7BB972C2A9EB8A98", "skale_verifier_abi": [ { "type": "event", "anonymous": false, "name": "Initialized", "inputs": [ { "type": "uint8", "name": "version", "indexed": false } ] }, { "type": "event", "anonymous": false, "name": "RoleGranted", "inputs": [ { "type": "bytes32", "name": "role", "indexed": true }, { "type": "address", "name": "account", "indexed": true }, { "type": "address", "name": "sender", "indexed": true } ] }, { "type": "event", "anonymous": false, "name": "RoleRevoked", "inputs": [ { "type": "bytes32", "name": "role", "indexed": true }, { "type": "address", "name": "account", "indexed": true }, { "type": "address", "name": "sender", "indexed": true } ] }, { "type": "function", "name": "DEFAULT_ADMIN_ROLE", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "bytes32", "name": "" } ] }, { "type": "function", "name": "contractManager", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "address", "name": "" } ] }, { "type": "function", "name": "getRoleAdmin", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" } ], "outputs": [ { "type": "bytes32", "name": "" } ] }, { "type": "function", "name": "getRoleMember", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "uint256", "name": "index" } ], "outputs": [ { "type": "address", "name": "" } ] }, { "type": "function", "name": "getRoleMemberCount", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "grantRole", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [] }, { "type": "function", "name": "hasRole", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [ { "type": "bool", "name": "" } ] }, { "type": "function", "name": "initialize", "constant": false, "payable": false, "inputs": [ { "type": "address", "name": "newContractsAddress" } ], "outputs": [] }, { "type": "function", "name": "renounceRole", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [] }, { "type": "function", "name": "revokeRole", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [] }, { "type": "function", "name": "verify", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "tuple", "name": "signature", "components": [ { "type": "uint256", "name": "a" }, { "type": "uint256", "name": "b" } ] }, { "type": "bytes32", "name": "hash" }, { "type": "uint256", "name": "counter" }, { "type": "uint256", "name": "hashA" }, { "type": "uint256", "name": "hashB" }, { "type": "tuple", "name": "publicKey", "components": [ { "type": "tuple", "name": "x", "components": [ { "type": "uint256", "name": "a" }, { "type": "uint256", "name": "b" } ] }, { "type": "tuple", "name": "y", "components": [ { "type": "uint256", "name": "a" }, { "type": "uint256", "name": "b" } ] } ] } ], "outputs": [ { "type": "bool", "name": "" } ] } ], "skale_manager_address": "0xD82a0608F062250C1693219beA1C2Aa868079efA", "skale_manager_abi": [ { "type": "event", "anonymous": false, "name": "BountyReceived", "inputs": [ { "type": "uint256", "name": "nodeIndex", "indexed": true }, { "type": "address", "name": "owner", "indexed": false }, { "type": "uint256", "name": "averageDowntime", "indexed": false }, { "type": "uint256", "name": "averageLatency", "indexed": false }, { "type": "uint256", "name": "bounty", "indexed": false }, { "type": "uint256", "name": "previousBlockEvent", "indexed": false } ] }, { "type": "event", "anonymous": false, "name": "Initialized", "inputs": [ { "type": "uint8", "name": "version", "indexed": false } ] }, { "type": "event", "anonymous": false, "name": "RoleGranted", "inputs": [ { "type": "bytes32", "name": "role", "indexed": true }, { "type": "address", "name": "account", "indexed": true }, { "type": "address", "name": "sender", "indexed": true } ] }, { "type": "event", "anonymous": false, "name": "RoleRevoked", "inputs": [ { "type": "bytes32", "name": "role", "indexed": true }, { "type": "address", "name": "account", "indexed": true }, { "type": "address", "name": "sender", "indexed": true } ] }, { "type": "event", "anonymous": false, "name": "VersionUpdated", "inputs": [ { "type": "string", "name": "oldVersion", "indexed": false }, { "type": "string", "name": "newVersion", "indexed": false } ] }, { "type": "function", "name": "ADMIN_ROLE", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "bytes32", "name": "" } ] }, { "type": "function", "name": "CALL_PRICE", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "DEFAULT_ADMIN_ROLE", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "bytes32", "name": "" } ] }, { "type": "function", "name": "HEADER_COSTS", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "SCHAIN_REMOVAL_ROLE", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "bytes32", "name": "" } ] }, { "type": "function", "name": "contractManager", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "address", "name": "" } ] }, { "type": "function", "name": "createNode", "constant": false, "payable": false, "inputs": [ { "type": "uint16", "name": "port" }, { "type": "uint16", "name": "nonce" }, { "type": "bytes4", "name": "ip" }, { "type": "bytes4", "name": "publicIp" }, { "type": "bytes32[2]", "name": "publicKey" }, { "type": "string", "name": "name" }, { "type": "string", "name": "domainName" } ], "outputs": [] }, { "type": "function", "name": "deleteSchain", "constant": false, "payable": false, "inputs": [ { "type": "string", "name": "name" } ], "outputs": [] }, { "type": "function", "name": "deleteSchainByRoot", "constant": false, "payable": false, "inputs": [ { "type": "string", "name": "name" } ], "outputs": [] }, { "type": "function", "name": "getBounty", "constant": false, "payable": false, "inputs": [ { "type": "uint256", "name": "nodeIndex" } ], "outputs": [] }, { "type": "function", "name": "getRoleAdmin", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" } ], "outputs": [ { "type": "bytes32", "name": "" } ] }, { "type": "function", "name": "getRoleMember", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "uint256", "name": "index" } ], "outputs": [ { "type": "address", "name": "" } ] }, { "type": "function", "name": "getRoleMemberCount", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "grantRole", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [] }, { "type": "function", "name": "hasRole", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [ { "type": "bool", "name": "" } ] }, { "type": "function", "name": "initialize", "constant": false, "payable": false, "inputs": [ { "type": "address", "name": "newContractsAddress" } ], "outputs": [] }, { "type": "function", "name": "nodeExit", "constant": false, "payable": false, "inputs": [ { "type": "uint256", "name": "nodeIndex" } ], "outputs": [] }, { "type": "function", "name": "renounceRole", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [] }, { "type": "function", "name": "revokeRole", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [] }, { "type": "function", "name": "setVersion", "constant": false, "payable": false, "inputs": [ { "type": "string", "name": "newVersion" } ], "outputs": [] }, { "type": "function", "name": "tokensReceived", "constant": false, "payable": false, "inputs": [ { "type": "address", "name": "" }, { "type": "address", "name": "from" }, { "type": "address", "name": "to" }, { "type": "uint256", "name": "value" }, { "type": "bytes", "name": "userData" }, { "type": "bytes", "name": "" } ], "outputs": [] }, { "type": "function", "name": "version", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "string", "name": "" } ] } ], "pricing_address": "0x272EF9FEA6f3a22cE0D4102efeC11707873E2D2F", "pricing_abi": [ { "type": "event", "anonymous": false, "name": "Initialized", "inputs": [ { "type": "uint8", "name": "version", "indexed": false } ] }, { "type": "event", "anonymous": false, "name": "RoleGranted", "inputs": [ { "type": "bytes32", "name": "role", "indexed": true }, { "type": "address", "name": "account", "indexed": true }, { "type": "address", "name": "sender", "indexed": true } ] }, { "type": "event", "anonymous": false, "name": "RoleRevoked", "inputs": [ { "type": "bytes32", "name": "role", "indexed": true }, { "type": "address", "name": "account", "indexed": true }, { "type": "address", "name": "sender", "indexed": true } ] }, { "type": "function", "name": "DEFAULT_ADMIN_ROLE", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "bytes32", "name": "" } ] }, { "type": "function", "name": "INITIAL_PRICE", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "adjustPrice", "constant": false, "payable": false, "inputs": [], "outputs": [] }, { "type": "function", "name": "checkAllNodes", "constant": false, "payable": false, "inputs": [], "outputs": [] }, { "type": "function", "name": "contractManager", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "address", "name": "" } ] }, { "type": "function", "name": "getRoleAdmin", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" } ], "outputs": [ { "type": "bytes32", "name": "" } ] }, { "type": "function", "name": "getRoleMember", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "uint256", "name": "index" } ], "outputs": [ { "type": "address", "name": "" } ] }, { "type": "function", "name": "getRoleMemberCount", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "getTotalLoadPercentage", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "grantRole", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [] }, { "type": "function", "name": "hasRole", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [ { "type": "bool", "name": "" } ] }, { "type": "function", "name": "initNodes", "constant": false, "payable": false, "inputs": [], "outputs": [] }, { "type": "function", "name": "initialize", "constant": false, "payable": false, "inputs": [ { "type": "address", "name": "newContractsAddress" } ], "outputs": [] }, { "type": "function", "name": "lastUpdated", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "price", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "renounceRole", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [] }, { "type": "function", "name": "revokeRole", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [] }, { "type": "function", "name": "totalNodes", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "uint256", "name": "" } ] } ], "bounty_v2_address": "0x9e72b27FE9b0D86FeF42104B12Fdd21A3e3238A8", "bounty_v2_abi": [ { "type": "event", "anonymous": false, "name": "BountyReduction", "inputs": [ { "type": "bool", "name": "status", "indexed": false } ] }, { "type": "event", "anonymous": false, "name": "Initialized", "inputs": [ { "type": "uint8", "name": "version", "indexed": false } ] }, { "type": "event", "anonymous": false, "name": "NodeCreationWindowWasChanged", "inputs": [ { "type": "uint256", "name": "oldValue", "indexed": false }, { "type": "uint256", "name": "newValue", "indexed": false } ] }, { "type": "event", "anonymous": false, "name": "RoleGranted", "inputs": [ { "type": "bytes32", "name": "role", "indexed": true }, { "type": "address", "name": "account", "indexed": true }, { "type": "address", "name": "sender", "indexed": true } ] }, { "type": "event", "anonymous": false, "name": "RoleRevoked", "inputs": [ { "type": "bytes32", "name": "role", "indexed": true }, { "type": "address", "name": "account", "indexed": true }, { "type": "address", "name": "sender", "indexed": true } ] }, { "type": "function", "name": "BOUNTY_REDUCTION_MANAGER_ROLE", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "bytes32", "name": "" } ] }, { "type": "function", "name": "BOUNTY_WINDOW_SECONDS", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "DEFAULT_ADMIN_ROLE", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "bytes32", "name": "" } ] }, { "type": "function", "name": "EPOCHS_PER_YEAR", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "SECONDS_PER_DAY", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "YEAR1_BOUNTY", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "YEAR2_BOUNTY", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "YEAR3_BOUNTY", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "YEAR4_BOUNTY", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "YEAR5_BOUNTY", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "YEAR6_BOUNTY", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "bountyReduction", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "bool", "name": "" } ] }, { "type": "function", "name": "calculateBounty", "constant": false, "payable": false, "inputs": [ { "type": "uint256", "name": "nodeIndex" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "contractManager", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "address", "name": "" } ] }, { "type": "function", "name": "disableBountyReduction", "constant": false, "payable": false, "inputs": [], "outputs": [] }, { "type": "function", "name": "enableBountyReduction", "constant": false, "payable": false, "inputs": [], "outputs": [] }, { "type": "function", "name": "estimateBounty", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "uint256", "name": "nodeIndex" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "getEffectiveDelegatedSum", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "uint256[]", "name": "" } ] }, { "type": "function", "name": "getNextRewardTimestamp", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "uint256", "name": "nodeIndex" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "getRoleAdmin", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" } ], "outputs": [ { "type": "bytes32", "name": "" } ] }, { "type": "function", "name": "getRoleMember", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "uint256", "name": "index" } ], "outputs": [ { "type": "address", "name": "" } ] }, { "type": "function", "name": "getRoleMemberCount", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "grantRole", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [] }, { "type": "function", "name": "handleDelegationAdd", "constant": false, "payable": false, "inputs": [ { "type": "uint256", "name": "amount" }, { "type": "uint256", "name": "month" } ], "outputs": [] }, { "type": "function", "name": "handleDelegationRemoving", "constant": false, "payable": false, "inputs": [ { "type": "uint256", "name": "amount" }, { "type": "uint256", "name": "month" } ], "outputs": [] }, { "type": "function", "name": "hasRole", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [ { "type": "bool", "name": "" } ] }, { "type": "function", "name": "initialize", "constant": false, "payable": false, "inputs": [ { "type": "address", "name": "contractManagerAddress" } ], "outputs": [] }, { "type": "function", "name": "nodeCreationWindowSeconds", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "nodesByValidator", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "uint256", "name": "" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "renounceRole", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [] }, { "type": "function", "name": "revokeRole", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [] }, { "type": "function", "name": "setNodeCreationWindowSeconds", "constant": false, "payable": false, "inputs": [ { "type": "uint256", "name": "window" } ], "outputs": [] } ], "wallets_address": "0x8886d506c8C3985B004CE6875da0a106E0725D30", "wallets_abi": [ { "type": "event", "anonymous": false, "name": "Initialized", "inputs": [ { "type": "uint8", "name": "version", "indexed": false } ] }, { "type": "event", "anonymous": false, "name": "NodeRefundedBySchain", "inputs": [ { "type": "address", "name": "node", "indexed": false }, { "type": "bytes32", "name": "schainHash", "indexed": false }, { "type": "uint256", "name": "amount", "indexed": false } ] }, { "type": "event", "anonymous": false, "name": "NodeRefundedByValidator", "inputs": [ { "type": "address", "name": "node", "indexed": false }, { "type": "uint256", "name": "validatorId", "indexed": false }, { "type": "uint256", "name": "amount", "indexed": false } ] }, { "type": "event", "anonymous": false, "name": "ReturnDebtFromValidator", "inputs": [ { "type": "uint256", "name": "validatorId", "indexed": false }, { "type": "bytes32", "name": "schainHash", "indexed": false }, { "type": "uint256", "name": "debtAmount", "indexed": false } ] }, { "type": "event", "anonymous": false, "name": "RoleGranted", "inputs": [ { "type": "bytes32", "name": "role", "indexed": true }, { "type": "address", "name": "account", "indexed": true }, { "type": "address", "name": "sender", "indexed": true } ] }, { "type": "event", "anonymous": false, "name": "RoleRevoked", "inputs": [ { "type": "bytes32", "name": "role", "indexed": true }, { "type": "address", "name": "account", "indexed": true }, { "type": "address", "name": "sender", "indexed": true } ] }, { "type": "event", "anonymous": false, "name": "SchainWalletRecharged", "inputs": [ { "type": "address", "name": "sponsor", "indexed": false }, { "type": "uint256", "name": "amount", "indexed": false }, { "type": "bytes32", "name": "schainHash", "indexed": false } ] }, { "type": "event", "anonymous": false, "name": "ValidatorWalletRecharged", "inputs": [ { "type": "address", "name": "sponsor", "indexed": false }, { "type": "uint256", "name": "amount", "indexed": false }, { "type": "uint256", "name": "validatorId", "indexed": false } ] }, { "type": "event", "anonymous": false, "name": "WithdrawFromSchainWallet", "inputs": [ { "type": "bytes32", "name": "schainHash", "indexed": true }, { "type": "uint256", "name": "amount", "indexed": false } ] }, { "type": "event", "anonymous": false, "name": "WithdrawFromValidatorWallet", "inputs": [ { "type": "uint256", "name": "validatorId", "indexed": true }, { "type": "uint256", "name": "amount", "indexed": false } ] }, { "type": "function", "name": "DEFAULT_ADMIN_ROLE", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "bytes32", "name": "" } ] }, { "type": "function", "name": "contractManager", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "address", "name": "" } ] }, { "type": "function", "name": "getRoleAdmin", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" } ], "outputs": [ { "type": "bytes32", "name": "" } ] }, { "type": "function", "name": "getRoleMember", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "uint256", "name": "index" } ], "outputs": [ { "type": "address", "name": "" } ] }, { "type": "function", "name": "getRoleMemberCount", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "getSchainBalance", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "schainHash" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "getValidatorBalance", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "uint256", "name": "validatorId" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "grantRole", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [] }, { "type": "function", "name": "hasRole", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [ { "type": "bool", "name": "" } ] }, { "type": "function", "name": "initialize", "constant": false, "payable": false, "inputs": [ { "type": "address", "name": "contractsAddress" } ], "outputs": [] }, { "type": "function", "name": "rechargeSchainWallet", "constant": false, "stateMutability": "payable", "payable": true, "inputs": [ { "type": "bytes32", "name": "schainHash" } ], "outputs": [] }, { "type": "function", "name": "rechargeValidatorWallet", "constant": false, "stateMutability": "payable", "payable": true, "inputs": [ { "type": "uint256", "name": "validatorId" } ], "outputs": [] }, { "type": "function", "name": "refundGasBySchain", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "schainHash" }, { "type": "address", "name": "spender" }, { "type": "uint256", "name": "spentGas" }, { "type": "bool", "name": "isDebt" } ], "outputs": [] }, { "type": "function", "name": "refundGasByValidator", "constant": false, "payable": false, "inputs": [ { "type": "uint256", "name": "validatorId" }, { "type": "address", "name": "spender" }, { "type": "uint256", "name": "gasLimit" } ], "outputs": [] }, { "type": "function", "name": "refundGasByValidatorToSchain", "constant": false, "payable": false, "inputs": [ { "type": "uint256", "name": "validatorId" }, { "type": "bytes32", "name": "schainHash" } ], "outputs": [] }, { "type": "function", "name": "renounceRole", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [] }, { "type": "function", "name": "revokeRole", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [] }, { "type": "function", "name": "withdrawFundsFromSchainWallet", "constant": false, "payable": false, "inputs": [ { "type": "address", "name": "schainOwner" }, { "type": "bytes32", "name": "schainHash" } ], "outputs": [] }, { "type": "function", "name": "withdrawFundsFromValidatorWallet", "constant": false, "payable": false, "inputs": [ { "type": "uint256", "name": "amount" } ], "outputs": [] } ], "sync_manager_address": "0xE62A6Fe5a524AA9f019589127818Fc17f0be5D63", "sync_manager_abi": [ { "type": "event", "anonymous": false, "name": "IPRangeAdded", "inputs": [ { "type": "string", "name": "name", "indexed": false }, { "type": "bytes4", "name": "startIP", "indexed": false }, { "type": "bytes4", "name": "endIP", "indexed": false } ] }, { "type": "event", "anonymous": false, "name": "IPRangeRemoved", "inputs": [ { "type": "string", "name": "name", "indexed": false } ] }, { "type": "event", "anonymous": false, "name": "Initialized", "inputs": [ { "type": "uint8", "name": "version", "indexed": false } ] }, { "type": "event", "anonymous": false, "name": "RoleGranted", "inputs": [ { "type": "bytes32", "name": "role", "indexed": true }, { "type": "address", "name": "account", "indexed": true }, { "type": "address", "name": "sender", "indexed": true } ] }, { "type": "event", "anonymous": false, "name": "RoleRevoked", "inputs": [ { "type": "bytes32", "name": "role", "indexed": true }, { "type": "address", "name": "account", "indexed": true }, { "type": "address", "name": "sender", "indexed": true } ] }, { "type": "function", "name": "DEFAULT_ADMIN_ROLE", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "bytes32", "name": "" } ] }, { "type": "function", "name": "SYNC_MANAGER_ROLE", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "bytes32", "name": "" } ] }, { "type": "function", "name": "addIPRange", "constant": false, "payable": false, "inputs": [ { "type": "string", "name": "name" }, { "type": "bytes4", "name": "startIP" }, { "type": "bytes4", "name": "endIP" } ], "outputs": [] }, { "type": "function", "name": "contractManager", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "address", "name": "" } ] }, { "type": "function", "name": "getIPRangeByIndex", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "uint256", "name": "index" } ], "outputs": [ { "type": "tuple", "components": [ { "type": "bytes4", "name": "startIP" }, { "type": "bytes4", "name": "endIP" } ], "name": "" } ] }, { "type": "function", "name": "getIPRangeByName", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "string", "name": "name" } ], "outputs": [ { "type": "tuple", "components": [ { "type": "bytes4", "name": "startIP" }, { "type": "bytes4", "name": "endIP" } ], "name": "" } ] }, { "type": "function", "name": "getIPRangesNumber", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "getRoleAdmin", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" } ], "outputs": [ { "type": "bytes32", "name": "" } ] }, { "type": "function", "name": "getRoleMember", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "uint256", "name": "index" } ], "outputs": [ { "type": "address", "name": "" } ] }, { "type": "function", "name": "getRoleMemberCount", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "grantRole", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [] }, { "type": "function", "name": "hasRole", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [ { "type": "bool", "name": "" } ] }, { "type": "function", "name": "initialize", "constant": false, "payable": false, "inputs": [ { "type": "address", "name": "contractManagerAddress" } ], "outputs": [] }, { "type": "function", "name": "ipRanges", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "" } ], "outputs": [ { "type": "bytes4", "name": "startIP" }, { "type": "bytes4", "name": "endIP" } ] }, { "type": "function", "name": "removeIPRange", "constant": false, "payable": false, "inputs": [ { "type": "string", "name": "name" } ], "outputs": [] }, { "type": "function", "name": "renounceRole", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [] }, { "type": "function", "name": "revokeRole", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [] } ], "time_helpers_with_debug_address": "0x0d7b5DF4Ce04967Ee0c9738Bbf44B09939B12eA6", "time_helpers_with_debug_abi": [ { "type": "event", "anonymous": false, "name": "OwnershipTransferred", "inputs": [ { "type": "address", "name": "previousOwner", "indexed": true }, { "type": "address", "name": "newOwner", "indexed": true } ] }, { "type": "function", "name": "addDays", "constant": true, "stateMutability": "pure", "payable": false, "inputs": [ { "type": "uint256", "name": "fromTimestamp" }, { "type": "uint256", "name": "n" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "addMonths", "constant": true, "stateMutability": "pure", "payable": false, "inputs": [ { "type": "uint256", "name": "fromTimestamp" }, { "type": "uint256", "name": "n" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "addYears", "constant": true, "stateMutability": "pure", "payable": false, "inputs": [ { "type": "uint256", "name": "fromTimestamp" }, { "type": "uint256", "name": "n" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "calculateProofOfUseLockEndTime", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "uint256", "name": "month" }, { "type": "uint256", "name": "lockUpPeriodDays" } ], "outputs": [ { "type": "uint256", "name": "timestamp" } ] }, { "type": "function", "name": "getCurrentMonth", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "initialize", "constant": false, "payable": false, "inputs": [], "outputs": [] }, { "type": "function", "name": "monthToTimestamp", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "uint256", "name": "month" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "owner", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "address", "name": "" } ] }, { "type": "function", "name": "renounceOwnership", "constant": false, "payable": false, "inputs": [], "outputs": [] }, { "type": "function", "name": "skipTime", "constant": false, "payable": false, "inputs": [ { "type": "uint256", "name": "sec" } ], "outputs": [] }, { "type": "function", "name": "timestampToMonth", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "uint256", "name": "timestamp" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "timestampToYear", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "uint256", "name": "timestamp" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "transferOwnership", "constant": false, "payable": false, "inputs": [ { "type": "address", "name": "newOwner" } ], "outputs": [] } ], "skale_token_address": "0xAD2c50cee7c8EBa98d8E87E845a971D3656Bb1bF", "skale_token_abi": [ { "type": "constructor", "payable": false, "inputs": [ { "type": "address", "name": "contractsAddress" }, { "type": "address[]", "name": "defOps" } ] }, { "type": "event", "anonymous": false, "name": "Approval", "inputs": [ { "type": "address", "name": "owner", "indexed": true }, { "type": "address", "name": "spender", "indexed": true }, { "type": "uint256", "name": "value", "indexed": false } ] }, { "type": "event", "anonymous": false, "name": "AuthorizedOperator", "inputs": [ { "type": "address", "name": "operator", "indexed": true }, { "type": "address", "name": "tokenHolder", "indexed": true } ] }, { "type": "event", "anonymous": false, "name": "Burned", "inputs": [ { "type": "address", "name": "operator", "indexed": true }, { "type": "address", "name": "from", "indexed": true }, { "type": "uint256", "name": "amount", "indexed": false }, { "type": "bytes", "name": "data", "indexed": false }, { "type": "bytes", "name": "operatorData", "indexed": false } ] }, { "type": "event", "anonymous": false, "name": "Minted", "inputs": [ { "type": "address", "name": "operator", "indexed": true }, { "type": "address", "name": "to", "indexed": true }, { "type": "uint256", "name": "amount", "indexed": false }, { "type": "bytes", "name": "data", "indexed": false }, { "type": "bytes", "name": "operatorData", "indexed": false } ] }, { "type": "event", "anonymous": false, "name": "RevokedOperator", "inputs": [ { "type": "address", "name": "operator", "indexed": true }, { "type": "address", "name": "tokenHolder", "indexed": true } ] }, { "type": "event", "anonymous": false, "name": "RoleGranted", "inputs": [ { "type": "bytes32", "name": "role", "indexed": true }, { "type": "address", "name": "account", "indexed": true }, { "type": "address", "name": "sender", "indexed": true } ] }, { "type": "event", "anonymous": false, "name": "RoleRevoked", "inputs": [ { "type": "bytes32", "name": "role", "indexed": true }, { "type": "address", "name": "account", "indexed": true }, { "type": "address", "name": "sender", "indexed": true } ] }, { "type": "event", "anonymous": false, "name": "Sent", "inputs": [ { "type": "address", "name": "operator", "indexed": true }, { "type": "address", "name": "from", "indexed": true }, { "type": "address", "name": "to", "indexed": true }, { "type": "uint256", "name": "amount", "indexed": false }, { "type": "bytes", "name": "data", "indexed": false }, { "type": "bytes", "name": "operatorData", "indexed": false } ] }, { "type": "event", "anonymous": false, "name": "Transfer", "inputs": [ { "type": "address", "name": "from", "indexed": true }, { "type": "address", "name": "to", "indexed": true }, { "type": "uint256", "name": "value", "indexed": false } ] }, { "type": "function", "name": "CAP", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "DECIMALS", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "DEFAULT_ADMIN_ROLE", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "bytes32", "name": "" } ] }, { "type": "function", "name": "NAME", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "string", "name": "" } ] }, { "type": "function", "name": "SYMBOL", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "string", "name": "" } ] }, { "type": "function", "name": "allowance", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "address", "name": "holder" }, { "type": "address", "name": "spender" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "approve", "constant": false, "payable": false, "inputs": [ { "type": "address", "name": "spender" }, { "type": "uint256", "name": "value" } ], "outputs": [ { "type": "bool", "name": "" } ] }, { "type": "function", "name": "authorizeOperator", "constant": false, "payable": false, "inputs": [ { "type": "address", "name": "operator" } ], "outputs": [] }, { "type": "function", "name": "balanceOf", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "address", "name": "tokenHolder" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "burn", "constant": false, "payable": false, "inputs": [ { "type": "uint256", "name": "amount" }, { "type": "bytes", "name": "data" } ], "outputs": [] }, { "type": "function", "name": "contractManager", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "address", "name": "" } ] }, { "type": "function", "name": "decimals", "constant": true, "stateMutability": "pure", "payable": false, "inputs": [], "outputs": [ { "type": "uint8", "name": "" } ] }, { "type": "function", "name": "defaultOperators", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "address[]", "name": "" } ] }, { "type": "function", "name": "getAndUpdateDelegatedAmount", "constant": false, "payable": false, "inputs": [ { "type": "address", "name": "wallet" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "getAndUpdateLockedAmount", "constant": false, "payable": false, "inputs": [ { "type": "address", "name": "wallet" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "getAndUpdateSlashedAmount", "constant": false, "payable": false, "inputs": [ { "type": "address", "name": "wallet" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "getRoleAdmin", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" } ], "outputs": [ { "type": "bytes32", "name": "" } ] }, { "type": "function", "name": "getRoleMember", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "uint256", "name": "index" } ], "outputs": [ { "type": "address", "name": "" } ] }, { "type": "function", "name": "getRoleMemberCount", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" } ], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "grantRole", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [] }, { "type": "function", "name": "granularity", "constant": true, "stateMutability": "pure", "payable": false, "inputs": [], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "hasRole", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [ { "type": "bool", "name": "" } ] }, { "type": "function", "name": "initialize", "constant": false, "payable": false, "inputs": [ { "type": "address", "name": "contractManagerAddress" } ], "outputs": [] }, { "type": "function", "name": "isOperatorFor", "constant": true, "stateMutability": "view", "payable": false, "inputs": [ { "type": "address", "name": "operator" }, { "type": "address", "name": "tokenHolder" } ], "outputs": [ { "type": "bool", "name": "" } ] }, { "type": "function", "name": "mint", "constant": false, "payable": false, "inputs": [ { "type": "address", "name": "account" }, { "type": "uint256", "name": "amount" }, { "type": "bytes", "name": "userData" }, { "type": "bytes", "name": "operatorData" } ], "outputs": [ { "type": "bool", "name": "" } ] }, { "type": "function", "name": "name", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "string", "name": "" } ] }, { "type": "function", "name": "operatorBurn", "constant": false, "payable": false, "inputs": [ { "type": "address", "name": "account" }, { "type": "uint256", "name": "amount" }, { "type": "bytes", "name": "data" }, { "type": "bytes", "name": "operatorData" } ], "outputs": [] }, { "type": "function", "name": "operatorSend", "constant": false, "payable": false, "inputs": [ { "type": "address", "name": "sender" }, { "type": "address", "name": "recipient" }, { "type": "uint256", "name": "amount" }, { "type": "bytes", "name": "data" }, { "type": "bytes", "name": "operatorData" } ], "outputs": [] }, { "type": "function", "name": "renounceRole", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [] }, { "type": "function", "name": "revokeOperator", "constant": false, "payable": false, "inputs": [ { "type": "address", "name": "operator" } ], "outputs": [] }, { "type": "function", "name": "revokeRole", "constant": false, "payable": false, "inputs": [ { "type": "bytes32", "name": "role" }, { "type": "address", "name": "account" } ], "outputs": [] }, { "type": "function", "name": "send", "constant": false, "payable": false, "inputs": [ { "type": "address", "name": "recipient" }, { "type": "uint256", "name": "amount" }, { "type": "bytes", "name": "data" } ], "outputs": [] }, { "type": "function", "name": "symbol", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "string", "name": "" } ] }, { "type": "function", "name": "totalSupply", "constant": true, "stateMutability": "view", "payable": false, "inputs": [], "outputs": [ { "type": "uint256", "name": "" } ] }, { "type": "function", "name": "transfer", "constant": false, "payable": false, "inputs": [ { "type": "address", "name": "recipient" }, { "type": "uint256", "name": "amount" } ], "outputs": [ { "type": "bool", "name": "" } ] }, { "type": "function", "name": "transferFrom", "constant": false, "payable": false, "inputs": [ { "type": "address", "name": "holder" }, { "type": "address", "name": "recipient" }, { "type": "uint256", "name": "amount" } ], "outputs": [ { "type": "bool", "name": "" } ] } ] }