Documentation ¶
Index ¶
- func NewMsgServerImpl(keeper *Keeper) types.MsgServer
- type Keeper
- func (k Keeper) Blacklisted(ctx context.Context, req *types.QueryGetBlacklistedRequest) (*types.QueryGetBlacklistedResponse, error)
- func (k Keeper) BlacklistedAll(ctx context.Context, req *types.QueryAllBlacklistedRequest) (*types.QueryAllBlacklistedResponse, error)
- func (k Keeper) Blacklister(ctx context.Context, req *types.QueryGetBlacklisterRequest) (*types.QueryGetBlacklisterResponse, error)
- func (k Keeper) Burn(ctx sdk.Context, msg *types.MsgBurn) (*types.MsgBurnResponse, error)
- func (k Keeper) DeleteMinterController(ctx context.Context, controller string)
- func (k Keeper) DeletePendingOwner(ctx context.Context)
- func (k Keeper) GetAllBlacklisted(ctx context.Context) (list []types.Blacklisted)
- func (k Keeper) GetAllMinterControllers(ctx context.Context) (list []types.MinterController)
- func (k Keeper) GetAllMinters(ctx context.Context) (list []types.Minters)
- func (k Keeper) GetBlacklisted(ctx context.Context, addressBz []byte) (val types.Blacklisted, found bool)
- func (k Keeper) GetBlacklister(ctx context.Context) (val types.Blacklister, found bool)
- func (k Keeper) GetMasterMinter(ctx context.Context) (val types.MasterMinter, found bool)
- func (k Keeper) GetMinterController(ctx context.Context, controller string) (val types.MinterController, found bool)
- func (k Keeper) GetMinters(ctx context.Context, address string) (val types.Minters, found bool)
- func (k *Keeper) GetMintingDenom(ctx context.Context) (val types.MintingDenom)
- func (k Keeper) GetOwner(ctx context.Context) (val types.Owner, found bool)
- func (k Keeper) GetPaused(ctx context.Context) (val types.Paused)
- func (k Keeper) GetPauser(ctx context.Context) (val types.Pauser, found bool)
- func (k Keeper) GetPendingOwner(ctx context.Context) (val types.Owner, found bool)
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) MasterMinter(ctx context.Context, req *types.QueryGetMasterMinterRequest) (*types.QueryGetMasterMinterResponse, error)
- func (k Keeper) Mint(ctx sdk.Context, msg *types.MsgMint) (*types.MsgMintResponse, error)
- func (k Keeper) MinterController(ctx context.Context, req *types.QueryGetMinterControllerRequest) (*types.QueryGetMinterControllerResponse, error)
- func (k Keeper) MinterControllerAll(ctx context.Context, req *types.QueryAllMinterControllerRequest) (*types.QueryAllMinterControllerResponse, error)
- func (k Keeper) Minters(ctx context.Context, req *types.QueryGetMintersRequest) (*types.QueryGetMintersResponse, error)
- func (k Keeper) MintersAll(ctx context.Context, req *types.QueryAllMintersRequest) (*types.QueryAllMintersResponse, error)
- func (k Keeper) MintingDenom(ctx context.Context, req *types.QueryGetMintingDenomRequest) (*types.QueryGetMintingDenomResponse, error)
- func (k Keeper) MintingDenomSet(ctx context.Context) bool
- func (k Keeper) Owner(ctx context.Context, req *types.QueryGetOwnerRequest) (*types.QueryGetOwnerResponse, error)
- func (k Keeper) Paused(ctx context.Context, req *types.QueryGetPausedRequest) (*types.QueryGetPausedResponse, error)
- func (k Keeper) Pauser(ctx context.Context, req *types.QueryGetPauserRequest) (*types.QueryGetPauserResponse, error)
- func (k Keeper) RemoveBlacklisted(ctx context.Context, addressBz []byte)
- func (k Keeper) RemoveMinters(ctx context.Context, address string)
- func (k Keeper) SendRestrictionFn(ctx context.Context, fromAddr, toAddr sdk.AccAddress, amt sdk.Coins) (newToAddr sdk.AccAddress, err error)
- func (k Keeper) SetBlacklisted(ctx context.Context, blacklisted types.Blacklisted)
- func (k Keeper) SetBlacklister(ctx context.Context, blacklister types.Blacklister)
- func (k Keeper) SetMasterMinter(ctx context.Context, masterMinter types.MasterMinter)
- func (k Keeper) SetMinterController(ctx context.Context, minterController types.MinterController)
- func (k Keeper) SetMinters(ctx context.Context, minters types.Minters)
- func (k *Keeper) SetMintingDenom(ctx context.Context, mintingDenom types.MintingDenom)
- func (k Keeper) SetOwner(ctx context.Context, owner types.Owner)
- func (k Keeper) SetPaused(ctx context.Context, paused types.Paused)
- func (k Keeper) SetPauser(ctx context.Context, pauser types.Pauser)
- func (k Keeper) SetPendingOwner(ctx context.Context, owner types.Owner)
- func (k Keeper) ValidatePrivileges(ctx context.Context, address string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMsgServerImpl ¶
NewMsgServerImpl returns an implementation of the MsgServer interface for the provided Keeper.
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
func NewKeeper ¶
func NewKeeper( cdc codec.BinaryCodec, logger log.Logger, storeService store.KVStoreService, bankKeeper types.BankKeeper, ) *Keeper
func (Keeper) Blacklisted ¶
func (k Keeper) Blacklisted(ctx context.Context, req *types.QueryGetBlacklistedRequest) (*types.QueryGetBlacklistedResponse, error)
func (Keeper) BlacklistedAll ¶
func (k Keeper) BlacklistedAll(ctx context.Context, req *types.QueryAllBlacklistedRequest) (*types.QueryAllBlacklistedResponse, error)
func (Keeper) Blacklister ¶
func (k Keeper) Blacklister(ctx context.Context, req *types.QueryGetBlacklisterRequest) (*types.QueryGetBlacklisterResponse, error)
func (Keeper) DeleteMinterController ¶
RemoveMinterController removes a minterController from the store
func (Keeper) DeletePendingOwner ¶
DeletePendingOwner deletes the pending owner in the store
func (Keeper) GetAllBlacklisted ¶
func (k Keeper) GetAllBlacklisted(ctx context.Context) (list []types.Blacklisted)
GetAllBlacklisted returns all blacklisted
func (Keeper) GetAllMinterControllers ¶
func (k Keeper) GetAllMinterControllers(ctx context.Context) (list []types.MinterController)
GetAllMinterController returns all minterController
func (Keeper) GetAllMinters ¶
GetAllMinters returns all minters
func (Keeper) GetBlacklisted ¶
func (k Keeper) GetBlacklisted(ctx context.Context, addressBz []byte) (val types.Blacklisted, found bool)
GetBlacklisted returns a blacklisted from its index
func (Keeper) GetBlacklister ¶
GetBlacklister returns blacklister
func (Keeper) GetMasterMinter ¶
GetMasterMinter returns masterMinter
func (Keeper) GetMinterController ¶
func (k Keeper) GetMinterController( ctx context.Context, controller string, ) (val types.MinterController, found bool)
GetMinterController returns a minterController from its index
func (Keeper) GetMinters ¶
GetMinters returns a minters from its index
func (*Keeper) GetMintingDenom ¶
func (k *Keeper) GetMintingDenom(ctx context.Context) (val types.MintingDenom)
GetMintingDenom returns mintingDenom
func (Keeper) GetPendingOwner ¶
GetPendingOwner returns pending owner
func (Keeper) MasterMinter ¶
func (k Keeper) MasterMinter(ctx context.Context, req *types.QueryGetMasterMinterRequest) (*types.QueryGetMasterMinterResponse, error)
func (Keeper) MinterController ¶
func (k Keeper) MinterController(ctx context.Context, req *types.QueryGetMinterControllerRequest) (*types.QueryGetMinterControllerResponse, error)
func (Keeper) MinterControllerAll ¶
func (k Keeper) MinterControllerAll(ctx context.Context, req *types.QueryAllMinterControllerRequest) (*types.QueryAllMinterControllerResponse, error)
func (Keeper) Minters ¶
func (k Keeper) Minters(ctx context.Context, req *types.QueryGetMintersRequest) (*types.QueryGetMintersResponse, error)
func (Keeper) MintersAll ¶
func (k Keeper) MintersAll(ctx context.Context, req *types.QueryAllMintersRequest) (*types.QueryAllMintersResponse, error)
func (Keeper) MintingDenom ¶
func (k Keeper) MintingDenom(ctx context.Context, req *types.QueryGetMintingDenomRequest) (*types.QueryGetMintingDenomResponse, error)
func (Keeper) MintingDenomSet ¶
MintingDenomSet returns true if the MintingDenom is already set in the store, it returns false otherwise.
func (Keeper) Owner ¶
func (k Keeper) Owner(ctx context.Context, req *types.QueryGetOwnerRequest) (*types.QueryGetOwnerResponse, error)
func (Keeper) Paused ¶
func (k Keeper) Paused(ctx context.Context, req *types.QueryGetPausedRequest) (*types.QueryGetPausedResponse, error)
func (Keeper) Pauser ¶
func (k Keeper) Pauser(ctx context.Context, req *types.QueryGetPauserRequest) (*types.QueryGetPauserResponse, error)
func (Keeper) RemoveBlacklisted ¶
RemoveBlacklisted removes a blacklisted from the store
func (Keeper) RemoveMinters ¶
RemoveMinters removes a minters from the store
func (Keeper) SendRestrictionFn ¶
func (k Keeper) SendRestrictionFn(ctx context.Context, fromAddr, toAddr sdk.AccAddress, amt sdk.Coins) (newToAddr sdk.AccAddress, err error)
SendRestrictionFn checks every $USDC transfer executed on the Noble chain against the blocklist and paused state
func (Keeper) SetBlacklisted ¶
func (k Keeper) SetBlacklisted(ctx context.Context, blacklisted types.Blacklisted)
SetBlacklisted set a specific blacklisted in the store from its index
func (Keeper) SetBlacklister ¶
func (k Keeper) SetBlacklister(ctx context.Context, blacklister types.Blacklister)
SetBlacklister set blacklister in the store
func (Keeper) SetMasterMinter ¶
func (k Keeper) SetMasterMinter(ctx context.Context, masterMinter types.MasterMinter)
SetMasterMinter set masterMinter in the store
func (Keeper) SetMinterController ¶
func (k Keeper) SetMinterController(ctx context.Context, minterController types.MinterController)
SetMinterController set a specific minterController in the store from its index
func (Keeper) SetMinters ¶
SetMinters set a specific minters in the store from its index
func (*Keeper) SetMintingDenom ¶
func (k *Keeper) SetMintingDenom(ctx context.Context, mintingDenom types.MintingDenom)
SetMintingDenom set mintingDenom in the store
func (Keeper) SetPendingOwner ¶
SetPendingOwner set pending owner in the store
Source Files ¶
- blacklisted.go
- blacklister.go
- grpc_query.go
- grpc_query_blacklisted.go
- grpc_query_blacklister.go
- grpc_query_master_minter.go
- grpc_query_minter_controller.go
- grpc_query_minters.go
- grpc_query_minting_denom.go
- grpc_query_owner.go
- grpc_query_paused.go
- grpc_query_pauser.go
- keeper.go
- master_minter.go
- minter_controller.go
- minters.go
- minting_denom.go
- msg_server.go
- msg_server_accept_owner.go
- msg_server_blacklist.go
- msg_server_burn.go
- msg_server_configure_minter.go
- msg_server_configure_minter_controller.go
- msg_server_mint.go
- msg_server_pause.go
- msg_server_remove_minter.go
- msg_server_remove_minter_controller.go
- msg_server_unblacklist.go
- msg_server_unpause.go
- msg_server_update_blacklister.go
- msg_server_update_master_minter.go
- msg_server_update_owner.go
- msg_server_update_pauser.go
- owner.go
- paused.go
- pauser.go