Name | Type | Description | Notes |
---|---|---|---|
Name | string | The wallet name. | |
WalletType | WalletType | ||
WalletSubtype | WalletSubtype | ||
ChainId | string | The ID of the chain that the wallet operates on. | |
SmartContractWalletType | SmartContractWalletType | [default to SMARTCONTRACTWALLETTYPE_SAFEWALLET] | |
SafeAddress | Pointer to string | The address of the Smart Contract Wallet. If this is not provided, Cobo will create a new Safe{Wallet} and set up Cobo Safe for you. In that case, the `threshold` and `signers` properties are required. | [optional] |
Signers | Pointer to []string | The signers of the Smart Contract Wallet. This property is required when creating a new Safe{Wallet}. | [optional] |
Threshold | Pointer to int32 | The minimum number of confirmations required for the Smart Contract Wallet. This property is required when creating a new Safe{Wallet}. | [optional] |
CoboSafeAddress | Pointer to string | The address of Cobo Safe. If you are importing an existing Safe{Wallet}, Cobo Safe must have been created and enabled. | [optional] |
Initiator | Pointer to SmartContractInitiator | [optional] |
func NewCreateSmartContractWalletParams(name string, walletType WalletType, walletSubtype WalletSubtype, chainId string, smartContractWalletType SmartContractWalletType, ) *CreateSmartContractWalletParams
NewCreateSmartContractWalletParams instantiates a new CreateSmartContractWalletParams 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 NewCreateSmartContractWalletParamsWithDefaults() *CreateSmartContractWalletParams
NewCreateSmartContractWalletParamsWithDefaults instantiates a new CreateSmartContractWalletParams 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 *CreateSmartContractWalletParams) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *CreateSmartContractWalletParams) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateSmartContractWalletParams) SetName(v string)
SetName sets Name field to given value.
func (o *CreateSmartContractWalletParams) GetWalletType() WalletType
GetWalletType returns the WalletType field if non-nil, zero value otherwise.
func (o *CreateSmartContractWalletParams) GetWalletTypeOk() (*WalletType, bool)
GetWalletTypeOk returns a tuple with the WalletType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateSmartContractWalletParams) SetWalletType(v WalletType)
SetWalletType sets WalletType field to given value.
func (o *CreateSmartContractWalletParams) GetWalletSubtype() WalletSubtype
GetWalletSubtype returns the WalletSubtype field if non-nil, zero value otherwise.
func (o *CreateSmartContractWalletParams) GetWalletSubtypeOk() (*WalletSubtype, bool)
GetWalletSubtypeOk returns a tuple with the WalletSubtype field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateSmartContractWalletParams) SetWalletSubtype(v WalletSubtype)
SetWalletSubtype sets WalletSubtype field to given value.
func (o *CreateSmartContractWalletParams) GetChainId() string
GetChainId returns the ChainId field if non-nil, zero value otherwise.
func (o *CreateSmartContractWalletParams) GetChainIdOk() (*string, bool)
GetChainIdOk returns a tuple with the ChainId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateSmartContractWalletParams) SetChainId(v string)
SetChainId sets ChainId field to given value.
func (o *CreateSmartContractWalletParams) GetSmartContractWalletType() SmartContractWalletType
GetSmartContractWalletType returns the SmartContractWalletType field if non-nil, zero value otherwise.
func (o *CreateSmartContractWalletParams) GetSmartContractWalletTypeOk() (*SmartContractWalletType, bool)
GetSmartContractWalletTypeOk returns a tuple with the SmartContractWalletType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateSmartContractWalletParams) SetSmartContractWalletType(v SmartContractWalletType)
SetSmartContractWalletType sets SmartContractWalletType field to given value.
func (o *CreateSmartContractWalletParams) GetSafeAddress() string
GetSafeAddress returns the SafeAddress field if non-nil, zero value otherwise.
func (o *CreateSmartContractWalletParams) GetSafeAddressOk() (*string, bool)
GetSafeAddressOk returns a tuple with the SafeAddress field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateSmartContractWalletParams) SetSafeAddress(v string)
SetSafeAddress sets SafeAddress field to given value.
func (o *CreateSmartContractWalletParams) HasSafeAddress() bool
HasSafeAddress returns a boolean if a field has been set.
func (o *CreateSmartContractWalletParams) GetSigners() []string
GetSigners returns the Signers field if non-nil, zero value otherwise.
func (o *CreateSmartContractWalletParams) GetSignersOk() (*[]string, bool)
GetSignersOk returns a tuple with the Signers field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateSmartContractWalletParams) SetSigners(v []string)
SetSigners sets Signers field to given value.
func (o *CreateSmartContractWalletParams) HasSigners() bool
HasSigners returns a boolean if a field has been set.
func (o *CreateSmartContractWalletParams) GetThreshold() int32
GetThreshold returns the Threshold field if non-nil, zero value otherwise.
func (o *CreateSmartContractWalletParams) GetThresholdOk() (*int32, bool)
GetThresholdOk returns a tuple with the Threshold field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateSmartContractWalletParams) SetThreshold(v int32)
SetThreshold sets Threshold field to given value.
func (o *CreateSmartContractWalletParams) HasThreshold() bool
HasThreshold returns a boolean if a field has been set.
func (o *CreateSmartContractWalletParams) GetCoboSafeAddress() string
GetCoboSafeAddress returns the CoboSafeAddress field if non-nil, zero value otherwise.
func (o *CreateSmartContractWalletParams) GetCoboSafeAddressOk() (*string, bool)
GetCoboSafeAddressOk returns a tuple with the CoboSafeAddress field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateSmartContractWalletParams) SetCoboSafeAddress(v string)
SetCoboSafeAddress sets CoboSafeAddress field to given value.
func (o *CreateSmartContractWalletParams) HasCoboSafeAddress() bool
HasCoboSafeAddress returns a boolean if a field has been set.
func (o *CreateSmartContractWalletParams) GetInitiator() SmartContractInitiator
GetInitiator returns the Initiator field if non-nil, zero value otherwise.
func (o *CreateSmartContractWalletParams) GetInitiatorOk() (*SmartContractInitiator, bool)
GetInitiatorOk returns a tuple with the Initiator field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateSmartContractWalletParams) SetInitiator(v SmartContractInitiator)
SetInitiator sets Initiator field to given value.
func (o *CreateSmartContractWalletParams) HasInitiator() bool
HasInitiator returns a boolean if a field has been set.