Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backend ¶
type Backend interface { bind.ContractBackend TransactionReceipt(ctx context.Context, txHash common.Hash) (*types.Receipt, error) // BalanceAt gets balance of specified account at the block specified by parameter blockNum. If blockNum is nil, will be the latest one. BalanceAt(ctx context.Context, address common.Address, blockNum *big.Int) (*big.Int, error) }
Backend wraps all methods required for campaign operation.
type CampaignWrapper ¶
type CampaignWrapper struct { *campaign.CampaignSession // contains filtered or unexported fields }
func DeployCampaign ¶
func NewCampaignWrapper ¶
func NewCampaignWrapper(transactOpts *bind.TransactOpts, contractAddr common.Address, contractBackend Backend) (*CampaignWrapper, error)
func (*CampaignWrapper) ClaimCampaign ¶
func (*CampaignWrapper) MaximumNoc ¶
func (self *CampaignWrapper) MaximumNoc() (*big.Int, error)
Click to show internal directories.
Click to hide internal directories.