Registry

Defines:

public struct ChannelRegistry has key, store {
        id: UID,
        registry: Table<String, address>
}

Add

The add function has these effects:

  1. Add channel key / channel address key value pair

Borrow Address

The borrow_channel_address function has these effects:

  1. Returns the address of the Channel from the String key

Has Record

The has_record function has these effects:

  1. Returns boolean if the String key exists in the Posts table

Last updated