Documentation ¶
Index ¶
- Constants
- type CK
- type CKApproval
- type CKApprovalIterator
- type CKBirth
- type CKBirthIterator
- type CKCaller
- func (_CK *CKCaller) AutoBirthFee(opts *bind.CallOpts) (*big.Int, error)
- func (_CK *CKCaller) BalanceOf(opts *bind.CallOpts, _owner common.Address) (*big.Int, error)
- func (_CK *CKCaller) CanBreedWith(opts *bind.CallOpts, _matronId *big.Int, _sireId *big.Int) (bool, error)
- func (_CK *CKCaller) CeoAddress(opts *bind.CallOpts) (common.Address, error)
- func (_CK *CKCaller) CfoAddress(opts *bind.CallOpts) (common.Address, error)
- func (_CK *CKCaller) CooAddress(opts *bind.CallOpts) (common.Address, error)
- func (_CK *CKCaller) Cooldowns(opts *bind.CallOpts, arg0 *big.Int) (uint32, error)
- func (_CK *CKCaller) Erc721Metadata(opts *bind.CallOpts) (common.Address, error)
- func (_CK *CKCaller) GEN0_AUCTION_DURATION(opts *bind.CallOpts) (*big.Int, error)
- func (_CK *CKCaller) GEN0_CREATION_LIMIT(opts *bind.CallOpts) (*big.Int, error)
- func (_CK *CKCaller) GEN0_STARTING_PRICE(opts *bind.CallOpts) (*big.Int, error)
- func (_CK *CKCaller) Gen0CreatedCount(opts *bind.CallOpts) (*big.Int, error)
- func (_CK *CKCaller) GeneScience(opts *bind.CallOpts) (common.Address, error)
- func (_CK *CKCaller) GetKitty(opts *bind.CallOpts, _id *big.Int) (struct{ ... }, error)
- func (_CK *CKCaller) IsPregnant(opts *bind.CallOpts, _kittyId *big.Int) (bool, error)
- func (_CK *CKCaller) IsReadyToBreed(opts *bind.CallOpts, _kittyId *big.Int) (bool, error)
- func (_CK *CKCaller) KittyIndexToApproved(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)
- func (_CK *CKCaller) KittyIndexToOwner(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)
- func (_CK *CKCaller) Name(opts *bind.CallOpts) (string, error)
- func (_CK *CKCaller) NewContractAddress(opts *bind.CallOpts) (common.Address, error)
- func (_CK *CKCaller) OwnerOf(opts *bind.CallOpts, _tokenId *big.Int) (common.Address, error)
- func (_CK *CKCaller) PROMO_CREATION_LIMIT(opts *bind.CallOpts) (*big.Int, error)
- func (_CK *CKCaller) Paused(opts *bind.CallOpts) (bool, error)
- func (_CK *CKCaller) PregnantKitties(opts *bind.CallOpts) (*big.Int, error)
- func (_CK *CKCaller) PromoCreatedCount(opts *bind.CallOpts) (*big.Int, error)
- func (_CK *CKCaller) SaleAuction(opts *bind.CallOpts) (common.Address, error)
- func (_CK *CKCaller) SecondsPerBlock(opts *bind.CallOpts) (*big.Int, error)
- func (_CK *CKCaller) SireAllowedToAddress(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)
- func (_CK *CKCaller) SiringAuction(opts *bind.CallOpts) (common.Address, error)
- func (_CK *CKCaller) SupportsInterface(opts *bind.CallOpts, _interfaceID [4]byte) (bool, error)
- func (_CK *CKCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_CK *CKCaller) TokenMetadata(opts *bind.CallOpts, _tokenId *big.Int, _preferredTransport string) (string, error)
- func (_CK *CKCaller) TokensOfOwner(opts *bind.CallOpts, _owner common.Address) ([]*big.Int, error)
- func (_CK *CKCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type CKCallerRaw
- type CKCallerSession
- func (_CK *CKCallerSession) AutoBirthFee() (*big.Int, error)
- func (_CK *CKCallerSession) BalanceOf(_owner common.Address) (*big.Int, error)
- func (_CK *CKCallerSession) CanBreedWith(_matronId *big.Int, _sireId *big.Int) (bool, error)
- func (_CK *CKCallerSession) CeoAddress() (common.Address, error)
- func (_CK *CKCallerSession) CfoAddress() (common.Address, error)
- func (_CK *CKCallerSession) CooAddress() (common.Address, error)
- func (_CK *CKCallerSession) Cooldowns(arg0 *big.Int) (uint32, error)
- func (_CK *CKCallerSession) Erc721Metadata() (common.Address, error)
- func (_CK *CKCallerSession) GEN0_AUCTION_DURATION() (*big.Int, error)
- func (_CK *CKCallerSession) GEN0_CREATION_LIMIT() (*big.Int, error)
- func (_CK *CKCallerSession) GEN0_STARTING_PRICE() (*big.Int, error)
- func (_CK *CKCallerSession) Gen0CreatedCount() (*big.Int, error)
- func (_CK *CKCallerSession) GeneScience() (common.Address, error)
- func (_CK *CKCallerSession) GetKitty(_id *big.Int) (struct{ ... }, error)
- func (_CK *CKCallerSession) IsPregnant(_kittyId *big.Int) (bool, error)
- func (_CK *CKCallerSession) IsReadyToBreed(_kittyId *big.Int) (bool, error)
- func (_CK *CKCallerSession) KittyIndexToApproved(arg0 *big.Int) (common.Address, error)
- func (_CK *CKCallerSession) KittyIndexToOwner(arg0 *big.Int) (common.Address, error)
- func (_CK *CKCallerSession) Name() (string, error)
- func (_CK *CKCallerSession) NewContractAddress() (common.Address, error)
- func (_CK *CKCallerSession) OwnerOf(_tokenId *big.Int) (common.Address, error)
- func (_CK *CKCallerSession) PROMO_CREATION_LIMIT() (*big.Int, error)
- func (_CK *CKCallerSession) Paused() (bool, error)
- func (_CK *CKCallerSession) PregnantKitties() (*big.Int, error)
- func (_CK *CKCallerSession) PromoCreatedCount() (*big.Int, error)
- func (_CK *CKCallerSession) SaleAuction() (common.Address, error)
- func (_CK *CKCallerSession) SecondsPerBlock() (*big.Int, error)
- func (_CK *CKCallerSession) SireAllowedToAddress(arg0 *big.Int) (common.Address, error)
- func (_CK *CKCallerSession) SiringAuction() (common.Address, error)
- func (_CK *CKCallerSession) SupportsInterface(_interfaceID [4]byte) (bool, error)
- func (_CK *CKCallerSession) Symbol() (string, error)
- func (_CK *CKCallerSession) TokenMetadata(_tokenId *big.Int, _preferredTransport string) (string, error)
- func (_CK *CKCallerSession) TokensOfOwner(_owner common.Address) ([]*big.Int, error)
- func (_CK *CKCallerSession) TotalSupply() (*big.Int, error)
- type CKContractUpgrade
- type CKContractUpgradeIterator
- type CKFilterer
- func (_CK *CKFilterer) FilterApproval(opts *bind.FilterOpts) (*CKApprovalIterator, error)
- func (_CK *CKFilterer) FilterBirth(opts *bind.FilterOpts) (*CKBirthIterator, error)
- func (_CK *CKFilterer) FilterContractUpgrade(opts *bind.FilterOpts) (*CKContractUpgradeIterator, error)
- func (_CK *CKFilterer) FilterPregnant(opts *bind.FilterOpts) (*CKPregnantIterator, error)
- func (_CK *CKFilterer) FilterTransfer(opts *bind.FilterOpts) (*CKTransferIterator, error)
- func (_CK *CKFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *CKApproval) (event.Subscription, error)
- func (_CK *CKFilterer) WatchBirth(opts *bind.WatchOpts, sink chan<- *CKBirth) (event.Subscription, error)
- func (_CK *CKFilterer) WatchContractUpgrade(opts *bind.WatchOpts, sink chan<- *CKContractUpgrade) (event.Subscription, error)
- func (_CK *CKFilterer) WatchPregnant(opts *bind.WatchOpts, sink chan<- *CKPregnant) (event.Subscription, error)
- func (_CK *CKFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *CKTransfer) (event.Subscription, error)
- type CKPregnant
- type CKPregnantIterator
- type CKRaw
- func (_CK *CKRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_CK *CKRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_CK *CKRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type CKSession
- func (_CK *CKSession) Approve(_to common.Address, _tokenId *big.Int) (*types.Transaction, error)
- func (_CK *CKSession) ApproveSiring(_addr common.Address, _sireId *big.Int) (*types.Transaction, error)
- func (_CK *CKSession) AutoBirthFee() (*big.Int, error)
- func (_CK *CKSession) BalanceOf(_owner common.Address) (*big.Int, error)
- func (_CK *CKSession) BidOnSiringAuction(_sireId *big.Int, _matronId *big.Int) (*types.Transaction, error)
- func (_CK *CKSession) BreedWithAuto(_matronId *big.Int, _sireId *big.Int) (*types.Transaction, error)
- func (_CK *CKSession) CanBreedWith(_matronId *big.Int, _sireId *big.Int) (bool, error)
- func (_CK *CKSession) CeoAddress() (common.Address, error)
- func (_CK *CKSession) CfoAddress() (common.Address, error)
- func (_CK *CKSession) CooAddress() (common.Address, error)
- func (_CK *CKSession) Cooldowns(arg0 *big.Int) (uint32, error)
- func (_CK *CKSession) CreateGen0Auction(_genes *big.Int) (*types.Transaction, error)
- func (_CK *CKSession) CreatePromoKitty(_genes *big.Int, _owner common.Address) (*types.Transaction, error)
- func (_CK *CKSession) CreateSaleAuction(_kittyId *big.Int, _startingPrice *big.Int, _endingPrice *big.Int, ...) (*types.Transaction, error)
- func (_CK *CKSession) CreateSiringAuction(_kittyId *big.Int, _startingPrice *big.Int, _endingPrice *big.Int, ...) (*types.Transaction, error)
- func (_CK *CKSession) Erc721Metadata() (common.Address, error)
- func (_CK *CKSession) GEN0_AUCTION_DURATION() (*big.Int, error)
- func (_CK *CKSession) GEN0_CREATION_LIMIT() (*big.Int, error)
- func (_CK *CKSession) GEN0_STARTING_PRICE() (*big.Int, error)
- func (_CK *CKSession) Gen0CreatedCount() (*big.Int, error)
- func (_CK *CKSession) GeneScience() (common.Address, error)
- func (_CK *CKSession) GetKitty(_id *big.Int) (struct{ ... }, error)
- func (_CK *CKSession) GiveBirth(_matronId *big.Int) (*types.Transaction, error)
- func (_CK *CKSession) IsPregnant(_kittyId *big.Int) (bool, error)
- func (_CK *CKSession) IsReadyToBreed(_kittyId *big.Int) (bool, error)
- func (_CK *CKSession) KittyIndexToApproved(arg0 *big.Int) (common.Address, error)
- func (_CK *CKSession) KittyIndexToOwner(arg0 *big.Int) (common.Address, error)
- func (_CK *CKSession) Name() (string, error)
- func (_CK *CKSession) NewContractAddress() (common.Address, error)
- func (_CK *CKSession) OwnerOf(_tokenId *big.Int) (common.Address, error)
- func (_CK *CKSession) PROMO_CREATION_LIMIT() (*big.Int, error)
- func (_CK *CKSession) Pause() (*types.Transaction, error)
- func (_CK *CKSession) Paused() (bool, error)
- func (_CK *CKSession) PregnantKitties() (*big.Int, error)
- func (_CK *CKSession) PromoCreatedCount() (*big.Int, error)
- func (_CK *CKSession) SaleAuction() (common.Address, error)
- func (_CK *CKSession) SecondsPerBlock() (*big.Int, error)
- func (_CK *CKSession) SetAutoBirthFee(val *big.Int) (*types.Transaction, error)
- func (_CK *CKSession) SetCEO(_newCEO common.Address) (*types.Transaction, error)
- func (_CK *CKSession) SetCFO(_newCFO common.Address) (*types.Transaction, error)
- func (_CK *CKSession) SetCOO(_newCOO common.Address) (*types.Transaction, error)
- func (_CK *CKSession) SetGeneScienceAddress(_address common.Address) (*types.Transaction, error)
- func (_CK *CKSession) SetMetadataAddress(_contractAddress common.Address) (*types.Transaction, error)
- func (_CK *CKSession) SetNewAddress(_v2Address common.Address) (*types.Transaction, error)
- func (_CK *CKSession) SetSaleAuctionAddress(_address common.Address) (*types.Transaction, error)
- func (_CK *CKSession) SetSecondsPerBlock(secs *big.Int) (*types.Transaction, error)
- func (_CK *CKSession) SetSiringAuctionAddress(_address common.Address) (*types.Transaction, error)
- func (_CK *CKSession) SireAllowedToAddress(arg0 *big.Int) (common.Address, error)
- func (_CK *CKSession) SiringAuction() (common.Address, error)
- func (_CK *CKSession) SupportsInterface(_interfaceID [4]byte) (bool, error)
- func (_CK *CKSession) Symbol() (string, error)
- func (_CK *CKSession) TokenMetadata(_tokenId *big.Int, _preferredTransport string) (string, error)
- func (_CK *CKSession) TokensOfOwner(_owner common.Address) ([]*big.Int, error)
- func (_CK *CKSession) TotalSupply() (*big.Int, error)
- func (_CK *CKSession) Transfer(_to common.Address, _tokenId *big.Int) (*types.Transaction, error)
- func (_CK *CKSession) TransferFrom(_from common.Address, _to common.Address, _tokenId *big.Int) (*types.Transaction, error)
- func (_CK *CKSession) Unpause() (*types.Transaction, error)
- func (_CK *CKSession) WithdrawAuctionBalances() (*types.Transaction, error)
- func (_CK *CKSession) WithdrawBalance() (*types.Transaction, error)
- type CKTransactor
- func (_CK *CKTransactor) Approve(opts *bind.TransactOpts, _to common.Address, _tokenId *big.Int) (*types.Transaction, error)
- func (_CK *CKTransactor) ApproveSiring(opts *bind.TransactOpts, _addr common.Address, _sireId *big.Int) (*types.Transaction, error)
- func (_CK *CKTransactor) BidOnSiringAuction(opts *bind.TransactOpts, _sireId *big.Int, _matronId *big.Int) (*types.Transaction, error)
- func (_CK *CKTransactor) BreedWithAuto(opts *bind.TransactOpts, _matronId *big.Int, _sireId *big.Int) (*types.Transaction, error)
- func (_CK *CKTransactor) CreateGen0Auction(opts *bind.TransactOpts, _genes *big.Int) (*types.Transaction, error)
- func (_CK *CKTransactor) CreatePromoKitty(opts *bind.TransactOpts, _genes *big.Int, _owner common.Address) (*types.Transaction, error)
- func (_CK *CKTransactor) CreateSaleAuction(opts *bind.TransactOpts, _kittyId *big.Int, _startingPrice *big.Int, ...) (*types.Transaction, error)
- func (_CK *CKTransactor) CreateSiringAuction(opts *bind.TransactOpts, _kittyId *big.Int, _startingPrice *big.Int, ...) (*types.Transaction, error)
- func (_CK *CKTransactor) GiveBirth(opts *bind.TransactOpts, _matronId *big.Int) (*types.Transaction, error)
- func (_CK *CKTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_CK *CKTransactor) SetAutoBirthFee(opts *bind.TransactOpts, val *big.Int) (*types.Transaction, error)
- func (_CK *CKTransactor) SetCEO(opts *bind.TransactOpts, _newCEO common.Address) (*types.Transaction, error)
- func (_CK *CKTransactor) SetCFO(opts *bind.TransactOpts, _newCFO common.Address) (*types.Transaction, error)
- func (_CK *CKTransactor) SetCOO(opts *bind.TransactOpts, _newCOO common.Address) (*types.Transaction, error)
- func (_CK *CKTransactor) SetGeneScienceAddress(opts *bind.TransactOpts, _address common.Address) (*types.Transaction, error)
- func (_CK *CKTransactor) SetMetadataAddress(opts *bind.TransactOpts, _contractAddress common.Address) (*types.Transaction, error)
- func (_CK *CKTransactor) SetNewAddress(opts *bind.TransactOpts, _v2Address common.Address) (*types.Transaction, error)
- func (_CK *CKTransactor) SetSaleAuctionAddress(opts *bind.TransactOpts, _address common.Address) (*types.Transaction, error)
- func (_CK *CKTransactor) SetSecondsPerBlock(opts *bind.TransactOpts, secs *big.Int) (*types.Transaction, error)
- func (_CK *CKTransactor) SetSiringAuctionAddress(opts *bind.TransactOpts, _address common.Address) (*types.Transaction, error)
- func (_CK *CKTransactor) Transfer(opts *bind.TransactOpts, _to common.Address, _tokenId *big.Int) (*types.Transaction, error)
- func (_CK *CKTransactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, ...) (*types.Transaction, error)
- func (_CK *CKTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_CK *CKTransactor) WithdrawAuctionBalances(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_CK *CKTransactor) WithdrawBalance(opts *bind.TransactOpts) (*types.Transaction, error)
- type CKTransactorRaw
- type CKTransactorSession
- func (_CK *CKTransactorSession) Approve(_to common.Address, _tokenId *big.Int) (*types.Transaction, error)
- func (_CK *CKTransactorSession) ApproveSiring(_addr common.Address, _sireId *big.Int) (*types.Transaction, error)
- func (_CK *CKTransactorSession) BidOnSiringAuction(_sireId *big.Int, _matronId *big.Int) (*types.Transaction, error)
- func (_CK *CKTransactorSession) BreedWithAuto(_matronId *big.Int, _sireId *big.Int) (*types.Transaction, error)
- func (_CK *CKTransactorSession) CreateGen0Auction(_genes *big.Int) (*types.Transaction, error)
- func (_CK *CKTransactorSession) CreatePromoKitty(_genes *big.Int, _owner common.Address) (*types.Transaction, error)
- func (_CK *CKTransactorSession) CreateSaleAuction(_kittyId *big.Int, _startingPrice *big.Int, _endingPrice *big.Int, ...) (*types.Transaction, error)
- func (_CK *CKTransactorSession) CreateSiringAuction(_kittyId *big.Int, _startingPrice *big.Int, _endingPrice *big.Int, ...) (*types.Transaction, error)
- func (_CK *CKTransactorSession) GiveBirth(_matronId *big.Int) (*types.Transaction, error)
- func (_CK *CKTransactorSession) Pause() (*types.Transaction, error)
- func (_CK *CKTransactorSession) SetAutoBirthFee(val *big.Int) (*types.Transaction, error)
- func (_CK *CKTransactorSession) SetCEO(_newCEO common.Address) (*types.Transaction, error)
- func (_CK *CKTransactorSession) SetCFO(_newCFO common.Address) (*types.Transaction, error)
- func (_CK *CKTransactorSession) SetCOO(_newCOO common.Address) (*types.Transaction, error)
- func (_CK *CKTransactorSession) SetGeneScienceAddress(_address common.Address) (*types.Transaction, error)
- func (_CK *CKTransactorSession) SetMetadataAddress(_contractAddress common.Address) (*types.Transaction, error)
- func (_CK *CKTransactorSession) SetNewAddress(_v2Address common.Address) (*types.Transaction, error)
- func (_CK *CKTransactorSession) SetSaleAuctionAddress(_address common.Address) (*types.Transaction, error)
- func (_CK *CKTransactorSession) SetSecondsPerBlock(secs *big.Int) (*types.Transaction, error)
- func (_CK *CKTransactorSession) SetSiringAuctionAddress(_address common.Address) (*types.Transaction, error)
- func (_CK *CKTransactorSession) Transfer(_to common.Address, _tokenId *big.Int) (*types.Transaction, error)
- func (_CK *CKTransactorSession) TransferFrom(_from common.Address, _to common.Address, _tokenId *big.Int) (*types.Transaction, error)
- func (_CK *CKTransactorSession) Unpause() (*types.Transaction, error)
- func (_CK *CKTransactorSession) WithdrawAuctionBalances() (*types.Transaction, error)
- func (_CK *CKTransactorSession) WithdrawBalance() (*types.Transaction, error)
- type CKTransfer
- type CKTransferIterator
Constants ¶
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.
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 ¶
NewCKCaller creates a new read-only instance of CK, bound to a specific deployed contract.
func (*CKCaller) AutoBirthFee ¶
AutoBirthFee is a free data retrieval call binding the contract method 0xb0c35c05.
Solidity: function autoBirthFee() constant returns(uint256)
func (*CKCaller) BalanceOf ¶
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 ¶
CeoAddress is a free data retrieval call binding the contract method 0x0a0f8168.
Solidity: function ceoAddress() constant returns(address)
func (*CKCaller) CfoAddress ¶
CfoAddress is a free data retrieval call binding the contract method 0x0519ce79.
Solidity: function cfoAddress() constant returns(address)
func (*CKCaller) CooAddress ¶
CooAddress is a free data retrieval call binding the contract method 0xb047fb50.
Solidity: function cooAddress() constant returns(address)
func (*CKCaller) Cooldowns ¶
Cooldowns is a free data retrieval call binding the contract method 0x9d6fac6f.
Solidity: function cooldowns( uint256) constant returns(uint32)
func (*CKCaller) Erc721Metadata ¶
Erc721Metadata is a free data retrieval call binding the contract method 0xbc4006f5.
Solidity: function erc721Metadata() constant returns(address)
func (*CKCaller) GEN0_AUCTION_DURATION ¶
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 ¶
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 ¶
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 ¶
Gen0CreatedCount is a free data retrieval call binding the contract method 0xf1ca9410.
Solidity: function gen0CreatedCount() constant returns(uint256)
func (*CKCaller) GeneScience ¶
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 ¶
IsPregnant is a free data retrieval call binding the contract method 0x1940a936.
Solidity: function isPregnant(_kittyId uint256) constant returns(bool)
func (*CKCaller) IsReadyToBreed ¶
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 ¶
KittyIndexToOwner is a free data retrieval call binding the contract method 0xa45f4bfc.
Solidity: function kittyIndexToOwner( uint256) constant returns(address)
func (*CKCaller) Name ¶
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() constant returns(string)
func (*CKCaller) NewContractAddress ¶
NewContractAddress is a free data retrieval call binding the contract method 0x6af04a57.
Solidity: function newContractAddress() constant returns(address)
func (*CKCaller) OwnerOf ¶
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 ¶
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 ¶
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() constant returns(bool)
func (*CKCaller) PregnantKitties ¶
PregnantKitties is a free data retrieval call binding the contract method 0x183a7947.
Solidity: function pregnantKitties() constant returns(uint256)
func (*CKCaller) PromoCreatedCount ¶
PromoCreatedCount is a free data retrieval call binding the contract method 0x05e45546.
Solidity: function promoCreatedCount() constant returns(uint256)
func (*CKCaller) SaleAuction ¶
SaleAuction is a free data retrieval call binding the contract method 0xe6cbe351.
Solidity: function saleAuction() constant returns(address)
func (*CKCaller) SecondsPerBlock ¶
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 ¶
SiringAuction is a free data retrieval call binding the contract method 0x21717ebf.
Solidity: function siringAuction() constant returns(address)
func (*CKCaller) SupportsInterface ¶
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(_interfaceID bytes4) constant returns(bool)
func (*CKCaller) Symbol ¶
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 ¶
TokensOfOwner is a free data retrieval call binding the contract method 0x8462151c.
Solidity: function tokensOfOwner(_owner address) constant returns(ownerTokens 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 ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(_owner address) constant returns(count uint256)
func (*CKCallerSession) CanBreedWith ¶
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 ¶
KittyIndexToApproved is a free data retrieval call binding the contract method 0x481af3d3.
Solidity: function kittyIndexToApproved( uint256) constant returns(address)
func (*CKCallerSession) KittyIndexToOwner ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
AutoBirthFee is a free data retrieval call binding the contract method 0xb0c35c05.
Solidity: function autoBirthFee() constant returns(uint256)
func (*CKSession) BalanceOf ¶
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 ¶
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 ¶
CeoAddress is a free data retrieval call binding the contract method 0x0a0f8168.
Solidity: function ceoAddress() constant returns(address)
func (*CKSession) CfoAddress ¶
CfoAddress is a free data retrieval call binding the contract method 0x0519ce79.
Solidity: function cfoAddress() constant returns(address)
func (*CKSession) CooAddress ¶
CooAddress is a free data retrieval call binding the contract method 0xb047fb50.
Solidity: function cooAddress() constant returns(address)
func (*CKSession) Cooldowns ¶
Cooldowns is a free data retrieval call binding the contract method 0x9d6fac6f.
Solidity: function cooldowns( uint256) constant returns(uint32)
func (*CKSession) CreateGen0Auction ¶
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 ¶
Erc721Metadata is a free data retrieval call binding the contract method 0xbc4006f5.
Solidity: function erc721Metadata() constant returns(address)
func (*CKSession) GEN0_AUCTION_DURATION ¶
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 ¶
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 ¶
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 ¶
Gen0CreatedCount is a free data retrieval call binding the contract method 0xf1ca9410.
Solidity: function gen0CreatedCount() constant returns(uint256)
func (*CKSession) GeneScience ¶
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 ¶
GiveBirth is a paid mutator transaction binding the contract method 0x88c2a0bf.
Solidity: function giveBirth(_matronId uint256) returns(uint256)
func (*CKSession) IsPregnant ¶
IsPregnant is a free data retrieval call binding the contract method 0x1940a936.
Solidity: function isPregnant(_kittyId uint256) constant returns(bool)
func (*CKSession) IsReadyToBreed ¶
IsReadyToBreed is a free data retrieval call binding the contract method 0xd3e6f49f.
Solidity: function isReadyToBreed(_kittyId uint256) constant returns(bool)
func (*CKSession) KittyIndexToApproved ¶
KittyIndexToApproved is a free data retrieval call binding the contract method 0x481af3d3.
Solidity: function kittyIndexToApproved( uint256) constant returns(address)
func (*CKSession) KittyIndexToOwner ¶
KittyIndexToOwner is a free data retrieval call binding the contract method 0xa45f4bfc.
Solidity: function kittyIndexToOwner( uint256) constant returns(address)
func (*CKSession) Name ¶
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() constant returns(string)
func (*CKSession) NewContractAddress ¶
NewContractAddress is a free data retrieval call binding the contract method 0x6af04a57.
Solidity: function newContractAddress() constant returns(address)
func (*CKSession) OwnerOf ¶
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 ¶
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 ¶
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() constant returns(bool)
func (*CKSession) PregnantKitties ¶
PregnantKitties is a free data retrieval call binding the contract method 0x183a7947.
Solidity: function pregnantKitties() constant returns(uint256)
func (*CKSession) PromoCreatedCount ¶
PromoCreatedCount is a free data retrieval call binding the contract method 0x05e45546.
Solidity: function promoCreatedCount() constant returns(uint256)
func (*CKSession) SaleAuction ¶
SaleAuction is a free data retrieval call binding the contract method 0xe6cbe351.
Solidity: function saleAuction() constant returns(address)
func (*CKSession) SecondsPerBlock ¶
SecondsPerBlock is a free data retrieval call binding the contract method 0x7a7d4937.
Solidity: function secondsPerBlock() constant returns(uint256)
func (*CKSession) SetAutoBirthFee ¶
SetAutoBirthFee is a paid mutator transaction binding the contract method 0x4b85fd55.
Solidity: function setAutoBirthFee(val uint256) returns()
func (*CKSession) SetCEO ¶
SetCEO is a paid mutator transaction binding the contract method 0x27d7874c.
Solidity: function setCEO(_newCEO address) returns()
func (*CKSession) SetCFO ¶
SetCFO is a paid mutator transaction binding the contract method 0x4e0a3379.
Solidity: function setCFO(_newCFO address) returns()
func (*CKSession) SetCOO ¶
SetCOO is a paid mutator transaction binding the contract method 0x2ba73c15.
Solidity: function setCOO(_newCOO address) returns()
func (*CKSession) SetGeneScienceAddress ¶
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 ¶
SetNewAddress is a paid mutator transaction binding the contract method 0x71587988.
Solidity: function setNewAddress(_v2Address address) returns()
func (*CKSession) SetSaleAuctionAddress ¶
SetSaleAuctionAddress is a paid mutator transaction binding the contract method 0x6fbde40d.
Solidity: function setSaleAuctionAddress(_address address) returns()
func (*CKSession) SetSecondsPerBlock ¶
SetSecondsPerBlock is a paid mutator transaction binding the contract method 0x5663896e.
Solidity: function setSecondsPerBlock(secs uint256) returns()
func (*CKSession) SetSiringAuctionAddress ¶
SetSiringAuctionAddress is a paid mutator transaction binding the contract method 0x14001f4c.
Solidity: function setSiringAuctionAddress(_address address) returns()
func (*CKSession) SireAllowedToAddress ¶
SireAllowedToAddress is a free data retrieval call binding the contract method 0x46116e6f.
Solidity: function sireAllowedToAddress( uint256) constant returns(address)
func (*CKSession) SiringAuction ¶
SiringAuction is a free data retrieval call binding the contract method 0x21717ebf.
Solidity: function siringAuction() constant returns(address)
func (*CKSession) SupportsInterface ¶
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(_interfaceID bytes4) constant returns(bool)
func (*CKSession) Symbol ¶
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() constant returns(string)
func (*CKSession) TokenMetadata ¶
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 ¶
TokensOfOwner is a free data retrieval call binding the contract method 0x8462151c.
Solidity: function tokensOfOwner(_owner address) constant returns(ownerTokens uint256[])
func (*CKSession) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
func (*CKSession) Transfer ¶
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.