cksaleabi

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: 2

Documentation

Index

Constants

View Source
const CKSaleABI = "" /* 4895-byte string literal not displayed */

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

Variables

This section is empty.

Functions

This section is empty.

Types

type CKSale

type CKSale struct {
	CKSaleCaller     // Read-only binding to the contract
	CKSaleTransactor // Write-only binding to the contract
	CKSaleFilterer   // Log filterer for contract events
}

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

func NewCKSale

func NewCKSale(address common.Address, backend bind.ContractBackend) (*CKSale, error)

NewCKSale creates a new instance of CKSale, bound to a specific deployed contract.

type CKSaleAuctionCancelled

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

CKSaleAuctionCancelled represents a AuctionCancelled event raised by the CKSale contract.

type CKSaleAuctionCancelledIterator

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

CKSaleAuctionCancelledIterator is returned from FilterAuctionCancelled and is used to iterate over the raw logs and unpacked data for AuctionCancelled events raised by the CKSale contract.

func (*CKSaleAuctionCancelledIterator) Close

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

func (*CKSaleAuctionCancelledIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CKSaleAuctionCancelledIterator) Next

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

type CKSaleAuctionCreated

type CKSaleAuctionCreated struct {
	TokenId       *big.Int
	StartingPrice *big.Int
	EndingPrice   *big.Int
	Duration      *big.Int
	Raw           types.Log // Blockchain specific contextual infos
}

CKSaleAuctionCreated represents a AuctionCreated event raised by the CKSale contract.

type CKSaleAuctionCreatedIterator

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

CKSaleAuctionCreatedIterator is returned from FilterAuctionCreated and is used to iterate over the raw logs and unpacked data for AuctionCreated events raised by the CKSale contract.

func (*CKSaleAuctionCreatedIterator) Close

func (it *CKSaleAuctionCreatedIterator) Close() error

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

func (*CKSaleAuctionCreatedIterator) Error

func (it *CKSaleAuctionCreatedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CKSaleAuctionCreatedIterator) Next

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

type CKSaleAuctionSuccessful

type CKSaleAuctionSuccessful struct {
	TokenId    *big.Int
	TotalPrice *big.Int
	Winner     common.Address
	Raw        types.Log // Blockchain specific contextual infos
}

CKSaleAuctionSuccessful represents a AuctionSuccessful event raised by the CKSale contract.

type CKSaleAuctionSuccessfulIterator

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

CKSaleAuctionSuccessfulIterator is returned from FilterAuctionSuccessful and is used to iterate over the raw logs and unpacked data for AuctionSuccessful events raised by the CKSale contract.

func (*CKSaleAuctionSuccessfulIterator) Close

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

func (*CKSaleAuctionSuccessfulIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CKSaleAuctionSuccessfulIterator) Next

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

type CKSaleCaller

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

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

func NewCKSaleCaller

func NewCKSaleCaller(address common.Address, caller bind.ContractCaller) (*CKSaleCaller, error)

NewCKSaleCaller creates a new read-only instance of CKSale, bound to a specific deployed contract.

func (*CKSaleCaller) AverageGen0SalePrice

func (_CKSale *CKSaleCaller) AverageGen0SalePrice(opts *bind.CallOpts) (*big.Int, error)

AverageGen0SalePrice is a free data retrieval call binding the contract method 0xeac9d94c.

Solidity: function averageGen0SalePrice() constant returns(uint256)

func (*CKSaleCaller) Gen0SaleCount

func (_CKSale *CKSaleCaller) Gen0SaleCount(opts *bind.CallOpts) (*big.Int, error)

Gen0SaleCount is a free data retrieval call binding the contract method 0x8a98a9cc.

Solidity: function gen0SaleCount() constant returns(uint256)

func (*CKSaleCaller) GetAuction

func (_CKSale *CKSaleCaller) GetAuction(opts *bind.CallOpts, _tokenId *big.Int) (struct {
	Seller        common.Address
	StartingPrice *big.Int
	EndingPrice   *big.Int
	Duration      *big.Int
	StartedAt     *big.Int
}, error)

GetAuction is a free data retrieval call binding the contract method 0x78bd7935.

Solidity: function getAuction(_tokenId uint256) constant returns(seller address, startingPrice uint256, endingPrice uint256, duration uint256, startedAt uint256)

func (*CKSaleCaller) GetCurrentPrice

func (_CKSale *CKSaleCaller) GetCurrentPrice(opts *bind.CallOpts, _tokenId *big.Int) (*big.Int, error)

GetCurrentPrice is a free data retrieval call binding the contract method 0xc55d0f56.

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

func (*CKSaleCaller) IsSaleClockAuction

func (_CKSale *CKSaleCaller) IsSaleClockAuction(opts *bind.CallOpts) (bool, error)

IsSaleClockAuction is a free data retrieval call binding the contract method 0x85b86188.

Solidity: function isSaleClockAuction() constant returns(bool)

func (*CKSaleCaller) LastGen0SalePrices

func (_CKSale *CKSaleCaller) LastGen0SalePrices(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)

LastGen0SalePrices is a free data retrieval call binding the contract method 0x484eccb4.

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

func (*CKSaleCaller) NonFungibleContract

func (_CKSale *CKSaleCaller) NonFungibleContract(opts *bind.CallOpts) (common.Address, error)

NonFungibleContract is a free data retrieval call binding the contract method 0xdd1b7a0f.

Solidity: function nonFungibleContract() constant returns(address)

func (*CKSaleCaller) Owner

func (_CKSale *CKSaleCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*CKSaleCaller) OwnerCut

func (_CKSale *CKSaleCaller) OwnerCut(opts *bind.CallOpts) (*big.Int, error)

OwnerCut is a free data retrieval call binding the contract method 0x83b5ff8b.

Solidity: function ownerCut() constant returns(uint256)

func (*CKSaleCaller) Paused

func (_CKSale *CKSaleCaller) Paused(opts *bind.CallOpts) (bool, error)

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

Solidity: function paused() constant returns(bool)

type CKSaleCallerRaw

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

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

func (*CKSaleCallerRaw) Call

func (_CKSale *CKSaleCallerRaw) 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 CKSaleCallerSession

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

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

func (*CKSaleCallerSession) AverageGen0SalePrice

func (_CKSale *CKSaleCallerSession) AverageGen0SalePrice() (*big.Int, error)

AverageGen0SalePrice is a free data retrieval call binding the contract method 0xeac9d94c.

Solidity: function averageGen0SalePrice() constant returns(uint256)

func (*CKSaleCallerSession) Gen0SaleCount

func (_CKSale *CKSaleCallerSession) Gen0SaleCount() (*big.Int, error)

Gen0SaleCount is a free data retrieval call binding the contract method 0x8a98a9cc.

Solidity: function gen0SaleCount() constant returns(uint256)

func (*CKSaleCallerSession) GetAuction

func (_CKSale *CKSaleCallerSession) GetAuction(_tokenId *big.Int) (struct {
	Seller        common.Address
	StartingPrice *big.Int
	EndingPrice   *big.Int
	Duration      *big.Int
	StartedAt     *big.Int
}, error)

GetAuction is a free data retrieval call binding the contract method 0x78bd7935.

Solidity: function getAuction(_tokenId uint256) constant returns(seller address, startingPrice uint256, endingPrice uint256, duration uint256, startedAt uint256)

func (*CKSaleCallerSession) GetCurrentPrice

func (_CKSale *CKSaleCallerSession) GetCurrentPrice(_tokenId *big.Int) (*big.Int, error)

GetCurrentPrice is a free data retrieval call binding the contract method 0xc55d0f56.

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

func (*CKSaleCallerSession) IsSaleClockAuction

func (_CKSale *CKSaleCallerSession) IsSaleClockAuction() (bool, error)

IsSaleClockAuction is a free data retrieval call binding the contract method 0x85b86188.

Solidity: function isSaleClockAuction() constant returns(bool)

func (*CKSaleCallerSession) LastGen0SalePrices

func (_CKSale *CKSaleCallerSession) LastGen0SalePrices(arg0 *big.Int) (*big.Int, error)

LastGen0SalePrices is a free data retrieval call binding the contract method 0x484eccb4.

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

func (*CKSaleCallerSession) NonFungibleContract

func (_CKSale *CKSaleCallerSession) NonFungibleContract() (common.Address, error)

NonFungibleContract is a free data retrieval call binding the contract method 0xdd1b7a0f.

Solidity: function nonFungibleContract() constant returns(address)

func (*CKSaleCallerSession) Owner

func (_CKSale *CKSaleCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*CKSaleCallerSession) OwnerCut

func (_CKSale *CKSaleCallerSession) OwnerCut() (*big.Int, error)

OwnerCut is a free data retrieval call binding the contract method 0x83b5ff8b.

Solidity: function ownerCut() constant returns(uint256)

func (*CKSaleCallerSession) Paused

func (_CKSale *CKSaleCallerSession) Paused() (bool, error)

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

Solidity: function paused() constant returns(bool)

type CKSaleFilterer

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

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

func NewCKSaleFilterer

func NewCKSaleFilterer(address common.Address, filterer bind.ContractFilterer) (*CKSaleFilterer, error)

NewCKSaleFilterer creates a new log filterer instance of CKSale, bound to a specific deployed contract.

func (*CKSaleFilterer) FilterAuctionCancelled

func (_CKSale *CKSaleFilterer) FilterAuctionCancelled(opts *bind.FilterOpts) (*CKSaleAuctionCancelledIterator, error)

FilterAuctionCancelled is a free log retrieval operation binding the contract event 0x2809c7e17bf978fbc7194c0a694b638c4215e9140cacc6c38ca36010b45697df.

Solidity: event AuctionCancelled(tokenId uint256)

func (*CKSaleFilterer) FilterAuctionCreated

func (_CKSale *CKSaleFilterer) FilterAuctionCreated(opts *bind.FilterOpts) (*CKSaleAuctionCreatedIterator, error)

FilterAuctionCreated is a free log retrieval operation binding the contract event 0xa9c8dfcda5664a5a124c713e386da27de87432d5b668e79458501eb296389ba7.

Solidity: event AuctionCreated(tokenId uint256, startingPrice uint256, endingPrice uint256, duration uint256)

func (*CKSaleFilterer) FilterAuctionSuccessful

func (_CKSale *CKSaleFilterer) FilterAuctionSuccessful(opts *bind.FilterOpts) (*CKSaleAuctionSuccessfulIterator, error)

FilterAuctionSuccessful is a free log retrieval operation binding the contract event 0x4fcc30d90a842164dd58501ab874a101a3749c3d4747139cefe7c876f4ccebd2.

Solidity: event AuctionSuccessful(tokenId uint256, totalPrice uint256, winner address)

func (*CKSaleFilterer) FilterPause

func (_CKSale *CKSaleFilterer) FilterPause(opts *bind.FilterOpts) (*CKSalePauseIterator, error)

FilterPause is a free log retrieval operation binding the contract event 0x6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff625.

Solidity: event Pause()

func (*CKSaleFilterer) FilterUnpause

func (_CKSale *CKSaleFilterer) FilterUnpause(opts *bind.FilterOpts) (*CKSaleUnpauseIterator, error)

FilterUnpause is a free log retrieval operation binding the contract event 0x7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b33.

Solidity: event Unpause()

func (*CKSaleFilterer) WatchAuctionCancelled

func (_CKSale *CKSaleFilterer) WatchAuctionCancelled(opts *bind.WatchOpts, sink chan<- *CKSaleAuctionCancelled) (event.Subscription, error)

WatchAuctionCancelled is a free log subscription operation binding the contract event 0x2809c7e17bf978fbc7194c0a694b638c4215e9140cacc6c38ca36010b45697df.

Solidity: event AuctionCancelled(tokenId uint256)

func (*CKSaleFilterer) WatchAuctionCreated

func (_CKSale *CKSaleFilterer) WatchAuctionCreated(opts *bind.WatchOpts, sink chan<- *CKSaleAuctionCreated) (event.Subscription, error)

WatchAuctionCreated is a free log subscription operation binding the contract event 0xa9c8dfcda5664a5a124c713e386da27de87432d5b668e79458501eb296389ba7.

Solidity: event AuctionCreated(tokenId uint256, startingPrice uint256, endingPrice uint256, duration uint256)

func (*CKSaleFilterer) WatchAuctionSuccessful

func (_CKSale *CKSaleFilterer) WatchAuctionSuccessful(opts *bind.WatchOpts, sink chan<- *CKSaleAuctionSuccessful) (event.Subscription, error)

WatchAuctionSuccessful is a free log subscription operation binding the contract event 0x4fcc30d90a842164dd58501ab874a101a3749c3d4747139cefe7c876f4ccebd2.

Solidity: event AuctionSuccessful(tokenId uint256, totalPrice uint256, winner address)

func (*CKSaleFilterer) WatchPause

func (_CKSale *CKSaleFilterer) WatchPause(opts *bind.WatchOpts, sink chan<- *CKSalePause) (event.Subscription, error)

WatchPause is a free log subscription operation binding the contract event 0x6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff625.

Solidity: event Pause()

func (*CKSaleFilterer) WatchUnpause

func (_CKSale *CKSaleFilterer) WatchUnpause(opts *bind.WatchOpts, sink chan<- *CKSaleUnpause) (event.Subscription, error)

WatchUnpause is a free log subscription operation binding the contract event 0x7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b33.

Solidity: event Unpause()

type CKSalePause

type CKSalePause struct {
	Raw types.Log // Blockchain specific contextual infos
}

CKSalePause represents a Pause event raised by the CKSale contract.

type CKSalePauseIterator

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

CKSalePauseIterator is returned from FilterPause and is used to iterate over the raw logs and unpacked data for Pause events raised by the CKSale contract.

func (*CKSalePauseIterator) Close

func (it *CKSalePauseIterator) Close() error

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

func (*CKSalePauseIterator) Error

func (it *CKSalePauseIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CKSalePauseIterator) Next

func (it *CKSalePauseIterator) 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 CKSaleRaw

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

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

func (*CKSaleRaw) Call

func (_CKSale *CKSaleRaw) 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 (*CKSaleRaw) Transact

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

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

func (*CKSaleRaw) Transfer

func (_CKSale *CKSaleRaw) 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 CKSaleSession

type CKSaleSession struct {
	Contract     *CKSale           // 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
}

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

func (*CKSaleSession) AverageGen0SalePrice

func (_CKSale *CKSaleSession) AverageGen0SalePrice() (*big.Int, error)

AverageGen0SalePrice is a free data retrieval call binding the contract method 0xeac9d94c.

Solidity: function averageGen0SalePrice() constant returns(uint256)

func (*CKSaleSession) Bid

func (_CKSale *CKSaleSession) Bid(_tokenId *big.Int) (*types.Transaction, error)

Bid is a paid mutator transaction binding the contract method 0x454a2ab3.

Solidity: function bid(_tokenId uint256) returns()

func (*CKSaleSession) CancelAuction

func (_CKSale *CKSaleSession) CancelAuction(_tokenId *big.Int) (*types.Transaction, error)

CancelAuction is a paid mutator transaction binding the contract method 0x96b5a755.

Solidity: function cancelAuction(_tokenId uint256) returns()

func (*CKSaleSession) CancelAuctionWhenPaused

func (_CKSale *CKSaleSession) CancelAuctionWhenPaused(_tokenId *big.Int) (*types.Transaction, error)

CancelAuctionWhenPaused is a paid mutator transaction binding the contract method 0x878eb368.

Solidity: function cancelAuctionWhenPaused(_tokenId uint256) returns()

func (*CKSaleSession) CreateAuction

func (_CKSale *CKSaleSession) CreateAuction(_tokenId *big.Int, _startingPrice *big.Int, _endingPrice *big.Int, _duration *big.Int, _seller common.Address) (*types.Transaction, error)

CreateAuction is a paid mutator transaction binding the contract method 0x27ebe40a.

Solidity: function createAuction(_tokenId uint256, _startingPrice uint256, _endingPrice uint256, _duration uint256, _seller address) returns()

func (*CKSaleSession) Gen0SaleCount

func (_CKSale *CKSaleSession) Gen0SaleCount() (*big.Int, error)

Gen0SaleCount is a free data retrieval call binding the contract method 0x8a98a9cc.

Solidity: function gen0SaleCount() constant returns(uint256)

func (*CKSaleSession) GetAuction

func (_CKSale *CKSaleSession) GetAuction(_tokenId *big.Int) (struct {
	Seller        common.Address
	StartingPrice *big.Int
	EndingPrice   *big.Int
	Duration      *big.Int
	StartedAt     *big.Int
}, error)

GetAuction is a free data retrieval call binding the contract method 0x78bd7935.

Solidity: function getAuction(_tokenId uint256) constant returns(seller address, startingPrice uint256, endingPrice uint256, duration uint256, startedAt uint256)

func (*CKSaleSession) GetCurrentPrice

func (_CKSale *CKSaleSession) GetCurrentPrice(_tokenId *big.Int) (*big.Int, error)

GetCurrentPrice is a free data retrieval call binding the contract method 0xc55d0f56.

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

func (*CKSaleSession) IsSaleClockAuction

func (_CKSale *CKSaleSession) IsSaleClockAuction() (bool, error)

IsSaleClockAuction is a free data retrieval call binding the contract method 0x85b86188.

Solidity: function isSaleClockAuction() constant returns(bool)

func (*CKSaleSession) LastGen0SalePrices

func (_CKSale *CKSaleSession) LastGen0SalePrices(arg0 *big.Int) (*big.Int, error)

LastGen0SalePrices is a free data retrieval call binding the contract method 0x484eccb4.

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

func (*CKSaleSession) NonFungibleContract

func (_CKSale *CKSaleSession) NonFungibleContract() (common.Address, error)

NonFungibleContract is a free data retrieval call binding the contract method 0xdd1b7a0f.

Solidity: function nonFungibleContract() constant returns(address)

func (*CKSaleSession) Owner

func (_CKSale *CKSaleSession) Owner() (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*CKSaleSession) OwnerCut

func (_CKSale *CKSaleSession) OwnerCut() (*big.Int, error)

OwnerCut is a free data retrieval call binding the contract method 0x83b5ff8b.

Solidity: function ownerCut() constant returns(uint256)

func (*CKSaleSession) Pause

func (_CKSale *CKSaleSession) Pause() (*types.Transaction, error)

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

Solidity: function pause() returns(bool)

func (*CKSaleSession) Paused

func (_CKSale *CKSaleSession) Paused() (bool, error)

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

Solidity: function paused() constant returns(bool)

func (*CKSaleSession) TransferOwnership

func (_CKSale *CKSaleSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(newOwner address) returns()

func (*CKSaleSession) Unpause

func (_CKSale *CKSaleSession) Unpause() (*types.Transaction, error)

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

Solidity: function unpause() returns(bool)

func (*CKSaleSession) WithdrawBalance

func (_CKSale *CKSaleSession) WithdrawBalance() (*types.Transaction, error)

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

Solidity: function withdrawBalance() returns()

type CKSaleTransactor

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

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

func NewCKSaleTransactor

func NewCKSaleTransactor(address common.Address, transactor bind.ContractTransactor) (*CKSaleTransactor, error)

NewCKSaleTransactor creates a new write-only instance of CKSale, bound to a specific deployed contract.

func (*CKSaleTransactor) Bid

func (_CKSale *CKSaleTransactor) Bid(opts *bind.TransactOpts, _tokenId *big.Int) (*types.Transaction, error)

Bid is a paid mutator transaction binding the contract method 0x454a2ab3.

Solidity: function bid(_tokenId uint256) returns()

func (*CKSaleTransactor) CancelAuction

func (_CKSale *CKSaleTransactor) CancelAuction(opts *bind.TransactOpts, _tokenId *big.Int) (*types.Transaction, error)

CancelAuction is a paid mutator transaction binding the contract method 0x96b5a755.

Solidity: function cancelAuction(_tokenId uint256) returns()

func (*CKSaleTransactor) CancelAuctionWhenPaused

func (_CKSale *CKSaleTransactor) CancelAuctionWhenPaused(opts *bind.TransactOpts, _tokenId *big.Int) (*types.Transaction, error)

CancelAuctionWhenPaused is a paid mutator transaction binding the contract method 0x878eb368.

Solidity: function cancelAuctionWhenPaused(_tokenId uint256) returns()

func (*CKSaleTransactor) CreateAuction

func (_CKSale *CKSaleTransactor) CreateAuction(opts *bind.TransactOpts, _tokenId *big.Int, _startingPrice *big.Int, _endingPrice *big.Int, _duration *big.Int, _seller common.Address) (*types.Transaction, error)

CreateAuction is a paid mutator transaction binding the contract method 0x27ebe40a.

Solidity: function createAuction(_tokenId uint256, _startingPrice uint256, _endingPrice uint256, _duration uint256, _seller address) returns()

func (*CKSaleTransactor) Pause

func (_CKSale *CKSaleTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function pause() returns(bool)

func (*CKSaleTransactor) TransferOwnership

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

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

Solidity: function transferOwnership(newOwner address) returns()

func (*CKSaleTransactor) Unpause

func (_CKSale *CKSaleTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function unpause() returns(bool)

func (*CKSaleTransactor) WithdrawBalance

func (_CKSale *CKSaleTransactor) WithdrawBalance(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function withdrawBalance() returns()

type CKSaleTransactorRaw

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

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

func (*CKSaleTransactorRaw) Transact

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

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

func (*CKSaleTransactorRaw) Transfer

func (_CKSale *CKSaleTransactorRaw) 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 CKSaleTransactorSession

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

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

func (*CKSaleTransactorSession) Bid

func (_CKSale *CKSaleTransactorSession) Bid(_tokenId *big.Int) (*types.Transaction, error)

Bid is a paid mutator transaction binding the contract method 0x454a2ab3.

Solidity: function bid(_tokenId uint256) returns()

func (*CKSaleTransactorSession) CancelAuction

func (_CKSale *CKSaleTransactorSession) CancelAuction(_tokenId *big.Int) (*types.Transaction, error)

CancelAuction is a paid mutator transaction binding the contract method 0x96b5a755.

Solidity: function cancelAuction(_tokenId uint256) returns()

func (*CKSaleTransactorSession) CancelAuctionWhenPaused

func (_CKSale *CKSaleTransactorSession) CancelAuctionWhenPaused(_tokenId *big.Int) (*types.Transaction, error)

CancelAuctionWhenPaused is a paid mutator transaction binding the contract method 0x878eb368.

Solidity: function cancelAuctionWhenPaused(_tokenId uint256) returns()

func (*CKSaleTransactorSession) CreateAuction

func (_CKSale *CKSaleTransactorSession) CreateAuction(_tokenId *big.Int, _startingPrice *big.Int, _endingPrice *big.Int, _duration *big.Int, _seller common.Address) (*types.Transaction, error)

CreateAuction is a paid mutator transaction binding the contract method 0x27ebe40a.

Solidity: function createAuction(_tokenId uint256, _startingPrice uint256, _endingPrice uint256, _duration uint256, _seller address) returns()

func (*CKSaleTransactorSession) Pause

func (_CKSale *CKSaleTransactorSession) Pause() (*types.Transaction, error)

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

Solidity: function pause() returns(bool)

func (*CKSaleTransactorSession) TransferOwnership

func (_CKSale *CKSaleTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(newOwner address) returns()

func (*CKSaleTransactorSession) Unpause

func (_CKSale *CKSaleTransactorSession) Unpause() (*types.Transaction, error)

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

Solidity: function unpause() returns(bool)

func (*CKSaleTransactorSession) WithdrawBalance

func (_CKSale *CKSaleTransactorSession) WithdrawBalance() (*types.Transaction, error)

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

Solidity: function withdrawBalance() returns()

type CKSaleUnpause

type CKSaleUnpause struct {
	Raw types.Log // Blockchain specific contextual infos
}

CKSaleUnpause represents a Unpause event raised by the CKSale contract.

type CKSaleUnpauseIterator

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

CKSaleUnpauseIterator is returned from FilterUnpause and is used to iterate over the raw logs and unpacked data for Unpause events raised by the CKSale contract.

func (*CKSaleUnpauseIterator) Close

func (it *CKSaleUnpauseIterator) Close() error

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

func (*CKSaleUnpauseIterator) Error

func (it *CKSaleUnpauseIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CKSaleUnpauseIterator) Next

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