Name | Type | Description | Notes |
---|---|---|---|
EvmGasRatio | Ratio32 | ||
GasPerToken | Ratio32 | ||
ValidatorFeeShare | int32 | The validator fee share. |
func NewFeePolicy(evmGasRatio Ratio32, gasPerToken Ratio32, validatorFeeShare int32, ) *FeePolicy
NewFeePolicy instantiates a new FeePolicy object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewFeePolicyWithDefaults() *FeePolicy
NewFeePolicyWithDefaults instantiates a new FeePolicy object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *FeePolicy) GetEvmGasRatio() Ratio32
GetEvmGasRatio returns the EvmGasRatio field if non-nil, zero value otherwise.
func (o *FeePolicy) GetEvmGasRatioOk() (*Ratio32, bool)
GetEvmGasRatioOk returns a tuple with the EvmGasRatio field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *FeePolicy) SetEvmGasRatio(v Ratio32)
SetEvmGasRatio sets EvmGasRatio field to given value.
func (o *FeePolicy) GetGasPerToken() Ratio32
GetGasPerToken returns the GasPerToken field if non-nil, zero value otherwise.
func (o *FeePolicy) GetGasPerTokenOk() (*Ratio32, bool)
GetGasPerTokenOk returns a tuple with the GasPerToken field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *FeePolicy) SetGasPerToken(v Ratio32)
SetGasPerToken sets GasPerToken field to given value.
func (o *FeePolicy) GetValidatorFeeShare() int32
GetValidatorFeeShare returns the ValidatorFeeShare field if non-nil, zero value otherwise.
func (o *FeePolicy) GetValidatorFeeShareOk() (*int32, bool)
GetValidatorFeeShareOk returns a tuple with the ValidatorFeeShare field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *FeePolicy) SetValidatorFeeShare(v int32)
SetValidatorFeeShare sets ValidatorFeeShare field to given value.