Prathamesh Musale
cc6f2070b5
All checks were successful
Integration Tests / test-integration (pull_request) Successful in 1m17s
18 lines
324 B
Go
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(),
|
|
}
|
|
}
|