ckabi

package
v0.0.0-...-57ad747 Latest Latest
Warning

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

Go to latest
Published: May 16, 2018 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const CKABI = "" /* 14162-byte string literal not displayed */

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

Variables

This section is empty.

Functions

This section is empty.

Types

type CK

type CK struct {
	CKCaller     // Read-only binding to the contract
	CKTransactor // Write-only binding to the contract
	CKFilterer   // Log filterer for contract events
}

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

func NewCK

func NewCK(address common.Address, backend bind.ContractBackend) (*CK, error)

NewCK creates a new instance of CK, bound to a specific deployed contract.

type CKApproval

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

CKApproval represents a Approval event raised by the CK contract.

type CKApprovalIterator

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

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

func (*CKApprovalIterator) Close

func (it *CKApprovalIterator) Close() error

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

func (*CKApprovalIterator) Error

func (it *CKApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CKApprovalIterator) Next

func (it *CKApprovalIterator) 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 CKBirth

type CKBirth struct {
	Owner    common.Address
	KittyId  *big.Int
	MatronId *big.Int
	SireId   *big.Int
	Genes    *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

CKBirth represents a Birth event raised by the CK contract.

type CKBirthIterator

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

CKBirthIterator is returned from FilterBirth and is used to iterate over the raw logs and unpacked data for Birth events raised by the CK contract.

func (*CKBirthIterator) Close

func (it *CKBirthIterator) Close() error

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

func (*CKBirthIterator) Error

func (it *CKBirthIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CKBirthIterator) Next

func (it *CKBirthIterator) 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 CKCaller

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

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

func NewCKCaller

func NewCKCaller(address common.Address, caller bind.ContractCaller) (*CKCaller, error)

NewCKCaller creates a new read-only instance of CK, bound to a specific deployed contract.

func (*CKCaller) AutoBirthFee

func (_CK *CKCaller) AutoBirthFee(opts *bind.CallOpts) (*big.Int, error)

AutoBirthFee is a free data retrieval call binding the contract method 0xb0c35c05.

Solidity: function autoBirthFee() constant returns(uint256)

func (*CKCaller) BalanceOf

func (_CK *CKCaller) 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(count uint256)

func (*CKCaller) CanBreedWith

func (_CK *CKCaller) CanBreedWith(opts *bind.CallOpts, _matronId *big.Int, _sireId *big.Int) (bool, error)

CanBreedWith is a free data retrieval call binding the contract method 0x46d22c70.

Solidity: function canBreedWith(_matronId uint256, _sireId uint256) constant returns(bool)

func (*CKCaller) CeoAddress

func (_CK *CKCaller) CeoAddress(opts *bind.CallOpts) (common.Address, error)

CeoAddress is a free data retrieval call binding the contract method 0x0a0f8168.

Solidity: function ceoAddress() constant returns(address)

func (*CKCaller) CfoAddress

func (_CK *CKCaller) CfoAddress(opts *bind.CallOpts) (common.Address, error)

CfoAddress is a free data retrieval call binding the contract method 0x0519ce79.

Solidity: function cfoAddress() constant returns(address)

func (*CKCaller) CooAddress

func (_CK *CKCaller) CooAddress(opts *bind.CallOpts) (common.Address, error)

CooAddress is a free data retrieval call binding the contract method 0xb047fb50.

Solidity: function cooAddress() constant returns(address)

func (*CKCaller) Cooldowns

func (_CK *CKCaller) Cooldowns(opts *bind.CallOpts, arg0 *big.Int) (uint32, error)

Cooldowns is a free data retrieval call binding the contract method 0x9d6fac6f.

Solidity: function cooldowns( uint256) constant returns(uint32)

func (*CKCaller) Erc721Metadata

func (_CK *CKCaller) Erc721Metadata(opts *bind.CallOpts) (common.Address, error)

Erc721Metadata is a free data retrieval call binding the contract method 0xbc4006f5.

Solidity: function erc721Metadata() constant returns(address)

func (*CKCaller) GEN0_AUCTION_DURATION

func (_CK *CKCaller) GEN0_AUCTION_DURATION(opts *bind.CallOpts) (*big.Int, error)

GEN0_AUCTION_DURATION is a free data retrieval call binding the contract method 0x19c2f201.

Solidity: function GEN0_AUCTION_DURATION() constant returns(uint256)

func (*CKCaller) GEN0_CREATION_LIMIT

func (_CK *CKCaller) GEN0_CREATION_LIMIT(opts *bind.CallOpts) (*big.Int, error)

GEN0_CREATION_LIMIT is a free data retrieval call binding the contract method 0x680eba27.

Solidity: function GEN0_CREATION_LIMIT() constant returns(uint256)

func (*CKCaller) GEN0_STARTING_PRICE

func (_CK *CKCaller) GEN0_STARTING_PRICE(opts *bind.CallOpts) (*big.Int, error)

GEN0_STARTING_PRICE is a free data retrieval call binding the contract method 0x0e583df0.

Solidity: function GEN0_STARTING_PRICE() constant returns(uint256)

func (*CKCaller) Gen0CreatedCount

func (_CK *CKCaller) Gen0CreatedCount(opts *bind.CallOpts) (*big.Int, error)

Gen0CreatedCount is a free data retrieval call binding the contract method 0xf1ca9410.

Solidity: function gen0CreatedCount() constant returns(uint256)

func (*CKCaller) GeneScience

func (_CK *CKCaller) GeneScience(opts *bind.CallOpts) (common.Address, error)

GeneScience is a free data retrieval call binding the contract method 0xf2b47d52.

Solidity: function geneScience() constant returns(address)

func (*CKCaller) GetKitty

func (_CK *CKCaller) GetKitty(opts *bind.CallOpts, _id *big.Int) (struct {
	IsGestating   bool
	IsReady       bool
	CooldownIndex *big.Int
	NextActionAt  *big.Int
	SiringWithId  *big.Int
	BirthTime     *big.Int
	MatronId      *big.Int
	SireId        *big.Int
	Generation    *big.Int
	Genes         *big.Int
}, error)

GetKitty is a free data retrieval call binding the contract method 0xe98b7f4d.

Solidity: function getKitty(_id uint256) constant returns(isGestating bool, isReady bool, cooldownIndex uint256, nextActionAt uint256, siringWithId uint256, birthTime uint256, matronId uint256, sireId uint256, generation uint256, genes uint256)

func (*CKCaller) IsPregnant

func (_CK *CKCaller) IsPregnant(opts *bind.CallOpts, _kittyId *big.Int) (bool, error)

IsPregnant is a free data retrieval call binding the contract method 0x1940a936.

Solidity: function isPregnant(_kittyId uint256) constant returns(bool)

func (*CKCaller) IsReadyToBreed

func (_CK *CKCaller) IsReadyToBreed(opts *bind.CallOpts, _kittyId *big.Int) (bool, error)

IsReadyToBreed is a free data retrieval call binding the contract method 0xd3e6f49f.

Solidity: function isReadyToBreed(_kittyId uint256) constant returns(bool)

func (*CKCaller) KittyIndexToApproved

func (_CK *CKCaller) KittyIndexToApproved(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

KittyIndexToApproved is a free data retrieval call binding the contract method 0x481af3d3.

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

func (*CKCaller) KittyIndexToOwner

func (_CK *CKCaller) KittyIndexToOwner(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

KittyIndexToOwner is a free data retrieval call binding the contract method 0xa45f4bfc.

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

func (*CKCaller) Name

func (_CK *CKCaller) 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 (*CKCaller) NewContractAddress

func (_CK *CKCaller) NewContractAddress(opts *bind.CallOpts) (common.Address, error)

NewContractAddress is a free data retrieval call binding the contract method 0x6af04a57.

Solidity: function newContractAddress() constant returns(address)

func (*CKCaller) OwnerOf

func (_CK *CKCaller) 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(owner address)

func (*CKCaller) PROMO_CREATION_LIMIT

func (_CK *CKCaller) PROMO_CREATION_LIMIT(opts *bind.CallOpts) (*big.Int, error)

PROMO_CREATION_LIMIT is a free data retrieval call binding the contract method 0xdefb9584.

Solidity: function PROMO_CREATION_LIMIT() constant returns(uint256)

func (*CKCaller) Paused

func (_CK *CKCaller) Paused(opts *bind.CallOpts) (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() constant returns(bool)

func (*CKCaller) PregnantKitties

func (_CK *CKCaller) PregnantKitties(opts *bind.CallOpts) (*big.Int, error)

PregnantKitties is a free data retrieval call binding the contract method 0x183a7947.

Solidity: function pregnantKitties() constant returns(uint256)

func (*CKCaller) PromoCreatedCount

func (_CK *CKCaller) PromoCreatedCount(opts *bind.CallOpts) (*big.Int, error)

PromoCreatedCount is a free data retrieval call binding the contract method 0x05e45546.

Solidity: function promoCreatedCount() constant returns(uint256)

func (*CKCaller) SaleAuction

func (_CK *CKCaller) SaleAuction(opts *bind.CallOpts) (common.Address, error)

SaleAuction is a free data retrieval call binding the contract method 0xe6cbe351.

Solidity: function saleAuction() constant returns(address)

func (*CKCaller) SecondsPerBlock

func (_CK *CKCaller) SecondsPerBlock(opts *bind.CallOpts) (*big.Int, error)

SecondsPerBlock is a free data retrieval call binding the contract method 0x7a7d4937.

Solidity: function secondsPerBlock() constant returns(uint256)

func (*CKCaller) SireAllowedToAddress

func (_CK *CKCaller) SireAllowedToAddress(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

SireAllowedToAddress is a free data retrieval call binding the contract method 0x46116e6f.

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

func (*CKCaller) SiringAuction

func (_CK *CKCaller) SiringAuction(opts *bind.CallOpts) (common.Address, error)

SiringAuction is a free data retrieval call binding the contract method 0x21717ebf.

Solidity: function siringAuction() constant returns(address)

func (*CKCaller) SupportsInterface

func (_CK *CKCaller) 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 (*CKCaller) Symbol

func (_CK *CKCaller) 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 (*CKCaller) TokenMetadata

func (_CK *CKCaller) TokenMetadata(opts *bind.CallOpts, _tokenId *big.Int, _preferredTransport string) (string, error)

TokenMetadata is a free data retrieval call binding the contract method 0x0560ff44.

Solidity: function tokenMetadata(_tokenId uint256, _preferredTransport string) constant returns(infoUrl string)

func (*CKCaller) TokensOfOwner

func (_CK *CKCaller) TokensOfOwner(opts *bind.CallOpts, _owner common.Address) ([]*big.Int, error)

TokensOfOwner is a free data retrieval call binding the contract method 0x8462151c.

Solidity: function tokensOfOwner(_owner address) constant returns(ownerTokens uint256[])

func (*CKCaller) TotalSupply

func (_CK *CKCaller) 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 CKCallerRaw

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

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

func (*CKCallerRaw) Call

func (_CK *CKCallerRaw) 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 CKCallerSession

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

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

func (*CKCallerSession) AutoBirthFee

func (_CK *CKCallerSession) AutoBirthFee() (*big.Int, error)

AutoBirthFee is a free data retrieval call binding the contract method 0xb0c35c05.

Solidity: function autoBirthFee() constant returns(uint256)

func (*CKCallerSession) BalanceOf

func (_CK *CKCallerSession) 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(count uint256)

func (*CKCallerSession) CanBreedWith

func (_CK *CKCallerSession) CanBreedWith(_matronId *big.Int, _sireId *big.Int) (bool, error)

CanBreedWith is a free data retrieval call binding the contract method 0x46d22c70.

Solidity: function canBreedWith(_matronId uint256, _sireId uint256) constant returns(bool)

func (*CKCallerSession) CeoAddress

func (_CK *CKCallerSession) CeoAddress() (common.Address, error)

CeoAddress is a free data retrieval call binding the contract method 0x0a0f8168.

Solidity: function ceoAddress() constant returns(address)

func (*CKCallerSession) CfoAddress

func (_CK *CKCallerSession) CfoAddress() (common.Address, error)

CfoAddress is a free data retrieval call binding the contract method 0x0519ce79.

Solidity: function cfoAddress() constant returns(address)

func (*CKCallerSession) CooAddress

func (_CK *CKCallerSession) CooAddress() (common.Address, error)

CooAddress is a free data retrieval call binding the contract method 0xb047fb50.

Solidity: function cooAddress() constant returns(address)

func (*CKCallerSession) Cooldowns

func (_CK *CKCallerSession) Cooldowns(arg0 *big.Int) (uint32, error)

Cooldowns is a free data retrieval call binding the contract method 0x9d6fac6f.

Solidity: function cooldowns( uint256) constant returns(uint32)

func (*CKCallerSession) Erc721Metadata

func (_CK *CKCallerSession) Erc721Metadata() (common.Address, error)

Erc721Metadata is a free data retrieval call binding the contract method 0xbc4006f5.

Solidity: function erc721Metadata() constant returns(address)

func (*CKCallerSession) GEN0_AUCTION_DURATION

func (_CK *CKCallerSession) GEN0_AUCTION_DURATION() (*big.Int, error)

GEN0_AUCTION_DURATION is a free data retrieval call binding the contract method 0x19c2f201.

Solidity: function GEN0_AUCTION_DURATION() constant returns(uint256)

func (*CKCallerSession) GEN0_CREATION_LIMIT

func (_CK *CKCallerSession) GEN0_CREATION_LIMIT() (*big.Int, error)

GEN0_CREATION_LIMIT is a free data retrieval call binding the contract method 0x680eba27.

Solidity: function GEN0_CREATION_LIMIT() constant returns(uint256)

func (*CKCallerSession) GEN0_STARTING_PRICE

func (_CK *CKCallerSession) GEN0_STARTING_PRICE() (*big.Int, error)

GEN0_STARTING_PRICE is a free data retrieval call binding the contract method 0x0e583df0.

Solidity: function GEN0_STARTING_PRICE() constant returns(uint256)

func (*CKCallerSession) Gen0CreatedCount

func (_CK *CKCallerSession) Gen0CreatedCount() (*big.Int, error)

Gen0CreatedCount is a free data retrieval call binding the contract method 0xf1ca9410.

Solidity: function gen0CreatedCount() constant returns(uint256)

func (*CKCallerSession) GeneScience

func (_CK *CKCallerSession) GeneScience() (common.Address, error)

GeneScience is a free data retrieval call binding the contract method 0xf2b47d52.

Solidity: function geneScience() constant returns(address)

func (*CKCallerSession) GetKitty

func (_CK *CKCallerSession) GetKitty(_id *big.Int) (struct {
	IsGestating   bool
	IsReady       bool
	CooldownIndex *big.Int
	NextActionAt  *big.Int
	SiringWithId  *big.Int
	BirthTime     *big.Int
	MatronId      *big.Int
	SireId        *big.Int
	Generation    *big.Int
	Genes         *big.Int
}, error)

GetKitty is a free data retrieval call binding the contract method 0xe98b7f4d.

Solidity: function getKitty(_id uint256) constant returns(isGestating bool, isReady bool, cooldownIndex uint256, nextActionAt uint256, siringWithId uint256, birthTime uint256, matronId uint256, sireId uint256, generation uint256, genes uint256)

func (*CKCallerSession) IsPregnant

func (_CK *CKCallerSession) IsPregnant(_kittyId *big.Int) (bool, error)

IsPregnant is a free data retrieval call binding the contract method 0x1940a936.

Solidity: function isPregnant(_kittyId uint256) constant returns(bool)

func (*CKCallerSession) IsReadyToBreed

func (_CK *CKCallerSession) IsReadyToBreed(_kittyId *big.Int) (bool, error)

IsReadyToBreed is a free data retrieval call binding the contract method 0xd3e6f49f.

Solidity: function isReadyToBreed(_kittyId uint256) constant returns(bool)

func (*CKCallerSession) KittyIndexToApproved

func (_CK *CKCallerSession) KittyIndexToApproved(arg0 *big.Int) (common.Address, error)

KittyIndexToApproved is a free data retrieval call binding the contract method 0x481af3d3.

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

func (*CKCallerSession) KittyIndexToOwner

func (_CK *CKCallerSession) KittyIndexToOwner(arg0 *big.Int) (common.Address, error)

KittyIndexToOwner is a free data retrieval call binding the contract method 0xa45f4bfc.

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

func (*CKCallerSession) Name

func (_CK *CKCallerSession) Name() (string, error)

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

Solidity: function name() constant returns(string)

func (*CKCallerSession) NewContractAddress

func (_CK *CKCallerSession) NewContractAddress() (common.Address, error)

NewContractAddress is a free data retrieval call binding the contract method 0x6af04a57.

Solidity: function newContractAddress() constant returns(address)

func (*CKCallerSession) OwnerOf

func (_CK *CKCallerSession) 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(owner address)

func (*CKCallerSession) PROMO_CREATION_LIMIT

func (_CK *CKCallerSession) PROMO_CREATION_LIMIT() (*big.Int, error)

PROMO_CREATION_LIMIT is a free data retrieval call binding the contract method 0xdefb9584.

Solidity: function PROMO_CREATION_LIMIT() constant returns(uint256)

func (*CKCallerSession) Paused

func (_CK *CKCallerSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() constant returns(bool)

func (*CKCallerSession) PregnantKitties

func (_CK *CKCallerSession) PregnantKitties() (*big.Int, error)

PregnantKitties is a free data retrieval call binding the contract method 0x183a7947.

Solidity: function pregnantKitties() constant returns(uint256)

func (*CKCallerSession) PromoCreatedCount

func (_CK *CKCallerSession) PromoCreatedCount() (*big.Int, error)

PromoCreatedCount is a free data retrieval call binding the contract method 0x05e45546.

Solidity: function promoCreatedCount() constant returns(uint256)

func (*CKCallerSession) SaleAuction

func (_CK *CKCallerSession) SaleAuction() (common.Address, error)

SaleAuction is a free data retrieval call binding the contract method 0xe6cbe351.

Solidity: function saleAuction() constant returns(address)

func (*CKCallerSession) SecondsPerBlock

func (_CK *CKCallerSession) SecondsPerBlock() (*big.Int, error)

SecondsPerBlock is a free data retrieval call binding the contract method 0x7a7d4937.

Solidity: function secondsPerBlock() constant returns(uint256)

func (*CKCallerSession) SireAllowedToAddress

func (_CK *CKCallerSession) SireAllowedToAddress(arg0 *big.Int) (common.Address, error)

SireAllowedToAddress is a free data retrieval call binding the contract method 0x46116e6f.

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

func (*CKCallerSession) SiringAuction

func (_CK *CKCallerSession) SiringAuction() (common.Address, error)

SiringAuction is a free data retrieval call binding the contract method 0x21717ebf.

Solidity: function siringAuction() constant returns(address)

func (*CKCallerSession) SupportsInterface

func (_CK *CKCallerSession) 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 (*CKCallerSession) Symbol

func (_CK *CKCallerSession) Symbol() (string, error)

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

Solidity: function symbol() constant returns(string)

func (*CKCallerSession) TokenMetadata

func (_CK *CKCallerSession) TokenMetadata(_tokenId *big.Int, _preferredTransport string) (string, error)

TokenMetadata is a free data retrieval call binding the contract method 0x0560ff44.

Solidity: function tokenMetadata(_tokenId uint256, _preferredTransport string) constant returns(infoUrl string)

func (*CKCallerSession) TokensOfOwner

func (_CK *CKCallerSession) TokensOfOwner(_owner common.Address) ([]*big.Int, error)

TokensOfOwner is a free data retrieval call binding the contract method 0x8462151c.

Solidity: function tokensOfOwner(_owner address) constant returns(ownerTokens uint256[])

func (*CKCallerSession) TotalSupply

func (_CK *CKCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() constant returns(uint256)

type CKContractUpgrade

type CKContractUpgrade struct {
	NewContract common.Address
	Raw         types.Log // Blockchain specific contextual infos
}

CKContractUpgrade represents a ContractUpgrade event raised by the CK contract.

type CKContractUpgradeIterator

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

CKContractUpgradeIterator is returned from FilterContractUpgrade and is used to iterate over the raw logs and unpacked data for ContractUpgrade events raised by the CK contract.

func (*CKContractUpgradeIterator) Close

func (it *CKContractUpgradeIterator) Close() error

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

func (*CKContractUpgradeIterator) Error

func (it *CKContractUpgradeIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CKContractUpgradeIterator) Next

func (it *CKContractUpgradeIterator) 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 CKFilterer

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

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

func NewCKFilterer

func NewCKFilterer(address common.Address, filterer bind.ContractFilterer) (*CKFilterer, error)

NewCKFilterer creates a new log filterer instance of CK, bound to a specific deployed contract.

func (*CKFilterer) FilterApproval

func (_CK *CKFilterer) FilterApproval(opts *bind.FilterOpts) (*CKApprovalIterator, error)

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

Solidity: event Approval(owner address, approved address, tokenId uint256)

func (*CKFilterer) FilterBirth

func (_CK *CKFilterer) FilterBirth(opts *bind.FilterOpts) (*CKBirthIterator, error)

FilterBirth is a free log retrieval operation binding the contract event 0x0a5311bd2a6608f08a180df2ee7c5946819a649b204b554bb8e39825b2c50ad5.

Solidity: event Birth(owner address, kittyId uint256, matronId uint256, sireId uint256, genes uint256)

func (*CKFilterer) FilterContractUpgrade

func (_CK *CKFilterer) FilterContractUpgrade(opts *bind.FilterOpts) (*CKContractUpgradeIterator, error)

FilterContractUpgrade is a free log retrieval operation binding the contract event 0x450db8da6efbe9c22f2347f7c2021231df1fc58d3ae9a2fa75d39fa446199305.

Solidity: event ContractUpgrade(newContract address)

func (*CKFilterer) FilterPregnant

func (_CK *CKFilterer) FilterPregnant(opts *bind.FilterOpts) (*CKPregnantIterator, error)

FilterPregnant is a free log retrieval operation binding the contract event 0x241ea03ca20251805084d27d4440371c34a0b85ff108f6bb5611248f73818b80.

Solidity: event Pregnant(owner address, matronId uint256, sireId uint256, cooldownEndBlock uint256)

func (*CKFilterer) FilterTransfer

func (_CK *CKFilterer) FilterTransfer(opts *bind.FilterOpts) (*CKTransferIterator, error)

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

Solidity: event Transfer(from address, to address, tokenId uint256)

func (*CKFilterer) WatchApproval

func (_CK *CKFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *CKApproval) (event.Subscription, error)

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

Solidity: event Approval(owner address, approved address, tokenId uint256)

func (*CKFilterer) WatchBirth

func (_CK *CKFilterer) WatchBirth(opts *bind.WatchOpts, sink chan<- *CKBirth) (event.Subscription, error)

WatchBirth is a free log subscription operation binding the contract event 0x0a5311bd2a6608f08a180df2ee7c5946819a649b204b554bb8e39825b2c50ad5.

Solidity: event Birth(owner address, kittyId uint256, matronId uint256, sireId uint256, genes uint256)

func (*CKFilterer) WatchContractUpgrade

func (_CK *CKFilterer) WatchContractUpgrade(opts *bind.WatchOpts, sink chan<- *CKContractUpgrade) (event.Subscription, error)

WatchContractUpgrade is a free log subscription operation binding the contract event 0x450db8da6efbe9c22f2347f7c2021231df1fc58d3ae9a2fa75d39fa446199305.

Solidity: event ContractUpgrade(newContract address)

func (*CKFilterer) WatchPregnant

func (_CK *CKFilterer) WatchPregnant(opts *bind.WatchOpts, sink chan<- *CKPregnant) (event.Subscription, error)

WatchPregnant is a free log subscription operation binding the contract event 0x241ea03ca20251805084d27d4440371c34a0b85ff108f6bb5611248f73818b80.

Solidity: event Pregnant(owner address, matronId uint256, sireId uint256, cooldownEndBlock uint256)

func (*CKFilterer) WatchTransfer

func (_CK *CKFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *CKTransfer) (event.Subscription, error)

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

Solidity: event Transfer(from address, to address, tokenId uint256)

type CKPregnant

type CKPregnant struct {
	Owner            common.Address
	MatronId         *big.Int
	SireId           *big.Int
	CooldownEndBlock *big.Int
	Raw              types.Log // Blockchain specific contextual infos
}

CKPregnant represents a Pregnant event raised by the CK contract.

type CKPregnantIterator

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

CKPregnantIterator is returned from FilterPregnant and is used to iterate over the raw logs and unpacked data for Pregnant events raised by the CK contract.

func (*CKPregnantIterator) Close

func (it *CKPregnantIterator) Close() error

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

func (*CKPregnantIterator) Error

func (it *CKPregnantIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CKPregnantIterator) Next

func (it *CKPregnantIterator) 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 CKRaw

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

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

func (*CKRaw) Call

func (_CK *CKRaw) 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 (*CKRaw) Transact

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

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

func (*CKRaw) Transfer

func (_CK *CKRaw) 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 CKSession

type CKSession struct {
	Contract     *CK               // 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
}

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

func (*CKSession) Approve

func (_CK *CKSession) 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 (*CKSession) ApproveSiring

func (_CK *CKSession) ApproveSiring(_addr common.Address, _sireId *big.Int) (*types.Transaction, error)

ApproveSiring is a paid mutator transaction binding the contract method 0x4dfff04f.

Solidity: function approveSiring(_addr address, _sireId uint256) returns()

func (*CKSession) AutoBirthFee

func (_CK *CKSession) AutoBirthFee() (*big.Int, error)

AutoBirthFee is a free data retrieval call binding the contract method 0xb0c35c05.

Solidity: function autoBirthFee() constant returns(uint256)

func (*CKSession) BalanceOf

func (_CK *CKSession) 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(count uint256)

func (*CKSession) BidOnSiringAuction

func (_CK *CKSession) BidOnSiringAuction(_sireId *big.Int, _matronId *big.Int) (*types.Transaction, error)

BidOnSiringAuction is a paid mutator transaction binding the contract method 0xed60ade6.

Solidity: function bidOnSiringAuction(_sireId uint256, _matronId uint256) returns()

func (*CKSession) BreedWithAuto

func (_CK *CKSession) BreedWithAuto(_matronId *big.Int, _sireId *big.Int) (*types.Transaction, error)

BreedWithAuto is a paid mutator transaction binding the contract method 0xf7d8c883.

Solidity: function breedWithAuto(_matronId uint256, _sireId uint256) returns()

func (*CKSession) CanBreedWith

func (_CK *CKSession) CanBreedWith(_matronId *big.Int, _sireId *big.Int) (bool, error)

CanBreedWith is a free data retrieval call binding the contract method 0x46d22c70.

Solidity: function canBreedWith(_matronId uint256, _sireId uint256) constant returns(bool)

func (*CKSession) CeoAddress

func (_CK *CKSession) CeoAddress() (common.Address, error)

CeoAddress is a free data retrieval call binding the contract method 0x0a0f8168.

Solidity: function ceoAddress() constant returns(address)

func (*CKSession) CfoAddress

func (_CK *CKSession) CfoAddress() (common.Address, error)

CfoAddress is a free data retrieval call binding the contract method 0x0519ce79.

Solidity: function cfoAddress() constant returns(address)

func (*CKSession) CooAddress

func (_CK *CKSession) CooAddress() (common.Address, error)

CooAddress is a free data retrieval call binding the contract method 0xb047fb50.

Solidity: function cooAddress() constant returns(address)

func (*CKSession) Cooldowns

func (_CK *CKSession) Cooldowns(arg0 *big.Int) (uint32, error)

Cooldowns is a free data retrieval call binding the contract method 0x9d6fac6f.

Solidity: function cooldowns( uint256) constant returns(uint32)

func (*CKSession) CreateGen0Auction

func (_CK *CKSession) CreateGen0Auction(_genes *big.Int) (*types.Transaction, error)

CreateGen0Auction is a paid mutator transaction binding the contract method 0xc3bea9af.

Solidity: function createGen0Auction(_genes uint256) returns()

func (*CKSession) CreatePromoKitty

func (_CK *CKSession) CreatePromoKitty(_genes *big.Int, _owner common.Address) (*types.Transaction, error)

CreatePromoKitty is a paid mutator transaction binding the contract method 0x56129134.

Solidity: function createPromoKitty(_genes uint256, _owner address) returns()

func (*CKSession) CreateSaleAuction

func (_CK *CKSession) CreateSaleAuction(_kittyId *big.Int, _startingPrice *big.Int, _endingPrice *big.Int, _duration *big.Int) (*types.Transaction, error)

CreateSaleAuction is a paid mutator transaction binding the contract method 0x3d7d3f5a.

Solidity: function createSaleAuction(_kittyId uint256, _startingPrice uint256, _endingPrice uint256, _duration uint256) returns()

func (*CKSession) CreateSiringAuction

func (_CK *CKSession) CreateSiringAuction(_kittyId *big.Int, _startingPrice *big.Int, _endingPrice *big.Int, _duration *big.Int) (*types.Transaction, error)

CreateSiringAuction is a paid mutator transaction binding the contract method 0x4ad8c938.

Solidity: function createSiringAuction(_kittyId uint256, _startingPrice uint256, _endingPrice uint256, _duration uint256) returns()

func (*CKSession) Erc721Metadata

func (_CK *CKSession) Erc721Metadata() (common.Address, error)

Erc721Metadata is a free data retrieval call binding the contract method 0xbc4006f5.

Solidity: function erc721Metadata() constant returns(address)

func (*CKSession) GEN0_AUCTION_DURATION

func (_CK *CKSession) GEN0_AUCTION_DURATION() (*big.Int, error)

GEN0_AUCTION_DURATION is a free data retrieval call binding the contract method 0x19c2f201.

Solidity: function GEN0_AUCTION_DURATION() constant returns(uint256)

func (*CKSession) GEN0_CREATION_LIMIT

func (_CK *CKSession) GEN0_CREATION_LIMIT() (*big.Int, error)

GEN0_CREATION_LIMIT is a free data retrieval call binding the contract method 0x680eba27.

Solidity: function GEN0_CREATION_LIMIT() constant returns(uint256)

func (*CKSession) GEN0_STARTING_PRICE

func (_CK *CKSession) GEN0_STARTING_PRICE() (*big.Int, error)

GEN0_STARTING_PRICE is a free data retrieval call binding the contract method 0x0e583df0.

Solidity: function GEN0_STARTING_PRICE() constant returns(uint256)

func (*CKSession) Gen0CreatedCount

func (_CK *CKSession) Gen0CreatedCount() (*big.Int, error)

Gen0CreatedCount is a free data retrieval call binding the contract method 0xf1ca9410.

Solidity: function gen0CreatedCount() constant returns(uint256)

func (*CKSession) GeneScience

func (_CK *CKSession) GeneScience() (common.Address, error)

GeneScience is a free data retrieval call binding the contract method 0xf2b47d52.

Solidity: function geneScience() constant returns(address)

func (*CKSession) GetKitty

func (_CK *CKSession) GetKitty(_id *big.Int) (struct {
	IsGestating   bool
	IsReady       bool
	CooldownIndex *big.Int
	NextActionAt  *big.Int
	SiringWithId  *big.Int
	BirthTime     *big.Int
	MatronId      *big.Int
	SireId        *big.Int
	Generation    *big.Int
	Genes         *big.Int
}, error)

GetKitty is a free data retrieval call binding the contract method 0xe98b7f4d.

Solidity: function getKitty(_id uint256) constant returns(isGestating bool, isReady bool, cooldownIndex uint256, nextActionAt uint256, siringWithId uint256, birthTime uint256, matronId uint256, sireId uint256, generation uint256, genes uint256)

func (*CKSession) GiveBirth

func (_CK *CKSession) GiveBirth(_matronId *big.Int) (*types.Transaction, error)

GiveBirth is a paid mutator transaction binding the contract method 0x88c2a0bf.

Solidity: function giveBirth(_matronId uint256) returns(uint256)

func (*CKSession) IsPregnant

func (_CK *CKSession) IsPregnant(_kittyId *big.Int) (bool, error)

IsPregnant is a free data retrieval call binding the contract method 0x1940a936.

Solidity: function isPregnant(_kittyId uint256) constant returns(bool)

func (*CKSession) IsReadyToBreed

func (_CK *CKSession) IsReadyToBreed(_kittyId *big.Int) (bool, error)

IsReadyToBreed is a free data retrieval call binding the contract method 0xd3e6f49f.

Solidity: function isReadyToBreed(_kittyId uint256) constant returns(bool)

func (*CKSession) KittyIndexToApproved

func (_CK *CKSession) KittyIndexToApproved(arg0 *big.Int) (common.Address, error)

KittyIndexToApproved is a free data retrieval call binding the contract method 0x481af3d3.

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

func (*CKSession) KittyIndexToOwner

func (_CK *CKSession) KittyIndexToOwner(arg0 *big.Int) (common.Address, error)

KittyIndexToOwner is a free data retrieval call binding the contract method 0xa45f4bfc.

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

func (*CKSession) Name

func (_CK *CKSession) Name() (string, error)

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

Solidity: function name() constant returns(string)

func (*CKSession) NewContractAddress

func (_CK *CKSession) NewContractAddress() (common.Address, error)

NewContractAddress is a free data retrieval call binding the contract method 0x6af04a57.

Solidity: function newContractAddress() constant returns(address)

func (*CKSession) OwnerOf

func (_CK *CKSession) 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(owner address)

func (*CKSession) PROMO_CREATION_LIMIT

func (_CK *CKSession) PROMO_CREATION_LIMIT() (*big.Int, error)

PROMO_CREATION_LIMIT is a free data retrieval call binding the contract method 0xdefb9584.

Solidity: function PROMO_CREATION_LIMIT() constant returns(uint256)

func (*CKSession) Pause

func (_CK *CKSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*CKSession) Paused

func (_CK *CKSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() constant returns(bool)

func (*CKSession) PregnantKitties

func (_CK *CKSession) PregnantKitties() (*big.Int, error)

PregnantKitties is a free data retrieval call binding the contract method 0x183a7947.

Solidity: function pregnantKitties() constant returns(uint256)

func (*CKSession) PromoCreatedCount

func (_CK *CKSession) PromoCreatedCount() (*big.Int, error)

PromoCreatedCount is a free data retrieval call binding the contract method 0x05e45546.

Solidity: function promoCreatedCount() constant returns(uint256)

func (*CKSession) SaleAuction

func (_CK *CKSession) SaleAuction() (common.Address, error)

SaleAuction is a free data retrieval call binding the contract method 0xe6cbe351.

Solidity: function saleAuction() constant returns(address)

func (*CKSession) SecondsPerBlock

func (_CK *CKSession) SecondsPerBlock() (*big.Int, error)

SecondsPerBlock is a free data retrieval call binding the contract method 0x7a7d4937.

Solidity: function secondsPerBlock() constant returns(uint256)

func (*CKSession) SetAutoBirthFee

func (_CK *CKSession) SetAutoBirthFee(val *big.Int) (*types.Transaction, error)

SetAutoBirthFee is a paid mutator transaction binding the contract method 0x4b85fd55.

Solidity: function setAutoBirthFee(val uint256) returns()

func (*CKSession) SetCEO

func (_CK *CKSession) SetCEO(_newCEO common.Address) (*types.Transaction, error)

SetCEO is a paid mutator transaction binding the contract method 0x27d7874c.

Solidity: function setCEO(_newCEO address) returns()

func (*CKSession) SetCFO

func (_CK *CKSession) SetCFO(_newCFO common.Address) (*types.Transaction, error)

SetCFO is a paid mutator transaction binding the contract method 0x4e0a3379.

Solidity: function setCFO(_newCFO address) returns()

func (*CKSession) SetCOO

func (_CK *CKSession) SetCOO(_newCOO common.Address) (*types.Transaction, error)

SetCOO is a paid mutator transaction binding the contract method 0x2ba73c15.

Solidity: function setCOO(_newCOO address) returns()

func (*CKSession) SetGeneScienceAddress

func (_CK *CKSession) SetGeneScienceAddress(_address common.Address) (*types.Transaction, error)

SetGeneScienceAddress is a paid mutator transaction binding the contract method 0x24e7a38a.

Solidity: function setGeneScienceAddress(_address address) returns()

func (*CKSession) SetMetadataAddress

func (_CK *CKSession) SetMetadataAddress(_contractAddress common.Address) (*types.Transaction, error)

SetMetadataAddress is a paid mutator transaction binding the contract method 0xe17b25af.

Solidity: function setMetadataAddress(_contractAddress address) returns()

func (*CKSession) SetNewAddress

func (_CK *CKSession) SetNewAddress(_v2Address common.Address) (*types.Transaction, error)

SetNewAddress is a paid mutator transaction binding the contract method 0x71587988.

Solidity: function setNewAddress(_v2Address address) returns()

func (*CKSession) SetSaleAuctionAddress

func (_CK *CKSession) SetSaleAuctionAddress(_address common.Address) (*types.Transaction, error)

SetSaleAuctionAddress is a paid mutator transaction binding the contract method 0x6fbde40d.

Solidity: function setSaleAuctionAddress(_address address) returns()

func (*CKSession) SetSecondsPerBlock

func (_CK *CKSession) SetSecondsPerBlock(secs *big.Int) (*types.Transaction, error)

SetSecondsPerBlock is a paid mutator transaction binding the contract method 0x5663896e.

Solidity: function setSecondsPerBlock(secs uint256) returns()

func (*CKSession) SetSiringAuctionAddress

func (_CK *CKSession) SetSiringAuctionAddress(_address common.Address) (*types.Transaction, error)

SetSiringAuctionAddress is a paid mutator transaction binding the contract method 0x14001f4c.

Solidity: function setSiringAuctionAddress(_address address) returns()

func (*CKSession) SireAllowedToAddress

func (_CK *CKSession) SireAllowedToAddress(arg0 *big.Int) (common.Address, error)

SireAllowedToAddress is a free data retrieval call binding the contract method 0x46116e6f.

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

func (*CKSession) SiringAuction

func (_CK *CKSession) SiringAuction() (common.Address, error)

SiringAuction is a free data retrieval call binding the contract method 0x21717ebf.

Solidity: function siringAuction() constant returns(address)

func (*CKSession) SupportsInterface

func (_CK *CKSession) 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 (*CKSession) Symbol

func (_CK *CKSession) Symbol() (string, error)

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

Solidity: function symbol() constant returns(string)

func (*CKSession) TokenMetadata

func (_CK *CKSession) TokenMetadata(_tokenId *big.Int, _preferredTransport string) (string, error)

TokenMetadata is a free data retrieval call binding the contract method 0x0560ff44.

Solidity: function tokenMetadata(_tokenId uint256, _preferredTransport string) constant returns(infoUrl string)

func (*CKSession) TokensOfOwner

func (_CK *CKSession) TokensOfOwner(_owner common.Address) ([]*big.Int, error)

TokensOfOwner is a free data retrieval call binding the contract method 0x8462151c.

Solidity: function tokensOfOwner(_owner address) constant returns(ownerTokens uint256[])

func (*CKSession) TotalSupply

func (_CK *CKSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() constant returns(uint256)

func (*CKSession) Transfer

func (_CK *CKSession) Transfer(_to common.Address, _tokenId *big.Int) (*types.Transaction, error)

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

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

func (*CKSession) TransferFrom

func (_CK *CKSession) TransferFrom(_from common.Address, _to common.Address, _tokenId *big.Int) (*types.Transaction, error)

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

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

func (*CKSession) Unpause

func (_CK *CKSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*CKSession) WithdrawAuctionBalances

func (_CK *CKSession) WithdrawAuctionBalances() (*types.Transaction, error)

WithdrawAuctionBalances is a paid mutator transaction binding the contract method 0x91876e57.

Solidity: function withdrawAuctionBalances() returns()

func (*CKSession) WithdrawBalance

func (_CK *CKSession) WithdrawBalance() (*types.Transaction, error)

WithdrawBalance is a paid mutator transaction binding the contract method 0x5fd8c710.

Solidity: function withdrawBalance() returns()

type CKTransactor

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

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

func NewCKTransactor

func NewCKTransactor(address common.Address, transactor bind.ContractTransactor) (*CKTransactor, error)

NewCKTransactor creates a new write-only instance of CK, bound to a specific deployed contract.

func (*CKTransactor) Approve

func (_CK *CKTransactor) 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 (*CKTransactor) ApproveSiring

func (_CK *CKTransactor) ApproveSiring(opts *bind.TransactOpts, _addr common.Address, _sireId *big.Int) (*types.Transaction, error)

ApproveSiring is a paid mutator transaction binding the contract method 0x4dfff04f.

Solidity: function approveSiring(_addr address, _sireId uint256) returns()

func (*CKTransactor) BidOnSiringAuction

func (_CK *CKTransactor) BidOnSiringAuction(opts *bind.TransactOpts, _sireId *big.Int, _matronId *big.Int) (*types.Transaction, error)

BidOnSiringAuction is a paid mutator transaction binding the contract method 0xed60ade6.

Solidity: function bidOnSiringAuction(_sireId uint256, _matronId uint256) returns()

func (*CKTransactor) BreedWithAuto

func (_CK *CKTransactor) BreedWithAuto(opts *bind.TransactOpts, _matronId *big.Int, _sireId *big.Int) (*types.Transaction, error)

BreedWithAuto is a paid mutator transaction binding the contract method 0xf7d8c883.

Solidity: function breedWithAuto(_matronId uint256, _sireId uint256) returns()

func (*CKTransactor) CreateGen0Auction

func (_CK *CKTransactor) CreateGen0Auction(opts *bind.TransactOpts, _genes *big.Int) (*types.Transaction, error)

CreateGen0Auction is a paid mutator transaction binding the contract method 0xc3bea9af.

Solidity: function createGen0Auction(_genes uint256) returns()

func (*CKTransactor) CreatePromoKitty

func (_CK *CKTransactor) CreatePromoKitty(opts *bind.TransactOpts, _genes *big.Int, _owner common.Address) (*types.Transaction, error)

CreatePromoKitty is a paid mutator transaction binding the contract method 0x56129134.

Solidity: function createPromoKitty(_genes uint256, _owner address) returns()

func (*CKTransactor) CreateSaleAuction

func (_CK *CKTransactor) CreateSaleAuction(opts *bind.TransactOpts, _kittyId *big.Int, _startingPrice *big.Int, _endingPrice *big.Int, _duration *big.Int) (*types.Transaction, error)

CreateSaleAuction is a paid mutator transaction binding the contract method 0x3d7d3f5a.

Solidity: function createSaleAuction(_kittyId uint256, _startingPrice uint256, _endingPrice uint256, _duration uint256) returns()

func (*CKTransactor) CreateSiringAuction

func (_CK *CKTransactor) CreateSiringAuction(opts *bind.TransactOpts, _kittyId *big.Int, _startingPrice *big.Int, _endingPrice *big.Int, _duration *big.Int) (*types.Transaction, error)

CreateSiringAuction is a paid mutator transaction binding the contract method 0x4ad8c938.

Solidity: function createSiringAuction(_kittyId uint256, _startingPrice uint256, _endingPrice uint256, _duration uint256) returns()

func (*CKTransactor) GiveBirth

func (_CK *CKTransactor) GiveBirth(opts *bind.TransactOpts, _matronId *big.Int) (*types.Transaction, error)

GiveBirth is a paid mutator transaction binding the contract method 0x88c2a0bf.

Solidity: function giveBirth(_matronId uint256) returns(uint256)

func (*CKTransactor) Pause

func (_CK *CKTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*CKTransactor) SetAutoBirthFee

func (_CK *CKTransactor) SetAutoBirthFee(opts *bind.TransactOpts, val *big.Int) (*types.Transaction, error)

SetAutoBirthFee is a paid mutator transaction binding the contract method 0x4b85fd55.

Solidity: function setAutoBirthFee(val uint256) returns()

func (*CKTransactor) SetCEO

func (_CK *CKTransactor) SetCEO(opts *bind.TransactOpts, _newCEO common.Address) (*types.Transaction, error)

SetCEO is a paid mutator transaction binding the contract method 0x27d7874c.

Solidity: function setCEO(_newCEO address) returns()

func (*CKTransactor) SetCFO

func (_CK *CKTransactor) SetCFO(opts *bind.TransactOpts, _newCFO common.Address) (*types.Transaction, error)

SetCFO is a paid mutator transaction binding the contract method 0x4e0a3379.

Solidity: function setCFO(_newCFO address) returns()

func (*CKTransactor) SetCOO

func (_CK *CKTransactor) SetCOO(opts *bind.TransactOpts, _newCOO common.Address) (*types.Transaction, error)

SetCOO is a paid mutator transaction binding the contract method 0x2ba73c15.

Solidity: function setCOO(_newCOO address) returns()

func (*CKTransactor) SetGeneScienceAddress

func (_CK *CKTransactor) SetGeneScienceAddress(opts *bind.TransactOpts, _address common.Address) (*types.Transaction, error)

SetGeneScienceAddress is a paid mutator transaction binding the contract method 0x24e7a38a.

Solidity: function setGeneScienceAddress(_address address) returns()

func (*CKTransactor) SetMetadataAddress

func (_CK *CKTransactor) SetMetadataAddress(opts *bind.TransactOpts, _contractAddress common.Address) (*types.Transaction, error)

SetMetadataAddress is a paid mutator transaction binding the contract method 0xe17b25af.

Solidity: function setMetadataAddress(_contractAddress address) returns()

func (*CKTransactor) SetNewAddress

func (_CK *CKTransactor) SetNewAddress(opts *bind.TransactOpts, _v2Address common.Address) (*types.Transaction, error)

SetNewAddress is a paid mutator transaction binding the contract method 0x71587988.

Solidity: function setNewAddress(_v2Address address) returns()

func (*CKTransactor) SetSaleAuctionAddress

func (_CK *CKTransactor) SetSaleAuctionAddress(opts *bind.TransactOpts, _address common.Address) (*types.Transaction, error)

SetSaleAuctionAddress is a paid mutator transaction binding the contract method 0x6fbde40d.

Solidity: function setSaleAuctionAddress(_address address) returns()

func (*CKTransactor) SetSecondsPerBlock

func (_CK *CKTransactor) SetSecondsPerBlock(opts *bind.TransactOpts, secs *big.Int) (*types.Transaction, error)

SetSecondsPerBlock is a paid mutator transaction binding the contract method 0x5663896e.

Solidity: function setSecondsPerBlock(secs uint256) returns()

func (*CKTransactor) SetSiringAuctionAddress

func (_CK *CKTransactor) SetSiringAuctionAddress(opts *bind.TransactOpts, _address common.Address) (*types.Transaction, error)

SetSiringAuctionAddress is a paid mutator transaction binding the contract method 0x14001f4c.

Solidity: function setSiringAuctionAddress(_address address) returns()

func (*CKTransactor) Transfer

func (_CK *CKTransactor) Transfer(opts *bind.TransactOpts, _to common.Address, _tokenId *big.Int) (*types.Transaction, error)

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

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

func (*CKTransactor) TransferFrom

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

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

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

func (*CKTransactor) Unpause

func (_CK *CKTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*CKTransactor) WithdrawAuctionBalances

func (_CK *CKTransactor) WithdrawAuctionBalances(opts *bind.TransactOpts) (*types.Transaction, error)

WithdrawAuctionBalances is a paid mutator transaction binding the contract method 0x91876e57.

Solidity: function withdrawAuctionBalances() returns()

func (*CKTransactor) WithdrawBalance

func (_CK *CKTransactor) WithdrawBalance(opts *bind.TransactOpts) (*types.Transaction, error)

WithdrawBalance is a paid mutator transaction binding the contract method 0x5fd8c710.

Solidity: function withdrawBalance() returns()

type CKTransactorRaw

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

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

func (*CKTransactorRaw) Transact

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

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

func (*CKTransactorRaw) Transfer

func (_CK *CKTransactorRaw) 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 CKTransactorSession

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

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

func (*CKTransactorSession) Approve

func (_CK *CKTransactorSession) 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 (*CKTransactorSession) ApproveSiring

func (_CK *CKTransactorSession) ApproveSiring(_addr common.Address, _sireId *big.Int) (*types.Transaction, error)

ApproveSiring is a paid mutator transaction binding the contract method 0x4dfff04f.

Solidity: function approveSiring(_addr address, _sireId uint256) returns()

func (*CKTransactorSession) BidOnSiringAuction

func (_CK *CKTransactorSession) BidOnSiringAuction(_sireId *big.Int, _matronId *big.Int) (*types.Transaction, error)

BidOnSiringAuction is a paid mutator transaction binding the contract method 0xed60ade6.

Solidity: function bidOnSiringAuction(_sireId uint256, _matronId uint256) returns()

func (*CKTransactorSession) BreedWithAuto

func (_CK *CKTransactorSession) BreedWithAuto(_matronId *big.Int, _sireId *big.Int) (*types.Transaction, error)

BreedWithAuto is a paid mutator transaction binding the contract method 0xf7d8c883.

Solidity: function breedWithAuto(_matronId uint256, _sireId uint256) returns()

func (*CKTransactorSession) CreateGen0Auction

func (_CK *CKTransactorSession) CreateGen0Auction(_genes *big.Int) (*types.Transaction, error)

CreateGen0Auction is a paid mutator transaction binding the contract method 0xc3bea9af.

Solidity: function createGen0Auction(_genes uint256) returns()

func (*CKTransactorSession) CreatePromoKitty

func (_CK *CKTransactorSession) CreatePromoKitty(_genes *big.Int, _owner common.Address) (*types.Transaction, error)

CreatePromoKitty is a paid mutator transaction binding the contract method 0x56129134.

Solidity: function createPromoKitty(_genes uint256, _owner address) returns()

func (*CKTransactorSession) CreateSaleAuction

func (_CK *CKTransactorSession) CreateSaleAuction(_kittyId *big.Int, _startingPrice *big.Int, _endingPrice *big.Int, _duration *big.Int) (*types.Transaction, error)

CreateSaleAuction is a paid mutator transaction binding the contract method 0x3d7d3f5a.

Solidity: function createSaleAuction(_kittyId uint256, _startingPrice uint256, _endingPrice uint256, _duration uint256) returns()

func (*CKTransactorSession) CreateSiringAuction

func (_CK *CKTransactorSession) CreateSiringAuction(_kittyId *big.Int, _startingPrice *big.Int, _endingPrice *big.Int, _duration *big.Int) (*types.Transaction, error)

CreateSiringAuction is a paid mutator transaction binding the contract method 0x4ad8c938.

Solidity: function createSiringAuction(_kittyId uint256, _startingPrice uint256, _endingPrice uint256, _duration uint256) returns()

func (*CKTransactorSession) GiveBirth

func (_CK *CKTransactorSession) GiveBirth(_matronId *big.Int) (*types.Transaction, error)

GiveBirth is a paid mutator transaction binding the contract method 0x88c2a0bf.

Solidity: function giveBirth(_matronId uint256) returns(uint256)

func (*CKTransactorSession) Pause

func (_CK *CKTransactorSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*CKTransactorSession) SetAutoBirthFee

func (_CK *CKTransactorSession) SetAutoBirthFee(val *big.Int) (*types.Transaction, error)

SetAutoBirthFee is a paid mutator transaction binding the contract method 0x4b85fd55.

Solidity: function setAutoBirthFee(val uint256) returns()

func (*CKTransactorSession) SetCEO

func (_CK *CKTransactorSession) SetCEO(_newCEO common.Address) (*types.Transaction, error)

SetCEO is a paid mutator transaction binding the contract method 0x27d7874c.

Solidity: function setCEO(_newCEO address) returns()

func (*CKTransactorSession) SetCFO

func (_CK *CKTransactorSession) SetCFO(_newCFO common.Address) (*types.Transaction, error)

SetCFO is a paid mutator transaction binding the contract method 0x4e0a3379.

Solidity: function setCFO(_newCFO address) returns()

func (*CKTransactorSession) SetCOO

func (_CK *CKTransactorSession) SetCOO(_newCOO common.Address) (*types.Transaction, error)

SetCOO is a paid mutator transaction binding the contract method 0x2ba73c15.

Solidity: function setCOO(_newCOO address) returns()

func (*CKTransactorSession) SetGeneScienceAddress

func (_CK *CKTransactorSession) SetGeneScienceAddress(_address common.Address) (*types.Transaction, error)

SetGeneScienceAddress is a paid mutator transaction binding the contract method 0x24e7a38a.

Solidity: function setGeneScienceAddress(_address address) returns()

func (*CKTransactorSession) SetMetadataAddress

func (_CK *CKTransactorSession) SetMetadataAddress(_contractAddress common.Address) (*types.Transaction, error)

SetMetadataAddress is a paid mutator transaction binding the contract method 0xe17b25af.

Solidity: function setMetadataAddress(_contractAddress address) returns()

func (*CKTransactorSession) SetNewAddress

func (_CK *CKTransactorSession) SetNewAddress(_v2Address common.Address) (*types.Transaction, error)

SetNewAddress is a paid mutator transaction binding the contract method 0x71587988.

Solidity: function setNewAddress(_v2Address address) returns()

func (*CKTransactorSession) SetSaleAuctionAddress

func (_CK *CKTransactorSession) SetSaleAuctionAddress(_address common.Address) (*types.Transaction, error)

SetSaleAuctionAddress is a paid mutator transaction binding the contract method 0x6fbde40d.

Solidity: function setSaleAuctionAddress(_address address) returns()

func (*CKTransactorSession) SetSecondsPerBlock

func (_CK *CKTransactorSession) SetSecondsPerBlock(secs *big.Int) (*types.Transaction, error)

SetSecondsPerBlock is a paid mutator transaction binding the contract method 0x5663896e.

Solidity: function setSecondsPerBlock(secs uint256) returns()

func (*CKTransactorSession) SetSiringAuctionAddress

func (_CK *CKTransactorSession) SetSiringAuctionAddress(_address common.Address) (*types.Transaction, error)

SetSiringAuctionAddress is a paid mutator transaction binding the contract method 0x14001f4c.

Solidity: function setSiringAuctionAddress(_address address) returns()

func (*CKTransactorSession) Transfer

func (_CK *CKTransactorSession) Transfer(_to common.Address, _tokenId *big.Int) (*types.Transaction, error)

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

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

func (*CKTransactorSession) TransferFrom

func (_CK *CKTransactorSession) TransferFrom(_from common.Address, _to common.Address, _tokenId *big.Int) (*types.Transaction, error)

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

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

func (*CKTransactorSession) Unpause

func (_CK *CKTransactorSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*CKTransactorSession) WithdrawAuctionBalances

func (_CK *CKTransactorSession) WithdrawAuctionBalances() (*types.Transaction, error)

WithdrawAuctionBalances is a paid mutator transaction binding the contract method 0x91876e57.

Solidity: function withdrawAuctionBalances() returns()

func (*CKTransactorSession) WithdrawBalance

func (_CK *CKTransactorSession) WithdrawBalance() (*types.Transaction, error)

WithdrawBalance is a paid mutator transaction binding the contract method 0x5fd8c710.

Solidity: function withdrawBalance() returns()

type CKTransfer

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

CKTransfer represents a Transfer event raised by the CK contract.

type CKTransferIterator

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

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

func (*CKTransferIterator) Close

func (it *CKTransferIterator) Close() error

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

func (*CKTransferIterator) Error

func (it *CKTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CKTransferIterator) Next

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

Jump to

Keyboard shortcuts

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