laconicd/x/bond/msgs.go
Prathamesh Musale cc6f2070b5
All checks were successful
Integration Tests / test-integration (pull_request) Successful in 1m17s
Setup e2e tests for bond module
2024-03-02 11:27:46 +05:30

18 lines
324 B
Go

package bond
import (
sdk "github.com/cosmos/cosmos-sdk/types"
)
var (
_ sdk.Msg = &MsgCreateBond{}
)
// NewMsgCreateBond is the constructor function for MsgCreateBond.
func NewMsgCreateBond(coins sdk.Coins, signer sdk.AccAddress) MsgCreateBond {
return MsgCreateBond{
Coins: coins,
Signer: signer.String(),
}
}