Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CallArgs ¶
type CallArgs struct {
// ContractABI is the ABI of the contract to call.
ContractABI abi.ABI
// MethodName is the name of the method to call.
MethodName string
// Args are the arguments to pass to the method.
Args []interface{}
}
CallArgs is a struct to define all relevant data to call a smart contract.
type ContractDeploymentData ¶
type ContractDeploymentData struct {
// Contract is the compiled contract to deploy.
Contract evmtypes.CompiledContract
// ConstructorArgs are the arguments to pass to the constructor.
ConstructorArgs []interface{}
}
ContractDeploymentData is a struct to define all relevant data to deploy a smart contract.
type CosmosTxArgs ¶
type CosmosTxArgs struct {
// ChainID is the chain's id in cosmos format, e.g. 'evmos_9000-1'
ChainID string
// Gas to be used on the tx
Gas uint64
// GasPrice to use on tx
GasPrice *sdkmath.Int
// Fees is the fee to be used on the tx (amount and denom)
Fees sdktypes.Coins
// FeeGranter is the account address of the fee granter
FeeGranter sdktypes.AccAddress
// Msgs slice of messages to include on the tx
Msgs []sdktypes.Msg
}
CosmosTxArgs contains the params to create a cosmos tx
Click to show internal directories.
Click to hide internal directories.