Service Registry

Verified contract

Active on Ethereum with 19 txns
Deployed by via 0xbdd8372d at 15178299
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $1,213.73
0x908fed6c0ec5b27e27ed71412d9c46c3e1c38c3bf2bae30bdfb15bb2d8f2b3ce
0x3bfd4f67ee85bc18bd23f2e1fcead0271f741a7122948995d670483ecb4b07bc
0x036e963918a6a92642922ebc85ffb626ca982917a10d06bf418d3205063eb2d5
0x8619388191cec7b3af485ce8e160219dff147e7baa0a5436453bafebddfd0f06
0xf04fbf85d781cd0b0e5145b54f89fc42a5568a969a3d42436c69bfa1fe717e7c
0xb77357b7d9816e640baf59ef1eba1d2017dae3e21ad18c1570172357bca701d7
0xf5e0668939043196722673f23aa63358b0419f2b4bb2870ebaac55c0cbabb16e
0xf8eae9557c96a3167a6a90756a1857d3e5972f6616b23f12c3cb6cf82c5ab7d7
0x33eb49a14dc2462fd959e5d501afca88e93b9b925427db18882a8c31b7d26338
0x11303ea0949fa72b9d0bfc78ca90425bff13bad99d7c68335840c00f7f5dd3f0

Functions
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 ownerview returns (uint256)
exists(uint256 unitIdview returns (bool)
getAgentInstances(uint256 serviceIdview returns (uint256 numAgentInstancesaddress[] agentInstances)
getAgentParams(uint256 serviceIdview returns (uint256 numAgentIdsstruct AgentParams[] agentParams)
getApproved(uint256view returns (address)
getInstancesForAgentId(uint256 serviceIduint256 agentIdview returns (uint256 numAgentInstancesaddress[] agentInstances)
getOperatorBalance(address operatoruint256 serviceIdview returns (uint256 balance)
getPreviousHashes(uint256 serviceIdview returns (uint256 numHashesbytes32[] configHashes)
getService(uint256 serviceIdview returns (struct ServiceRegistryService service)
getUnitIdsOfService(uint8 unitTypeuint256 serviceIdview returns (uint256 numUnitIdsuint32[] unitIds)
isApprovedForAll(addressaddressview returns (bool)
mapAgentInstanceOperators(addressview returns (address)
mapConfigHashes(uint256uint256view returns (bytes32)
mapMultisigs(addressview returns (bool)
mapOperatorAndServiceIdAgentInstances(uint256uint256view returns (address instanceuint32 agentId)
mapOperatorAndServiceIdOperatorBalances(uint256view returns (uint96)
mapServiceAndAgentIdAgentInstances(uint256uint256view returns (address)
mapServiceAndAgentIdAgentParams(uint256view returns (uint32 slotsuint96 bond)
mapServiceIdSetAgentIds(uint256uint256view returns (uint32)
mapServiceIdSetComponentIds(uint256uint256view returns (uint32)
mapServices(uint256view returns (uint96 securityDepositaddress multisigbytes32 configHashuint32 thresholduint32 maxNumAgentInstancesuint32 numAgentInstancesuint8 state)
ownerOf(uint256 idview returns (address owner)
supportsInterface(bytes4 interfaceIdview returns (bool)
tokenByIndex(uint256 idview returns (uint256 unitId)
tokenURI(uint256 unitIdview returns (string)
State-modifying
activateRegistration(address serviceOwneruint256 serviceIdpayable returns (bool success)
approve(address spenderuint256 id
changeDrainer(address newDrainer
changeManager(address newManager
changeMultisigPermission(address multisigbool permissionreturns (bool success)
changeOwner(address newOwner
create(address serviceOwnerbytes32 configHashuint32[] agentIdsstruct AgentParams[] agentParamsuint32 thresholdreturns (uint256 serviceId)
deploy(address serviceOwneruint256 serviceIdaddress multisigImplementationbytes datareturns (address multisig)
drain(returns (uint256 amount)
registerAgents(address operatoruint256 serviceIdaddress[] agentInstancesuint32[] agentIdspayable returns (bool success)
safeTransferFrom(address fromaddress touint256 id
safeTransferFrom(address fromaddress touint256 idbytes data
setApprovalForAll(address operatorbool approved
setBaseURI(string bURI
slash(address[] agentInstancesuint96[] amountsuint256 serviceIdreturns (bool success)
terminate(address serviceOwneruint256 serviceIdreturns (bool successuint256 refund)
transferFrom(address fromaddress touint256 id
unbond(address operatoruint256 serviceIdreturns (bool successuint256 refund)
update(address serviceOwnerbytes32 configHashuint32[] agentIdsstruct AgentParams[] agentParamsuint32 thresholduint256 serviceIdreturns (bool success)
Events
ActivateRegistration(uint256 indexed serviceId
Approval(address indexed owneraddress indexed spenderuint256 indexed id
ApprovalForAll(address indexed owneraddress indexed operatorbool approved
BaseURIChanged(string baseURI
CreateMultisigWithAgents(uint256 indexed serviceIdaddress indexed multisig
CreateService(uint256 indexed serviceId
DeployService(uint256 indexed serviceId
Deposit(address indexed senderuint256 amount
Drain(address indexed draineruint256 amount
DrainerUpdated(address indexed drainer
ManagerUpdated(address indexed manager
OperatorSlashed(uint256 amountaddress indexed operatoruint256 indexed serviceId
OperatorUnbond(address indexed operatoruint256 indexed serviceId
OwnerUpdated(address indexed owner
Refund(address indexed receiveruint256 amount
RegisterInstance(address indexed operatoruint256 indexed serviceIdaddress indexed agentInstanceuint256 agentId
TerminateService(uint256 indexed serviceId
Transfer(address indexed fromaddress indexed touint256 indexed id
UpdateService(uint256 indexed serviceIdbytes32 configHash
Constructor
constructor(string _namestring _symbolstring _baseURIaddress _agentRegistry
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AgentInstanceRegistered(address operator
AgentInstancesSlotsFilled(uint256 serviceId
AgentNotFound(uint256 agentId
AgentNotInService(uint256 agentIduint256 serviceId
ComponentNotFound(uint256 componentId
HashExists(
IncorrectAgentBondingValue(uint256 sentuint256 expecteduint256 serviceId
IncorrectRegistrationDepositValue(uint256 sentuint256 expecteduint256 serviceId
ManagerOnly(address senderaddress manager
OnlyOwnServiceMultisig(address providedaddress expecteduint256 serviceId
OperatorHasNoInstances(address operatoruint256 serviceId
Overflow(uint256 provideduint256 max
OwnerOnly(address senderaddress owner
Paused(
ReentrancyGuard(
ServiceMustBeInactive(uint256 serviceId
TransferFailed(address tokenaddress fromaddress touint256 value
UnauthorizedMultisig(address multisig
WrongAgentId(uint256 agentId
WrongArrayLength(uint256 numValues1uint256 numValues2
WrongOperator(uint256 serviceId
WrongServiceState(uint256 stateuint256 serviceId
WrongThreshold(uint256 currentThresholduint256 minThresholduint256 maxThreshold
ZeroAddress(
ZeroValue(