Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateExecuteMsg ¶
func GenerateExecuteMsg( sender cosmostypes.AccAddress, contract cosmostypes.AccAddress, executeMsg interface{}, coins cosmostypes.Coins, ) (types.MsgExecuteContract, error)
Types ¶
type BaseContract ¶
type BaseContract interface { GetAddress() cosmostypes.AccAddress GetClient() terra.Client MakeMessage( acc terra.Account, method string, payload interface{}, coins cosmostypes.Coins, ) ([]cosmostypes.Msg, error) Execute( ctx context.Context, acc terra.Account, msgs []cosmostypes.Msg, mode *types.BroadcastMode, opts *terra.CreateTxOptions, ) (cosmostypes.TxResponse, error) Query(ctx context.Context, query types.Q, resp interface{}) error }
func NewBaseContract ¶
func NewBaseContract(addr cosmostypes.AccAddress, client terra.Client) BaseContract
Click to show internal directories.
Click to hide internal directories.