Documentation ¶
Index ¶
- func CreateAuctionTxWithSigners(txCfg client.TxConfig, bidder Account, bid sdk.Coin, nonce, timeout uint64, ...) (authsigning.Tx, error)
- func CreateAuctionTxWithSignersAndLimit(txCfg client.TxConfig, bidder Account, bid sdk.Coin, nonce, timeout uint64, ...) (authsigning.Tx, error)
- func CreateMsgAuctionBid(txCfg client.TxConfig, bidder Account, bid sdk.Coin, nonce uint64, ...) (*buildertypes.MsgAuctionBid, error)
- func CreateRandomMsgs(acc sdk.AccAddress, numberMsgs int) []sdk.Msg
- func CreateRandomTx(txCfg client.TxConfig, account Account, nonce, numberMsgs, timeout uint64) (authsigning.Tx, error)
- func CreateRandomTxWithLimit(txCfg client.TxConfig, account Account, nonce, numberMsgs, timeout uint64, ...) (authsigning.Tx, error)
- func CreateTx(txCfg client.TxConfig, account Account, nonce, timeout uint64, msgs []sdk.Msg) (authsigning.Tx, error)
- func CreateTxWithLimit(txCfg client.TxConfig, account Account, nonce, timeout uint64, msgs []sdk.Msg, ...) (authsigning.Tx, error)
- func CreateTxWithSigners(txCfg client.TxConfig, nonce, timeout uint64, signers []Account) (authsigning.Tx, error)
- type Account
- type EncodingConfig
- type MockAccountKeeper
- type MockAccountKeeperMockRecorder
- type MockBankKeeper
- type MockBankKeeperMockRecorder
- type MockDistributionKeeper
- type MockDistributionKeeperRecorder
- type MockStakingKeeper
- type MockStakingKeeperRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateAuctionTxWithSignersAndLimit ¶ added in v1.0.5
func CreateMsgAuctionBid ¶
func CreateMsgAuctionBid(txCfg client.TxConfig, bidder Account, bid sdk.Coin, nonce uint64, numberMsgs int) (*buildertypes.MsgAuctionBid, error)
func CreateRandomMsgs ¶
func CreateRandomMsgs(acc sdk.AccAddress, numberMsgs int) []sdk.Msg
func CreateRandomTx ¶
func CreateRandomTxWithLimit ¶ added in v1.0.5
func CreateTxWithLimit ¶ added in v1.0.5
func CreateTxWithSigners ¶
Types ¶
type Account ¶
type Account struct { PrivKey cryptotypes.PrivKey PubKey cryptotypes.PubKey Address sdk.AccAddress ConsKey cryptotypes.PrivKey }
type EncodingConfig ¶
type EncodingConfig struct { InterfaceRegistry types.InterfaceRegistry Codec codec.Codec TxConfig client.TxConfig Amino *codec.LegacyAmino }
func CreateTestEncodingConfig ¶
func CreateTestEncodingConfig() EncodingConfig
type MockAccountKeeper ¶
type MockAccountKeeper struct {
// contains filtered or unexported fields
}
func NewMockAccountKeeper ¶
func NewMockAccountKeeper(ctrl *gomock.Controller) *MockAccountKeeper
func (*MockAccountKeeper) EXPECT ¶
func (m *MockAccountKeeper) EXPECT() *MockAccountKeeperMockRecorder
func (*MockAccountKeeper) GetModuleAddress ¶
func (m *MockAccountKeeper) GetModuleAddress(name string) sdk.AccAddress
type MockAccountKeeperMockRecorder ¶
type MockAccountKeeperMockRecorder struct {
// contains filtered or unexported fields
}
func (*MockAccountKeeperMockRecorder) GetModuleAddress ¶
func (mr *MockAccountKeeperMockRecorder) GetModuleAddress(name interface{}) *gomock.Call
type MockBankKeeper ¶
type MockBankKeeper struct {
// contains filtered or unexported fields
}
func NewMockBankKeeper ¶
func NewMockBankKeeper(ctrl *gomock.Controller) *MockBankKeeper
func (*MockBankKeeper) EXPECT ¶
func (m *MockBankKeeper) EXPECT() *MockBankKeeperMockRecorder
func (*MockBankKeeper) GetBalance ¶ added in v1.0.1
func (m *MockBankKeeper) GetBalance(ctx sdk.Context, addr sdk.AccAddress, denom string) sdk.Coin
func (*MockBankKeeper) SendCoins ¶
func (m *MockBankKeeper) SendCoins(ctx sdk.Context, fromAddr sdk.AccAddress, toAddr sdk.AccAddress, amt sdk.Coins) error
type MockBankKeeperMockRecorder ¶
type MockBankKeeperMockRecorder struct {
// contains filtered or unexported fields
}
func (*MockBankKeeperMockRecorder) GetBalance ¶ added in v1.0.1
func (mr *MockBankKeeperMockRecorder) GetBalance(ctx, addr, denom interface{}) *gomock.Call
func (*MockBankKeeperMockRecorder) SendCoins ¶
func (mr *MockBankKeeperMockRecorder) SendCoins(ctx, fromAddr, toAddr, amt interface{}) *gomock.Call
type MockDistributionKeeper ¶
type MockDistributionKeeper struct {
// contains filtered or unexported fields
}
func NewMockDistributionKeeper ¶
func NewMockDistributionKeeper(ctrl *gomock.Controller) *MockDistributionKeeper
func (*MockDistributionKeeper) EXPECT ¶
func (m *MockDistributionKeeper) EXPECT() *MockDistributionKeeperRecorder
func (*MockDistributionKeeper) GetPreviousProposerConsAddr ¶
func (m *MockDistributionKeeper) GetPreviousProposerConsAddr(ctx sdk.Context) sdk.ConsAddress
type MockDistributionKeeperRecorder ¶
type MockDistributionKeeperRecorder struct {
// contains filtered or unexported fields
}
func (*MockDistributionKeeperRecorder) GetPreviousProposerConsAddr ¶
func (mr *MockDistributionKeeperRecorder) GetPreviousProposerConsAddr(ctx any) *gomock.Call
type MockStakingKeeper ¶
type MockStakingKeeper struct {
// contains filtered or unexported fields
}
func NewMockStakingKeeper ¶
func NewMockStakingKeeper(ctrl *gomock.Controller) *MockStakingKeeper
func (*MockStakingKeeper) EXPECT ¶
func (m *MockStakingKeeper) EXPECT() *MockStakingKeeperRecorder
func (*MockStakingKeeper) ValidatorByConsAddr ¶
func (m *MockStakingKeeper) ValidatorByConsAddr(ctx sdk.Context, consAddr sdk.ConsAddress) stakingtypes.ValidatorI
type MockStakingKeeperRecorder ¶
type MockStakingKeeperRecorder struct {
// contains filtered or unexported fields
}
func (*MockStakingKeeperRecorder) ValidatorByConsAddr ¶
func (mr *MockStakingKeeperRecorder) ValidatorByConsAddr(ctx, consAddr any) *gomock.Call
Click to show internal directories.
Click to hide internal directories.