Skip to content

Latest commit

 

History

History
42 lines (27 loc) · 1.28 KB

01_state_blocklist.md

File metadata and controls

42 lines (27 loc) · 1.28 KB

Blocklist State

Owner

The owner field is of type string, specifically a Noble encoded address. It is used to store the current owner of the blocklist submodule.

var OwnerKey = []byte("blocklist/owner")

It is updated by the following messages:

Pending Owner

The pending owner field is of type string, specifically a Noble encoded address. It is used to store the current pending owner of the blocklist submodule.

var PendingOwnerKey = []byte("blocklist/pending_owner")

It is updated by the following messages:

Blocked Addresses

The blocked addresses field is a mapping between string (a Noble encoded address) and boolean. It is used to store all blocked addresses that can't interact with USDY.

var BlockedAddressPrefix = []byte("blocklist/blocked_address/")

It is updated by the following messages: