eth

package
v0.0.0-...-035b7fa Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2021 License: GPL-3.0 Imports: 43 Imported by: 0

Documentation

Overview

* Copyright (C) 2020 The poly network Authors * This file is part of The poly network library. * * The poly network is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The poly network is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * You should have received a copy of the GNU Lesser General Public License * along with The poly network . If not, see <http://www.gnu.org/licenses/>.

* Copyright (C) 2020 The poly network Authors * This file is part of The poly network library. * * The poly network is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The poly network is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * You should have received a copy of the GNU Lesser General Public License * along with The poly network . If not, see <http://www.gnu.org/licenses/>.

* Copyright (C) 2020 The poly network Authors * This file is part of The poly network library. * * The poly network is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The poly network is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * You should have received a copy of the GNU Lesser General Public License * along with The poly network . If not, see <http://www.gnu.org/licenses/>.

* Copyright (C) 2020 The poly network Authors * This file is part of The poly network library. * * The poly network is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The poly network is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * You should have received a copy of the GNU Lesser General Public License * along with The poly network . If not, see <http://www.gnu.org/licenses/>.

Index

Constants

View Source
const BasicTokenABI = "" /* 911-byte string literal not displayed */

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

View Source
const BurnableTokenABI = "" /* 1288-byte string literal not displayed */

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

View Source
const CanReclaimTokenABI = "" /* 1094-byte string literal not displayed */

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

View Source
const ClaimableABI = "" /* 1233-byte string literal not displayed */

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

View Source
const ClearNonceInterval = 10 * time.Minute
View Source
const DaiABI = "" /* 5918-byte string literal not displayed */

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

View Source
const DetailedERC20ABI = "" /* 2742-byte string literal not displayed */

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

View Source
const ERC20ABI = "" /* 2003-byte string literal not displayed */

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

View Source
const ERC20BasicABI = "" /* 909-byte string literal not displayed */

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

View Source
const LibNoteABI = "" /* 361-byte string literal not displayed */

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

View Source
const MintableTokenABI = "" /* 4364-byte string literal not displayed */

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

View Source
const OwnableABI = "" /* 995-byte string literal not displayed */

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

View Source
const OwnableContractABI = "" /* 1426-byte string literal not displayed */

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

View Source
const PausableABI = "" /* 1512-byte string literal not displayed */

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

View Source
const PausableTokenABI = "" /* 4095-byte string literal not displayed */

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

View Source
const SafeERC20ABI = "[]"

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

View Source
const SafeMathABI = "[]"

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

View Source
const StandardTokenABI = "" /* 2570-byte string literal not displayed */

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

View Source
const WBTCABI = "" /* 6408-byte string literal not displayed */

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

Variables

View Source
var BasicTokenBin = "" /* 1334-byte string literal not displayed */

BasicTokenBin is the compiled bytecode used for deploying new contracts.

View Source
var BasicTokenFuncSigs = map[string]string{
	"70a08231": "balanceOf(address)",
	"18160ddd": "totalSupply()",
	"a9059cbb": "transfer(address,uint256)",
}

BasicTokenFuncSigs maps the 4-byte function signature to its string representation.

View Source
var BurnableTokenBin = "" /* 1792-byte string literal not displayed */

BurnableTokenBin is the compiled bytecode used for deploying new contracts.

View Source
var BurnableTokenFuncSigs = map[string]string{
	"70a08231": "balanceOf(address)",
	"42966c68": "burn(uint256)",
	"18160ddd": "totalSupply()",
	"a9059cbb": "transfer(address,uint256)",
}

BurnableTokenFuncSigs maps the 4-byte function signature to its string representation.

View Source
var CanReclaimTokenBin = "" /* 1986-byte string literal not displayed */

CanReclaimTokenBin is the compiled bytecode used for deploying new contracts.

View Source
var CanReclaimTokenFuncSigs = map[string]string{
	"8da5cb5b": "owner()",
	"17ffc320": "reclaimToken(address)",
	"715018a6": "renounceOwnership()",
	"f2fde38b": "transferOwnership(address)",
}

CanReclaimTokenFuncSigs maps the 4-byte function signature to its string representation.

View Source
var ClaimableBin = "" /* 1372-byte string literal not displayed */

ClaimableBin is the compiled bytecode used for deploying new contracts.

View Source
var ClaimableFuncSigs = map[string]string{
	"4e71e0c8": "claimOwnership()",
	"8da5cb5b": "owner()",
	"e30c3978": "pendingOwner()",
	"715018a6": "renounceOwnership()",
	"f2fde38b": "transferOwnership(address)",
}

ClaimableFuncSigs maps the 4-byte function signature to its string representation.

View Source
var DaiBin = "" /* 10356-byte string literal not displayed */

DaiBin is the compiled bytecode used for deploying new contracts.

View Source
var DaiFuncSigs = map[string]string{
	"3644e515": "DOMAIN_SEPARATOR()",
	"30adf81f": "PERMIT_TYPEHASH()",
	"dd62ed3e": "allowance(address,address)",
	"095ea7b3": "approve(address,uint256)",
	"70a08231": "balanceOf(address)",
	"9dc29fac": "burn(address,uint256)",
	"313ce567": "decimals()",
	"9c52a7f1": "deny(address)",
	"40c10f19": "mint(address,uint256)",
	"bb35783b": "move(address,address,uint256)",
	"06fdde03": "name()",
	"7ecebe00": "nonces(address)",
	"8fcbaf0c": "permit(address,address,uint256,uint256,bool,uint8,bytes32,bytes32)",
	"f2d5d56b": "pull(address,uint256)",
	"b753a98c": "push(address,uint256)",
	"65fae35e": "rely(address)",
	"95d89b41": "symbol()",
	"18160ddd": "totalSupply()",
	"a9059cbb": "transfer(address,uint256)",
	"23b872dd": "transferFrom(address,address,uint256)",
	"54fd4d50": "version()",
	"bf353dbb": "wards(address)",
}

DaiFuncSigs maps the 4-byte function signature to its string representation.

View Source
var (
	DefaultGasLimit = 5000000
)
View Source
var DetailedERC20FuncSigs = map[string]string{
	"dd62ed3e": "allowance(address,address)",
	"095ea7b3": "approve(address,uint256)",
	"70a08231": "balanceOf(address)",
	"313ce567": "decimals()",
	"06fdde03": "name()",
	"95d89b41": "symbol()",
	"18160ddd": "totalSupply()",
	"a9059cbb": "transfer(address,uint256)",
	"23b872dd": "transferFrom(address,address,uint256)",
}

DetailedERC20FuncSigs maps the 4-byte function signature to its string representation.

View Source
var ERC20BasicFuncSigs = map[string]string{
	"70a08231": "balanceOf(address)",
	"18160ddd": "totalSupply()",
	"a9059cbb": "transfer(address,uint256)",
}

ERC20BasicFuncSigs maps the 4-byte function signature to its string representation.

View Source
var ERC20FuncSigs = map[string]string{
	"dd62ed3e": "allowance(address,address)",
	"095ea7b3": "approve(address,uint256)",
	"70a08231": "balanceOf(address)",
	"18160ddd": "totalSupply()",
	"a9059cbb": "transfer(address,uint256)",
	"23b872dd": "transferFrom(address,address,uint256)",
}

ERC20FuncSigs maps the 4-byte function signature to its string representation.

View Source
var LibNoteBin = "" /* 166-byte string literal not displayed */

LibNoteBin is the compiled bytecode used for deploying new contracts.

View Source
var MintableTokenBin = "" /* 5530-byte string literal not displayed */

MintableTokenBin is the compiled bytecode used for deploying new contracts.

View Source
var MintableTokenFuncSigs = map[string]string{
	"dd62ed3e": "allowance(address,address)",
	"095ea7b3": "approve(address,uint256)",
	"70a08231": "balanceOf(address)",
	"66188463": "decreaseApproval(address,uint256)",
	"7d64bcb4": "finishMinting()",
	"d73dd623": "increaseApproval(address,uint256)",
	"40c10f19": "mint(address,uint256)",
	"05d2035b": "mintingFinished()",
	"8da5cb5b": "owner()",
	"715018a6": "renounceOwnership()",
	"18160ddd": "totalSupply()",
	"a9059cbb": "transfer(address,uint256)",
	"23b872dd": "transferFrom(address,address,uint256)",
	"f2fde38b": "transferOwnership(address)",
}

MintableTokenFuncSigs maps the 4-byte function signature to its string representation.

View Source
var OwnableBin = "" /* 1148-byte string literal not displayed */

OwnableBin is the compiled bytecode used for deploying new contracts.

View Source
var OwnableContractBin = "" /* 2236-byte string literal not displayed */

OwnableContractBin is the compiled bytecode used for deploying new contracts.

View Source
var OwnableContractFuncSigs = map[string]string{
	"4e71e0c8": "claimOwnership()",
	"8da5cb5b": "owner()",
	"e30c3978": "pendingOwner()",
	"17ffc320": "reclaimToken(address)",
	"715018a6": "renounceOwnership()",
	"f2fde38b": "transferOwnership(address)",
}

OwnableContractFuncSigs maps the 4-byte function signature to its string representation.

View Source
var OwnableFuncSigs = map[string]string{
	"8da5cb5b": "owner()",
	"715018a6": "renounceOwnership()",
	"f2fde38b": "transferOwnership(address)",
}

OwnableFuncSigs maps the 4-byte function signature to its string representation.

View Source
var PausableBin = "" /* 2004-byte string literal not displayed */

PausableBin is the compiled bytecode used for deploying new contracts.

View Source
var PausableFuncSigs = map[string]string{
	"8da5cb5b": "owner()",
	"8456cb59": "pause()",
	"5c975abb": "paused()",
	"715018a6": "renounceOwnership()",
	"f2fde38b": "transferOwnership(address)",
	"3f4ba83a": "unpause()",
}

PausableFuncSigs maps the 4-byte function signature to its string representation.

View Source
var PausableTokenBin = "" /* 5450-byte string literal not displayed */

PausableTokenBin is the compiled bytecode used for deploying new contracts.

View Source
var PausableTokenFuncSigs = map[string]string{
	"dd62ed3e": "allowance(address,address)",
	"095ea7b3": "approve(address,uint256)",
	"70a08231": "balanceOf(address)",
	"66188463": "decreaseApproval(address,uint256)",
	"d73dd623": "increaseApproval(address,uint256)",
	"8da5cb5b": "owner()",
	"8456cb59": "pause()",
	"5c975abb": "paused()",
	"715018a6": "renounceOwnership()",
	"18160ddd": "totalSupply()",
	"a9059cbb": "transfer(address,uint256)",
	"23b872dd": "transferFrom(address,address,uint256)",
	"f2fde38b": "transferOwnership(address)",
	"3f4ba83a": "unpause()",
}

PausableTokenFuncSigs maps the 4-byte function signature to its string representation.

View Source
var SafeERC20Bin = "" /* 242-byte string literal not displayed */

SafeERC20Bin is the compiled bytecode used for deploying new contracts.

View Source
var SafeMathBin = "" /* 242-byte string literal not displayed */

SafeMathBin is the compiled bytecode used for deploying new contracts.

View Source
var StandardTokenBin = "" /* 3486-byte string literal not displayed */

StandardTokenBin is the compiled bytecode used for deploying new contracts.

View Source
var StandardTokenFuncSigs = map[string]string{
	"dd62ed3e": "allowance(address,address)",
	"095ea7b3": "approve(address,uint256)",
	"70a08231": "balanceOf(address)",
	"66188463": "decreaseApproval(address,uint256)",
	"d73dd623": "increaseApproval(address,uint256)",
	"18160ddd": "totalSupply()",
	"a9059cbb": "transfer(address,uint256)",
	"23b872dd": "transferFrom(address,address,uint256)",
}

StandardTokenFuncSigs maps the 4-byte function signature to its string representation.

View Source
var WBTCBin = "" /* 9926-byte string literal not displayed */

WBTCBin is the compiled bytecode used for deploying new contracts.

View Source
var WBTCFuncSigs = map[string]string{
	"dd62ed3e": "allowance(address,address)",
	"095ea7b3": "approve(address,uint256)",
	"70a08231": "balanceOf(address)",
	"42966c68": "burn(uint256)",
	"4e71e0c8": "claimOwnership()",
	"313ce567": "decimals()",
	"66188463": "decreaseApproval(address,uint256)",
	"7d64bcb4": "finishMinting()",
	"d73dd623": "increaseApproval(address,uint256)",
	"40c10f19": "mint(address,uint256)",
	"05d2035b": "mintingFinished()",
	"06fdde03": "name()",
	"8da5cb5b": "owner()",
	"8456cb59": "pause()",
	"5c975abb": "paused()",
	"e30c3978": "pendingOwner()",
	"17ffc320": "reclaimToken(address)",
	"715018a6": "renounceOwnership()",
	"95d89b41": "symbol()",
	"18160ddd": "totalSupply()",
	"a9059cbb": "transfer(address,uint256)",
	"23b872dd": "transferFrom(address,address,uint256)",
	"f2fde38b": "transferOwnership(address)",
	"3f4ba83a": "unpause()",
}

WBTCFuncSigs maps the 4-byte function signature to its string representation.

Functions

func DeserializeTx

func DeserializeTx(rawTx string) (*types.Transaction, error)

func EncodeBigInt

func EncodeBigInt(b *big.Int) string

func NewKeyedTransactorWithChainID

func NewKeyedTransactorWithChainID(key *ecdsa.PrivateKey, chainID *big.Int) (*bind.TransactOpts, error)

func ReverseOntAddress

func ReverseOntAddress(ontAddress string) string

func SerializeTx

func SerializeTx(tx *types.Transaction) (string, error)

Types

type BasicToken

type BasicToken struct {
	BasicTokenCaller     // Read-only binding to the contract
	BasicTokenTransactor // Write-only binding to the contract
	BasicTokenFilterer   // Log filterer for contract events
}

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

func DeployBasicToken

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

DeployBasicToken deploys a new Ethereum contract, binding an instance of BasicToken to it.

func NewBasicToken

func NewBasicToken(address common.Address, backend bind.ContractBackend) (*BasicToken, error)

NewBasicToken creates a new instance of BasicToken, bound to a specific deployed contract.

type BasicTokenCaller

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

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

func NewBasicTokenCaller

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

NewBasicTokenCaller creates a new read-only instance of BasicToken, bound to a specific deployed contract.

func (*BasicTokenCaller) BalanceOf

func (_BasicToken *BasicTokenCaller) 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) view returns(uint256)

func (*BasicTokenCaller) TotalSupply

func (_BasicToken *BasicTokenCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type BasicTokenCallerRaw

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

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

func (*BasicTokenCallerRaw) Call

func (_BasicToken *BasicTokenCallerRaw) 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 BasicTokenCallerSession

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

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

func (*BasicTokenCallerSession) BalanceOf

func (_BasicToken *BasicTokenCallerSession) BalanceOf(_owner common.Address) (*big.Int, error)

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

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

func (*BasicTokenCallerSession) TotalSupply

func (_BasicToken *BasicTokenCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type BasicTokenFilterer

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

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

func NewBasicTokenFilterer

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

NewBasicTokenFilterer creates a new log filterer instance of BasicToken, bound to a specific deployed contract.

func (*BasicTokenFilterer) FilterTransfer

func (_BasicToken *BasicTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*BasicTokenTransferIterator, 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 (*BasicTokenFilterer) ParseTransfer

func (_BasicToken *BasicTokenFilterer) ParseTransfer(log types.Log) (*BasicTokenTransfer, error)

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

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

func (*BasicTokenFilterer) WatchTransfer

func (_BasicToken *BasicTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *BasicTokenTransfer, 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 BasicTokenRaw

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

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

func (*BasicTokenRaw) Call

func (_BasicToken *BasicTokenRaw) 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 (*BasicTokenRaw) Transact

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

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

func (*BasicTokenRaw) Transfer

func (_BasicToken *BasicTokenRaw) 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 BasicTokenSession

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

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

func (*BasicTokenSession) BalanceOf

func (_BasicToken *BasicTokenSession) BalanceOf(_owner common.Address) (*big.Int, error)

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

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

func (*BasicTokenSession) TotalSupply

func (_BasicToken *BasicTokenSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*BasicTokenSession) Transfer

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

type BasicTokenTransactor

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

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

func NewBasicTokenTransactor

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

NewBasicTokenTransactor creates a new write-only instance of BasicToken, bound to a specific deployed contract.

func (*BasicTokenTransactor) Transfer

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

type BasicTokenTransactorRaw

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

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

func (*BasicTokenTransactorRaw) Transact

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

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

func (*BasicTokenTransactorRaw) Transfer

func (_BasicToken *BasicTokenTransactorRaw) 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 BasicTokenTransactorSession

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

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

func (*BasicTokenTransactorSession) Transfer

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

type BasicTokenTransfer

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

BasicTokenTransfer represents a Transfer event raised by the BasicToken contract.

type BasicTokenTransferIterator

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

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

func (*BasicTokenTransferIterator) Close

func (it *BasicTokenTransferIterator) Close() error

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

func (*BasicTokenTransferIterator) Error

func (it *BasicTokenTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BasicTokenTransferIterator) Next

func (it *BasicTokenTransferIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BlockRep

type BlockRep struct {
	JsonRPC string        `json:"jsonrpc"`
	Result  *types.Header `json:"result"`
	Id      uint          `json:"id"`
}

type BlockReq

type BlockReq struct {
	JsonRpc string        `json:"jsonrpc"`
	Method  string        `json:"method"`
	Params  []interface{} `json:"params"`
	Id      uint          `json:"id"`
}

type BurnableToken

type BurnableToken struct {
	BurnableTokenCaller     // Read-only binding to the contract
	BurnableTokenTransactor // Write-only binding to the contract
	BurnableTokenFilterer   // Log filterer for contract events
}

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

func DeployBurnableToken

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

DeployBurnableToken deploys a new Ethereum contract, binding an instance of BurnableToken to it.

func NewBurnableToken

func NewBurnableToken(address common.Address, backend bind.ContractBackend) (*BurnableToken, error)

NewBurnableToken creates a new instance of BurnableToken, bound to a specific deployed contract.

type BurnableTokenBurn

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

BurnableTokenBurn represents a Burn event raised by the BurnableToken contract.

type BurnableTokenBurnIterator

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

BurnableTokenBurnIterator is returned from FilterBurn and is used to iterate over the raw logs and unpacked data for Burn events raised by the BurnableToken contract.

func (*BurnableTokenBurnIterator) Close

func (it *BurnableTokenBurnIterator) Close() error

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

func (*BurnableTokenBurnIterator) Error

func (it *BurnableTokenBurnIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BurnableTokenBurnIterator) Next

func (it *BurnableTokenBurnIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BurnableTokenCaller

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

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

func NewBurnableTokenCaller

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

NewBurnableTokenCaller creates a new read-only instance of BurnableToken, bound to a specific deployed contract.

func (*BurnableTokenCaller) BalanceOf

func (_BurnableToken *BurnableTokenCaller) 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) view returns(uint256)

func (*BurnableTokenCaller) TotalSupply

func (_BurnableToken *BurnableTokenCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type BurnableTokenCallerRaw

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

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

func (*BurnableTokenCallerRaw) Call

func (_BurnableToken *BurnableTokenCallerRaw) 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 BurnableTokenCallerSession

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

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

func (*BurnableTokenCallerSession) BalanceOf

func (_BurnableToken *BurnableTokenCallerSession) BalanceOf(_owner common.Address) (*big.Int, error)

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

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

func (*BurnableTokenCallerSession) TotalSupply

func (_BurnableToken *BurnableTokenCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type BurnableTokenFilterer

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

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

func NewBurnableTokenFilterer

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

NewBurnableTokenFilterer creates a new log filterer instance of BurnableToken, bound to a specific deployed contract.

func (*BurnableTokenFilterer) FilterBurn

func (_BurnableToken *BurnableTokenFilterer) FilterBurn(opts *bind.FilterOpts, burner []common.Address) (*BurnableTokenBurnIterator, error)

FilterBurn is a free log retrieval operation binding the contract event 0xcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5.

Solidity: event Burn(address indexed burner, uint256 value)

func (*BurnableTokenFilterer) FilterTransfer

func (_BurnableToken *BurnableTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*BurnableTokenTransferIterator, 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 (*BurnableTokenFilterer) ParseBurn

func (_BurnableToken *BurnableTokenFilterer) ParseBurn(log types.Log) (*BurnableTokenBurn, error)

ParseBurn is a log parse operation binding the contract event 0xcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5.

Solidity: event Burn(address indexed burner, uint256 value)

func (*BurnableTokenFilterer) ParseTransfer

func (_BurnableToken *BurnableTokenFilterer) ParseTransfer(log types.Log) (*BurnableTokenTransfer, error)

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

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

func (*BurnableTokenFilterer) WatchBurn

func (_BurnableToken *BurnableTokenFilterer) WatchBurn(opts *bind.WatchOpts, sink chan<- *BurnableTokenBurn, burner []common.Address) (event.Subscription, error)

WatchBurn is a free log subscription operation binding the contract event 0xcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5.

Solidity: event Burn(address indexed burner, uint256 value)

func (*BurnableTokenFilterer) WatchTransfer

func (_BurnableToken *BurnableTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *BurnableTokenTransfer, 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 BurnableTokenRaw

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

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

func (*BurnableTokenRaw) Call

func (_BurnableToken *BurnableTokenRaw) 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 (*BurnableTokenRaw) Transact

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

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

func (*BurnableTokenRaw) Transfer

func (_BurnableToken *BurnableTokenRaw) 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 BurnableTokenSession

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

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

func (*BurnableTokenSession) BalanceOf

func (_BurnableToken *BurnableTokenSession) BalanceOf(_owner common.Address) (*big.Int, error)

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

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

func (*BurnableTokenSession) Burn

func (_BurnableToken *BurnableTokenSession) Burn(_value *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x42966c68.

Solidity: function burn(uint256 _value) returns()

func (*BurnableTokenSession) TotalSupply

func (_BurnableToken *BurnableTokenSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*BurnableTokenSession) Transfer

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

type BurnableTokenTransactor

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

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

func NewBurnableTokenTransactor

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

NewBurnableTokenTransactor creates a new write-only instance of BurnableToken, bound to a specific deployed contract.

func (*BurnableTokenTransactor) Burn

func (_BurnableToken *BurnableTokenTransactor) Burn(opts *bind.TransactOpts, _value *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x42966c68.

Solidity: function burn(uint256 _value) returns()

func (*BurnableTokenTransactor) Transfer

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

type BurnableTokenTransactorRaw

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

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

func (*BurnableTokenTransactorRaw) Transact

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

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

func (*BurnableTokenTransactorRaw) Transfer

func (_BurnableToken *BurnableTokenTransactorRaw) 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 BurnableTokenTransactorSession

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

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

func (*BurnableTokenTransactorSession) Burn

func (_BurnableToken *BurnableTokenTransactorSession) Burn(_value *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x42966c68.

Solidity: function burn(uint256 _value) returns()

func (*BurnableTokenTransactorSession) Transfer

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

type BurnableTokenTransfer

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

BurnableTokenTransfer represents a Transfer event raised by the BurnableToken contract.

type BurnableTokenTransferIterator

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

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

func (*BurnableTokenTransferIterator) Close

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

func (*BurnableTokenTransferIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

type CanReclaimToken struct {
	CanReclaimTokenCaller     // Read-only binding to the contract
	CanReclaimTokenTransactor // Write-only binding to the contract
	CanReclaimTokenFilterer   // Log filterer for contract events
}

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

func DeployCanReclaimToken

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

DeployCanReclaimToken deploys a new Ethereum contract, binding an instance of CanReclaimToken to it.

func NewCanReclaimToken

func NewCanReclaimToken(address common.Address, backend bind.ContractBackend) (*CanReclaimToken, error)

NewCanReclaimToken creates a new instance of CanReclaimToken, bound to a specific deployed contract.

type CanReclaimTokenCaller

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

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

func NewCanReclaimTokenCaller

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

NewCanReclaimTokenCaller creates a new read-only instance of CanReclaimToken, bound to a specific deployed contract.

func (*CanReclaimTokenCaller) Owner

func (_CanReclaimToken *CanReclaimTokenCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() view returns(address)

type CanReclaimTokenCallerRaw

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

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

func (*CanReclaimTokenCallerRaw) Call

func (_CanReclaimToken *CanReclaimTokenCallerRaw) 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 CanReclaimTokenCallerSession

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

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

func (*CanReclaimTokenCallerSession) Owner

func (_CanReclaimToken *CanReclaimTokenCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

type CanReclaimTokenFilterer

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

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

func NewCanReclaimTokenFilterer

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

NewCanReclaimTokenFilterer creates a new log filterer instance of CanReclaimToken, bound to a specific deployed contract.

func (*CanReclaimTokenFilterer) FilterOwnershipRenounced

func (_CanReclaimToken *CanReclaimTokenFilterer) FilterOwnershipRenounced(opts *bind.FilterOpts, previousOwner []common.Address) (*CanReclaimTokenOwnershipRenouncedIterator, error)

FilterOwnershipRenounced is a free log retrieval operation binding the contract event 0xf8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c64820.

Solidity: event OwnershipRenounced(address indexed previousOwner)

func (*CanReclaimTokenFilterer) FilterOwnershipTransferred

func (_CanReclaimToken *CanReclaimTokenFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*CanReclaimTokenOwnershipTransferredIterator, error)

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

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

func (*CanReclaimTokenFilterer) ParseOwnershipRenounced

func (_CanReclaimToken *CanReclaimTokenFilterer) ParseOwnershipRenounced(log types.Log) (*CanReclaimTokenOwnershipRenounced, error)

ParseOwnershipRenounced is a log parse operation binding the contract event 0xf8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c64820.

Solidity: event OwnershipRenounced(address indexed previousOwner)

func (*CanReclaimTokenFilterer) ParseOwnershipTransferred

func (_CanReclaimToken *CanReclaimTokenFilterer) ParseOwnershipTransferred(log types.Log) (*CanReclaimTokenOwnershipTransferred, error)

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

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

func (*CanReclaimTokenFilterer) WatchOwnershipRenounced

func (_CanReclaimToken *CanReclaimTokenFilterer) WatchOwnershipRenounced(opts *bind.WatchOpts, sink chan<- *CanReclaimTokenOwnershipRenounced, previousOwner []common.Address) (event.Subscription, error)

WatchOwnershipRenounced is a free log subscription operation binding the contract event 0xf8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c64820.

Solidity: event OwnershipRenounced(address indexed previousOwner)

func (*CanReclaimTokenFilterer) WatchOwnershipTransferred

func (_CanReclaimToken *CanReclaimTokenFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *CanReclaimTokenOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

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

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

type CanReclaimTokenOwnershipRenounced

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

CanReclaimTokenOwnershipRenounced represents a OwnershipRenounced event raised by the CanReclaimToken contract.

type CanReclaimTokenOwnershipRenouncedIterator

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

CanReclaimTokenOwnershipRenouncedIterator is returned from FilterOwnershipRenounced and is used to iterate over the raw logs and unpacked data for OwnershipRenounced events raised by the CanReclaimToken contract.

func (*CanReclaimTokenOwnershipRenouncedIterator) Close

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

func (*CanReclaimTokenOwnershipRenouncedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

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

CanReclaimTokenOwnershipTransferred represents a OwnershipTransferred event raised by the CanReclaimToken contract.

type CanReclaimTokenOwnershipTransferredIterator

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

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

func (*CanReclaimTokenOwnershipTransferredIterator) Close

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

func (*CanReclaimTokenOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

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

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

func (*CanReclaimTokenRaw) Call

func (_CanReclaimToken *CanReclaimTokenRaw) 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 (*CanReclaimTokenRaw) Transact

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

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

func (*CanReclaimTokenRaw) Transfer

func (_CanReclaimToken *CanReclaimTokenRaw) 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 CanReclaimTokenSession

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

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

func (*CanReclaimTokenSession) Owner

func (_CanReclaimToken *CanReclaimTokenSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*CanReclaimTokenSession) ReclaimToken

func (_CanReclaimToken *CanReclaimTokenSession) ReclaimToken(_token common.Address) (*types.Transaction, error)

ReclaimToken is a paid mutator transaction binding the contract method 0x17ffc320.

Solidity: function reclaimToken(address _token) returns()

func (*CanReclaimTokenSession) RenounceOwnership

func (_CanReclaimToken *CanReclaimTokenSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*CanReclaimTokenSession) TransferOwnership

func (_CanReclaimToken *CanReclaimTokenSession) 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 CanReclaimTokenTransactor

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

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

func NewCanReclaimTokenTransactor

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

NewCanReclaimTokenTransactor creates a new write-only instance of CanReclaimToken, bound to a specific deployed contract.

func (*CanReclaimTokenTransactor) ReclaimToken

func (_CanReclaimToken *CanReclaimTokenTransactor) ReclaimToken(opts *bind.TransactOpts, _token common.Address) (*types.Transaction, error)

ReclaimToken is a paid mutator transaction binding the contract method 0x17ffc320.

Solidity: function reclaimToken(address _token) returns()

func (*CanReclaimTokenTransactor) RenounceOwnership

func (_CanReclaimToken *CanReclaimTokenTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*CanReclaimTokenTransactor) TransferOwnership

func (_CanReclaimToken *CanReclaimTokenTransactor) 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 CanReclaimTokenTransactorRaw

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

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

func (*CanReclaimTokenTransactorRaw) Transact

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

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

func (*CanReclaimTokenTransactorRaw) Transfer

func (_CanReclaimToken *CanReclaimTokenTransactorRaw) 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 CanReclaimTokenTransactorSession

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

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

func (*CanReclaimTokenTransactorSession) ReclaimToken

func (_CanReclaimToken *CanReclaimTokenTransactorSession) ReclaimToken(_token common.Address) (*types.Transaction, error)

ReclaimToken is a paid mutator transaction binding the contract method 0x17ffc320.

Solidity: function reclaimToken(address _token) returns()

func (*CanReclaimTokenTransactorSession) RenounceOwnership

func (_CanReclaimToken *CanReclaimTokenTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*CanReclaimTokenTransactorSession) TransferOwnership

func (_CanReclaimToken *CanReclaimTokenTransactorSession) 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 Claimable

type Claimable struct {
	ClaimableCaller     // Read-only binding to the contract
	ClaimableTransactor // Write-only binding to the contract
	ClaimableFilterer   // Log filterer for contract events
}

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

func DeployClaimable

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

DeployClaimable deploys a new Ethereum contract, binding an instance of Claimable to it.

func NewClaimable

func NewClaimable(address common.Address, backend bind.ContractBackend) (*Claimable, error)

NewClaimable creates a new instance of Claimable, bound to a specific deployed contract.

type ClaimableCaller

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

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

func NewClaimableCaller

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

NewClaimableCaller creates a new read-only instance of Claimable, bound to a specific deployed contract.

func (*ClaimableCaller) Owner

func (_Claimable *ClaimableCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*ClaimableCaller) PendingOwner

func (_Claimable *ClaimableCaller) PendingOwner(opts *bind.CallOpts) (common.Address, error)

PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.

Solidity: function pendingOwner() view returns(address)

type ClaimableCallerRaw

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

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

func (*ClaimableCallerRaw) Call

func (_Claimable *ClaimableCallerRaw) 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 ClaimableCallerSession

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

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

func (*ClaimableCallerSession) Owner

func (_Claimable *ClaimableCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*ClaimableCallerSession) PendingOwner

func (_Claimable *ClaimableCallerSession) PendingOwner() (common.Address, error)

PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.

Solidity: function pendingOwner() view returns(address)

type ClaimableFilterer

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

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

func NewClaimableFilterer

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

NewClaimableFilterer creates a new log filterer instance of Claimable, bound to a specific deployed contract.

func (*ClaimableFilterer) FilterOwnershipRenounced

func (_Claimable *ClaimableFilterer) FilterOwnershipRenounced(opts *bind.FilterOpts, previousOwner []common.Address) (*ClaimableOwnershipRenouncedIterator, error)

FilterOwnershipRenounced is a free log retrieval operation binding the contract event 0xf8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c64820.

Solidity: event OwnershipRenounced(address indexed previousOwner)

func (*ClaimableFilterer) FilterOwnershipTransferred

func (_Claimable *ClaimableFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*ClaimableOwnershipTransferredIterator, error)

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

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

func (*ClaimableFilterer) ParseOwnershipRenounced

func (_Claimable *ClaimableFilterer) ParseOwnershipRenounced(log types.Log) (*ClaimableOwnershipRenounced, error)

ParseOwnershipRenounced is a log parse operation binding the contract event 0xf8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c64820.

Solidity: event OwnershipRenounced(address indexed previousOwner)

func (*ClaimableFilterer) ParseOwnershipTransferred

func (_Claimable *ClaimableFilterer) ParseOwnershipTransferred(log types.Log) (*ClaimableOwnershipTransferred, error)

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

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

func (*ClaimableFilterer) WatchOwnershipRenounced

func (_Claimable *ClaimableFilterer) WatchOwnershipRenounced(opts *bind.WatchOpts, sink chan<- *ClaimableOwnershipRenounced, previousOwner []common.Address) (event.Subscription, error)

WatchOwnershipRenounced is a free log subscription operation binding the contract event 0xf8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c64820.

Solidity: event OwnershipRenounced(address indexed previousOwner)

func (*ClaimableFilterer) WatchOwnershipTransferred

func (_Claimable *ClaimableFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ClaimableOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

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

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

type ClaimableOwnershipRenounced

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

ClaimableOwnershipRenounced represents a OwnershipRenounced event raised by the Claimable contract.

type ClaimableOwnershipRenouncedIterator

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

ClaimableOwnershipRenouncedIterator is returned from FilterOwnershipRenounced and is used to iterate over the raw logs and unpacked data for OwnershipRenounced events raised by the Claimable contract.

func (*ClaimableOwnershipRenouncedIterator) Close

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

func (*ClaimableOwnershipRenouncedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

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

ClaimableOwnershipTransferred represents a OwnershipTransferred event raised by the Claimable contract.

type ClaimableOwnershipTransferredIterator

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

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

func (*ClaimableOwnershipTransferredIterator) Close

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

func (*ClaimableOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

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

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

func (*ClaimableRaw) Call

func (_Claimable *ClaimableRaw) 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 (*ClaimableRaw) Transact

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

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

func (*ClaimableRaw) Transfer

func (_Claimable *ClaimableRaw) 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 ClaimableSession

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

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

func (*ClaimableSession) ClaimOwnership

func (_Claimable *ClaimableSession) ClaimOwnership() (*types.Transaction, error)

ClaimOwnership is a paid mutator transaction binding the contract method 0x4e71e0c8.

Solidity: function claimOwnership() returns()

func (*ClaimableSession) Owner

func (_Claimable *ClaimableSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*ClaimableSession) PendingOwner

func (_Claimable *ClaimableSession) PendingOwner() (common.Address, error)

PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.

Solidity: function pendingOwner() view returns(address)

func (*ClaimableSession) RenounceOwnership

func (_Claimable *ClaimableSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*ClaimableSession) TransferOwnership

func (_Claimable *ClaimableSession) 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 ClaimableTransactor

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

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

func NewClaimableTransactor

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

NewClaimableTransactor creates a new write-only instance of Claimable, bound to a specific deployed contract.

func (*ClaimableTransactor) ClaimOwnership

func (_Claimable *ClaimableTransactor) ClaimOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

ClaimOwnership is a paid mutator transaction binding the contract method 0x4e71e0c8.

Solidity: function claimOwnership() returns()

func (*ClaimableTransactor) RenounceOwnership

func (_Claimable *ClaimableTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*ClaimableTransactor) TransferOwnership

func (_Claimable *ClaimableTransactor) 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 ClaimableTransactorRaw

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

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

func (*ClaimableTransactorRaw) Transact

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

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

func (*ClaimableTransactorRaw) Transfer

func (_Claimable *ClaimableTransactorRaw) 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 ClaimableTransactorSession

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

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

func (*ClaimableTransactorSession) ClaimOwnership

func (_Claimable *ClaimableTransactorSession) ClaimOwnership() (*types.Transaction, error)

ClaimOwnership is a paid mutator transaction binding the contract method 0x4e71e0c8.

Solidity: function claimOwnership() returns()

func (*ClaimableTransactorSession) RenounceOwnership

func (_Claimable *ClaimableTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*ClaimableTransactorSession) TransferOwnership

func (_Claimable *ClaimableTransactorSession) 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 Dai

type Dai struct {
	DaiCaller     // Read-only binding to the contract
	DaiTransactor // Write-only binding to the contract
	DaiFilterer   // Log filterer for contract events
}

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

func DeployDai

func DeployDai(auth *bind.TransactOpts, backend bind.ContractBackend, chainId_ *big.Int) (common.Address, *types.Transaction, *Dai, error)

DeployDai deploys a new Ethereum contract, binding an instance of Dai to it.

func NewDai

func NewDai(address common.Address, backend bind.ContractBackend) (*Dai, error)

NewDai creates a new instance of Dai, bound to a specific deployed contract.

type DaiApproval

type DaiApproval struct {
	Src common.Address
	Guy common.Address
	Wad *big.Int
	Raw types.Log // Blockchain specific contextual infos
}

DaiApproval represents a Approval event raised by the Dai contract.

type DaiApprovalIterator

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

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

func (*DaiApprovalIterator) Close

func (it *DaiApprovalIterator) Close() error

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

func (*DaiApprovalIterator) Error

func (it *DaiApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*DaiApprovalIterator) Next

func (it *DaiApprovalIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type DaiCaller

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

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

func NewDaiCaller

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

NewDaiCaller creates a new read-only instance of Dai, bound to a specific deployed contract.

func (*DaiCaller) Allowance

func (_Dai *DaiCaller) Allowance(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)

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

Solidity: function allowance(address , address ) view returns(uint256)

func (*DaiCaller) BalanceOf

func (_Dai *DaiCaller) BalanceOf(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

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

Solidity: function balanceOf(address ) view returns(uint256)

func (*DaiCaller) DOMAINSEPARATOR

func (_Dai *DaiCaller) DOMAINSEPARATOR(opts *bind.CallOpts) ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*DaiCaller) Decimals

func (_Dai *DaiCaller) Decimals(opts *bind.CallOpts) (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*DaiCaller) Name

func (_Dai *DaiCaller) Name(opts *bind.CallOpts) (string, error)

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

Solidity: function name() view returns(string)

func (*DaiCaller) Nonces

func (_Dai *DaiCaller) Nonces(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces(address ) view returns(uint256)

func (*DaiCaller) PERMITTYPEHASH

func (_Dai *DaiCaller) PERMITTYPEHASH(opts *bind.CallOpts) ([32]byte, error)

PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f.

Solidity: function PERMIT_TYPEHASH() view returns(bytes32)

func (*DaiCaller) Symbol

func (_Dai *DaiCaller) Symbol(opts *bind.CallOpts) (string, error)

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

Solidity: function symbol() view returns(string)

func (*DaiCaller) TotalSupply

func (_Dai *DaiCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*DaiCaller) Version

func (_Dai *DaiCaller) Version(opts *bind.CallOpts) (string, error)

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

Solidity: function version() view returns(string)

func (*DaiCaller) Wards

func (_Dai *DaiCaller) Wards(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

Wards is a free data retrieval call binding the contract method 0xbf353dbb.

Solidity: function wards(address ) view returns(uint256)

type DaiCallerRaw

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

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

func (*DaiCallerRaw) Call

func (_Dai *DaiCallerRaw) 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 DaiCallerSession

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

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

func (*DaiCallerSession) Allowance

func (_Dai *DaiCallerSession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)

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

Solidity: function allowance(address , address ) view returns(uint256)

func (*DaiCallerSession) BalanceOf

func (_Dai *DaiCallerSession) BalanceOf(arg0 common.Address) (*big.Int, error)

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

Solidity: function balanceOf(address ) view returns(uint256)

func (*DaiCallerSession) DOMAINSEPARATOR

func (_Dai *DaiCallerSession) DOMAINSEPARATOR() ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*DaiCallerSession) Decimals

func (_Dai *DaiCallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*DaiCallerSession) Name

func (_Dai *DaiCallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*DaiCallerSession) Nonces

func (_Dai *DaiCallerSession) Nonces(arg0 common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces(address ) view returns(uint256)

func (*DaiCallerSession) PERMITTYPEHASH

func (_Dai *DaiCallerSession) PERMITTYPEHASH() ([32]byte, error)

PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f.

Solidity: function PERMIT_TYPEHASH() view returns(bytes32)

func (*DaiCallerSession) Symbol

func (_Dai *DaiCallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*DaiCallerSession) TotalSupply

func (_Dai *DaiCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*DaiCallerSession) Version

func (_Dai *DaiCallerSession) Version() (string, error)

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

Solidity: function version() view returns(string)

func (*DaiCallerSession) Wards

func (_Dai *DaiCallerSession) Wards(arg0 common.Address) (*big.Int, error)

Wards is a free data retrieval call binding the contract method 0xbf353dbb.

Solidity: function wards(address ) view returns(uint256)

type DaiFilterer

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

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

func NewDaiFilterer

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

NewDaiFilterer creates a new log filterer instance of Dai, bound to a specific deployed contract.

func (*DaiFilterer) FilterApproval

func (_Dai *DaiFilterer) FilterApproval(opts *bind.FilterOpts, src []common.Address, guy []common.Address) (*DaiApprovalIterator, error)

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

Solidity: event Approval(address indexed src, address indexed guy, uint256 wad)

func (*DaiFilterer) FilterTransfer

func (_Dai *DaiFilterer) FilterTransfer(opts *bind.FilterOpts, src []common.Address, dst []common.Address) (*DaiTransferIterator, error)

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

Solidity: event Transfer(address indexed src, address indexed dst, uint256 wad)

func (*DaiFilterer) ParseApproval

func (_Dai *DaiFilterer) ParseApproval(log types.Log) (*DaiApproval, error)

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

Solidity: event Approval(address indexed src, address indexed guy, uint256 wad)

func (*DaiFilterer) ParseTransfer

func (_Dai *DaiFilterer) ParseTransfer(log types.Log) (*DaiTransfer, error)

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

Solidity: event Transfer(address indexed src, address indexed dst, uint256 wad)

func (*DaiFilterer) WatchApproval

func (_Dai *DaiFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *DaiApproval, src []common.Address, guy []common.Address) (event.Subscription, error)

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

Solidity: event Approval(address indexed src, address indexed guy, uint256 wad)

func (*DaiFilterer) WatchTransfer

func (_Dai *DaiFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *DaiTransfer, src []common.Address, dst []common.Address) (event.Subscription, error)

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

Solidity: event Transfer(address indexed src, address indexed dst, uint256 wad)

type DaiRaw

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

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

func (*DaiRaw) Call

func (_Dai *DaiRaw) 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 (*DaiRaw) Transact

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

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

func (*DaiRaw) Transfer

func (_Dai *DaiRaw) 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 DaiSession

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

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

func (*DaiSession) Allowance

func (_Dai *DaiSession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)

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

Solidity: function allowance(address , address ) view returns(uint256)

func (*DaiSession) Approve

func (_Dai *DaiSession) Approve(usr common.Address, wad *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address usr, uint256 wad) returns(bool)

func (*DaiSession) BalanceOf

func (_Dai *DaiSession) BalanceOf(arg0 common.Address) (*big.Int, error)

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

Solidity: function balanceOf(address ) view returns(uint256)

func (*DaiSession) Burn

func (_Dai *DaiSession) Burn(usr common.Address, wad *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x9dc29fac.

Solidity: function burn(address usr, uint256 wad) returns()

func (*DaiSession) DOMAINSEPARATOR

func (_Dai *DaiSession) DOMAINSEPARATOR() ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*DaiSession) Decimals

func (_Dai *DaiSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*DaiSession) Deny

func (_Dai *DaiSession) Deny(guy common.Address) (*types.Transaction, error)

Deny is a paid mutator transaction binding the contract method 0x9c52a7f1.

Solidity: function deny(address guy) returns()

func (*DaiSession) Mint

func (_Dai *DaiSession) Mint(usr common.Address, wad *big.Int) (*types.Transaction, error)

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

Solidity: function mint(address usr, uint256 wad) returns()

func (*DaiSession) Move

func (_Dai *DaiSession) Move(src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)

Move is a paid mutator transaction binding the contract method 0xbb35783b.

Solidity: function move(address src, address dst, uint256 wad) returns()

func (*DaiSession) Name

func (_Dai *DaiSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*DaiSession) Nonces

func (_Dai *DaiSession) Nonces(arg0 common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces(address ) view returns(uint256)

func (*DaiSession) PERMITTYPEHASH

func (_Dai *DaiSession) PERMITTYPEHASH() ([32]byte, error)

PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f.

Solidity: function PERMIT_TYPEHASH() view returns(bytes32)

func (*DaiSession) Permit

func (_Dai *DaiSession) Permit(holder common.Address, spender common.Address, nonce *big.Int, expiry *big.Int, allowed bool, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0x8fcbaf0c.

Solidity: function permit(address holder, address spender, uint256 nonce, uint256 expiry, bool allowed, uint8 v, bytes32 r, bytes32 s) returns()

func (*DaiSession) Pull

func (_Dai *DaiSession) Pull(usr common.Address, wad *big.Int) (*types.Transaction, error)

Pull is a paid mutator transaction binding the contract method 0xf2d5d56b.

Solidity: function pull(address usr, uint256 wad) returns()

func (*DaiSession) Push

func (_Dai *DaiSession) Push(usr common.Address, wad *big.Int) (*types.Transaction, error)

Push is a paid mutator transaction binding the contract method 0xb753a98c.

Solidity: function push(address usr, uint256 wad) returns()

func (*DaiSession) Rely

func (_Dai *DaiSession) Rely(guy common.Address) (*types.Transaction, error)

Rely is a paid mutator transaction binding the contract method 0x65fae35e.

Solidity: function rely(address guy) returns()

func (*DaiSession) Symbol

func (_Dai *DaiSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*DaiSession) TotalSupply

func (_Dai *DaiSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*DaiSession) Transfer

func (_Dai *DaiSession) Transfer(dst common.Address, wad *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(address dst, uint256 wad) returns(bool)

func (*DaiSession) TransferFrom

func (_Dai *DaiSession) TransferFrom(src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address src, address dst, uint256 wad) returns(bool)

func (*DaiSession) Version

func (_Dai *DaiSession) Version() (string, error)

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

Solidity: function version() view returns(string)

func (*DaiSession) Wards

func (_Dai *DaiSession) Wards(arg0 common.Address) (*big.Int, error)

Wards is a free data retrieval call binding the contract method 0xbf353dbb.

Solidity: function wards(address ) view returns(uint256)

type DaiTransactor

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

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

func NewDaiTransactor

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

NewDaiTransactor creates a new write-only instance of Dai, bound to a specific deployed contract.

func (*DaiTransactor) Approve

func (_Dai *DaiTransactor) Approve(opts *bind.TransactOpts, usr common.Address, wad *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address usr, uint256 wad) returns(bool)

func (*DaiTransactor) Burn

func (_Dai *DaiTransactor) Burn(opts *bind.TransactOpts, usr common.Address, wad *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x9dc29fac.

Solidity: function burn(address usr, uint256 wad) returns()

func (*DaiTransactor) Deny

func (_Dai *DaiTransactor) Deny(opts *bind.TransactOpts, guy common.Address) (*types.Transaction, error)

Deny is a paid mutator transaction binding the contract method 0x9c52a7f1.

Solidity: function deny(address guy) returns()

func (*DaiTransactor) Mint

func (_Dai *DaiTransactor) Mint(opts *bind.TransactOpts, usr common.Address, wad *big.Int) (*types.Transaction, error)

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

Solidity: function mint(address usr, uint256 wad) returns()

func (*DaiTransactor) Move

func (_Dai *DaiTransactor) Move(opts *bind.TransactOpts, src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)

Move is a paid mutator transaction binding the contract method 0xbb35783b.

Solidity: function move(address src, address dst, uint256 wad) returns()

func (*DaiTransactor) Permit

func (_Dai *DaiTransactor) Permit(opts *bind.TransactOpts, holder common.Address, spender common.Address, nonce *big.Int, expiry *big.Int, allowed bool, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0x8fcbaf0c.

Solidity: function permit(address holder, address spender, uint256 nonce, uint256 expiry, bool allowed, uint8 v, bytes32 r, bytes32 s) returns()

func (*DaiTransactor) Pull

func (_Dai *DaiTransactor) Pull(opts *bind.TransactOpts, usr common.Address, wad *big.Int) (*types.Transaction, error)

Pull is a paid mutator transaction binding the contract method 0xf2d5d56b.

Solidity: function pull(address usr, uint256 wad) returns()

func (*DaiTransactor) Push

func (_Dai *DaiTransactor) Push(opts *bind.TransactOpts, usr common.Address, wad *big.Int) (*types.Transaction, error)

Push is a paid mutator transaction binding the contract method 0xb753a98c.

Solidity: function push(address usr, uint256 wad) returns()

func (*DaiTransactor) Rely

func (_Dai *DaiTransactor) Rely(opts *bind.TransactOpts, guy common.Address) (*types.Transaction, error)

Rely is a paid mutator transaction binding the contract method 0x65fae35e.

Solidity: function rely(address guy) returns()

func (*DaiTransactor) Transfer

func (_Dai *DaiTransactor) Transfer(opts *bind.TransactOpts, dst common.Address, wad *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(address dst, uint256 wad) returns(bool)

func (*DaiTransactor) TransferFrom

func (_Dai *DaiTransactor) TransferFrom(opts *bind.TransactOpts, src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address src, address dst, uint256 wad) returns(bool)

type DaiTransactorRaw

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

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

func (*DaiTransactorRaw) Transact

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

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

func (*DaiTransactorRaw) Transfer

func (_Dai *DaiTransactorRaw) 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 DaiTransactorSession

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

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

func (*DaiTransactorSession) Approve

func (_Dai *DaiTransactorSession) Approve(usr common.Address, wad *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address usr, uint256 wad) returns(bool)

func (*DaiTransactorSession) Burn

func (_Dai *DaiTransactorSession) Burn(usr common.Address, wad *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x9dc29fac.

Solidity: function burn(address usr, uint256 wad) returns()

func (*DaiTransactorSession) Deny

Deny is a paid mutator transaction binding the contract method 0x9c52a7f1.

Solidity: function deny(address guy) returns()

func (*DaiTransactorSession) Mint

func (_Dai *DaiTransactorSession) Mint(usr common.Address, wad *big.Int) (*types.Transaction, error)

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

Solidity: function mint(address usr, uint256 wad) returns()

func (*DaiTransactorSession) Move

func (_Dai *DaiTransactorSession) Move(src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)

Move is a paid mutator transaction binding the contract method 0xbb35783b.

Solidity: function move(address src, address dst, uint256 wad) returns()

func (*DaiTransactorSession) Permit

func (_Dai *DaiTransactorSession) Permit(holder common.Address, spender common.Address, nonce *big.Int, expiry *big.Int, allowed bool, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0x8fcbaf0c.

Solidity: function permit(address holder, address spender, uint256 nonce, uint256 expiry, bool allowed, uint8 v, bytes32 r, bytes32 s) returns()

func (*DaiTransactorSession) Pull

func (_Dai *DaiTransactorSession) Pull(usr common.Address, wad *big.Int) (*types.Transaction, error)

Pull is a paid mutator transaction binding the contract method 0xf2d5d56b.

Solidity: function pull(address usr, uint256 wad) returns()

func (*DaiTransactorSession) Push

func (_Dai *DaiTransactorSession) Push(usr common.Address, wad *big.Int) (*types.Transaction, error)

Push is a paid mutator transaction binding the contract method 0xb753a98c.

Solidity: function push(address usr, uint256 wad) returns()

func (*DaiTransactorSession) Rely

Rely is a paid mutator transaction binding the contract method 0x65fae35e.

Solidity: function rely(address guy) returns()

func (*DaiTransactorSession) Transfer

func (_Dai *DaiTransactorSession) Transfer(dst common.Address, wad *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(address dst, uint256 wad) returns(bool)

func (*DaiTransactorSession) TransferFrom

func (_Dai *DaiTransactorSession) TransferFrom(src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address src, address dst, uint256 wad) returns(bool)

type DaiTransfer

type DaiTransfer struct {
	Src common.Address
	Dst common.Address
	Wad *big.Int
	Raw types.Log // Blockchain specific contextual infos
}

DaiTransfer represents a Transfer event raised by the Dai contract.

type DaiTransferIterator

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

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

func (*DaiTransferIterator) Close

func (it *DaiTransferIterator) Close() error

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

func (*DaiTransferIterator) Error

func (it *DaiTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*DaiTransferIterator) Next

func (it *DaiTransferIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type DetailedERC20

type DetailedERC20 struct {
	DetailedERC20Caller     // Read-only binding to the contract
	DetailedERC20Transactor // Write-only binding to the contract
	DetailedERC20Filterer   // Log filterer for contract events
}

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

func NewDetailedERC20

func NewDetailedERC20(address common.Address, backend bind.ContractBackend) (*DetailedERC20, error)

NewDetailedERC20 creates a new instance of DetailedERC20, bound to a specific deployed contract.

type DetailedERC20Approval

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

DetailedERC20Approval represents a Approval event raised by the DetailedERC20 contract.

type DetailedERC20ApprovalIterator

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

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

func (*DetailedERC20ApprovalIterator) Close

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

func (*DetailedERC20ApprovalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

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

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

func NewDetailedERC20Caller

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

NewDetailedERC20Caller creates a new read-only instance of DetailedERC20, bound to a specific deployed contract.

func (*DetailedERC20Caller) Allowance

func (_DetailedERC20 *DetailedERC20Caller) 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) view returns(uint256)

func (*DetailedERC20Caller) BalanceOf

func (_DetailedERC20 *DetailedERC20Caller) BalanceOf(opts *bind.CallOpts, _who common.Address) (*big.Int, error)

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

Solidity: function balanceOf(address _who) view returns(uint256)

func (*DetailedERC20Caller) Decimals

func (_DetailedERC20 *DetailedERC20Caller) Decimals(opts *bind.CallOpts) (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*DetailedERC20Caller) Name

func (_DetailedERC20 *DetailedERC20Caller) Name(opts *bind.CallOpts) (string, error)

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

Solidity: function name() view returns(string)

func (*DetailedERC20Caller) Symbol

func (_DetailedERC20 *DetailedERC20Caller) Symbol(opts *bind.CallOpts) (string, error)

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

Solidity: function symbol() view returns(string)

func (*DetailedERC20Caller) TotalSupply

func (_DetailedERC20 *DetailedERC20Caller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type DetailedERC20CallerRaw

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

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

func (*DetailedERC20CallerRaw) Call

func (_DetailedERC20 *DetailedERC20CallerRaw) 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 DetailedERC20CallerSession

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

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

func (*DetailedERC20CallerSession) Allowance

func (_DetailedERC20 *DetailedERC20CallerSession) 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) view returns(uint256)

func (*DetailedERC20CallerSession) BalanceOf

func (_DetailedERC20 *DetailedERC20CallerSession) BalanceOf(_who common.Address) (*big.Int, error)

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

Solidity: function balanceOf(address _who) view returns(uint256)

func (*DetailedERC20CallerSession) Decimals

func (_DetailedERC20 *DetailedERC20CallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*DetailedERC20CallerSession) Name

func (_DetailedERC20 *DetailedERC20CallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*DetailedERC20CallerSession) Symbol

func (_DetailedERC20 *DetailedERC20CallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*DetailedERC20CallerSession) TotalSupply

func (_DetailedERC20 *DetailedERC20CallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type DetailedERC20Filterer

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

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

func NewDetailedERC20Filterer

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

NewDetailedERC20Filterer creates a new log filterer instance of DetailedERC20, bound to a specific deployed contract.

func (*DetailedERC20Filterer) FilterApproval

func (_DetailedERC20 *DetailedERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*DetailedERC20ApprovalIterator, 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 (*DetailedERC20Filterer) FilterTransfer

func (_DetailedERC20 *DetailedERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*DetailedERC20TransferIterator, 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 (*DetailedERC20Filterer) ParseApproval

func (_DetailedERC20 *DetailedERC20Filterer) ParseApproval(log types.Log) (*DetailedERC20Approval, error)

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

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

func (*DetailedERC20Filterer) ParseTransfer

func (_DetailedERC20 *DetailedERC20Filterer) ParseTransfer(log types.Log) (*DetailedERC20Transfer, error)

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

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

func (*DetailedERC20Filterer) WatchApproval

func (_DetailedERC20 *DetailedERC20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *DetailedERC20Approval, 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 (*DetailedERC20Filterer) WatchTransfer

func (_DetailedERC20 *DetailedERC20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *DetailedERC20Transfer, 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 DetailedERC20Raw

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

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

func (*DetailedERC20Raw) Call

func (_DetailedERC20 *DetailedERC20Raw) 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 (*DetailedERC20Raw) Transact

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

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

func (*DetailedERC20Raw) Transfer

func (_DetailedERC20 *DetailedERC20Raw) 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 DetailedERC20Session

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

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

func (*DetailedERC20Session) Allowance

func (_DetailedERC20 *DetailedERC20Session) 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) view returns(uint256)

func (*DetailedERC20Session) Approve

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

func (*DetailedERC20Session) BalanceOf

func (_DetailedERC20 *DetailedERC20Session) BalanceOf(_who common.Address) (*big.Int, error)

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

Solidity: function balanceOf(address _who) view returns(uint256)

func (*DetailedERC20Session) Decimals

func (_DetailedERC20 *DetailedERC20Session) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*DetailedERC20Session) Name

func (_DetailedERC20 *DetailedERC20Session) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*DetailedERC20Session) Symbol

func (_DetailedERC20 *DetailedERC20Session) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*DetailedERC20Session) TotalSupply

func (_DetailedERC20 *DetailedERC20Session) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*DetailedERC20Session) Transfer

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

func (*DetailedERC20Session) TransferFrom

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

type DetailedERC20Transactor

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

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

func NewDetailedERC20Transactor

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

NewDetailedERC20Transactor creates a new write-only instance of DetailedERC20, bound to a specific deployed contract.

func (*DetailedERC20Transactor) Approve

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

func (*DetailedERC20Transactor) Transfer

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

func (*DetailedERC20Transactor) TransferFrom

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

type DetailedERC20TransactorRaw

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

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

func (*DetailedERC20TransactorRaw) Transact

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

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

func (*DetailedERC20TransactorRaw) Transfer

func (_DetailedERC20 *DetailedERC20TransactorRaw) 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 DetailedERC20TransactorSession

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

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

func (*DetailedERC20TransactorSession) Approve

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

func (*DetailedERC20TransactorSession) Transfer

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

func (*DetailedERC20TransactorSession) TransferFrom

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

type DetailedERC20Transfer

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

DetailedERC20Transfer represents a Transfer event raised by the DetailedERC20 contract.

type DetailedERC20TransferIterator

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

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

func (*DetailedERC20TransferIterator) Close

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

func (*DetailedERC20TransferIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

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

EIP155Signer implements Signer using the EIP-155 rules. This accepts transactions which are replay-protected as well as unprotected homestead transactions.

func NewEIP155Signer

func NewEIP155Signer(chainId *big.Int) EIP155Signer

func (EIP155Signer) ChainID

func (s EIP155Signer) ChainID() *big.Int

func (EIP155Signer) Equal

func (s EIP155Signer) Equal(s2 types.Signer) bool

func (EIP155Signer) Hash

Hash returns the hash to be signed by the sender. It does not uniquely identify the transaction.

func (EIP155Signer) Sender

func (s EIP155Signer) Sender(tx *types.Transaction) (common.Address, error)

func (EIP155Signer) SignatureValues

func (s EIP155Signer) SignatureValues(tx *types.Transaction, sig []byte) (R, S, V *big.Int, err error)

SignatureValues returns signature values. This signature needs to be in the [R || S || V] format where V is 0 or 1.

type EInvoker

type EInvoker struct {
	PrivateKey     *ecdsa.PrivateKey
	ChainID        uint64
	TConfiguration *config.TestConfig
	ETHUtil        *ETHTools
	NM             *NonceManager
	EthTestSigner  *EthSigner
}

func NewEInvoker

func NewEInvoker(chainID uint64) *EInvoker

func (*EInvoker) BindAssetHash

func (ethInvoker *EInvoker) BindAssetHash(lockProxyAddr, fromAssetHash, toAssetHash string,
	toChainId uint64, initAmt int64) (*types.Transaction, error)

func (*EInvoker) BindOntAsset

func (ethInvoker *EInvoker) BindOntAsset(lockProxy, ontOnEth, ongOnEth, oep4OnEth, oep4OnOnt string) ([]*types.Transaction, error)

func (*EInvoker) DeployBTCXContract

func (ethInvoker *EInvoker) DeployBTCXContract(redeemscript string) (ethComm.Address, *btcx_abi.BTCX, error)

func (*EInvoker) DeployECCMContract

func (ethInvoker *EInvoker) DeployECCMContract(eccdAddress string) (ethComm.Address, *eccm_abi.EthCrossChainManager, error)

func (*EInvoker) DeployECCMPContract

func (ethInvoker *EInvoker) DeployECCMPContract(eccmAddress string) (ethComm.Address, *eccmp_abi.EthCrossChainManagerProxy, error)

func (*EInvoker) DeployERC20

func (ethInvoker *EInvoker) DeployERC20() (ethComm.Address, *erc20_abi.ERC20Template, error)

func (*EInvoker) DeployEthChainDataContract

func (ethInvoker *EInvoker) DeployEthChainDataContract() (ethComm.Address, *eccd_abi.EthCrossChainData, error)

func (*EInvoker) DeployLockProxyContract

func (ethInvoker *EInvoker) DeployLockProxyContract(eccmp ethComm.Address) (ethComm.Address, *lock_proxy_abi.LockProxy, error)

func (*EInvoker) DeployOEP4

func (ethInvoker *EInvoker) DeployOEP4(lockProxy string) (ethComm.Address, *oep4_abi.OEP4Template, error)

func (*EInvoker) DeployONGXContract

func (ethInvoker *EInvoker) DeployONGXContract(lockProxyAddr string) (ethComm.Address, *ongx_abi.ONGX, error)

func (*EInvoker) DeployONTXContract

func (ethInvoker *EInvoker) DeployONTXContract(lockProxyAddr string) (ethComm.Address, *ontx_abi.ONTX, error)

func (*EInvoker) GetAccInfo

func (ethInvoker *EInvoker) GetAccInfo() (string, error)

func (*EInvoker) MakeLockProxy

func (ethInvoker *EInvoker) MakeLockProxy(lockProxyAddr string) (*bind.TransactOpts, *lock_proxy_abi.LockProxy, error)

func (*EInvoker) MakeSmartContractAuth

func (ethInvoker *EInvoker) MakeSmartContractAuth() (*bind.TransactOpts, error)

func (*EInvoker) SetManagerProxyForLockProxy

func (ethInvoker *EInvoker) SetManagerProxyForLockProxy(lockProxyAddrHex, eccmpAddressHex string) (*types.Transaction, error)

func (*EInvoker) TransferOwnershipForECCD

func (ethInvoker *EInvoker) TransferOwnershipForECCD(eccdAddrHex, ownershipAddressHex string) (*types.Transaction, error)

func (*EInvoker) TransferOwnershipForECCM

func (ethInvoker *EInvoker) TransferOwnershipForECCM(eccmAddrHex, ownershipAddressHex string) (*types.Transaction, error)

type ERC20

type ERC20 struct {
	ERC20Caller     // Read-only binding to the contract
	ERC20Transactor // Write-only binding to the contract
	ERC20Filterer   // Log filterer for contract events
}

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

func NewERC20

func NewERC20(address common.Address, backend bind.ContractBackend) (*ERC20, error)

NewERC20 creates a new instance of ERC20, bound to a specific deployed contract.

type ERC20Approval

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

ERC20Approval represents a Approval event raised by the ERC20 contract.

type ERC20ApprovalIterator

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

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

func (*ERC20ApprovalIterator) Close

func (it *ERC20ApprovalIterator) Close() error

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

func (*ERC20ApprovalIterator) Error

func (it *ERC20ApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC20ApprovalIterator) Next

func (it *ERC20ApprovalIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ERC20Basic

type ERC20Basic struct {
	ERC20BasicCaller     // Read-only binding to the contract
	ERC20BasicTransactor // Write-only binding to the contract
	ERC20BasicFilterer   // Log filterer for contract events
}

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

func NewERC20Basic

func NewERC20Basic(address common.Address, backend bind.ContractBackend) (*ERC20Basic, error)

NewERC20Basic creates a new instance of ERC20Basic, bound to a specific deployed contract.

type ERC20BasicCaller

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

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

func NewERC20BasicCaller

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

NewERC20BasicCaller creates a new read-only instance of ERC20Basic, bound to a specific deployed contract.

func (*ERC20BasicCaller) BalanceOf

func (_ERC20Basic *ERC20BasicCaller) BalanceOf(opts *bind.CallOpts, _who common.Address) (*big.Int, error)

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

Solidity: function balanceOf(address _who) view returns(uint256)

func (*ERC20BasicCaller) TotalSupply

func (_ERC20Basic *ERC20BasicCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type ERC20BasicCallerRaw

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

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

func (*ERC20BasicCallerRaw) Call

func (_ERC20Basic *ERC20BasicCallerRaw) 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 ERC20BasicCallerSession

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

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

func (*ERC20BasicCallerSession) BalanceOf

func (_ERC20Basic *ERC20BasicCallerSession) BalanceOf(_who common.Address) (*big.Int, error)

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

Solidity: function balanceOf(address _who) view returns(uint256)

func (*ERC20BasicCallerSession) TotalSupply

func (_ERC20Basic *ERC20BasicCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type ERC20BasicFilterer

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

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

func NewERC20BasicFilterer

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

NewERC20BasicFilterer creates a new log filterer instance of ERC20Basic, bound to a specific deployed contract.

func (*ERC20BasicFilterer) FilterTransfer

func (_ERC20Basic *ERC20BasicFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ERC20BasicTransferIterator, 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 (*ERC20BasicFilterer) ParseTransfer

func (_ERC20Basic *ERC20BasicFilterer) ParseTransfer(log types.Log) (*ERC20BasicTransfer, error)

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

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

func (*ERC20BasicFilterer) WatchTransfer

func (_ERC20Basic *ERC20BasicFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20BasicTransfer, 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 ERC20BasicRaw

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

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

func (*ERC20BasicRaw) Call

func (_ERC20Basic *ERC20BasicRaw) 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 (*ERC20BasicRaw) Transact

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

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

func (*ERC20BasicRaw) Transfer

func (_ERC20Basic *ERC20BasicRaw) 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 ERC20BasicSession

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

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

func (*ERC20BasicSession) BalanceOf

func (_ERC20Basic *ERC20BasicSession) BalanceOf(_who common.Address) (*big.Int, error)

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

Solidity: function balanceOf(address _who) view returns(uint256)

func (*ERC20BasicSession) TotalSupply

func (_ERC20Basic *ERC20BasicSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*ERC20BasicSession) Transfer

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

type ERC20BasicTransactor

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

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

func NewERC20BasicTransactor

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

NewERC20BasicTransactor creates a new write-only instance of ERC20Basic, bound to a specific deployed contract.

func (*ERC20BasicTransactor) Transfer

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

type ERC20BasicTransactorRaw

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

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

func (*ERC20BasicTransactorRaw) Transact

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

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

func (*ERC20BasicTransactorRaw) Transfer

func (_ERC20Basic *ERC20BasicTransactorRaw) 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 ERC20BasicTransactorSession

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

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

func (*ERC20BasicTransactorSession) Transfer

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

type ERC20BasicTransfer

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

ERC20BasicTransfer represents a Transfer event raised by the ERC20Basic contract.

type ERC20BasicTransferIterator

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

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

func (*ERC20BasicTransferIterator) Close

func (it *ERC20BasicTransferIterator) Close() error

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

func (*ERC20BasicTransferIterator) Error

func (it *ERC20BasicTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC20BasicTransferIterator) Next

func (it *ERC20BasicTransferIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ERC20Caller

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

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

func NewERC20Caller

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

NewERC20Caller creates a new read-only instance of ERC20, bound to a specific deployed contract.

func (*ERC20Caller) Allowance

func (_ERC20 *ERC20Caller) 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) view returns(uint256)

func (*ERC20Caller) BalanceOf

func (_ERC20 *ERC20Caller) BalanceOf(opts *bind.CallOpts, _who common.Address) (*big.Int, error)

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

Solidity: function balanceOf(address _who) view returns(uint256)

func (*ERC20Caller) TotalSupply

func (_ERC20 *ERC20Caller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type ERC20CallerRaw

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

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

func (*ERC20CallerRaw) Call

func (_ERC20 *ERC20CallerRaw) 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 ERC20CallerSession

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

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

func (*ERC20CallerSession) Allowance

func (_ERC20 *ERC20CallerSession) 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) view returns(uint256)

func (*ERC20CallerSession) BalanceOf

func (_ERC20 *ERC20CallerSession) BalanceOf(_who common.Address) (*big.Int, error)

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

Solidity: function balanceOf(address _who) view returns(uint256)

func (*ERC20CallerSession) TotalSupply

func (_ERC20 *ERC20CallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type ERC20Filterer

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

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

func NewERC20Filterer

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

NewERC20Filterer creates a new log filterer instance of ERC20, bound to a specific deployed contract.

func (*ERC20Filterer) FilterApproval

func (_ERC20 *ERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ERC20ApprovalIterator, 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 (*ERC20Filterer) FilterTransfer

func (_ERC20 *ERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ERC20TransferIterator, 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 (*ERC20Filterer) ParseApproval

func (_ERC20 *ERC20Filterer) ParseApproval(log types.Log) (*ERC20Approval, error)

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

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

func (*ERC20Filterer) ParseTransfer

func (_ERC20 *ERC20Filterer) ParseTransfer(log types.Log) (*ERC20Transfer, error)

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

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

func (*ERC20Filterer) WatchApproval

func (_ERC20 *ERC20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC20Approval, 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 (*ERC20Filterer) WatchTransfer

func (_ERC20 *ERC20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20Transfer, 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 ERC20Raw

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

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

func (*ERC20Raw) Call

func (_ERC20 *ERC20Raw) 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 (*ERC20Raw) Transact

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

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

func (*ERC20Raw) Transfer

func (_ERC20 *ERC20Raw) 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 ERC20Session

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

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

func (*ERC20Session) Allowance

func (_ERC20 *ERC20Session) 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) view returns(uint256)

func (*ERC20Session) Approve

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

func (*ERC20Session) BalanceOf

func (_ERC20 *ERC20Session) BalanceOf(_who common.Address) (*big.Int, error)

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

Solidity: function balanceOf(address _who) view returns(uint256)

func (*ERC20Session) TotalSupply

func (_ERC20 *ERC20Session) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*ERC20Session) Transfer

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

func (*ERC20Session) TransferFrom

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

type ERC20Transactor

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

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

func NewERC20Transactor

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

NewERC20Transactor creates a new write-only instance of ERC20, bound to a specific deployed contract.

func (*ERC20Transactor) Approve

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

func (*ERC20Transactor) Transfer

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

func (*ERC20Transactor) TransferFrom

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

type ERC20TransactorRaw

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

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

func (*ERC20TransactorRaw) Transact

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

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

func (*ERC20TransactorRaw) Transfer

func (_ERC20 *ERC20TransactorRaw) 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 ERC20TransactorSession

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

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

func (*ERC20TransactorSession) Approve

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

func (*ERC20TransactorSession) Transfer

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

func (*ERC20TransactorSession) TransferFrom

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

type ERC20Transfer

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

ERC20Transfer represents a Transfer event raised by the ERC20 contract.

type ERC20TransferIterator

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

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

func (*ERC20TransferIterator) Close

func (it *ERC20TransferIterator) Close() error

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

func (*ERC20TransferIterator) Error

func (it *ERC20TransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC20TransferIterator) Next

func (it *ERC20TransferIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ETHTools

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

func NewEthTools

func NewEthTools(url string) *ETHTools

func (*ETHTools) GetBlockHeader

func (self *ETHTools) GetBlockHeader(height uint64) (*types.Header, error)

func (*ETHTools) GetBlockHeaderByHash

func (self *ETHTools) GetBlockHeaderByHash(hash common.Hash) (*types.Header, error)

func (*ETHTools) GetChainID

func (self *ETHTools) GetChainID() (*big.Int, error)

func (*ETHTools) GetEthClient

func (self *ETHTools) GetEthClient() *ethclient.Client

func (*ETHTools) GetMoney

func (self *ETHTools) GetMoney(accounts []accounts.Account) []common.Hash

func (*ETHTools) GetNodeHeight

func (self *ETHTools) GetNodeHeight() (uint64, error)

func (*ETHTools) GetSmartContractEventByBlock

func (self *ETHTools) GetSmartContractEventByBlock(contractAddr string, height uint64) ([]*LockEvent, []*UnlockEvent, error)

func (*ETHTools) WaitTransactionConfirm

func (self *ETHTools) WaitTransactionConfirm(hash common.Hash)

func (*ETHTools) WaitTransactionsConfirm

func (self *ETHTools) WaitTransactionsConfirm(hashs []common.Hash)

type EthSigner

type EthSigner struct {
	PrivateKey *ecdsa.PrivateKey
	Address    ethComm.Address
}

func NewEthSigner

func NewEthSigner(privateKey string) (*EthSigner, error)

type LibNote

type LibNote struct {
	LibNoteCaller     // Read-only binding to the contract
	LibNoteTransactor // Write-only binding to the contract
	LibNoteFilterer   // Log filterer for contract events
}

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

func DeployLibNote

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

DeployLibNote deploys a new Ethereum contract, binding an instance of LibNote to it.

func NewLibNote

func NewLibNote(address common.Address, backend bind.ContractBackend) (*LibNote, error)

NewLibNote creates a new instance of LibNote, bound to a specific deployed contract.

type LibNoteCaller

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

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

func NewLibNoteCaller

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

NewLibNoteCaller creates a new read-only instance of LibNote, bound to a specific deployed contract.

type LibNoteCallerRaw

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

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

func (*LibNoteCallerRaw) Call

func (_LibNote *LibNoteCallerRaw) 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 LibNoteCallerSession

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

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

type LibNoteFilterer

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

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

func NewLibNoteFilterer

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

NewLibNoteFilterer creates a new log filterer instance of LibNote, bound to a specific deployed contract.

type LibNoteRaw

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

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

func (*LibNoteRaw) Call

func (_LibNote *LibNoteRaw) 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 (*LibNoteRaw) Transact

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

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

func (*LibNoteRaw) Transfer

func (_LibNote *LibNoteRaw) 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 LibNoteSession

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

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

type LibNoteTransactor

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

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

func NewLibNoteTransactor

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

NewLibNoteTransactor creates a new write-only instance of LibNote, bound to a specific deployed contract.

type LibNoteTransactorRaw

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

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

func (*LibNoteTransactorRaw) Transact

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

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

func (*LibNoteTransactorRaw) Transfer

func (_LibNote *LibNoteTransactorRaw) 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 LibNoteTransactorSession

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

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

type LockEvent

type LockEvent struct {
	Method   string
	TxHash   string
	Txid     []byte
	Saddress string
	Tchain   uint32
	Taddress string
	Height   uint64
	Value    []byte
}

type MintableToken

type MintableToken struct {
	MintableTokenCaller     // Read-only binding to the contract
	MintableTokenTransactor // Write-only binding to the contract
	MintableTokenFilterer   // Log filterer for contract events
}

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

func DeployMintableToken

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

DeployMintableToken deploys a new Ethereum contract, binding an instance of MintableToken to it.

func NewMintableToken

func NewMintableToken(address common.Address, backend bind.ContractBackend) (*MintableToken, error)

NewMintableToken creates a new instance of MintableToken, bound to a specific deployed contract.

type MintableTokenApproval

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

MintableTokenApproval represents a Approval event raised by the MintableToken contract.

type MintableTokenApprovalIterator

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

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

func (*MintableTokenApprovalIterator) Close

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

func (*MintableTokenApprovalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

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

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

func NewMintableTokenCaller

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

NewMintableTokenCaller creates a new read-only instance of MintableToken, bound to a specific deployed contract.

func (*MintableTokenCaller) Allowance

func (_MintableToken *MintableTokenCaller) 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) view returns(uint256)

func (*MintableTokenCaller) BalanceOf

func (_MintableToken *MintableTokenCaller) 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) view returns(uint256)

func (*MintableTokenCaller) MintingFinished

func (_MintableToken *MintableTokenCaller) MintingFinished(opts *bind.CallOpts) (bool, error)

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

Solidity: function mintingFinished() view returns(bool)

func (*MintableTokenCaller) Owner

func (_MintableToken *MintableTokenCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*MintableTokenCaller) TotalSupply

func (_MintableToken *MintableTokenCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type MintableTokenCallerRaw

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

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

func (*MintableTokenCallerRaw) Call

func (_MintableToken *MintableTokenCallerRaw) 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 MintableTokenCallerSession

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

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

func (*MintableTokenCallerSession) Allowance

func (_MintableToken *MintableTokenCallerSession) 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) view returns(uint256)

func (*MintableTokenCallerSession) BalanceOf

func (_MintableToken *MintableTokenCallerSession) BalanceOf(_owner common.Address) (*big.Int, error)

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

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

func (*MintableTokenCallerSession) MintingFinished

func (_MintableToken *MintableTokenCallerSession) MintingFinished() (bool, error)

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

Solidity: function mintingFinished() view returns(bool)

func (*MintableTokenCallerSession) Owner

func (_MintableToken *MintableTokenCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*MintableTokenCallerSession) TotalSupply

func (_MintableToken *MintableTokenCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type MintableTokenFilterer

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

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

func NewMintableTokenFilterer

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

NewMintableTokenFilterer creates a new log filterer instance of MintableToken, bound to a specific deployed contract.

func (*MintableTokenFilterer) FilterApproval

func (_MintableToken *MintableTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*MintableTokenApprovalIterator, 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 (*MintableTokenFilterer) FilterMint

func (_MintableToken *MintableTokenFilterer) FilterMint(opts *bind.FilterOpts, to []common.Address) (*MintableTokenMintIterator, error)

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

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

func (*MintableTokenFilterer) FilterMintFinished

func (_MintableToken *MintableTokenFilterer) FilterMintFinished(opts *bind.FilterOpts) (*MintableTokenMintFinishedIterator, error)

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

Solidity: event MintFinished()

func (*MintableTokenFilterer) FilterOwnershipRenounced

func (_MintableToken *MintableTokenFilterer) FilterOwnershipRenounced(opts *bind.FilterOpts, previousOwner []common.Address) (*MintableTokenOwnershipRenouncedIterator, error)

FilterOwnershipRenounced is a free log retrieval operation binding the contract event 0xf8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c64820.

Solidity: event OwnershipRenounced(address indexed previousOwner)

func (*MintableTokenFilterer) FilterOwnershipTransferred

func (_MintableToken *MintableTokenFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*MintableTokenOwnershipTransferredIterator, error)

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

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

func (*MintableTokenFilterer) FilterTransfer

func (_MintableToken *MintableTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*MintableTokenTransferIterator, 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 (*MintableTokenFilterer) ParseApproval

func (_MintableToken *MintableTokenFilterer) ParseApproval(log types.Log) (*MintableTokenApproval, error)

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

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

func (*MintableTokenFilterer) ParseMint

func (_MintableToken *MintableTokenFilterer) ParseMint(log types.Log) (*MintableTokenMint, error)

ParseMint is a log parse operation binding the contract event 0x0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885.

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

func (*MintableTokenFilterer) ParseMintFinished

func (_MintableToken *MintableTokenFilterer) ParseMintFinished(log types.Log) (*MintableTokenMintFinished, error)

ParseMintFinished is a log parse operation binding the contract event 0xae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa08.

Solidity: event MintFinished()

func (*MintableTokenFilterer) ParseOwnershipRenounced

func (_MintableToken *MintableTokenFilterer) ParseOwnershipRenounced(log types.Log) (*MintableTokenOwnershipRenounced, error)

ParseOwnershipRenounced is a log parse operation binding the contract event 0xf8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c64820.

Solidity: event OwnershipRenounced(address indexed previousOwner)

func (*MintableTokenFilterer) ParseOwnershipTransferred

func (_MintableToken *MintableTokenFilterer) ParseOwnershipTransferred(log types.Log) (*MintableTokenOwnershipTransferred, error)

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

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

func (*MintableTokenFilterer) ParseTransfer

func (_MintableToken *MintableTokenFilterer) ParseTransfer(log types.Log) (*MintableTokenTransfer, error)

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

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

func (*MintableTokenFilterer) WatchApproval

func (_MintableToken *MintableTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *MintableTokenApproval, 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 (*MintableTokenFilterer) WatchMint

func (_MintableToken *MintableTokenFilterer) WatchMint(opts *bind.WatchOpts, sink chan<- *MintableTokenMint, to []common.Address) (event.Subscription, error)

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

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

func (*MintableTokenFilterer) WatchMintFinished

func (_MintableToken *MintableTokenFilterer) WatchMintFinished(opts *bind.WatchOpts, sink chan<- *MintableTokenMintFinished) (event.Subscription, error)

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

Solidity: event MintFinished()

func (*MintableTokenFilterer) WatchOwnershipRenounced

func (_MintableToken *MintableTokenFilterer) WatchOwnershipRenounced(opts *bind.WatchOpts, sink chan<- *MintableTokenOwnershipRenounced, previousOwner []common.Address) (event.Subscription, error)

WatchOwnershipRenounced is a free log subscription operation binding the contract event 0xf8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c64820.

Solidity: event OwnershipRenounced(address indexed previousOwner)

func (*MintableTokenFilterer) WatchOwnershipTransferred

func (_MintableToken *MintableTokenFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *MintableTokenOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

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

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

func (*MintableTokenFilterer) WatchTransfer

func (_MintableToken *MintableTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *MintableTokenTransfer, 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 MintableTokenMint

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

MintableTokenMint represents a Mint event raised by the MintableToken contract.

type MintableTokenMintFinished

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

MintableTokenMintFinished represents a MintFinished event raised by the MintableToken contract.

type MintableTokenMintFinishedIterator

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

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

func (*MintableTokenMintFinishedIterator) Close

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

func (*MintableTokenMintFinishedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

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

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

func (*MintableTokenMintIterator) Close

func (it *MintableTokenMintIterator) Close() error

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

func (*MintableTokenMintIterator) Error

func (it *MintableTokenMintIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MintableTokenMintIterator) Next

func (it *MintableTokenMintIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type MintableTokenOwnershipRenounced

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

MintableTokenOwnershipRenounced represents a OwnershipRenounced event raised by the MintableToken contract.

type MintableTokenOwnershipRenouncedIterator

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

MintableTokenOwnershipRenouncedIterator is returned from FilterOwnershipRenounced and is used to iterate over the raw logs and unpacked data for OwnershipRenounced events raised by the MintableToken contract.

func (*MintableTokenOwnershipRenouncedIterator) Close

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

func (*MintableTokenOwnershipRenouncedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

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

MintableTokenOwnershipTransferred represents a OwnershipTransferred event raised by the MintableToken contract.

type MintableTokenOwnershipTransferredIterator

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

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

func (*MintableTokenOwnershipTransferredIterator) Close

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

func (*MintableTokenOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

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

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

func (*MintableTokenRaw) Call

func (_MintableToken *MintableTokenRaw) 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 (*MintableTokenRaw) Transact

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

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

func (*MintableTokenRaw) Transfer

func (_MintableToken *MintableTokenRaw) 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 MintableTokenSession

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

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

func (*MintableTokenSession) Allowance

func (_MintableToken *MintableTokenSession) 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) view returns(uint256)

func (*MintableTokenSession) Approve

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

func (*MintableTokenSession) BalanceOf

func (_MintableToken *MintableTokenSession) BalanceOf(_owner common.Address) (*big.Int, error)

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

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

func (*MintableTokenSession) DecreaseApproval

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

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

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

func (*MintableTokenSession) FinishMinting

func (_MintableToken *MintableTokenSession) FinishMinting() (*types.Transaction, error)

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

Solidity: function finishMinting() returns(bool)

func (*MintableTokenSession) IncreaseApproval

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

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

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

func (*MintableTokenSession) Mint

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

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

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

func (*MintableTokenSession) MintingFinished

func (_MintableToken *MintableTokenSession) MintingFinished() (bool, error)

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

Solidity: function mintingFinished() view returns(bool)

func (*MintableTokenSession) Owner

func (_MintableToken *MintableTokenSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*MintableTokenSession) RenounceOwnership

func (_MintableToken *MintableTokenSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*MintableTokenSession) TotalSupply

func (_MintableToken *MintableTokenSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*MintableTokenSession) Transfer

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

func (*MintableTokenSession) TransferFrom

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

func (*MintableTokenSession) TransferOwnership

func (_MintableToken *MintableTokenSession) 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 MintableTokenTransactor

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

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

func NewMintableTokenTransactor

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

NewMintableTokenTransactor creates a new write-only instance of MintableToken, bound to a specific deployed contract.

func (*MintableTokenTransactor) Approve

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

func (*MintableTokenTransactor) DecreaseApproval

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

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

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

func (*MintableTokenTransactor) FinishMinting

func (_MintableToken *MintableTokenTransactor) FinishMinting(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function finishMinting() returns(bool)

func (*MintableTokenTransactor) IncreaseApproval

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

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

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

func (*MintableTokenTransactor) Mint

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

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

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

func (*MintableTokenTransactor) RenounceOwnership

func (_MintableToken *MintableTokenTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*MintableTokenTransactor) Transfer

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

func (*MintableTokenTransactor) TransferFrom

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

func (*MintableTokenTransactor) TransferOwnership

func (_MintableToken *MintableTokenTransactor) 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 MintableTokenTransactorRaw

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

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

func (*MintableTokenTransactorRaw) Transact

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

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

func (*MintableTokenTransactorRaw) Transfer

func (_MintableToken *MintableTokenTransactorRaw) 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 MintableTokenTransactorSession

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

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

func (*MintableTokenTransactorSession) Approve

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

func (*MintableTokenTransactorSession) DecreaseApproval

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

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

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

func (*MintableTokenTransactorSession) FinishMinting

func (_MintableToken *MintableTokenTransactorSession) FinishMinting() (*types.Transaction, error)

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

Solidity: function finishMinting() returns(bool)

func (*MintableTokenTransactorSession) IncreaseApproval

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

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

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

func (*MintableTokenTransactorSession) Mint

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

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

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

func (*MintableTokenTransactorSession) RenounceOwnership

func (_MintableToken *MintableTokenTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*MintableTokenTransactorSession) Transfer

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

func (*MintableTokenTransactorSession) TransferFrom

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

func (*MintableTokenTransactorSession) TransferOwnership

func (_MintableToken *MintableTokenTransactorSession) 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 MintableTokenTransfer

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

MintableTokenTransfer represents a Transfer event raised by the MintableToken contract.

type MintableTokenTransferIterator

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

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

func (*MintableTokenTransferIterator) Close

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

func (*MintableTokenTransferIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

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

func NewNonceManager

func NewNonceManager(ethClient *ethclient.Client) *NonceManager

func (*NonceManager) DecreaseAddressNonce

func (this *NonceManager) DecreaseAddressNonce(address common.Address)

func (*NonceManager) GetAddressNonce

func (this *NonceManager) GetAddressNonce(address common.Address) uint64

return account nonce, and than nonce++

type Ownable

type Ownable struct {
	OwnableCaller     // Read-only binding to the contract
	OwnableTransactor // Write-only binding to the contract
	OwnableFilterer   // Log filterer for contract events
}

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

func DeployOwnable

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

DeployOwnable deploys a new Ethereum contract, binding an instance of Ownable to it.

func NewOwnable

func NewOwnable(address common.Address, backend bind.ContractBackend) (*Ownable, error)

NewOwnable creates a new instance of Ownable, bound to a specific deployed contract.

type OwnableCaller

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

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

func NewOwnableCaller

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

NewOwnableCaller creates a new read-only instance of Ownable, bound to a specific deployed contract.

func (*OwnableCaller) Owner

func (_Ownable *OwnableCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() view returns(address)

type OwnableCallerRaw

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

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

func (*OwnableCallerRaw) Call

func (_Ownable *OwnableCallerRaw) 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 OwnableCallerSession

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

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

func (*OwnableCallerSession) Owner

func (_Ownable *OwnableCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

type OwnableContract

type OwnableContract struct {
	OwnableContractCaller     // Read-only binding to the contract
	OwnableContractTransactor // Write-only binding to the contract
	OwnableContractFilterer   // Log filterer for contract events
}

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

func DeployOwnableContract

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

DeployOwnableContract deploys a new Ethereum contract, binding an instance of OwnableContract to it.

func NewOwnableContract

func NewOwnableContract(address common.Address, backend bind.ContractBackend) (*OwnableContract, error)

NewOwnableContract creates a new instance of OwnableContract, bound to a specific deployed contract.

type OwnableContractCaller

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

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

func NewOwnableContractCaller

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

NewOwnableContractCaller creates a new read-only instance of OwnableContract, bound to a specific deployed contract.

func (*OwnableContractCaller) Owner

func (_OwnableContract *OwnableContractCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*OwnableContractCaller) PendingOwner

func (_OwnableContract *OwnableContractCaller) PendingOwner(opts *bind.CallOpts) (common.Address, error)

PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.

Solidity: function pendingOwner() view returns(address)

type OwnableContractCallerRaw

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

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

func (*OwnableContractCallerRaw) Call

func (_OwnableContract *OwnableContractCallerRaw) 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 OwnableContractCallerSession

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

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

func (*OwnableContractCallerSession) Owner

func (_OwnableContract *OwnableContractCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*OwnableContractCallerSession) PendingOwner

func (_OwnableContract *OwnableContractCallerSession) PendingOwner() (common.Address, error)

PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.

Solidity: function pendingOwner() view returns(address)

type OwnableContractFilterer

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

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

func NewOwnableContractFilterer

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

NewOwnableContractFilterer creates a new log filterer instance of OwnableContract, bound to a specific deployed contract.

func (*OwnableContractFilterer) FilterOwnershipRenounced

func (_OwnableContract *OwnableContractFilterer) FilterOwnershipRenounced(opts *bind.FilterOpts, previousOwner []common.Address) (*OwnableContractOwnershipRenouncedIterator, error)

FilterOwnershipRenounced is a free log retrieval operation binding the contract event 0xf8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c64820.

Solidity: event OwnershipRenounced(address indexed previousOwner)

func (*OwnableContractFilterer) FilterOwnershipTransferred

func (_OwnableContract *OwnableContractFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*OwnableContractOwnershipTransferredIterator, error)

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

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

func (*OwnableContractFilterer) ParseOwnershipRenounced

func (_OwnableContract *OwnableContractFilterer) ParseOwnershipRenounced(log types.Log) (*OwnableContractOwnershipRenounced, error)

ParseOwnershipRenounced is a log parse operation binding the contract event 0xf8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c64820.

Solidity: event OwnershipRenounced(address indexed previousOwner)

func (*OwnableContractFilterer) ParseOwnershipTransferred

func (_OwnableContract *OwnableContractFilterer) ParseOwnershipTransferred(log types.Log) (*OwnableContractOwnershipTransferred, error)

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

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

func (*OwnableContractFilterer) WatchOwnershipRenounced

func (_OwnableContract *OwnableContractFilterer) WatchOwnershipRenounced(opts *bind.WatchOpts, sink chan<- *OwnableContractOwnershipRenounced, previousOwner []common.Address) (event.Subscription, error)

WatchOwnershipRenounced is a free log subscription operation binding the contract event 0xf8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c64820.

Solidity: event OwnershipRenounced(address indexed previousOwner)

func (*OwnableContractFilterer) WatchOwnershipTransferred

func (_OwnableContract *OwnableContractFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *OwnableContractOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

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

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

type OwnableContractOwnershipRenounced

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

OwnableContractOwnershipRenounced represents a OwnershipRenounced event raised by the OwnableContract contract.

type OwnableContractOwnershipRenouncedIterator

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

OwnableContractOwnershipRenouncedIterator is returned from FilterOwnershipRenounced and is used to iterate over the raw logs and unpacked data for OwnershipRenounced events raised by the OwnableContract contract.

func (*OwnableContractOwnershipRenouncedIterator) Close

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

func (*OwnableContractOwnershipRenouncedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

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

OwnableContractOwnershipTransferred represents a OwnershipTransferred event raised by the OwnableContract contract.

type OwnableContractOwnershipTransferredIterator

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

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

func (*OwnableContractOwnershipTransferredIterator) Close

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

func (*OwnableContractOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

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

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

func (*OwnableContractRaw) Call

func (_OwnableContract *OwnableContractRaw) 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 (*OwnableContractRaw) Transact

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

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

func (*OwnableContractRaw) Transfer

func (_OwnableContract *OwnableContractRaw) 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 OwnableContractSession

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

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

func (*OwnableContractSession) ClaimOwnership

func (_OwnableContract *OwnableContractSession) ClaimOwnership() (*types.Transaction, error)

ClaimOwnership is a paid mutator transaction binding the contract method 0x4e71e0c8.

Solidity: function claimOwnership() returns()

func (*OwnableContractSession) Owner

func (_OwnableContract *OwnableContractSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*OwnableContractSession) PendingOwner

func (_OwnableContract *OwnableContractSession) PendingOwner() (common.Address, error)

PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.

Solidity: function pendingOwner() view returns(address)

func (*OwnableContractSession) ReclaimToken

func (_OwnableContract *OwnableContractSession) ReclaimToken(_token common.Address) (*types.Transaction, error)

ReclaimToken is a paid mutator transaction binding the contract method 0x17ffc320.

Solidity: function reclaimToken(address _token) returns()

func (*OwnableContractSession) RenounceOwnership

func (_OwnableContract *OwnableContractSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*OwnableContractSession) TransferOwnership

func (_OwnableContract *OwnableContractSession) 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 OwnableContractTransactor

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

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

func NewOwnableContractTransactor

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

NewOwnableContractTransactor creates a new write-only instance of OwnableContract, bound to a specific deployed contract.

func (*OwnableContractTransactor) ClaimOwnership

func (_OwnableContract *OwnableContractTransactor) ClaimOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

ClaimOwnership is a paid mutator transaction binding the contract method 0x4e71e0c8.

Solidity: function claimOwnership() returns()

func (*OwnableContractTransactor) ReclaimToken

func (_OwnableContract *OwnableContractTransactor) ReclaimToken(opts *bind.TransactOpts, _token common.Address) (*types.Transaction, error)

ReclaimToken is a paid mutator transaction binding the contract method 0x17ffc320.

Solidity: function reclaimToken(address _token) returns()

func (*OwnableContractTransactor) RenounceOwnership

func (_OwnableContract *OwnableContractTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*OwnableContractTransactor) TransferOwnership

func (_OwnableContract *OwnableContractTransactor) 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 OwnableContractTransactorRaw

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

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

func (*OwnableContractTransactorRaw) Transact

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

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

func (*OwnableContractTransactorRaw) Transfer

func (_OwnableContract *OwnableContractTransactorRaw) 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 OwnableContractTransactorSession

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

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

func (*OwnableContractTransactorSession) ClaimOwnership

func (_OwnableContract *OwnableContractTransactorSession) ClaimOwnership() (*types.Transaction, error)

ClaimOwnership is a paid mutator transaction binding the contract method 0x4e71e0c8.

Solidity: function claimOwnership() returns()

func (*OwnableContractTransactorSession) ReclaimToken

func (_OwnableContract *OwnableContractTransactorSession) ReclaimToken(_token common.Address) (*types.Transaction, error)

ReclaimToken is a paid mutator transaction binding the contract method 0x17ffc320.

Solidity: function reclaimToken(address _token) returns()

func (*OwnableContractTransactorSession) RenounceOwnership

func (_OwnableContract *OwnableContractTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*OwnableContractTransactorSession) TransferOwnership

func (_OwnableContract *OwnableContractTransactorSession) 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 OwnableFilterer

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

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

func NewOwnableFilterer

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

NewOwnableFilterer creates a new log filterer instance of Ownable, bound to a specific deployed contract.

func (*OwnableFilterer) FilterOwnershipRenounced

func (_Ownable *OwnableFilterer) FilterOwnershipRenounced(opts *bind.FilterOpts, previousOwner []common.Address) (*OwnableOwnershipRenouncedIterator, error)

FilterOwnershipRenounced is a free log retrieval operation binding the contract event 0xf8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c64820.

Solidity: event OwnershipRenounced(address indexed previousOwner)

func (*OwnableFilterer) FilterOwnershipTransferred

func (_Ownable *OwnableFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*OwnableOwnershipTransferredIterator, error)

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

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

func (*OwnableFilterer) ParseOwnershipRenounced

func (_Ownable *OwnableFilterer) ParseOwnershipRenounced(log types.Log) (*OwnableOwnershipRenounced, error)

ParseOwnershipRenounced is a log parse operation binding the contract event 0xf8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c64820.

Solidity: event OwnershipRenounced(address indexed previousOwner)

func (*OwnableFilterer) ParseOwnershipTransferred

func (_Ownable *OwnableFilterer) ParseOwnershipTransferred(log types.Log) (*OwnableOwnershipTransferred, error)

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

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

func (*OwnableFilterer) WatchOwnershipRenounced

func (_Ownable *OwnableFilterer) WatchOwnershipRenounced(opts *bind.WatchOpts, sink chan<- *OwnableOwnershipRenounced, previousOwner []common.Address) (event.Subscription, error)

WatchOwnershipRenounced is a free log subscription operation binding the contract event 0xf8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c64820.

Solidity: event OwnershipRenounced(address indexed previousOwner)

func (*OwnableFilterer) WatchOwnershipTransferred

func (_Ownable *OwnableFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *OwnableOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

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

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

type OwnableOwnershipRenounced

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

OwnableOwnershipRenounced represents a OwnershipRenounced event raised by the Ownable contract.

type OwnableOwnershipRenouncedIterator

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

OwnableOwnershipRenouncedIterator is returned from FilterOwnershipRenounced and is used to iterate over the raw logs and unpacked data for OwnershipRenounced events raised by the Ownable contract.

func (*OwnableOwnershipRenouncedIterator) Close

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

func (*OwnableOwnershipRenouncedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

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

OwnableOwnershipTransferred represents a OwnershipTransferred event raised by the Ownable contract.

type OwnableOwnershipTransferredIterator

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

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

func (*OwnableOwnershipTransferredIterator) Close

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

func (*OwnableOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

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

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

func (*OwnableRaw) Call

func (_Ownable *OwnableRaw) 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 (*OwnableRaw) Transact

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

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

func (*OwnableRaw) Transfer

func (_Ownable *OwnableRaw) 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 OwnableSession

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

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

func (*OwnableSession) Owner

func (_Ownable *OwnableSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*OwnableSession) RenounceOwnership

func (_Ownable *OwnableSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*OwnableSession) TransferOwnership

func (_Ownable *OwnableSession) 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 OwnableTransactor

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

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

func NewOwnableTransactor

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

NewOwnableTransactor creates a new write-only instance of Ownable, bound to a specific deployed contract.

func (*OwnableTransactor) RenounceOwnership

func (_Ownable *OwnableTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*OwnableTransactor) TransferOwnership

func (_Ownable *OwnableTransactor) 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 OwnableTransactorRaw

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

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

func (*OwnableTransactorRaw) Transact

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

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

func (*OwnableTransactorRaw) Transfer

func (_Ownable *OwnableTransactorRaw) 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 OwnableTransactorSession

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

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

func (*OwnableTransactorSession) RenounceOwnership

func (_Ownable *OwnableTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*OwnableTransactorSession) TransferOwnership

func (_Ownable *OwnableTransactorSession) 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 Pausable

type Pausable struct {
	PausableCaller     // Read-only binding to the contract
	PausableTransactor // Write-only binding to the contract
	PausableFilterer   // Log filterer for contract events
}

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

func DeployPausable

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

DeployPausable deploys a new Ethereum contract, binding an instance of Pausable to it.

func NewPausable

func NewPausable(address common.Address, backend bind.ContractBackend) (*Pausable, error)

NewPausable creates a new instance of Pausable, bound to a specific deployed contract.

type PausableCaller

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

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

func NewPausableCaller

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

NewPausableCaller creates a new read-only instance of Pausable, bound to a specific deployed contract.

func (*PausableCaller) Owner

func (_Pausable *PausableCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*PausableCaller) Paused

func (_Pausable *PausableCaller) Paused(opts *bind.CallOpts) (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

type PausableCallerRaw

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

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

func (*PausableCallerRaw) Call

func (_Pausable *PausableCallerRaw) 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 PausableCallerSession

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

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

func (*PausableCallerSession) Owner

func (_Pausable *PausableCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*PausableCallerSession) Paused

func (_Pausable *PausableCallerSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

type PausableFilterer

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

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

func NewPausableFilterer

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

NewPausableFilterer creates a new log filterer instance of Pausable, bound to a specific deployed contract.

func (*PausableFilterer) FilterOwnershipRenounced

func (_Pausable *PausableFilterer) FilterOwnershipRenounced(opts *bind.FilterOpts, previousOwner []common.Address) (*PausableOwnershipRenouncedIterator, error)

FilterOwnershipRenounced is a free log retrieval operation binding the contract event 0xf8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c64820.

Solidity: event OwnershipRenounced(address indexed previousOwner)

func (*PausableFilterer) FilterOwnershipTransferred

func (_Pausable *PausableFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*PausableOwnershipTransferredIterator, error)

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

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

func (*PausableFilterer) FilterPause

func (_Pausable *PausableFilterer) FilterPause(opts *bind.FilterOpts) (*PausablePauseIterator, error)

FilterPause is a free log retrieval operation binding the contract event 0x6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff625.

Solidity: event Pause()

func (*PausableFilterer) FilterUnpause

func (_Pausable *PausableFilterer) FilterUnpause(opts *bind.FilterOpts) (*PausableUnpauseIterator, error)

FilterUnpause is a free log retrieval operation binding the contract event 0x7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b33.

Solidity: event Unpause()

func (*PausableFilterer) ParseOwnershipRenounced

func (_Pausable *PausableFilterer) ParseOwnershipRenounced(log types.Log) (*PausableOwnershipRenounced, error)

ParseOwnershipRenounced is a log parse operation binding the contract event 0xf8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c64820.

Solidity: event OwnershipRenounced(address indexed previousOwner)

func (*PausableFilterer) ParseOwnershipTransferred

func (_Pausable *PausableFilterer) ParseOwnershipTransferred(log types.Log) (*PausableOwnershipTransferred, error)

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

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

func (*PausableFilterer) ParsePause

func (_Pausable *PausableFilterer) ParsePause(log types.Log) (*PausablePause, error)

ParsePause is a log parse operation binding the contract event 0x6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff625.

Solidity: event Pause()

func (*PausableFilterer) ParseUnpause

func (_Pausable *PausableFilterer) ParseUnpause(log types.Log) (*PausableUnpause, error)

ParseUnpause is a log parse operation binding the contract event 0x7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b33.

Solidity: event Unpause()

func (*PausableFilterer) WatchOwnershipRenounced

func (_Pausable *PausableFilterer) WatchOwnershipRenounced(opts *bind.WatchOpts, sink chan<- *PausableOwnershipRenounced, previousOwner []common.Address) (event.Subscription, error)

WatchOwnershipRenounced is a free log subscription operation binding the contract event 0xf8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c64820.

Solidity: event OwnershipRenounced(address indexed previousOwner)

func (*PausableFilterer) WatchOwnershipTransferred

func (_Pausable *PausableFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *PausableOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

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

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

func (*PausableFilterer) WatchPause

func (_Pausable *PausableFilterer) WatchPause(opts *bind.WatchOpts, sink chan<- *PausablePause) (event.Subscription, error)

WatchPause is a free log subscription operation binding the contract event 0x6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff625.

Solidity: event Pause()

func (*PausableFilterer) WatchUnpause

func (_Pausable *PausableFilterer) WatchUnpause(opts *bind.WatchOpts, sink chan<- *PausableUnpause) (event.Subscription, error)

WatchUnpause is a free log subscription operation binding the contract event 0x7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b33.

Solidity: event Unpause()

type PausableOwnershipRenounced

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

PausableOwnershipRenounced represents a OwnershipRenounced event raised by the Pausable contract.

type PausableOwnershipRenouncedIterator

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

PausableOwnershipRenouncedIterator is returned from FilterOwnershipRenounced and is used to iterate over the raw logs and unpacked data for OwnershipRenounced events raised by the Pausable contract.

func (*PausableOwnershipRenouncedIterator) Close

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

func (*PausableOwnershipRenouncedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

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

PausableOwnershipTransferred represents a OwnershipTransferred event raised by the Pausable contract.

type PausableOwnershipTransferredIterator

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

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

func (*PausableOwnershipTransferredIterator) Close

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

func (*PausableOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

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

PausablePause represents a Pause event raised by the Pausable contract.

type PausablePauseIterator

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

PausablePauseIterator is returned from FilterPause and is used to iterate over the raw logs and unpacked data for Pause events raised by the Pausable contract.

func (*PausablePauseIterator) Close

func (it *PausablePauseIterator) Close() error

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

func (*PausablePauseIterator) Error

func (it *PausablePauseIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*PausablePauseIterator) Next

func (it *PausablePauseIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type PausableRaw

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

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

func (*PausableRaw) Call

func (_Pausable *PausableRaw) 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 (*PausableRaw) Transact

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

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

func (*PausableRaw) Transfer

func (_Pausable *PausableRaw) 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 PausableSession

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

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

func (*PausableSession) Owner

func (_Pausable *PausableSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*PausableSession) Pause

func (_Pausable *PausableSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*PausableSession) Paused

func (_Pausable *PausableSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*PausableSession) RenounceOwnership

func (_Pausable *PausableSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*PausableSession) TransferOwnership

func (_Pausable *PausableSession) TransferOwnership(_newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address _newOwner) returns()

func (*PausableSession) Unpause

func (_Pausable *PausableSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

type PausableToken

type PausableToken struct {
	PausableTokenCaller     // Read-only binding to the contract
	PausableTokenTransactor // Write-only binding to the contract
	PausableTokenFilterer   // Log filterer for contract events
}

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

func DeployPausableToken

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

DeployPausableToken deploys a new Ethereum contract, binding an instance of PausableToken to it.

func NewPausableToken

func NewPausableToken(address common.Address, backend bind.ContractBackend) (*PausableToken, error)

NewPausableToken creates a new instance of PausableToken, bound to a specific deployed contract.

type PausableTokenApproval

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

PausableTokenApproval represents a Approval event raised by the PausableToken contract.

type PausableTokenApprovalIterator

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

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

func (*PausableTokenApprovalIterator) Close

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

func (*PausableTokenApprovalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

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

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

func NewPausableTokenCaller

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

NewPausableTokenCaller creates a new read-only instance of PausableToken, bound to a specific deployed contract.

func (*PausableTokenCaller) Allowance

func (_PausableToken *PausableTokenCaller) 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) view returns(uint256)

func (*PausableTokenCaller) BalanceOf

func (_PausableToken *PausableTokenCaller) 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) view returns(uint256)

func (*PausableTokenCaller) Owner

func (_PausableToken *PausableTokenCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*PausableTokenCaller) Paused

func (_PausableToken *PausableTokenCaller) Paused(opts *bind.CallOpts) (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*PausableTokenCaller) TotalSupply

func (_PausableToken *PausableTokenCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type PausableTokenCallerRaw

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

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

func (*PausableTokenCallerRaw) Call

func (_PausableToken *PausableTokenCallerRaw) 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 PausableTokenCallerSession

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

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

func (*PausableTokenCallerSession) Allowance

func (_PausableToken *PausableTokenCallerSession) 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) view returns(uint256)

func (*PausableTokenCallerSession) BalanceOf

func (_PausableToken *PausableTokenCallerSession) BalanceOf(_owner common.Address) (*big.Int, error)

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

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

func (*PausableTokenCallerSession) Owner

func (_PausableToken *PausableTokenCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*PausableTokenCallerSession) Paused

func (_PausableToken *PausableTokenCallerSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*PausableTokenCallerSession) TotalSupply

func (_PausableToken *PausableTokenCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type PausableTokenFilterer

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

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

func NewPausableTokenFilterer

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

NewPausableTokenFilterer creates a new log filterer instance of PausableToken, bound to a specific deployed contract.

func (*PausableTokenFilterer) FilterApproval

func (_PausableToken *PausableTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*PausableTokenApprovalIterator, 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 (*PausableTokenFilterer) FilterOwnershipRenounced

func (_PausableToken *PausableTokenFilterer) FilterOwnershipRenounced(opts *bind.FilterOpts, previousOwner []common.Address) (*PausableTokenOwnershipRenouncedIterator, error)

FilterOwnershipRenounced is a free log retrieval operation binding the contract event 0xf8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c64820.

Solidity: event OwnershipRenounced(address indexed previousOwner)

func (*PausableTokenFilterer) FilterOwnershipTransferred

func (_PausableToken *PausableTokenFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*PausableTokenOwnershipTransferredIterator, error)

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

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

func (*PausableTokenFilterer) FilterPause

func (_PausableToken *PausableTokenFilterer) FilterPause(opts *bind.FilterOpts) (*PausableTokenPauseIterator, error)

FilterPause is a free log retrieval operation binding the contract event 0x6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff625.

Solidity: event Pause()

func (*PausableTokenFilterer) FilterTransfer

func (_PausableToken *PausableTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*PausableTokenTransferIterator, 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 (*PausableTokenFilterer) FilterUnpause

func (_PausableToken *PausableTokenFilterer) FilterUnpause(opts *bind.FilterOpts) (*PausableTokenUnpauseIterator, error)

FilterUnpause is a free log retrieval operation binding the contract event 0x7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b33.

Solidity: event Unpause()

func (*PausableTokenFilterer) ParseApproval

func (_PausableToken *PausableTokenFilterer) ParseApproval(log types.Log) (*PausableTokenApproval, error)

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

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

func (*PausableTokenFilterer) ParseOwnershipRenounced

func (_PausableToken *PausableTokenFilterer) ParseOwnershipRenounced(log types.Log) (*PausableTokenOwnershipRenounced, error)

ParseOwnershipRenounced is a log parse operation binding the contract event 0xf8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c64820.

Solidity: event OwnershipRenounced(address indexed previousOwner)

func (*PausableTokenFilterer) ParseOwnershipTransferred

func (_PausableToken *PausableTokenFilterer) ParseOwnershipTransferred(log types.Log) (*PausableTokenOwnershipTransferred, error)

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

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

func (*PausableTokenFilterer) ParsePause

func (_PausableToken *PausableTokenFilterer) ParsePause(log types.Log) (*PausableTokenPause, error)

ParsePause is a log parse operation binding the contract event 0x6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff625.

Solidity: event Pause()

func (*PausableTokenFilterer) ParseTransfer

func (_PausableToken *PausableTokenFilterer) ParseTransfer(log types.Log) (*PausableTokenTransfer, error)

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

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

func (*PausableTokenFilterer) ParseUnpause

func (_PausableToken *PausableTokenFilterer) ParseUnpause(log types.Log) (*PausableTokenUnpause, error)

ParseUnpause is a log parse operation binding the contract event 0x7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b33.

Solidity: event Unpause()

func (*PausableTokenFilterer) WatchApproval

func (_PausableToken *PausableTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *PausableTokenApproval, 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 (*PausableTokenFilterer) WatchOwnershipRenounced

func (_PausableToken *PausableTokenFilterer) WatchOwnershipRenounced(opts *bind.WatchOpts, sink chan<- *PausableTokenOwnershipRenounced, previousOwner []common.Address) (event.Subscription, error)

WatchOwnershipRenounced is a free log subscription operation binding the contract event 0xf8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c64820.

Solidity: event OwnershipRenounced(address indexed previousOwner)

func (*PausableTokenFilterer) WatchOwnershipTransferred

func (_PausableToken *PausableTokenFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *PausableTokenOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

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

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

func (*PausableTokenFilterer) WatchPause

func (_PausableToken *PausableTokenFilterer) WatchPause(opts *bind.WatchOpts, sink chan<- *PausableTokenPause) (event.Subscription, error)

WatchPause is a free log subscription operation binding the contract event 0x6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff625.

Solidity: event Pause()

func (*PausableTokenFilterer) WatchTransfer

func (_PausableToken *PausableTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *PausableTokenTransfer, 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)

func (*PausableTokenFilterer) WatchUnpause

func (_PausableToken *PausableTokenFilterer) WatchUnpause(opts *bind.WatchOpts, sink chan<- *PausableTokenUnpause) (event.Subscription, error)

WatchUnpause is a free log subscription operation binding the contract event 0x7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b33.

Solidity: event Unpause()

type PausableTokenOwnershipRenounced

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

PausableTokenOwnershipRenounced represents a OwnershipRenounced event raised by the PausableToken contract.

type PausableTokenOwnershipRenouncedIterator

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

PausableTokenOwnershipRenouncedIterator is returned from FilterOwnershipRenounced and is used to iterate over the raw logs and unpacked data for OwnershipRenounced events raised by the PausableToken contract.

func (*PausableTokenOwnershipRenouncedIterator) Close

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

func (*PausableTokenOwnershipRenouncedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

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

PausableTokenOwnershipTransferred represents a OwnershipTransferred event raised by the PausableToken contract.

type PausableTokenOwnershipTransferredIterator

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

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

func (*PausableTokenOwnershipTransferredIterator) Close

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

func (*PausableTokenOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

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

PausableTokenPause represents a Pause event raised by the PausableToken contract.

type PausableTokenPauseIterator

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

PausableTokenPauseIterator is returned from FilterPause and is used to iterate over the raw logs and unpacked data for Pause events raised by the PausableToken contract.

func (*PausableTokenPauseIterator) Close

func (it *PausableTokenPauseIterator) Close() error

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

func (*PausableTokenPauseIterator) Error

func (it *PausableTokenPauseIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*PausableTokenPauseIterator) Next

func (it *PausableTokenPauseIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type PausableTokenRaw

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

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

func (*PausableTokenRaw) Call

func (_PausableToken *PausableTokenRaw) 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 (*PausableTokenRaw) Transact

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

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

func (*PausableTokenRaw) Transfer

func (_PausableToken *PausableTokenRaw) 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 PausableTokenSession

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

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

func (*PausableTokenSession) Allowance

func (_PausableToken *PausableTokenSession) 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) view returns(uint256)

func (*PausableTokenSession) Approve

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

func (*PausableTokenSession) BalanceOf

func (_PausableToken *PausableTokenSession) BalanceOf(_owner common.Address) (*big.Int, error)

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

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

func (*PausableTokenSession) DecreaseApproval

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

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

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

func (*PausableTokenSession) IncreaseApproval

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

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

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

func (*PausableTokenSession) Owner

func (_PausableToken *PausableTokenSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*PausableTokenSession) Pause

func (_PausableToken *PausableTokenSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*PausableTokenSession) Paused

func (_PausableToken *PausableTokenSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*PausableTokenSession) RenounceOwnership

func (_PausableToken *PausableTokenSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*PausableTokenSession) TotalSupply

func (_PausableToken *PausableTokenSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*PausableTokenSession) Transfer

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

func (*PausableTokenSession) TransferFrom

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

func (*PausableTokenSession) TransferOwnership

func (_PausableToken *PausableTokenSession) TransferOwnership(_newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address _newOwner) returns()

func (*PausableTokenSession) Unpause

func (_PausableToken *PausableTokenSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

type PausableTokenTransactor

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

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

func NewPausableTokenTransactor

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

NewPausableTokenTransactor creates a new write-only instance of PausableToken, bound to a specific deployed contract.

func (*PausableTokenTransactor) Approve

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

func (*PausableTokenTransactor) DecreaseApproval

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

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

Solidity: function decreaseApproval(address _spender, uint256 _subtractedValue) returns(bool success)

func (*PausableTokenTransactor) IncreaseApproval

func (_PausableToken *PausableTokenTransactor) IncreaseApproval(opts *bind.TransactOpts, _spender common.Address, _addedValue *big.Int) (*types.Transaction, error)

IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.

Solidity: function increaseApproval(address _spender, uint256 _addedValue) returns(bool success)

func (*PausableTokenTransactor) Pause

func (_PausableToken *PausableTokenTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*PausableTokenTransactor) RenounceOwnership

func (_PausableToken *PausableTokenTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*PausableTokenTransactor) Transfer

func (_PausableToken *PausableTokenTransactor) 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)

func (*PausableTokenTransactor) TransferFrom

func (_PausableToken *PausableTokenTransactor) 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)

func (*PausableTokenTransactor) TransferOwnership

func (_PausableToken *PausableTokenTransactor) 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()

func (*PausableTokenTransactor) Unpause

func (_PausableToken *PausableTokenTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

type PausableTokenTransactorRaw

type PausableTokenTransactorRaw struct {
	Contract *PausableTokenTransactor // Generic write-only contract binding to access the raw methods on
}

PausableTokenTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*PausableTokenTransactorRaw) Transact

func (_PausableToken *PausableTokenTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*PausableTokenTransactorRaw) Transfer

func (_PausableToken *PausableTokenTransactorRaw) 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 PausableTokenTransactorSession

type PausableTokenTransactorSession struct {
	Contract     *PausableTokenTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts        // Transaction auth options to use throughout this session
}

PausableTokenTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*PausableTokenTransactorSession) Approve

func (_PausableToken *PausableTokenTransactorSession) 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)

func (*PausableTokenTransactorSession) DecreaseApproval

func (_PausableToken *PausableTokenTransactorSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)

DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.

Solidity: function decreaseApproval(address _spender, uint256 _subtractedValue) returns(bool success)

func (*PausableTokenTransactorSession) IncreaseApproval

func (_PausableToken *PausableTokenTransactorSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)

IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.

Solidity: function increaseApproval(address _spender, uint256 _addedValue) returns(bool success)

func (*PausableTokenTransactorSession) Pause

func (_PausableToken *PausableTokenTransactorSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*PausableTokenTransactorSession) RenounceOwnership

func (_PausableToken *PausableTokenTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*PausableTokenTransactorSession) Transfer

func (_PausableToken *PausableTokenTransactorSession) 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)

func (*PausableTokenTransactorSession) TransferFrom

func (_PausableToken *PausableTokenTransactorSession) 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)

func (*PausableTokenTransactorSession) TransferOwnership

func (_PausableToken *PausableTokenTransactorSession) TransferOwnership(_newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address _newOwner) returns()

func (*PausableTokenTransactorSession) Unpause

func (_PausableToken *PausableTokenTransactorSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

type PausableTokenTransfer

type PausableTokenTransfer struct {
	From  common.Address
	To    common.Address
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

PausableTokenTransfer represents a Transfer event raised by the PausableToken contract.

type PausableTokenTransferIterator

type PausableTokenTransferIterator struct {
	Event *PausableTokenTransfer // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PausableTokenTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the PausableToken contract.

func (*PausableTokenTransferIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*PausableTokenTransferIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PausableTokenTransferIterator) 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 PausableTokenUnpause

type PausableTokenUnpause struct {
	Raw types.Log // Blockchain specific contextual infos
}

PausableTokenUnpause represents a Unpause event raised by the PausableToken contract.

type PausableTokenUnpauseIterator

type PausableTokenUnpauseIterator struct {
	Event *PausableTokenUnpause // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PausableTokenUnpauseIterator is returned from FilterUnpause and is used to iterate over the raw logs and unpacked data for Unpause events raised by the PausableToken contract.

func (*PausableTokenUnpauseIterator) Close

func (it *PausableTokenUnpauseIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*PausableTokenUnpauseIterator) Error

func (it *PausableTokenUnpauseIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*PausableTokenUnpauseIterator) 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 PausableTransactor

type PausableTransactor struct {
	// contains filtered or unexported fields
}

PausableTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewPausableTransactor

func NewPausableTransactor(address common.Address, transactor bind.ContractTransactor) (*PausableTransactor, error)

NewPausableTransactor creates a new write-only instance of Pausable, bound to a specific deployed contract.

func (*PausableTransactor) Pause

func (_Pausable *PausableTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*PausableTransactor) RenounceOwnership

func (_Pausable *PausableTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*PausableTransactor) TransferOwnership

func (_Pausable *PausableTransactor) 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()

func (*PausableTransactor) Unpause

func (_Pausable *PausableTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

type PausableTransactorRaw

type PausableTransactorRaw struct {
	Contract *PausableTransactor // Generic write-only contract binding to access the raw methods on
}

PausableTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*PausableTransactorRaw) Transact

func (_Pausable *PausableTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*PausableTransactorRaw) Transfer

func (_Pausable *PausableTransactorRaw) 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 PausableTransactorSession

type PausableTransactorSession struct {
	Contract     *PausableTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts   // Transaction auth options to use throughout this session
}

PausableTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*PausableTransactorSession) Pause

func (_Pausable *PausableTransactorSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*PausableTransactorSession) RenounceOwnership

func (_Pausable *PausableTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*PausableTransactorSession) TransferOwnership

func (_Pausable *PausableTransactorSession) TransferOwnership(_newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address _newOwner) returns()

func (*PausableTransactorSession) Unpause

func (_Pausable *PausableTransactorSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

type PausableUnpause

type PausableUnpause struct {
	Raw types.Log // Blockchain specific contextual infos
}

PausableUnpause represents a Unpause event raised by the Pausable contract.

type PausableUnpauseIterator

type PausableUnpauseIterator struct {
	Event *PausableUnpause // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PausableUnpauseIterator is returned from FilterUnpause and is used to iterate over the raw logs and unpacked data for Unpause events raised by the Pausable contract.

func (*PausableUnpauseIterator) Close

func (it *PausableUnpauseIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*PausableUnpauseIterator) Error

func (it *PausableUnpauseIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*PausableUnpauseIterator) Next

func (it *PausableUnpauseIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type RestClient

type RestClient struct {
	// contains filtered or unexported fields
}

func NewRestClient

func NewRestClient() *RestClient

func (*RestClient) SendRestRequest

func (self *RestClient) SendRestRequest(data []byte) ([]byte, error)

func (*RestClient) SendRestRequestWithAuth

func (self *RestClient) SendRestRequestWithAuth(data []byte) ([]byte, error)

func (*RestClient) SetAddr

func (self *RestClient) SetAddr(addr string) *RestClient

func (*RestClient) SetAuth

func (self *RestClient) SetAuth(user string, passwd string) *RestClient

func (*RestClient) SetRestClient

func (self *RestClient) SetRestClient(restClient *http.Client) *RestClient

type SafeERC20

type SafeERC20 struct {
	SafeERC20Caller     // Read-only binding to the contract
	SafeERC20Transactor // Write-only binding to the contract
	SafeERC20Filterer   // Log filterer for contract events
}

SafeERC20 is an auto generated Go binding around an Ethereum contract.

func DeploySafeERC20

func DeploySafeERC20(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *SafeERC20, error)

DeploySafeERC20 deploys a new Ethereum contract, binding an instance of SafeERC20 to it.

func NewSafeERC20

func NewSafeERC20(address common.Address, backend bind.ContractBackend) (*SafeERC20, error)

NewSafeERC20 creates a new instance of SafeERC20, bound to a specific deployed contract.

type SafeERC20Caller

type SafeERC20Caller struct {
	// contains filtered or unexported fields
}

SafeERC20Caller is an auto generated read-only Go binding around an Ethereum contract.

func NewSafeERC20Caller

func NewSafeERC20Caller(address common.Address, caller bind.ContractCaller) (*SafeERC20Caller, error)

NewSafeERC20Caller creates a new read-only instance of SafeERC20, bound to a specific deployed contract.

type SafeERC20CallerRaw

type SafeERC20CallerRaw struct {
	Contract *SafeERC20Caller // Generic read-only contract binding to access the raw methods on
}

SafeERC20CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*SafeERC20CallerRaw) Call

func (_SafeERC20 *SafeERC20CallerRaw) 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 SafeERC20CallerSession

type SafeERC20CallerSession struct {
	Contract *SafeERC20Caller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts    // Call options to use throughout this session
}

SafeERC20CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

type SafeERC20Filterer

type SafeERC20Filterer struct {
	// contains filtered or unexported fields
}

SafeERC20Filterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewSafeERC20Filterer

func NewSafeERC20Filterer(address common.Address, filterer bind.ContractFilterer) (*SafeERC20Filterer, error)

NewSafeERC20Filterer creates a new log filterer instance of SafeERC20, bound to a specific deployed contract.

type SafeERC20Raw

type SafeERC20Raw struct {
	Contract *SafeERC20 // Generic contract binding to access the raw methods on
}

SafeERC20Raw is an auto generated low-level Go binding around an Ethereum contract.

func (*SafeERC20Raw) Call

func (_SafeERC20 *SafeERC20Raw) 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 (*SafeERC20Raw) Transact

func (_SafeERC20 *SafeERC20Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*SafeERC20Raw) Transfer

func (_SafeERC20 *SafeERC20Raw) 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 SafeERC20Session

type SafeERC20Session struct {
	Contract     *SafeERC20        // 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
}

SafeERC20Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

type SafeERC20Transactor

type SafeERC20Transactor struct {
	// contains filtered or unexported fields
}

SafeERC20Transactor is an auto generated write-only Go binding around an Ethereum contract.

func NewSafeERC20Transactor

func NewSafeERC20Transactor(address common.Address, transactor bind.ContractTransactor) (*SafeERC20Transactor, error)

NewSafeERC20Transactor creates a new write-only instance of SafeERC20, bound to a specific deployed contract.

type SafeERC20TransactorRaw

type SafeERC20TransactorRaw struct {
	Contract *SafeERC20Transactor // Generic write-only contract binding to access the raw methods on
}

SafeERC20TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*SafeERC20TransactorRaw) Transact

func (_SafeERC20 *SafeERC20TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*SafeERC20TransactorRaw) Transfer

func (_SafeERC20 *SafeERC20TransactorRaw) 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 SafeERC20TransactorSession

type SafeERC20TransactorSession struct {
	Contract     *SafeERC20Transactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts    // Transaction auth options to use throughout this session
}

SafeERC20TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

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.

type StandardToken

type StandardToken struct {
	StandardTokenCaller     // Read-only binding to the contract
	StandardTokenTransactor // Write-only binding to the contract
	StandardTokenFilterer   // Log filterer for contract events
}

StandardToken is an auto generated Go binding around an Ethereum contract.

func DeployStandardToken

func DeployStandardToken(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *StandardToken, error)

DeployStandardToken deploys a new Ethereum contract, binding an instance of StandardToken to it.

func NewStandardToken

func NewStandardToken(address common.Address, backend bind.ContractBackend) (*StandardToken, error)

NewStandardToken creates a new instance of StandardToken, bound to a specific deployed contract.

type StandardTokenApproval

type StandardTokenApproval struct {
	Owner   common.Address
	Spender common.Address
	Value   *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

StandardTokenApproval represents a Approval event raised by the StandardToken contract.

type StandardTokenApprovalIterator

type StandardTokenApprovalIterator struct {
	Event *StandardTokenApproval // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

StandardTokenApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the StandardToken contract.

func (*StandardTokenApprovalIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*StandardTokenApprovalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*StandardTokenApprovalIterator) 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 StandardTokenCaller

type StandardTokenCaller struct {
	// contains filtered or unexported fields
}

StandardTokenCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewStandardTokenCaller

func NewStandardTokenCaller(address common.Address, caller bind.ContractCaller) (*StandardTokenCaller, error)

NewStandardTokenCaller creates a new read-only instance of StandardToken, bound to a specific deployed contract.

func (*StandardTokenCaller) Allowance

func (_StandardToken *StandardTokenCaller) 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) view returns(uint256)

func (*StandardTokenCaller) BalanceOf

func (_StandardToken *StandardTokenCaller) 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) view returns(uint256)

func (*StandardTokenCaller) TotalSupply

func (_StandardToken *StandardTokenCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type StandardTokenCallerRaw

type StandardTokenCallerRaw struct {
	Contract *StandardTokenCaller // Generic read-only contract binding to access the raw methods on
}

StandardTokenCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*StandardTokenCallerRaw) Call

func (_StandardToken *StandardTokenCallerRaw) 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 StandardTokenCallerSession

type StandardTokenCallerSession struct {
	Contract *StandardTokenCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts        // Call options to use throughout this session
}

StandardTokenCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*StandardTokenCallerSession) Allowance

func (_StandardToken *StandardTokenCallerSession) 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) view returns(uint256)

func (*StandardTokenCallerSession) BalanceOf

func (_StandardToken *StandardTokenCallerSession) BalanceOf(_owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address _owner) view returns(uint256)

func (*StandardTokenCallerSession) TotalSupply

func (_StandardToken *StandardTokenCallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type StandardTokenFilterer

type StandardTokenFilterer struct {
	// contains filtered or unexported fields
}

StandardTokenFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewStandardTokenFilterer

func NewStandardTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*StandardTokenFilterer, error)

NewStandardTokenFilterer creates a new log filterer instance of StandardToken, bound to a specific deployed contract.

func (*StandardTokenFilterer) FilterApproval

func (_StandardToken *StandardTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*StandardTokenApprovalIterator, 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 (*StandardTokenFilterer) FilterTransfer

func (_StandardToken *StandardTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*StandardTokenTransferIterator, 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 (*StandardTokenFilterer) ParseApproval

func (_StandardToken *StandardTokenFilterer) ParseApproval(log types.Log) (*StandardTokenApproval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*StandardTokenFilterer) ParseTransfer

func (_StandardToken *StandardTokenFilterer) ParseTransfer(log types.Log) (*StandardTokenTransfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*StandardTokenFilterer) WatchApproval

func (_StandardToken *StandardTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *StandardTokenApproval, 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 (*StandardTokenFilterer) WatchTransfer

func (_StandardToken *StandardTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *StandardTokenTransfer, 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 StandardTokenRaw

type StandardTokenRaw struct {
	Contract *StandardToken // Generic contract binding to access the raw methods on
}

StandardTokenRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*StandardTokenRaw) Call

func (_StandardToken *StandardTokenRaw) 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 (*StandardTokenRaw) Transact

func (_StandardToken *StandardTokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*StandardTokenRaw) Transfer

func (_StandardToken *StandardTokenRaw) 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 StandardTokenSession

type StandardTokenSession struct {
	Contract     *StandardToken    // 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
}

StandardTokenSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*StandardTokenSession) Allowance

func (_StandardToken *StandardTokenSession) 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) view returns(uint256)

func (*StandardTokenSession) Approve

func (_StandardToken *StandardTokenSession) 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)

func (*StandardTokenSession) BalanceOf

func (_StandardToken *StandardTokenSession) BalanceOf(_owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address _owner) view returns(uint256)

func (*StandardTokenSession) DecreaseApproval

func (_StandardToken *StandardTokenSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)

DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.

Solidity: function decreaseApproval(address _spender, uint256 _subtractedValue) returns(bool)

func (*StandardTokenSession) IncreaseApproval

func (_StandardToken *StandardTokenSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)

IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.

Solidity: function increaseApproval(address _spender, uint256 _addedValue) returns(bool)

func (*StandardTokenSession) TotalSupply

func (_StandardToken *StandardTokenSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*StandardTokenSession) Transfer

func (_StandardToken *StandardTokenSession) 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)

func (*StandardTokenSession) TransferFrom

func (_StandardToken *StandardTokenSession) 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)

type StandardTokenTransactor

type StandardTokenTransactor struct {
	// contains filtered or unexported fields
}

StandardTokenTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewStandardTokenTransactor

func NewStandardTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*StandardTokenTransactor, error)

NewStandardTokenTransactor creates a new write-only instance of StandardToken, bound to a specific deployed contract.

func (*StandardTokenTransactor) Approve

func (_StandardToken *StandardTokenTransactor) 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)

func (*StandardTokenTransactor) DecreaseApproval

func (_StandardToken *StandardTokenTransactor) DecreaseApproval(opts *bind.TransactOpts, _spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)

DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.

Solidity: function decreaseApproval(address _spender, uint256 _subtractedValue) returns(bool)

func (*StandardTokenTransactor) IncreaseApproval

func (_StandardToken *StandardTokenTransactor) IncreaseApproval(opts *bind.TransactOpts, _spender common.Address, _addedValue *big.Int) (*types.Transaction, error)

IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.

Solidity: function increaseApproval(address _spender, uint256 _addedValue) returns(bool)

func (*StandardTokenTransactor) Transfer

func (_StandardToken *StandardTokenTransactor) 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)

func (*StandardTokenTransactor) TransferFrom

func (_StandardToken *StandardTokenTransactor) 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)

type StandardTokenTransactorRaw

type StandardTokenTransactorRaw struct {
	Contract *StandardTokenTransactor // Generic write-only contract binding to access the raw methods on
}

StandardTokenTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*StandardTokenTransactorRaw) Transact

func (_StandardToken *StandardTokenTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*StandardTokenTransactorRaw) Transfer

func (_StandardToken *StandardTokenTransactorRaw) 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 StandardTokenTransactorSession

type StandardTokenTransactorSession struct {
	Contract     *StandardTokenTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts        // Transaction auth options to use throughout this session
}

StandardTokenTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*StandardTokenTransactorSession) Approve

func (_StandardToken *StandardTokenTransactorSession) 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)

func (*StandardTokenTransactorSession) DecreaseApproval

func (_StandardToken *StandardTokenTransactorSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)

DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.

Solidity: function decreaseApproval(address _spender, uint256 _subtractedValue) returns(bool)

func (*StandardTokenTransactorSession) IncreaseApproval

func (_StandardToken *StandardTokenTransactorSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)

IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.

Solidity: function increaseApproval(address _spender, uint256 _addedValue) returns(bool)

func (*StandardTokenTransactorSession) Transfer

func (_StandardToken *StandardTokenTransactorSession) 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)

func (*StandardTokenTransactorSession) TransferFrom

func (_StandardToken *StandardTokenTransactorSession) 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)

type StandardTokenTransfer

type StandardTokenTransfer struct {
	From  common.Address
	To    common.Address
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

StandardTokenTransfer represents a Transfer event raised by the StandardToken contract.

type StandardTokenTransferIterator

type StandardTokenTransferIterator struct {
	Event *StandardTokenTransfer // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

StandardTokenTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the StandardToken contract.

func (*StandardTokenTransferIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*StandardTokenTransferIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*StandardTokenTransferIterator) 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 UnlockEvent

type UnlockEvent struct {
	Method   string
	Txid     string
	RTxid    string
	FromTxId string
	Height   uint64
	Token    string
}

type WBTC

type WBTC struct {
	WBTCCaller     // Read-only binding to the contract
	WBTCTransactor // Write-only binding to the contract
	WBTCFilterer   // Log filterer for contract events
}

WBTC is an auto generated Go binding around an Ethereum contract.

func DeployWBTC

func DeployWBTC(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *WBTC, error)

DeployWBTC deploys a new Ethereum contract, binding an instance of WBTC to it.

func NewWBTC

func NewWBTC(address common.Address, backend bind.ContractBackend) (*WBTC, error)

NewWBTC creates a new instance of WBTC, bound to a specific deployed contract.

type WBTCApproval

type WBTCApproval struct {
	Owner   common.Address
	Spender common.Address
	Value   *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

WBTCApproval represents a Approval event raised by the WBTC contract.

type WBTCApprovalIterator

type WBTCApprovalIterator struct {
	Event *WBTCApproval // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

WBTCApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the WBTC contract.

func (*WBTCApprovalIterator) Close

func (it *WBTCApprovalIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*WBTCApprovalIterator) Error

func (it *WBTCApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*WBTCApprovalIterator) Next

func (it *WBTCApprovalIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type WBTCBurn

type WBTCBurn struct {
	Burner common.Address
	Value  *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

WBTCBurn represents a Burn event raised by the WBTC contract.

type WBTCBurnIterator

type WBTCBurnIterator struct {
	Event *WBTCBurn // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

WBTCBurnIterator is returned from FilterBurn and is used to iterate over the raw logs and unpacked data for Burn events raised by the WBTC contract.

func (*WBTCBurnIterator) Close

func (it *WBTCBurnIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*WBTCBurnIterator) Error

func (it *WBTCBurnIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*WBTCBurnIterator) Next

func (it *WBTCBurnIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type WBTCCaller

type WBTCCaller struct {
	// contains filtered or unexported fields
}

WBTCCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewWBTCCaller

func NewWBTCCaller(address common.Address, caller bind.ContractCaller) (*WBTCCaller, error)

NewWBTCCaller creates a new read-only instance of WBTC, bound to a specific deployed contract.

func (*WBTCCaller) Allowance

func (_WBTC *WBTCCaller) 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) view returns(uint256)

func (*WBTCCaller) BalanceOf

func (_WBTC *WBTCCaller) 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) view returns(uint256)

func (*WBTCCaller) Decimals

func (_WBTC *WBTCCaller) Decimals(opts *bind.CallOpts) (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*WBTCCaller) MintingFinished

func (_WBTC *WBTCCaller) MintingFinished(opts *bind.CallOpts) (bool, error)

MintingFinished is a free data retrieval call binding the contract method 0x05d2035b.

Solidity: function mintingFinished() view returns(bool)

func (*WBTCCaller) Name

func (_WBTC *WBTCCaller) Name(opts *bind.CallOpts) (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*WBTCCaller) Owner

func (_WBTC *WBTCCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*WBTCCaller) Paused

func (_WBTC *WBTCCaller) Paused(opts *bind.CallOpts) (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*WBTCCaller) PendingOwner

func (_WBTC *WBTCCaller) PendingOwner(opts *bind.CallOpts) (common.Address, error)

PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.

Solidity: function pendingOwner() view returns(address)

func (*WBTCCaller) Symbol

func (_WBTC *WBTCCaller) Symbol(opts *bind.CallOpts) (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*WBTCCaller) TotalSupply

func (_WBTC *WBTCCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type WBTCCallerRaw

type WBTCCallerRaw struct {
	Contract *WBTCCaller // Generic read-only contract binding to access the raw methods on
}

WBTCCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*WBTCCallerRaw) Call

func (_WBTC *WBTCCallerRaw) 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 WBTCCallerSession

type WBTCCallerSession struct {
	Contract *WBTCCaller   // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts // Call options to use throughout this session
}

WBTCCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*WBTCCallerSession) Allowance

func (_WBTC *WBTCCallerSession) 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) view returns(uint256)

func (*WBTCCallerSession) BalanceOf

func (_WBTC *WBTCCallerSession) BalanceOf(_owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address _owner) view returns(uint256)

func (*WBTCCallerSession) Decimals

func (_WBTC *WBTCCallerSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*WBTCCallerSession) MintingFinished

func (_WBTC *WBTCCallerSession) MintingFinished() (bool, error)

MintingFinished is a free data retrieval call binding the contract method 0x05d2035b.

Solidity: function mintingFinished() view returns(bool)

func (*WBTCCallerSession) Name

func (_WBTC *WBTCCallerSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*WBTCCallerSession) Owner

func (_WBTC *WBTCCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*WBTCCallerSession) Paused

func (_WBTC *WBTCCallerSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*WBTCCallerSession) PendingOwner

func (_WBTC *WBTCCallerSession) PendingOwner() (common.Address, error)

PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.

Solidity: function pendingOwner() view returns(address)

func (*WBTCCallerSession) Symbol

func (_WBTC *WBTCCallerSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*WBTCCallerSession) TotalSupply

func (_WBTC *WBTCCallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type WBTCFilterer

type WBTCFilterer struct {
	// contains filtered or unexported fields
}

WBTCFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewWBTCFilterer

func NewWBTCFilterer(address common.Address, filterer bind.ContractFilterer) (*WBTCFilterer, error)

NewWBTCFilterer creates a new log filterer instance of WBTC, bound to a specific deployed contract.

func (*WBTCFilterer) FilterApproval

func (_WBTC *WBTCFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*WBTCApprovalIterator, 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 (*WBTCFilterer) FilterBurn

func (_WBTC *WBTCFilterer) FilterBurn(opts *bind.FilterOpts, burner []common.Address) (*WBTCBurnIterator, error)

FilterBurn is a free log retrieval operation binding the contract event 0xcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5.

Solidity: event Burn(address indexed burner, uint256 value)

func (*WBTCFilterer) FilterMint

func (_WBTC *WBTCFilterer) FilterMint(opts *bind.FilterOpts, to []common.Address) (*WBTCMintIterator, error)

FilterMint is a free log retrieval operation binding the contract event 0x0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885.

Solidity: event Mint(address indexed to, uint256 amount)

func (*WBTCFilterer) FilterMintFinished

func (_WBTC *WBTCFilterer) FilterMintFinished(opts *bind.FilterOpts) (*WBTCMintFinishedIterator, error)

FilterMintFinished is a free log retrieval operation binding the contract event 0xae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa08.

Solidity: event MintFinished()

func (*WBTCFilterer) FilterOwnershipRenounced

func (_WBTC *WBTCFilterer) FilterOwnershipRenounced(opts *bind.FilterOpts, previousOwner []common.Address) (*WBTCOwnershipRenouncedIterator, error)

FilterOwnershipRenounced is a free log retrieval operation binding the contract event 0xf8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c64820.

Solidity: event OwnershipRenounced(address indexed previousOwner)

func (*WBTCFilterer) FilterOwnershipTransferred

func (_WBTC *WBTCFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*WBTCOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*WBTCFilterer) FilterPause

func (_WBTC *WBTCFilterer) FilterPause(opts *bind.FilterOpts) (*WBTCPauseIterator, error)

FilterPause is a free log retrieval operation binding the contract event 0x6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff625.

Solidity: event Pause()

func (*WBTCFilterer) FilterTransfer

func (_WBTC *WBTCFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*WBTCTransferIterator, 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 (*WBTCFilterer) FilterUnpause

func (_WBTC *WBTCFilterer) FilterUnpause(opts *bind.FilterOpts) (*WBTCUnpauseIterator, error)

FilterUnpause is a free log retrieval operation binding the contract event 0x7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b33.

Solidity: event Unpause()

func (*WBTCFilterer) ParseApproval

func (_WBTC *WBTCFilterer) ParseApproval(log types.Log) (*WBTCApproval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*WBTCFilterer) ParseBurn

func (_WBTC *WBTCFilterer) ParseBurn(log types.Log) (*WBTCBurn, error)

ParseBurn is a log parse operation binding the contract event 0xcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5.

Solidity: event Burn(address indexed burner, uint256 value)

func (*WBTCFilterer) ParseMint

func (_WBTC *WBTCFilterer) ParseMint(log types.Log) (*WBTCMint, error)

ParseMint is a log parse operation binding the contract event 0x0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885.

Solidity: event Mint(address indexed to, uint256 amount)

func (*WBTCFilterer) ParseMintFinished

func (_WBTC *WBTCFilterer) ParseMintFinished(log types.Log) (*WBTCMintFinished, error)

ParseMintFinished is a log parse operation binding the contract event 0xae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa08.

Solidity: event MintFinished()

func (*WBTCFilterer) ParseOwnershipRenounced

func (_WBTC *WBTCFilterer) ParseOwnershipRenounced(log types.Log) (*WBTCOwnershipRenounced, error)

ParseOwnershipRenounced is a log parse operation binding the contract event 0xf8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c64820.

Solidity: event OwnershipRenounced(address indexed previousOwner)

func (*WBTCFilterer) ParseOwnershipTransferred

func (_WBTC *WBTCFilterer) ParseOwnershipTransferred(log types.Log) (*WBTCOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*WBTCFilterer) ParsePause

func (_WBTC *WBTCFilterer) ParsePause(log types.Log) (*WBTCPause, error)

ParsePause is a log parse operation binding the contract event 0x6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff625.

Solidity: event Pause()

func (*WBTCFilterer) ParseTransfer

func (_WBTC *WBTCFilterer) ParseTransfer(log types.Log) (*WBTCTransfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*WBTCFilterer) ParseUnpause

func (_WBTC *WBTCFilterer) ParseUnpause(log types.Log) (*WBTCUnpause, error)

ParseUnpause is a log parse operation binding the contract event 0x7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b33.

Solidity: event Unpause()

func (*WBTCFilterer) WatchApproval

func (_WBTC *WBTCFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *WBTCApproval, 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 (*WBTCFilterer) WatchBurn

func (_WBTC *WBTCFilterer) WatchBurn(opts *bind.WatchOpts, sink chan<- *WBTCBurn, burner []common.Address) (event.Subscription, error)

WatchBurn is a free log subscription operation binding the contract event 0xcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5.

Solidity: event Burn(address indexed burner, uint256 value)

func (*WBTCFilterer) WatchMint

func (_WBTC *WBTCFilterer) WatchMint(opts *bind.WatchOpts, sink chan<- *WBTCMint, to []common.Address) (event.Subscription, error)

WatchMint is a free log subscription operation binding the contract event 0x0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885.

Solidity: event Mint(address indexed to, uint256 amount)

func (*WBTCFilterer) WatchMintFinished

func (_WBTC *WBTCFilterer) WatchMintFinished(opts *bind.WatchOpts, sink chan<- *WBTCMintFinished) (event.Subscription, error)

WatchMintFinished is a free log subscription operation binding the contract event 0xae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa08.

Solidity: event MintFinished()

func (*WBTCFilterer) WatchOwnershipRenounced

func (_WBTC *WBTCFilterer) WatchOwnershipRenounced(opts *bind.WatchOpts, sink chan<- *WBTCOwnershipRenounced, previousOwner []common.Address) (event.Subscription, error)

WatchOwnershipRenounced is a free log subscription operation binding the contract event 0xf8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c64820.

Solidity: event OwnershipRenounced(address indexed previousOwner)

func (*WBTCFilterer) WatchOwnershipTransferred

func (_WBTC *WBTCFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *WBTCOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*WBTCFilterer) WatchPause

func (_WBTC *WBTCFilterer) WatchPause(opts *bind.WatchOpts, sink chan<- *WBTCPause) (event.Subscription, error)

WatchPause is a free log subscription operation binding the contract event 0x6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff625.

Solidity: event Pause()

func (*WBTCFilterer) WatchTransfer

func (_WBTC *WBTCFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *WBTCTransfer, 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)

func (*WBTCFilterer) WatchUnpause

func (_WBTC *WBTCFilterer) WatchUnpause(opts *bind.WatchOpts, sink chan<- *WBTCUnpause) (event.Subscription, error)

WatchUnpause is a free log subscription operation binding the contract event 0x7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b33.

Solidity: event Unpause()

type WBTCMint

type WBTCMint struct {
	To     common.Address
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

WBTCMint represents a Mint event raised by the WBTC contract.

type WBTCMintFinished

type WBTCMintFinished struct {
	Raw types.Log // Blockchain specific contextual infos
}

WBTCMintFinished represents a MintFinished event raised by the WBTC contract.

type WBTCMintFinishedIterator

type WBTCMintFinishedIterator struct {
	Event *WBTCMintFinished // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

WBTCMintFinishedIterator is returned from FilterMintFinished and is used to iterate over the raw logs and unpacked data for MintFinished events raised by the WBTC contract.

func (*WBTCMintFinishedIterator) Close

func (it *WBTCMintFinishedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*WBTCMintFinishedIterator) Error

func (it *WBTCMintFinishedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*WBTCMintFinishedIterator) Next

func (it *WBTCMintFinishedIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type WBTCMintIterator

type WBTCMintIterator struct {
	Event *WBTCMint // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

WBTCMintIterator is returned from FilterMint and is used to iterate over the raw logs and unpacked data for Mint events raised by the WBTC contract.

func (*WBTCMintIterator) Close

func (it *WBTCMintIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*WBTCMintIterator) Error

func (it *WBTCMintIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*WBTCMintIterator) Next

func (it *WBTCMintIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type WBTCOwnershipRenounced

type WBTCOwnershipRenounced struct {
	PreviousOwner common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

WBTCOwnershipRenounced represents a OwnershipRenounced event raised by the WBTC contract.

type WBTCOwnershipRenouncedIterator

type WBTCOwnershipRenouncedIterator struct {
	Event *WBTCOwnershipRenounced // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

WBTCOwnershipRenouncedIterator is returned from FilterOwnershipRenounced and is used to iterate over the raw logs and unpacked data for OwnershipRenounced events raised by the WBTC contract.

func (*WBTCOwnershipRenouncedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*WBTCOwnershipRenouncedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*WBTCOwnershipRenouncedIterator) 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 WBTCOwnershipTransferred

type WBTCOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

WBTCOwnershipTransferred represents a OwnershipTransferred event raised by the WBTC contract.

type WBTCOwnershipTransferredIterator

type WBTCOwnershipTransferredIterator struct {
	Event *WBTCOwnershipTransferred // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

WBTCOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the WBTC contract.

func (*WBTCOwnershipTransferredIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*WBTCOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*WBTCOwnershipTransferredIterator) 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 WBTCPause

type WBTCPause struct {
	Raw types.Log // Blockchain specific contextual infos
}

WBTCPause represents a Pause event raised by the WBTC contract.

type WBTCPauseIterator

type WBTCPauseIterator struct {
	Event *WBTCPause // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

WBTCPauseIterator is returned from FilterPause and is used to iterate over the raw logs and unpacked data for Pause events raised by the WBTC contract.

func (*WBTCPauseIterator) Close

func (it *WBTCPauseIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*WBTCPauseIterator) Error

func (it *WBTCPauseIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*WBTCPauseIterator) Next

func (it *WBTCPauseIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type WBTCRaw

type WBTCRaw struct {
	Contract *WBTC // Generic contract binding to access the raw methods on
}

WBTCRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*WBTCRaw) Call

func (_WBTC *WBTCRaw) 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 (*WBTCRaw) Transact

func (_WBTC *WBTCRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*WBTCRaw) Transfer

func (_WBTC *WBTCRaw) 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 WBTCSession

type WBTCSession struct {
	Contract     *WBTC             // 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
}

WBTCSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*WBTCSession) Allowance

func (_WBTC *WBTCSession) 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) view returns(uint256)

func (*WBTCSession) Approve

func (_WBTC *WBTCSession) 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)

func (*WBTCSession) BalanceOf

func (_WBTC *WBTCSession) BalanceOf(_owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address _owner) view returns(uint256)

func (*WBTCSession) Burn

func (_WBTC *WBTCSession) Burn(value *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x42966c68.

Solidity: function burn(uint256 value) returns()

func (*WBTCSession) ClaimOwnership

func (_WBTC *WBTCSession) ClaimOwnership() (*types.Transaction, error)

ClaimOwnership is a paid mutator transaction binding the contract method 0x4e71e0c8.

Solidity: function claimOwnership() returns()

func (*WBTCSession) Decimals

func (_WBTC *WBTCSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*WBTCSession) DecreaseApproval

func (_WBTC *WBTCSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)

DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.

Solidity: function decreaseApproval(address _spender, uint256 _subtractedValue) returns(bool success)

func (*WBTCSession) FinishMinting

func (_WBTC *WBTCSession) FinishMinting() (*types.Transaction, error)

FinishMinting is a paid mutator transaction binding the contract method 0x7d64bcb4.

Solidity: function finishMinting() returns(bool)

func (*WBTCSession) IncreaseApproval

func (_WBTC *WBTCSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)

IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.

Solidity: function increaseApproval(address _spender, uint256 _addedValue) returns(bool success)

func (*WBTCSession) Mint

func (_WBTC *WBTCSession) Mint(_to common.Address, _amount *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x40c10f19.

Solidity: function mint(address _to, uint256 _amount) returns(bool)

func (*WBTCSession) MintingFinished

func (_WBTC *WBTCSession) MintingFinished() (bool, error)

MintingFinished is a free data retrieval call binding the contract method 0x05d2035b.

Solidity: function mintingFinished() view returns(bool)

func (*WBTCSession) Name

func (_WBTC *WBTCSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*WBTCSession) Owner

func (_WBTC *WBTCSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*WBTCSession) Pause

func (_WBTC *WBTCSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*WBTCSession) Paused

func (_WBTC *WBTCSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*WBTCSession) PendingOwner

func (_WBTC *WBTCSession) PendingOwner() (common.Address, error)

PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.

Solidity: function pendingOwner() view returns(address)

func (*WBTCSession) ReclaimToken

func (_WBTC *WBTCSession) ReclaimToken(_token common.Address) (*types.Transaction, error)

ReclaimToken is a paid mutator transaction binding the contract method 0x17ffc320.

Solidity: function reclaimToken(address _token) returns()

func (*WBTCSession) RenounceOwnership

func (_WBTC *WBTCSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*WBTCSession) Symbol

func (_WBTC *WBTCSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*WBTCSession) TotalSupply

func (_WBTC *WBTCSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*WBTCSession) Transfer

func (_WBTC *WBTCSession) 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)

func (*WBTCSession) TransferFrom

func (_WBTC *WBTCSession) 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)

func (*WBTCSession) TransferOwnership

func (_WBTC *WBTCSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*WBTCSession) Unpause

func (_WBTC *WBTCSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

type WBTCTransactor

type WBTCTransactor struct {
	// contains filtered or unexported fields
}

WBTCTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewWBTCTransactor

func NewWBTCTransactor(address common.Address, transactor bind.ContractTransactor) (*WBTCTransactor, error)

NewWBTCTransactor creates a new write-only instance of WBTC, bound to a specific deployed contract.

func (*WBTCTransactor) Approve

func (_WBTC *WBTCTransactor) 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)

func (*WBTCTransactor) Burn

func (_WBTC *WBTCTransactor) Burn(opts *bind.TransactOpts, value *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x42966c68.

Solidity: function burn(uint256 value) returns()

func (*WBTCTransactor) ClaimOwnership

func (_WBTC *WBTCTransactor) ClaimOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

ClaimOwnership is a paid mutator transaction binding the contract method 0x4e71e0c8.

Solidity: function claimOwnership() returns()

func (*WBTCTransactor) DecreaseApproval

func (_WBTC *WBTCTransactor) DecreaseApproval(opts *bind.TransactOpts, _spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)

DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.

Solidity: function decreaseApproval(address _spender, uint256 _subtractedValue) returns(bool success)

func (*WBTCTransactor) FinishMinting

func (_WBTC *WBTCTransactor) FinishMinting(opts *bind.TransactOpts) (*types.Transaction, error)

FinishMinting is a paid mutator transaction binding the contract method 0x7d64bcb4.

Solidity: function finishMinting() returns(bool)

func (*WBTCTransactor) IncreaseApproval

func (_WBTC *WBTCTransactor) IncreaseApproval(opts *bind.TransactOpts, _spender common.Address, _addedValue *big.Int) (*types.Transaction, error)

IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.

Solidity: function increaseApproval(address _spender, uint256 _addedValue) returns(bool success)

func (*WBTCTransactor) Mint

func (_WBTC *WBTCTransactor) Mint(opts *bind.TransactOpts, _to common.Address, _amount *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x40c10f19.

Solidity: function mint(address _to, uint256 _amount) returns(bool)

func (*WBTCTransactor) Pause

func (_WBTC *WBTCTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*WBTCTransactor) ReclaimToken

func (_WBTC *WBTCTransactor) ReclaimToken(opts *bind.TransactOpts, _token common.Address) (*types.Transaction, error)

ReclaimToken is a paid mutator transaction binding the contract method 0x17ffc320.

Solidity: function reclaimToken(address _token) returns()

func (*WBTCTransactor) RenounceOwnership

func (_WBTC *WBTCTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*WBTCTransactor) Transfer

func (_WBTC *WBTCTransactor) 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)

func (*WBTCTransactor) TransferFrom

func (_WBTC *WBTCTransactor) 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)

func (*WBTCTransactor) TransferOwnership

func (_WBTC *WBTCTransactor) 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()

func (*WBTCTransactor) Unpause

func (_WBTC *WBTCTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

type WBTCTransactorRaw

type WBTCTransactorRaw struct {
	Contract *WBTCTransactor // Generic write-only contract binding to access the raw methods on
}

WBTCTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*WBTCTransactorRaw) Transact

func (_WBTC *WBTCTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*WBTCTransactorRaw) Transfer

func (_WBTC *WBTCTransactorRaw) 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 WBTCTransactorSession

type WBTCTransactorSession struct {
	Contract     *WBTCTransactor   // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

WBTCTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*WBTCTransactorSession) Approve

func (_WBTC *WBTCTransactorSession) 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)

func (*WBTCTransactorSession) Burn

func (_WBTC *WBTCTransactorSession) Burn(value *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x42966c68.

Solidity: function burn(uint256 value) returns()

func (*WBTCTransactorSession) ClaimOwnership

func (_WBTC *WBTCTransactorSession) ClaimOwnership() (*types.Transaction, error)

ClaimOwnership is a paid mutator transaction binding the contract method 0x4e71e0c8.

Solidity: function claimOwnership() returns()

func (*WBTCTransactorSession) DecreaseApproval

func (_WBTC *WBTCTransactorSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)

DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.

Solidity: function decreaseApproval(address _spender, uint256 _subtractedValue) returns(bool success)

func (*WBTCTransactorSession) FinishMinting

func (_WBTC *WBTCTransactorSession) FinishMinting() (*types.Transaction, error)

FinishMinting is a paid mutator transaction binding the contract method 0x7d64bcb4.

Solidity: function finishMinting() returns(bool)

func (*WBTCTransactorSession) IncreaseApproval

func (_WBTC *WBTCTransactorSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)

IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.

Solidity: function increaseApproval(address _spender, uint256 _addedValue) returns(bool success)

func (*WBTCTransactorSession) Mint

func (_WBTC *WBTCTransactorSession) Mint(_to common.Address, _amount *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x40c10f19.

Solidity: function mint(address _to, uint256 _amount) returns(bool)

func (*WBTCTransactorSession) Pause

func (_WBTC *WBTCTransactorSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*WBTCTransactorSession) ReclaimToken

func (_WBTC *WBTCTransactorSession) ReclaimToken(_token common.Address) (*types.Transaction, error)

ReclaimToken is a paid mutator transaction binding the contract method 0x17ffc320.

Solidity: function reclaimToken(address _token) returns()

func (*WBTCTransactorSession) RenounceOwnership

func (_WBTC *WBTCTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*WBTCTransactorSession) Transfer

func (_WBTC *WBTCTransactorSession) 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)

func (*WBTCTransactorSession) TransferFrom

func (_WBTC *WBTCTransactorSession) 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)

func (*WBTCTransactorSession) TransferOwnership

func (_WBTC *WBTCTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*WBTCTransactorSession) Unpause

func (_WBTC *WBTCTransactorSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

type WBTCTransfer

type WBTCTransfer struct {
	From  common.Address
	To    common.Address
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

WBTCTransfer represents a Transfer event raised by the WBTC contract.

type WBTCTransferIterator

type WBTCTransferIterator struct {
	Event *WBTCTransfer // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

WBTCTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the WBTC contract.

func (*WBTCTransferIterator) Close

func (it *WBTCTransferIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*WBTCTransferIterator) Error

func (it *WBTCTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*WBTCTransferIterator) Next

func (it *WBTCTransferIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type WBTCUnpause

type WBTCUnpause struct {
	Raw types.Log // Blockchain specific contextual infos
}

WBTCUnpause represents a Unpause event raised by the WBTC contract.

type WBTCUnpauseIterator

type WBTCUnpauseIterator struct {
	Event *WBTCUnpause // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

WBTCUnpauseIterator is returned from FilterUnpause and is used to iterate over the raw logs and unpacked data for Unpause events raised by the WBTC contract.

func (*WBTCUnpauseIterator) Close

func (it *WBTCUnpauseIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*WBTCUnpauseIterator) Error

func (it *WBTCUnpauseIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*WBTCUnpauseIterator) Next

func (it *WBTCUnpauseIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL