ethcontract

package
v0.0.0-...-36c47eb Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2020 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const ZBGCardABI = "" /* 15725-byte string literal not displayed */

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

Variables

This section is empty.

Functions

This section is empty.

Types

type ZBGCard

type ZBGCard struct {
	ZBGCardCaller     // Read-only binding to the contract
	ZBGCardTransactor // Write-only binding to the contract
	ZBGCardFilterer   // Log filterer for contract events
}

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

func NewZBGCard

func NewZBGCard(address common.Address, backend bind.ContractBackend) (*ZBGCard, error)

NewZBGCard creates a new instance of ZBGCard, bound to a specific deployed contract.

type ZBGCardAddedValidator

type ZBGCardAddedValidator struct {
	Validator common.Address
	Raw       types.Log // Blockchain specific contextual infos
}

ZBGCardAddedValidator represents a AddedValidator event raised by the ZBGCard contract.

type ZBGCardAddedValidatorIterator

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

ZBGCardAddedValidatorIterator is returned from FilterAddedValidator and is used to iterate over the raw logs and unpacked data for AddedValidator events raised by the ZBGCard contract.

func (*ZBGCardAddedValidatorIterator) Close

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

func (*ZBGCardAddedValidatorIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZBGCardAddedValidatorIterator) 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 ZBGCardApproval

type ZBGCardApproval struct {
	Owner    common.Address
	Approved common.Address
	TokenId  *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

ZBGCardApproval represents a Approval event raised by the ZBGCard contract.

type ZBGCardApprovalForAll

type ZBGCardApprovalForAll struct {
	Owner    common.Address
	Operator common.Address
	Approved bool
	Raw      types.Log // Blockchain specific contextual infos
}

ZBGCardApprovalForAll represents a ApprovalForAll event raised by the ZBGCard contract.

type ZBGCardApprovalForAllIterator

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

ZBGCardApprovalForAllIterator is returned from FilterApprovalForAll and is used to iterate over the raw logs and unpacked data for ApprovalForAll events raised by the ZBGCard contract.

func (*ZBGCardApprovalForAllIterator) Close

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

func (*ZBGCardApprovalForAllIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZBGCardApprovalForAllIterator) 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 ZBGCardApprovalIterator

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

ZBGCardApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the ZBGCard contract.

func (*ZBGCardApprovalIterator) Close

func (it *ZBGCardApprovalIterator) Close() error

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

func (*ZBGCardApprovalIterator) Error

func (it *ZBGCardApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZBGCardApprovalIterator) Next

func (it *ZBGCardApprovalIterator) Next() bool

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 ZBGCardBatchTransfer

type ZBGCardBatchTransfer struct {
	From       common.Address
	To         common.Address
	TokenTypes []*big.Int
	Amounts    []*big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

ZBGCardBatchTransfer represents a BatchTransfer event raised by the ZBGCard contract.

type ZBGCardBatchTransferIterator

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

ZBGCardBatchTransferIterator is returned from FilterBatchTransfer and is used to iterate over the raw logs and unpacked data for BatchTransfer events raised by the ZBGCard contract.

func (*ZBGCardBatchTransferIterator) Close

func (it *ZBGCardBatchTransferIterator) Close() error

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

func (*ZBGCardBatchTransferIterator) Error

func (it *ZBGCardBatchTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZBGCardBatchTransferIterator) 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 ZBGCardCaller

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

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

func NewZBGCardCaller

func NewZBGCardCaller(address common.Address, caller bind.ContractCaller) (*ZBGCardCaller, error)

NewZBGCardCaller creates a new read-only instance of ZBGCard, bound to a specific deployed contract.

func (*ZBGCardCaller) AllowedTokens

func (_ZBGCard *ZBGCardCaller) AllowedTokens(opts *bind.CallOpts, arg0 common.Address) (bool, error)

AllowedTokens is a free data retrieval call binding the contract method 0xe744092e.

Solidity: function allowedTokens( address) constant returns(bool)

func (*ZBGCardCaller) BalanceOf

func (_ZBGCard *ZBGCardCaller) BalanceOf(opts *bind.CallOpts, _owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(_owner address) constant returns(balance uint256)

func (*ZBGCardCaller) BalanceOfCoin

func (_ZBGCard *ZBGCardCaller) BalanceOfCoin(opts *bind.CallOpts, _address common.Address, _tokenId *big.Int) (*big.Int, error)

BalanceOfCoin is a free data retrieval call binding the contract method 0x70af0e54.

Solidity: function balanceOfCoin(_address address, _tokenId uint256) constant returns(uint256)

func (*ZBGCardCaller) CheckValidator

func (_ZBGCard *ZBGCardCaller) CheckValidator(opts *bind.CallOpts, _address common.Address) (bool, error)

CheckValidator is a free data retrieval call binding the contract method 0x797327ae.

Solidity: function checkValidator(_address address) constant returns(bool)

func (*ZBGCardCaller) Exists

func (_ZBGCard *ZBGCardCaller) Exists(opts *bind.CallOpts, _tokenId *big.Int) (bool, error)

Exists is a free data retrieval call binding the contract method 0x4f558e79.

Solidity: function exists(_tokenId uint256) constant returns(bool)

func (*ZBGCardCaller) GetApproved

func (_ZBGCard *ZBGCardCaller) GetApproved(opts *bind.CallOpts, _tokenId *big.Int) (common.Address, error)

GetApproved is a free data retrieval call binding the contract method 0x081812fc.

Solidity: function getApproved(_tokenId uint256) constant returns(address)

func (*ZBGCardCaller) GetTokenDetailsById

func (_ZBGCard *ZBGCardCaller) GetTokenDetailsById(opts *bind.CallOpts, _tokenId *big.Int) (*big.Int, *big.Int, *big.Int, *big.Int, error)

GetTokenDetailsById is a free data retrieval call binding the contract method 0x8d43f0bf.

Solidity: function getTokenDetailsById(_tokenId uint256) constant returns(uint256, uint256, uint256, uint256)

func (*ZBGCardCaller) ImplementsERC721

func (_ZBGCard *ZBGCardCaller) ImplementsERC721(opts *bind.CallOpts) (bool, error)

ImplementsERC721 is a free data retrieval call binding the contract method 0x1051db34.

Solidity: function implementsERC721() constant returns(bool)

func (*ZBGCardCaller) ImplementsERC721X

func (_ZBGCard *ZBGCardCaller) ImplementsERC721X(opts *bind.CallOpts) (bool, error)

ImplementsERC721X is a free data retrieval call binding the contract method 0x7fb42a36.

Solidity: function implementsERC721X() constant returns(bool)

func (*ZBGCardCaller) IndividualSupply

func (_ZBGCard *ZBGCardCaller) IndividualSupply(opts *bind.CallOpts, _tokenId *big.Int) (*big.Int, error)

IndividualSupply is a free data retrieval call binding the contract method 0x17be1933.

Solidity: function individualSupply(_tokenId uint256) constant returns(uint256)

func (*ZBGCardCaller) InterfaceIdERC165

func (_ZBGCard *ZBGCardCaller) InterfaceIdERC165(opts *bind.CallOpts) ([4]byte, error)

InterfaceIdERC165 is a free data retrieval call binding the contract method 0x19fa8f50.

Solidity: function InterfaceId_ERC165() constant returns(bytes4)

func (*ZBGCardCaller) IsApprovedForAll

func (_ZBGCard *ZBGCardCaller) IsApprovedForAll(opts *bind.CallOpts, _owner common.Address, _operator common.Address) (bool, error)

IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.

Solidity: function isApprovedForAll(_owner address, _operator address) constant returns(isOperator bool)

func (*ZBGCardCaller) IsLimitedEdition

func (_ZBGCard *ZBGCardCaller) IsLimitedEdition(opts *bind.CallOpts, _tokenId *big.Int) (bool, error)

IsLimitedEdition is a free data retrieval call binding the contract method 0xe3981429.

Solidity: function isLimitedEdition(_tokenId uint256) constant returns(bool)

func (*ZBGCardCaller) Name

func (_ZBGCard *ZBGCardCaller) Name(opts *bind.CallOpts) (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() constant returns(string)

func (*ZBGCardCaller) Nonce

func (_ZBGCard *ZBGCardCaller) Nonce(opts *bind.CallOpts) (*big.Int, error)

Nonce is a free data retrieval call binding the contract method 0xaffed0e0.

Solidity: function nonce() constant returns(uint256)

func (*ZBGCardCaller) Nonces

func (_ZBGCard *ZBGCardCaller) Nonces(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces( address) constant returns(uint256)

func (*ZBGCardCaller) NumValidators

func (_ZBGCard *ZBGCardCaller) NumValidators(opts *bind.CallOpts) (*big.Int, error)

NumValidators is a free data retrieval call binding the contract method 0x5d593f8d.

Solidity: function numValidators() constant returns(uint256)

func (*ZBGCardCaller) Owner

func (_ZBGCard *ZBGCardCaller) 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 (*ZBGCardCaller) OwnerOf

func (_ZBGCard *ZBGCardCaller) OwnerOf(opts *bind.CallOpts, _tokenId *big.Int) (common.Address, error)

OwnerOf is a free data retrieval call binding the contract method 0x6352211e.

Solidity: function ownerOf(_tokenId uint256) constant returns(address)

func (*ZBGCardCaller) SupportsInterface

func (_ZBGCard *ZBGCardCaller) SupportsInterface(opts *bind.CallOpts, _interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(_interfaceId bytes4) constant returns(bool)

func (*ZBGCardCaller) Symbol

func (_ZBGCard *ZBGCardCaller) Symbol(opts *bind.CallOpts) (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() constant returns(string)

func (*ZBGCardCaller) TokenByIndex

func (_ZBGCard *ZBGCardCaller) TokenByIndex(opts *bind.CallOpts, _index *big.Int) (*big.Int, error)

TokenByIndex is a free data retrieval call binding the contract method 0x4f6ccce7.

Solidity: function tokenByIndex(_index uint256) constant returns(uint256)

func (*ZBGCardCaller) TokenIdToDNA

func (_ZBGCard *ZBGCardCaller) TokenIdToDNA(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)

TokenIdToDNA is a free data retrieval call binding the contract method 0x6e5ed979.

Solidity: function tokenIdToDNA( uint256) constant returns(uint256)

func (*ZBGCardCaller) TokenOfOwnerByIndex

func (_ZBGCard *ZBGCardCaller) TokenOfOwnerByIndex(opts *bind.CallOpts, _owner common.Address, _index *big.Int) (*big.Int, error)

TokenOfOwnerByIndex is a free data retrieval call binding the contract method 0x2f745c59.

Solidity: function tokenOfOwnerByIndex(_owner address, _index uint256) constant returns(_tokenId uint256)

func (*ZBGCardCaller) TokenURI

func (_ZBGCard *ZBGCardCaller) TokenURI(opts *bind.CallOpts, _tokenId *big.Int) (string, error)

TokenURI is a free data retrieval call binding the contract method 0xc87b56dd.

Solidity: function tokenURI(_tokenId uint256) constant returns(tokenUri string)

func (*ZBGCardCaller) TokensOwned

func (_ZBGCard *ZBGCardCaller) TokensOwned(opts *bind.CallOpts, _owner common.Address) (struct {
	Indexes  []*big.Int
	Balances []*big.Int
}, error)

TokensOwned is a free data retrieval call binding the contract method 0x21cda790.

Solidity: function tokensOwned(_owner address) constant returns(indexes uint256[], balances uint256[])

func (*ZBGCardCaller) TotalSupply

func (_ZBGCard *ZBGCardCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() constant returns(uint256)

type ZBGCardCallerRaw

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

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

func (*ZBGCardCallerRaw) Call

func (_ZBGCard *ZBGCardCallerRaw) 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 ZBGCardCallerSession

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

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

func (*ZBGCardCallerSession) AllowedTokens

func (_ZBGCard *ZBGCardCallerSession) AllowedTokens(arg0 common.Address) (bool, error)

AllowedTokens is a free data retrieval call binding the contract method 0xe744092e.

Solidity: function allowedTokens( address) constant returns(bool)

func (*ZBGCardCallerSession) BalanceOf

func (_ZBGCard *ZBGCardCallerSession) BalanceOf(_owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(_owner address) constant returns(balance uint256)

func (*ZBGCardCallerSession) BalanceOfCoin

func (_ZBGCard *ZBGCardCallerSession) BalanceOfCoin(_address common.Address, _tokenId *big.Int) (*big.Int, error)

BalanceOfCoin is a free data retrieval call binding the contract method 0x70af0e54.

Solidity: function balanceOfCoin(_address address, _tokenId uint256) constant returns(uint256)

func (*ZBGCardCallerSession) CheckValidator

func (_ZBGCard *ZBGCardCallerSession) CheckValidator(_address common.Address) (bool, error)

CheckValidator is a free data retrieval call binding the contract method 0x797327ae.

Solidity: function checkValidator(_address address) constant returns(bool)

func (*ZBGCardCallerSession) Exists

func (_ZBGCard *ZBGCardCallerSession) Exists(_tokenId *big.Int) (bool, error)

Exists is a free data retrieval call binding the contract method 0x4f558e79.

Solidity: function exists(_tokenId uint256) constant returns(bool)

func (*ZBGCardCallerSession) GetApproved

func (_ZBGCard *ZBGCardCallerSession) GetApproved(_tokenId *big.Int) (common.Address, error)

GetApproved is a free data retrieval call binding the contract method 0x081812fc.

Solidity: function getApproved(_tokenId uint256) constant returns(address)

func (*ZBGCardCallerSession) GetTokenDetailsById

func (_ZBGCard *ZBGCardCallerSession) GetTokenDetailsById(_tokenId *big.Int) (*big.Int, *big.Int, *big.Int, *big.Int, error)

GetTokenDetailsById is a free data retrieval call binding the contract method 0x8d43f0bf.

Solidity: function getTokenDetailsById(_tokenId uint256) constant returns(uint256, uint256, uint256, uint256)

func (*ZBGCardCallerSession) ImplementsERC721

func (_ZBGCard *ZBGCardCallerSession) ImplementsERC721() (bool, error)

ImplementsERC721 is a free data retrieval call binding the contract method 0x1051db34.

Solidity: function implementsERC721() constant returns(bool)

func (*ZBGCardCallerSession) ImplementsERC721X

func (_ZBGCard *ZBGCardCallerSession) ImplementsERC721X() (bool, error)

ImplementsERC721X is a free data retrieval call binding the contract method 0x7fb42a36.

Solidity: function implementsERC721X() constant returns(bool)

func (*ZBGCardCallerSession) IndividualSupply

func (_ZBGCard *ZBGCardCallerSession) IndividualSupply(_tokenId *big.Int) (*big.Int, error)

IndividualSupply is a free data retrieval call binding the contract method 0x17be1933.

Solidity: function individualSupply(_tokenId uint256) constant returns(uint256)

func (*ZBGCardCallerSession) InterfaceIdERC165

func (_ZBGCard *ZBGCardCallerSession) InterfaceIdERC165() ([4]byte, error)

InterfaceIdERC165 is a free data retrieval call binding the contract method 0x19fa8f50.

Solidity: function InterfaceId_ERC165() constant returns(bytes4)

func (*ZBGCardCallerSession) IsApprovedForAll

func (_ZBGCard *ZBGCardCallerSession) IsApprovedForAll(_owner common.Address, _operator common.Address) (bool, error)

IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.

Solidity: function isApprovedForAll(_owner address, _operator address) constant returns(isOperator bool)

func (*ZBGCardCallerSession) IsLimitedEdition

func (_ZBGCard *ZBGCardCallerSession) IsLimitedEdition(_tokenId *big.Int) (bool, error)

IsLimitedEdition is a free data retrieval call binding the contract method 0xe3981429.

Solidity: function isLimitedEdition(_tokenId uint256) constant returns(bool)

func (*ZBGCardCallerSession) Name

func (_ZBGCard *ZBGCardCallerSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() constant returns(string)

func (*ZBGCardCallerSession) Nonce

func (_ZBGCard *ZBGCardCallerSession) Nonce() (*big.Int, error)

Nonce is a free data retrieval call binding the contract method 0xaffed0e0.

Solidity: function nonce() constant returns(uint256)

func (*ZBGCardCallerSession) Nonces

func (_ZBGCard *ZBGCardCallerSession) Nonces(arg0 common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces( address) constant returns(uint256)

func (*ZBGCardCallerSession) NumValidators

func (_ZBGCard *ZBGCardCallerSession) NumValidators() (*big.Int, error)

NumValidators is a free data retrieval call binding the contract method 0x5d593f8d.

Solidity: function numValidators() constant returns(uint256)

func (*ZBGCardCallerSession) Owner

func (_ZBGCard *ZBGCardCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*ZBGCardCallerSession) OwnerOf

func (_ZBGCard *ZBGCardCallerSession) OwnerOf(_tokenId *big.Int) (common.Address, error)

OwnerOf is a free data retrieval call binding the contract method 0x6352211e.

Solidity: function ownerOf(_tokenId uint256) constant returns(address)

func (*ZBGCardCallerSession) SupportsInterface

func (_ZBGCard *ZBGCardCallerSession) SupportsInterface(_interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(_interfaceId bytes4) constant returns(bool)

func (*ZBGCardCallerSession) Symbol

func (_ZBGCard *ZBGCardCallerSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() constant returns(string)

func (*ZBGCardCallerSession) TokenByIndex

func (_ZBGCard *ZBGCardCallerSession) TokenByIndex(_index *big.Int) (*big.Int, error)

TokenByIndex is a free data retrieval call binding the contract method 0x4f6ccce7.

Solidity: function tokenByIndex(_index uint256) constant returns(uint256)

func (*ZBGCardCallerSession) TokenIdToDNA

func (_ZBGCard *ZBGCardCallerSession) TokenIdToDNA(arg0 *big.Int) (*big.Int, error)

TokenIdToDNA is a free data retrieval call binding the contract method 0x6e5ed979.

Solidity: function tokenIdToDNA( uint256) constant returns(uint256)

func (*ZBGCardCallerSession) TokenOfOwnerByIndex

func (_ZBGCard *ZBGCardCallerSession) TokenOfOwnerByIndex(_owner common.Address, _index *big.Int) (*big.Int, error)

TokenOfOwnerByIndex is a free data retrieval call binding the contract method 0x2f745c59.

Solidity: function tokenOfOwnerByIndex(_owner address, _index uint256) constant returns(_tokenId uint256)

func (*ZBGCardCallerSession) TokenURI

func (_ZBGCard *ZBGCardCallerSession) TokenURI(_tokenId *big.Int) (string, error)

TokenURI is a free data retrieval call binding the contract method 0xc87b56dd.

Solidity: function tokenURI(_tokenId uint256) constant returns(tokenUri string)

func (*ZBGCardCallerSession) TokensOwned

func (_ZBGCard *ZBGCardCallerSession) TokensOwned(_owner common.Address) (struct {
	Indexes  []*big.Int
	Balances []*big.Int
}, error)

TokensOwned is a free data retrieval call binding the contract method 0x21cda790.

Solidity: function tokensOwned(_owner address) constant returns(indexes uint256[], balances uint256[])

func (*ZBGCardCallerSession) TotalSupply

func (_ZBGCard *ZBGCardCallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() constant returns(uint256)

type ZBGCardFaucetToggled

type ZBGCardFaucetToggled struct {
	IsApproved bool
	Raw        types.Log // Blockchain specific contextual infos
}

ZBGCardFaucetToggled represents a FaucetToggled event raised by the ZBGCard contract.

type ZBGCardFaucetToggledIterator

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

ZBGCardFaucetToggledIterator is returned from FilterFaucetToggled and is used to iterate over the raw logs and unpacked data for FaucetToggled events raised by the ZBGCard contract.

func (*ZBGCardFaucetToggledIterator) Close

func (it *ZBGCardFaucetToggledIterator) Close() error

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

func (*ZBGCardFaucetToggledIterator) Error

func (it *ZBGCardFaucetToggledIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZBGCardFaucetToggledIterator) 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 ZBGCardFilterer

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

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

func NewZBGCardFilterer

func NewZBGCardFilterer(address common.Address, filterer bind.ContractFilterer) (*ZBGCardFilterer, error)

NewZBGCardFilterer creates a new log filterer instance of ZBGCard, bound to a specific deployed contract.

func (*ZBGCardFilterer) FilterAddedValidator

func (_ZBGCard *ZBGCardFilterer) FilterAddedValidator(opts *bind.FilterOpts) (*ZBGCardAddedValidatorIterator, error)

FilterAddedValidator is a free log retrieval operation binding the contract event 0x8e15bf46bd11add443414ada75aa9592a4af68f3f2ec02ae3d49572f9843c2a8.

Solidity: e AddedValidator(validator address)

func (*ZBGCardFilterer) FilterApproval

func (_ZBGCard *ZBGCardFilterer) FilterApproval(opts *bind.FilterOpts, _owner []common.Address, _approved []common.Address, _tokenId []*big.Int) (*ZBGCardApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: e Approval(_owner indexed address, _approved indexed address, _tokenId indexed uint256)

func (*ZBGCardFilterer) FilterApprovalForAll

func (_ZBGCard *ZBGCardFilterer) FilterApprovalForAll(opts *bind.FilterOpts, _owner []common.Address, _operator []common.Address) (*ZBGCardApprovalForAllIterator, error)

FilterApprovalForAll is a free log retrieval operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.

Solidity: e ApprovalForAll(_owner indexed address, _operator indexed address, _approved bool)

func (*ZBGCardFilterer) FilterBatchTransfer

func (_ZBGCard *ZBGCardFilterer) FilterBatchTransfer(opts *bind.FilterOpts) (*ZBGCardBatchTransferIterator, error)

FilterBatchTransfer is a free log retrieval operation binding the contract event 0xf59807b2c31ca3ba212e90599175c120c556422950bac5be656274483e8581df.

Solidity: e BatchTransfer(from address, to address, tokenTypes uint256[], amounts uint256[])

func (*ZBGCardFilterer) FilterFaucetToggled

func (_ZBGCard *ZBGCardFilterer) FilterFaucetToggled(opts *bind.FilterOpts) (*ZBGCardFaucetToggledIterator, error)

FilterFaucetToggled is a free log retrieval operation binding the contract event 0x87e7975983dfa9eadba810a775cce04da400ce8dcc3f201b0e2def605d58911d.

Solidity: e FaucetToggled(isApproved bool)

func (*ZBGCardFilterer) FilterOwnershipRenounced

func (_ZBGCard *ZBGCardFilterer) FilterOwnershipRenounced(opts *bind.FilterOpts, previousOwner []common.Address) (*ZBGCardOwnershipRenouncedIterator, error)

FilterOwnershipRenounced is a free log retrieval operation binding the contract event 0xf8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c64820.

Solidity: e OwnershipRenounced(previousOwner indexed address)

func (*ZBGCardFilterer) FilterOwnershipTransferred

func (_ZBGCard *ZBGCardFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*ZBGCardOwnershipTransferredIterator, error)

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

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

func (*ZBGCardFilterer) FilterRemovedValidator

func (_ZBGCard *ZBGCardFilterer) FilterRemovedValidator(opts *bind.FilterOpts) (*ZBGCardRemovedValidatorIterator, error)

FilterRemovedValidator is a free log retrieval operation binding the contract event 0xb625c55cf7e37b54fcd18bc4edafdf3f4f9acd59a5ec824c77c795dcb2d65070.

Solidity: e RemovedValidator(validator address)

func (*ZBGCardFilterer) FilterTokenClaimed

func (_ZBGCard *ZBGCardFilterer) FilterTokenClaimed(opts *bind.FilterOpts, tokenId []*big.Int) (*ZBGCardTokenClaimedIterator, error)

FilterTokenClaimed is a free log retrieval operation binding the contract event 0x7ebec69a24f70f6adc732c5d495ea40faf1248f959f11feafe0f9bbdc4e07b5a.

Solidity: e TokenClaimed(tokenId indexed uint256, claimer address, amount uint256)

func (*ZBGCardFilterer) FilterTokenMinted

func (_ZBGCard *ZBGCardFilterer) FilterTokenMinted(opts *bind.FilterOpts) (*ZBGCardTokenMintedIterator, error)

FilterTokenMinted is a free log retrieval operation binding the contract event 0x5f7666687319b40936f33c188908d86aea154abd3f4127b4fa0a3f04f303c7da.

Solidity: e TokenMinted(tokenId uint256, supply uint256)

func (*ZBGCardFilterer) FilterTransfer

func (_ZBGCard *ZBGCardFilterer) FilterTransfer(opts *bind.FilterOpts, _from []common.Address, _to []common.Address, _tokenId []*big.Int) (*ZBGCardTransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: e Transfer(_from indexed address, _to indexed address, _tokenId indexed uint256)

func (*ZBGCardFilterer) FilterTransferToken

func (_ZBGCard *ZBGCardFilterer) FilterTransferToken(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*ZBGCardTransferTokenIterator, error)

FilterTransferToken is a free log retrieval operation binding the contract event 0x59158d23d62750f16cd67dd3dce5fcfeb193d88db7c46f085a2eac8fa5d8b950.

Solidity: e TransferToken(from indexed address, to indexed address, tokenId indexed uint256, quantity uint256)

func (*ZBGCardFilterer) FilterTransferWithQuantity

func (_ZBGCard *ZBGCardFilterer) FilterTransferWithQuantity(opts *bind.FilterOpts, tokenId []*big.Int) (*ZBGCardTransferWithQuantityIterator, error)

FilterTransferWithQuantity is a free log retrieval operation binding the contract event 0x2114851a3e2a54429989f46c1ab0743e37ded205d9bbdfd85635aed5bd595a06.

Solidity: e TransferWithQuantity(from address, to address, tokenId indexed uint256, amount uint256)

func (*ZBGCardFilterer) WatchAddedValidator

func (_ZBGCard *ZBGCardFilterer) WatchAddedValidator(opts *bind.WatchOpts, sink chan<- *ZBGCardAddedValidator) (event.Subscription, error)

WatchAddedValidator is a free log subscription operation binding the contract event 0x8e15bf46bd11add443414ada75aa9592a4af68f3f2ec02ae3d49572f9843c2a8.

Solidity: e AddedValidator(validator address)

func (*ZBGCardFilterer) WatchApproval

func (_ZBGCard *ZBGCardFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ZBGCardApproval, _owner []common.Address, _approved []common.Address, _tokenId []*big.Int) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: e Approval(_owner indexed address, _approved indexed address, _tokenId indexed uint256)

func (*ZBGCardFilterer) WatchApprovalForAll

func (_ZBGCard *ZBGCardFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *ZBGCardApprovalForAll, _owner []common.Address, _operator []common.Address) (event.Subscription, error)

WatchApprovalForAll is a free log subscription operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.

Solidity: e ApprovalForAll(_owner indexed address, _operator indexed address, _approved bool)

func (*ZBGCardFilterer) WatchBatchTransfer

func (_ZBGCard *ZBGCardFilterer) WatchBatchTransfer(opts *bind.WatchOpts, sink chan<- *ZBGCardBatchTransfer) (event.Subscription, error)

WatchBatchTransfer is a free log subscription operation binding the contract event 0xf59807b2c31ca3ba212e90599175c120c556422950bac5be656274483e8581df.

Solidity: e BatchTransfer(from address, to address, tokenTypes uint256[], amounts uint256[])

func (*ZBGCardFilterer) WatchFaucetToggled

func (_ZBGCard *ZBGCardFilterer) WatchFaucetToggled(opts *bind.WatchOpts, sink chan<- *ZBGCardFaucetToggled) (event.Subscription, error)

WatchFaucetToggled is a free log subscription operation binding the contract event 0x87e7975983dfa9eadba810a775cce04da400ce8dcc3f201b0e2def605d58911d.

Solidity: e FaucetToggled(isApproved bool)

func (*ZBGCardFilterer) WatchOwnershipRenounced

func (_ZBGCard *ZBGCardFilterer) WatchOwnershipRenounced(opts *bind.WatchOpts, sink chan<- *ZBGCardOwnershipRenounced, previousOwner []common.Address) (event.Subscription, error)

WatchOwnershipRenounced is a free log subscription operation binding the contract event 0xf8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c64820.

Solidity: e OwnershipRenounced(previousOwner indexed address)

func (*ZBGCardFilterer) WatchOwnershipTransferred

func (_ZBGCard *ZBGCardFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ZBGCardOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

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

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

func (*ZBGCardFilterer) WatchRemovedValidator

func (_ZBGCard *ZBGCardFilterer) WatchRemovedValidator(opts *bind.WatchOpts, sink chan<- *ZBGCardRemovedValidator) (event.Subscription, error)

WatchRemovedValidator is a free log subscription operation binding the contract event 0xb625c55cf7e37b54fcd18bc4edafdf3f4f9acd59a5ec824c77c795dcb2d65070.

Solidity: e RemovedValidator(validator address)

func (*ZBGCardFilterer) WatchTokenClaimed

func (_ZBGCard *ZBGCardFilterer) WatchTokenClaimed(opts *bind.WatchOpts, sink chan<- *ZBGCardTokenClaimed, tokenId []*big.Int) (event.Subscription, error)

WatchTokenClaimed is a free log subscription operation binding the contract event 0x7ebec69a24f70f6adc732c5d495ea40faf1248f959f11feafe0f9bbdc4e07b5a.

Solidity: e TokenClaimed(tokenId indexed uint256, claimer address, amount uint256)

func (*ZBGCardFilterer) WatchTokenMinted

func (_ZBGCard *ZBGCardFilterer) WatchTokenMinted(opts *bind.WatchOpts, sink chan<- *ZBGCardTokenMinted) (event.Subscription, error)

WatchTokenMinted is a free log subscription operation binding the contract event 0x5f7666687319b40936f33c188908d86aea154abd3f4127b4fa0a3f04f303c7da.

Solidity: e TokenMinted(tokenId uint256, supply uint256)

func (*ZBGCardFilterer) WatchTransfer

func (_ZBGCard *ZBGCardFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ZBGCardTransfer, _from []common.Address, _to []common.Address, _tokenId []*big.Int) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: e Transfer(_from indexed address, _to indexed address, _tokenId indexed uint256)

func (*ZBGCardFilterer) WatchTransferToken

func (_ZBGCard *ZBGCardFilterer) WatchTransferToken(opts *bind.WatchOpts, sink chan<- *ZBGCardTransferToken, from []common.Address, to []common.Address, tokenId []*big.Int) (event.Subscription, error)

WatchTransferToken is a free log subscription operation binding the contract event 0x59158d23d62750f16cd67dd3dce5fcfeb193d88db7c46f085a2eac8fa5d8b950.

Solidity: e TransferToken(from indexed address, to indexed address, tokenId indexed uint256, quantity uint256)

func (*ZBGCardFilterer) WatchTransferWithQuantity

func (_ZBGCard *ZBGCardFilterer) WatchTransferWithQuantity(opts *bind.WatchOpts, sink chan<- *ZBGCardTransferWithQuantity, tokenId []*big.Int) (event.Subscription, error)

WatchTransferWithQuantity is a free log subscription operation binding the contract event 0x2114851a3e2a54429989f46c1ab0743e37ded205d9bbdfd85635aed5bd595a06.

Solidity: e TransferWithQuantity(from address, to address, tokenId indexed uint256, amount uint256)

type ZBGCardOwnershipRenounced

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

ZBGCardOwnershipRenounced represents a OwnershipRenounced event raised by the ZBGCard contract.

type ZBGCardOwnershipRenouncedIterator

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

ZBGCardOwnershipRenouncedIterator is returned from FilterOwnershipRenounced and is used to iterate over the raw logs and unpacked data for OwnershipRenounced events raised by the ZBGCard contract.

func (*ZBGCardOwnershipRenouncedIterator) Close

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

func (*ZBGCardOwnershipRenouncedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZBGCardOwnershipRenouncedIterator) 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 ZBGCardOwnershipTransferred

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

ZBGCardOwnershipTransferred represents a OwnershipTransferred event raised by the ZBGCard contract.

type ZBGCardOwnershipTransferredIterator

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

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

func (*ZBGCardOwnershipTransferredIterator) Close

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

func (*ZBGCardOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZBGCardOwnershipTransferredIterator) 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 ZBGCardRaw

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

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

func (*ZBGCardRaw) Call

func (_ZBGCard *ZBGCardRaw) 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 (*ZBGCardRaw) Transact

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

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

func (*ZBGCardRaw) Transfer

func (_ZBGCard *ZBGCardRaw) 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 ZBGCardRemovedValidator

type ZBGCardRemovedValidator struct {
	Validator common.Address
	Raw       types.Log // Blockchain specific contextual infos
}

ZBGCardRemovedValidator represents a RemovedValidator event raised by the ZBGCard contract.

type ZBGCardRemovedValidatorIterator

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

ZBGCardRemovedValidatorIterator is returned from FilterRemovedValidator and is used to iterate over the raw logs and unpacked data for RemovedValidator events raised by the ZBGCard contract.

func (*ZBGCardRemovedValidatorIterator) Close

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

func (*ZBGCardRemovedValidatorIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZBGCardRemovedValidatorIterator) 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 ZBGCardSession

type ZBGCardSession struct {
	Contract     *ZBGCard          // 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
}

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

func (*ZBGCardSession) AddValidator

func (_ZBGCard *ZBGCardSession) AddValidator(_validator common.Address, _v []uint8, _r [][32]byte, _s [][32]byte) (*types.Transaction, error)

AddValidator is a paid mutator transaction binding the contract method 0x90b616c8.

Solidity: function addValidator(_validator address, _v uint8[], _r bytes32[], _s bytes32[]) returns()

func (*ZBGCardSession) AllowedTokens

func (_ZBGCard *ZBGCardSession) AllowedTokens(arg0 common.Address) (bool, error)

AllowedTokens is a free data retrieval call binding the contract method 0xe744092e.

Solidity: function allowedTokens( address) constant returns(bool)

func (*ZBGCardSession) Approve

func (_ZBGCard *ZBGCardSession) Approve(_to common.Address, _tokenId *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(_to address, _tokenId uint256) returns()

func (*ZBGCardSession) BalanceOf

func (_ZBGCard *ZBGCardSession) BalanceOf(_owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(_owner address) constant returns(balance uint256)

func (*ZBGCardSession) BalanceOfCoin

func (_ZBGCard *ZBGCardSession) BalanceOfCoin(_address common.Address, _tokenId *big.Int) (*big.Int, error)

BalanceOfCoin is a free data retrieval call binding the contract method 0x70af0e54.

Solidity: function balanceOfCoin(_address address, _tokenId uint256) constant returns(uint256)

func (*ZBGCardSession) BatchMintToken

func (_ZBGCard *ZBGCardSession) BatchMintToken(_tokenIds []*big.Int, _tokenDNAs []*big.Int) (*types.Transaction, error)

BatchMintToken is a paid mutator transaction binding the contract method 0x480cd004.

Solidity: function batchMintToken(_tokenIds uint256[], _tokenDNAs uint256[]) returns()

func (*ZBGCardSession) BatchTransferFrom

func (_ZBGCard *ZBGCardSession) BatchTransferFrom(_from common.Address, _to common.Address, _tokenIds []*big.Int, _amounts []*big.Int) (*types.Transaction, error)

BatchTransferFrom is a paid mutator transaction binding the contract method 0x17fad7fc.

Solidity: function batchTransferFrom(_from address, _to address, _tokenIds uint256[], _amounts uint256[]) returns()

func (*ZBGCardSession) CheckValidator

func (_ZBGCard *ZBGCardSession) CheckValidator(_address common.Address) (bool, error)

CheckValidator is a free data retrieval call binding the contract method 0x797327ae.

Solidity: function checkValidator(_address address) constant returns(bool)

func (*ZBGCardSession) ClaimToken

func (_ZBGCard *ZBGCardSession) ClaimToken(_tokenId *big.Int, _amount *big.Int, _sig []byte) (*types.Transaction, error)

ClaimToken is a paid mutator transaction binding the contract method 0xb68e6fea.

Solidity: function claimToken(_tokenId uint256, _amount uint256, _sig bytes) returns()

func (*ZBGCardSession) ClaimTokenNFT

func (_ZBGCard *ZBGCardSession) ClaimTokenNFT(_tokenId *big.Int, _sig []byte) (*types.Transaction, error)

ClaimTokenNFT is a paid mutator transaction binding the contract method 0xed186dd3.

Solidity: function claimTokenNFT(_tokenId uint256, _sig bytes) returns()

func (*ZBGCardSession) DepositToGateway

func (_ZBGCard *ZBGCardSession) DepositToGateway(_tokenId *big.Int, amount *big.Int) (*types.Transaction, error)

DepositToGateway is a paid mutator transaction binding the contract method 0x45f0edb7.

Solidity: function depositToGateway(_tokenId uint256, amount uint256) returns()

func (*ZBGCardSession) DisableFaucet

func (_ZBGCard *ZBGCardSession) DisableFaucet(_faucet common.Address) (*types.Transaction, error)

DisableFaucet is a paid mutator transaction binding the contract method 0x87a8af4e.

Solidity: function disableFaucet(_faucet address) returns()

func (*ZBGCardSession) EnableFaucet

func (_ZBGCard *ZBGCardSession) EnableFaucet(_faucet common.Address) (*types.Transaction, error)

EnableFaucet is a paid mutator transaction binding the contract method 0xe4596dc4.

Solidity: function enableFaucet(_faucet address) returns()

func (*ZBGCardSession) Exists

func (_ZBGCard *ZBGCardSession) Exists(_tokenId *big.Int) (bool, error)

Exists is a free data retrieval call binding the contract method 0x4f558e79.

Solidity: function exists(_tokenId uint256) constant returns(bool)

func (*ZBGCardSession) GetApproved

func (_ZBGCard *ZBGCardSession) GetApproved(_tokenId *big.Int) (common.Address, error)

GetApproved is a free data retrieval call binding the contract method 0x081812fc.

Solidity: function getApproved(_tokenId uint256) constant returns(address)

func (*ZBGCardSession) GetTokenDetailsById

func (_ZBGCard *ZBGCardSession) GetTokenDetailsById(_tokenId *big.Int) (*big.Int, *big.Int, *big.Int, *big.Int, error)

GetTokenDetailsById is a free data retrieval call binding the contract method 0x8d43f0bf.

Solidity: function getTokenDetailsById(_tokenId uint256) constant returns(uint256, uint256, uint256, uint256)

func (*ZBGCardSession) ImplementsERC721

func (_ZBGCard *ZBGCardSession) ImplementsERC721() (bool, error)

ImplementsERC721 is a free data retrieval call binding the contract method 0x1051db34.

Solidity: function implementsERC721() constant returns(bool)

func (*ZBGCardSession) ImplementsERC721X

func (_ZBGCard *ZBGCardSession) ImplementsERC721X() (bool, error)

ImplementsERC721X is a free data retrieval call binding the contract method 0x7fb42a36.

Solidity: function implementsERC721X() constant returns(bool)

func (*ZBGCardSession) IndividualSupply

func (_ZBGCard *ZBGCardSession) IndividualSupply(_tokenId *big.Int) (*big.Int, error)

IndividualSupply is a free data retrieval call binding the contract method 0x17be1933.

Solidity: function individualSupply(_tokenId uint256) constant returns(uint256)

func (*ZBGCardSession) InterfaceIdERC165

func (_ZBGCard *ZBGCardSession) InterfaceIdERC165() ([4]byte, error)

InterfaceIdERC165 is a free data retrieval call binding the contract method 0x19fa8f50.

Solidity: function InterfaceId_ERC165() constant returns(bytes4)

func (*ZBGCardSession) IsApprovedForAll

func (_ZBGCard *ZBGCardSession) IsApprovedForAll(_owner common.Address, _operator common.Address) (bool, error)

IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.

Solidity: function isApprovedForAll(_owner address, _operator address) constant returns(isOperator bool)

func (*ZBGCardSession) IsLimitedEdition

func (_ZBGCard *ZBGCardSession) IsLimitedEdition(_tokenId *big.Int) (bool, error)

IsLimitedEdition is a free data retrieval call binding the contract method 0xe3981429.

Solidity: function isLimitedEdition(_tokenId uint256) constant returns(bool)

func (*ZBGCardSession) MintToken

func (_ZBGCard *ZBGCardSession) MintToken(_tokenId *big.Int, _tokenDNA *big.Int) (*types.Transaction, error)

MintToken is a paid mutator transaction binding the contract method 0x20cbf5f9.

Solidity: function mintToken(_tokenId uint256, _tokenDNA uint256) returns()

func (*ZBGCardSession) Name

func (_ZBGCard *ZBGCardSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() constant returns(string)

func (*ZBGCardSession) Nonce

func (_ZBGCard *ZBGCardSession) Nonce() (*big.Int, error)

Nonce is a free data retrieval call binding the contract method 0xaffed0e0.

Solidity: function nonce() constant returns(uint256)

func (*ZBGCardSession) Nonces

func (_ZBGCard *ZBGCardSession) Nonces(arg0 common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces( address) constant returns(uint256)

func (*ZBGCardSession) NumValidators

func (_ZBGCard *ZBGCardSession) NumValidators() (*big.Int, error)

NumValidators is a free data retrieval call binding the contract method 0x5d593f8d.

Solidity: function numValidators() constant returns(uint256)

func (*ZBGCardSession) Owner

func (_ZBGCard *ZBGCardSession) Owner() (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*ZBGCardSession) OwnerOf

func (_ZBGCard *ZBGCardSession) OwnerOf(_tokenId *big.Int) (common.Address, error)

OwnerOf is a free data retrieval call binding the contract method 0x6352211e.

Solidity: function ownerOf(_tokenId uint256) constant returns(address)

func (*ZBGCardSession) RemoveValidator

func (_ZBGCard *ZBGCardSession) RemoveValidator(_validator common.Address, _v []uint8, _r [][32]byte, _s [][32]byte) (*types.Transaction, error)

RemoveValidator is a paid mutator transaction binding the contract method 0xc7e7f6f6.

Solidity: function removeValidator(_validator address, _v uint8[], _r bytes32[], _s bytes32[]) returns()

func (*ZBGCardSession) RenounceOwnership

func (_ZBGCard *ZBGCardSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*ZBGCardSession) SafeBatchTransferFrom

func (_ZBGCard *ZBGCardSession) SafeBatchTransferFrom(_from common.Address, _to common.Address, _tokenIds []*big.Int, _amounts []*big.Int, _data []byte) (*types.Transaction, error)

SafeBatchTransferFrom is a paid mutator transaction binding the contract method 0x2eb2c2d6.

Solidity: function safeBatchTransferFrom(_from address, _to address, _tokenIds uint256[], _amounts uint256[], _data bytes) returns()

func (*ZBGCardSession) SafeTransferFrom

func (_ZBGCard *ZBGCardSession) SafeTransferFrom(_from common.Address, _to common.Address, _tokenId *big.Int, _amount *big.Int, _data []byte) (*types.Transaction, error)

SafeTransferFrom is a paid mutator transaction binding the contract method 0xf242432a.

Solidity: function safeTransferFrom(_from address, _to address, _tokenId uint256, _amount uint256, _data bytes) returns()

func (*ZBGCardSession) SetApprovalForAll

func (_ZBGCard *ZBGCardSession) SetApprovalForAll(_operator common.Address, _approved bool) (*types.Transaction, error)

SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.

Solidity: function setApprovalForAll(_operator address, _approved bool) returns()

func (*ZBGCardSession) SupportsInterface

func (_ZBGCard *ZBGCardSession) SupportsInterface(_interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(_interfaceId bytes4) constant returns(bool)

func (*ZBGCardSession) Symbol

func (_ZBGCard *ZBGCardSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() constant returns(string)

func (*ZBGCardSession) ToggleToken

func (_ZBGCard *ZBGCardSession) ToggleToken(_token common.Address) (*types.Transaction, error)

ToggleToken is a paid mutator transaction binding the contract method 0x15c75f89.

Solidity: function toggleToken(_token address) returns()

func (*ZBGCardSession) TokenByIndex

func (_ZBGCard *ZBGCardSession) TokenByIndex(_index *big.Int) (*big.Int, error)

TokenByIndex is a free data retrieval call binding the contract method 0x4f6ccce7.

Solidity: function tokenByIndex(_index uint256) constant returns(uint256)

func (*ZBGCardSession) TokenIdToDNA

func (_ZBGCard *ZBGCardSession) TokenIdToDNA(arg0 *big.Int) (*big.Int, error)

TokenIdToDNA is a free data retrieval call binding the contract method 0x6e5ed979.

Solidity: function tokenIdToDNA( uint256) constant returns(uint256)

func (*ZBGCardSession) TokenOfOwnerByIndex

func (_ZBGCard *ZBGCardSession) TokenOfOwnerByIndex(_owner common.Address, _index *big.Int) (*big.Int, error)

TokenOfOwnerByIndex is a free data retrieval call binding the contract method 0x2f745c59.

Solidity: function tokenOfOwnerByIndex(_owner address, _index uint256) constant returns(_tokenId uint256)

func (*ZBGCardSession) TokenURI

func (_ZBGCard *ZBGCardSession) TokenURI(_tokenId *big.Int) (string, error)

TokenURI is a free data retrieval call binding the contract method 0xc87b56dd.

Solidity: function tokenURI(_tokenId uint256) constant returns(tokenUri string)

func (*ZBGCardSession) TokensOwned

func (_ZBGCard *ZBGCardSession) TokensOwned(_owner common.Address) (struct {
	Indexes  []*big.Int
	Balances []*big.Int
}, error)

TokensOwned is a free data retrieval call binding the contract method 0x21cda790.

Solidity: function tokensOwned(_owner address) constant returns(indexes uint256[], balances uint256[])

func (*ZBGCardSession) TotalSupply

func (_ZBGCard *ZBGCardSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() constant returns(uint256)

func (*ZBGCardSession) Transfer

func (_ZBGCard *ZBGCardSession) Transfer(_to common.Address, _tokenId *big.Int, _amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0x095bcdb6.

Solidity: function transfer(_to address, _tokenId uint256, _amount uint256) returns()

func (*ZBGCardSession) TransferFrom

func (_ZBGCard *ZBGCardSession) TransferFrom(_from common.Address, _to common.Address, _tokenId *big.Int, _amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0xfe99049a.

Solidity: function transferFrom(_from address, _to address, _tokenId uint256, _amount uint256) returns()

func (*ZBGCardSession) TransferFrom1

func (_ZBGCard *ZBGCardSession) TransferFrom1(_from common.Address, _to common.Address, _tokenId *big.Int, _amount *big.Int) (*types.Transaction, error)

TransferFrom1 is a paid mutator transaction binding the contract method 0x919a96cc.

Solidity: function transferFrom1(_from address, _to address, _tokenId uint256, _amount uint256) returns()

func (*ZBGCardSession) TransferOwnership

func (_ZBGCard *ZBGCardSession) TransferOwnership(_newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(_newOwner address) returns()

type ZBGCardTokenClaimed

type ZBGCardTokenClaimed struct {
	TokenId *big.Int
	Claimer common.Address
	Amount  *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

ZBGCardTokenClaimed represents a TokenClaimed event raised by the ZBGCard contract.

type ZBGCardTokenClaimedIterator

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

ZBGCardTokenClaimedIterator is returned from FilterTokenClaimed and is used to iterate over the raw logs and unpacked data for TokenClaimed events raised by the ZBGCard contract.

func (*ZBGCardTokenClaimedIterator) Close

func (it *ZBGCardTokenClaimedIterator) Close() error

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

func (*ZBGCardTokenClaimedIterator) Error

func (it *ZBGCardTokenClaimedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZBGCardTokenClaimedIterator) Next

func (it *ZBGCardTokenClaimedIterator) Next() bool

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 ZBGCardTokenMinted

type ZBGCardTokenMinted struct {
	TokenId *big.Int
	Supply  *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

ZBGCardTokenMinted represents a TokenMinted event raised by the ZBGCard contract.

type ZBGCardTokenMintedIterator

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

ZBGCardTokenMintedIterator is returned from FilterTokenMinted and is used to iterate over the raw logs and unpacked data for TokenMinted events raised by the ZBGCard contract.

func (*ZBGCardTokenMintedIterator) Close

func (it *ZBGCardTokenMintedIterator) Close() error

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

func (*ZBGCardTokenMintedIterator) Error

func (it *ZBGCardTokenMintedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZBGCardTokenMintedIterator) Next

func (it *ZBGCardTokenMintedIterator) Next() bool

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 ZBGCardTransactor

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

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

func NewZBGCardTransactor

func NewZBGCardTransactor(address common.Address, transactor bind.ContractTransactor) (*ZBGCardTransactor, error)

NewZBGCardTransactor creates a new write-only instance of ZBGCard, bound to a specific deployed contract.

func (*ZBGCardTransactor) AddValidator

func (_ZBGCard *ZBGCardTransactor) AddValidator(opts *bind.TransactOpts, _validator common.Address, _v []uint8, _r [][32]byte, _s [][32]byte) (*types.Transaction, error)

AddValidator is a paid mutator transaction binding the contract method 0x90b616c8.

Solidity: function addValidator(_validator address, _v uint8[], _r bytes32[], _s bytes32[]) returns()

func (*ZBGCardTransactor) Approve

func (_ZBGCard *ZBGCardTransactor) Approve(opts *bind.TransactOpts, _to common.Address, _tokenId *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(_to address, _tokenId uint256) returns()

func (*ZBGCardTransactor) BatchMintToken

func (_ZBGCard *ZBGCardTransactor) BatchMintToken(opts *bind.TransactOpts, _tokenIds []*big.Int, _tokenDNAs []*big.Int) (*types.Transaction, error)

BatchMintToken is a paid mutator transaction binding the contract method 0x480cd004.

Solidity: function batchMintToken(_tokenIds uint256[], _tokenDNAs uint256[]) returns()

func (*ZBGCardTransactor) BatchTransferFrom

func (_ZBGCard *ZBGCardTransactor) BatchTransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, _tokenIds []*big.Int, _amounts []*big.Int) (*types.Transaction, error)

BatchTransferFrom is a paid mutator transaction binding the contract method 0x17fad7fc.

Solidity: function batchTransferFrom(_from address, _to address, _tokenIds uint256[], _amounts uint256[]) returns()

func (*ZBGCardTransactor) ClaimToken

func (_ZBGCard *ZBGCardTransactor) ClaimToken(opts *bind.TransactOpts, _tokenId *big.Int, _amount *big.Int, _sig []byte) (*types.Transaction, error)

ClaimToken is a paid mutator transaction binding the contract method 0xb68e6fea.

Solidity: function claimToken(_tokenId uint256, _amount uint256, _sig bytes) returns()

func (*ZBGCardTransactor) ClaimTokenNFT

func (_ZBGCard *ZBGCardTransactor) ClaimTokenNFT(opts *bind.TransactOpts, _tokenId *big.Int, _sig []byte) (*types.Transaction, error)

ClaimTokenNFT is a paid mutator transaction binding the contract method 0xed186dd3.

Solidity: function claimTokenNFT(_tokenId uint256, _sig bytes) returns()

func (*ZBGCardTransactor) DepositToGateway

func (_ZBGCard *ZBGCardTransactor) DepositToGateway(opts *bind.TransactOpts, _tokenId *big.Int, amount *big.Int) (*types.Transaction, error)

DepositToGateway is a paid mutator transaction binding the contract method 0x45f0edb7.

Solidity: function depositToGateway(_tokenId uint256, amount uint256) returns()

func (*ZBGCardTransactor) DisableFaucet

func (_ZBGCard *ZBGCardTransactor) DisableFaucet(opts *bind.TransactOpts, _faucet common.Address) (*types.Transaction, error)

DisableFaucet is a paid mutator transaction binding the contract method 0x87a8af4e.

Solidity: function disableFaucet(_faucet address) returns()

func (*ZBGCardTransactor) EnableFaucet

func (_ZBGCard *ZBGCardTransactor) EnableFaucet(opts *bind.TransactOpts, _faucet common.Address) (*types.Transaction, error)

EnableFaucet is a paid mutator transaction binding the contract method 0xe4596dc4.

Solidity: function enableFaucet(_faucet address) returns()

func (*ZBGCardTransactor) MintToken

func (_ZBGCard *ZBGCardTransactor) MintToken(opts *bind.TransactOpts, _tokenId *big.Int, _tokenDNA *big.Int) (*types.Transaction, error)

MintToken is a paid mutator transaction binding the contract method 0x20cbf5f9.

Solidity: function mintToken(_tokenId uint256, _tokenDNA uint256) returns()

func (*ZBGCardTransactor) RemoveValidator

func (_ZBGCard *ZBGCardTransactor) RemoveValidator(opts *bind.TransactOpts, _validator common.Address, _v []uint8, _r [][32]byte, _s [][32]byte) (*types.Transaction, error)

RemoveValidator is a paid mutator transaction binding the contract method 0xc7e7f6f6.

Solidity: function removeValidator(_validator address, _v uint8[], _r bytes32[], _s bytes32[]) returns()

func (*ZBGCardTransactor) RenounceOwnership

func (_ZBGCard *ZBGCardTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*ZBGCardTransactor) SafeBatchTransferFrom

func (_ZBGCard *ZBGCardTransactor) SafeBatchTransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, _tokenIds []*big.Int, _amounts []*big.Int, _data []byte) (*types.Transaction, error)

SafeBatchTransferFrom is a paid mutator transaction binding the contract method 0x2eb2c2d6.

Solidity: function safeBatchTransferFrom(_from address, _to address, _tokenIds uint256[], _amounts uint256[], _data bytes) returns()

func (*ZBGCardTransactor) SafeTransferFrom

func (_ZBGCard *ZBGCardTransactor) SafeTransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, _tokenId *big.Int, _amount *big.Int, _data []byte) (*types.Transaction, error)

SafeTransferFrom is a paid mutator transaction binding the contract method 0xf242432a.

Solidity: function safeTransferFrom(_from address, _to address, _tokenId uint256, _amount uint256, _data bytes) returns()

func (*ZBGCardTransactor) SetApprovalForAll

func (_ZBGCard *ZBGCardTransactor) SetApprovalForAll(opts *bind.TransactOpts, _operator common.Address, _approved bool) (*types.Transaction, error)

SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.

Solidity: function setApprovalForAll(_operator address, _approved bool) returns()

func (*ZBGCardTransactor) ToggleToken

func (_ZBGCard *ZBGCardTransactor) ToggleToken(opts *bind.TransactOpts, _token common.Address) (*types.Transaction, error)

ToggleToken is a paid mutator transaction binding the contract method 0x15c75f89.

Solidity: function toggleToken(_token address) returns()

func (*ZBGCardTransactor) Transfer

func (_ZBGCard *ZBGCardTransactor) Transfer(opts *bind.TransactOpts, _to common.Address, _tokenId *big.Int, _amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0x095bcdb6.

Solidity: function transfer(_to address, _tokenId uint256, _amount uint256) returns()

func (*ZBGCardTransactor) TransferFrom

func (_ZBGCard *ZBGCardTransactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, _tokenId *big.Int, _amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0xfe99049a.

Solidity: function transferFrom(_from address, _to address, _tokenId uint256, _amount uint256) returns()

func (*ZBGCardTransactor) TransferFrom1

func (_ZBGCard *ZBGCardTransactor) TransferFrom1(opts *bind.TransactOpts, _from common.Address, _to common.Address, _tokenId *big.Int, _amount *big.Int) (*types.Transaction, error)

TransferFrom1 is a paid mutator transaction binding the contract method 0x919a96cc.

Solidity: function transferFrom1(_from address, _to address, _tokenId uint256, _amount uint256) returns()

func (*ZBGCardTransactor) TransferOwnership

func (_ZBGCard *ZBGCardTransactor) TransferOwnership(opts *bind.TransactOpts, _newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(_newOwner address) returns()

type ZBGCardTransactorRaw

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

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

func (*ZBGCardTransactorRaw) Transact

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

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

func (*ZBGCardTransactorRaw) Transfer

func (_ZBGCard *ZBGCardTransactorRaw) 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 ZBGCardTransactorSession

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

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

func (*ZBGCardTransactorSession) AddValidator

func (_ZBGCard *ZBGCardTransactorSession) AddValidator(_validator common.Address, _v []uint8, _r [][32]byte, _s [][32]byte) (*types.Transaction, error)

AddValidator is a paid mutator transaction binding the contract method 0x90b616c8.

Solidity: function addValidator(_validator address, _v uint8[], _r bytes32[], _s bytes32[]) returns()

func (*ZBGCardTransactorSession) Approve

func (_ZBGCard *ZBGCardTransactorSession) Approve(_to common.Address, _tokenId *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(_to address, _tokenId uint256) returns()

func (*ZBGCardTransactorSession) BatchMintToken

func (_ZBGCard *ZBGCardTransactorSession) BatchMintToken(_tokenIds []*big.Int, _tokenDNAs []*big.Int) (*types.Transaction, error)

BatchMintToken is a paid mutator transaction binding the contract method 0x480cd004.

Solidity: function batchMintToken(_tokenIds uint256[], _tokenDNAs uint256[]) returns()

func (*ZBGCardTransactorSession) BatchTransferFrom

func (_ZBGCard *ZBGCardTransactorSession) BatchTransferFrom(_from common.Address, _to common.Address, _tokenIds []*big.Int, _amounts []*big.Int) (*types.Transaction, error)

BatchTransferFrom is a paid mutator transaction binding the contract method 0x17fad7fc.

Solidity: function batchTransferFrom(_from address, _to address, _tokenIds uint256[], _amounts uint256[]) returns()

func (*ZBGCardTransactorSession) ClaimToken

func (_ZBGCard *ZBGCardTransactorSession) ClaimToken(_tokenId *big.Int, _amount *big.Int, _sig []byte) (*types.Transaction, error)

ClaimToken is a paid mutator transaction binding the contract method 0xb68e6fea.

Solidity: function claimToken(_tokenId uint256, _amount uint256, _sig bytes) returns()

func (*ZBGCardTransactorSession) ClaimTokenNFT

func (_ZBGCard *ZBGCardTransactorSession) ClaimTokenNFT(_tokenId *big.Int, _sig []byte) (*types.Transaction, error)

ClaimTokenNFT is a paid mutator transaction binding the contract method 0xed186dd3.

Solidity: function claimTokenNFT(_tokenId uint256, _sig bytes) returns()

func (*ZBGCardTransactorSession) DepositToGateway

func (_ZBGCard *ZBGCardTransactorSession) DepositToGateway(_tokenId *big.Int, amount *big.Int) (*types.Transaction, error)

DepositToGateway is a paid mutator transaction binding the contract method 0x45f0edb7.

Solidity: function depositToGateway(_tokenId uint256, amount uint256) returns()

func (*ZBGCardTransactorSession) DisableFaucet

func (_ZBGCard *ZBGCardTransactorSession) DisableFaucet(_faucet common.Address) (*types.Transaction, error)

DisableFaucet is a paid mutator transaction binding the contract method 0x87a8af4e.

Solidity: function disableFaucet(_faucet address) returns()

func (*ZBGCardTransactorSession) EnableFaucet

func (_ZBGCard *ZBGCardTransactorSession) EnableFaucet(_faucet common.Address) (*types.Transaction, error)

EnableFaucet is a paid mutator transaction binding the contract method 0xe4596dc4.

Solidity: function enableFaucet(_faucet address) returns()

func (*ZBGCardTransactorSession) MintToken

func (_ZBGCard *ZBGCardTransactorSession) MintToken(_tokenId *big.Int, _tokenDNA *big.Int) (*types.Transaction, error)

MintToken is a paid mutator transaction binding the contract method 0x20cbf5f9.

Solidity: function mintToken(_tokenId uint256, _tokenDNA uint256) returns()

func (*ZBGCardTransactorSession) RemoveValidator

func (_ZBGCard *ZBGCardTransactorSession) RemoveValidator(_validator common.Address, _v []uint8, _r [][32]byte, _s [][32]byte) (*types.Transaction, error)

RemoveValidator is a paid mutator transaction binding the contract method 0xc7e7f6f6.

Solidity: function removeValidator(_validator address, _v uint8[], _r bytes32[], _s bytes32[]) returns()

func (*ZBGCardTransactorSession) RenounceOwnership

func (_ZBGCard *ZBGCardTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*ZBGCardTransactorSession) SafeBatchTransferFrom

func (_ZBGCard *ZBGCardTransactorSession) SafeBatchTransferFrom(_from common.Address, _to common.Address, _tokenIds []*big.Int, _amounts []*big.Int, _data []byte) (*types.Transaction, error)

SafeBatchTransferFrom is a paid mutator transaction binding the contract method 0x2eb2c2d6.

Solidity: function safeBatchTransferFrom(_from address, _to address, _tokenIds uint256[], _amounts uint256[], _data bytes) returns()

func (*ZBGCardTransactorSession) SafeTransferFrom

func (_ZBGCard *ZBGCardTransactorSession) SafeTransferFrom(_from common.Address, _to common.Address, _tokenId *big.Int, _amount *big.Int, _data []byte) (*types.Transaction, error)

SafeTransferFrom is a paid mutator transaction binding the contract method 0xf242432a.

Solidity: function safeTransferFrom(_from address, _to address, _tokenId uint256, _amount uint256, _data bytes) returns()

func (*ZBGCardTransactorSession) SetApprovalForAll

func (_ZBGCard *ZBGCardTransactorSession) SetApprovalForAll(_operator common.Address, _approved bool) (*types.Transaction, error)

SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.

Solidity: function setApprovalForAll(_operator address, _approved bool) returns()

func (*ZBGCardTransactorSession) ToggleToken

func (_ZBGCard *ZBGCardTransactorSession) ToggleToken(_token common.Address) (*types.Transaction, error)

ToggleToken is a paid mutator transaction binding the contract method 0x15c75f89.

Solidity: function toggleToken(_token address) returns()

func (*ZBGCardTransactorSession) Transfer

func (_ZBGCard *ZBGCardTransactorSession) Transfer(_to common.Address, _tokenId *big.Int, _amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0x095bcdb6.

Solidity: function transfer(_to address, _tokenId uint256, _amount uint256) returns()

func (*ZBGCardTransactorSession) TransferFrom

func (_ZBGCard *ZBGCardTransactorSession) TransferFrom(_from common.Address, _to common.Address, _tokenId *big.Int, _amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0xfe99049a.

Solidity: function transferFrom(_from address, _to address, _tokenId uint256, _amount uint256) returns()

func (*ZBGCardTransactorSession) TransferFrom1

func (_ZBGCard *ZBGCardTransactorSession) TransferFrom1(_from common.Address, _to common.Address, _tokenId *big.Int, _amount *big.Int) (*types.Transaction, error)

TransferFrom1 is a paid mutator transaction binding the contract method 0x919a96cc.

Solidity: function transferFrom1(_from address, _to address, _tokenId uint256, _amount uint256) returns()

func (*ZBGCardTransactorSession) TransferOwnership

func (_ZBGCard *ZBGCardTransactorSession) TransferOwnership(_newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(_newOwner address) returns()

type ZBGCardTransfer

type ZBGCardTransfer struct {
	From    common.Address
	To      common.Address
	TokenId *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

ZBGCardTransfer represents a Transfer event raised by the ZBGCard contract.

type ZBGCardTransferIterator

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

ZBGCardTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the ZBGCard contract.

func (*ZBGCardTransferIterator) Close

func (it *ZBGCardTransferIterator) Close() error

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

func (*ZBGCardTransferIterator) Error

func (it *ZBGCardTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZBGCardTransferIterator) Next

func (it *ZBGCardTransferIterator) Next() bool

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 ZBGCardTransferToken

type ZBGCardTransferToken struct {
	From     common.Address
	To       common.Address
	TokenId  *big.Int
	Quantity *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

ZBGCardTransferToken represents a TransferToken event raised by the ZBGCard contract.

type ZBGCardTransferTokenIterator

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

ZBGCardTransferTokenIterator is returned from FilterTransferToken and is used to iterate over the raw logs and unpacked data for TransferToken events raised by the ZBGCard contract.

func (*ZBGCardTransferTokenIterator) Close

func (it *ZBGCardTransferTokenIterator) Close() error

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

func (*ZBGCardTransferTokenIterator) Error

func (it *ZBGCardTransferTokenIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZBGCardTransferTokenIterator) 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 ZBGCardTransferWithQuantity

type ZBGCardTransferWithQuantity struct {
	From    common.Address
	To      common.Address
	TokenId *big.Int
	Amount  *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

ZBGCardTransferWithQuantity represents a TransferWithQuantity event raised by the ZBGCard contract.

type ZBGCardTransferWithQuantityIterator

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

ZBGCardTransferWithQuantityIterator is returned from FilterTransferWithQuantity and is used to iterate over the raw logs and unpacked data for TransferWithQuantity events raised by the ZBGCard contract.

func (*ZBGCardTransferWithQuantityIterator) Close

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

func (*ZBGCardTransferWithQuantityIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZBGCardTransferWithQuantityIterator) 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.

Jump to

Keyboard shortcuts

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