auctionregistrar

package
v0.0.0-...-606652d Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const ContractABI = "" /* 6303-byte string literal not displayed */

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

Variables

This section is empty.

Functions

This section is empty.

Types

type Contract

type Contract struct {
	ContractCaller     // Read-only binding to the contract
	ContractTransactor // Write-only binding to the contract
	ContractFilterer   // Log filterer for contract events
}

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

func NewContract

func NewContract(address common.Address, backend bind.ContractBackend) (*Contract, error)

NewContract creates a new instance of Contract, bound to a specific deployed contract.

type ContractAuctionStarted

type ContractAuctionStarted struct {
	Hash             [32]byte
	RegistrationDate *big.Int
	Raw              types.Log // Blockchain specific contextual infos
}

ContractAuctionStarted represents a AuctionStarted event raised by the Contract contract.

type ContractAuctionStartedIterator

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

ContractAuctionStartedIterator is returned from FilterAuctionStarted and is used to iterate over the raw logs and unpacked data for AuctionStarted events raised by the Contract contract.

func (*ContractAuctionStartedIterator) Close

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

func (*ContractAuctionStartedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractAuctionStartedIterator) 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 ContractBidRevealed

type ContractBidRevealed struct {
	Hash   [32]byte
	Owner  common.Address
	Value  *big.Int
	Status uint8
	Raw    types.Log // Blockchain specific contextual infos
}

ContractBidRevealed represents a BidRevealed event raised by the Contract contract.

type ContractBidRevealedIterator

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

ContractBidRevealedIterator is returned from FilterBidRevealed and is used to iterate over the raw logs and unpacked data for BidRevealed events raised by the Contract contract.

func (*ContractBidRevealedIterator) Close

func (it *ContractBidRevealedIterator) Close() error

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

func (*ContractBidRevealedIterator) Error

func (it *ContractBidRevealedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractBidRevealedIterator) Next

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

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

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

func NewContractCaller

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

NewContractCaller creates a new read-only instance of Contract, bound to a specific deployed contract.

func (*ContractCaller) Ens

func (_Contract *ContractCaller) Ens(opts *bind.CallOpts) (common.Address, error)

Ens is a free data retrieval call binding the contract method 0x3f15457f.

Solidity: function ens() returns(address)

func (*ContractCaller) Entries

func (_Contract *ContractCaller) Entries(opts *bind.CallOpts, _hash [32]byte) (uint8, common.Address, *big.Int, *big.Int, *big.Int, error)

Entries is a free data retrieval call binding the contract method 0x267b6922.

Solidity: function entries(bytes32 _hash) returns(uint8, address, uint256, uint256, uint256)

func (*ContractCaller) GetAllowedTime

func (_Contract *ContractCaller) GetAllowedTime(opts *bind.CallOpts, _hash [32]byte) (*big.Int, error)

GetAllowedTime is a free data retrieval call binding the contract method 0x13c89a8f.

Solidity: function getAllowedTime(bytes32 _hash) returns(uint256 timestamp)

func (*ContractCaller) IsAllowed

func (_Contract *ContractCaller) IsAllowed(opts *bind.CallOpts, _hash [32]byte, _timestamp *big.Int) (bool, error)

IsAllowed is a free data retrieval call binding the contract method 0x93503337.

Solidity: function isAllowed(bytes32 _hash, uint256 _timestamp) returns(bool allowed)

func (*ContractCaller) LaunchLength

func (_Contract *ContractCaller) LaunchLength(opts *bind.CallOpts) (uint32, error)

LaunchLength is a free data retrieval call binding the contract method 0xae1a0b0c.

Solidity: function launchLength() returns(uint32)

func (*ContractCaller) RegistryStarted

func (_Contract *ContractCaller) RegistryStarted(opts *bind.CallOpts) (*big.Int, error)

RegistryStarted is a free data retrieval call binding the contract method 0x9c67f06f.

Solidity: function registryStarted() returns(uint256)

func (*ContractCaller) RootNode

func (_Contract *ContractCaller) RootNode(opts *bind.CallOpts) ([32]byte, error)

RootNode is a free data retrieval call binding the contract method 0xfaff50a8.

Solidity: function rootNode() returns(bytes32)

func (*ContractCaller) SealedBids

func (_Contract *ContractCaller) SealedBids(opts *bind.CallOpts, arg0 common.Address, arg1 [32]byte) (common.Address, error)

SealedBids is a free data retrieval call binding the contract method 0x5e431709.

Solidity: function sealedBids(address , bytes32 ) returns(address)

func (*ContractCaller) ShaBid

func (_Contract *ContractCaller) ShaBid(opts *bind.CallOpts, hash [32]byte, owner common.Address, value *big.Int, salt [32]byte) ([32]byte, error)

ShaBid is a free data retrieval call binding the contract method 0x22ec1244.

Solidity: function shaBid(bytes32 hash, address owner, uint256 value, bytes32 salt) returns(bytes32 sealedBid)

func (*ContractCaller) State

func (_Contract *ContractCaller) State(opts *bind.CallOpts, _hash [32]byte) (uint8, error)

State is a free data retrieval call binding the contract method 0x61d585da.

Solidity: function state(bytes32 _hash) returns(uint8)

type ContractCallerRaw

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

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

func (*ContractCallerRaw) Call

func (_Contract *ContractCallerRaw) 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 ContractCallerSession

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

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

func (*ContractCallerSession) Ens

func (_Contract *ContractCallerSession) Ens() (common.Address, error)

Ens is a free data retrieval call binding the contract method 0x3f15457f.

Solidity: function ens() returns(address)

func (*ContractCallerSession) Entries

func (_Contract *ContractCallerSession) Entries(_hash [32]byte) (uint8, common.Address, *big.Int, *big.Int, *big.Int, error)

Entries is a free data retrieval call binding the contract method 0x267b6922.

Solidity: function entries(bytes32 _hash) returns(uint8, address, uint256, uint256, uint256)

func (*ContractCallerSession) GetAllowedTime

func (_Contract *ContractCallerSession) GetAllowedTime(_hash [32]byte) (*big.Int, error)

GetAllowedTime is a free data retrieval call binding the contract method 0x13c89a8f.

Solidity: function getAllowedTime(bytes32 _hash) returns(uint256 timestamp)

func (*ContractCallerSession) IsAllowed

func (_Contract *ContractCallerSession) IsAllowed(_hash [32]byte, _timestamp *big.Int) (bool, error)

IsAllowed is a free data retrieval call binding the contract method 0x93503337.

Solidity: function isAllowed(bytes32 _hash, uint256 _timestamp) returns(bool allowed)

func (*ContractCallerSession) LaunchLength

func (_Contract *ContractCallerSession) LaunchLength() (uint32, error)

LaunchLength is a free data retrieval call binding the contract method 0xae1a0b0c.

Solidity: function launchLength() returns(uint32)

func (*ContractCallerSession) RegistryStarted

func (_Contract *ContractCallerSession) RegistryStarted() (*big.Int, error)

RegistryStarted is a free data retrieval call binding the contract method 0x9c67f06f.

Solidity: function registryStarted() returns(uint256)

func (*ContractCallerSession) RootNode

func (_Contract *ContractCallerSession) RootNode() ([32]byte, error)

RootNode is a free data retrieval call binding the contract method 0xfaff50a8.

Solidity: function rootNode() returns(bytes32)

func (*ContractCallerSession) SealedBids

func (_Contract *ContractCallerSession) SealedBids(arg0 common.Address, arg1 [32]byte) (common.Address, error)

SealedBids is a free data retrieval call binding the contract method 0x5e431709.

Solidity: function sealedBids(address , bytes32 ) returns(address)

func (*ContractCallerSession) ShaBid

func (_Contract *ContractCallerSession) ShaBid(hash [32]byte, owner common.Address, value *big.Int, salt [32]byte) ([32]byte, error)

ShaBid is a free data retrieval call binding the contract method 0x22ec1244.

Solidity: function shaBid(bytes32 hash, address owner, uint256 value, bytes32 salt) returns(bytes32 sealedBid)

func (*ContractCallerSession) State

func (_Contract *ContractCallerSession) State(_hash [32]byte) (uint8, error)

State is a free data retrieval call binding the contract method 0x61d585da.

Solidity: function state(bytes32 _hash) returns(uint8)

type ContractFilterer

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

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

func NewContractFilterer

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

NewContractFilterer creates a new log filterer instance of Contract, bound to a specific deployed contract.

func (*ContractFilterer) FilterAuctionStarted

func (_Contract *ContractFilterer) FilterAuctionStarted(opts *bind.FilterOpts, hash [][32]byte) (*ContractAuctionStartedIterator, error)

FilterAuctionStarted is a free log retrieval operation binding the contract event 0x87e97e825a1d1fa0c54e1d36c7506c1dea8b1efd451fe68b000cf96f7cf40003.

Solidity: event AuctionStarted(bytes32 indexed hash, uint256 registrationDate)

func (*ContractFilterer) FilterBidRevealed

func (_Contract *ContractFilterer) FilterBidRevealed(opts *bind.FilterOpts, hash [][32]byte, owner []common.Address) (*ContractBidRevealedIterator, error)

FilterBidRevealed is a free log retrieval operation binding the contract event 0x7b6c4b278d165a6b33958f8ea5dfb00c8c9d4d0acf1985bef5d10786898bc3e7.

Solidity: event BidRevealed(bytes32 indexed hash, address indexed owner, uint256 value, uint8 status)

func (*ContractFilterer) FilterHashInvalidated

func (_Contract *ContractFilterer) FilterHashInvalidated(opts *bind.FilterOpts, hash [][32]byte, name []string) (*ContractHashInvalidatedIterator, error)

FilterHashInvalidated is a free log retrieval operation binding the contract event 0x1f9c649fe47e58bb60f4e52f0d90e4c47a526c9f90c5113df842c025970b66ad.

Solidity: event HashInvalidated(bytes32 indexed hash, string indexed name, uint256 value, uint256 registrationDate)

func (*ContractFilterer) FilterHashRegistered

func (_Contract *ContractFilterer) FilterHashRegistered(opts *bind.FilterOpts, hash [][32]byte, owner []common.Address) (*ContractHashRegisteredIterator, error)

FilterHashRegistered is a free log retrieval operation binding the contract event 0x0f0c27adfd84b60b6f456b0e87cdccb1e5fb9603991588d87fa99f5b6b61e670.

Solidity: event HashRegistered(bytes32 indexed hash, address indexed owner, uint256 value, uint256 registrationDate)

func (*ContractFilterer) FilterHashReleased

func (_Contract *ContractFilterer) FilterHashReleased(opts *bind.FilterOpts, hash [][32]byte) (*ContractHashReleasedIterator, error)

FilterHashReleased is a free log retrieval operation binding the contract event 0x292b79b9246fa2c8e77d3fe195b251f9cb839d7d038e667c069ee7708c631e16.

Solidity: event HashReleased(bytes32 indexed hash, uint256 value)

func (*ContractFilterer) FilterNewBid

func (_Contract *ContractFilterer) FilterNewBid(opts *bind.FilterOpts, hash [][32]byte, bidder []common.Address) (*ContractNewBidIterator, error)

FilterNewBid is a free log retrieval operation binding the contract event 0xb556ff269c1b6714f432c36431e2041d28436a73b6c3f19c021827bbdc6bfc29.

Solidity: event NewBid(bytes32 indexed hash, address indexed bidder, uint256 deposit)

func (*ContractFilterer) ParseAuctionStarted

func (_Contract *ContractFilterer) ParseAuctionStarted(log types.Log) (*ContractAuctionStarted, error)

ParseAuctionStarted is a log parse operation binding the contract event 0x87e97e825a1d1fa0c54e1d36c7506c1dea8b1efd451fe68b000cf96f7cf40003.

Solidity: event AuctionStarted(bytes32 indexed hash, uint256 registrationDate)

func (*ContractFilterer) ParseBidRevealed

func (_Contract *ContractFilterer) ParseBidRevealed(log types.Log) (*ContractBidRevealed, error)

ParseBidRevealed is a log parse operation binding the contract event 0x7b6c4b278d165a6b33958f8ea5dfb00c8c9d4d0acf1985bef5d10786898bc3e7.

Solidity: event BidRevealed(bytes32 indexed hash, address indexed owner, uint256 value, uint8 status)

func (*ContractFilterer) ParseHashInvalidated

func (_Contract *ContractFilterer) ParseHashInvalidated(log types.Log) (*ContractHashInvalidated, error)

ParseHashInvalidated is a log parse operation binding the contract event 0x1f9c649fe47e58bb60f4e52f0d90e4c47a526c9f90c5113df842c025970b66ad.

Solidity: event HashInvalidated(bytes32 indexed hash, string indexed name, uint256 value, uint256 registrationDate)

func (*ContractFilterer) ParseHashRegistered

func (_Contract *ContractFilterer) ParseHashRegistered(log types.Log) (*ContractHashRegistered, error)

ParseHashRegistered is a log parse operation binding the contract event 0x0f0c27adfd84b60b6f456b0e87cdccb1e5fb9603991588d87fa99f5b6b61e670.

Solidity: event HashRegistered(bytes32 indexed hash, address indexed owner, uint256 value, uint256 registrationDate)

func (*ContractFilterer) ParseHashReleased

func (_Contract *ContractFilterer) ParseHashReleased(log types.Log) (*ContractHashReleased, error)

ParseHashReleased is a log parse operation binding the contract event 0x292b79b9246fa2c8e77d3fe195b251f9cb839d7d038e667c069ee7708c631e16.

Solidity: event HashReleased(bytes32 indexed hash, uint256 value)

func (*ContractFilterer) ParseNewBid

func (_Contract *ContractFilterer) ParseNewBid(log types.Log) (*ContractNewBid, error)

ParseNewBid is a log parse operation binding the contract event 0xb556ff269c1b6714f432c36431e2041d28436a73b6c3f19c021827bbdc6bfc29.

Solidity: event NewBid(bytes32 indexed hash, address indexed bidder, uint256 deposit)

func (*ContractFilterer) WatchAuctionStarted

func (_Contract *ContractFilterer) WatchAuctionStarted(opts *bind.WatchOpts, sink chan<- *ContractAuctionStarted, hash [][32]byte) (event.Subscription, error)

WatchAuctionStarted is a free log subscription operation binding the contract event 0x87e97e825a1d1fa0c54e1d36c7506c1dea8b1efd451fe68b000cf96f7cf40003.

Solidity: event AuctionStarted(bytes32 indexed hash, uint256 registrationDate)

func (*ContractFilterer) WatchBidRevealed

func (_Contract *ContractFilterer) WatchBidRevealed(opts *bind.WatchOpts, sink chan<- *ContractBidRevealed, hash [][32]byte, owner []common.Address) (event.Subscription, error)

WatchBidRevealed is a free log subscription operation binding the contract event 0x7b6c4b278d165a6b33958f8ea5dfb00c8c9d4d0acf1985bef5d10786898bc3e7.

Solidity: event BidRevealed(bytes32 indexed hash, address indexed owner, uint256 value, uint8 status)

func (*ContractFilterer) WatchHashInvalidated

func (_Contract *ContractFilterer) WatchHashInvalidated(opts *bind.WatchOpts, sink chan<- *ContractHashInvalidated, hash [][32]byte, name []string) (event.Subscription, error)

WatchHashInvalidated is a free log subscription operation binding the contract event 0x1f9c649fe47e58bb60f4e52f0d90e4c47a526c9f90c5113df842c025970b66ad.

Solidity: event HashInvalidated(bytes32 indexed hash, string indexed name, uint256 value, uint256 registrationDate)

func (*ContractFilterer) WatchHashRegistered

func (_Contract *ContractFilterer) WatchHashRegistered(opts *bind.WatchOpts, sink chan<- *ContractHashRegistered, hash [][32]byte, owner []common.Address) (event.Subscription, error)

WatchHashRegistered is a free log subscription operation binding the contract event 0x0f0c27adfd84b60b6f456b0e87cdccb1e5fb9603991588d87fa99f5b6b61e670.

Solidity: event HashRegistered(bytes32 indexed hash, address indexed owner, uint256 value, uint256 registrationDate)

func (*ContractFilterer) WatchHashReleased

func (_Contract *ContractFilterer) WatchHashReleased(opts *bind.WatchOpts, sink chan<- *ContractHashReleased, hash [][32]byte) (event.Subscription, error)

WatchHashReleased is a free log subscription operation binding the contract event 0x292b79b9246fa2c8e77d3fe195b251f9cb839d7d038e667c069ee7708c631e16.

Solidity: event HashReleased(bytes32 indexed hash, uint256 value)

func (*ContractFilterer) WatchNewBid

func (_Contract *ContractFilterer) WatchNewBid(opts *bind.WatchOpts, sink chan<- *ContractNewBid, hash [][32]byte, bidder []common.Address) (event.Subscription, error)

WatchNewBid is a free log subscription operation binding the contract event 0xb556ff269c1b6714f432c36431e2041d28436a73b6c3f19c021827bbdc6bfc29.

Solidity: event NewBid(bytes32 indexed hash, address indexed bidder, uint256 deposit)

type ContractHashInvalidated

type ContractHashInvalidated struct {
	Hash             [32]byte
	Name             common.Hash
	Value            *big.Int
	RegistrationDate *big.Int
	Raw              types.Log // Blockchain specific contextual infos
}

ContractHashInvalidated represents a HashInvalidated event raised by the Contract contract.

type ContractHashInvalidatedIterator

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

ContractHashInvalidatedIterator is returned from FilterHashInvalidated and is used to iterate over the raw logs and unpacked data for HashInvalidated events raised by the Contract contract.

func (*ContractHashInvalidatedIterator) Close

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

func (*ContractHashInvalidatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractHashInvalidatedIterator) 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 ContractHashRegistered

type ContractHashRegistered struct {
	Hash             [32]byte
	Owner            common.Address
	Value            *big.Int
	RegistrationDate *big.Int
	Raw              types.Log // Blockchain specific contextual infos
}

ContractHashRegistered represents a HashRegistered event raised by the Contract contract.

type ContractHashRegisteredIterator

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

ContractHashRegisteredIterator is returned from FilterHashRegistered and is used to iterate over the raw logs and unpacked data for HashRegistered events raised by the Contract contract.

func (*ContractHashRegisteredIterator) Close

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

func (*ContractHashRegisteredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractHashRegisteredIterator) 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 ContractHashReleased

type ContractHashReleased struct {
	Hash  [32]byte
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

ContractHashReleased represents a HashReleased event raised by the Contract contract.

type ContractHashReleasedIterator

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

ContractHashReleasedIterator is returned from FilterHashReleased and is used to iterate over the raw logs and unpacked data for HashReleased events raised by the Contract contract.

func (*ContractHashReleasedIterator) Close

func (it *ContractHashReleasedIterator) Close() error

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

func (*ContractHashReleasedIterator) Error

func (it *ContractHashReleasedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractHashReleasedIterator) 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 ContractNewBid

type ContractNewBid struct {
	Hash    [32]byte
	Bidder  common.Address
	Deposit *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

ContractNewBid represents a NewBid event raised by the Contract contract.

type ContractNewBidIterator

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

ContractNewBidIterator is returned from FilterNewBid and is used to iterate over the raw logs and unpacked data for NewBid events raised by the Contract contract.

func (*ContractNewBidIterator) Close

func (it *ContractNewBidIterator) Close() error

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

func (*ContractNewBidIterator) Error

func (it *ContractNewBidIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractNewBidIterator) Next

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

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

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

func (*ContractRaw) Call

func (_Contract *ContractRaw) 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 (*ContractRaw) Transact

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

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

func (*ContractRaw) Transfer

func (_Contract *ContractRaw) 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 ContractSession

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

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

func (*ContractSession) AcceptRegistrarTransfer

func (_Contract *ContractSession) AcceptRegistrarTransfer(hash [32]byte, deed common.Address, registrationDate *big.Int) (*types.Transaction, error)

AcceptRegistrarTransfer is a paid mutator transaction binding the contract method 0xea9e107a.

Solidity: function acceptRegistrarTransfer(bytes32 hash, address deed, uint256 registrationDate) returns()

func (*ContractSession) CancelBid

func (_Contract *ContractSession) CancelBid(bidder common.Address, seal [32]byte) (*types.Transaction, error)

CancelBid is a paid mutator transaction binding the contract method 0x2525f5c1.

Solidity: function cancelBid(address bidder, bytes32 seal) returns()

func (*ContractSession) Ens

func (_Contract *ContractSession) Ens() (common.Address, error)

Ens is a free data retrieval call binding the contract method 0x3f15457f.

Solidity: function ens() returns(address)

func (*ContractSession) Entries

func (_Contract *ContractSession) Entries(_hash [32]byte) (uint8, common.Address, *big.Int, *big.Int, *big.Int, error)

Entries is a free data retrieval call binding the contract method 0x267b6922.

Solidity: function entries(bytes32 _hash) returns(uint8, address, uint256, uint256, uint256)

func (*ContractSession) EraseNode

func (_Contract *ContractSession) EraseNode(labels [][32]byte) (*types.Transaction, error)

EraseNode is a paid mutator transaction binding the contract method 0xde10f04b.

Solidity: function eraseNode(bytes32[] labels) returns()

func (*ContractSession) FinalizeAuction

func (_Contract *ContractSession) FinalizeAuction(_hash [32]byte) (*types.Transaction, error)

FinalizeAuction is a paid mutator transaction binding the contract method 0x983b94fb.

Solidity: function finalizeAuction(bytes32 _hash) returns()

func (*ContractSession) GetAllowedTime

func (_Contract *ContractSession) GetAllowedTime(_hash [32]byte) (*big.Int, error)

GetAllowedTime is a free data retrieval call binding the contract method 0x13c89a8f.

Solidity: function getAllowedTime(bytes32 _hash) returns(uint256 timestamp)

func (*ContractSession) InvalidateName

func (_Contract *ContractSession) InvalidateName(unhashedName string) (*types.Transaction, error)

InvalidateName is a paid mutator transaction binding the contract method 0x15f73331.

Solidity: function invalidateName(string unhashedName) returns()

func (*ContractSession) IsAllowed

func (_Contract *ContractSession) IsAllowed(_hash [32]byte, _timestamp *big.Int) (bool, error)

IsAllowed is a free data retrieval call binding the contract method 0x93503337.

Solidity: function isAllowed(bytes32 _hash, uint256 _timestamp) returns(bool allowed)

func (*ContractSession) LaunchLength

func (_Contract *ContractSession) LaunchLength() (uint32, error)

LaunchLength is a free data retrieval call binding the contract method 0xae1a0b0c.

Solidity: function launchLength() returns(uint32)

func (*ContractSession) NewBid

func (_Contract *ContractSession) NewBid(sealedBid [32]byte) (*types.Transaction, error)

NewBid is a paid mutator transaction binding the contract method 0xce92dced.

Solidity: function newBid(bytes32 sealedBid) returns()

func (*ContractSession) RegistryStarted

func (_Contract *ContractSession) RegistryStarted() (*big.Int, error)

RegistryStarted is a free data retrieval call binding the contract method 0x9c67f06f.

Solidity: function registryStarted() returns(uint256)

func (*ContractSession) ReleaseDeed

func (_Contract *ContractSession) ReleaseDeed(_hash [32]byte) (*types.Transaction, error)

ReleaseDeed is a paid mutator transaction binding the contract method 0x0230a07c.

Solidity: function releaseDeed(bytes32 _hash) returns()

func (*ContractSession) RootNode

func (_Contract *ContractSession) RootNode() ([32]byte, error)

RootNode is a free data retrieval call binding the contract method 0xfaff50a8.

Solidity: function rootNode() returns(bytes32)

func (*ContractSession) SealedBids

func (_Contract *ContractSession) SealedBids(arg0 common.Address, arg1 [32]byte) (common.Address, error)

SealedBids is a free data retrieval call binding the contract method 0x5e431709.

Solidity: function sealedBids(address , bytes32 ) returns(address)

func (*ContractSession) ShaBid

func (_Contract *ContractSession) ShaBid(hash [32]byte, owner common.Address, value *big.Int, salt [32]byte) ([32]byte, error)

ShaBid is a free data retrieval call binding the contract method 0x22ec1244.

Solidity: function shaBid(bytes32 hash, address owner, uint256 value, bytes32 salt) returns(bytes32 sealedBid)

func (*ContractSession) StartAuction

func (_Contract *ContractSession) StartAuction(_hash [32]byte) (*types.Transaction, error)

StartAuction is a paid mutator transaction binding the contract method 0xede8acdb.

Solidity: function startAuction(bytes32 _hash) returns()

func (*ContractSession) StartAuctions

func (_Contract *ContractSession) StartAuctions(_hashes [][32]byte) (*types.Transaction, error)

StartAuctions is a paid mutator transaction binding the contract method 0xe27fe50f.

Solidity: function startAuctions(bytes32[] _hashes) returns()

func (*ContractSession) StartAuctionsAndBid

func (_Contract *ContractSession) StartAuctionsAndBid(hashes [][32]byte, sealedBid [32]byte) (*types.Transaction, error)

StartAuctionsAndBid is a paid mutator transaction binding the contract method 0xfebefd61.

Solidity: function startAuctionsAndBid(bytes32[] hashes, bytes32 sealedBid) returns()

func (*ContractSession) State

func (_Contract *ContractSession) State(_hash [32]byte) (uint8, error)

State is a free data retrieval call binding the contract method 0x61d585da.

Solidity: function state(bytes32 _hash) returns(uint8)

func (*ContractSession) Transfer

func (_Contract *ContractSession) Transfer(_hash [32]byte, newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transfer(bytes32 _hash, address newOwner) returns()

func (*ContractSession) TransferRegistrars

func (_Contract *ContractSession) TransferRegistrars(_hash [32]byte) (*types.Transaction, error)

TransferRegistrars is a paid mutator transaction binding the contract method 0x5ddae283.

Solidity: function transferRegistrars(bytes32 _hash) returns()

func (*ContractSession) UnsealBid

func (_Contract *ContractSession) UnsealBid(_hash [32]byte, _value *big.Int, _salt [32]byte) (*types.Transaction, error)

UnsealBid is a paid mutator transaction binding the contract method 0x47872b42.

Solidity: function unsealBid(bytes32 _hash, uint256 _value, bytes32 _salt) returns()

type ContractTransactor

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

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

func NewContractTransactor

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

NewContractTransactor creates a new write-only instance of Contract, bound to a specific deployed contract.

func (*ContractTransactor) AcceptRegistrarTransfer

func (_Contract *ContractTransactor) AcceptRegistrarTransfer(opts *bind.TransactOpts, hash [32]byte, deed common.Address, registrationDate *big.Int) (*types.Transaction, error)

AcceptRegistrarTransfer is a paid mutator transaction binding the contract method 0xea9e107a.

Solidity: function acceptRegistrarTransfer(bytes32 hash, address deed, uint256 registrationDate) returns()

func (*ContractTransactor) CancelBid

func (_Contract *ContractTransactor) CancelBid(opts *bind.TransactOpts, bidder common.Address, seal [32]byte) (*types.Transaction, error)

CancelBid is a paid mutator transaction binding the contract method 0x2525f5c1.

Solidity: function cancelBid(address bidder, bytes32 seal) returns()

func (*ContractTransactor) EraseNode

func (_Contract *ContractTransactor) EraseNode(opts *bind.TransactOpts, labels [][32]byte) (*types.Transaction, error)

EraseNode is a paid mutator transaction binding the contract method 0xde10f04b.

Solidity: function eraseNode(bytes32[] labels) returns()

func (*ContractTransactor) FinalizeAuction

func (_Contract *ContractTransactor) FinalizeAuction(opts *bind.TransactOpts, _hash [32]byte) (*types.Transaction, error)

FinalizeAuction is a paid mutator transaction binding the contract method 0x983b94fb.

Solidity: function finalizeAuction(bytes32 _hash) returns()

func (*ContractTransactor) InvalidateName

func (_Contract *ContractTransactor) InvalidateName(opts *bind.TransactOpts, unhashedName string) (*types.Transaction, error)

InvalidateName is a paid mutator transaction binding the contract method 0x15f73331.

Solidity: function invalidateName(string unhashedName) returns()

func (*ContractTransactor) NewBid

func (_Contract *ContractTransactor) NewBid(opts *bind.TransactOpts, sealedBid [32]byte) (*types.Transaction, error)

NewBid is a paid mutator transaction binding the contract method 0xce92dced.

Solidity: function newBid(bytes32 sealedBid) returns()

func (*ContractTransactor) ReleaseDeed

func (_Contract *ContractTransactor) ReleaseDeed(opts *bind.TransactOpts, _hash [32]byte) (*types.Transaction, error)

ReleaseDeed is a paid mutator transaction binding the contract method 0x0230a07c.

Solidity: function releaseDeed(bytes32 _hash) returns()

func (*ContractTransactor) StartAuction

func (_Contract *ContractTransactor) StartAuction(opts *bind.TransactOpts, _hash [32]byte) (*types.Transaction, error)

StartAuction is a paid mutator transaction binding the contract method 0xede8acdb.

Solidity: function startAuction(bytes32 _hash) returns()

func (*ContractTransactor) StartAuctions

func (_Contract *ContractTransactor) StartAuctions(opts *bind.TransactOpts, _hashes [][32]byte) (*types.Transaction, error)

StartAuctions is a paid mutator transaction binding the contract method 0xe27fe50f.

Solidity: function startAuctions(bytes32[] _hashes) returns()

func (*ContractTransactor) StartAuctionsAndBid

func (_Contract *ContractTransactor) StartAuctionsAndBid(opts *bind.TransactOpts, hashes [][32]byte, sealedBid [32]byte) (*types.Transaction, error)

StartAuctionsAndBid is a paid mutator transaction binding the contract method 0xfebefd61.

Solidity: function startAuctionsAndBid(bytes32[] hashes, bytes32 sealedBid) returns()

func (*ContractTransactor) Transfer

func (_Contract *ContractTransactor) Transfer(opts *bind.TransactOpts, _hash [32]byte, newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transfer(bytes32 _hash, address newOwner) returns()

func (*ContractTransactor) TransferRegistrars

func (_Contract *ContractTransactor) TransferRegistrars(opts *bind.TransactOpts, _hash [32]byte) (*types.Transaction, error)

TransferRegistrars is a paid mutator transaction binding the contract method 0x5ddae283.

Solidity: function transferRegistrars(bytes32 _hash) returns()

func (*ContractTransactor) UnsealBid

func (_Contract *ContractTransactor) UnsealBid(opts *bind.TransactOpts, _hash [32]byte, _value *big.Int, _salt [32]byte) (*types.Transaction, error)

UnsealBid is a paid mutator transaction binding the contract method 0x47872b42.

Solidity: function unsealBid(bytes32 _hash, uint256 _value, bytes32 _salt) returns()

type ContractTransactorRaw

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

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

func (*ContractTransactorRaw) Transact

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

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

func (*ContractTransactorRaw) Transfer

func (_Contract *ContractTransactorRaw) 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 ContractTransactorSession

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

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

func (*ContractTransactorSession) AcceptRegistrarTransfer

func (_Contract *ContractTransactorSession) AcceptRegistrarTransfer(hash [32]byte, deed common.Address, registrationDate *big.Int) (*types.Transaction, error)

AcceptRegistrarTransfer is a paid mutator transaction binding the contract method 0xea9e107a.

Solidity: function acceptRegistrarTransfer(bytes32 hash, address deed, uint256 registrationDate) returns()

func (*ContractTransactorSession) CancelBid

func (_Contract *ContractTransactorSession) CancelBid(bidder common.Address, seal [32]byte) (*types.Transaction, error)

CancelBid is a paid mutator transaction binding the contract method 0x2525f5c1.

Solidity: function cancelBid(address bidder, bytes32 seal) returns()

func (*ContractTransactorSession) EraseNode

func (_Contract *ContractTransactorSession) EraseNode(labels [][32]byte) (*types.Transaction, error)

EraseNode is a paid mutator transaction binding the contract method 0xde10f04b.

Solidity: function eraseNode(bytes32[] labels) returns()

func (*ContractTransactorSession) FinalizeAuction

func (_Contract *ContractTransactorSession) FinalizeAuction(_hash [32]byte) (*types.Transaction, error)

FinalizeAuction is a paid mutator transaction binding the contract method 0x983b94fb.

Solidity: function finalizeAuction(bytes32 _hash) returns()

func (*ContractTransactorSession) InvalidateName

func (_Contract *ContractTransactorSession) InvalidateName(unhashedName string) (*types.Transaction, error)

InvalidateName is a paid mutator transaction binding the contract method 0x15f73331.

Solidity: function invalidateName(string unhashedName) returns()

func (*ContractTransactorSession) NewBid

func (_Contract *ContractTransactorSession) NewBid(sealedBid [32]byte) (*types.Transaction, error)

NewBid is a paid mutator transaction binding the contract method 0xce92dced.

Solidity: function newBid(bytes32 sealedBid) returns()

func (*ContractTransactorSession) ReleaseDeed

func (_Contract *ContractTransactorSession) ReleaseDeed(_hash [32]byte) (*types.Transaction, error)

ReleaseDeed is a paid mutator transaction binding the contract method 0x0230a07c.

Solidity: function releaseDeed(bytes32 _hash) returns()

func (*ContractTransactorSession) StartAuction

func (_Contract *ContractTransactorSession) StartAuction(_hash [32]byte) (*types.Transaction, error)

StartAuction is a paid mutator transaction binding the contract method 0xede8acdb.

Solidity: function startAuction(bytes32 _hash) returns()

func (*ContractTransactorSession) StartAuctions

func (_Contract *ContractTransactorSession) StartAuctions(_hashes [][32]byte) (*types.Transaction, error)

StartAuctions is a paid mutator transaction binding the contract method 0xe27fe50f.

Solidity: function startAuctions(bytes32[] _hashes) returns()

func (*ContractTransactorSession) StartAuctionsAndBid

func (_Contract *ContractTransactorSession) StartAuctionsAndBid(hashes [][32]byte, sealedBid [32]byte) (*types.Transaction, error)

StartAuctionsAndBid is a paid mutator transaction binding the contract method 0xfebefd61.

Solidity: function startAuctionsAndBid(bytes32[] hashes, bytes32 sealedBid) returns()

func (*ContractTransactorSession) Transfer

func (_Contract *ContractTransactorSession) Transfer(_hash [32]byte, newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transfer(bytes32 _hash, address newOwner) returns()

func (*ContractTransactorSession) TransferRegistrars

func (_Contract *ContractTransactorSession) TransferRegistrars(_hash [32]byte) (*types.Transaction, error)

TransferRegistrars is a paid mutator transaction binding the contract method 0x5ddae283.

Solidity: function transferRegistrars(bytes32 _hash) returns()

func (*ContractTransactorSession) UnsealBid

func (_Contract *ContractTransactorSession) UnsealBid(_hash [32]byte, _value *big.Int, _salt [32]byte) (*types.Transaction, error)

UnsealBid is a paid mutator transaction binding the contract method 0x47872b42.

Solidity: function unsealBid(bytes32 _hash, uint256 _value, bytes32 _salt) returns()

Jump to

Keyboard shortcuts

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