Skip to content

Version 0.2.2 - Hub Migration

Pre-release
Pre-release
Compare
Choose a tag to compare
@toledoroy toledoroy released this 12 May 18:53
· 387 commits to main since this release

Added Functionality

Hub Update

Migrates the contracts (avatars & actions) the a new hub

/// Update Hub
function hubChange(address newHubAddr) external;

Event

emit HubChanged(newHubAddr);

Contract URI

For Jurisdictions & Cases

Set Contract URI (By Owner or Admin)

jurisdictionContract.setContractURI(contract_uri)

Get Contract URI

jurisdictionContract.contractURI()

Token URIs

For Jurisdictions & Cases

Set Role URI (By Owner or Admin)

await jurisdictionContract.setRoleURI("admin", uri);

Get Role URI

jurisdictionContract.roleURI("admin");