pdash

package
v0.5.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 25, 2019 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RegisterBackend

type RegisterBackend interface {
	bind.ContractBackend
	TransactionReceipt(ctx context.Context, txHash common.Hash) (*types.Receipt, error)
	BalanceAt(ctx context.Context, address common.Address, blockNum *big.Int) (*big.Int, error)
}

type RegisterWrapper

type RegisterWrapper struct {
	*pdash.RegisterSession
	// contains filtered or unexported fields
}

func DeployRegisterAndReturnWrapper

func DeployRegisterAndReturnWrapper(transactOpts *bind.TransactOpts, contractBackend RegisterBackend) (common.Address, *RegisterWrapper, *proxy.ProxyContractRegister, error)

func NewRegisterWrapper

func NewRegisterWrapper(transactOpts *bind.TransactOpts, contractAddr common.Address, contractBackend bind.ContractBackend) (*RegisterWrapper, error)

func (*RegisterWrapper) ClaimRegister

func (self *RegisterWrapper) ClaimRegister(transactOpts *bind.TransactOpts, fileName string, fileHash [32]byte, fileSize *big.Int) (*types.Transaction, error)

func (*RegisterWrapper) GetUploadCount

func (self *RegisterWrapper) GetUploadCount(CallOpts *bind.CallOpts, address common.Address) (*big.Int, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL