Name | Type | Description | Notes |
---|---|---|---|
DestinationType | ContractCallDestinationType | ||
Address | string | The destination address. | |
Value | Pointer to string | The transfer amount. For example, if you trade 1.5 ETH, then the value is `1.5`. | [optional] |
Calldata | string | The data that is used to invoke a specific function or method within the specified contract at the destination address. |
func NewContractCallDestination(destinationType ContractCallDestinationType, address string, calldata string, ) *ContractCallDestination
NewContractCallDestination instantiates a new ContractCallDestination 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 NewContractCallDestinationWithDefaults() *ContractCallDestination
NewContractCallDestinationWithDefaults instantiates a new ContractCallDestination 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 *ContractCallDestination) GetDestinationType() ContractCallDestinationType
GetDestinationType returns the DestinationType field if non-nil, zero value otherwise.
func (o *ContractCallDestination) GetDestinationTypeOk() (*ContractCallDestinationType, bool)
GetDestinationTypeOk returns a tuple with the DestinationType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ContractCallDestination) SetDestinationType(v ContractCallDestinationType)
SetDestinationType sets DestinationType field to given value.
func (o *ContractCallDestination) GetAddress() string
GetAddress returns the Address field if non-nil, zero value otherwise.
func (o *ContractCallDestination) GetAddressOk() (*string, bool)
GetAddressOk returns a tuple with the Address field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ContractCallDestination) SetAddress(v string)
SetAddress sets Address field to given value.
func (o *ContractCallDestination) GetValue() string
GetValue returns the Value field if non-nil, zero value otherwise.
func (o *ContractCallDestination) GetValueOk() (*string, bool)
GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ContractCallDestination) SetValue(v string)
SetValue sets Value field to given value.
func (o *ContractCallDestination) HasValue() bool
HasValue returns a boolean if a field has been set.
func (o *ContractCallDestination) GetCalldata() string
GetCalldata returns the Calldata field if non-nil, zero value otherwise.
func (o *ContractCallDestination) GetCalldataOk() (*string, bool)
GetCalldataOk returns a tuple with the Calldata field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ContractCallDestination) SetCalldata(v string)
SetCalldata sets Calldata field to given value.