Skip to content

Latest commit

 

History

History
102 lines (67 loc) · 2.7 KB

01_state.md

File metadata and controls

102 lines (67 loc) · 2.7 KB

State

Paused

The paused field is of type boolean. It is used to store the current paused state of USDY.

var PausedKey = []byte("paused")

It is updated by the following messages:

Owner

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

var OwnerKey = []byte("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 module.

var PendingOwnerKey = []byte("pending_owner")

It is updated by the following messages:

Burners

The burners field is a mapping between string (a Noble encoded address) and math.Int. It is used to store all burners of USDY, and their current burn allowance.

var BurnerPrefix = []byte("burner/")

It is updated by the following messages:

Minters

The minters field is a mapping between string (a Noble encoded address) and math.Int. It is used to store all minters of USDY, and their current mint allowance.

var MinterPrefix = []byte("minter/")

It is updated by the following messages:

Pausers

The pausers field is a unique set of strings, specifically Noble encoded addresses. It is used to store all pausers of USDY.

var PauserPrefix = []byte("pauser/")

It is updated by the following messages:

Blocked Channels

The blocked channels field is a unique set of strings, specifically IBC channels. It is used to store all blocked IBC transfer channels for USDY.

var BlockedChannelPrefix = []byte("blocked_channel/")

It is updated by the following messages: