presalefactory

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 2, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const PresalefactoryABI = "" /* 2515-byte string literal not displayed */

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

Variables

This section is empty.

Functions

This section is empty.

Types

type Presalefactory

type Presalefactory struct {
	PresalefactoryCaller     // Read-only binding to the contract
	PresalefactoryTransactor // Write-only binding to the contract
	PresalefactoryFilterer   // Log filterer for contract events
}

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

func NewPresalefactory

func NewPresalefactory(address common.Address, backend bind.ContractBackend) (*Presalefactory, error)

NewPresalefactory creates a new instance of Presalefactory, bound to a specific deployed contract.

type PresalefactoryCaller

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

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

func NewPresalefactoryCaller

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

NewPresalefactoryCaller creates a new read-only instance of Presalefactory, bound to a specific deployed contract.

func (*PresalefactoryCaller) Owner

func (_Presalefactory *PresalefactoryCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*PresalefactoryCaller) PresaleAtIndex

func (_Presalefactory *PresalefactoryCaller) PresaleAtIndex(opts *bind.CallOpts, _index *big.Int) (common.Address, error)

PresaleAtIndex is a free data retrieval call binding the contract method 0x65384f36.

Solidity: function presaleAtIndex(uint256 _index) view returns(address)

func (*PresalefactoryCaller) PresaleGeneratorAtIndex

func (_Presalefactory *PresalefactoryCaller) PresaleGeneratorAtIndex(opts *bind.CallOpts, _index *big.Int) (common.Address, error)

PresaleGeneratorAtIndex is a free data retrieval call binding the contract method 0x0a014fbc.

Solidity: function presaleGeneratorAtIndex(uint256 _index) view returns(address)

func (*PresalefactoryCaller) PresaleGeneratorsLength

func (_Presalefactory *PresalefactoryCaller) PresaleGeneratorsLength(opts *bind.CallOpts) (*big.Int, error)

PresaleGeneratorsLength is a free data retrieval call binding the contract method 0x9ff20793.

Solidity: function presaleGeneratorsLength() view returns(uint256)

func (*PresalefactoryCaller) PresaleIsRegistered

func (_Presalefactory *PresalefactoryCaller) PresaleIsRegistered(opts *bind.CallOpts, _presaleAddress common.Address) (bool, error)

PresaleIsRegistered is a free data retrieval call binding the contract method 0xe2fc90ca.

Solidity: function presaleIsRegistered(address _presaleAddress) view returns(bool)

func (*PresalefactoryCaller) PresalesLength

func (_Presalefactory *PresalefactoryCaller) PresalesLength(opts *bind.CallOpts) (*big.Int, error)

PresalesLength is a free data retrieval call binding the contract method 0x4e76edbb.

Solidity: function presalesLength() view returns(uint256)

type PresalefactoryCallerRaw

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

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

func (*PresalefactoryCallerRaw) Call

func (_Presalefactory *PresalefactoryCallerRaw) 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 PresalefactoryCallerSession

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

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

func (*PresalefactoryCallerSession) Owner

func (_Presalefactory *PresalefactoryCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*PresalefactoryCallerSession) PresaleAtIndex

func (_Presalefactory *PresalefactoryCallerSession) PresaleAtIndex(_index *big.Int) (common.Address, error)

PresaleAtIndex is a free data retrieval call binding the contract method 0x65384f36.

Solidity: function presaleAtIndex(uint256 _index) view returns(address)

func (*PresalefactoryCallerSession) PresaleGeneratorAtIndex

func (_Presalefactory *PresalefactoryCallerSession) PresaleGeneratorAtIndex(_index *big.Int) (common.Address, error)

PresaleGeneratorAtIndex is a free data retrieval call binding the contract method 0x0a014fbc.

Solidity: function presaleGeneratorAtIndex(uint256 _index) view returns(address)

func (*PresalefactoryCallerSession) PresaleGeneratorsLength

func (_Presalefactory *PresalefactoryCallerSession) PresaleGeneratorsLength() (*big.Int, error)

PresaleGeneratorsLength is a free data retrieval call binding the contract method 0x9ff20793.

Solidity: function presaleGeneratorsLength() view returns(uint256)

func (*PresalefactoryCallerSession) PresaleIsRegistered

func (_Presalefactory *PresalefactoryCallerSession) PresaleIsRegistered(_presaleAddress common.Address) (bool, error)

PresaleIsRegistered is a free data retrieval call binding the contract method 0xe2fc90ca.

Solidity: function presaleIsRegistered(address _presaleAddress) view returns(bool)

func (*PresalefactoryCallerSession) PresalesLength

func (_Presalefactory *PresalefactoryCallerSession) PresalesLength() (*big.Int, error)

PresalesLength is a free data retrieval call binding the contract method 0x4e76edbb.

Solidity: function presalesLength() view returns(uint256)

type PresalefactoryFilterer

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

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

func NewPresalefactoryFilterer

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

NewPresalefactoryFilterer creates a new log filterer instance of Presalefactory, bound to a specific deployed contract.

func (*PresalefactoryFilterer) FilterOwnershipTransferred

func (_Presalefactory *PresalefactoryFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*PresalefactoryOwnershipTransferredIterator, error)

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

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

func (*PresalefactoryFilterer) FilterPresaleRegistered

func (_Presalefactory *PresalefactoryFilterer) FilterPresaleRegistered(opts *bind.FilterOpts) (*PresalefactoryPresaleRegisteredIterator, error)

FilterPresaleRegistered is a free log retrieval operation binding the contract event 0xa62fce43cb61612c50d7b3485c2fb44000803dacc3472b8ce4c638f235e97a1f.

Solidity: event presaleRegistered(address presaleContract)

func (*PresalefactoryFilterer) ParseOwnershipTransferred

func (_Presalefactory *PresalefactoryFilterer) ParseOwnershipTransferred(log types.Log) (*PresalefactoryOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

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

func (*PresalefactoryFilterer) ParsePresaleRegistered

func (_Presalefactory *PresalefactoryFilterer) ParsePresaleRegistered(log types.Log) (*PresalefactoryPresaleRegistered, error)

ParsePresaleRegistered is a log parse operation binding the contract event 0xa62fce43cb61612c50d7b3485c2fb44000803dacc3472b8ce4c638f235e97a1f.

Solidity: event presaleRegistered(address presaleContract)

func (*PresalefactoryFilterer) WatchOwnershipTransferred

func (_Presalefactory *PresalefactoryFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *PresalefactoryOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

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

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

func (*PresalefactoryFilterer) WatchPresaleRegistered

func (_Presalefactory *PresalefactoryFilterer) WatchPresaleRegistered(opts *bind.WatchOpts, sink chan<- *PresalefactoryPresaleRegistered) (event.Subscription, error)

WatchPresaleRegistered is a free log subscription operation binding the contract event 0xa62fce43cb61612c50d7b3485c2fb44000803dacc3472b8ce4c638f235e97a1f.

Solidity: event presaleRegistered(address presaleContract)

type PresalefactoryOwnershipTransferred

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

PresalefactoryOwnershipTransferred represents a OwnershipTransferred event raised by the Presalefactory contract.

type PresalefactoryOwnershipTransferredIterator

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

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

func (*PresalefactoryOwnershipTransferredIterator) Close

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

func (*PresalefactoryOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PresalefactoryOwnershipTransferredIterator) 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 PresalefactoryPresaleRegistered

type PresalefactoryPresaleRegistered struct {
	PresaleContract common.Address
	Raw             types.Log // Blockchain specific contextual infos
}

PresalefactoryPresaleRegistered represents a PresaleRegistered event raised by the Presalefactory contract.

type PresalefactoryPresaleRegisteredIterator

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

PresalefactoryPresaleRegisteredIterator is returned from FilterPresaleRegistered and is used to iterate over the raw logs and unpacked data for PresaleRegistered events raised by the Presalefactory contract.

func (*PresalefactoryPresaleRegisteredIterator) Close

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

func (*PresalefactoryPresaleRegisteredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PresalefactoryPresaleRegisteredIterator) 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 PresalefactoryRaw

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

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

func (*PresalefactoryRaw) Call

func (_Presalefactory *PresalefactoryRaw) 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 (*PresalefactoryRaw) Transact

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

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

func (*PresalefactoryRaw) Transfer

func (_Presalefactory *PresalefactoryRaw) 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 PresalefactorySession

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

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

func (*PresalefactorySession) AdminAllowPresaleGenerator

func (_Presalefactory *PresalefactorySession) AdminAllowPresaleGenerator(_address common.Address, _allow bool) (*types.Transaction, error)

AdminAllowPresaleGenerator is a paid mutator transaction binding the contract method 0xd348c964.

Solidity: function adminAllowPresaleGenerator(address _address, bool _allow) returns()

func (*PresalefactorySession) Owner

func (_Presalefactory *PresalefactorySession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*PresalefactorySession) PresaleAtIndex

func (_Presalefactory *PresalefactorySession) PresaleAtIndex(_index *big.Int) (common.Address, error)

PresaleAtIndex is a free data retrieval call binding the contract method 0x65384f36.

Solidity: function presaleAtIndex(uint256 _index) view returns(address)

func (*PresalefactorySession) PresaleGeneratorAtIndex

func (_Presalefactory *PresalefactorySession) PresaleGeneratorAtIndex(_index *big.Int) (common.Address, error)

PresaleGeneratorAtIndex is a free data retrieval call binding the contract method 0x0a014fbc.

Solidity: function presaleGeneratorAtIndex(uint256 _index) view returns(address)

func (*PresalefactorySession) PresaleGeneratorsLength

func (_Presalefactory *PresalefactorySession) PresaleGeneratorsLength() (*big.Int, error)

PresaleGeneratorsLength is a free data retrieval call binding the contract method 0x9ff20793.

Solidity: function presaleGeneratorsLength() view returns(uint256)

func (*PresalefactorySession) PresaleIsRegistered

func (_Presalefactory *PresalefactorySession) PresaleIsRegistered(_presaleAddress common.Address) (bool, error)

PresaleIsRegistered is a free data retrieval call binding the contract method 0xe2fc90ca.

Solidity: function presaleIsRegistered(address _presaleAddress) view returns(bool)

func (*PresalefactorySession) PresalesLength

func (_Presalefactory *PresalefactorySession) PresalesLength() (*big.Int, error)

PresalesLength is a free data retrieval call binding the contract method 0x4e76edbb.

Solidity: function presalesLength() view returns(uint256)

func (*PresalefactorySession) RegisterPresale

func (_Presalefactory *PresalefactorySession) RegisterPresale(_presaleAddress common.Address) (*types.Transaction, error)

RegisterPresale is a paid mutator transaction binding the contract method 0x11c065b7.

Solidity: function registerPresale(address _presaleAddress) returns()

func (*PresalefactorySession) RenounceOwnership

func (_Presalefactory *PresalefactorySession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*PresalefactorySession) TransferOwnership

func (_Presalefactory *PresalefactorySession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

type PresalefactoryTransactor

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

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

func NewPresalefactoryTransactor

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

NewPresalefactoryTransactor creates a new write-only instance of Presalefactory, bound to a specific deployed contract.

func (*PresalefactoryTransactor) AdminAllowPresaleGenerator

func (_Presalefactory *PresalefactoryTransactor) AdminAllowPresaleGenerator(opts *bind.TransactOpts, _address common.Address, _allow bool) (*types.Transaction, error)

AdminAllowPresaleGenerator is a paid mutator transaction binding the contract method 0xd348c964.

Solidity: function adminAllowPresaleGenerator(address _address, bool _allow) returns()

func (*PresalefactoryTransactor) RegisterPresale

func (_Presalefactory *PresalefactoryTransactor) RegisterPresale(opts *bind.TransactOpts, _presaleAddress common.Address) (*types.Transaction, error)

RegisterPresale is a paid mutator transaction binding the contract method 0x11c065b7.

Solidity: function registerPresale(address _presaleAddress) returns()

func (*PresalefactoryTransactor) RenounceOwnership

func (_Presalefactory *PresalefactoryTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*PresalefactoryTransactor) TransferOwnership

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

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

Solidity: function transferOwnership(address newOwner) returns()

type PresalefactoryTransactorRaw

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

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

func (*PresalefactoryTransactorRaw) Transact

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

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

func (*PresalefactoryTransactorRaw) Transfer

func (_Presalefactory *PresalefactoryTransactorRaw) 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 PresalefactoryTransactorSession

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

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

func (*PresalefactoryTransactorSession) AdminAllowPresaleGenerator

func (_Presalefactory *PresalefactoryTransactorSession) AdminAllowPresaleGenerator(_address common.Address, _allow bool) (*types.Transaction, error)

AdminAllowPresaleGenerator is a paid mutator transaction binding the contract method 0xd348c964.

Solidity: function adminAllowPresaleGenerator(address _address, bool _allow) returns()

func (*PresalefactoryTransactorSession) RegisterPresale

func (_Presalefactory *PresalefactoryTransactorSession) RegisterPresale(_presaleAddress common.Address) (*types.Transaction, error)

RegisterPresale is a paid mutator transaction binding the contract method 0x11c065b7.

Solidity: function registerPresale(address _presaleAddress) returns()

func (*PresalefactoryTransactorSession) RenounceOwnership

func (_Presalefactory *PresalefactoryTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*PresalefactoryTransactorSession) TransferOwnership

func (_Presalefactory *PresalefactoryTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

Jump to

Keyboard shortcuts

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