RegistryInterface
Interface for a registry of contracts and contract creators.
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.
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.