Skip to main content

Solidity API

ISet

Created

event Created(uint64 id, struct ObjectMeta meta, bytes32[] state, address owner)

Updated

event Updated(uint64 id, struct ObjectMeta meta, bytes32[] state)

Upgraded

event Upgraded(uint64 id, struct ObjectMeta meta)

Touched

event Touched(uint64 id, struct ObjectMeta meta)

Destroyed

event Destroyed(uint64 id, struct ObjectMeta meta)

update

function update(uint64 id, bytes32[] state) external returns (struct ObjectMeta)

upgrade

function upgrade(uint64 id, uint32 bpRev, uint32 faRev) external returns (struct ObjectMeta)

touch

function touch(uint64 id) external returns (struct ObjectMeta)

metaAt

function metaAt(uint64 id, uint32 rev) external view returns (struct ObjectMeta meta)

stateAt

function stateAt(uint64 id, uint32 rev) external view returns (bytes32[] state)

revAt

function revAt(uint64 id, uint32 rev) external view returns (uint32)

ownerOf

function ownerOf(uint64 id) external view returns (address)