Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetGasLimit ¶
func GetGasLimit(tx *common.Transaction) uint64
GetGasLimit get `gasLimit` field from tx
Types ¶
type GasConfig ¶
type GasConfig struct {
// contains filtered or unexported fields
}
GasConfig `gas config` born from GasAccountConfig
func NewGasConfig ¶
func NewGasConfig(config *configPb.GasAccountConfig) *GasConfig
NewGasConfig create GasConfig Object
func (*GasConfig) GetBaseGasForInstall ¶
GetBaseGasForInstall get gas number for install user contract
func (*GasConfig) GetBaseGasForInvoke ¶
GetBaseGasForInvoke get gas number for invoke user contract
func (*GasConfig) GetGasPriceForInstall ¶
GetGasPriceForInstall get gas price for install user contract
Click to show internal directories.
Click to hide internal directories.