Documentation ¶
Index ¶
- type ContractHelper
- func (this *ContractHelper) AddSignerForStep(stepIndex int32, signer hedera.PrivateKey) *ContractHelper
- func (this *ContractHelper) ExecuteSteps(firstStep int32, lastStep int32, client *hedera.Client) (*ContractHelper, error)
- func (this *ContractHelper) GetParameterSupplier(stepIndex int32) func() *hedera.ContractFunctionParameters
- func (this *ContractHelper) GetPayableAmount(stepIndex int32) *hedera.Hbar
- func (this *ContractHelper) GetResultValidator(stepIndex int32) func(hedera.ContractFunctionResult) bool
- func (this *ContractHelper) GetSigners(stepIndex int32) []hedera.PrivateKey
- func (this *ContractHelper) SetFeePayerForStep(stepIndex int32, account hedera.AccountID, accountKey hedera.PrivateKey) *ContractHelper
- func (this *ContractHelper) SetParameterSupplierForStep(stepIndex int32, supplier func() *hedera.ContractFunctionParameters) *ContractHelper
- func (this *ContractHelper) SetPayableAmountForStep(stepIndex int32, amount hedera.Hbar) *ContractHelper
- func (this *ContractHelper) SetResultValidatorForStep(stepIndex int32, validator func(hedera.ContractFunctionResult) bool) *ContractHelper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContractHelper ¶
type ContractHelper struct {
// contains filtered or unexported fields
}
func NewContractHelper ¶
func NewContractHelper(bytecode []byte, constructorParameters hedera.ContractFunctionParameters, client *hedera.Client) *ContractHelper
func (*ContractHelper) AddSignerForStep ¶
func (this *ContractHelper) AddSignerForStep(stepIndex int32, signer hedera.PrivateKey) *ContractHelper
func (*ContractHelper) ExecuteSteps ¶
func (this *ContractHelper) ExecuteSteps(firstStep int32, lastStep int32, client *hedera.Client) (*ContractHelper, error)
func (*ContractHelper) GetParameterSupplier ¶
func (this *ContractHelper) GetParameterSupplier(stepIndex int32) func() *hedera.ContractFunctionParameters
func (*ContractHelper) GetPayableAmount ¶
func (this *ContractHelper) GetPayableAmount(stepIndex int32) *hedera.Hbar
func (*ContractHelper) GetResultValidator ¶
func (this *ContractHelper) GetResultValidator(stepIndex int32) func(hedera.ContractFunctionResult) bool
func (*ContractHelper) GetSigners ¶
func (this *ContractHelper) GetSigners(stepIndex int32) []hedera.PrivateKey
func (*ContractHelper) SetFeePayerForStep ¶
func (this *ContractHelper) SetFeePayerForStep(stepIndex int32, account hedera.AccountID, accountKey hedera.PrivateKey) *ContractHelper
func (*ContractHelper) SetParameterSupplierForStep ¶
func (this *ContractHelper) SetParameterSupplierForStep(stepIndex int32, supplier func() *hedera.ContractFunctionParameters) *ContractHelper
func (*ContractHelper) SetPayableAmountForStep ¶
func (this *ContractHelper) SetPayableAmountForStep(stepIndex int32, amount hedera.Hbar) *ContractHelper
func (*ContractHelper) SetResultValidatorForStep ¶
func (this *ContractHelper) SetResultValidatorForStep(stepIndex int32, validator func(hedera.ContractFunctionResult) bool) *ContractHelper
Click to show internal directories.
Click to hide internal directories.