contracts

package
v0.0.0-...-0b4e8af Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const TokenFactoryABI = "" /* 2137-byte string literal not displayed */

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

View Source
const TokenTemplateABI = "" /* 4894-byte string literal not displayed */

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

Variables

This section is empty.

Functions

This section is empty.

Types

type TokenFactory

type TokenFactory struct {
	TokenFactoryCaller     // Read-only binding to the contract
	TokenFactoryTransactor // Write-only binding to the contract
	TokenFactoryFilterer   // Log filterer for contract events
}

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

func NewTokenFactory

func NewTokenFactory(address common.Address, backend bind.ContractBackend) (*TokenFactory, error)

NewTokenFactory creates a new instance of TokenFactory, bound to a specific deployed contract.

type TokenFactoryAdminAdded

type TokenFactoryAdminAdded struct {
	From common.Address
	Who  common.Address
	Raw  types.Log // Blockchain specific contextual infos
}

TokenFactoryAdminAdded represents a AdminAdded event raised by the TokenFactory contract.

type TokenFactoryAdminAddedIterator

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

TokenFactoryAdminAddedIterator is returned from FilterAdminAdded and is used to iterate over the raw logs and unpacked data for AdminAdded events raised by the TokenFactory contract.

func (*TokenFactoryAdminAddedIterator) Close

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

func (*TokenFactoryAdminAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TokenFactoryAdminAddedIterator) 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 TokenFactoryCaller

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

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

func NewTokenFactoryCaller

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

NewTokenFactoryCaller creates a new read-only instance of TokenFactory, bound to a specific deployed contract.

func (*TokenFactoryCaller) GetToken

func (_TokenFactory *TokenFactoryCaller) GetToken(opts *bind.CallOpts, _symbol string) (common.Address, string, string, uint8, string, common.Address, *big.Int, error)

GetToken is a free data retrieval call binding the contract method 0xc1733f68.

Solidity: function getToken(_symbol string) constant returns(address, string, string, uint8, string, address, uint256)

type TokenFactoryCallerRaw

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

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

func (*TokenFactoryCallerRaw) Call

func (_TokenFactory *TokenFactoryCallerRaw) 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 TokenFactoryCallerSession

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

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

func (*TokenFactoryCallerSession) GetToken

func (_TokenFactory *TokenFactoryCallerSession) GetToken(_symbol string) (common.Address, string, string, uint8, string, common.Address, *big.Int, error)

GetToken is a free data retrieval call binding the contract method 0xc1733f68.

Solidity: function getToken(_symbol string) constant returns(address, string, string, uint8, string, address, uint256)

type TokenFactoryFilterer

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

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

func NewTokenFactoryFilterer

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

NewTokenFactoryFilterer creates a new log filterer instance of TokenFactory, bound to a specific deployed contract.

func (*TokenFactoryFilterer) FilterAdminAdded

func (_TokenFactory *TokenFactoryFilterer) FilterAdminAdded(opts *bind.FilterOpts, _from []common.Address, _who []common.Address) (*TokenFactoryAdminAddedIterator, error)

FilterAdminAdded is a free log retrieval operation binding the contract event 0xbf3f493c772c8c283fd124432c2d0f539ab343faa04258fe88e52912d36b102b.

Solidity: event AdminAdded(_from indexed address, _who indexed address)

func (*TokenFactoryFilterer) FilterTokenAdded

func (_TokenFactory *TokenFactoryFilterer) FilterTokenAdded(opts *bind.FilterOpts, _from []common.Address) (*TokenFactoryTokenAddedIterator, error)

FilterTokenAdded is a free log retrieval operation binding the contract event 0x9aeaaaeb259d07bb4dd3a7108b98292916901127a8ea11957ac316cffd02c3ae.

Solidity: event TokenAdded(_from indexed address, _timestamp uint256, _contractAddress address, _name string, _symbol string, _decimals uint8, _logoURL string, _hardCap uint256)

func (*TokenFactoryFilterer) WatchAdminAdded

func (_TokenFactory *TokenFactoryFilterer) WatchAdminAdded(opts *bind.WatchOpts, sink chan<- *TokenFactoryAdminAdded, _from []common.Address, _who []common.Address) (event.Subscription, error)

WatchAdminAdded is a free log subscription operation binding the contract event 0xbf3f493c772c8c283fd124432c2d0f539ab343faa04258fe88e52912d36b102b.

Solidity: event AdminAdded(_from indexed address, _who indexed address)

func (*TokenFactoryFilterer) WatchTokenAdded

func (_TokenFactory *TokenFactoryFilterer) WatchTokenAdded(opts *bind.WatchOpts, sink chan<- *TokenFactoryTokenAdded, _from []common.Address) (event.Subscription, error)

WatchTokenAdded is a free log subscription operation binding the contract event 0x9aeaaaeb259d07bb4dd3a7108b98292916901127a8ea11957ac316cffd02c3ae.

Solidity: event TokenAdded(_from indexed address, _timestamp uint256, _contractAddress address, _name string, _symbol string, _decimals uint8, _logoURL string, _hardCap uint256)

type TokenFactoryRaw

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

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

func (*TokenFactoryRaw) Call

func (_TokenFactory *TokenFactoryRaw) 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 (*TokenFactoryRaw) Transact

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

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

func (*TokenFactoryRaw) Transfer

func (_TokenFactory *TokenFactoryRaw) 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 TokenFactorySession

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

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

func (*TokenFactorySession) CreateToken

func (_TokenFactory *TokenFactorySession) CreateToken(_name string, _symbol string, _decimals uint8, _logoURL string, _hardCap *big.Int) (*types.Transaction, error)

CreateToken is a paid mutator transaction binding the contract method 0x36985d0d.

Solidity: function createToken(_name string, _symbol string, _decimals uint8, _logoURL string, _hardCap uint256) returns()

func (*TokenFactorySession) GetToken

func (_TokenFactory *TokenFactorySession) GetToken(_symbol string) (common.Address, string, string, uint8, string, common.Address, *big.Int, error)

GetToken is a free data retrieval call binding the contract method 0xc1733f68.

Solidity: function getToken(_symbol string) constant returns(address, string, string, uint8, string, address, uint256)

func (*TokenFactorySession) MakeAdmin

func (_TokenFactory *TokenFactorySession) MakeAdmin(_address common.Address) (*types.Transaction, error)

MakeAdmin is a paid mutator transaction binding the contract method 0x472905ca.

Solidity: function makeAdmin(_address address) returns()

func (*TokenFactorySession) MintToken

func (_TokenFactory *TokenFactorySession) MintToken(_symbol string, _to common.Address, _amount *big.Int) (*types.Transaction, error)

MintToken is a paid mutator transaction binding the contract method 0xcf2a9169.

Solidity: function mintToken(_symbol string, _to address, _amount uint256) returns()

type TokenFactoryTokenAdded

type TokenFactoryTokenAdded struct {
	From            common.Address
	Timestamp       *big.Int
	ContractAddress common.Address
	Name            string
	Symbol          string
	Decimals        uint8
	LogoURL         string
	HardCap         *big.Int
	Raw             types.Log // Blockchain specific contextual infos
}

TokenFactoryTokenAdded represents a TokenAdded event raised by the TokenFactory contract.

type TokenFactoryTokenAddedIterator

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

TokenFactoryTokenAddedIterator is returned from FilterTokenAdded and is used to iterate over the raw logs and unpacked data for TokenAdded events raised by the TokenFactory contract.

func (*TokenFactoryTokenAddedIterator) Close

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

func (*TokenFactoryTokenAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TokenFactoryTokenAddedIterator) 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 TokenFactoryTransactor

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

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

func NewTokenFactoryTransactor

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

NewTokenFactoryTransactor creates a new write-only instance of TokenFactory, bound to a specific deployed contract.

func (*TokenFactoryTransactor) CreateToken

func (_TokenFactory *TokenFactoryTransactor) CreateToken(opts *bind.TransactOpts, _name string, _symbol string, _decimals uint8, _logoURL string, _hardCap *big.Int) (*types.Transaction, error)

CreateToken is a paid mutator transaction binding the contract method 0x36985d0d.

Solidity: function createToken(_name string, _symbol string, _decimals uint8, _logoURL string, _hardCap uint256) returns()

func (*TokenFactoryTransactor) MakeAdmin

func (_TokenFactory *TokenFactoryTransactor) MakeAdmin(opts *bind.TransactOpts, _address common.Address) (*types.Transaction, error)

MakeAdmin is a paid mutator transaction binding the contract method 0x472905ca.

Solidity: function makeAdmin(_address address) returns()

func (*TokenFactoryTransactor) MintToken

func (_TokenFactory *TokenFactoryTransactor) MintToken(opts *bind.TransactOpts, _symbol string, _to common.Address, _amount *big.Int) (*types.Transaction, error)

MintToken is a paid mutator transaction binding the contract method 0xcf2a9169.

Solidity: function mintToken(_symbol string, _to address, _amount uint256) returns()

type TokenFactoryTransactorRaw

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

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

func (*TokenFactoryTransactorRaw) Transact

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

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

func (*TokenFactoryTransactorRaw) Transfer

func (_TokenFactory *TokenFactoryTransactorRaw) 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 TokenFactoryTransactorSession

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

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

func (*TokenFactoryTransactorSession) CreateToken

func (_TokenFactory *TokenFactoryTransactorSession) CreateToken(_name string, _symbol string, _decimals uint8, _logoURL string, _hardCap *big.Int) (*types.Transaction, error)

CreateToken is a paid mutator transaction binding the contract method 0x36985d0d.

Solidity: function createToken(_name string, _symbol string, _decimals uint8, _logoURL string, _hardCap uint256) returns()

func (*TokenFactoryTransactorSession) MakeAdmin

func (_TokenFactory *TokenFactoryTransactorSession) MakeAdmin(_address common.Address) (*types.Transaction, error)

MakeAdmin is a paid mutator transaction binding the contract method 0x472905ca.

Solidity: function makeAdmin(_address address) returns()

func (*TokenFactoryTransactorSession) MintToken

func (_TokenFactory *TokenFactoryTransactorSession) MintToken(_symbol string, _to common.Address, _amount *big.Int) (*types.Transaction, error)

MintToken is a paid mutator transaction binding the contract method 0xcf2a9169.

Solidity: function mintToken(_symbol string, _to address, _amount uint256) returns()

type TokenTemplate

type TokenTemplate struct {
	TokenTemplateCaller     // Read-only binding to the contract
	TokenTemplateTransactor // Write-only binding to the contract
	TokenTemplateFilterer   // Log filterer for contract events
}

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

func NewTokenTemplate

func NewTokenTemplate(address common.Address, backend bind.ContractBackend) (*TokenTemplate, error)

NewTokenTemplate creates a new instance of TokenTemplate, bound to a specific deployed contract.

type TokenTemplateApproval

type TokenTemplateApproval struct {
	Owner   common.Address
	Spender common.Address
	Value   *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

TokenTemplateApproval represents a Approval event raised by the TokenTemplate contract.

type TokenTemplateApprovalIterator

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

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

func (*TokenTemplateApprovalIterator) Close

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

func (*TokenTemplateApprovalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TokenTemplateApprovalIterator) 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 TokenTemplateCaller

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

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

func NewTokenTemplateCaller

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

NewTokenTemplateCaller creates a new read-only instance of TokenTemplate, bound to a specific deployed contract.

func (*TokenTemplateCaller) Allowance

func (_TokenTemplate *TokenTemplateCaller) Allowance(opts *bind.CallOpts, _owner common.Address, _spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(_owner address, _spender address) constant returns(uint256)

func (*TokenTemplateCaller) BalanceOf

func (_TokenTemplate *TokenTemplateCaller) BalanceOf(opts *bind.CallOpts, _owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(_owner address) constant returns(balance uint256)

func (*TokenTemplateCaller) CanMint

func (_TokenTemplate *TokenTemplateCaller) CanMint(opts *bind.CallOpts) (bool, error)

CanMint is a free data retrieval call binding the contract method 0xbeb9716d.

Solidity: function canMint() constant returns(bool)

func (*TokenTemplateCaller) Decimals

func (_TokenTemplate *TokenTemplateCaller) Decimals(opts *bind.CallOpts) (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() constant returns(uint8)

func (*TokenTemplateCaller) LogoURL

func (_TokenTemplate *TokenTemplateCaller) LogoURL(opts *bind.CallOpts) (string, error)

LogoURL is a free data retrieval call binding the contract method 0xd2ce89e5.

Solidity: function logoURL() constant returns(string)

func (*TokenTemplateCaller) MintingFinished

func (_TokenTemplate *TokenTemplateCaller) MintingFinished(opts *bind.CallOpts) (bool, error)

MintingFinished is a free data retrieval call binding the contract method 0x05d2035b.

Solidity: function mintingFinished() constant returns(bool)

func (*TokenTemplateCaller) Name

func (_TokenTemplate *TokenTemplateCaller) Name(opts *bind.CallOpts) (string, error)

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

Solidity: function name() constant returns(string)

func (*TokenTemplateCaller) Symbol

func (_TokenTemplate *TokenTemplateCaller) Symbol(opts *bind.CallOpts) (string, error)

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

Solidity: function symbol() constant returns(string)

func (*TokenTemplateCaller) TotalSupply

func (_TokenTemplate *TokenTemplateCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function totalSupply() constant returns(uint256)

type TokenTemplateCallerRaw

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

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

func (*TokenTemplateCallerRaw) Call

func (_TokenTemplate *TokenTemplateCallerRaw) 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 TokenTemplateCallerSession

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

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

func (*TokenTemplateCallerSession) Allowance

func (_TokenTemplate *TokenTemplateCallerSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(_owner address, _spender address) constant returns(uint256)

func (*TokenTemplateCallerSession) BalanceOf

func (_TokenTemplate *TokenTemplateCallerSession) BalanceOf(_owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(_owner address) constant returns(balance uint256)

func (*TokenTemplateCallerSession) CanMint

func (_TokenTemplate *TokenTemplateCallerSession) CanMint() (bool, error)

CanMint is a free data retrieval call binding the contract method 0xbeb9716d.

Solidity: function canMint() constant returns(bool)

func (*TokenTemplateCallerSession) Decimals

func (_TokenTemplate *TokenTemplateCallerSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() constant returns(uint8)

func (*TokenTemplateCallerSession) LogoURL

func (_TokenTemplate *TokenTemplateCallerSession) LogoURL() (string, error)

LogoURL is a free data retrieval call binding the contract method 0xd2ce89e5.

Solidity: function logoURL() constant returns(string)

func (*TokenTemplateCallerSession) MintingFinished

func (_TokenTemplate *TokenTemplateCallerSession) MintingFinished() (bool, error)

MintingFinished is a free data retrieval call binding the contract method 0x05d2035b.

Solidity: function mintingFinished() constant returns(bool)

func (*TokenTemplateCallerSession) Name

func (_TokenTemplate *TokenTemplateCallerSession) Name() (string, error)

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

Solidity: function name() constant returns(string)

func (*TokenTemplateCallerSession) Symbol

func (_TokenTemplate *TokenTemplateCallerSession) Symbol() (string, error)

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

Solidity: function symbol() constant returns(string)

func (*TokenTemplateCallerSession) TotalSupply

func (_TokenTemplate *TokenTemplateCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() constant returns(uint256)

type TokenTemplateFilterer

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

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

func NewTokenTemplateFilterer

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

NewTokenTemplateFilterer creates a new log filterer instance of TokenTemplate, bound to a specific deployed contract.

func (*TokenTemplateFilterer) FilterApproval

func (_TokenTemplate *TokenTemplateFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*TokenTemplateApprovalIterator, error)

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

Solidity: event Approval(owner indexed address, spender indexed address, value uint256)

func (*TokenTemplateFilterer) FilterMint

func (_TokenTemplate *TokenTemplateFilterer) FilterMint(opts *bind.FilterOpts, to []common.Address) (*TokenTemplateMintIterator, error)

FilterMint is a free log retrieval operation binding the contract event 0x0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885.

Solidity: event Mint(to indexed address, amount uint256)

func (*TokenTemplateFilterer) FilterMintFinished

func (_TokenTemplate *TokenTemplateFilterer) FilterMintFinished(opts *bind.FilterOpts) (*TokenTemplateMintFinishedIterator, error)

FilterMintFinished is a free log retrieval operation binding the contract event 0xae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa08.

Solidity: event MintFinished()

func (*TokenTemplateFilterer) FilterTransfer

func (_TokenTemplate *TokenTemplateFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*TokenTemplateTransferIterator, error)

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

Solidity: event Transfer(from indexed address, to indexed address, value uint256)

func (*TokenTemplateFilterer) WatchApproval

func (_TokenTemplate *TokenTemplateFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *TokenTemplateApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)

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

Solidity: event Approval(owner indexed address, spender indexed address, value uint256)

func (*TokenTemplateFilterer) WatchMint

func (_TokenTemplate *TokenTemplateFilterer) WatchMint(opts *bind.WatchOpts, sink chan<- *TokenTemplateMint, to []common.Address) (event.Subscription, error)

WatchMint is a free log subscription operation binding the contract event 0x0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885.

Solidity: event Mint(to indexed address, amount uint256)

func (*TokenTemplateFilterer) WatchMintFinished

func (_TokenTemplate *TokenTemplateFilterer) WatchMintFinished(opts *bind.WatchOpts, sink chan<- *TokenTemplateMintFinished) (event.Subscription, error)

WatchMintFinished is a free log subscription operation binding the contract event 0xae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa08.

Solidity: event MintFinished()

func (*TokenTemplateFilterer) WatchTransfer

func (_TokenTemplate *TokenTemplateFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *TokenTemplateTransfer, from []common.Address, to []common.Address) (event.Subscription, error)

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

Solidity: event Transfer(from indexed address, to indexed address, value uint256)

type TokenTemplateMint

type TokenTemplateMint struct {
	To     common.Address
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

TokenTemplateMint represents a Mint event raised by the TokenTemplate contract.

type TokenTemplateMintFinished

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

TokenTemplateMintFinished represents a MintFinished event raised by the TokenTemplate contract.

type TokenTemplateMintFinishedIterator

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

TokenTemplateMintFinishedIterator is returned from FilterMintFinished and is used to iterate over the raw logs and unpacked data for MintFinished events raised by the TokenTemplate contract.

func (*TokenTemplateMintFinishedIterator) Close

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

func (*TokenTemplateMintFinishedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TokenTemplateMintFinishedIterator) 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 TokenTemplateMintIterator

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

TokenTemplateMintIterator is returned from FilterMint and is used to iterate over the raw logs and unpacked data for Mint events raised by the TokenTemplate contract.

func (*TokenTemplateMintIterator) Close

func (it *TokenTemplateMintIterator) Close() error

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

func (*TokenTemplateMintIterator) Error

func (it *TokenTemplateMintIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TokenTemplateMintIterator) Next

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

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

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

func (*TokenTemplateRaw) Call

func (_TokenTemplate *TokenTemplateRaw) 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 (*TokenTemplateRaw) Transact

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

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

func (*TokenTemplateRaw) Transfer

func (_TokenTemplate *TokenTemplateRaw) 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 TokenTemplateSession

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

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

func (*TokenTemplateSession) AddPermissionToMint

func (_TokenTemplate *TokenTemplateSession) AddPermissionToMint(_address common.Address) (*types.Transaction, error)

AddPermissionToMint is a paid mutator transaction binding the contract method 0x6b9ffb0d.

Solidity: function addPermissionToMint(_address address) returns()

func (*TokenTemplateSession) Allowance

func (_TokenTemplate *TokenTemplateSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(_owner address, _spender address) constant returns(uint256)

func (*TokenTemplateSession) Approve

func (_TokenTemplate *TokenTemplateSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(_spender address, _value uint256) returns(bool)

func (*TokenTemplateSession) BalanceOf

func (_TokenTemplate *TokenTemplateSession) BalanceOf(_owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(_owner address) constant returns(balance uint256)

func (*TokenTemplateSession) CanMint

func (_TokenTemplate *TokenTemplateSession) CanMint() (bool, error)

CanMint is a free data retrieval call binding the contract method 0xbeb9716d.

Solidity: function canMint() constant returns(bool)

func (*TokenTemplateSession) Decimals

func (_TokenTemplate *TokenTemplateSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() constant returns(uint8)

func (*TokenTemplateSession) DecreaseApproval

func (_TokenTemplate *TokenTemplateSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)

DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.

Solidity: function decreaseApproval(_spender address, _subtractedValue uint256) returns(bool)

func (*TokenTemplateSession) FinishMinting

func (_TokenTemplate *TokenTemplateSession) FinishMinting() (*types.Transaction, error)

FinishMinting is a paid mutator transaction binding the contract method 0x7d64bcb4.

Solidity: function finishMinting() returns(bool)

func (*TokenTemplateSession) IncreaseApproval

func (_TokenTemplate *TokenTemplateSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)

IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.

Solidity: function increaseApproval(_spender address, _addedValue uint256) returns(bool)

func (*TokenTemplateSession) LogoURL

func (_TokenTemplate *TokenTemplateSession) LogoURL() (string, error)

LogoURL is a free data retrieval call binding the contract method 0xd2ce89e5.

Solidity: function logoURL() constant returns(string)

func (*TokenTemplateSession) Mint

func (_TokenTemplate *TokenTemplateSession) Mint(_to common.Address, _amount *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x40c10f19.

Solidity: function mint(_to address, _amount uint256) returns(bool)

func (*TokenTemplateSession) MintingFinished

func (_TokenTemplate *TokenTemplateSession) MintingFinished() (bool, error)

MintingFinished is a free data retrieval call binding the contract method 0x05d2035b.

Solidity: function mintingFinished() constant returns(bool)

func (*TokenTemplateSession) Name

func (_TokenTemplate *TokenTemplateSession) Name() (string, error)

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

Solidity: function name() constant returns(string)

func (*TokenTemplateSession) Symbol

func (_TokenTemplate *TokenTemplateSession) Symbol() (string, error)

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

Solidity: function symbol() constant returns(string)

func (*TokenTemplateSession) TotalSupply

func (_TokenTemplate *TokenTemplateSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() constant returns(uint256)

func (*TokenTemplateSession) Transfer

func (_TokenTemplate *TokenTemplateSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(_to address, _value uint256) returns(bool)

func (*TokenTemplateSession) TransferFrom

func (_TokenTemplate *TokenTemplateSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)

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

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

type TokenTemplateTransactor

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

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

func NewTokenTemplateTransactor

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

NewTokenTemplateTransactor creates a new write-only instance of TokenTemplate, bound to a specific deployed contract.

func (*TokenTemplateTransactor) AddPermissionToMint

func (_TokenTemplate *TokenTemplateTransactor) AddPermissionToMint(opts *bind.TransactOpts, _address common.Address) (*types.Transaction, error)

AddPermissionToMint is a paid mutator transaction binding the contract method 0x6b9ffb0d.

Solidity: function addPermissionToMint(_address address) returns()

func (*TokenTemplateTransactor) Approve

func (_TokenTemplate *TokenTemplateTransactor) Approve(opts *bind.TransactOpts, _spender common.Address, _value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(_spender address, _value uint256) returns(bool)

func (*TokenTemplateTransactor) DecreaseApproval

func (_TokenTemplate *TokenTemplateTransactor) DecreaseApproval(opts *bind.TransactOpts, _spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)

DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.

Solidity: function decreaseApproval(_spender address, _subtractedValue uint256) returns(bool)

func (*TokenTemplateTransactor) FinishMinting

func (_TokenTemplate *TokenTemplateTransactor) FinishMinting(opts *bind.TransactOpts) (*types.Transaction, error)

FinishMinting is a paid mutator transaction binding the contract method 0x7d64bcb4.

Solidity: function finishMinting() returns(bool)

func (*TokenTemplateTransactor) IncreaseApproval

func (_TokenTemplate *TokenTemplateTransactor) IncreaseApproval(opts *bind.TransactOpts, _spender common.Address, _addedValue *big.Int) (*types.Transaction, error)

IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.

Solidity: function increaseApproval(_spender address, _addedValue uint256) returns(bool)

func (*TokenTemplateTransactor) Mint

func (_TokenTemplate *TokenTemplateTransactor) Mint(opts *bind.TransactOpts, _to common.Address, _amount *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x40c10f19.

Solidity: function mint(_to address, _amount uint256) returns(bool)

func (*TokenTemplateTransactor) Transfer

func (_TokenTemplate *TokenTemplateTransactor) Transfer(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(_to address, _value uint256) returns(bool)

func (*TokenTemplateTransactor) TransferFrom

func (_TokenTemplate *TokenTemplateTransactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)

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

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

type TokenTemplateTransactorRaw

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

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

func (*TokenTemplateTransactorRaw) Transact

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

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

func (*TokenTemplateTransactorRaw) Transfer

func (_TokenTemplate *TokenTemplateTransactorRaw) 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 TokenTemplateTransactorSession

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

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

func (*TokenTemplateTransactorSession) AddPermissionToMint

func (_TokenTemplate *TokenTemplateTransactorSession) AddPermissionToMint(_address common.Address) (*types.Transaction, error)

AddPermissionToMint is a paid mutator transaction binding the contract method 0x6b9ffb0d.

Solidity: function addPermissionToMint(_address address) returns()

func (*TokenTemplateTransactorSession) Approve

func (_TokenTemplate *TokenTemplateTransactorSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(_spender address, _value uint256) returns(bool)

func (*TokenTemplateTransactorSession) DecreaseApproval

func (_TokenTemplate *TokenTemplateTransactorSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)

DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.

Solidity: function decreaseApproval(_spender address, _subtractedValue uint256) returns(bool)

func (*TokenTemplateTransactorSession) FinishMinting

func (_TokenTemplate *TokenTemplateTransactorSession) FinishMinting() (*types.Transaction, error)

FinishMinting is a paid mutator transaction binding the contract method 0x7d64bcb4.

Solidity: function finishMinting() returns(bool)

func (*TokenTemplateTransactorSession) IncreaseApproval

func (_TokenTemplate *TokenTemplateTransactorSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)

IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.

Solidity: function increaseApproval(_spender address, _addedValue uint256) returns(bool)

func (*TokenTemplateTransactorSession) Mint

func (_TokenTemplate *TokenTemplateTransactorSession) Mint(_to common.Address, _amount *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x40c10f19.

Solidity: function mint(_to address, _amount uint256) returns(bool)

func (*TokenTemplateTransactorSession) Transfer

func (_TokenTemplate *TokenTemplateTransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(_to address, _value uint256) returns(bool)

func (*TokenTemplateTransactorSession) TransferFrom

func (_TokenTemplate *TokenTemplateTransactorSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)

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

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

type TokenTemplateTransfer

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

TokenTemplateTransfer represents a Transfer event raised by the TokenTemplate contract.

type TokenTemplateTransferIterator

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

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

func (*TokenTemplateTransferIterator) Close

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

func (*TokenTemplateTransferIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

Jump to

Keyboard shortcuts

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