bak

package
v0.0.0-...-41b1be1 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2020 License: GPL-3.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const AccelerateNodeABI = "" /* 1671-byte string literal not displayed */

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

View Source
const AccelerateNodeBin = `` /* 5340-byte string literal not displayed */

AccelerateNodeBin is the compiled bytecode used for deploying new contracts.

View Source
const BangumiDataABI = "" /* 3973-byte string literal not displayed */

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

View Source
const BangumiDataBin = `` /* 14510-byte string literal not displayed */

BangumiDataBin is the compiled bytecode used for deploying new contracts.

View Source
const DhashABI = "" /* 2866-byte string literal not displayed */

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

View Source
const DhashBin = `` /* 6350-byte string literal not displayed */

DhashBin is the compiled bytecode used for deploying new contracts.

View Source
const VideoInfoABI = "" /* 9203-byte string literal not displayed */

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

Variables

This section is empty.

Functions

func CmdContract

func CmdContract(app *cli.App) *cli.Command

CmdContract ...

Types

type AccelerateNode

type AccelerateNode struct {
	AccelerateNodeCaller     // Read-only binding to the contract
	AccelerateNodeTransactor // Write-only binding to the contract
	AccelerateNodeFilterer   // Log filterer for contract events
}

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

func DeployAccelerateNode

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

DeployAccelerateNode deploys a new Ethereum contract, binding an instance of AccelerateNode to it.

func NewAccelerateNode

func NewAccelerateNode(address common.Address, backend bind.ContractBackend) (*AccelerateNode, error)

NewAccelerateNode creates a new instance of AccelerateNode, bound to a specific deployed contract.

type AccelerateNodeCaller

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

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

func NewAccelerateNodeCaller

func NewAccelerateNodeCaller(address common.Address, caller bind.ContractCaller) (*AccelerateNodeCaller, error)

NewAccelerateNodeCaller creates a new read-only instance of AccelerateNode, bound to a specific deployed contract.

func (*AccelerateNodeCaller) Get

func (_AccelerateNode *AccelerateNodeCaller) Get(opts *bind.CallOpts) ([]string, error)

Get is a free data retrieval call binding the contract method 0x6d4ce63c.

Solidity: function get() constant returns(string[])

func (*AccelerateNodeCaller) IsOwner

func (_AccelerateNode *AccelerateNodeCaller) IsOwner(opts *bind.CallOpts) (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.

Solidity: function isOwner() constant returns(bool)

func (*AccelerateNodeCaller) Owner

func (_AccelerateNode *AccelerateNodeCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() constant returns(address)

type AccelerateNodeCallerRaw

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

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

func (*AccelerateNodeCallerRaw) Call

func (_AccelerateNode *AccelerateNodeCallerRaw) 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 AccelerateNodeCallerSession

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

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

func (*AccelerateNodeCallerSession) Get

func (_AccelerateNode *AccelerateNodeCallerSession) Get() ([]string, error)

Get is a free data retrieval call binding the contract method 0x6d4ce63c.

Solidity: function get() constant returns(string[])

func (*AccelerateNodeCallerSession) IsOwner

func (_AccelerateNode *AccelerateNodeCallerSession) IsOwner() (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.

Solidity: function isOwner() constant returns(bool)

func (*AccelerateNodeCallerSession) Owner

func (_AccelerateNode *AccelerateNodeCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() constant returns(address)

type AccelerateNodeFilterer

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

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

func NewAccelerateNodeFilterer

func NewAccelerateNodeFilterer(address common.Address, filterer bind.ContractFilterer) (*AccelerateNodeFilterer, error)

NewAccelerateNodeFilterer creates a new log filterer instance of AccelerateNode, bound to a specific deployed contract.

func (*AccelerateNodeFilterer) FilterOwnershipTransferred

func (_AccelerateNode *AccelerateNodeFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*AccelerateNodeOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*AccelerateNodeFilterer) WatchOwnershipTransferred

func (_AccelerateNode *AccelerateNodeFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *AccelerateNodeOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

type AccelerateNodeOwnershipTransferred

type AccelerateNodeOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

AccelerateNodeOwnershipTransferred represents a OwnershipTransferred event raised by the AccelerateNode contract.

type AccelerateNodeOwnershipTransferredIterator

type AccelerateNodeOwnershipTransferredIterator struct {
	Event *AccelerateNodeOwnershipTransferred // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

AccelerateNodeOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the AccelerateNode contract.

func (*AccelerateNodeOwnershipTransferredIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*AccelerateNodeOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AccelerateNodeOwnershipTransferredIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type AccelerateNodeRaw

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

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

func (*AccelerateNodeRaw) Call

func (_AccelerateNode *AccelerateNodeRaw) 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 (*AccelerateNodeRaw) Transact

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

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

func (*AccelerateNodeRaw) Transfer

func (_AccelerateNode *AccelerateNodeRaw) 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 AccelerateNodeSession

type AccelerateNodeSession struct {
	Contract     *AccelerateNode   // 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
}

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

func (*AccelerateNodeSession) Add

func (_AccelerateNode *AccelerateNodeSession) Add(n string) (*types.Transaction, error)

Add is a paid mutator transaction binding the contract method 0xb0c8f9dc.

Solidity: function add(string n) returns(string[])

func (*AccelerateNodeSession) Get

func (_AccelerateNode *AccelerateNodeSession) Get() ([]string, error)

Get is a free data retrieval call binding the contract method 0x6d4ce63c.

Solidity: function get() constant returns(string[])

func (*AccelerateNodeSession) IsOwner

func (_AccelerateNode *AccelerateNodeSession) IsOwner() (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.

Solidity: function isOwner() constant returns(bool)

func (*AccelerateNodeSession) Owner

func (_AccelerateNode *AccelerateNodeSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() constant returns(address)

func (*AccelerateNodeSession) RenounceOwnership

func (_AccelerateNode *AccelerateNodeSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*AccelerateNodeSession) Replace

func (_AccelerateNode *AccelerateNodeSession) Replace(idx uint32, n string) (*types.Transaction, error)

Replace is a paid mutator transaction binding the contract method 0x853c51cc.

Solidity: function replace(uint32 idx, string n) returns()

func (*AccelerateNodeSession) Reset

func (_AccelerateNode *AccelerateNodeSession) Reset() (*types.Transaction, error)

Reset is a paid mutator transaction binding the contract method 0xd826f88f.

Solidity: function reset() returns()

func (*AccelerateNodeSession) TransferOwnership

func (_AccelerateNode *AccelerateNodeSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type AccelerateNodeTransactor

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

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

func NewAccelerateNodeTransactor

func NewAccelerateNodeTransactor(address common.Address, transactor bind.ContractTransactor) (*AccelerateNodeTransactor, error)

NewAccelerateNodeTransactor creates a new write-only instance of AccelerateNode, bound to a specific deployed contract.

func (*AccelerateNodeTransactor) Add

func (_AccelerateNode *AccelerateNodeTransactor) Add(opts *bind.TransactOpts, n string) (*types.Transaction, error)

Add is a paid mutator transaction binding the contract method 0xb0c8f9dc.

Solidity: function add(string n) returns(string[])

func (*AccelerateNodeTransactor) RenounceOwnership

func (_AccelerateNode *AccelerateNodeTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*AccelerateNodeTransactor) Replace

func (_AccelerateNode *AccelerateNodeTransactor) Replace(opts *bind.TransactOpts, idx uint32, n string) (*types.Transaction, error)

Replace is a paid mutator transaction binding the contract method 0x853c51cc.

Solidity: function replace(uint32 idx, string n) returns()

func (*AccelerateNodeTransactor) Reset

func (_AccelerateNode *AccelerateNodeTransactor) Reset(opts *bind.TransactOpts) (*types.Transaction, error)

Reset is a paid mutator transaction binding the contract method 0xd826f88f.

Solidity: function reset() returns()

func (*AccelerateNodeTransactor) TransferOwnership

func (_AccelerateNode *AccelerateNodeTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type AccelerateNodeTransactorRaw

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

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

func (*AccelerateNodeTransactorRaw) Transact

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

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

func (*AccelerateNodeTransactorRaw) Transfer

func (_AccelerateNode *AccelerateNodeTransactorRaw) 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 AccelerateNodeTransactorSession

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

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

func (*AccelerateNodeTransactorSession) Add

func (_AccelerateNode *AccelerateNodeTransactorSession) Add(n string) (*types.Transaction, error)

Add is a paid mutator transaction binding the contract method 0xb0c8f9dc.

Solidity: function add(string n) returns(string[])

func (*AccelerateNodeTransactorSession) RenounceOwnership

func (_AccelerateNode *AccelerateNodeTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*AccelerateNodeTransactorSession) Replace

func (_AccelerateNode *AccelerateNodeTransactorSession) Replace(idx uint32, n string) (*types.Transaction, error)

Replace is a paid mutator transaction binding the contract method 0x853c51cc.

Solidity: function replace(uint32 idx, string n) returns()

func (*AccelerateNodeTransactorSession) Reset

func (_AccelerateNode *AccelerateNodeTransactorSession) Reset() (*types.Transaction, error)

Reset is a paid mutator transaction binding the contract method 0xd826f88f.

Solidity: function reset() returns()

func (*AccelerateNodeTransactorSession) TransferOwnership

func (_AccelerateNode *AccelerateNodeTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type BangumiData

type BangumiData struct {
	BangumiDataCaller     // Read-only binding to the contract
	BangumiDataTransactor // Write-only binding to the contract
	BangumiDataFilterer   // Log filterer for contract events
}

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

func DeployBangumiData

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

DeployBangumiData deploys a new Ethereum contract, binding an instance of BangumiData to it.

func NewBangumiData

func NewBangumiData(address common.Address, backend bind.ContractBackend) (*BangumiData, error)

NewBangumiData creates a new instance of BangumiData, bound to a specific deployed contract.

type BangumiDataCaller

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

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

func NewBangumiDataCaller

func NewBangumiDataCaller(address common.Address, caller bind.ContractCaller) (*BangumiDataCaller, error)

NewBangumiDataCaller creates a new read-only instance of BangumiData, bound to a specific deployed contract.

func (*BangumiDataCaller) IsOwner

func (_BangumiData *BangumiDataCaller) IsOwner(opts *bind.CallOpts) (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.

Solidity: function isOwner() constant returns(bool)

func (*BangumiDataCaller) Owner

func (_BangumiData *BangumiDataCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() constant returns(address)

func (*BangumiDataCaller) QueryEpisode

func (_BangumiData *BangumiDataCaller) QueryEpisode(opts *bind.CallOpts, sn string) (string, error)

QueryEpisode is a free data retrieval call binding the contract method 0xfd4e9025.

Solidity: function queryEpisode(string sn) constant returns(string)

func (*BangumiDataCaller) QueryHash

func (_BangumiData *BangumiDataCaller) QueryHash(opts *bind.CallOpts, sn string) (string, error)

QueryHash is a free data retrieval call binding the contract method 0x14d40706.

Solidity: function queryHash(string sn) constant returns(string)

func (*BangumiDataCaller) QueryName

func (_BangumiData *BangumiDataCaller) QueryName(opts *bind.CallOpts, sn string) (string, error)

QueryName is a free data retrieval call binding the contract method 0xd5de3723.

Solidity: function queryName(string sn) constant returns(string)

func (*BangumiDataCaller) QueryPoster

func (_BangumiData *BangumiDataCaller) QueryPoster(opts *bind.CallOpts, sn string) (string, error)

QueryPoster is a free data retrieval call binding the contract method 0x8bff2ad7.

Solidity: function queryPoster(string sn) constant returns(string)

func (*BangumiDataCaller) QueryRole

func (_BangumiData *BangumiDataCaller) QueryRole(opts *bind.CallOpts, sn string) (string, error)

QueryRole is a free data retrieval call binding the contract method 0xa496a427.

Solidity: function queryRole(string sn) constant returns(string)

func (*BangumiDataCaller) QuerySarmid

func (_BangumiData *BangumiDataCaller) QuerySarmid(opts *bind.CallOpts, sn string) (string, error)

QuerySarmid is a free data retrieval call binding the contract method 0x4b9722f5.

Solidity: function querySarmid(string sn) constant returns(string)

func (*BangumiDataCaller) QuerySharpness

func (_BangumiData *BangumiDataCaller) QuerySharpness(opts *bind.CallOpts, sn string) (string, error)

QuerySharpness is a free data retrieval call binding the contract method 0x1fccd5ff.

Solidity: function querySharpness(string sn) constant returns(string)

func (*BangumiDataCaller) QuerySwarmAdd

func (_BangumiData *BangumiDataCaller) QuerySwarmAdd(opts *bind.CallOpts, sn string) (string, error)

QuerySwarmAdd is a free data retrieval call binding the contract method 0x557bafc0.

Solidity: function querySwarmAdd(string sn) constant returns(string)

func (*BangumiDataCaller) QueryTotalEpisode

func (_BangumiData *BangumiDataCaller) QueryTotalEpisode(opts *bind.CallOpts, sn string) (string, error)

QueryTotalEpisode is a free data retrieval call binding the contract method 0x702e8170.

Solidity: function queryTotalEpisode(string sn) constant returns(string)

func (*BangumiDataCaller) QueryTotalSeason

func (_BangumiData *BangumiDataCaller) QueryTotalSeason(opts *bind.CallOpts, sn string) (string, error)

QueryTotalSeason is a free data retrieval call binding the contract method 0x16f16be2.

Solidity: function queryTotalSeason(string sn) constant returns(string)

func (*BangumiDataCaller) QueryVideoType

func (_BangumiData *BangumiDataCaller) QueryVideoType(opts *bind.CallOpts, sn string) (string, error)

QueryVideoType is a free data retrieval call binding the contract method 0x95463ae0.

Solidity: function queryVideoType(string sn) constant returns(string)

type BangumiDataCallerRaw

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

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

func (*BangumiDataCallerRaw) Call

func (_BangumiData *BangumiDataCallerRaw) 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 BangumiDataCallerSession

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

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

func (*BangumiDataCallerSession) IsOwner

func (_BangumiData *BangumiDataCallerSession) IsOwner() (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.

Solidity: function isOwner() constant returns(bool)

func (*BangumiDataCallerSession) Owner

func (_BangumiData *BangumiDataCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() constant returns(address)

func (*BangumiDataCallerSession) QueryEpisode

func (_BangumiData *BangumiDataCallerSession) QueryEpisode(sn string) (string, error)

QueryEpisode is a free data retrieval call binding the contract method 0xfd4e9025.

Solidity: function queryEpisode(string sn) constant returns(string)

func (*BangumiDataCallerSession) QueryHash

func (_BangumiData *BangumiDataCallerSession) QueryHash(sn string) (string, error)

QueryHash is a free data retrieval call binding the contract method 0x14d40706.

Solidity: function queryHash(string sn) constant returns(string)

func (*BangumiDataCallerSession) QueryName

func (_BangumiData *BangumiDataCallerSession) QueryName(sn string) (string, error)

QueryName is a free data retrieval call binding the contract method 0xd5de3723.

Solidity: function queryName(string sn) constant returns(string)

func (*BangumiDataCallerSession) QueryPoster

func (_BangumiData *BangumiDataCallerSession) QueryPoster(sn string) (string, error)

QueryPoster is a free data retrieval call binding the contract method 0x8bff2ad7.

Solidity: function queryPoster(string sn) constant returns(string)

func (*BangumiDataCallerSession) QueryRole

func (_BangumiData *BangumiDataCallerSession) QueryRole(sn string) (string, error)

QueryRole is a free data retrieval call binding the contract method 0xa496a427.

Solidity: function queryRole(string sn) constant returns(string)

func (*BangumiDataCallerSession) QuerySarmid

func (_BangumiData *BangumiDataCallerSession) QuerySarmid(sn string) (string, error)

QuerySarmid is a free data retrieval call binding the contract method 0x4b9722f5.

Solidity: function querySarmid(string sn) constant returns(string)

func (*BangumiDataCallerSession) QuerySharpness

func (_BangumiData *BangumiDataCallerSession) QuerySharpness(sn string) (string, error)

QuerySharpness is a free data retrieval call binding the contract method 0x1fccd5ff.

Solidity: function querySharpness(string sn) constant returns(string)

func (*BangumiDataCallerSession) QuerySwarmAdd

func (_BangumiData *BangumiDataCallerSession) QuerySwarmAdd(sn string) (string, error)

QuerySwarmAdd is a free data retrieval call binding the contract method 0x557bafc0.

Solidity: function querySwarmAdd(string sn) constant returns(string)

func (*BangumiDataCallerSession) QueryTotalEpisode

func (_BangumiData *BangumiDataCallerSession) QueryTotalEpisode(sn string) (string, error)

QueryTotalEpisode is a free data retrieval call binding the contract method 0x702e8170.

Solidity: function queryTotalEpisode(string sn) constant returns(string)

func (*BangumiDataCallerSession) QueryTotalSeason

func (_BangumiData *BangumiDataCallerSession) QueryTotalSeason(sn string) (string, error)

QueryTotalSeason is a free data retrieval call binding the contract method 0x16f16be2.

Solidity: function queryTotalSeason(string sn) constant returns(string)

func (*BangumiDataCallerSession) QueryVideoType

func (_BangumiData *BangumiDataCallerSession) QueryVideoType(sn string) (string, error)

QueryVideoType is a free data retrieval call binding the contract method 0x95463ae0.

Solidity: function queryVideoType(string sn) constant returns(string)

type BangumiDataFilterer

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

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

func NewBangumiDataFilterer

func NewBangumiDataFilterer(address common.Address, filterer bind.ContractFilterer) (*BangumiDataFilterer, error)

NewBangumiDataFilterer creates a new log filterer instance of BangumiData, bound to a specific deployed contract.

func (*BangumiDataFilterer) FilterOwnershipTransferred

func (_BangumiData *BangumiDataFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*BangumiDataOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*BangumiDataFilterer) WatchOwnershipTransferred

func (_BangumiData *BangumiDataFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *BangumiDataOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

type BangumiDataOwnershipTransferred

type BangumiDataOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

BangumiDataOwnershipTransferred represents a OwnershipTransferred event raised by the BangumiData contract.

type BangumiDataOwnershipTransferredIterator

type BangumiDataOwnershipTransferredIterator struct {
	Event *BangumiDataOwnershipTransferred // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BangumiDataOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the BangumiData contract.

func (*BangumiDataOwnershipTransferredIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*BangumiDataOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BangumiDataOwnershipTransferredIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BangumiDataRaw

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

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

func (*BangumiDataRaw) Call

func (_BangumiData *BangumiDataRaw) 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 (*BangumiDataRaw) Transact

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

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

func (*BangumiDataRaw) Transfer

func (_BangumiData *BangumiDataRaw) 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 BangumiDataSession

type BangumiDataSession struct {
	Contract     *BangumiData      // 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
}

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

func (*BangumiDataSession) InfoInput

func (_BangumiData *BangumiDataSession) InfoInput(_bangumi string, _poster string, _role string, _hash string, _name string, _sharpness string, _episode string, _totalEpisode string, _season string, _videoType string, _swarmID string, _swarmAdd string) (*types.Transaction, error)

InfoInput is a paid mutator transaction binding the contract method 0xe0880590.

Solidity: function _infoInput(string _bangumi, string _poster, string _role, string _hash, string _name, string _sharpness, string _episode, string _totalEpisode, string _season, string _videoType, string _swarmID, string _swarmAdd) returns()

func (*BangumiDataSession) IsOwner

func (_BangumiData *BangumiDataSession) IsOwner() (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.

Solidity: function isOwner() constant returns(bool)

func (*BangumiDataSession) Owner

func (_BangumiData *BangumiDataSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() constant returns(address)

func (*BangumiDataSession) QueryEpisode

func (_BangumiData *BangumiDataSession) QueryEpisode(sn string) (string, error)

QueryEpisode is a free data retrieval call binding the contract method 0xfd4e9025.

Solidity: function queryEpisode(string sn) constant returns(string)

func (*BangumiDataSession) QueryHash

func (_BangumiData *BangumiDataSession) QueryHash(sn string) (string, error)

QueryHash is a free data retrieval call binding the contract method 0x14d40706.

Solidity: function queryHash(string sn) constant returns(string)

func (*BangumiDataSession) QueryName

func (_BangumiData *BangumiDataSession) QueryName(sn string) (string, error)

QueryName is a free data retrieval call binding the contract method 0xd5de3723.

Solidity: function queryName(string sn) constant returns(string)

func (*BangumiDataSession) QueryPoster

func (_BangumiData *BangumiDataSession) QueryPoster(sn string) (string, error)

QueryPoster is a free data retrieval call binding the contract method 0x8bff2ad7.

Solidity: function queryPoster(string sn) constant returns(string)

func (*BangumiDataSession) QueryRole

func (_BangumiData *BangumiDataSession) QueryRole(sn string) (string, error)

QueryRole is a free data retrieval call binding the contract method 0xa496a427.

Solidity: function queryRole(string sn) constant returns(string)

func (*BangumiDataSession) QuerySarmid

func (_BangumiData *BangumiDataSession) QuerySarmid(sn string) (string, error)

QuerySarmid is a free data retrieval call binding the contract method 0x4b9722f5.

Solidity: function querySarmid(string sn) constant returns(string)

func (*BangumiDataSession) QuerySharpness

func (_BangumiData *BangumiDataSession) QuerySharpness(sn string) (string, error)

QuerySharpness is a free data retrieval call binding the contract method 0x1fccd5ff.

Solidity: function querySharpness(string sn) constant returns(string)

func (*BangumiDataSession) QuerySwarmAdd

func (_BangumiData *BangumiDataSession) QuerySwarmAdd(sn string) (string, error)

QuerySwarmAdd is a free data retrieval call binding the contract method 0x557bafc0.

Solidity: function querySwarmAdd(string sn) constant returns(string)

func (*BangumiDataSession) QueryTotalEpisode

func (_BangumiData *BangumiDataSession) QueryTotalEpisode(sn string) (string, error)

QueryTotalEpisode is a free data retrieval call binding the contract method 0x702e8170.

Solidity: function queryTotalEpisode(string sn) constant returns(string)

func (*BangumiDataSession) QueryTotalSeason

func (_BangumiData *BangumiDataSession) QueryTotalSeason(sn string) (string, error)

QueryTotalSeason is a free data retrieval call binding the contract method 0x16f16be2.

Solidity: function queryTotalSeason(string sn) constant returns(string)

func (*BangumiDataSession) QueryVideoType

func (_BangumiData *BangumiDataSession) QueryVideoType(sn string) (string, error)

QueryVideoType is a free data retrieval call binding the contract method 0x95463ae0.

Solidity: function queryVideoType(string sn) constant returns(string)

func (*BangumiDataSession) RenounceOwnership

func (_BangumiData *BangumiDataSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*BangumiDataSession) TransferOwnership

func (_BangumiData *BangumiDataSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type BangumiDataTransactor

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

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

func NewBangumiDataTransactor

func NewBangumiDataTransactor(address common.Address, transactor bind.ContractTransactor) (*BangumiDataTransactor, error)

NewBangumiDataTransactor creates a new write-only instance of BangumiData, bound to a specific deployed contract.

func (*BangumiDataTransactor) InfoInput

func (_BangumiData *BangumiDataTransactor) InfoInput(opts *bind.TransactOpts, _bangumi string, _poster string, _role string, _hash string, _name string, _sharpness string, _episode string, _totalEpisode string, _season string, _videoType string, _swarmID string, _swarmAdd string) (*types.Transaction, error)

InfoInput is a paid mutator transaction binding the contract method 0xe0880590.

Solidity: function _infoInput(string _bangumi, string _poster, string _role, string _hash, string _name, string _sharpness, string _episode, string _totalEpisode, string _season, string _videoType, string _swarmID, string _swarmAdd) returns()

func (*BangumiDataTransactor) RenounceOwnership

func (_BangumiData *BangumiDataTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*BangumiDataTransactor) TransferOwnership

func (_BangumiData *BangumiDataTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type BangumiDataTransactorRaw

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

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

func (*BangumiDataTransactorRaw) Transact

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

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

func (*BangumiDataTransactorRaw) Transfer

func (_BangumiData *BangumiDataTransactorRaw) 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 BangumiDataTransactorSession

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

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

func (*BangumiDataTransactorSession) InfoInput

func (_BangumiData *BangumiDataTransactorSession) InfoInput(_bangumi string, _poster string, _role string, _hash string, _name string, _sharpness string, _episode string, _totalEpisode string, _season string, _videoType string, _swarmID string, _swarmAdd string) (*types.Transaction, error)

InfoInput is a paid mutator transaction binding the contract method 0xe0880590.

Solidity: function _infoInput(string _bangumi, string _poster, string _role, string _hash, string _name, string _sharpness, string _episode, string _totalEpisode, string _season, string _videoType, string _swarmID, string _swarmAdd) returns()

func (*BangumiDataTransactorSession) RenounceOwnership

func (_BangumiData *BangumiDataTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*BangumiDataTransactorSession) TransferOwnership

func (_BangumiData *BangumiDataTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type Contract

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

Contract ...

func NewContract

func NewContract(key string) *Contract

NewContract ...

func (*Contract) AddReplaceNode

func (c *Contract) AddReplaceNode(index int64, node ...string) (e error)

AddReplaceNode ...

func (*Contract) CheckExist

func (c *Contract) CheckExist(ban string) (hash string, e error)

CheckExist ...

func (*Contract) CheckInfo

func (c *Contract) CheckInfo(ban string, hash1, sp1 string, te1 string, ts1 string) (hash string, e error)

CheckInfo ...

func (*Contract) CheckNameExists

func (c *Contract) CheckNameExists(ban string, idx ...int) (e error)

CheckNameExists ...

func (*Contract) Close

func (c *Contract) Close()

Close ...

func (*Contract) GetCodeVersion

func (c *Contract) GetCodeVersion(code *big.Int) (ver string, e error)

GetCodeVersion ...

func (*Contract) GetHostList

func (c *Contract) GetHostList() (list []string)

GetHostList ...

func (*Contract) GetLastVersionCode

func (c *Contract) GetLastVersionCode() (code *big.Int, e error)

GetLastVersionCode ...

func (*Contract) GetLastVersionHash

func (c *Contract) GetLastVersionHash() (ver, hash string, e error)

GetLastVersionHash ...

func (*Contract) GetLatest

func (c *Contract) GetLatest() (code *big.Int, hash string, e error)

GetLatest ...

func (*Contract) InfoInput

func (c *Contract) InfoInput(video *model.Video, b bool) (e error)

InfoInput ...

func (*Contract) PrivateKey

func (c *Contract) PrivateKey() (key *ecdsa.PrivateKey)

PrivateKey ...

func (*Contract) ProcContract

func (c *Contract) ProcContract(fn func(v interface{}) (bool, error)) (e error)

ProcContract ...

func (*Contract) RegisterContract

func (c *Contract) RegisterContract(fn func(eth *Contract) interface{})

RegisterContract ...

func (*Contract) UpdateApp

func (c *Contract) UpdateApp(code int64, version string, hash string) (e error)

UpdateApp ...

func (*Contract) UpdateAppWithPath

func (c *Contract) UpdateAppWithPath(code int64, version, path string) error

UpdateAppWithPath ...

func (*Contract) UpdateHotList

func (c *Contract) UpdateHotList(list ...string) (e error)

UpdateHotList ...

type Dhash

type Dhash struct {
	DhashCaller     // Read-only binding to the contract
	DhashTransactor // Write-only binding to the contract
	DhashFilterer   // Log filterer for contract events
}

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

func DeployDhash

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

DeployDhash deploys a new Ethereum contract, binding an instance of Dhash to it.

func NewDhash

func NewDhash(address common.Address, backend bind.ContractBackend) (*Dhash, error)

NewDhash creates a new instance of Dhash, bound to a specific deployed contract.

type DhashCaller

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

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

func NewDhashCaller

func NewDhashCaller(address common.Address, caller bind.ContractCaller) (*DhashCaller, error)

NewDhashCaller creates a new read-only instance of Dhash, bound to a specific deployed contract.

func (*DhashCaller) GetHash

func (_Dhash *DhashCaller) GetHash(opts *bind.CallOpts, _version string) (string, error)

GetHash is a free data retrieval call binding the contract method 0x5b6beeb9.

Solidity: function getHash(string _version) constant returns(string)

func (*DhashCaller) GetHotList

func (_Dhash *DhashCaller) GetHotList(opts *bind.CallOpts) (string, error)

GetHotList is a free data retrieval call binding the contract method 0xb417985d.

Solidity: function getHotList() constant returns(string)

func (*DhashCaller) GetLatest

func (_Dhash *DhashCaller) GetLatest(opts *bind.CallOpts) (*big.Int, string, error)

GetLatest is a free data retrieval call binding the contract method 0xc36af460.

Solidity: function getLatest() constant returns(uint256, string)

func (*DhashCaller) HotList

func (_Dhash *DhashCaller) HotList(opts *bind.CallOpts) (string, error)

HotList is a free data retrieval call binding the contract method 0x20c2fff7.

Solidity: function hotList() constant returns(string)

func (*DhashCaller) IsOwner

func (_Dhash *DhashCaller) IsOwner(opts *bind.CallOpts) (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.

Solidity: function isOwner() constant returns(bool)

func (*DhashCaller) Latest

func (_Dhash *DhashCaller) Latest(opts *bind.CallOpts) (*big.Int, error)

Latest is a free data retrieval call binding the contract method 0x52bfe789.

Solidity: function latest() constant returns(uint256)

func (*DhashCaller) Owner

func (_Dhash *DhashCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() constant returns(address)

func (*DhashCaller) VersionHash

func (_Dhash *DhashCaller) VersionHash(opts *bind.CallOpts, arg0 string) (string, error)

VersionHash is a free data retrieval call binding the contract method 0xd299862a.

Solidity: function versionHash(string ) constant returns(string)

func (*DhashCaller) VersionTable

func (_Dhash *DhashCaller) VersionTable(opts *bind.CallOpts, arg0 *big.Int) (string, error)

VersionTable is a free data retrieval call binding the contract method 0xb2242d29.

Solidity: function versionTable(uint256 ) constant returns(string)

type DhashCallerRaw

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

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

func (*DhashCallerRaw) Call

func (_Dhash *DhashCallerRaw) 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 DhashCallerSession

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

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

func (*DhashCallerSession) GetHash

func (_Dhash *DhashCallerSession) GetHash(_version string) (string, error)

GetHash is a free data retrieval call binding the contract method 0x5b6beeb9.

Solidity: function getHash(string _version) constant returns(string)

func (*DhashCallerSession) GetHotList

func (_Dhash *DhashCallerSession) GetHotList() (string, error)

GetHotList is a free data retrieval call binding the contract method 0xb417985d.

Solidity: function getHotList() constant returns(string)

func (*DhashCallerSession) GetLatest

func (_Dhash *DhashCallerSession) GetLatest() (*big.Int, string, error)

GetLatest is a free data retrieval call binding the contract method 0xc36af460.

Solidity: function getLatest() constant returns(uint256, string)

func (*DhashCallerSession) HotList

func (_Dhash *DhashCallerSession) HotList() (string, error)

HotList is a free data retrieval call binding the contract method 0x20c2fff7.

Solidity: function hotList() constant returns(string)

func (*DhashCallerSession) IsOwner

func (_Dhash *DhashCallerSession) IsOwner() (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.

Solidity: function isOwner() constant returns(bool)

func (*DhashCallerSession) Latest

func (_Dhash *DhashCallerSession) Latest() (*big.Int, error)

Latest is a free data retrieval call binding the contract method 0x52bfe789.

Solidity: function latest() constant returns(uint256)

func (*DhashCallerSession) Owner

func (_Dhash *DhashCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() constant returns(address)

func (*DhashCallerSession) VersionHash

func (_Dhash *DhashCallerSession) VersionHash(arg0 string) (string, error)

VersionHash is a free data retrieval call binding the contract method 0xd299862a.

Solidity: function versionHash(string ) constant returns(string)

func (*DhashCallerSession) VersionTable

func (_Dhash *DhashCallerSession) VersionTable(arg0 *big.Int) (string, error)

VersionTable is a free data retrieval call binding the contract method 0xb2242d29.

Solidity: function versionTable(uint256 ) constant returns(string)

type DhashFilterer

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

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

func NewDhashFilterer

func NewDhashFilterer(address common.Address, filterer bind.ContractFilterer) (*DhashFilterer, error)

NewDhashFilterer creates a new log filterer instance of Dhash, bound to a specific deployed contract.

func (*DhashFilterer) FilterOwnershipTransferred

func (_Dhash *DhashFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*DhashOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*DhashFilterer) WatchOwnershipTransferred

func (_Dhash *DhashFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *DhashOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

type DhashOwnershipTransferred

type DhashOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

DhashOwnershipTransferred represents a OwnershipTransferred event raised by the Dhash contract.

type DhashOwnershipTransferredIterator

type DhashOwnershipTransferredIterator struct {
	Event *DhashOwnershipTransferred // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

DhashOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Dhash contract.

func (*DhashOwnershipTransferredIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*DhashOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*DhashOwnershipTransferredIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type DhashRaw

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

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

func (*DhashRaw) Call

func (_Dhash *DhashRaw) 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 (*DhashRaw) Transact

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

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

func (*DhashRaw) Transfer

func (_Dhash *DhashRaw) 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 DhashSession

type DhashSession struct {
	Contract     *Dhash            // 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
}

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

func (*DhashSession) GetHash

func (_Dhash *DhashSession) GetHash(_version string) (string, error)

GetHash is a free data retrieval call binding the contract method 0x5b6beeb9.

Solidity: function getHash(string _version) constant returns(string)

func (*DhashSession) GetHotList

func (_Dhash *DhashSession) GetHotList() (string, error)

GetHotList is a free data retrieval call binding the contract method 0xb417985d.

Solidity: function getHotList() constant returns(string)

func (*DhashSession) GetLatest

func (_Dhash *DhashSession) GetLatest() (*big.Int, string, error)

GetLatest is a free data retrieval call binding the contract method 0xc36af460.

Solidity: function getLatest() constant returns(uint256, string)

func (*DhashSession) HotList

func (_Dhash *DhashSession) HotList() (string, error)

HotList is a free data retrieval call binding the contract method 0x20c2fff7.

Solidity: function hotList() constant returns(string)

func (*DhashSession) IsOwner

func (_Dhash *DhashSession) IsOwner() (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.

Solidity: function isOwner() constant returns(bool)

func (*DhashSession) Latest

func (_Dhash *DhashSession) Latest() (*big.Int, error)

Latest is a free data retrieval call binding the contract method 0x52bfe789.

Solidity: function latest() constant returns(uint256)

func (*DhashSession) Owner

func (_Dhash *DhashSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() constant returns(address)

func (*DhashSession) RenounceOwnership

func (_Dhash *DhashSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*DhashSession) TransferOwnership

func (_Dhash *DhashSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*DhashSession) UpdateHotList

func (_Dhash *DhashSession) UpdateHotList(_list string) (*types.Transaction, error)

UpdateHotList is a paid mutator transaction binding the contract method 0x9f2c6d65.

Solidity: function updateHotList(string _list) returns()

func (*DhashSession) UpdateVersion

func (_Dhash *DhashSession) UpdateVersion(_version string, _hash string, _code *big.Int) (*types.Transaction, error)

UpdateVersion is a paid mutator transaction binding the contract method 0xaa0192cc.

Solidity: function updateVersion(string _version, string _hash, uint256 _code) returns()

func (*DhashSession) VersionHash

func (_Dhash *DhashSession) VersionHash(arg0 string) (string, error)

VersionHash is a free data retrieval call binding the contract method 0xd299862a.

Solidity: function versionHash(string ) constant returns(string)

func (*DhashSession) VersionTable

func (_Dhash *DhashSession) VersionTable(arg0 *big.Int) (string, error)

VersionTable is a free data retrieval call binding the contract method 0xb2242d29.

Solidity: function versionTable(uint256 ) constant returns(string)

type DhashTransactor

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

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

func NewDhashTransactor

func NewDhashTransactor(address common.Address, transactor bind.ContractTransactor) (*DhashTransactor, error)

NewDhashTransactor creates a new write-only instance of Dhash, bound to a specific deployed contract.

func (*DhashTransactor) RenounceOwnership

func (_Dhash *DhashTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*DhashTransactor) TransferOwnership

func (_Dhash *DhashTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*DhashTransactor) UpdateHotList

func (_Dhash *DhashTransactor) UpdateHotList(opts *bind.TransactOpts, _list string) (*types.Transaction, error)

UpdateHotList is a paid mutator transaction binding the contract method 0x9f2c6d65.

Solidity: function updateHotList(string _list) returns()

func (*DhashTransactor) UpdateVersion

func (_Dhash *DhashTransactor) UpdateVersion(opts *bind.TransactOpts, _version string, _hash string, _code *big.Int) (*types.Transaction, error)

UpdateVersion is a paid mutator transaction binding the contract method 0xaa0192cc.

Solidity: function updateVersion(string _version, string _hash, uint256 _code) returns()

type DhashTransactorRaw

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

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

func (*DhashTransactorRaw) Transact

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

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

func (*DhashTransactorRaw) Transfer

func (_Dhash *DhashTransactorRaw) 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 DhashTransactorSession

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

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

func (*DhashTransactorSession) RenounceOwnership

func (_Dhash *DhashTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*DhashTransactorSession) TransferOwnership

func (_Dhash *DhashTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*DhashTransactorSession) UpdateHotList

func (_Dhash *DhashTransactorSession) UpdateHotList(_list string) (*types.Transaction, error)

UpdateHotList is a paid mutator transaction binding the contract method 0x9f2c6d65.

Solidity: function updateHotList(string _list) returns()

func (*DhashTransactorSession) UpdateVersion

func (_Dhash *DhashTransactorSession) UpdateVersion(_version string, _hash string, _code *big.Int) (*types.Transaction, error)

UpdateVersion is a paid mutator transaction binding the contract method 0xaa0192cc.

Solidity: function updateVersion(string _version, string _hash, uint256 _code) returns()

type HotList

type HotList struct {
	EventName             string  `csv:"Event Name"`
	AppName               string  `csv:"App Name"`
	TotalOccurrences      int64   `csv:"Total Occurrences"`
	AvgEventsPerSession   float64 `csv:"Avg Events per Session"`
	OccurrencesDailyAvg   int64   `csv:"Occurrences Daily Avg"`
	UniqueDevicesDailyAvg int64   `csv:"Unique Devices Daily Avg"`
}

HotList ...

type ProcessorFunc

type ProcessorFunc func(eth *Contract) interface{}

ProcessorFunc ...

type Struct0

type Struct0 struct {
	FindNo     string
	Bangumi    string
	Intro      string
	Alias      []string
	Role       []string
	ThumbHash  string
	PosterHash string
	Uncensored bool
}

Struct0 is an auto generated low-level Go binding around an user-defined struct.

type Struct1

type Struct1 struct {
	Bangumi   string
	Visit     uint32
	Series    string
	Tags      []string
	Length    string
	Sharpness string
	Format    string
}

Struct1 is an auto generated low-level Go binding around an user-defined struct.

type Struct2

type Struct2 struct {
	Bangumi    string
	Key        string
	M3u8       string
	SourceHash string
	M3u8Hash   string
}

Struct2 is an auto generated low-level Go binding around an user-defined struct.

type VideoInfo

type VideoInfo struct {
	VideoInfoCaller     // Read-only binding to the contract
	VideoInfoTransactor // Write-only binding to the contract
	VideoInfoFilterer   // Log filterer for contract events
}

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

func NewVideoInfo

func NewVideoInfo(address common.Address, backend bind.ContractBackend) (*VideoInfo, error)

NewVideoInfo creates a new instance of VideoInfo, bound to a specific deployed contract.

type VideoInfoCaller

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

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

func NewVideoInfoCaller

func NewVideoInfoCaller(address common.Address, caller bind.ContractCaller) (*VideoInfoCaller, error)

NewVideoInfoCaller creates a new read-only instance of VideoInfo, bound to a specific deployed contract.

func (*VideoInfoCaller) GetHotVideos

func (_VideoInfo *VideoInfoCaller) GetHotVideos(opts *bind.CallOpts) ([]Struct0, error)

GetHotVideos is a free data retrieval call binding the contract method 0xf07b6b79.

Solidity: function getHotVideos() constant returns([]Struct0)

func (*VideoInfoCaller) GetNewVideos

func (_VideoInfo *VideoInfoCaller) GetNewVideos(opts *bind.CallOpts, date string) ([]Struct0, error)

GetNewVideos is a free data retrieval call binding the contract method 0xa20ddc12.

Solidity: function getNewVideos(string date) constant returns([]Struct0)

func (*VideoInfoCaller) GetVideoCount

func (_VideoInfo *VideoInfoCaller) GetVideoCount(opts *bind.CallOpts) (uint32, error)

GetVideoCount is a free data retrieval call binding the contract method 0xa286c0b9.

Solidity: function getVideoCount() constant returns(uint32)

func (*VideoInfoCaller) GetVideos

func (_VideoInfo *VideoInfoCaller) GetVideos(opts *bind.CallOpts) ([]string, error)

GetVideos is a free data retrieval call binding the contract method 0x68f2d165.

Solidity: function getVideos() constant returns(string[])

func (*VideoInfoCaller) HotVideos

func (_VideoInfo *VideoInfoCaller) HotVideos(opts *bind.CallOpts, arg0 *big.Int) (struct {
	FindNo     string
	Bangumi    string
	Intro      string
	ThumbHash  string
	PosterHash string
	Uncensored bool
}, error)

HotVideos is a free data retrieval call binding the contract method 0xb332a7bc.

Solidity: function hotVideos(uint256 ) constant returns(string findNo, string bangumi, string intro, string thumbHash, string posterHash, bool uncensored)

func (*VideoInfoCaller) IsOwner

func (_VideoInfo *VideoInfoCaller) IsOwner(opts *bind.CallOpts) (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.

Solidity: function isOwner() constant returns(bool)

func (*VideoInfoCaller) Owner

func (_VideoInfo *VideoInfoCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() constant returns(address)

func (*VideoInfoCaller) Retrieval

func (_VideoInfo *VideoInfoCaller) Retrieval(opts *bind.CallOpts, bangumi string) (Struct0, Struct1, Struct2, error)

Retrieval is a free data retrieval call binding the contract method 0x4478bacf.

Solidity: function retrieval(string bangumi) constant returns(Struct0, Struct1, Struct2)

func (*VideoInfoCaller) Videos

func (_VideoInfo *VideoInfoCaller) Videos(opts *bind.CallOpts, arg0 *big.Int) (string, error)

Videos is a free data retrieval call binding the contract method 0xe6821bf5.

Solidity: function videos(uint256 ) constant returns(string)

func (*VideoInfoCaller) VideosCount

func (_VideoInfo *VideoInfoCaller) VideosCount(opts *bind.CallOpts) (uint32, error)

VideosCount is a free data retrieval call binding the contract method 0xef08523b.

Solidity: function videosCount() constant returns(uint32)

type VideoInfoCallerRaw

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

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

func (*VideoInfoCallerRaw) Call

func (_VideoInfo *VideoInfoCallerRaw) 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 VideoInfoCallerSession

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

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

func (*VideoInfoCallerSession) GetHotVideos

func (_VideoInfo *VideoInfoCallerSession) GetHotVideos() ([]Struct0, error)

GetHotVideos is a free data retrieval call binding the contract method 0xf07b6b79.

Solidity: function getHotVideos() constant returns([]Struct0)

func (*VideoInfoCallerSession) GetNewVideos

func (_VideoInfo *VideoInfoCallerSession) GetNewVideos(date string) ([]Struct0, error)

GetNewVideos is a free data retrieval call binding the contract method 0xa20ddc12.

Solidity: function getNewVideos(string date) constant returns([]Struct0)

func (*VideoInfoCallerSession) GetVideoCount

func (_VideoInfo *VideoInfoCallerSession) GetVideoCount() (uint32, error)

GetVideoCount is a free data retrieval call binding the contract method 0xa286c0b9.

Solidity: function getVideoCount() constant returns(uint32)

func (*VideoInfoCallerSession) GetVideos

func (_VideoInfo *VideoInfoCallerSession) GetVideos() ([]string, error)

GetVideos is a free data retrieval call binding the contract method 0x68f2d165.

Solidity: function getVideos() constant returns(string[])

func (*VideoInfoCallerSession) HotVideos

func (_VideoInfo *VideoInfoCallerSession) HotVideos(arg0 *big.Int) (struct {
	FindNo     string
	Bangumi    string
	Intro      string
	ThumbHash  string
	PosterHash string
	Uncensored bool
}, error)

HotVideos is a free data retrieval call binding the contract method 0xb332a7bc.

Solidity: function hotVideos(uint256 ) constant returns(string findNo, string bangumi, string intro, string thumbHash, string posterHash, bool uncensored)

func (*VideoInfoCallerSession) IsOwner

func (_VideoInfo *VideoInfoCallerSession) IsOwner() (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.

Solidity: function isOwner() constant returns(bool)

func (*VideoInfoCallerSession) Owner

func (_VideoInfo *VideoInfoCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() constant returns(address)

func (*VideoInfoCallerSession) Retrieval

func (_VideoInfo *VideoInfoCallerSession) Retrieval(bangumi string) (Struct0, Struct1, Struct2, error)

Retrieval is a free data retrieval call binding the contract method 0x4478bacf.

Solidity: function retrieval(string bangumi) constant returns(Struct0, Struct1, Struct2)

func (*VideoInfoCallerSession) Videos

func (_VideoInfo *VideoInfoCallerSession) Videos(arg0 *big.Int) (string, error)

Videos is a free data retrieval call binding the contract method 0xe6821bf5.

Solidity: function videos(uint256 ) constant returns(string)

func (*VideoInfoCallerSession) VideosCount

func (_VideoInfo *VideoInfoCallerSession) VideosCount() (uint32, error)

VideosCount is a free data retrieval call binding the contract method 0xef08523b.

Solidity: function videosCount() constant returns(uint32)

type VideoInfoFilterer

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

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

func NewVideoInfoFilterer

func NewVideoInfoFilterer(address common.Address, filterer bind.ContractFilterer) (*VideoInfoFilterer, error)

NewVideoInfoFilterer creates a new log filterer instance of VideoInfo, bound to a specific deployed contract.

func (*VideoInfoFilterer) FilterOwnershipTransferred

func (_VideoInfo *VideoInfoFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*VideoInfoOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*VideoInfoFilterer) ParseOwnershipTransferred

func (_VideoInfo *VideoInfoFilterer) ParseOwnershipTransferred(log types.Log) (*VideoInfoOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*VideoInfoFilterer) WatchOwnershipTransferred

func (_VideoInfo *VideoInfoFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *VideoInfoOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

type VideoInfoOwnershipTransferred

type VideoInfoOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

VideoInfoOwnershipTransferred represents a OwnershipTransferred event raised by the VideoInfo contract.

type VideoInfoOwnershipTransferredIterator

type VideoInfoOwnershipTransferredIterator struct {
	Event *VideoInfoOwnershipTransferred // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

VideoInfoOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the VideoInfo contract.

func (*VideoInfoOwnershipTransferredIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*VideoInfoOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*VideoInfoOwnershipTransferredIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type VideoInfoRaw

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

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

func (*VideoInfoRaw) Call

func (_VideoInfo *VideoInfoRaw) 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 (*VideoInfoRaw) Transact

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

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

func (*VideoInfoRaw) Transfer

func (_VideoInfo *VideoInfoRaw) 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 VideoInfoSession

type VideoInfoSession struct {
	Contract     *VideoInfo        // 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
}

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

func (*VideoInfoSession) Add

func (_VideoInfo *VideoInfoSession) Add(v Struct0, d Struct1, s Struct2) (*types.Transaction, error)

Add is a paid mutator transaction binding the contract method 0x5eec0ee4.

Solidity: function add(Struct0 v, Struct1 d, Struct2 s) returns(bool)

func (*VideoInfoSession) AddHot

func (_VideoInfo *VideoInfoSession) AddHot(v Struct0) (*types.Transaction, error)

AddHot is a paid mutator transaction binding the contract method 0xab288f38.

Solidity: function addHot(Struct0 v) returns(bool)

func (*VideoInfoSession) AddNew

func (_VideoInfo *VideoInfoSession) AddNew(date string, v Struct0) (*types.Transaction, error)

AddNew is a paid mutator transaction binding the contract method 0x86f5798d.

Solidity: function addNew(string date, Struct0 v) returns(bool)

func (*VideoInfoSession) GetHotVideos

func (_VideoInfo *VideoInfoSession) GetHotVideos() ([]Struct0, error)

GetHotVideos is a free data retrieval call binding the contract method 0xf07b6b79.

Solidity: function getHotVideos() constant returns([]Struct0)

func (*VideoInfoSession) GetNewVideos

func (_VideoInfo *VideoInfoSession) GetNewVideos(date string) ([]Struct0, error)

GetNewVideos is a free data retrieval call binding the contract method 0xa20ddc12.

Solidity: function getNewVideos(string date) constant returns([]Struct0)

func (*VideoInfoSession) GetVideoCount

func (_VideoInfo *VideoInfoSession) GetVideoCount() (uint32, error)

GetVideoCount is a free data retrieval call binding the contract method 0xa286c0b9.

Solidity: function getVideoCount() constant returns(uint32)

func (*VideoInfoSession) GetVideos

func (_VideoInfo *VideoInfoSession) GetVideos() ([]string, error)

GetVideos is a free data retrieval call binding the contract method 0x68f2d165.

Solidity: function getVideos() constant returns(string[])

func (*VideoInfoSession) HotVideos

func (_VideoInfo *VideoInfoSession) HotVideos(arg0 *big.Int) (struct {
	FindNo     string
	Bangumi    string
	Intro      string
	ThumbHash  string
	PosterHash string
	Uncensored bool
}, error)

HotVideos is a free data retrieval call binding the contract method 0xb332a7bc.

Solidity: function hotVideos(uint256 ) constant returns(string findNo, string bangumi, string intro, string thumbHash, string posterHash, bool uncensored)

func (*VideoInfoSession) IsOwner

func (_VideoInfo *VideoInfoSession) IsOwner() (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.

Solidity: function isOwner() constant returns(bool)

func (*VideoInfoSession) Owner

func (_VideoInfo *VideoInfoSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() constant returns(address)

func (*VideoInfoSession) RenounceOwnership

func (_VideoInfo *VideoInfoSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*VideoInfoSession) Replace

func (_VideoInfo *VideoInfoSession) Replace(v Struct0, d Struct1, s Struct2) (*types.Transaction, error)

Replace is a paid mutator transaction binding the contract method 0xf388a31e.

Solidity: function replace(Struct0 v, Struct1 d, Struct2 s) returns(bool)

func (*VideoInfoSession) ReplaceHot

func (_VideoInfo *VideoInfoSession) ReplaceHot(idx uint32, v Struct0) (*types.Transaction, error)

ReplaceHot is a paid mutator transaction binding the contract method 0x4fbc40e3.

Solidity: function replaceHot(uint32 idx, Struct0 v) returns()

func (*VideoInfoSession) ReplaceNew

func (_VideoInfo *VideoInfoSession) ReplaceNew(date string, idx uint32, v Struct0) (*types.Transaction, error)

ReplaceNew is a paid mutator transaction binding the contract method 0xb0145537.

Solidity: function replaceNew(string date, uint32 idx, Struct0 v) returns()

func (*VideoInfoSession) Retrieval

func (_VideoInfo *VideoInfoSession) Retrieval(bangumi string) (Struct0, Struct1, Struct2, error)

Retrieval is a free data retrieval call binding the contract method 0x4478bacf.

Solidity: function retrieval(string bangumi) constant returns(Struct0, Struct1, Struct2)

func (*VideoInfoSession) TransferOwnership

func (_VideoInfo *VideoInfoSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*VideoInfoSession) Videos

func (_VideoInfo *VideoInfoSession) Videos(arg0 *big.Int) (string, error)

Videos is a free data retrieval call binding the contract method 0xe6821bf5.

Solidity: function videos(uint256 ) constant returns(string)

func (*VideoInfoSession) VideosCount

func (_VideoInfo *VideoInfoSession) VideosCount() (uint32, error)

VideosCount is a free data retrieval call binding the contract method 0xef08523b.

Solidity: function videosCount() constant returns(uint32)

type VideoInfoTransactor

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

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

func NewVideoInfoTransactor

func NewVideoInfoTransactor(address common.Address, transactor bind.ContractTransactor) (*VideoInfoTransactor, error)

NewVideoInfoTransactor creates a new write-only instance of VideoInfo, bound to a specific deployed contract.

func (*VideoInfoTransactor) Add

func (_VideoInfo *VideoInfoTransactor) Add(opts *bind.TransactOpts, v Struct0, d Struct1, s Struct2) (*types.Transaction, error)

Add is a paid mutator transaction binding the contract method 0x5eec0ee4.

Solidity: function add(Struct0 v, Struct1 d, Struct2 s) returns(bool)

func (*VideoInfoTransactor) AddHot

func (_VideoInfo *VideoInfoTransactor) AddHot(opts *bind.TransactOpts, v Struct0) (*types.Transaction, error)

AddHot is a paid mutator transaction binding the contract method 0xab288f38.

Solidity: function addHot(Struct0 v) returns(bool)

func (*VideoInfoTransactor) AddNew

func (_VideoInfo *VideoInfoTransactor) AddNew(opts *bind.TransactOpts, date string, v Struct0) (*types.Transaction, error)

AddNew is a paid mutator transaction binding the contract method 0x86f5798d.

Solidity: function addNew(string date, Struct0 v) returns(bool)

func (*VideoInfoTransactor) RenounceOwnership

func (_VideoInfo *VideoInfoTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*VideoInfoTransactor) Replace

func (_VideoInfo *VideoInfoTransactor) Replace(opts *bind.TransactOpts, v Struct0, d Struct1, s Struct2) (*types.Transaction, error)

Replace is a paid mutator transaction binding the contract method 0xf388a31e.

Solidity: function replace(Struct0 v, Struct1 d, Struct2 s) returns(bool)

func (*VideoInfoTransactor) ReplaceHot

func (_VideoInfo *VideoInfoTransactor) ReplaceHot(opts *bind.TransactOpts, idx uint32, v Struct0) (*types.Transaction, error)

ReplaceHot is a paid mutator transaction binding the contract method 0x4fbc40e3.

Solidity: function replaceHot(uint32 idx, Struct0 v) returns()

func (*VideoInfoTransactor) ReplaceNew

func (_VideoInfo *VideoInfoTransactor) ReplaceNew(opts *bind.TransactOpts, date string, idx uint32, v Struct0) (*types.Transaction, error)

ReplaceNew is a paid mutator transaction binding the contract method 0xb0145537.

Solidity: function replaceNew(string date, uint32 idx, Struct0 v) returns()

func (*VideoInfoTransactor) TransferOwnership

func (_VideoInfo *VideoInfoTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type VideoInfoTransactorRaw

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

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

func (*VideoInfoTransactorRaw) Transact

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

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

func (*VideoInfoTransactorRaw) Transfer

func (_VideoInfo *VideoInfoTransactorRaw) 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 VideoInfoTransactorSession

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

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

func (*VideoInfoTransactorSession) Add

Add is a paid mutator transaction binding the contract method 0x5eec0ee4.

Solidity: function add(Struct0 v, Struct1 d, Struct2 s) returns(bool)

func (*VideoInfoTransactorSession) AddHot

func (_VideoInfo *VideoInfoTransactorSession) AddHot(v Struct0) (*types.Transaction, error)

AddHot is a paid mutator transaction binding the contract method 0xab288f38.

Solidity: function addHot(Struct0 v) returns(bool)

func (*VideoInfoTransactorSession) AddNew

func (_VideoInfo *VideoInfoTransactorSession) AddNew(date string, v Struct0) (*types.Transaction, error)

AddNew is a paid mutator transaction binding the contract method 0x86f5798d.

Solidity: function addNew(string date, Struct0 v) returns(bool)

func (*VideoInfoTransactorSession) RenounceOwnership

func (_VideoInfo *VideoInfoTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*VideoInfoTransactorSession) Replace

func (_VideoInfo *VideoInfoTransactorSession) Replace(v Struct0, d Struct1, s Struct2) (*types.Transaction, error)

Replace is a paid mutator transaction binding the contract method 0xf388a31e.

Solidity: function replace(Struct0 v, Struct1 d, Struct2 s) returns(bool)

func (*VideoInfoTransactorSession) ReplaceHot

func (_VideoInfo *VideoInfoTransactorSession) ReplaceHot(idx uint32, v Struct0) (*types.Transaction, error)

ReplaceHot is a paid mutator transaction binding the contract method 0x4fbc40e3.

Solidity: function replaceHot(uint32 idx, Struct0 v) returns()

func (*VideoInfoTransactorSession) ReplaceNew

func (_VideoInfo *VideoInfoTransactorSession) ReplaceNew(date string, idx uint32, v Struct0) (*types.Transaction, error)

ReplaceNew is a paid mutator transaction binding the contract method 0xb0145537.

Solidity: function replaceNew(string date, uint32 idx, Struct0 v) returns()

func (*VideoInfoTransactorSession) TransferOwnership

func (_VideoInfo *VideoInfoTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

Jump to

Keyboard shortcuts

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