erc20contract

package
v1.4.1-rc-231 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2022 License: GPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const Erc20contractABI = "" /* 4806-byte string literal not displayed */

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

Variables

This section is empty.

Functions

This section is empty.

Types

type Erc20contract

type Erc20contract struct {
	Erc20contractCaller     // Read-only binding to the contract
	Erc20contractTransactor // Write-only binding to the contract
	Erc20contractFilterer   // Log filterer for contract events
}

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

func NewErc20contract

func NewErc20contract(address common.Address, backend bind.ContractBackend) (*Erc20contract, error)

NewErc20contract creates a new instance of Erc20contract, bound to a specific deployed contract.

type Erc20contractApproval

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

Erc20contractApproval represents a Approval event raised by the Erc20contract contract.

type Erc20contractApprovalIterator

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

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

func (*Erc20contractApprovalIterator) Close

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

func (*Erc20contractApprovalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*Erc20contractApprovalIterator) 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 Erc20contractCaller

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

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

func NewErc20contractCaller

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

NewErc20contractCaller creates a new read-only instance of Erc20contract, bound to a specific deployed contract.

func (*Erc20contractCaller) Allowance

func (_Erc20contract *Erc20contractCaller) 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(address _owner, address _spender) returns(uint256 remaining)

func (*Erc20contractCaller) BalanceOf

func (_Erc20contract *Erc20contractCaller) 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(address _owner) returns(uint256 balance)

func (*Erc20contractCaller) BatFund

func (_Erc20contract *Erc20contractCaller) BatFund(opts *bind.CallOpts) (*big.Int, error)

BatFund is a free data retrieval call binding the contract method 0x229a4978.

Solidity: function batFund() returns(uint256)

func (*Erc20contractCaller) BatFundDeposit

func (_Erc20contract *Erc20contractCaller) BatFundDeposit(opts *bind.CallOpts) (common.Address, error)

BatFundDeposit is a free data retrieval call binding the contract method 0x01a7a8c0.

Solidity: function batFundDeposit() returns(address)

func (*Erc20contractCaller) Decimals

func (_Erc20contract *Erc20contractCaller) Decimals(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function decimals() returns(uint256)

func (*Erc20contractCaller) EthFundDeposit

func (_Erc20contract *Erc20contractCaller) EthFundDeposit(opts *bind.CallOpts) (common.Address, error)

EthFundDeposit is a free data retrieval call binding the contract method 0xa81c3bdf.

Solidity: function ethFundDeposit() returns(address)

func (*Erc20contractCaller) FundingEndBlock

func (_Erc20contract *Erc20contractCaller) FundingEndBlock(opts *bind.CallOpts) (*big.Int, error)

FundingEndBlock is a free data retrieval call binding the contract method 0x91b43d13.

Solidity: function fundingEndBlock() returns(uint256)

func (*Erc20contractCaller) FundingStartBlock

func (_Erc20contract *Erc20contractCaller) FundingStartBlock(opts *bind.CallOpts) (*big.Int, error)

FundingStartBlock is a free data retrieval call binding the contract method 0xd648a647.

Solidity: function fundingStartBlock() returns(uint256)

func (*Erc20contractCaller) IsFinalized

func (_Erc20contract *Erc20contractCaller) IsFinalized(opts *bind.CallOpts) (bool, error)

IsFinalized is a free data retrieval call binding the contract method 0x8d4e4083.

Solidity: function isFinalized() returns(bool)

func (*Erc20contractCaller) Name

func (_Erc20contract *Erc20contractCaller) Name(opts *bind.CallOpts) (string, error)

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

Solidity: function name() returns(string)

func (*Erc20contractCaller) Symbol

func (_Erc20contract *Erc20contractCaller) Symbol(opts *bind.CallOpts) (string, error)

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

Solidity: function symbol() returns(string)

func (*Erc20contractCaller) TokenCreationCap

func (_Erc20contract *Erc20contractCaller) TokenCreationCap(opts *bind.CallOpts) (*big.Int, error)

TokenCreationCap is a free data retrieval call binding the contract method 0x6f7920fd.

Solidity: function tokenCreationCap() returns(uint256)

func (*Erc20contractCaller) TokenCreationMin

func (_Erc20contract *Erc20contractCaller) TokenCreationMin(opts *bind.CallOpts) (*big.Int, error)

TokenCreationMin is a free data retrieval call binding the contract method 0xc039daf6.

Solidity: function tokenCreationMin() returns(uint256)

func (*Erc20contractCaller) TokenExchangeRate

func (_Erc20contract *Erc20contractCaller) TokenExchangeRate(opts *bind.CallOpts) (*big.Int, error)

TokenExchangeRate is a free data retrieval call binding the contract method 0x4172d080.

Solidity: function tokenExchangeRate() returns(uint256)

func (*Erc20contractCaller) TotalSupply

func (_Erc20contract *Erc20contractCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function totalSupply() returns(uint256)

func (*Erc20contractCaller) Version

func (_Erc20contract *Erc20contractCaller) Version(opts *bind.CallOpts) (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() returns(string)

type Erc20contractCallerRaw

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

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

func (*Erc20contractCallerRaw) Call

func (_Erc20contract *Erc20contractCallerRaw) 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 Erc20contractCallerSession

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

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

func (*Erc20contractCallerSession) Allowance

func (_Erc20contract *Erc20contractCallerSession) 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(address _owner, address _spender) returns(uint256 remaining)

func (*Erc20contractCallerSession) BalanceOf

func (_Erc20contract *Erc20contractCallerSession) BalanceOf(_owner common.Address) (*big.Int, error)

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

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

func (*Erc20contractCallerSession) BatFund

func (_Erc20contract *Erc20contractCallerSession) BatFund() (*big.Int, error)

BatFund is a free data retrieval call binding the contract method 0x229a4978.

Solidity: function batFund() returns(uint256)

func (*Erc20contractCallerSession) BatFundDeposit

func (_Erc20contract *Erc20contractCallerSession) BatFundDeposit() (common.Address, error)

BatFundDeposit is a free data retrieval call binding the contract method 0x01a7a8c0.

Solidity: function batFundDeposit() returns(address)

func (*Erc20contractCallerSession) Decimals

func (_Erc20contract *Erc20contractCallerSession) Decimals() (*big.Int, error)

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

Solidity: function decimals() returns(uint256)

func (*Erc20contractCallerSession) EthFundDeposit

func (_Erc20contract *Erc20contractCallerSession) EthFundDeposit() (common.Address, error)

EthFundDeposit is a free data retrieval call binding the contract method 0xa81c3bdf.

Solidity: function ethFundDeposit() returns(address)

func (*Erc20contractCallerSession) FundingEndBlock

func (_Erc20contract *Erc20contractCallerSession) FundingEndBlock() (*big.Int, error)

FundingEndBlock is a free data retrieval call binding the contract method 0x91b43d13.

Solidity: function fundingEndBlock() returns(uint256)

func (*Erc20contractCallerSession) FundingStartBlock

func (_Erc20contract *Erc20contractCallerSession) FundingStartBlock() (*big.Int, error)

FundingStartBlock is a free data retrieval call binding the contract method 0xd648a647.

Solidity: function fundingStartBlock() returns(uint256)

func (*Erc20contractCallerSession) IsFinalized

func (_Erc20contract *Erc20contractCallerSession) IsFinalized() (bool, error)

IsFinalized is a free data retrieval call binding the contract method 0x8d4e4083.

Solidity: function isFinalized() returns(bool)

func (*Erc20contractCallerSession) Name

func (_Erc20contract *Erc20contractCallerSession) Name() (string, error)

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

Solidity: function name() returns(string)

func (*Erc20contractCallerSession) Symbol

func (_Erc20contract *Erc20contractCallerSession) Symbol() (string, error)

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

Solidity: function symbol() returns(string)

func (*Erc20contractCallerSession) TokenCreationCap

func (_Erc20contract *Erc20contractCallerSession) TokenCreationCap() (*big.Int, error)

TokenCreationCap is a free data retrieval call binding the contract method 0x6f7920fd.

Solidity: function tokenCreationCap() returns(uint256)

func (*Erc20contractCallerSession) TokenCreationMin

func (_Erc20contract *Erc20contractCallerSession) TokenCreationMin() (*big.Int, error)

TokenCreationMin is a free data retrieval call binding the contract method 0xc039daf6.

Solidity: function tokenCreationMin() returns(uint256)

func (*Erc20contractCallerSession) TokenExchangeRate

func (_Erc20contract *Erc20contractCallerSession) TokenExchangeRate() (*big.Int, error)

TokenExchangeRate is a free data retrieval call binding the contract method 0x4172d080.

Solidity: function tokenExchangeRate() returns(uint256)

func (*Erc20contractCallerSession) TotalSupply

func (_Erc20contract *Erc20contractCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() returns(uint256)

func (*Erc20contractCallerSession) Version

func (_Erc20contract *Erc20contractCallerSession) Version() (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() returns(string)

type Erc20contractCreateBAT

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

Erc20contractCreateBAT represents a CreateBAT event raised by the Erc20contract contract.

type Erc20contractCreateBATIterator

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

Erc20contractCreateBATIterator is returned from FilterCreateBAT and is used to iterate over the raw logs and unpacked data for CreateBAT events raised by the Erc20contract contract.

func (*Erc20contractCreateBATIterator) Close

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

func (*Erc20contractCreateBATIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*Erc20contractCreateBATIterator) 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 Erc20contractFilterer

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

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

func NewErc20contractFilterer

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

NewErc20contractFilterer creates a new log filterer instance of Erc20contract, bound to a specific deployed contract.

func (*Erc20contractFilterer) FilterApproval

func (_Erc20contract *Erc20contractFilterer) FilterApproval(opts *bind.FilterOpts, _owner []common.Address, _spender []common.Address) (*Erc20contractApprovalIterator, error)

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

Solidity: event Approval(address indexed _owner, address indexed _spender, uint256 _value)

func (*Erc20contractFilterer) FilterCreateBAT

func (_Erc20contract *Erc20contractFilterer) FilterCreateBAT(opts *bind.FilterOpts, _to []common.Address) (*Erc20contractCreateBATIterator, error)

FilterCreateBAT is a free log retrieval operation binding the contract event 0xb33527d2e0d30b7aece2c5e82927985866c1b75173d671c14f4457bf67aa6910.

Solidity: event CreateBAT(address indexed _to, uint256 _value)

func (*Erc20contractFilterer) FilterLogRefund

func (_Erc20contract *Erc20contractFilterer) FilterLogRefund(opts *bind.FilterOpts, _to []common.Address) (*Erc20contractLogRefundIterator, error)

FilterLogRefund is a free log retrieval operation binding the contract event 0xb6c0eca8138e097d71e2dd31e19a1266487f0553f170b7260ffe68bcbe9ff8a7.

Solidity: event LogRefund(address indexed _to, uint256 _value)

func (*Erc20contractFilterer) FilterTransfer

func (_Erc20contract *Erc20contractFilterer) FilterTransfer(opts *bind.FilterOpts, _from []common.Address, _to []common.Address) (*Erc20contractTransferIterator, error)

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

Solidity: event Transfer(address indexed _from, address indexed _to, uint256 _value)

func (*Erc20contractFilterer) ParseApproval

func (_Erc20contract *Erc20contractFilterer) ParseApproval(log types.Log) (*Erc20contractApproval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed _owner, address indexed _spender, uint256 _value)

func (*Erc20contractFilterer) ParseCreateBAT

func (_Erc20contract *Erc20contractFilterer) ParseCreateBAT(log types.Log) (*Erc20contractCreateBAT, error)

ParseCreateBAT is a log parse operation binding the contract event 0xb33527d2e0d30b7aece2c5e82927985866c1b75173d671c14f4457bf67aa6910.

Solidity: event CreateBAT(address indexed _to, uint256 _value)

func (*Erc20contractFilterer) ParseLogRefund

func (_Erc20contract *Erc20contractFilterer) ParseLogRefund(log types.Log) (*Erc20contractLogRefund, error)

ParseLogRefund is a log parse operation binding the contract event 0xb6c0eca8138e097d71e2dd31e19a1266487f0553f170b7260ffe68bcbe9ff8a7.

Solidity: event LogRefund(address indexed _to, uint256 _value)

func (*Erc20contractFilterer) ParseTransfer

func (_Erc20contract *Erc20contractFilterer) ParseTransfer(log types.Log) (*Erc20contractTransfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed _from, address indexed _to, uint256 _value)

func (*Erc20contractFilterer) WatchApproval

func (_Erc20contract *Erc20contractFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *Erc20contractApproval, _owner []common.Address, _spender []common.Address) (event.Subscription, error)

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

Solidity: event Approval(address indexed _owner, address indexed _spender, uint256 _value)

func (*Erc20contractFilterer) WatchCreateBAT

func (_Erc20contract *Erc20contractFilterer) WatchCreateBAT(opts *bind.WatchOpts, sink chan<- *Erc20contractCreateBAT, _to []common.Address) (event.Subscription, error)

WatchCreateBAT is a free log subscription operation binding the contract event 0xb33527d2e0d30b7aece2c5e82927985866c1b75173d671c14f4457bf67aa6910.

Solidity: event CreateBAT(address indexed _to, uint256 _value)

func (*Erc20contractFilterer) WatchLogRefund

func (_Erc20contract *Erc20contractFilterer) WatchLogRefund(opts *bind.WatchOpts, sink chan<- *Erc20contractLogRefund, _to []common.Address) (event.Subscription, error)

WatchLogRefund is a free log subscription operation binding the contract event 0xb6c0eca8138e097d71e2dd31e19a1266487f0553f170b7260ffe68bcbe9ff8a7.

Solidity: event LogRefund(address indexed _to, uint256 _value)

func (*Erc20contractFilterer) WatchTransfer

func (_Erc20contract *Erc20contractFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *Erc20contractTransfer, _from []common.Address, _to []common.Address) (event.Subscription, error)

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

Solidity: event Transfer(address indexed _from, address indexed _to, uint256 _value)

type Erc20contractLogRefund

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

Erc20contractLogRefund represents a LogRefund event raised by the Erc20contract contract.

type Erc20contractLogRefundIterator

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

Erc20contractLogRefundIterator is returned from FilterLogRefund and is used to iterate over the raw logs and unpacked data for LogRefund events raised by the Erc20contract contract.

func (*Erc20contractLogRefundIterator) Close

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

func (*Erc20contractLogRefundIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*Erc20contractLogRefundIterator) 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 Erc20contractRaw

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

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

func (*Erc20contractRaw) Call

func (_Erc20contract *Erc20contractRaw) 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 (*Erc20contractRaw) Transact

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

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

func (*Erc20contractRaw) Transfer

func (_Erc20contract *Erc20contractRaw) 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 Erc20contractSession

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

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

func (*Erc20contractSession) Allowance

func (_Erc20contract *Erc20contractSession) 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(address _owner, address _spender) returns(uint256 remaining)

func (*Erc20contractSession) Approve

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

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

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

func (*Erc20contractSession) BalanceOf

func (_Erc20contract *Erc20contractSession) BalanceOf(_owner common.Address) (*big.Int, error)

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

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

func (*Erc20contractSession) BatFund

func (_Erc20contract *Erc20contractSession) BatFund() (*big.Int, error)

BatFund is a free data retrieval call binding the contract method 0x229a4978.

Solidity: function batFund() returns(uint256)

func (*Erc20contractSession) BatFundDeposit

func (_Erc20contract *Erc20contractSession) BatFundDeposit() (common.Address, error)

BatFundDeposit is a free data retrieval call binding the contract method 0x01a7a8c0.

Solidity: function batFundDeposit() returns(address)

func (*Erc20contractSession) CreateTokens

func (_Erc20contract *Erc20contractSession) CreateTokens() (*types.Transaction, error)

CreateTokens is a paid mutator transaction binding the contract method 0xb4427263.

Solidity: function createTokens() returns()

func (*Erc20contractSession) Decimals

func (_Erc20contract *Erc20contractSession) Decimals() (*big.Int, error)

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

Solidity: function decimals() returns(uint256)

func (*Erc20contractSession) EthFundDeposit

func (_Erc20contract *Erc20contractSession) EthFundDeposit() (common.Address, error)

EthFundDeposit is a free data retrieval call binding the contract method 0xa81c3bdf.

Solidity: function ethFundDeposit() returns(address)

func (*Erc20contractSession) Finalize

func (_Erc20contract *Erc20contractSession) Finalize() (*types.Transaction, error)

Finalize is a paid mutator transaction binding the contract method 0x4bb278f3.

Solidity: function finalize() returns()

func (*Erc20contractSession) FundingEndBlock

func (_Erc20contract *Erc20contractSession) FundingEndBlock() (*big.Int, error)

FundingEndBlock is a free data retrieval call binding the contract method 0x91b43d13.

Solidity: function fundingEndBlock() returns(uint256)

func (*Erc20contractSession) FundingStartBlock

func (_Erc20contract *Erc20contractSession) FundingStartBlock() (*big.Int, error)

FundingStartBlock is a free data retrieval call binding the contract method 0xd648a647.

Solidity: function fundingStartBlock() returns(uint256)

func (*Erc20contractSession) IsFinalized

func (_Erc20contract *Erc20contractSession) IsFinalized() (bool, error)

IsFinalized is a free data retrieval call binding the contract method 0x8d4e4083.

Solidity: function isFinalized() returns(bool)

func (*Erc20contractSession) Name

func (_Erc20contract *Erc20contractSession) Name() (string, error)

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

Solidity: function name() returns(string)

func (*Erc20contractSession) Refund

func (_Erc20contract *Erc20contractSession) Refund() (*types.Transaction, error)

Refund is a paid mutator transaction binding the contract method 0x590e1ae3.

Solidity: function refund() returns()

func (*Erc20contractSession) Symbol

func (_Erc20contract *Erc20contractSession) Symbol() (string, error)

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

Solidity: function symbol() returns(string)

func (*Erc20contractSession) TokenCreationCap

func (_Erc20contract *Erc20contractSession) TokenCreationCap() (*big.Int, error)

TokenCreationCap is a free data retrieval call binding the contract method 0x6f7920fd.

Solidity: function tokenCreationCap() returns(uint256)

func (*Erc20contractSession) TokenCreationMin

func (_Erc20contract *Erc20contractSession) TokenCreationMin() (*big.Int, error)

TokenCreationMin is a free data retrieval call binding the contract method 0xc039daf6.

Solidity: function tokenCreationMin() returns(uint256)

func (*Erc20contractSession) TokenExchangeRate

func (_Erc20contract *Erc20contractSession) TokenExchangeRate() (*big.Int, error)

TokenExchangeRate is a free data retrieval call binding the contract method 0x4172d080.

Solidity: function tokenExchangeRate() returns(uint256)

func (*Erc20contractSession) TotalSupply

func (_Erc20contract *Erc20contractSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() returns(uint256)

func (*Erc20contractSession) Transfer

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

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

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

func (*Erc20contractSession) TransferFrom

func (_Erc20contract *Erc20contractSession) 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(address _from, address _to, uint256 _value) returns(bool success)

func (*Erc20contractSession) Version

func (_Erc20contract *Erc20contractSession) Version() (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() returns(string)

type Erc20contractTransactor

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

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

func NewErc20contractTransactor

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

NewErc20contractTransactor creates a new write-only instance of Erc20contract, bound to a specific deployed contract.

func (*Erc20contractTransactor) Approve

func (_Erc20contract *Erc20contractTransactor) 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(address _spender, uint256 _value) returns(bool success)

func (*Erc20contractTransactor) CreateTokens

func (_Erc20contract *Erc20contractTransactor) CreateTokens(opts *bind.TransactOpts) (*types.Transaction, error)

CreateTokens is a paid mutator transaction binding the contract method 0xb4427263.

Solidity: function createTokens() returns()

func (*Erc20contractTransactor) Finalize

func (_Erc20contract *Erc20contractTransactor) Finalize(opts *bind.TransactOpts) (*types.Transaction, error)

Finalize is a paid mutator transaction binding the contract method 0x4bb278f3.

Solidity: function finalize() returns()

func (*Erc20contractTransactor) Refund

func (_Erc20contract *Erc20contractTransactor) Refund(opts *bind.TransactOpts) (*types.Transaction, error)

Refund is a paid mutator transaction binding the contract method 0x590e1ae3.

Solidity: function refund() returns()

func (*Erc20contractTransactor) Transfer

func (_Erc20contract *Erc20contractTransactor) 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(address _to, uint256 _value) returns(bool success)

func (*Erc20contractTransactor) TransferFrom

func (_Erc20contract *Erc20contractTransactor) 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(address _from, address _to, uint256 _value) returns(bool success)

type Erc20contractTransactorRaw

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

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

func (*Erc20contractTransactorRaw) Transact

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

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

func (*Erc20contractTransactorRaw) Transfer

func (_Erc20contract *Erc20contractTransactorRaw) 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 Erc20contractTransactorSession

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

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

func (*Erc20contractTransactorSession) Approve

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

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

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

func (*Erc20contractTransactorSession) CreateTokens

func (_Erc20contract *Erc20contractTransactorSession) CreateTokens() (*types.Transaction, error)

CreateTokens is a paid mutator transaction binding the contract method 0xb4427263.

Solidity: function createTokens() returns()

func (*Erc20contractTransactorSession) Finalize

func (_Erc20contract *Erc20contractTransactorSession) Finalize() (*types.Transaction, error)

Finalize is a paid mutator transaction binding the contract method 0x4bb278f3.

Solidity: function finalize() returns()

func (*Erc20contractTransactorSession) Refund

func (_Erc20contract *Erc20contractTransactorSession) Refund() (*types.Transaction, error)

Refund is a paid mutator transaction binding the contract method 0x590e1ae3.

Solidity: function refund() returns()

func (*Erc20contractTransactorSession) Transfer

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

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

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

func (*Erc20contractTransactorSession) TransferFrom

func (_Erc20contract *Erc20contractTransactorSession) 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(address _from, address _to, uint256 _value) returns(bool success)

type Erc20contractTransfer

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

Erc20contractTransfer represents a Transfer event raised by the Erc20contract contract.

type Erc20contractTransferIterator

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

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

func (*Erc20contractTransferIterator) Close

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

func (*Erc20contractTransferIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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