snt

package
v0.163.8 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2023 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

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

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

View Source
const ControlledABI = "" /* 478-byte string literal not displayed */

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

View Source
const ERC20TokenABI = "" /* 2048-byte string literal not displayed */

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

View Source
const MiniMeTokenABI = "" /* 7247-byte string literal not displayed */

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

View Source
const MiniMeTokenFactoryABI = "" /* 484-byte string literal not displayed */

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

View Source
const SNTABI = "" /* 6805-byte string literal not displayed */

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

View Source
const TokenControllerABI = "" /* 842-byte string literal not displayed */

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

Variables

View Source
var ApproveAndCallFallBackFuncSigs = map[string]string{
	"8f4ffcb1": "receiveApproval(address,uint256,address,bytes)",
}

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

View Source
var ControlledBin = "" /* 578-byte string literal not displayed */

ControlledBin is the compiled bytecode used for deploying new contracts.

View Source
var ControlledFuncSigs = map[string]string{
	"3cebb823": "changeController(address)",
	"f77c4791": "controller()",
}

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

View Source
var ERC20TokenFuncSigs = 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)",
}

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

View Source
var MiniMeTokenBin = "" /* 4132-byte string literal not displayed */

MiniMeTokenBin is the compiled bytecode used for deploying new contracts.

View Source
var MiniMeTokenFactoryFuncSigs = map[string]string{
	"5b7b72c1": "createCloneToken(address,uint256,string,uint8,string,bool)",
}

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

View Source
var MiniMeTokenFuncSigs = map[string]string{
	"dd62ed3e": "allowance(address,address)",
	"095ea7b3": "approve(address,uint256)",
	"cae9ca51": "approveAndCall(address,uint256,bytes)",
	"70a08231": "balanceOf(address)",
	"4ee2cd7e": "balanceOfAt(address,uint256)",
	"3cebb823": "changeController(address)",
	"df8de3e7": "claimTokens(address)",
	"f77c4791": "controller()",
	"6638c087": "createCloneToken(string,uint8,string,uint256,bool)",
	"17634514": "creationBlock()",
	"313ce567": "decimals()",
	"d3ce77fe": "destroyTokens(address,uint256)",
	"f41e60c5": "enableTransfers(bool)",
	"827f32c0": "generateTokens(address,uint256)",
	"06fdde03": "name()",
	"c5bcc4f1": "parentSnapShotBlock()",
	"80a54001": "parentToken()",
	"95d89b41": "symbol()",
	"e77772fe": "tokenFactory()",
	"18160ddd": "totalSupply()",
	"981b24d0": "totalSupplyAt(uint256)",
	"a9059cbb": "transfer(address,uint256)",
	"23b872dd": "transferFrom(address,address,uint256)",
	"bef97c87": "transfersEnabled()",
	"54fd4d50": "version()",
}

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

View Source
var SNTFuncSigs = map[string]string{
	"dd62ed3e": "allowance(address,address)",
	"095ea7b3": "approve(address,uint256)",
	"cae9ca51": "approveAndCall(address,uint256,bytes)",
	"70a08231": "balanceOf(address)",
	"4ee2cd7e": "balanceOfAt(address,uint256)",
	"3cebb823": "changeController(address)",
	"df8de3e7": "claimTokens(address)",
	"f77c4791": "controller()",
	"6638c087": "createCloneToken(string,uint8,string,uint256,bool)",
	"17634514": "creationBlock()",
	"313ce567": "decimals()",
	"d3ce77fe": "destroyTokens(address,uint256)",
	"f41e60c5": "enableTransfers(bool)",
	"827f32c0": "generateTokens(address,uint256)",
	"06fdde03": "name()",
	"c5bcc4f1": "parentSnapShotBlock()",
	"80a54001": "parentToken()",
	"95d89b41": "symbol()",
	"e77772fe": "tokenFactory()",
	"18160ddd": "totalSupply()",
	"981b24d0": "totalSupplyAt(uint256)",
	"a9059cbb": "transfer(address,uint256)",
	"23b872dd": "transferFrom(address,address,uint256)",
	"bef97c87": "transfersEnabled()",
	"54fd4d50": "version()",
}

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

View Source
var TokenControllerFuncSigs = map[string]string{
	"da682aeb": "onApprove(address,address,uint256)",
	"4a393149": "onTransfer(address,address,uint256)",
	"f48c3054": "proxyPayment(address)",
}

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

Functions

func ContractAddress

func ContractAddress(chainID uint64) (common.Address, error)

Types

type ApproveAndCallFallBack

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

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

func NewApproveAndCallFallBack

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

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

type ApproveAndCallFallBackCaller

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

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

func NewApproveAndCallFallBackCaller

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

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

type ApproveAndCallFallBackCallerRaw

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

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

func (*ApproveAndCallFallBackCallerRaw) Call

func (_ApproveAndCallFallBack *ApproveAndCallFallBackCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type ApproveAndCallFallBackCallerSession

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

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

type ApproveAndCallFallBackFilterer

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

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

func NewApproveAndCallFallBackFilterer

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

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

type ApproveAndCallFallBackRaw

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

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

func (*ApproveAndCallFallBackRaw) Call

func (_ApproveAndCallFallBack *ApproveAndCallFallBackRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*ApproveAndCallFallBackRaw) Transact

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

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

func (*ApproveAndCallFallBackRaw) Transfer

func (_ApproveAndCallFallBack *ApproveAndCallFallBackRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type ApproveAndCallFallBackSession

type ApproveAndCallFallBackSession struct {
	Contract     *ApproveAndCallFallBack // Generic contract binding to set the session for
	CallOpts     bind.CallOpts           // Call options to use throughout this session
	TransactOpts bind.TransactOpts       // Transaction auth options to use throughout this session
}

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

func (*ApproveAndCallFallBackSession) ReceiveApproval

func (_ApproveAndCallFallBack *ApproveAndCallFallBackSession) ReceiveApproval(from common.Address, _amount *big.Int, _token common.Address, _data []byte) (*types.Transaction, error)

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

Solidity: function receiveApproval(address from, uint256 _amount, address _token, bytes _data) returns()

type ApproveAndCallFallBackTransactor

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

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

func NewApproveAndCallFallBackTransactor

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

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

func (*ApproveAndCallFallBackTransactor) ReceiveApproval

func (_ApproveAndCallFallBack *ApproveAndCallFallBackTransactor) ReceiveApproval(opts *bind.TransactOpts, from common.Address, _amount *big.Int, _token common.Address, _data []byte) (*types.Transaction, error)

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

Solidity: function receiveApproval(address from, uint256 _amount, address _token, bytes _data) returns()

type ApproveAndCallFallBackTransactorRaw

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

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

func (*ApproveAndCallFallBackTransactorRaw) Transact

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

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

func (*ApproveAndCallFallBackTransactorRaw) Transfer

func (_ApproveAndCallFallBack *ApproveAndCallFallBackTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type ApproveAndCallFallBackTransactorSession

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

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

func (*ApproveAndCallFallBackTransactorSession) ReceiveApproval

func (_ApproveAndCallFallBack *ApproveAndCallFallBackTransactorSession) ReceiveApproval(from common.Address, _amount *big.Int, _token common.Address, _data []byte) (*types.Transaction, error)

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

Solidity: function receiveApproval(address from, uint256 _amount, address _token, bytes _data) returns()

type Controlled

type Controlled struct {
	ControlledCaller     // Read-only binding to the contract
	ControlledTransactor // Write-only binding to the contract
	ControlledFilterer   // Log filterer for contract events
}

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

func DeployControlled

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

DeployControlled deploys a new Ethereum contract, binding an instance of Controlled to it.

func NewControlled

func NewControlled(address common.Address, backend bind.ContractBackend) (*Controlled, error)

NewControlled creates a new instance of Controlled, bound to a specific deployed contract.

type ControlledCaller

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

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

func NewControlledCaller

func NewControlledCaller(address common.Address, caller bind.ContractCaller) (*ControlledCaller, error)

NewControlledCaller creates a new read-only instance of Controlled, bound to a specific deployed contract.

func (*ControlledCaller) Controller

func (_Controlled *ControlledCaller) Controller(opts *bind.CallOpts) (common.Address, error)

Controller is a free data retrieval call binding the contract method 0xf77c4791.

Solidity: function controller() view returns(address)

type ControlledCallerRaw

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

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

func (*ControlledCallerRaw) Call

func (_Controlled *ControlledCallerRaw) 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 ControlledCallerSession

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

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

func (*ControlledCallerSession) Controller

func (_Controlled *ControlledCallerSession) Controller() (common.Address, error)

Controller is a free data retrieval call binding the contract method 0xf77c4791.

Solidity: function controller() view returns(address)

type ControlledFilterer

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

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

func NewControlledFilterer

func NewControlledFilterer(address common.Address, filterer bind.ContractFilterer) (*ControlledFilterer, error)

NewControlledFilterer creates a new log filterer instance of Controlled, bound to a specific deployed contract.

type ControlledRaw

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

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

func (*ControlledRaw) Call

func (_Controlled *ControlledRaw) 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 (*ControlledRaw) Transact

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

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

func (*ControlledRaw) Transfer

func (_Controlled *ControlledRaw) 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 ControlledSession

type ControlledSession struct {
	Contract     *Controlled       // 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
}

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

func (*ControlledSession) ChangeController

func (_Controlled *ControlledSession) ChangeController(_newController common.Address) (*types.Transaction, error)

ChangeController is a paid mutator transaction binding the contract method 0x3cebb823.

Solidity: function changeController(address _newController) returns()

func (*ControlledSession) Controller

func (_Controlled *ControlledSession) Controller() (common.Address, error)

Controller is a free data retrieval call binding the contract method 0xf77c4791.

Solidity: function controller() view returns(address)

type ControlledTransactor

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

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

func NewControlledTransactor

func NewControlledTransactor(address common.Address, transactor bind.ContractTransactor) (*ControlledTransactor, error)

NewControlledTransactor creates a new write-only instance of Controlled, bound to a specific deployed contract.

func (*ControlledTransactor) ChangeController

func (_Controlled *ControlledTransactor) ChangeController(opts *bind.TransactOpts, _newController common.Address) (*types.Transaction, error)

ChangeController is a paid mutator transaction binding the contract method 0x3cebb823.

Solidity: function changeController(address _newController) returns()

type ControlledTransactorRaw

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

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

func (*ControlledTransactorRaw) Transact

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

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

func (*ControlledTransactorRaw) Transfer

func (_Controlled *ControlledTransactorRaw) 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 ControlledTransactorSession

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

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

func (*ControlledTransactorSession) ChangeController

func (_Controlled *ControlledTransactorSession) ChangeController(_newController common.Address) (*types.Transaction, error)

ChangeController is a paid mutator transaction binding the contract method 0x3cebb823.

Solidity: function changeController(address _newController) returns()

type ERC20Token

type ERC20Token struct {
	ERC20TokenCaller     // Read-only binding to the contract
	ERC20TokenTransactor // Write-only binding to the contract
	ERC20TokenFilterer   // Log filterer for contract events
}

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

func NewERC20Token

func NewERC20Token(address common.Address, backend bind.ContractBackend) (*ERC20Token, error)

NewERC20Token creates a new instance of ERC20Token, bound to a specific deployed contract.

type ERC20TokenApproval

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

ERC20TokenApproval represents a Approval event raised by the ERC20Token contract.

type ERC20TokenApprovalIterator

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

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

func (*ERC20TokenApprovalIterator) Close

func (it *ERC20TokenApprovalIterator) Close() error

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

func (*ERC20TokenApprovalIterator) Error

func (it *ERC20TokenApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC20TokenApprovalIterator) Next

func (it *ERC20TokenApprovalIterator) 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 ERC20TokenCaller

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

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

func NewERC20TokenCaller

func NewERC20TokenCaller(address common.Address, caller bind.ContractCaller) (*ERC20TokenCaller, error)

NewERC20TokenCaller creates a new read-only instance of ERC20Token, bound to a specific deployed contract.

func (*ERC20TokenCaller) Allowance

func (_ERC20Token *ERC20TokenCaller) 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 remaining)

func (*ERC20TokenCaller) BalanceOf

func (_ERC20Token *ERC20TokenCaller) 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 balance)

func (*ERC20TokenCaller) TotalSupply

func (_ERC20Token *ERC20TokenCaller) 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 ERC20TokenCallerRaw

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

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

func (*ERC20TokenCallerRaw) Call

func (_ERC20Token *ERC20TokenCallerRaw) 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 ERC20TokenCallerSession

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

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

func (*ERC20TokenCallerSession) Allowance

func (_ERC20Token *ERC20TokenCallerSession) 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 remaining)

func (*ERC20TokenCallerSession) BalanceOf

func (_ERC20Token *ERC20TokenCallerSession) 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 balance)

func (*ERC20TokenCallerSession) TotalSupply

func (_ERC20Token *ERC20TokenCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type ERC20TokenFilterer

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

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

func NewERC20TokenFilterer

func NewERC20TokenFilterer(address common.Address, filterer bind.ContractFilterer) (*ERC20TokenFilterer, error)

NewERC20TokenFilterer creates a new log filterer instance of ERC20Token, bound to a specific deployed contract.

func (*ERC20TokenFilterer) FilterApproval

func (_ERC20Token *ERC20TokenFilterer) FilterApproval(opts *bind.FilterOpts, _owner []common.Address, _spender []common.Address) (*ERC20TokenApprovalIterator, 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 (*ERC20TokenFilterer) FilterTransfer

func (_ERC20Token *ERC20TokenFilterer) FilterTransfer(opts *bind.FilterOpts, _from []common.Address, _to []common.Address) (*ERC20TokenTransferIterator, 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 (*ERC20TokenFilterer) ParseApproval

func (_ERC20Token *ERC20TokenFilterer) ParseApproval(log types.Log) (*ERC20TokenApproval, error)

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

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

func (*ERC20TokenFilterer) ParseTransfer

func (_ERC20Token *ERC20TokenFilterer) ParseTransfer(log types.Log) (*ERC20TokenTransfer, error)

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

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

func (*ERC20TokenFilterer) WatchApproval

func (_ERC20Token *ERC20TokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC20TokenApproval, _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 (*ERC20TokenFilterer) WatchTransfer

func (_ERC20Token *ERC20TokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20TokenTransfer, _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 ERC20TokenRaw

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

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

func (*ERC20TokenRaw) Call

func (_ERC20Token *ERC20TokenRaw) 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 (*ERC20TokenRaw) Transact

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

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

func (*ERC20TokenRaw) Transfer

func (_ERC20Token *ERC20TokenRaw) 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 ERC20TokenSession

type ERC20TokenSession struct {
	Contract     *ERC20Token       // 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
}

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

func (*ERC20TokenSession) Allowance

func (_ERC20Token *ERC20TokenSession) 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 remaining)

func (*ERC20TokenSession) Approve

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

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

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

func (*ERC20TokenSession) BalanceOf

func (_ERC20Token *ERC20TokenSession) 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 balance)

func (*ERC20TokenSession) TotalSupply

func (_ERC20Token *ERC20TokenSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*ERC20TokenSession) Transfer

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

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

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

func (*ERC20TokenSession) TransferFrom

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

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

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

type ERC20TokenTransactor

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

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

func NewERC20TokenTransactor

func NewERC20TokenTransactor(address common.Address, transactor bind.ContractTransactor) (*ERC20TokenTransactor, error)

NewERC20TokenTransactor creates a new write-only instance of ERC20Token, bound to a specific deployed contract.

func (*ERC20TokenTransactor) Approve

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

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

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

func (*ERC20TokenTransactor) Transfer

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

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

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

func (*ERC20TokenTransactor) TransferFrom

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

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

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

type ERC20TokenTransactorRaw

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

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

func (*ERC20TokenTransactorRaw) Transact

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

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

func (*ERC20TokenTransactorRaw) Transfer

func (_ERC20Token *ERC20TokenTransactorRaw) 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 ERC20TokenTransactorSession

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

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

func (*ERC20TokenTransactorSession) Approve

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

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

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

func (*ERC20TokenTransactorSession) Transfer

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

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

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

func (*ERC20TokenTransactorSession) TransferFrom

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

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

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

type ERC20TokenTransfer

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

ERC20TokenTransfer represents a Transfer event raised by the ERC20Token contract.

type ERC20TokenTransferIterator

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

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

func (*ERC20TokenTransferIterator) Close

func (it *ERC20TokenTransferIterator) Close() error

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

func (*ERC20TokenTransferIterator) Error

func (it *ERC20TokenTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC20TokenTransferIterator) Next

func (it *ERC20TokenTransferIterator) 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 MiniMeToken

type MiniMeToken struct {
	MiniMeTokenCaller     // Read-only binding to the contract
	MiniMeTokenTransactor // Write-only binding to the contract
	MiniMeTokenFilterer   // Log filterer for contract events
}

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

func DeployMiniMeToken

func DeployMiniMeToken(auth *bind.TransactOpts, backend bind.ContractBackend, _tokenFactory common.Address, _parentToken common.Address, _parentSnapShotBlock *big.Int, _tokenName string, _decimalUnits uint8, _tokenSymbol string, _transfersEnabled bool) (common.Address, *types.Transaction, *MiniMeToken, error)

DeployMiniMeToken deploys a new Ethereum contract, binding an instance of MiniMeToken to it.

func NewMiniMeToken

func NewMiniMeToken(address common.Address, backend bind.ContractBackend) (*MiniMeToken, error)

NewMiniMeToken creates a new instance of MiniMeToken, bound to a specific deployed contract.

type MiniMeTokenApproval

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

MiniMeTokenApproval represents a Approval event raised by the MiniMeToken contract.

type MiniMeTokenApprovalIterator

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

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

func (*MiniMeTokenApprovalIterator) Close

func (it *MiniMeTokenApprovalIterator) Close() error

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

func (*MiniMeTokenApprovalIterator) Error

func (it *MiniMeTokenApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MiniMeTokenApprovalIterator) Next

func (it *MiniMeTokenApprovalIterator) 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 MiniMeTokenCaller

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

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

func NewMiniMeTokenCaller

func NewMiniMeTokenCaller(address common.Address, caller bind.ContractCaller) (*MiniMeTokenCaller, error)

NewMiniMeTokenCaller creates a new read-only instance of MiniMeToken, bound to a specific deployed contract.

func (*MiniMeTokenCaller) Allowance

func (_MiniMeToken *MiniMeTokenCaller) 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 remaining)

func (*MiniMeTokenCaller) BalanceOf

func (_MiniMeToken *MiniMeTokenCaller) 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 balance)

func (*MiniMeTokenCaller) BalanceOfAt

func (_MiniMeToken *MiniMeTokenCaller) BalanceOfAt(opts *bind.CallOpts, _owner common.Address, _blockNumber *big.Int) (*big.Int, error)

BalanceOfAt is a free data retrieval call binding the contract method 0x4ee2cd7e.

Solidity: function balanceOfAt(address _owner, uint256 _blockNumber) view returns(uint256)

func (*MiniMeTokenCaller) Controller

func (_MiniMeToken *MiniMeTokenCaller) Controller(opts *bind.CallOpts) (common.Address, error)

Controller is a free data retrieval call binding the contract method 0xf77c4791.

Solidity: function controller() view returns(address)

func (*MiniMeTokenCaller) CreationBlock

func (_MiniMeToken *MiniMeTokenCaller) CreationBlock(opts *bind.CallOpts) (*big.Int, error)

CreationBlock is a free data retrieval call binding the contract method 0x17634514.

Solidity: function creationBlock() view returns(uint256)

func (*MiniMeTokenCaller) Decimals

func (_MiniMeToken *MiniMeTokenCaller) 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 (*MiniMeTokenCaller) Name

func (_MiniMeToken *MiniMeTokenCaller) 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 (*MiniMeTokenCaller) ParentSnapShotBlock

func (_MiniMeToken *MiniMeTokenCaller) ParentSnapShotBlock(opts *bind.CallOpts) (*big.Int, error)

ParentSnapShotBlock is a free data retrieval call binding the contract method 0xc5bcc4f1.

Solidity: function parentSnapShotBlock() view returns(uint256)

func (*MiniMeTokenCaller) ParentToken

func (_MiniMeToken *MiniMeTokenCaller) ParentToken(opts *bind.CallOpts) (common.Address, error)

ParentToken is a free data retrieval call binding the contract method 0x80a54001.

Solidity: function parentToken() view returns(address)

func (*MiniMeTokenCaller) Symbol

func (_MiniMeToken *MiniMeTokenCaller) 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 (*MiniMeTokenCaller) TokenFactory

func (_MiniMeToken *MiniMeTokenCaller) TokenFactory(opts *bind.CallOpts) (common.Address, error)

TokenFactory is a free data retrieval call binding the contract method 0xe77772fe.

Solidity: function tokenFactory() view returns(address)

func (*MiniMeTokenCaller) TotalSupply

func (_MiniMeToken *MiniMeTokenCaller) 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 (*MiniMeTokenCaller) TotalSupplyAt

func (_MiniMeToken *MiniMeTokenCaller) TotalSupplyAt(opts *bind.CallOpts, _blockNumber *big.Int) (*big.Int, error)

TotalSupplyAt is a free data retrieval call binding the contract method 0x981b24d0.

Solidity: function totalSupplyAt(uint256 _blockNumber) view returns(uint256)

func (*MiniMeTokenCaller) TransfersEnabled

func (_MiniMeToken *MiniMeTokenCaller) TransfersEnabled(opts *bind.CallOpts) (bool, error)

TransfersEnabled is a free data retrieval call binding the contract method 0xbef97c87.

Solidity: function transfersEnabled() view returns(bool)

func (*MiniMeTokenCaller) Version

func (_MiniMeToken *MiniMeTokenCaller) Version(opts *bind.CallOpts) (string, error)

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

Solidity: function version() view returns(string)

type MiniMeTokenCallerRaw

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

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

func (*MiniMeTokenCallerRaw) Call

func (_MiniMeToken *MiniMeTokenCallerRaw) 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 MiniMeTokenCallerSession

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

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

func (*MiniMeTokenCallerSession) Allowance

func (_MiniMeToken *MiniMeTokenCallerSession) 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 remaining)

func (*MiniMeTokenCallerSession) BalanceOf

func (_MiniMeToken *MiniMeTokenCallerSession) 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 balance)

func (*MiniMeTokenCallerSession) BalanceOfAt

func (_MiniMeToken *MiniMeTokenCallerSession) BalanceOfAt(_owner common.Address, _blockNumber *big.Int) (*big.Int, error)

BalanceOfAt is a free data retrieval call binding the contract method 0x4ee2cd7e.

Solidity: function balanceOfAt(address _owner, uint256 _blockNumber) view returns(uint256)

func (*MiniMeTokenCallerSession) Controller

func (_MiniMeToken *MiniMeTokenCallerSession) Controller() (common.Address, error)

Controller is a free data retrieval call binding the contract method 0xf77c4791.

Solidity: function controller() view returns(address)

func (*MiniMeTokenCallerSession) CreationBlock

func (_MiniMeToken *MiniMeTokenCallerSession) CreationBlock() (*big.Int, error)

CreationBlock is a free data retrieval call binding the contract method 0x17634514.

Solidity: function creationBlock() view returns(uint256)

func (*MiniMeTokenCallerSession) Decimals

func (_MiniMeToken *MiniMeTokenCallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*MiniMeTokenCallerSession) Name

func (_MiniMeToken *MiniMeTokenCallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*MiniMeTokenCallerSession) ParentSnapShotBlock

func (_MiniMeToken *MiniMeTokenCallerSession) ParentSnapShotBlock() (*big.Int, error)

ParentSnapShotBlock is a free data retrieval call binding the contract method 0xc5bcc4f1.

Solidity: function parentSnapShotBlock() view returns(uint256)

func (*MiniMeTokenCallerSession) ParentToken

func (_MiniMeToken *MiniMeTokenCallerSession) ParentToken() (common.Address, error)

ParentToken is a free data retrieval call binding the contract method 0x80a54001.

Solidity: function parentToken() view returns(address)

func (*MiniMeTokenCallerSession) Symbol

func (_MiniMeToken *MiniMeTokenCallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*MiniMeTokenCallerSession) TokenFactory

func (_MiniMeToken *MiniMeTokenCallerSession) TokenFactory() (common.Address, error)

TokenFactory is a free data retrieval call binding the contract method 0xe77772fe.

Solidity: function tokenFactory() view returns(address)

func (*MiniMeTokenCallerSession) TotalSupply

func (_MiniMeToken *MiniMeTokenCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*MiniMeTokenCallerSession) TotalSupplyAt

func (_MiniMeToken *MiniMeTokenCallerSession) TotalSupplyAt(_blockNumber *big.Int) (*big.Int, error)

TotalSupplyAt is a free data retrieval call binding the contract method 0x981b24d0.

Solidity: function totalSupplyAt(uint256 _blockNumber) view returns(uint256)

func (*MiniMeTokenCallerSession) TransfersEnabled

func (_MiniMeToken *MiniMeTokenCallerSession) TransfersEnabled() (bool, error)

TransfersEnabled is a free data retrieval call binding the contract method 0xbef97c87.

Solidity: function transfersEnabled() view returns(bool)

func (*MiniMeTokenCallerSession) Version

func (_MiniMeToken *MiniMeTokenCallerSession) Version() (string, error)

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

Solidity: function version() view returns(string)

type MiniMeTokenClaimedTokens

type MiniMeTokenClaimedTokens struct {
	Token      common.Address
	Controller common.Address
	Amount     *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

MiniMeTokenClaimedTokens represents a ClaimedTokens event raised by the MiniMeToken contract.

type MiniMeTokenClaimedTokensIterator

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

MiniMeTokenClaimedTokensIterator is returned from FilterClaimedTokens and is used to iterate over the raw logs and unpacked data for ClaimedTokens events raised by the MiniMeToken contract.

func (*MiniMeTokenClaimedTokensIterator) Close

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

func (*MiniMeTokenClaimedTokensIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

type MiniMeTokenFactory struct {
	MiniMeTokenFactoryCaller     // Read-only binding to the contract
	MiniMeTokenFactoryTransactor // Write-only binding to the contract
	MiniMeTokenFactoryFilterer   // Log filterer for contract events
}

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

func NewMiniMeTokenFactory

func NewMiniMeTokenFactory(address common.Address, backend bind.ContractBackend) (*MiniMeTokenFactory, error)

NewMiniMeTokenFactory creates a new instance of MiniMeTokenFactory, bound to a specific deployed contract.

type MiniMeTokenFactoryCaller

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

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

func NewMiniMeTokenFactoryCaller

func NewMiniMeTokenFactoryCaller(address common.Address, caller bind.ContractCaller) (*MiniMeTokenFactoryCaller, error)

NewMiniMeTokenFactoryCaller creates a new read-only instance of MiniMeTokenFactory, bound to a specific deployed contract.

type MiniMeTokenFactoryCallerRaw

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

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

func (*MiniMeTokenFactoryCallerRaw) Call

func (_MiniMeTokenFactory *MiniMeTokenFactoryCallerRaw) 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 MiniMeTokenFactoryCallerSession

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

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

type MiniMeTokenFactoryFilterer

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

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

func NewMiniMeTokenFactoryFilterer

func NewMiniMeTokenFactoryFilterer(address common.Address, filterer bind.ContractFilterer) (*MiniMeTokenFactoryFilterer, error)

NewMiniMeTokenFactoryFilterer creates a new log filterer instance of MiniMeTokenFactory, bound to a specific deployed contract.

type MiniMeTokenFactoryRaw

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

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

func (*MiniMeTokenFactoryRaw) Call

func (_MiniMeTokenFactory *MiniMeTokenFactoryRaw) 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 (*MiniMeTokenFactoryRaw) Transact

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

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

func (*MiniMeTokenFactoryRaw) Transfer

func (_MiniMeTokenFactory *MiniMeTokenFactoryRaw) 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 MiniMeTokenFactorySession

type MiniMeTokenFactorySession struct {
	Contract     *MiniMeTokenFactory // 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
}

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

func (*MiniMeTokenFactorySession) CreateCloneToken

func (_MiniMeTokenFactory *MiniMeTokenFactorySession) CreateCloneToken(_parentToken common.Address, _snapshotBlock *big.Int, _tokenName string, _decimalUnits uint8, _tokenSymbol string, _transfersEnabled bool) (*types.Transaction, error)

CreateCloneToken is a paid mutator transaction binding the contract method 0x5b7b72c1.

Solidity: function createCloneToken(address _parentToken, uint256 _snapshotBlock, string _tokenName, uint8 _decimalUnits, string _tokenSymbol, bool _transfersEnabled) returns(address)

type MiniMeTokenFactoryTransactor

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

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

func NewMiniMeTokenFactoryTransactor

func NewMiniMeTokenFactoryTransactor(address common.Address, transactor bind.ContractTransactor) (*MiniMeTokenFactoryTransactor, error)

NewMiniMeTokenFactoryTransactor creates a new write-only instance of MiniMeTokenFactory, bound to a specific deployed contract.

func (*MiniMeTokenFactoryTransactor) CreateCloneToken

func (_MiniMeTokenFactory *MiniMeTokenFactoryTransactor) CreateCloneToken(opts *bind.TransactOpts, _parentToken common.Address, _snapshotBlock *big.Int, _tokenName string, _decimalUnits uint8, _tokenSymbol string, _transfersEnabled bool) (*types.Transaction, error)

CreateCloneToken is a paid mutator transaction binding the contract method 0x5b7b72c1.

Solidity: function createCloneToken(address _parentToken, uint256 _snapshotBlock, string _tokenName, uint8 _decimalUnits, string _tokenSymbol, bool _transfersEnabled) returns(address)

type MiniMeTokenFactoryTransactorRaw

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

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

func (*MiniMeTokenFactoryTransactorRaw) Transact

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

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

func (*MiniMeTokenFactoryTransactorRaw) Transfer

func (_MiniMeTokenFactory *MiniMeTokenFactoryTransactorRaw) 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 MiniMeTokenFactoryTransactorSession

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

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

func (*MiniMeTokenFactoryTransactorSession) CreateCloneToken

func (_MiniMeTokenFactory *MiniMeTokenFactoryTransactorSession) CreateCloneToken(_parentToken common.Address, _snapshotBlock *big.Int, _tokenName string, _decimalUnits uint8, _tokenSymbol string, _transfersEnabled bool) (*types.Transaction, error)

CreateCloneToken is a paid mutator transaction binding the contract method 0x5b7b72c1.

Solidity: function createCloneToken(address _parentToken, uint256 _snapshotBlock, string _tokenName, uint8 _decimalUnits, string _tokenSymbol, bool _transfersEnabled) returns(address)

type MiniMeTokenFilterer

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

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

func NewMiniMeTokenFilterer

func NewMiniMeTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*MiniMeTokenFilterer, error)

NewMiniMeTokenFilterer creates a new log filterer instance of MiniMeToken, bound to a specific deployed contract.

func (*MiniMeTokenFilterer) FilterApproval

func (_MiniMeToken *MiniMeTokenFilterer) FilterApproval(opts *bind.FilterOpts, _owner []common.Address, _spender []common.Address) (*MiniMeTokenApprovalIterator, error)

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

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

func (*MiniMeTokenFilterer) FilterClaimedTokens

func (_MiniMeToken *MiniMeTokenFilterer) FilterClaimedTokens(opts *bind.FilterOpts, _token []common.Address, _controller []common.Address) (*MiniMeTokenClaimedTokensIterator, error)

FilterClaimedTokens is a free log retrieval operation binding the contract event 0xf931edb47c50b4b4104c187b5814a9aef5f709e17e2ecf9617e860cacade929c.

Solidity: event ClaimedTokens(address indexed _token, address indexed _controller, uint256 _amount)

func (*MiniMeTokenFilterer) FilterNewCloneToken

func (_MiniMeToken *MiniMeTokenFilterer) FilterNewCloneToken(opts *bind.FilterOpts, _cloneToken []common.Address) (*MiniMeTokenNewCloneTokenIterator, error)

FilterNewCloneToken is a free log retrieval operation binding the contract event 0x086c875b377f900b07ce03575813022f05dd10ed7640b5282cf6d3c3fc352ade.

Solidity: event NewCloneToken(address indexed _cloneToken, uint256 _snapshotBlock)

func (*MiniMeTokenFilterer) FilterTransfer

func (_MiniMeToken *MiniMeTokenFilterer) FilterTransfer(opts *bind.FilterOpts, _from []common.Address, _to []common.Address) (*MiniMeTokenTransferIterator, error)

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

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

func (*MiniMeTokenFilterer) ParseApproval

func (_MiniMeToken *MiniMeTokenFilterer) ParseApproval(log types.Log) (*MiniMeTokenApproval, error)

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

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

func (*MiniMeTokenFilterer) ParseClaimedTokens

func (_MiniMeToken *MiniMeTokenFilterer) ParseClaimedTokens(log types.Log) (*MiniMeTokenClaimedTokens, error)

ParseClaimedTokens is a log parse operation binding the contract event 0xf931edb47c50b4b4104c187b5814a9aef5f709e17e2ecf9617e860cacade929c.

Solidity: event ClaimedTokens(address indexed _token, address indexed _controller, uint256 _amount)

func (*MiniMeTokenFilterer) ParseNewCloneToken

func (_MiniMeToken *MiniMeTokenFilterer) ParseNewCloneToken(log types.Log) (*MiniMeTokenNewCloneToken, error)

ParseNewCloneToken is a log parse operation binding the contract event 0x086c875b377f900b07ce03575813022f05dd10ed7640b5282cf6d3c3fc352ade.

Solidity: event NewCloneToken(address indexed _cloneToken, uint256 _snapshotBlock)

func (*MiniMeTokenFilterer) ParseTransfer

func (_MiniMeToken *MiniMeTokenFilterer) ParseTransfer(log types.Log) (*MiniMeTokenTransfer, error)

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

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

func (*MiniMeTokenFilterer) WatchApproval

func (_MiniMeToken *MiniMeTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *MiniMeTokenApproval, _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 _amount)

func (*MiniMeTokenFilterer) WatchClaimedTokens

func (_MiniMeToken *MiniMeTokenFilterer) WatchClaimedTokens(opts *bind.WatchOpts, sink chan<- *MiniMeTokenClaimedTokens, _token []common.Address, _controller []common.Address) (event.Subscription, error)

WatchClaimedTokens is a free log subscription operation binding the contract event 0xf931edb47c50b4b4104c187b5814a9aef5f709e17e2ecf9617e860cacade929c.

Solidity: event ClaimedTokens(address indexed _token, address indexed _controller, uint256 _amount)

func (*MiniMeTokenFilterer) WatchNewCloneToken

func (_MiniMeToken *MiniMeTokenFilterer) WatchNewCloneToken(opts *bind.WatchOpts, sink chan<- *MiniMeTokenNewCloneToken, _cloneToken []common.Address) (event.Subscription, error)

WatchNewCloneToken is a free log subscription operation binding the contract event 0x086c875b377f900b07ce03575813022f05dd10ed7640b5282cf6d3c3fc352ade.

Solidity: event NewCloneToken(address indexed _cloneToken, uint256 _snapshotBlock)

func (*MiniMeTokenFilterer) WatchTransfer

func (_MiniMeToken *MiniMeTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *MiniMeTokenTransfer, _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 _amount)

type MiniMeTokenNewCloneToken

type MiniMeTokenNewCloneToken struct {
	CloneToken    common.Address
	SnapshotBlock *big.Int
	Raw           types.Log // Blockchain specific contextual infos
}

MiniMeTokenNewCloneToken represents a NewCloneToken event raised by the MiniMeToken contract.

type MiniMeTokenNewCloneTokenIterator

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

MiniMeTokenNewCloneTokenIterator is returned from FilterNewCloneToken and is used to iterate over the raw logs and unpacked data for NewCloneToken events raised by the MiniMeToken contract.

func (*MiniMeTokenNewCloneTokenIterator) Close

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

func (*MiniMeTokenNewCloneTokenIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

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

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

func (*MiniMeTokenRaw) Call

func (_MiniMeToken *MiniMeTokenRaw) 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 (*MiniMeTokenRaw) Transact

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

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

func (*MiniMeTokenRaw) Transfer

func (_MiniMeToken *MiniMeTokenRaw) 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 MiniMeTokenSession

type MiniMeTokenSession struct {
	Contract     *MiniMeToken      // 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
}

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

func (*MiniMeTokenSession) Allowance

func (_MiniMeToken *MiniMeTokenSession) 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 remaining)

func (*MiniMeTokenSession) Approve

func (_MiniMeToken *MiniMeTokenSession) Approve(_spender common.Address, _amount *big.Int) (*types.Transaction, error)

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

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

func (*MiniMeTokenSession) ApproveAndCall

func (_MiniMeToken *MiniMeTokenSession) ApproveAndCall(_spender common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)

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

Solidity: function approveAndCall(address _spender, uint256 _amount, bytes _extraData) returns(bool success)

func (*MiniMeTokenSession) BalanceOf

func (_MiniMeToken *MiniMeTokenSession) 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 balance)

func (*MiniMeTokenSession) BalanceOfAt

func (_MiniMeToken *MiniMeTokenSession) BalanceOfAt(_owner common.Address, _blockNumber *big.Int) (*big.Int, error)

BalanceOfAt is a free data retrieval call binding the contract method 0x4ee2cd7e.

Solidity: function balanceOfAt(address _owner, uint256 _blockNumber) view returns(uint256)

func (*MiniMeTokenSession) ChangeController

func (_MiniMeToken *MiniMeTokenSession) ChangeController(_newController common.Address) (*types.Transaction, error)

ChangeController is a paid mutator transaction binding the contract method 0x3cebb823.

Solidity: function changeController(address _newController) returns()

func (*MiniMeTokenSession) ClaimTokens

func (_MiniMeToken *MiniMeTokenSession) ClaimTokens(_token common.Address) (*types.Transaction, error)

ClaimTokens is a paid mutator transaction binding the contract method 0xdf8de3e7.

Solidity: function claimTokens(address _token) returns()

func (*MiniMeTokenSession) Controller

func (_MiniMeToken *MiniMeTokenSession) Controller() (common.Address, error)

Controller is a free data retrieval call binding the contract method 0xf77c4791.

Solidity: function controller() view returns(address)

func (*MiniMeTokenSession) CreateCloneToken

func (_MiniMeToken *MiniMeTokenSession) CreateCloneToken(_cloneTokenName string, _cloneDecimalUnits uint8, _cloneTokenSymbol string, _snapshotBlock *big.Int, _transfersEnabled bool) (*types.Transaction, error)

CreateCloneToken is a paid mutator transaction binding the contract method 0x6638c087.

Solidity: function createCloneToken(string _cloneTokenName, uint8 _cloneDecimalUnits, string _cloneTokenSymbol, uint256 _snapshotBlock, bool _transfersEnabled) returns(address)

func (*MiniMeTokenSession) CreationBlock

func (_MiniMeToken *MiniMeTokenSession) CreationBlock() (*big.Int, error)

CreationBlock is a free data retrieval call binding the contract method 0x17634514.

Solidity: function creationBlock() view returns(uint256)

func (*MiniMeTokenSession) Decimals

func (_MiniMeToken *MiniMeTokenSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*MiniMeTokenSession) DestroyTokens

func (_MiniMeToken *MiniMeTokenSession) DestroyTokens(_owner common.Address, _amount *big.Int) (*types.Transaction, error)

DestroyTokens is a paid mutator transaction binding the contract method 0xd3ce77fe.

Solidity: function destroyTokens(address _owner, uint256 _amount) returns(bool)

func (*MiniMeTokenSession) EnableTransfers

func (_MiniMeToken *MiniMeTokenSession) EnableTransfers(_transfersEnabled bool) (*types.Transaction, error)

EnableTransfers is a paid mutator transaction binding the contract method 0xf41e60c5.

Solidity: function enableTransfers(bool _transfersEnabled) returns()

func (*MiniMeTokenSession) Fallback

func (_MiniMeToken *MiniMeTokenSession) Fallback(calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() payable returns()

func (*MiniMeTokenSession) GenerateTokens

func (_MiniMeToken *MiniMeTokenSession) GenerateTokens(_owner common.Address, _amount *big.Int) (*types.Transaction, error)

GenerateTokens is a paid mutator transaction binding the contract method 0x827f32c0.

Solidity: function generateTokens(address _owner, uint256 _amount) returns(bool)

func (*MiniMeTokenSession) Name

func (_MiniMeToken *MiniMeTokenSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*MiniMeTokenSession) ParentSnapShotBlock

func (_MiniMeToken *MiniMeTokenSession) ParentSnapShotBlock() (*big.Int, error)

ParentSnapShotBlock is a free data retrieval call binding the contract method 0xc5bcc4f1.

Solidity: function parentSnapShotBlock() view returns(uint256)

func (*MiniMeTokenSession) ParentToken

func (_MiniMeToken *MiniMeTokenSession) ParentToken() (common.Address, error)

ParentToken is a free data retrieval call binding the contract method 0x80a54001.

Solidity: function parentToken() view returns(address)

func (*MiniMeTokenSession) Symbol

func (_MiniMeToken *MiniMeTokenSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*MiniMeTokenSession) TokenFactory

func (_MiniMeToken *MiniMeTokenSession) TokenFactory() (common.Address, error)

TokenFactory is a free data retrieval call binding the contract method 0xe77772fe.

Solidity: function tokenFactory() view returns(address)

func (*MiniMeTokenSession) TotalSupply

func (_MiniMeToken *MiniMeTokenSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*MiniMeTokenSession) TotalSupplyAt

func (_MiniMeToken *MiniMeTokenSession) TotalSupplyAt(_blockNumber *big.Int) (*big.Int, error)

TotalSupplyAt is a free data retrieval call binding the contract method 0x981b24d0.

Solidity: function totalSupplyAt(uint256 _blockNumber) view returns(uint256)

func (*MiniMeTokenSession) Transfer

func (_MiniMeToken *MiniMeTokenSession) Transfer(_to common.Address, _amount *big.Int) (*types.Transaction, error)

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

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

func (*MiniMeTokenSession) TransferFrom

func (_MiniMeToken *MiniMeTokenSession) TransferFrom(_from common.Address, _to common.Address, _amount *big.Int) (*types.Transaction, error)

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

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

func (*MiniMeTokenSession) TransfersEnabled

func (_MiniMeToken *MiniMeTokenSession) TransfersEnabled() (bool, error)

TransfersEnabled is a free data retrieval call binding the contract method 0xbef97c87.

Solidity: function transfersEnabled() view returns(bool)

func (*MiniMeTokenSession) Version

func (_MiniMeToken *MiniMeTokenSession) Version() (string, error)

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

Solidity: function version() view returns(string)

type MiniMeTokenTransactor

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

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

func NewMiniMeTokenTransactor

func NewMiniMeTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*MiniMeTokenTransactor, error)

NewMiniMeTokenTransactor creates a new write-only instance of MiniMeToken, bound to a specific deployed contract.

func (*MiniMeTokenTransactor) Approve

func (_MiniMeToken *MiniMeTokenTransactor) Approve(opts *bind.TransactOpts, _spender common.Address, _amount *big.Int) (*types.Transaction, error)

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

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

func (*MiniMeTokenTransactor) ApproveAndCall

func (_MiniMeToken *MiniMeTokenTransactor) ApproveAndCall(opts *bind.TransactOpts, _spender common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)

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

Solidity: function approveAndCall(address _spender, uint256 _amount, bytes _extraData) returns(bool success)

func (*MiniMeTokenTransactor) ChangeController

func (_MiniMeToken *MiniMeTokenTransactor) ChangeController(opts *bind.TransactOpts, _newController common.Address) (*types.Transaction, error)

ChangeController is a paid mutator transaction binding the contract method 0x3cebb823.

Solidity: function changeController(address _newController) returns()

func (*MiniMeTokenTransactor) ClaimTokens

func (_MiniMeToken *MiniMeTokenTransactor) ClaimTokens(opts *bind.TransactOpts, _token common.Address) (*types.Transaction, error)

ClaimTokens is a paid mutator transaction binding the contract method 0xdf8de3e7.

Solidity: function claimTokens(address _token) returns()

func (*MiniMeTokenTransactor) CreateCloneToken

func (_MiniMeToken *MiniMeTokenTransactor) CreateCloneToken(opts *bind.TransactOpts, _cloneTokenName string, _cloneDecimalUnits uint8, _cloneTokenSymbol string, _snapshotBlock *big.Int, _transfersEnabled bool) (*types.Transaction, error)

CreateCloneToken is a paid mutator transaction binding the contract method 0x6638c087.

Solidity: function createCloneToken(string _cloneTokenName, uint8 _cloneDecimalUnits, string _cloneTokenSymbol, uint256 _snapshotBlock, bool _transfersEnabled) returns(address)

func (*MiniMeTokenTransactor) DestroyTokens

func (_MiniMeToken *MiniMeTokenTransactor) DestroyTokens(opts *bind.TransactOpts, _owner common.Address, _amount *big.Int) (*types.Transaction, error)

DestroyTokens is a paid mutator transaction binding the contract method 0xd3ce77fe.

Solidity: function destroyTokens(address _owner, uint256 _amount) returns(bool)

func (*MiniMeTokenTransactor) EnableTransfers

func (_MiniMeToken *MiniMeTokenTransactor) EnableTransfers(opts *bind.TransactOpts, _transfersEnabled bool) (*types.Transaction, error)

EnableTransfers is a paid mutator transaction binding the contract method 0xf41e60c5.

Solidity: function enableTransfers(bool _transfersEnabled) returns()

func (*MiniMeTokenTransactor) Fallback

func (_MiniMeToken *MiniMeTokenTransactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() payable returns()

func (*MiniMeTokenTransactor) GenerateTokens

func (_MiniMeToken *MiniMeTokenTransactor) GenerateTokens(opts *bind.TransactOpts, _owner common.Address, _amount *big.Int) (*types.Transaction, error)

GenerateTokens is a paid mutator transaction binding the contract method 0x827f32c0.

Solidity: function generateTokens(address _owner, uint256 _amount) returns(bool)

func (*MiniMeTokenTransactor) Transfer

func (_MiniMeToken *MiniMeTokenTransactor) Transfer(opts *bind.TransactOpts, _to common.Address, _amount *big.Int) (*types.Transaction, error)

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

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

func (*MiniMeTokenTransactor) TransferFrom

func (_MiniMeToken *MiniMeTokenTransactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, _amount *big.Int) (*types.Transaction, error)

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

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

type MiniMeTokenTransactorRaw

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

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

func (*MiniMeTokenTransactorRaw) Transact

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

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

func (*MiniMeTokenTransactorRaw) Transfer

func (_MiniMeToken *MiniMeTokenTransactorRaw) 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 MiniMeTokenTransactorSession

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

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

func (*MiniMeTokenTransactorSession) Approve

func (_MiniMeToken *MiniMeTokenTransactorSession) Approve(_spender common.Address, _amount *big.Int) (*types.Transaction, error)

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

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

func (*MiniMeTokenTransactorSession) ApproveAndCall

func (_MiniMeToken *MiniMeTokenTransactorSession) ApproveAndCall(_spender common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)

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

Solidity: function approveAndCall(address _spender, uint256 _amount, bytes _extraData) returns(bool success)

func (*MiniMeTokenTransactorSession) ChangeController

func (_MiniMeToken *MiniMeTokenTransactorSession) ChangeController(_newController common.Address) (*types.Transaction, error)

ChangeController is a paid mutator transaction binding the contract method 0x3cebb823.

Solidity: function changeController(address _newController) returns()

func (*MiniMeTokenTransactorSession) ClaimTokens

func (_MiniMeToken *MiniMeTokenTransactorSession) ClaimTokens(_token common.Address) (*types.Transaction, error)

ClaimTokens is a paid mutator transaction binding the contract method 0xdf8de3e7.

Solidity: function claimTokens(address _token) returns()

func (*MiniMeTokenTransactorSession) CreateCloneToken

func (_MiniMeToken *MiniMeTokenTransactorSession) CreateCloneToken(_cloneTokenName string, _cloneDecimalUnits uint8, _cloneTokenSymbol string, _snapshotBlock *big.Int, _transfersEnabled bool) (*types.Transaction, error)

CreateCloneToken is a paid mutator transaction binding the contract method 0x6638c087.

Solidity: function createCloneToken(string _cloneTokenName, uint8 _cloneDecimalUnits, string _cloneTokenSymbol, uint256 _snapshotBlock, bool _transfersEnabled) returns(address)

func (*MiniMeTokenTransactorSession) DestroyTokens

func (_MiniMeToken *MiniMeTokenTransactorSession) DestroyTokens(_owner common.Address, _amount *big.Int) (*types.Transaction, error)

DestroyTokens is a paid mutator transaction binding the contract method 0xd3ce77fe.

Solidity: function destroyTokens(address _owner, uint256 _amount) returns(bool)

func (*MiniMeTokenTransactorSession) EnableTransfers

func (_MiniMeToken *MiniMeTokenTransactorSession) EnableTransfers(_transfersEnabled bool) (*types.Transaction, error)

EnableTransfers is a paid mutator transaction binding the contract method 0xf41e60c5.

Solidity: function enableTransfers(bool _transfersEnabled) returns()

func (*MiniMeTokenTransactorSession) Fallback

func (_MiniMeToken *MiniMeTokenTransactorSession) Fallback(calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() payable returns()

func (*MiniMeTokenTransactorSession) GenerateTokens

func (_MiniMeToken *MiniMeTokenTransactorSession) GenerateTokens(_owner common.Address, _amount *big.Int) (*types.Transaction, error)

GenerateTokens is a paid mutator transaction binding the contract method 0x827f32c0.

Solidity: function generateTokens(address _owner, uint256 _amount) returns(bool)

func (*MiniMeTokenTransactorSession) Transfer

func (_MiniMeToken *MiniMeTokenTransactorSession) Transfer(_to common.Address, _amount *big.Int) (*types.Transaction, error)

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

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

func (*MiniMeTokenTransactorSession) TransferFrom

func (_MiniMeToken *MiniMeTokenTransactorSession) TransferFrom(_from common.Address, _to common.Address, _amount *big.Int) (*types.Transaction, error)

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

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

type MiniMeTokenTransfer

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

MiniMeTokenTransfer represents a Transfer event raised by the MiniMeToken contract.

type MiniMeTokenTransferIterator

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

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

func (*MiniMeTokenTransferIterator) Close

func (it *MiniMeTokenTransferIterator) Close() error

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

func (*MiniMeTokenTransferIterator) Error

func (it *MiniMeTokenTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MiniMeTokenTransferIterator) Next

func (it *MiniMeTokenTransferIterator) 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 SNT

type SNT struct {
	SNTCaller     // Read-only binding to the contract
	SNTTransactor // Write-only binding to the contract
	SNTFilterer   // Log filterer for contract events
}

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

func NewSNT

func NewSNT(address common.Address, backend bind.ContractBackend) (*SNT, error)

NewSNT creates a new instance of SNT, bound to a specific deployed contract.

type SNTApproval

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

SNTApproval represents a Approval event raised by the SNT contract.

type SNTApprovalIterator

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

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

func (*SNTApprovalIterator) Close

func (it *SNTApprovalIterator) Close() error

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

func (*SNTApprovalIterator) Error

func (it *SNTApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*SNTApprovalIterator) Next

func (it *SNTApprovalIterator) 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 SNTCaller

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

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

func NewSNTCaller

func NewSNTCaller(address common.Address, caller bind.ContractCaller) (*SNTCaller, error)

NewSNTCaller creates a new read-only instance of SNT, bound to a specific deployed contract.

func (*SNTCaller) Allowance

func (_SNT *SNTCaller) 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 remaining)

func (*SNTCaller) BalanceOf

func (_SNT *SNTCaller) 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 balance)

func (*SNTCaller) BalanceOfAt

func (_SNT *SNTCaller) BalanceOfAt(opts *bind.CallOpts, _owner common.Address, _blockNumber *big.Int) (*big.Int, error)

BalanceOfAt is a free data retrieval call binding the contract method 0x4ee2cd7e.

Solidity: function balanceOfAt(address _owner, uint256 _blockNumber) view returns(uint256)

func (*SNTCaller) Controller

func (_SNT *SNTCaller) Controller(opts *bind.CallOpts) (common.Address, error)

Controller is a free data retrieval call binding the contract method 0xf77c4791.

Solidity: function controller() view returns(address)

func (*SNTCaller) CreationBlock

func (_SNT *SNTCaller) CreationBlock(opts *bind.CallOpts) (*big.Int, error)

CreationBlock is a free data retrieval call binding the contract method 0x17634514.

Solidity: function creationBlock() view returns(uint256)

func (*SNTCaller) Decimals

func (_SNT *SNTCaller) 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 (*SNTCaller) Name

func (_SNT *SNTCaller) 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 (*SNTCaller) ParentSnapShotBlock

func (_SNT *SNTCaller) ParentSnapShotBlock(opts *bind.CallOpts) (*big.Int, error)

ParentSnapShotBlock is a free data retrieval call binding the contract method 0xc5bcc4f1.

Solidity: function parentSnapShotBlock() view returns(uint256)

func (*SNTCaller) ParentToken

func (_SNT *SNTCaller) ParentToken(opts *bind.CallOpts) (common.Address, error)

ParentToken is a free data retrieval call binding the contract method 0x80a54001.

Solidity: function parentToken() view returns(address)

func (*SNTCaller) Symbol

func (_SNT *SNTCaller) 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 (*SNTCaller) TokenFactory

func (_SNT *SNTCaller) TokenFactory(opts *bind.CallOpts) (common.Address, error)

TokenFactory is a free data retrieval call binding the contract method 0xe77772fe.

Solidity: function tokenFactory() view returns(address)

func (*SNTCaller) TotalSupply

func (_SNT *SNTCaller) 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 (*SNTCaller) TotalSupplyAt

func (_SNT *SNTCaller) TotalSupplyAt(opts *bind.CallOpts, _blockNumber *big.Int) (*big.Int, error)

TotalSupplyAt is a free data retrieval call binding the contract method 0x981b24d0.

Solidity: function totalSupplyAt(uint256 _blockNumber) view returns(uint256)

func (*SNTCaller) TransfersEnabled

func (_SNT *SNTCaller) TransfersEnabled(opts *bind.CallOpts) (bool, error)

TransfersEnabled is a free data retrieval call binding the contract method 0xbef97c87.

Solidity: function transfersEnabled() view returns(bool)

func (*SNTCaller) Version

func (_SNT *SNTCaller) Version(opts *bind.CallOpts) (string, error)

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

Solidity: function version() view returns(string)

type SNTCallerRaw

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

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

func (*SNTCallerRaw) Call

func (_SNT *SNTCallerRaw) 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 SNTCallerSession

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

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

func (*SNTCallerSession) Allowance

func (_SNT *SNTCallerSession) 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 remaining)

func (*SNTCallerSession) BalanceOf

func (_SNT *SNTCallerSession) 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 balance)

func (*SNTCallerSession) BalanceOfAt

func (_SNT *SNTCallerSession) BalanceOfAt(_owner common.Address, _blockNumber *big.Int) (*big.Int, error)

BalanceOfAt is a free data retrieval call binding the contract method 0x4ee2cd7e.

Solidity: function balanceOfAt(address _owner, uint256 _blockNumber) view returns(uint256)

func (*SNTCallerSession) Controller

func (_SNT *SNTCallerSession) Controller() (common.Address, error)

Controller is a free data retrieval call binding the contract method 0xf77c4791.

Solidity: function controller() view returns(address)

func (*SNTCallerSession) CreationBlock

func (_SNT *SNTCallerSession) CreationBlock() (*big.Int, error)

CreationBlock is a free data retrieval call binding the contract method 0x17634514.

Solidity: function creationBlock() view returns(uint256)

func (*SNTCallerSession) Decimals

func (_SNT *SNTCallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*SNTCallerSession) Name

func (_SNT *SNTCallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*SNTCallerSession) ParentSnapShotBlock

func (_SNT *SNTCallerSession) ParentSnapShotBlock() (*big.Int, error)

ParentSnapShotBlock is a free data retrieval call binding the contract method 0xc5bcc4f1.

Solidity: function parentSnapShotBlock() view returns(uint256)

func (*SNTCallerSession) ParentToken

func (_SNT *SNTCallerSession) ParentToken() (common.Address, error)

ParentToken is a free data retrieval call binding the contract method 0x80a54001.

Solidity: function parentToken() view returns(address)

func (*SNTCallerSession) Symbol

func (_SNT *SNTCallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*SNTCallerSession) TokenFactory

func (_SNT *SNTCallerSession) TokenFactory() (common.Address, error)

TokenFactory is a free data retrieval call binding the contract method 0xe77772fe.

Solidity: function tokenFactory() view returns(address)

func (*SNTCallerSession) TotalSupply

func (_SNT *SNTCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*SNTCallerSession) TotalSupplyAt

func (_SNT *SNTCallerSession) TotalSupplyAt(_blockNumber *big.Int) (*big.Int, error)

TotalSupplyAt is a free data retrieval call binding the contract method 0x981b24d0.

Solidity: function totalSupplyAt(uint256 _blockNumber) view returns(uint256)

func (*SNTCallerSession) TransfersEnabled

func (_SNT *SNTCallerSession) TransfersEnabled() (bool, error)

TransfersEnabled is a free data retrieval call binding the contract method 0xbef97c87.

Solidity: function transfersEnabled() view returns(bool)

func (*SNTCallerSession) Version

func (_SNT *SNTCallerSession) Version() (string, error)

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

Solidity: function version() view returns(string)

type SNTClaimedTokens

type SNTClaimedTokens struct {
	Token      common.Address
	Controller common.Address
	Amount     *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

SNTClaimedTokens represents a ClaimedTokens event raised by the SNT contract.

type SNTClaimedTokensIterator

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

SNTClaimedTokensIterator is returned from FilterClaimedTokens and is used to iterate over the raw logs and unpacked data for ClaimedTokens events raised by the SNT contract.

func (*SNTClaimedTokensIterator) Close

func (it *SNTClaimedTokensIterator) Close() error

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

func (*SNTClaimedTokensIterator) Error

func (it *SNTClaimedTokensIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*SNTClaimedTokensIterator) Next

func (it *SNTClaimedTokensIterator) 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 SNTFilterer

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

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

func NewSNTFilterer

func NewSNTFilterer(address common.Address, filterer bind.ContractFilterer) (*SNTFilterer, error)

NewSNTFilterer creates a new log filterer instance of SNT, bound to a specific deployed contract.

func (*SNTFilterer) FilterApproval

func (_SNT *SNTFilterer) FilterApproval(opts *bind.FilterOpts, _owner []common.Address, _spender []common.Address) (*SNTApprovalIterator, error)

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

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

func (*SNTFilterer) FilterClaimedTokens

func (_SNT *SNTFilterer) FilterClaimedTokens(opts *bind.FilterOpts, _token []common.Address, _controller []common.Address) (*SNTClaimedTokensIterator, error)

FilterClaimedTokens is a free log retrieval operation binding the contract event 0xf931edb47c50b4b4104c187b5814a9aef5f709e17e2ecf9617e860cacade929c.

Solidity: event ClaimedTokens(address indexed _token, address indexed _controller, uint256 _amount)

func (*SNTFilterer) FilterNewCloneToken

func (_SNT *SNTFilterer) FilterNewCloneToken(opts *bind.FilterOpts, _cloneToken []common.Address) (*SNTNewCloneTokenIterator, error)

FilterNewCloneToken is a free log retrieval operation binding the contract event 0x086c875b377f900b07ce03575813022f05dd10ed7640b5282cf6d3c3fc352ade.

Solidity: event NewCloneToken(address indexed _cloneToken, uint256 _snapshotBlock)

func (*SNTFilterer) FilterTransfer

func (_SNT *SNTFilterer) FilterTransfer(opts *bind.FilterOpts, _from []common.Address, _to []common.Address) (*SNTTransferIterator, error)

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

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

func (*SNTFilterer) ParseApproval

func (_SNT *SNTFilterer) ParseApproval(log types.Log) (*SNTApproval, error)

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

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

func (*SNTFilterer) ParseClaimedTokens

func (_SNT *SNTFilterer) ParseClaimedTokens(log types.Log) (*SNTClaimedTokens, error)

ParseClaimedTokens is a log parse operation binding the contract event 0xf931edb47c50b4b4104c187b5814a9aef5f709e17e2ecf9617e860cacade929c.

Solidity: event ClaimedTokens(address indexed _token, address indexed _controller, uint256 _amount)

func (*SNTFilterer) ParseNewCloneToken

func (_SNT *SNTFilterer) ParseNewCloneToken(log types.Log) (*SNTNewCloneToken, error)

ParseNewCloneToken is a log parse operation binding the contract event 0x086c875b377f900b07ce03575813022f05dd10ed7640b5282cf6d3c3fc352ade.

Solidity: event NewCloneToken(address indexed _cloneToken, uint256 _snapshotBlock)

func (*SNTFilterer) ParseTransfer

func (_SNT *SNTFilterer) ParseTransfer(log types.Log) (*SNTTransfer, error)

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

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

func (*SNTFilterer) WatchApproval

func (_SNT *SNTFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *SNTApproval, _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 _amount)

func (*SNTFilterer) WatchClaimedTokens

func (_SNT *SNTFilterer) WatchClaimedTokens(opts *bind.WatchOpts, sink chan<- *SNTClaimedTokens, _token []common.Address, _controller []common.Address) (event.Subscription, error)

WatchClaimedTokens is a free log subscription operation binding the contract event 0xf931edb47c50b4b4104c187b5814a9aef5f709e17e2ecf9617e860cacade929c.

Solidity: event ClaimedTokens(address indexed _token, address indexed _controller, uint256 _amount)

func (*SNTFilterer) WatchNewCloneToken

func (_SNT *SNTFilterer) WatchNewCloneToken(opts *bind.WatchOpts, sink chan<- *SNTNewCloneToken, _cloneToken []common.Address) (event.Subscription, error)

WatchNewCloneToken is a free log subscription operation binding the contract event 0x086c875b377f900b07ce03575813022f05dd10ed7640b5282cf6d3c3fc352ade.

Solidity: event NewCloneToken(address indexed _cloneToken, uint256 _snapshotBlock)

func (*SNTFilterer) WatchTransfer

func (_SNT *SNTFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *SNTTransfer, _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 _amount)

type SNTNewCloneToken

type SNTNewCloneToken struct {
	CloneToken    common.Address
	SnapshotBlock *big.Int
	Raw           types.Log // Blockchain specific contextual infos
}

SNTNewCloneToken represents a NewCloneToken event raised by the SNT contract.

type SNTNewCloneTokenIterator

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

SNTNewCloneTokenIterator is returned from FilterNewCloneToken and is used to iterate over the raw logs and unpacked data for NewCloneToken events raised by the SNT contract.

func (*SNTNewCloneTokenIterator) Close

func (it *SNTNewCloneTokenIterator) Close() error

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

func (*SNTNewCloneTokenIterator) Error

func (it *SNTNewCloneTokenIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*SNTNewCloneTokenIterator) Next

func (it *SNTNewCloneTokenIterator) 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 SNTRaw

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

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

func (*SNTRaw) Call

func (_SNT *SNTRaw) 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 (*SNTRaw) Transact

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

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

func (*SNTRaw) Transfer

func (_SNT *SNTRaw) 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 SNTSession

type SNTSession struct {
	Contract     *SNT              // 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
}

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

func (*SNTSession) Allowance

func (_SNT *SNTSession) 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 remaining)

func (*SNTSession) Approve

func (_SNT *SNTSession) Approve(_spender common.Address, _amount *big.Int) (*types.Transaction, error)

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

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

func (*SNTSession) ApproveAndCall

func (_SNT *SNTSession) ApproveAndCall(_spender common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)

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

Solidity: function approveAndCall(address _spender, uint256 _amount, bytes _extraData) returns(bool success)

func (*SNTSession) BalanceOf

func (_SNT *SNTSession) 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 balance)

func (*SNTSession) BalanceOfAt

func (_SNT *SNTSession) BalanceOfAt(_owner common.Address, _blockNumber *big.Int) (*big.Int, error)

BalanceOfAt is a free data retrieval call binding the contract method 0x4ee2cd7e.

Solidity: function balanceOfAt(address _owner, uint256 _blockNumber) view returns(uint256)

func (*SNTSession) ChangeController

func (_SNT *SNTSession) ChangeController(_newController common.Address) (*types.Transaction, error)

ChangeController is a paid mutator transaction binding the contract method 0x3cebb823.

Solidity: function changeController(address _newController) returns()

func (*SNTSession) ClaimTokens

func (_SNT *SNTSession) ClaimTokens(_token common.Address) (*types.Transaction, error)

ClaimTokens is a paid mutator transaction binding the contract method 0xdf8de3e7.

Solidity: function claimTokens(address _token) returns()

func (*SNTSession) Controller

func (_SNT *SNTSession) Controller() (common.Address, error)

Controller is a free data retrieval call binding the contract method 0xf77c4791.

Solidity: function controller() view returns(address)

func (*SNTSession) CreateCloneToken

func (_SNT *SNTSession) CreateCloneToken(_cloneTokenName string, _cloneDecimalUnits uint8, _cloneTokenSymbol string, _snapshotBlock *big.Int, _transfersEnabled bool) (*types.Transaction, error)

CreateCloneToken is a paid mutator transaction binding the contract method 0x6638c087.

Solidity: function createCloneToken(string _cloneTokenName, uint8 _cloneDecimalUnits, string _cloneTokenSymbol, uint256 _snapshotBlock, bool _transfersEnabled) returns(address)

func (*SNTSession) CreationBlock

func (_SNT *SNTSession) CreationBlock() (*big.Int, error)

CreationBlock is a free data retrieval call binding the contract method 0x17634514.

Solidity: function creationBlock() view returns(uint256)

func (*SNTSession) Decimals

func (_SNT *SNTSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*SNTSession) DestroyTokens

func (_SNT *SNTSession) DestroyTokens(_owner common.Address, _amount *big.Int) (*types.Transaction, error)

DestroyTokens is a paid mutator transaction binding the contract method 0xd3ce77fe.

Solidity: function destroyTokens(address _owner, uint256 _amount) returns(bool)

func (*SNTSession) EnableTransfers

func (_SNT *SNTSession) EnableTransfers(_transfersEnabled bool) (*types.Transaction, error)

EnableTransfers is a paid mutator transaction binding the contract method 0xf41e60c5.

Solidity: function enableTransfers(bool _transfersEnabled) returns()

func (*SNTSession) Fallback

func (_SNT *SNTSession) Fallback(calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() payable returns()

func (*SNTSession) GenerateTokens

func (_SNT *SNTSession) GenerateTokens(_owner common.Address, _amount *big.Int) (*types.Transaction, error)

GenerateTokens is a paid mutator transaction binding the contract method 0x827f32c0.

Solidity: function generateTokens(address _owner, uint256 _amount) returns(bool)

func (*SNTSession) Name

func (_SNT *SNTSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*SNTSession) ParentSnapShotBlock

func (_SNT *SNTSession) ParentSnapShotBlock() (*big.Int, error)

ParentSnapShotBlock is a free data retrieval call binding the contract method 0xc5bcc4f1.

Solidity: function parentSnapShotBlock() view returns(uint256)

func (*SNTSession) ParentToken

func (_SNT *SNTSession) ParentToken() (common.Address, error)

ParentToken is a free data retrieval call binding the contract method 0x80a54001.

Solidity: function parentToken() view returns(address)

func (*SNTSession) Symbol

func (_SNT *SNTSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*SNTSession) TokenFactory

func (_SNT *SNTSession) TokenFactory() (common.Address, error)

TokenFactory is a free data retrieval call binding the contract method 0xe77772fe.

Solidity: function tokenFactory() view returns(address)

func (*SNTSession) TotalSupply

func (_SNT *SNTSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*SNTSession) TotalSupplyAt

func (_SNT *SNTSession) TotalSupplyAt(_blockNumber *big.Int) (*big.Int, error)

TotalSupplyAt is a free data retrieval call binding the contract method 0x981b24d0.

Solidity: function totalSupplyAt(uint256 _blockNumber) view returns(uint256)

func (*SNTSession) Transfer

func (_SNT *SNTSession) Transfer(_to common.Address, _amount *big.Int) (*types.Transaction, error)

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

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

func (*SNTSession) TransferFrom

func (_SNT *SNTSession) TransferFrom(_from common.Address, _to common.Address, _amount *big.Int) (*types.Transaction, error)

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

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

func (*SNTSession) TransfersEnabled

func (_SNT *SNTSession) TransfersEnabled() (bool, error)

TransfersEnabled is a free data retrieval call binding the contract method 0xbef97c87.

Solidity: function transfersEnabled() view returns(bool)

func (*SNTSession) Version

func (_SNT *SNTSession) Version() (string, error)

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

Solidity: function version() view returns(string)

type SNTTransactor

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

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

func NewSNTTransactor

func NewSNTTransactor(address common.Address, transactor bind.ContractTransactor) (*SNTTransactor, error)

NewSNTTransactor creates a new write-only instance of SNT, bound to a specific deployed contract.

func (*SNTTransactor) Approve

func (_SNT *SNTTransactor) Approve(opts *bind.TransactOpts, _spender common.Address, _amount *big.Int) (*types.Transaction, error)

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

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

func (*SNTTransactor) ApproveAndCall

func (_SNT *SNTTransactor) ApproveAndCall(opts *bind.TransactOpts, _spender common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)

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

Solidity: function approveAndCall(address _spender, uint256 _amount, bytes _extraData) returns(bool success)

func (*SNTTransactor) ChangeController

func (_SNT *SNTTransactor) ChangeController(opts *bind.TransactOpts, _newController common.Address) (*types.Transaction, error)

ChangeController is a paid mutator transaction binding the contract method 0x3cebb823.

Solidity: function changeController(address _newController) returns()

func (*SNTTransactor) ClaimTokens

func (_SNT *SNTTransactor) ClaimTokens(opts *bind.TransactOpts, _token common.Address) (*types.Transaction, error)

ClaimTokens is a paid mutator transaction binding the contract method 0xdf8de3e7.

Solidity: function claimTokens(address _token) returns()

func (*SNTTransactor) CreateCloneToken

func (_SNT *SNTTransactor) CreateCloneToken(opts *bind.TransactOpts, _cloneTokenName string, _cloneDecimalUnits uint8, _cloneTokenSymbol string, _snapshotBlock *big.Int, _transfersEnabled bool) (*types.Transaction, error)

CreateCloneToken is a paid mutator transaction binding the contract method 0x6638c087.

Solidity: function createCloneToken(string _cloneTokenName, uint8 _cloneDecimalUnits, string _cloneTokenSymbol, uint256 _snapshotBlock, bool _transfersEnabled) returns(address)

func (*SNTTransactor) DestroyTokens

func (_SNT *SNTTransactor) DestroyTokens(opts *bind.TransactOpts, _owner common.Address, _amount *big.Int) (*types.Transaction, error)

DestroyTokens is a paid mutator transaction binding the contract method 0xd3ce77fe.

Solidity: function destroyTokens(address _owner, uint256 _amount) returns(bool)

func (*SNTTransactor) EnableTransfers

func (_SNT *SNTTransactor) EnableTransfers(opts *bind.TransactOpts, _transfersEnabled bool) (*types.Transaction, error)

EnableTransfers is a paid mutator transaction binding the contract method 0xf41e60c5.

Solidity: function enableTransfers(bool _transfersEnabled) returns()

func (*SNTTransactor) Fallback

func (_SNT *SNTTransactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() payable returns()

func (*SNTTransactor) GenerateTokens

func (_SNT *SNTTransactor) GenerateTokens(opts *bind.TransactOpts, _owner common.Address, _amount *big.Int) (*types.Transaction, error)

GenerateTokens is a paid mutator transaction binding the contract method 0x827f32c0.

Solidity: function generateTokens(address _owner, uint256 _amount) returns(bool)

func (*SNTTransactor) Transfer

func (_SNT *SNTTransactor) Transfer(opts *bind.TransactOpts, _to common.Address, _amount *big.Int) (*types.Transaction, error)

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

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

func (*SNTTransactor) TransferFrom

func (_SNT *SNTTransactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, _amount *big.Int) (*types.Transaction, error)

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

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

type SNTTransactorRaw

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

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

func (*SNTTransactorRaw) Transact

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

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

func (*SNTTransactorRaw) Transfer

func (_SNT *SNTTransactorRaw) 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 SNTTransactorSession

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

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

func (*SNTTransactorSession) Approve

func (_SNT *SNTTransactorSession) Approve(_spender common.Address, _amount *big.Int) (*types.Transaction, error)

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

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

func (*SNTTransactorSession) ApproveAndCall

func (_SNT *SNTTransactorSession) ApproveAndCall(_spender common.Address, _amount *big.Int, _extraData []byte) (*types.Transaction, error)

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

Solidity: function approveAndCall(address _spender, uint256 _amount, bytes _extraData) returns(bool success)

func (*SNTTransactorSession) ChangeController

func (_SNT *SNTTransactorSession) ChangeController(_newController common.Address) (*types.Transaction, error)

ChangeController is a paid mutator transaction binding the contract method 0x3cebb823.

Solidity: function changeController(address _newController) returns()

func (*SNTTransactorSession) ClaimTokens

func (_SNT *SNTTransactorSession) ClaimTokens(_token common.Address) (*types.Transaction, error)

ClaimTokens is a paid mutator transaction binding the contract method 0xdf8de3e7.

Solidity: function claimTokens(address _token) returns()

func (*SNTTransactorSession) CreateCloneToken

func (_SNT *SNTTransactorSession) CreateCloneToken(_cloneTokenName string, _cloneDecimalUnits uint8, _cloneTokenSymbol string, _snapshotBlock *big.Int, _transfersEnabled bool) (*types.Transaction, error)

CreateCloneToken is a paid mutator transaction binding the contract method 0x6638c087.

Solidity: function createCloneToken(string _cloneTokenName, uint8 _cloneDecimalUnits, string _cloneTokenSymbol, uint256 _snapshotBlock, bool _transfersEnabled) returns(address)

func (*SNTTransactorSession) DestroyTokens

func (_SNT *SNTTransactorSession) DestroyTokens(_owner common.Address, _amount *big.Int) (*types.Transaction, error)

DestroyTokens is a paid mutator transaction binding the contract method 0xd3ce77fe.

Solidity: function destroyTokens(address _owner, uint256 _amount) returns(bool)

func (*SNTTransactorSession) EnableTransfers

func (_SNT *SNTTransactorSession) EnableTransfers(_transfersEnabled bool) (*types.Transaction, error)

EnableTransfers is a paid mutator transaction binding the contract method 0xf41e60c5.

Solidity: function enableTransfers(bool _transfersEnabled) returns()

func (*SNTTransactorSession) Fallback

func (_SNT *SNTTransactorSession) Fallback(calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() payable returns()

func (*SNTTransactorSession) GenerateTokens

func (_SNT *SNTTransactorSession) GenerateTokens(_owner common.Address, _amount *big.Int) (*types.Transaction, error)

GenerateTokens is a paid mutator transaction binding the contract method 0x827f32c0.

Solidity: function generateTokens(address _owner, uint256 _amount) returns(bool)

func (*SNTTransactorSession) Transfer

func (_SNT *SNTTransactorSession) Transfer(_to common.Address, _amount *big.Int) (*types.Transaction, error)

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

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

func (*SNTTransactorSession) TransferFrom

func (_SNT *SNTTransactorSession) TransferFrom(_from common.Address, _to common.Address, _amount *big.Int) (*types.Transaction, error)

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

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

type SNTTransfer

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

SNTTransfer represents a Transfer event raised by the SNT contract.

type SNTTransferIterator

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

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

func (*SNTTransferIterator) Close

func (it *SNTTransferIterator) Close() error

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

func (*SNTTransferIterator) Error

func (it *SNTTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*SNTTransferIterator) Next

func (it *SNTTransferIterator) 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 TokenController

type TokenController struct {
	TokenControllerCaller     // Read-only binding to the contract
	TokenControllerTransactor // Write-only binding to the contract
	TokenControllerFilterer   // Log filterer for contract events
}

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

func NewTokenController

func NewTokenController(address common.Address, backend bind.ContractBackend) (*TokenController, error)

NewTokenController creates a new instance of TokenController, bound to a specific deployed contract.

type TokenControllerCaller

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

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

func NewTokenControllerCaller

func NewTokenControllerCaller(address common.Address, caller bind.ContractCaller) (*TokenControllerCaller, error)

NewTokenControllerCaller creates a new read-only instance of TokenController, bound to a specific deployed contract.

type TokenControllerCallerRaw

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

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

func (*TokenControllerCallerRaw) Call

func (_TokenController *TokenControllerCallerRaw) 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 TokenControllerCallerSession

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

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

type TokenControllerFilterer

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

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

func NewTokenControllerFilterer

func NewTokenControllerFilterer(address common.Address, filterer bind.ContractFilterer) (*TokenControllerFilterer, error)

NewTokenControllerFilterer creates a new log filterer instance of TokenController, bound to a specific deployed contract.

type TokenControllerRaw

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

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

func (*TokenControllerRaw) Call

func (_TokenController *TokenControllerRaw) 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 (*TokenControllerRaw) Transact

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

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

func (*TokenControllerRaw) Transfer

func (_TokenController *TokenControllerRaw) 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 TokenControllerSession

type TokenControllerSession struct {
	Contract     *TokenController  // 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
}

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

func (*TokenControllerSession) OnApprove

func (_TokenController *TokenControllerSession) OnApprove(_owner common.Address, _spender common.Address, _amount *big.Int) (*types.Transaction, error)

OnApprove is a paid mutator transaction binding the contract method 0xda682aeb.

Solidity: function onApprove(address _owner, address _spender, uint256 _amount) returns(bool)

func (*TokenControllerSession) OnTransfer

func (_TokenController *TokenControllerSession) OnTransfer(_from common.Address, _to common.Address, _amount *big.Int) (*types.Transaction, error)

OnTransfer is a paid mutator transaction binding the contract method 0x4a393149.

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

func (*TokenControllerSession) ProxyPayment

func (_TokenController *TokenControllerSession) ProxyPayment(_owner common.Address) (*types.Transaction, error)

ProxyPayment is a paid mutator transaction binding the contract method 0xf48c3054.

Solidity: function proxyPayment(address _owner) payable returns(bool)

type TokenControllerTransactor

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

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

func NewTokenControllerTransactor

func NewTokenControllerTransactor(address common.Address, transactor bind.ContractTransactor) (*TokenControllerTransactor, error)

NewTokenControllerTransactor creates a new write-only instance of TokenController, bound to a specific deployed contract.

func (*TokenControllerTransactor) OnApprove

func (_TokenController *TokenControllerTransactor) OnApprove(opts *bind.TransactOpts, _owner common.Address, _spender common.Address, _amount *big.Int) (*types.Transaction, error)

OnApprove is a paid mutator transaction binding the contract method 0xda682aeb.

Solidity: function onApprove(address _owner, address _spender, uint256 _amount) returns(bool)

func (*TokenControllerTransactor) OnTransfer

func (_TokenController *TokenControllerTransactor) OnTransfer(opts *bind.TransactOpts, _from common.Address, _to common.Address, _amount *big.Int) (*types.Transaction, error)

OnTransfer is a paid mutator transaction binding the contract method 0x4a393149.

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

func (*TokenControllerTransactor) ProxyPayment

func (_TokenController *TokenControllerTransactor) ProxyPayment(opts *bind.TransactOpts, _owner common.Address) (*types.Transaction, error)

ProxyPayment is a paid mutator transaction binding the contract method 0xf48c3054.

Solidity: function proxyPayment(address _owner) payable returns(bool)

type TokenControllerTransactorRaw

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

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

func (*TokenControllerTransactorRaw) Transact

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

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

func (*TokenControllerTransactorRaw) Transfer

func (_TokenController *TokenControllerTransactorRaw) 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 TokenControllerTransactorSession

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

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

func (*TokenControllerTransactorSession) OnApprove

func (_TokenController *TokenControllerTransactorSession) OnApprove(_owner common.Address, _spender common.Address, _amount *big.Int) (*types.Transaction, error)

OnApprove is a paid mutator transaction binding the contract method 0xda682aeb.

Solidity: function onApprove(address _owner, address _spender, uint256 _amount) returns(bool)

func (*TokenControllerTransactorSession) OnTransfer

func (_TokenController *TokenControllerTransactorSession) OnTransfer(_from common.Address, _to common.Address, _amount *big.Int) (*types.Transaction, error)

OnTransfer is a paid mutator transaction binding the contract method 0x4a393149.

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

func (*TokenControllerTransactorSession) ProxyPayment

func (_TokenController *TokenControllerTransactorSession) ProxyPayment(_owner common.Address) (*types.Transaction, error)

ProxyPayment is a paid mutator transaction binding the contract method 0xf48c3054.

Solidity: function proxyPayment(address _owner) payable returns(bool)

Jump to

Keyboard shortcuts

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