subscription

package
v1.3.17 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const SubscriptionABI = "" /* 361-byte string literal not displayed */

SubscriptionABI is the input ABI used to generate the binding from.

View Source
const SubscriptionBin = `` /* 1160-byte string literal not displayed */

SubscriptionBin is the compiled bytecode used for deploying new contracts.

Variables

This section is empty.

Functions

This section is empty.

Types

type Subscription

type Subscription struct {
	SubscriptionCaller     // Read-only binding to the contract
	SubscriptionTransactor // Write-only binding to the contract
	SubscriptionFilterer   // Log filterer for contract events
}

Subscription is an auto generated Go binding around an Ethereum contract.

func DeploySubscription

func DeploySubscription(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Subscription, error)

DeploySubscription deploys a new Ethereum contract, binding an instance of Subscription to it.

func NewSubscription

func NewSubscription(address common.Address, backend bind.ContractBackend) (*Subscription, error)

NewSubscription creates a new instance of Subscription, bound to a specific deployed contract.

type SubscriptionCaller

type SubscriptionCaller struct {
	// contains filtered or unexported fields
}

SubscriptionCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewSubscriptionCaller

func NewSubscriptionCaller(address common.Address, caller bind.ContractCaller) (*SubscriptionCaller, error)

NewSubscriptionCaller creates a new read-only instance of Subscription, bound to a specific deployed contract.

func (*SubscriptionCaller) GetSubscriptionData

func (_Subscription *SubscriptionCaller) GetSubscriptionData(opts *bind.CallOpts, _id [32]byte) (struct {
	Id        [32]byte
	Profile   string
	StartTime *big.Int
	Tokens    *big.Int
}, error)

GetSubscriptionData is a free data retrieval call binding the contract method 0xc0050637.

Solidity: function getSubscriptionData(bytes32 _id) constant returns(bytes32 id, string profile, uint256 startTime, uint256 tokens)

type SubscriptionCallerRaw

type SubscriptionCallerRaw struct {
	Contract *SubscriptionCaller // Generic read-only contract binding to access the raw methods on
}

SubscriptionCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*SubscriptionCallerRaw) Call

func (_Subscription *SubscriptionCallerRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type SubscriptionCallerSession

type SubscriptionCallerSession struct {
	Contract *SubscriptionCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts       // Call options to use throughout this session
}

SubscriptionCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*SubscriptionCallerSession) GetSubscriptionData

func (_Subscription *SubscriptionCallerSession) GetSubscriptionData(_id [32]byte) (struct {
	Id        [32]byte
	Profile   string
	StartTime *big.Int
	Tokens    *big.Int
}, error)

GetSubscriptionData is a free data retrieval call binding the contract method 0xc0050637.

Solidity: function getSubscriptionData(bytes32 _id) constant returns(bytes32 id, string profile, uint256 startTime, uint256 tokens)

type SubscriptionFilterer

type SubscriptionFilterer struct {
	// contains filtered or unexported fields
}

SubscriptionFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewSubscriptionFilterer

func NewSubscriptionFilterer(address common.Address, filterer bind.ContractFilterer) (*SubscriptionFilterer, error)

NewSubscriptionFilterer creates a new log filterer instance of Subscription, bound to a specific deployed contract.

type SubscriptionRaw

type SubscriptionRaw struct {
	Contract *Subscription // Generic contract binding to access the raw methods on
}

SubscriptionRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*SubscriptionRaw) Call

func (_Subscription *SubscriptionRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*SubscriptionRaw) Transact

func (_Subscription *SubscriptionRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*SubscriptionRaw) Transfer

func (_Subscription *SubscriptionRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type SubscriptionSession

type SubscriptionSession struct {
	Contract     *Subscription     // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

SubscriptionSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*SubscriptionSession) GetSubscriptionData

func (_Subscription *SubscriptionSession) GetSubscriptionData(_id [32]byte) (struct {
	Id        [32]byte
	Profile   string
	StartTime *big.Int
	Tokens    *big.Int
}, error)

GetSubscriptionData is a free data retrieval call binding the contract method 0xc0050637.

Solidity: function getSubscriptionData(bytes32 _id) constant returns(bytes32 id, string profile, uint256 startTime, uint256 tokens)

type SubscriptionTransactor

type SubscriptionTransactor struct {
	// contains filtered or unexported fields
}

SubscriptionTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewSubscriptionTransactor

func NewSubscriptionTransactor(address common.Address, transactor bind.ContractTransactor) (*SubscriptionTransactor, error)

NewSubscriptionTransactor creates a new write-only instance of Subscription, bound to a specific deployed contract.

type SubscriptionTransactorRaw

type SubscriptionTransactorRaw struct {
	Contract *SubscriptionTransactor // Generic write-only contract binding to access the raw methods on
}

SubscriptionTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*SubscriptionTransactorRaw) Transact

func (_Subscription *SubscriptionTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*SubscriptionTransactorRaw) Transfer

func (_Subscription *SubscriptionTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type SubscriptionTransactorSession

type SubscriptionTransactorSession struct {
	Contract     *SubscriptionTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts       // Transaction auth options to use throughout this session
}

SubscriptionTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

Jump to

Keyboard shortcuts

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