eth

package
v1.10.0-beta.20201225 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2020 License: BSD-3-Clause Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const ApproveAndCallFallBackABI = "" /* 319-byte string literal not displayed */

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

View Source
const ApproveAndCallFallBackBin = `0x`

ApproveAndCallFallBackBin is the compiled bytecode used for deploying new contracts.

View Source
const E18 = 1000000000000000000

E18 ethereum 1后面18个0

View Source
const ERC20InterfaceABI = "" /* 2052-byte string literal not displayed */

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

View Source
const ERC20InterfaceBin = `0x`

ERC20InterfaceBin is the compiled bytecode used for deploying new contracts.

View Source
const FixedSupplyTokenABI = "" /* 4254-byte string literal not displayed */

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

View Source
const FixedSupplyTokenBin = `` /* 6742-byte string literal not displayed */

FixedSupplyTokenBin is the compiled bytecode used for deploying new contracts.

View Source
const OwnedABI = "" /* 1003-byte string literal not displayed */

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

View Source
const OwnedBin = `` /* 974-byte string literal not displayed */

OwnedBin is the compiled bytecode used for deploying new contracts.

View Source
const SafeMathABI = "[]"

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

View Source
const SafeMathBin = `` /* 242-byte string literal not displayed */

SafeMathBin is the compiled bytecode used for deploying new contracts.

Variables

This section is empty.

Functions

func PrepareFunds4address

func PrepareFunds4address(t *testing.T, rpcHost, addr string, funds int64)

PrepareFunds4address 为addr准备一定量的eth,

Types

type AddrInfo

type AddrInfo struct {
	PrivkHex, PubkHex, Address string
}

AddrInfo 私钥、公钥、地址

func GenAddr

func GenAddr() *AddrInfo

GenAddr 生成地址

func (*AddrInfo) ToAddress

func (ad *AddrInfo) ToAddress() common.Address

ToAddress .

func (*AddrInfo) ToECDSAKey

func (ad *AddrInfo) ToECDSAKey() *ecdsa.PrivateKey

ToECDSAKey .

type ApproveAndCallFallBack

type ApproveAndCallFallBack struct {
	ApproveAndCallFallBackCaller     // Read-only binding to the contract
	ApproveAndCallFallBackTransactor // Write-only binding to the contract
	ApproveAndCallFallBackFilterer   // Log filterer for contract events
}

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

func DeployApproveAndCallFallBack

func DeployApproveAndCallFallBack(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ApproveAndCallFallBack, error)

DeployApproveAndCallFallBack deploys a new Ethereum contract, binding an instance of ApproveAndCallFallBack to it.

func NewApproveAndCallFallBack

func NewApproveAndCallFallBack(address common.Address, backend bind.ContractBackend) (*ApproveAndCallFallBack, error)

NewApproveAndCallFallBack creates a new instance of ApproveAndCallFallBack, bound to a specific deployed contract.

type ApproveAndCallFallBackCaller

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

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

func NewApproveAndCallFallBackCaller

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

NewApproveAndCallFallBackCaller creates a new read-only instance of ApproveAndCallFallBack, bound to a specific deployed contract.

type ApproveAndCallFallBackCallerRaw

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

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

func (*ApproveAndCallFallBackCallerRaw) Call

func (_ApproveAndCallFallBack *ApproveAndCallFallBackCallerRaw) 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 ApproveAndCallFallBackCallerSession

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

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

type ApproveAndCallFallBackFilterer

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

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

func NewApproveAndCallFallBackFilterer

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

NewApproveAndCallFallBackFilterer creates a new log filterer instance of ApproveAndCallFallBack, bound to a specific deployed contract.

type ApproveAndCallFallBackRaw

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

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

func (*ApproveAndCallFallBackRaw) Call

func (_ApproveAndCallFallBack *ApproveAndCallFallBackRaw) 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 (*ApproveAndCallFallBackRaw) Transact

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

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

func (*ApproveAndCallFallBackRaw) Transfer

func (_ApproveAndCallFallBack *ApproveAndCallFallBackRaw) 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 ApproveAndCallFallBackSession

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

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

func (*ApproveAndCallFallBackSession) ReceiveApproval

func (_ApproveAndCallFallBack *ApproveAndCallFallBackSession) ReceiveApproval(from common.Address, tokens *big.Int, token common.Address, data []byte) (*types.Transaction, error)

ReceiveApproval is a paid mutator transaction binding the contract method 0x8f4ffcb1.

Solidity: function receiveApproval(address from, uint256 tokens, address token, bytes data) returns()

type ApproveAndCallFallBackTransactor

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

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

func NewApproveAndCallFallBackTransactor

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

NewApproveAndCallFallBackTransactor creates a new write-only instance of ApproveAndCallFallBack, bound to a specific deployed contract.

func (*ApproveAndCallFallBackTransactor) ReceiveApproval

func (_ApproveAndCallFallBack *ApproveAndCallFallBackTransactor) ReceiveApproval(opts *bind.TransactOpts, from common.Address, tokens *big.Int, token common.Address, data []byte) (*types.Transaction, error)

ReceiveApproval is a paid mutator transaction binding the contract method 0x8f4ffcb1.

Solidity: function receiveApproval(address from, uint256 tokens, address token, bytes data) returns()

type ApproveAndCallFallBackTransactorRaw

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

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

func (*ApproveAndCallFallBackTransactorRaw) Transact

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

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

func (*ApproveAndCallFallBackTransactorRaw) Transfer

func (_ApproveAndCallFallBack *ApproveAndCallFallBackTransactorRaw) 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 ApproveAndCallFallBackTransactorSession

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

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

func (*ApproveAndCallFallBackTransactorSession) ReceiveApproval

func (_ApproveAndCallFallBack *ApproveAndCallFallBackTransactorSession) ReceiveApproval(from common.Address, tokens *big.Int, token common.Address, data []byte) (*types.Transaction, error)

ReceiveApproval is a paid mutator transaction binding the contract method 0x8f4ffcb1.

Solidity: function receiveApproval(address from, uint256 tokens, address token, bytes data) returns()

type ERC20Interface

type ERC20Interface struct {
	ERC20InterfaceCaller     // Read-only binding to the contract
	ERC20InterfaceTransactor // Write-only binding to the contract
	ERC20InterfaceFilterer   // Log filterer for contract events
}

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

func DeployERC20Interface

func DeployERC20Interface(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ERC20Interface, error)

DeployERC20Interface deploys a new Ethereum contract, binding an instance of ERC20Interface to it.

func NewERC20Interface

func NewERC20Interface(address common.Address, backend bind.ContractBackend) (*ERC20Interface, error)

NewERC20Interface creates a new instance of ERC20Interface, bound to a specific deployed contract.

type ERC20InterfaceApproval

type ERC20InterfaceApproval struct {
	TokenOwner common.Address
	Spender    common.Address
	Tokens     *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

ERC20InterfaceApproval represents a Approval event raised by the ERC20Interface contract.

type ERC20InterfaceApprovalIterator

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

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

func (*ERC20InterfaceApprovalIterator) Close

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

func (*ERC20InterfaceApprovalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

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

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

func NewERC20InterfaceCaller

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

NewERC20InterfaceCaller creates a new read-only instance of ERC20Interface, bound to a specific deployed contract.

func (*ERC20InterfaceCaller) Allowance

func (_ERC20Interface *ERC20InterfaceCaller) Allowance(opts *bind.CallOpts, tokenOwner common.Address, spender common.Address) (*big.Int, error)

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

Solidity: function allowance(address tokenOwner, address spender) constant returns(uint256 remaining)

func (*ERC20InterfaceCaller) BalanceOf

func (_ERC20Interface *ERC20InterfaceCaller) BalanceOf(opts *bind.CallOpts, tokenOwner common.Address) (*big.Int, error)

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

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

func (*ERC20InterfaceCaller) TotalSupply

func (_ERC20Interface *ERC20InterfaceCaller) 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 ERC20InterfaceCallerRaw

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

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

func (*ERC20InterfaceCallerRaw) Call

func (_ERC20Interface *ERC20InterfaceCallerRaw) 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 ERC20InterfaceCallerSession

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

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

func (*ERC20InterfaceCallerSession) Allowance

func (_ERC20Interface *ERC20InterfaceCallerSession) Allowance(tokenOwner common.Address, spender common.Address) (*big.Int, error)

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

Solidity: function allowance(address tokenOwner, address spender) constant returns(uint256 remaining)

func (*ERC20InterfaceCallerSession) BalanceOf

func (_ERC20Interface *ERC20InterfaceCallerSession) BalanceOf(tokenOwner common.Address) (*big.Int, error)

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

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

func (*ERC20InterfaceCallerSession) TotalSupply

func (_ERC20Interface *ERC20InterfaceCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() constant returns(uint256)

type ERC20InterfaceFilterer

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

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

func NewERC20InterfaceFilterer

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

NewERC20InterfaceFilterer creates a new log filterer instance of ERC20Interface, bound to a specific deployed contract.

func (*ERC20InterfaceFilterer) FilterApproval

func (_ERC20Interface *ERC20InterfaceFilterer) FilterApproval(opts *bind.FilterOpts, tokenOwner []common.Address, spender []common.Address) (*ERC20InterfaceApprovalIterator, error)

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

Solidity: event Approval(address indexed tokenOwner, address indexed spender, uint256 tokens)

func (*ERC20InterfaceFilterer) FilterTransfer

func (_ERC20Interface *ERC20InterfaceFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ERC20InterfaceTransferIterator, error)

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

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

func (*ERC20InterfaceFilterer) WatchApproval

func (_ERC20Interface *ERC20InterfaceFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC20InterfaceApproval, tokenOwner []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 tokenOwner, address indexed spender, uint256 tokens)

func (*ERC20InterfaceFilterer) WatchTransfer

func (_ERC20Interface *ERC20InterfaceFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20InterfaceTransfer, 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 tokens)

type ERC20InterfaceRaw

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

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

func (*ERC20InterfaceRaw) Call

func (_ERC20Interface *ERC20InterfaceRaw) 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 (*ERC20InterfaceRaw) Transact

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

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

func (*ERC20InterfaceRaw) Transfer

func (_ERC20Interface *ERC20InterfaceRaw) 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 ERC20InterfaceSession

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

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

func (*ERC20InterfaceSession) Allowance

func (_ERC20Interface *ERC20InterfaceSession) Allowance(tokenOwner common.Address, spender common.Address) (*big.Int, error)

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

Solidity: function allowance(address tokenOwner, address spender) constant returns(uint256 remaining)

func (*ERC20InterfaceSession) Approve

func (_ERC20Interface *ERC20InterfaceSession) Approve(spender common.Address, tokens *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address spender, uint256 tokens) returns(bool success)

func (*ERC20InterfaceSession) BalanceOf

func (_ERC20Interface *ERC20InterfaceSession) BalanceOf(tokenOwner common.Address) (*big.Int, error)

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

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

func (*ERC20InterfaceSession) TotalSupply

func (_ERC20Interface *ERC20InterfaceSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() constant returns(uint256)

func (*ERC20InterfaceSession) Transfer

func (_ERC20Interface *ERC20InterfaceSession) Transfer(to common.Address, tokens *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(address to, uint256 tokens) returns(bool success)

func (*ERC20InterfaceSession) TransferFrom

func (_ERC20Interface *ERC20InterfaceSession) TransferFrom(from common.Address, to common.Address, tokens *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address from, address to, uint256 tokens) returns(bool success)

type ERC20InterfaceTransactor

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

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

func NewERC20InterfaceTransactor

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

NewERC20InterfaceTransactor creates a new write-only instance of ERC20Interface, bound to a specific deployed contract.

func (*ERC20InterfaceTransactor) Approve

func (_ERC20Interface *ERC20InterfaceTransactor) Approve(opts *bind.TransactOpts, spender common.Address, tokens *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address spender, uint256 tokens) returns(bool success)

func (*ERC20InterfaceTransactor) Transfer

func (_ERC20Interface *ERC20InterfaceTransactor) Transfer(opts *bind.TransactOpts, to common.Address, tokens *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(address to, uint256 tokens) returns(bool success)

func (*ERC20InterfaceTransactor) TransferFrom

func (_ERC20Interface *ERC20InterfaceTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, tokens *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address from, address to, uint256 tokens) returns(bool success)

type ERC20InterfaceTransactorRaw

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

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

func (*ERC20InterfaceTransactorRaw) Transact

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

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

func (*ERC20InterfaceTransactorRaw) Transfer

func (_ERC20Interface *ERC20InterfaceTransactorRaw) 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 ERC20InterfaceTransactorSession

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

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

func (*ERC20InterfaceTransactorSession) Approve

func (_ERC20Interface *ERC20InterfaceTransactorSession) Approve(spender common.Address, tokens *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address spender, uint256 tokens) returns(bool success)

func (*ERC20InterfaceTransactorSession) Transfer

func (_ERC20Interface *ERC20InterfaceTransactorSession) Transfer(to common.Address, tokens *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(address to, uint256 tokens) returns(bool success)

func (*ERC20InterfaceTransactorSession) TransferFrom

func (_ERC20Interface *ERC20InterfaceTransactorSession) TransferFrom(from common.Address, to common.Address, tokens *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address from, address to, uint256 tokens) returns(bool success)

type ERC20InterfaceTransfer

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

ERC20InterfaceTransfer represents a Transfer event raised by the ERC20Interface contract.

type ERC20InterfaceTransferIterator

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

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

func (*ERC20InterfaceTransferIterator) Close

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

func (*ERC20InterfaceTransferIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

type FixedSupplyToken struct {
	FixedSupplyTokenCaller     // Read-only binding to the contract
	FixedSupplyTokenTransactor // Write-only binding to the contract
	FixedSupplyTokenFilterer   // Log filterer for contract events
}

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

func DeployFixedSupplyToken

func DeployFixedSupplyToken(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *FixedSupplyToken, error)

DeployFixedSupplyToken deploys a new Ethereum contract, binding an instance of FixedSupplyToken to it.

func NewFixedSupplyToken

func NewFixedSupplyToken(address common.Address, backend bind.ContractBackend) (*FixedSupplyToken, error)

NewFixedSupplyToken creates a new instance of FixedSupplyToken, bound to a specific deployed contract.

type FixedSupplyTokenApproval

type FixedSupplyTokenApproval struct {
	TokenOwner common.Address
	Spender    common.Address
	Tokens     *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

FixedSupplyTokenApproval represents a Approval event raised by the FixedSupplyToken contract.

type FixedSupplyTokenApprovalIterator

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

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

func (*FixedSupplyTokenApprovalIterator) Close

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

func (*FixedSupplyTokenApprovalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

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

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

func NewFixedSupplyTokenCaller

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

NewFixedSupplyTokenCaller creates a new read-only instance of FixedSupplyToken, bound to a specific deployed contract.

func (*FixedSupplyTokenCaller) Allowance

func (_FixedSupplyToken *FixedSupplyTokenCaller) Allowance(opts *bind.CallOpts, tokenOwner common.Address, spender common.Address) (*big.Int, error)

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

Solidity: function allowance(address tokenOwner, address spender) constant returns(uint256 remaining)

func (*FixedSupplyTokenCaller) BalanceOf

func (_FixedSupplyToken *FixedSupplyTokenCaller) BalanceOf(opts *bind.CallOpts, tokenOwner common.Address) (*big.Int, error)

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

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

func (*FixedSupplyTokenCaller) Decimals

func (_FixedSupplyToken *FixedSupplyTokenCaller) 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 (*FixedSupplyTokenCaller) Name

func (_FixedSupplyToken *FixedSupplyTokenCaller) 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 (*FixedSupplyTokenCaller) NewOwner

func (_FixedSupplyToken *FixedSupplyTokenCaller) NewOwner(opts *bind.CallOpts) (common.Address, error)

NewOwner is a free data retrieval call binding the contract method 0xd4ee1d90.

Solidity: function newOwner() constant returns(address)

func (*FixedSupplyTokenCaller) Owner

func (_FixedSupplyToken *FixedSupplyTokenCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*FixedSupplyTokenCaller) Symbol

func (_FixedSupplyToken *FixedSupplyTokenCaller) 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 (*FixedSupplyTokenCaller) TotalSupply

func (_FixedSupplyToken *FixedSupplyTokenCaller) 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 FixedSupplyTokenCallerRaw

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

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

func (*FixedSupplyTokenCallerRaw) Call

func (_FixedSupplyToken *FixedSupplyTokenCallerRaw) 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 FixedSupplyTokenCallerSession

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

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

func (*FixedSupplyTokenCallerSession) Allowance

func (_FixedSupplyToken *FixedSupplyTokenCallerSession) Allowance(tokenOwner common.Address, spender common.Address) (*big.Int, error)

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

Solidity: function allowance(address tokenOwner, address spender) constant returns(uint256 remaining)

func (*FixedSupplyTokenCallerSession) BalanceOf

func (_FixedSupplyToken *FixedSupplyTokenCallerSession) BalanceOf(tokenOwner common.Address) (*big.Int, error)

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

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

func (*FixedSupplyTokenCallerSession) Decimals

func (_FixedSupplyToken *FixedSupplyTokenCallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() constant returns(uint8)

func (*FixedSupplyTokenCallerSession) Name

func (_FixedSupplyToken *FixedSupplyTokenCallerSession) Name() (string, error)

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

Solidity: function name() constant returns(string)

func (*FixedSupplyTokenCallerSession) NewOwner

func (_FixedSupplyToken *FixedSupplyTokenCallerSession) NewOwner() (common.Address, error)

NewOwner is a free data retrieval call binding the contract method 0xd4ee1d90.

Solidity: function newOwner() constant returns(address)

func (*FixedSupplyTokenCallerSession) Owner

func (_FixedSupplyToken *FixedSupplyTokenCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*FixedSupplyTokenCallerSession) Symbol

func (_FixedSupplyToken *FixedSupplyTokenCallerSession) Symbol() (string, error)

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

Solidity: function symbol() constant returns(string)

func (*FixedSupplyTokenCallerSession) TotalSupply

func (_FixedSupplyToken *FixedSupplyTokenCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() constant returns(uint256)

type FixedSupplyTokenFilterer

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

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

func NewFixedSupplyTokenFilterer

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

NewFixedSupplyTokenFilterer creates a new log filterer instance of FixedSupplyToken, bound to a specific deployed contract.

func (*FixedSupplyTokenFilterer) FilterApproval

func (_FixedSupplyToken *FixedSupplyTokenFilterer) FilterApproval(opts *bind.FilterOpts, tokenOwner []common.Address, spender []common.Address) (*FixedSupplyTokenApprovalIterator, error)

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

Solidity: event Approval(address indexed tokenOwner, address indexed spender, uint256 tokens)

func (*FixedSupplyTokenFilterer) FilterOwnershipTransferred

func (_FixedSupplyToken *FixedSupplyTokenFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, _from []common.Address, _to []common.Address) (*FixedSupplyTokenOwnershipTransferredIterator, error)

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

Solidity: event OwnershipTransferred(address indexed _from, address indexed _to)

func (*FixedSupplyTokenFilterer) FilterTransfer

func (_FixedSupplyToken *FixedSupplyTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*FixedSupplyTokenTransferIterator, error)

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

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

func (*FixedSupplyTokenFilterer) WatchApproval

func (_FixedSupplyToken *FixedSupplyTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *FixedSupplyTokenApproval, tokenOwner []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 tokenOwner, address indexed spender, uint256 tokens)

func (*FixedSupplyTokenFilterer) WatchOwnershipTransferred

func (_FixedSupplyToken *FixedSupplyTokenFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *FixedSupplyTokenOwnershipTransferred, _from []common.Address, _to []common.Address) (event.Subscription, error)

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

Solidity: event OwnershipTransferred(address indexed _from, address indexed _to)

func (*FixedSupplyTokenFilterer) WatchTransfer

func (_FixedSupplyToken *FixedSupplyTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *FixedSupplyTokenTransfer, 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 tokens)

type FixedSupplyTokenOwnershipTransferred

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

FixedSupplyTokenOwnershipTransferred represents a OwnershipTransferred event raised by the FixedSupplyToken contract.

type FixedSupplyTokenOwnershipTransferredIterator

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

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

func (*FixedSupplyTokenOwnershipTransferredIterator) Close

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

func (*FixedSupplyTokenOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

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

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

func (*FixedSupplyTokenRaw) Call

func (_FixedSupplyToken *FixedSupplyTokenRaw) 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 (*FixedSupplyTokenRaw) Transact

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

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

func (*FixedSupplyTokenRaw) Transfer

func (_FixedSupplyToken *FixedSupplyTokenRaw) 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 FixedSupplyTokenSession

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

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

func (*FixedSupplyTokenSession) AcceptOwnership

func (_FixedSupplyToken *FixedSupplyTokenSession) AcceptOwnership() (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*FixedSupplyTokenSession) Allowance

func (_FixedSupplyToken *FixedSupplyTokenSession) Allowance(tokenOwner common.Address, spender common.Address) (*big.Int, error)

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

Solidity: function allowance(address tokenOwner, address spender) constant returns(uint256 remaining)

func (*FixedSupplyTokenSession) Approve

func (_FixedSupplyToken *FixedSupplyTokenSession) Approve(spender common.Address, tokens *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address spender, uint256 tokens) returns(bool success)

func (*FixedSupplyTokenSession) ApproveAndCall

func (_FixedSupplyToken *FixedSupplyTokenSession) ApproveAndCall(spender common.Address, tokens *big.Int, data []byte) (*types.Transaction, error)

ApproveAndCall is a paid mutator transaction binding the contract method 0xcae9ca51.

Solidity: function approveAndCall(address spender, uint256 tokens, bytes data) returns(bool success)

func (*FixedSupplyTokenSession) BalanceOf

func (_FixedSupplyToken *FixedSupplyTokenSession) BalanceOf(tokenOwner common.Address) (*big.Int, error)

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

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

func (*FixedSupplyTokenSession) Decimals

func (_FixedSupplyToken *FixedSupplyTokenSession) Decimals() (uint8, error)

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

Solidity: function decimals() constant returns(uint8)

func (*FixedSupplyTokenSession) Name

func (_FixedSupplyToken *FixedSupplyTokenSession) Name() (string, error)

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

Solidity: function name() constant returns(string)

func (*FixedSupplyTokenSession) NewOwner

func (_FixedSupplyToken *FixedSupplyTokenSession) NewOwner() (common.Address, error)

NewOwner is a free data retrieval call binding the contract method 0xd4ee1d90.

Solidity: function newOwner() constant returns(address)

func (*FixedSupplyTokenSession) Owner

func (_FixedSupplyToken *FixedSupplyTokenSession) Owner() (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*FixedSupplyTokenSession) Symbol

func (_FixedSupplyToken *FixedSupplyTokenSession) Symbol() (string, error)

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

Solidity: function symbol() constant returns(string)

func (*FixedSupplyTokenSession) TotalSupply

func (_FixedSupplyToken *FixedSupplyTokenSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() constant returns(uint256)

func (*FixedSupplyTokenSession) Transfer

func (_FixedSupplyToken *FixedSupplyTokenSession) Transfer(to common.Address, tokens *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(address to, uint256 tokens) returns(bool success)

func (*FixedSupplyTokenSession) TransferAnyERC20Token

func (_FixedSupplyToken *FixedSupplyTokenSession) TransferAnyERC20Token(tokenAddress common.Address, tokens *big.Int) (*types.Transaction, error)

TransferAnyERC20Token is a paid mutator transaction binding the contract method 0xdc39d06d.

Solidity: function transferAnyERC20Token(address tokenAddress, uint256 tokens) returns(bool success)

func (*FixedSupplyTokenSession) TransferFrom

func (_FixedSupplyToken *FixedSupplyTokenSession) TransferFrom(from common.Address, to common.Address, tokens *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address from, address to, uint256 tokens) returns(bool success)

func (*FixedSupplyTokenSession) TransferOwnership

func (_FixedSupplyToken *FixedSupplyTokenSession) 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 FixedSupplyTokenTransactor

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

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

func NewFixedSupplyTokenTransactor

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

NewFixedSupplyTokenTransactor creates a new write-only instance of FixedSupplyToken, bound to a specific deployed contract.

func (*FixedSupplyTokenTransactor) AcceptOwnership

func (_FixedSupplyToken *FixedSupplyTokenTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*FixedSupplyTokenTransactor) Approve

func (_FixedSupplyToken *FixedSupplyTokenTransactor) Approve(opts *bind.TransactOpts, spender common.Address, tokens *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address spender, uint256 tokens) returns(bool success)

func (*FixedSupplyTokenTransactor) ApproveAndCall

func (_FixedSupplyToken *FixedSupplyTokenTransactor) ApproveAndCall(opts *bind.TransactOpts, spender common.Address, tokens *big.Int, data []byte) (*types.Transaction, error)

ApproveAndCall is a paid mutator transaction binding the contract method 0xcae9ca51.

Solidity: function approveAndCall(address spender, uint256 tokens, bytes data) returns(bool success)

func (*FixedSupplyTokenTransactor) Transfer

func (_FixedSupplyToken *FixedSupplyTokenTransactor) Transfer(opts *bind.TransactOpts, to common.Address, tokens *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(address to, uint256 tokens) returns(bool success)

func (*FixedSupplyTokenTransactor) TransferAnyERC20Token

func (_FixedSupplyToken *FixedSupplyTokenTransactor) TransferAnyERC20Token(opts *bind.TransactOpts, tokenAddress common.Address, tokens *big.Int) (*types.Transaction, error)

TransferAnyERC20Token is a paid mutator transaction binding the contract method 0xdc39d06d.

Solidity: function transferAnyERC20Token(address tokenAddress, uint256 tokens) returns(bool success)

func (*FixedSupplyTokenTransactor) TransferFrom

func (_FixedSupplyToken *FixedSupplyTokenTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, tokens *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address from, address to, uint256 tokens) returns(bool success)

func (*FixedSupplyTokenTransactor) TransferOwnership

func (_FixedSupplyToken *FixedSupplyTokenTransactor) 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 FixedSupplyTokenTransactorRaw

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

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

func (*FixedSupplyTokenTransactorRaw) Transact

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

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

func (*FixedSupplyTokenTransactorRaw) Transfer

func (_FixedSupplyToken *FixedSupplyTokenTransactorRaw) 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 FixedSupplyTokenTransactorSession

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

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

func (*FixedSupplyTokenTransactorSession) AcceptOwnership

func (_FixedSupplyToken *FixedSupplyTokenTransactorSession) AcceptOwnership() (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*FixedSupplyTokenTransactorSession) Approve

func (_FixedSupplyToken *FixedSupplyTokenTransactorSession) Approve(spender common.Address, tokens *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address spender, uint256 tokens) returns(bool success)

func (*FixedSupplyTokenTransactorSession) ApproveAndCall

func (_FixedSupplyToken *FixedSupplyTokenTransactorSession) ApproveAndCall(spender common.Address, tokens *big.Int, data []byte) (*types.Transaction, error)

ApproveAndCall is a paid mutator transaction binding the contract method 0xcae9ca51.

Solidity: function approveAndCall(address spender, uint256 tokens, bytes data) returns(bool success)

func (*FixedSupplyTokenTransactorSession) Transfer

func (_FixedSupplyToken *FixedSupplyTokenTransactorSession) Transfer(to common.Address, tokens *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(address to, uint256 tokens) returns(bool success)

func (*FixedSupplyTokenTransactorSession) TransferAnyERC20Token

func (_FixedSupplyToken *FixedSupplyTokenTransactorSession) TransferAnyERC20Token(tokenAddress common.Address, tokens *big.Int) (*types.Transaction, error)

TransferAnyERC20Token is a paid mutator transaction binding the contract method 0xdc39d06d.

Solidity: function transferAnyERC20Token(address tokenAddress, uint256 tokens) returns(bool success)

func (*FixedSupplyTokenTransactorSession) TransferFrom

func (_FixedSupplyToken *FixedSupplyTokenTransactorSession) TransferFrom(from common.Address, to common.Address, tokens *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address from, address to, uint256 tokens) returns(bool success)

func (*FixedSupplyTokenTransactorSession) TransferOwnership

func (_FixedSupplyToken *FixedSupplyTokenTransactorSession) 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 FixedSupplyTokenTransfer

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

FixedSupplyTokenTransfer represents a Transfer event raised by the FixedSupplyToken contract.

type FixedSupplyTokenTransferIterator

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

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

func (*FixedSupplyTokenTransferIterator) Close

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

func (*FixedSupplyTokenTransferIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

type Owned struct {
	OwnedCaller     // Read-only binding to the contract
	OwnedTransactor // Write-only binding to the contract
	OwnedFilterer   // Log filterer for contract events
}

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

func DeployOwned

func DeployOwned(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Owned, error)

DeployOwned deploys a new Ethereum contract, binding an instance of Owned to it.

func NewOwned

func NewOwned(address common.Address, backend bind.ContractBackend) (*Owned, error)

NewOwned creates a new instance of Owned, bound to a specific deployed contract.

type OwnedCaller

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

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

func NewOwnedCaller

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

NewOwnedCaller creates a new read-only instance of Owned, bound to a specific deployed contract.

func (*OwnedCaller) NewOwner

func (_Owned *OwnedCaller) NewOwner(opts *bind.CallOpts) (common.Address, error)

NewOwner is a free data retrieval call binding the contract method 0xd4ee1d90.

Solidity: function newOwner() constant returns(address)

func (*OwnedCaller) Owner

func (_Owned *OwnedCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() constant returns(address)

type OwnedCallerRaw

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

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

func (*OwnedCallerRaw) Call

func (_Owned *OwnedCallerRaw) 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 OwnedCallerSession

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

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

func (*OwnedCallerSession) NewOwner

func (_Owned *OwnedCallerSession) NewOwner() (common.Address, error)

NewOwner is a free data retrieval call binding the contract method 0xd4ee1d90.

Solidity: function newOwner() constant returns(address)

func (*OwnedCallerSession) Owner

func (_Owned *OwnedCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() constant returns(address)

type OwnedFilterer

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

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

func NewOwnedFilterer

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

NewOwnedFilterer creates a new log filterer instance of Owned, bound to a specific deployed contract.

func (*OwnedFilterer) FilterOwnershipTransferred

func (_Owned *OwnedFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, _from []common.Address, _to []common.Address) (*OwnedOwnershipTransferredIterator, error)

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

Solidity: event OwnershipTransferred(address indexed _from, address indexed _to)

func (*OwnedFilterer) WatchOwnershipTransferred

func (_Owned *OwnedFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *OwnedOwnershipTransferred, _from []common.Address, _to []common.Address) (event.Subscription, error)

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

Solidity: event OwnershipTransferred(address indexed _from, address indexed _to)

type OwnedOwnershipTransferred

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

OwnedOwnershipTransferred represents a OwnershipTransferred event raised by the Owned contract.

type OwnedOwnershipTransferredIterator

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

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

func (*OwnedOwnershipTransferredIterator) Close

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

func (*OwnedOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

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

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

func (*OwnedRaw) Call

func (_Owned *OwnedRaw) 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 (*OwnedRaw) Transact

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

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

func (*OwnedRaw) Transfer

func (_Owned *OwnedRaw) 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 OwnedSession

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

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

func (*OwnedSession) AcceptOwnership

func (_Owned *OwnedSession) AcceptOwnership() (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*OwnedSession) NewOwner

func (_Owned *OwnedSession) NewOwner() (common.Address, error)

NewOwner is a free data retrieval call binding the contract method 0xd4ee1d90.

Solidity: function newOwner() constant returns(address)

func (*OwnedSession) Owner

func (_Owned *OwnedSession) Owner() (common.Address, error)

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

Solidity: function owner() constant returns(address)

func (*OwnedSession) TransferOwnership

func (_Owned *OwnedSession) 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 OwnedTransactor

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

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

func NewOwnedTransactor

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

NewOwnedTransactor creates a new write-only instance of Owned, bound to a specific deployed contract.

func (*OwnedTransactor) AcceptOwnership

func (_Owned *OwnedTransactor) AcceptOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*OwnedTransactor) TransferOwnership

func (_Owned *OwnedTransactor) 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 OwnedTransactorRaw

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

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

func (*OwnedTransactorRaw) Transact

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

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

func (*OwnedTransactorRaw) Transfer

func (_Owned *OwnedTransactorRaw) 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 OwnedTransactorSession

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

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

func (*OwnedTransactorSession) AcceptOwnership

func (_Owned *OwnedTransactorSession) AcceptOwnership() (*types.Transaction, error)

AcceptOwnership is a paid mutator transaction binding the contract method 0x79ba5097.

Solidity: function acceptOwnership() returns()

func (*OwnedTransactorSession) TransferOwnership

func (_Owned *OwnedTransactorSession) 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 SafeMath

type SafeMath struct {
	SafeMathCaller     // Read-only binding to the contract
	SafeMathTransactor // Write-only binding to the contract
	SafeMathFilterer   // Log filterer for contract events
}

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

func DeploySafeMath

func DeploySafeMath(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *SafeMath, error)

DeploySafeMath deploys a new Ethereum contract, binding an instance of SafeMath to it.

func NewSafeMath

func NewSafeMath(address common.Address, backend bind.ContractBackend) (*SafeMath, error)

NewSafeMath creates a new instance of SafeMath, bound to a specific deployed contract.

type SafeMathCaller

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

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

func NewSafeMathCaller

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

NewSafeMathCaller creates a new read-only instance of SafeMath, bound to a specific deployed contract.

type SafeMathCallerRaw

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

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

func (*SafeMathCallerRaw) Call

func (_SafeMath *SafeMathCallerRaw) 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 SafeMathCallerSession

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

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

type SafeMathFilterer

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

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

func NewSafeMathFilterer

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

NewSafeMathFilterer creates a new log filterer instance of SafeMath, bound to a specific deployed contract.

type SafeMathRaw

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

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

func (*SafeMathRaw) Call

func (_SafeMath *SafeMathRaw) 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 (*SafeMathRaw) Transact

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

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

func (*SafeMathRaw) Transfer

func (_SafeMath *SafeMathRaw) 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 SafeMathSession

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

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

type SafeMathTransactor

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

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

func NewSafeMathTransactor

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

NewSafeMathTransactor creates a new write-only instance of SafeMath, bound to a specific deployed contract.

type SafeMathTransactorRaw

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

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

func (*SafeMathTransactorRaw) Transact

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

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

func (*SafeMathTransactorRaw) Transfer

func (_SafeMath *SafeMathTransactorRaw) 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 SafeMathTransactorSession

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

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

Jump to

Keyboard shortcuts

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