Circuit
Concepts
https://github.com/cosmos/cosmos-sdk/blob/x/circuit/v0.1.0/x/circuit/ante/circuit.go#L27-L41https://github.com/cosmos/cosmos-sdk/blob/v0.50.1/baseapp/msg_service_router.go#L104-L115State
Accounts
type level int32
const (
// LEVEL_NONE_UNSPECIFIED indicates that the account will have no circuit
// breaker permissions.
LEVEL_NONE_UNSPECIFIED = iota
// LEVEL_SOME_MSGS indicates that the account will have permission to
// trip or reset the circuit breaker for some Msg type URLs. If this level
// is chosen, a non-empty list of Msg type URLs must be provided in
// limit_type_urls.
LEVEL_SOME_MSGS
// LEVEL_ALL_MSGS indicates that the account can trip or reset the circuit
// breaker for Msg's of all type URLs.
LEVEL_ALL_MSGS
// LEVEL_SUPER_ADMIN indicates that the account can take all circuit breaker
// actions and can grant permissions to other accounts.
LEVEL_SUPER_ADMIN
)
type Access struct {
level int32
msgs []string // if full permission, msgs can be empty
}Disable List
State Transitions
Authorize
Trip
Reset
Messages
MsgAuthorizeCircuitBreaker
MsgTripCircuitBreaker
MsgResetCircuitBreaker
Events - list and describe event tags
Message Events
MsgAuthorizeCircuitBreaker
Type
Attribute Key
Attribute Value
MsgTripCircuitBreaker
Type
Attribute Key
Attribute Value
ResetCircuitBreaker
Type
Attribute Key
Attribute Value