Service Registry
Verified contract
Active on
Ethereum with 19 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($1,213.73)
Native
Value
$1,213.73
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
ETH | Native | 0.33304 | $3,644.40 |
$1,213.73 |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21298966 | 3 days ago | | | 0 | 0.00033986795 | |
| 21108905 | a month ago | | | 0 | 0.00017856586 | |
| 19225987 | 10 months ago | | | 0 | 0.00053737713 | |
| 19225983 | 10 months ago | | | 0 | 0.00090420562 | |
| 19225981 | 10 months ago | | | 0 | 0.00091100361 | |
| 19225979 | 10 months ago | | | 0 | 0.0010393675 | |
| 19211585 | 10 months ago | | | 0 | 0.00069355240 | |
| 19211538 | 10 months ago | | | 0 | 0.00077405476 | |
| 18419565 | a year ago | | | 0 | 0.0011215088 | |
| 17819101 | a year ago | | | 0 | 0.00068753719 |
ABI
ABI objects
Getter at block 21319175
CID_PREFIX() view returns (string)
f01701220
VERSION() view returns (string)
1.0.0
agentRegistry() view returns (address)
0x2f1f7d38e4772884b88f3ecd8b6b9facdc319112
baseURI() view returns (string)
https://gateway.autonolas.tech/ipfs/
drainer() view returns (address)
0xa0da53447c0f6c4987964d8463da7e6628b30f82
manager() view returns (address)
0x2ea682121f815fbcf86ea3f3cafdd5d67f2db143
name() view returns (string)
Service Registry
owner() view returns (address)
0x3c1ff68f5aa342d296d4dee4bb1cacca912d95fe
slashedFunds() view returns (uint96)
0
symbol() view returns (string)
AUTONOLAS-SERVICE-V1
totalSupply() view returns (uint256)
38
Read-only
balanceOf(address owner) view returns (uint256)
exists(uint256 unitId) view returns (bool)
getAgentInstances(uint256 serviceId) view returns (uint256 numAgentInstances, address[] agentInstances)
getAgentParams(uint256 serviceId) view returns (uint256 numAgentIds, struct AgentParams[] agentParams)
getApproved(uint256) view returns (address)
getInstancesForAgentId(uint256 serviceId, uint256 agentId) view returns (uint256 numAgentInstances, address[] agentInstances)
getOperatorBalance(address operator, uint256 serviceId) view returns (uint256 balance)
getPreviousHashes(uint256 serviceId) view returns (uint256 numHashes, bytes32[] configHashes)
getService(uint256 serviceId) view returns (struct ServiceRegistryService service)
getUnitIdsOfService(uint8 unitType, uint256 serviceId) view returns (uint256 numUnitIds, uint32[] unitIds)
isApprovedForAll(address, address) view returns (bool)
mapAgentInstanceOperators(address) view returns (address)
mapConfigHashes(uint256, uint256) view returns (bytes32)
mapMultisigs(address) view returns (bool)
mapOperatorAndServiceIdAgentInstances(uint256, uint256) view returns (address instance, uint32 agentId)
mapOperatorAndServiceIdOperatorBalances(uint256) view returns (uint96)
mapServiceAndAgentIdAgentInstances(uint256, uint256) view returns (address)
mapServiceAndAgentIdAgentParams(uint256) view returns (uint32 slots, uint96 bond)
mapServiceIdSetAgentIds(uint256, uint256) view returns (uint32)
mapServiceIdSetComponentIds(uint256, uint256) view returns (uint32)
mapServices(uint256) view returns (uint96 securityDeposit, address multisig, bytes32 configHash, uint32 threshold, uint32 maxNumAgentInstances, uint32 numAgentInstances, uint8 state)
ownerOf(uint256 id) view returns (address owner)
supportsInterface(bytes4 interfaceId) view returns (bool)
tokenByIndex(uint256 id) view returns (uint256 unitId)
tokenURI(uint256 unitId) view returns (string)
State-modifying
Events activateRegistration(address serviceOwner, uint256 serviceId) payable returns (bool success)
approve(address spender, uint256 id)
changeDrainer(address newDrainer)
changeManager(address newManager)
changeMultisigPermission(address multisig, bool permission) returns (bool success)
changeOwner(address newOwner)
create(address serviceOwner, bytes32 configHash, uint32[] agentIds, struct AgentParams[] agentParams, uint32 threshold) returns (uint256 serviceId)
deploy(address serviceOwner, uint256 serviceId, address multisigImplementation, bytes data) returns (address multisig)
drain() returns (uint256 amount)
registerAgents(address operator, uint256 serviceId, address[] agentInstances, uint32[] agentIds) payable returns (bool success)
safeTransferFrom(address from, address to, uint256 id)
safeTransferFrom(address from, address to, uint256 id, bytes data)
setApprovalForAll(address operator, bool approved)
setBaseURI(string bURI)
slash(address[] agentInstances, uint96[] amounts, uint256 serviceId) returns (bool success)
terminate(address serviceOwner, uint256 serviceId) returns (bool success, uint256 refund)
transferFrom(address from, address to, uint256 id)
unbond(address operator, uint256 serviceId) returns (bool success, uint256 refund)
update(address serviceOwner, bytes32 configHash, uint32[] agentIds, struct AgentParams[] agentParams, uint32 threshold, uint256 serviceId) returns (bool success)
ActivateRegistration(uint256 indexed serviceId)
Approval(address indexed owner, address indexed spender, uint256 indexed id)
ApprovalForAll(address indexed owner, address indexed operator, bool approved)
BaseURIChanged(string baseURI)
CreateMultisigWithAgents(uint256 indexed serviceId, address indexed multisig)
CreateService(uint256 indexed serviceId)
DeployService(uint256 indexed serviceId)
Deposit(address indexed sender, uint256 amount)
Drain(address indexed drainer, uint256 amount)
DrainerUpdated(address indexed drainer)
ManagerUpdated(address indexed manager)
OperatorSlashed(uint256 amount, address indexed operator, uint256 indexed serviceId)
OperatorUnbond(address indexed operator, uint256 indexed serviceId)
OwnerUpdated(address indexed owner)
Refund(address indexed receiver, uint256 amount)
RegisterInstance(address indexed operator, uint256 indexed serviceId, address indexed agentInstance, uint256 agentId)
TerminateService(uint256 indexed serviceId)
Transfer(address indexed from, address indexed to, uint256 indexed id)
UpdateService(uint256 indexed serviceId, bytes32 configHash)
constructor(string _name, string _symbol, string _baseURI, address _agentRegistry)
This contract contains no fallback and receive objects.
AgentInstanceRegistered(address operator)
AgentInstancesSlotsFilled(uint256 serviceId)
AgentNotFound(uint256 agentId)
AgentNotInService(uint256 agentId, uint256 serviceId)
ComponentNotFound(uint256 componentId)
HashExists()
IncorrectAgentBondingValue(uint256 sent, uint256 expected, uint256 serviceId)
IncorrectRegistrationDepositValue(uint256 sent, uint256 expected, uint256 serviceId)
ManagerOnly(address sender, address manager)
OnlyOwnServiceMultisig(address provided, address expected, uint256 serviceId)
OperatorHasNoInstances(address operator, uint256 serviceId)
Overflow(uint256 provided, uint256 max)
OwnerOnly(address sender, address owner)
Paused()
ReentrancyGuard()
ServiceMustBeInactive(uint256 serviceId)
TransferFailed(address token, address from, address to, uint256 value)
UnauthorizedMultisig(address multisig)
WrongAgentId(uint256 agentId)
WrongArrayLength(uint256 numValues1, uint256 numValues2)
WrongOperator(uint256 serviceId)
WrongServiceState(uint256 state, uint256 serviceId)
WrongThreshold(uint256 currentThreshold, uint256 minThreshold, uint256 maxThreshold)
ZeroAddress()
ZeroValue()