RegistryInterface
RegistryInterface#
Functions#
registerContract(address[] parties, address contractAddress) (external)Registers a new contract.
Only authorized contract creators can call this method.
Parameters:#
- parties: an array of addresses who become parties in the contract.
- contractAddress: defines the address of the deployed contract.
isContractRegistered(address contractAddress) โ bool (external)Returns whether the contract has been registered with the registry.
If it is registered, it is an authorized participant in the UMA system.
Parameters:#
- contractAddress: address of the contract.
getRegisteredContracts(address party) โ address[] (external)Returns a list of all contracts that are associated with a particular party.
Parameters:#
- party: address of the party.
getAllRegisteredContracts() โ address[] (external)Returns all registered contracts.
addPartyToContract(address party) (external)Adds a party to the calling contract.
msg.sender must be the contract to which the party member is added.
Parameters:#
- party: address to be added to the contract.
removePartyFromContract(address party) (external)Removes a party member to the calling contract.
msg.sender must be the contract to which the party member is added.
Parameters:#
- party: address to be removed from the contract.
isPartyMemberOfContract(address party, address contractAddress) โ bool (external)checks if an address is a party in a contract.
Parameters:#
- party: party to check.
- contractAddress: address to check against the party.