Documentation ¶
Index ¶
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- func ToAddress(addrs []string) []common.Address
- func ToBigInt(ints []uint64) []*big.Int
- func ToBytes(strs []string) [][]byte
- type Keeper
- func (k *Keeper) AppendLendingMarketProposal(ctx sdk.Context, lm *types.MsgLendingMarketProposal) (*types.MsgLendingMarketProposal, error)
- func (k Keeper) DeployMapContract(ctx sdk.Context, lm *types.MsgLendingMarketProposal) (common.Address, error)
- func (k Keeper) GetAuthority() string
- func (k Keeper) GetParams(ctx sdk.Context) types.Params
- func (k Keeper) GetPort(ctx sdk.Context) (common.Address, bool)
- func (k Keeper) LendingMarketProposal(ctx context.Context, req *types.MsgLendingMarketProposal) (*types.MsgLendingMarketProposalResponse, error)
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) Params(c context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
- func (k Keeper) SetParams(ctx sdk.Context, params types.Params)
- func (k Keeper) SetPort(ctx sdk.Context, portAddr common.Address)
- func (k Keeper) TreasuryProposal(ctx context.Context, req *types.MsgTreasuryProposal) (*types.MsgTreasuryProposalResponse, 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( storeService store.KVStoreService, cdc codec.BinaryCodec, ps paramtypes.Subspace, ak types.AccountKeeper, ek types.ERC20Keeper, gk *govkeeper.Keeper, authority string, ) Keeper
func (*Keeper) AppendLendingMarketProposal ¶
func (k *Keeper) AppendLendingMarketProposal(ctx sdk.Context, lm *types.MsgLendingMarketProposal) (*types.MsgLendingMarketProposal, error)
method for appending govshuttle proposal types to the govshuttle Map contract
func (Keeper) DeployMapContract ¶
func (Keeper) GetAuthority ¶
GetAuthority returns the x/govshuttle module's authority.
func (Keeper) LendingMarketProposal ¶
func (k Keeper) LendingMarketProposal(ctx context.Context, req *types.MsgLendingMarketProposal) (*types.MsgLendingMarketProposalResponse, error)
func (Keeper) Params ¶
func (k Keeper) Params(c context.Context, req *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
func (Keeper) SetPort ¶
commit the address of the current govShuttle mapcontract to state (Port.sol)
func (Keeper) TreasuryProposal ¶
func (k Keeper) TreasuryProposal(ctx context.Context, req *types.MsgTreasuryProposal) (*types.MsgTreasuryProposalResponse, error)
Click to show internal directories.
Click to hide internal directories.