contracts

package
v1.10.0-beta.20201225 Latest Latest
Warning

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

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

README

SimpleMultisig.sol originally copied from https://github.com/christianlundkvist/simple-multisig/blob/master/contracts/SimpleMultiSig.sol

注意

SimpleMultiSig.goabigenSimpleMultisig.sol生成,请勿手工修改

做了如下改动:

  • pragam 升级为^0.5.0
  • 语法上的调整(主要包括:memroy external require_message 等)
  • 加入了必要的event和view函数 (eg:入账事件,转账事件,查询owners/mRequired)
  • 调整常量避免冲突(未实施,参见eip-712)

##TODO name/version/chainid/salt/等值的更改

参考

eip-712

go绑定的生成参见cmd.sh,以及

Documentation

Index

Constants

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

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

View Source
const ApproveAndCallFallBackBin = `0x`

ApproveAndCallFallBackBin is the compiled bytecode used for deploying new contracts.

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

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

View Source
const ERC20InterfaceBin = `0x`

ERC20InterfaceBin is the compiled bytecode used for deploying new contracts.

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

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

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

FixedSupplyTokenBin is the compiled bytecode used for deploying new contracts.

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

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

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

OwnedBin is the compiled bytecode used for deploying new contracts.

View Source
const SafeMathABI = "[]"

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

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

SafeMathBin is the compiled bytecode used for deploying new contracts.

View Source
const SimpleMultiSigABI = "" /* 3132-byte string literal not displayed */

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

Variables

View Source
var SimpleMultiSigBin = "" /* 7406-byte string literal not displayed */

SimpleMultiSigBin is the compiled bytecode used for deploying new contracts.

View Source
var SimpleMultiSigFuncSigs = map[string]string{
	"163947e5": "execute(uint16,uint256,uint8[],bytes32[],bytes32[],address,uint256,bytes,address,uint256)",
	"c683a2db": "getBucketLength()",
	"ca7541ee": "getOwersLength()",
	"0d8e6e2c": "getVersion()",
	"c3142f4a": "nonceBucket(uint256)",
	"aa5df9e2": "ownersArr(uint256)",
	"42cde4e8": "threshold()",
}

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

Functions

func PackedDeployERC20Interface

func PackedDeployERC20Interface() ([]byte, error)

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

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 DeployApproveAndCallFallBack

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

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

func NewApproveAndCallFallBack

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

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

type ApproveAndCallFallBackCaller

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

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

func NewApproveAndCallFallBackCaller

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

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

type ApproveAndCallFallBackCallerRaw

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

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

func (*ApproveAndCallFallBackCallerRaw) Call

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

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

type ApproveAndCallFallBackCallerSession

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

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

type ApproveAndCallFallBackFilterer

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

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

func NewApproveAndCallFallBackFilterer

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

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

type ApproveAndCallFallBackRaw

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

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

func (*ApproveAndCallFallBackRaw) Call

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

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

func (*ApproveAndCallFallBackRaw) Transact

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

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

func (*ApproveAndCallFallBackRaw) Transfer

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

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

type ApproveAndCallFallBackSession

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

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

func (*ApproveAndCallFallBackSession) ReceiveApproval

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

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

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

type ApproveAndCallFallBackTransactor

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

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

func NewApproveAndCallFallBackTransactor

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

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

func (*ApproveAndCallFallBackTransactor) ReceiveApproval

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

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

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

type ApproveAndCallFallBackTransactorRaw

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

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

func (*ApproveAndCallFallBackTransactorRaw) Transact

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

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

func (*ApproveAndCallFallBackTransactorRaw) Transfer

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

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

type ApproveAndCallFallBackTransactorSession

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

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

func (*ApproveAndCallFallBackTransactorSession) ReceiveApproval

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

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

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

type ERC20Interface

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

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

func DeployERC20Interface

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

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

func NewERC20Interface

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

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

type ERC20InterfaceABIHelper

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

func NewERC20InterfaceABIHelper

func NewERC20InterfaceABIHelper() *ERC20InterfaceABIHelper

func (*ERC20InterfaceABIHelper) PackedAllowance

func (_ERC20Interface *ERC20InterfaceABIHelper) PackedAllowance(tokenOwner common.Address, spender common.Address) ([]byte, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e. Solidity: function allowance(address tokenOwner, address spender) constant returns(uint256 remaining)

func (*ERC20InterfaceABIHelper) PackedApprove

func (_ERC20Interface *ERC20InterfaceABIHelper) PackedApprove(spender common.Address, tokens *big.Int) ([]byte, error)

PackedApprove is a paid mutator transaction binding the contract method 0x095ea7b3. Solidity: function approve(address spender, uint256 tokens) returns(bool success)

func (*ERC20InterfaceABIHelper) PackedBalanceOf

func (_ERC20Interface *ERC20InterfaceABIHelper) PackedBalanceOf(tokenOwner common.Address) ([]byte, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231. Solidity: function balanceOf(address tokenOwner) constant returns(uint256 balance)

func (*ERC20InterfaceABIHelper) PackedTotalSupply

func (_ERC20Interface *ERC20InterfaceABIHelper) PackedTotalSupply() ([]byte, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd. Solidity: function totalSupply() constant returns(uint256)

func (*ERC20InterfaceABIHelper) PackedTransfer

func (_ERC20Interface *ERC20InterfaceABIHelper) PackedTransfer(to common.Address, tokens *big.Int) ([]byte, error)

PackedTransfer is a paid mutator transaction binding the contract method 0xa9059cbb. Solidity: function transfer(address to, uint256 tokens) returns(bool success)

func (*ERC20InterfaceABIHelper) PackedTransferFrom

func (_ERC20Interface *ERC20InterfaceABIHelper) PackedTransferFrom(from common.Address, to common.Address, tokens *big.Int) ([]byte, error)

PackedTransferFrom is a paid mutator transaction binding the contract method 0x23b872dd. Solidity: function transferFrom(address from, address to, uint256 tokens) returns(bool success)

func (*ERC20InterfaceABIHelper) UnpackAllowance

func (_ERC20Interface *ERC20InterfaceABIHelper) UnpackAllowance(output []byte) (*big.Int, error)

UnpackAllowance is a free data retrieval call binding the contract method 0xdd62ed3e. Solidity: function allowance(address tokenOwner, address spender) constant returns(uint256 remaining)

func (*ERC20InterfaceABIHelper) UnpackBalanceOf

func (_ERC20Interface *ERC20InterfaceABIHelper) UnpackBalanceOf(output []byte) (*big.Int, error)

UnpackBalanceOf is a free data retrieval call binding the contract method 0x70a08231. Solidity: function balanceOf(address tokenOwner) constant returns(uint256 balance)

func (*ERC20InterfaceABIHelper) UnpackTotalSupply

func (_ERC20Interface *ERC20InterfaceABIHelper) UnpackTotalSupply(output []byte) (*big.Int, error)

UnpackTotalSupply is a free data retrieval call binding the contract method 0x18160ddd. Solidity: function totalSupply() constant returns(uint256)

type ERC20InterfaceApproval

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

ERC20InterfaceApproval represents a Approval event raised by the ERC20Interface contract.

type ERC20InterfaceApprovalIterator

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

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

func (*ERC20InterfaceApprovalIterator) Close

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

func (*ERC20InterfaceApprovalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC20InterfaceApprovalIterator) Next

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

type ERC20InterfaceCaller

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

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

func NewERC20InterfaceCaller

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

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

func (*ERC20InterfaceCaller) Allowance

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

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

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

func (*ERC20InterfaceCaller) BalanceOf

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

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

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

func (*ERC20InterfaceCaller) TotalSupply

func (_ERC20Interface *ERC20InterfaceCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function totalSupply() constant returns(uint256)

type ERC20InterfaceCallerRaw

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

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

func (*ERC20InterfaceCallerRaw) Call

func (_ERC20Interface *ERC20InterfaceCallerRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error

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

type ERC20InterfaceCallerSession

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

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

func (*ERC20InterfaceCallerSession) Allowance

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

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

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

func (*ERC20InterfaceCallerSession) BalanceOf

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

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

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

func (*ERC20InterfaceCallerSession) TotalSupply

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

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

Solidity: function totalSupply() constant returns(uint256)

type ERC20InterfaceFilterer

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

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

func NewERC20InterfaceFilterer

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

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

func (*ERC20InterfaceFilterer) FilterApproval

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

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

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

func (*ERC20InterfaceFilterer) FilterTransfer

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

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

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

func (*ERC20InterfaceFilterer) WatchApproval

func (_ERC20Interface *ERC20InterfaceFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC20InterfaceApproval, tokenOwner []common.Address, spender []common.Address) (event.Subscription, error)

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

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

func (*ERC20InterfaceFilterer) WatchTransfer

func (_ERC20Interface *ERC20InterfaceFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20InterfaceTransfer, from []common.Address, to []common.Address) (event.Subscription, error)

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

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

type ERC20InterfaceRaw

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

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

func (*ERC20InterfaceRaw) Call

func (_ERC20Interface *ERC20InterfaceRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error

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

func (*ERC20InterfaceRaw) Transact

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

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

func (*ERC20InterfaceRaw) Transfer

func (_ERC20Interface *ERC20InterfaceRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

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

type ERC20InterfaceSession

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

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

func (*ERC20InterfaceSession) Allowance

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

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

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

func (*ERC20InterfaceSession) Approve

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

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

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

func (*ERC20InterfaceSession) BalanceOf

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

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

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

func (*ERC20InterfaceSession) TotalSupply

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

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

Solidity: function totalSupply() constant returns(uint256)

func (*ERC20InterfaceSession) Transfer

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

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

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

func (*ERC20InterfaceSession) TransferFrom

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

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

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

type ERC20InterfaceTransactor

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

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

func NewERC20InterfaceTransactor

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

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

func (*ERC20InterfaceTransactor) Approve

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

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

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

func (*ERC20InterfaceTransactor) Transfer

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

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

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

func (*ERC20InterfaceTransactor) TransferFrom

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

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

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

type ERC20InterfaceTransactorRaw

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

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

func (*ERC20InterfaceTransactorRaw) Transact

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

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

func (*ERC20InterfaceTransactorRaw) Transfer

func (_ERC20Interface *ERC20InterfaceTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

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

type ERC20InterfaceTransactorSession

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

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

func (*ERC20InterfaceTransactorSession) Approve

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

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

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

func (*ERC20InterfaceTransactorSession) Transfer

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

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

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

func (*ERC20InterfaceTransactorSession) TransferFrom

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

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

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

type ERC20InterfaceTransfer

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

ERC20InterfaceTransfer represents a Transfer event raised by the ERC20Interface contract.

type ERC20InterfaceTransferIterator

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

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

func (*ERC20InterfaceTransferIterator) Close

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

func (*ERC20InterfaceTransferIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC20InterfaceTransferIterator) Next

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

type FixedSupplyToken

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

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

func DeployFixedSupplyToken

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

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

func NewFixedSupplyToken

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

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

type FixedSupplyTokenApproval

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

FixedSupplyTokenApproval represents a Approval event raised by the FixedSupplyToken contract.

type FixedSupplyTokenApprovalIterator

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

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

func (*FixedSupplyTokenApprovalIterator) Close

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

func (*FixedSupplyTokenApprovalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FixedSupplyTokenApprovalIterator) Next

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

type FixedSupplyTokenCaller

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

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

func NewFixedSupplyTokenCaller

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

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

func (*FixedSupplyTokenCaller) Allowance

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

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

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

func (*FixedSupplyTokenCaller) BalanceOf

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

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

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

func (*FixedSupplyTokenCaller) Decimals

func (_FixedSupplyToken *FixedSupplyTokenCaller) Decimals(opts *bind.CallOpts) (uint8, error)

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

Solidity: function decimals() constant returns(uint8)

func (*FixedSupplyTokenCaller) Name

func (_FixedSupplyToken *FixedSupplyTokenCaller) Name(opts *bind.CallOpts) (string, error)

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

Solidity: function name() constant returns(string)

func (*FixedSupplyTokenCaller) NewOwner

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

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

Solidity: function newOwner() constant returns(address)

func (*FixedSupplyTokenCaller) Owner

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

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

Solidity: function owner() constant returns(address)

func (*FixedSupplyTokenCaller) Symbol

func (_FixedSupplyToken *FixedSupplyTokenCaller) Symbol(opts *bind.CallOpts) (string, error)

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

Solidity: function symbol() constant returns(string)

func (*FixedSupplyTokenCaller) TotalSupply

func (_FixedSupplyToken *FixedSupplyTokenCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function totalSupply() constant returns(uint256)

type FixedSupplyTokenCallerRaw

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

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

func (*FixedSupplyTokenCallerRaw) Call

func (_FixedSupplyToken *FixedSupplyTokenCallerRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error

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

type FixedSupplyTokenCallerSession

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

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

func (*FixedSupplyTokenCallerSession) Allowance

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

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

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

func (*FixedSupplyTokenCallerSession) BalanceOf

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

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

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

func (*FixedSupplyTokenCallerSession) Decimals

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

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

Solidity: function decimals() constant returns(uint8)

func (*FixedSupplyTokenCallerSession) Name

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

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

Solidity: function name() constant returns(string)

func (*FixedSupplyTokenCallerSession) NewOwner

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

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

Solidity: function newOwner() constant returns(address)

func (*FixedSupplyTokenCallerSession) Owner

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

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

Solidity: function owner() constant returns(address)

func (*FixedSupplyTokenCallerSession) Symbol

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

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

Solidity: function symbol() constant returns(string)

func (*FixedSupplyTokenCallerSession) TotalSupply

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

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

Solidity: function totalSupply() constant returns(uint256)

type FixedSupplyTokenFilterer

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

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

func NewFixedSupplyTokenFilterer

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

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

func (*FixedSupplyTokenFilterer) FilterApproval

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

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

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

func (*FixedSupplyTokenFilterer) FilterOwnershipTransferred

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

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

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

func (*FixedSupplyTokenFilterer) FilterTransfer

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

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

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

func (*FixedSupplyTokenFilterer) WatchApproval

func (_FixedSupplyToken *FixedSupplyTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *FixedSupplyTokenApproval, tokenOwner []common.Address, spender []common.Address) (event.Subscription, error)

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

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

func (*FixedSupplyTokenFilterer) WatchOwnershipTransferred

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

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

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

func (*FixedSupplyTokenFilterer) WatchTransfer

func (_FixedSupplyToken *FixedSupplyTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *FixedSupplyTokenTransfer, from []common.Address, to []common.Address) (event.Subscription, error)

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

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

type FixedSupplyTokenOwnershipTransferred

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

FixedSupplyTokenOwnershipTransferred represents a OwnershipTransferred event raised by the FixedSupplyToken contract.

type FixedSupplyTokenOwnershipTransferredIterator

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

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

func (*FixedSupplyTokenOwnershipTransferredIterator) Close

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

func (*FixedSupplyTokenOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FixedSupplyTokenOwnershipTransferredIterator) Next

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

type FixedSupplyTokenRaw

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

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

func (*FixedSupplyTokenRaw) Call

func (_FixedSupplyToken *FixedSupplyTokenRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error

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

func (*FixedSupplyTokenRaw) Transact

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

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

func (*FixedSupplyTokenRaw) Transfer

func (_FixedSupplyToken *FixedSupplyTokenRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

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

type FixedSupplyTokenSession

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

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

func (*FixedSupplyTokenSession) AcceptOwnership

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

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

Solidity: function acceptOwnership() returns()

func (*FixedSupplyTokenSession) Allowance

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

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

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

func (*FixedSupplyTokenSession) Approve

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

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

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

func (*FixedSupplyTokenSession) ApproveAndCall

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

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

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

func (*FixedSupplyTokenSession) BalanceOf

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

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

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

func (*FixedSupplyTokenSession) Decimals

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

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

Solidity: function decimals() constant returns(uint8)

func (*FixedSupplyTokenSession) Name

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

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

Solidity: function name() constant returns(string)

func (*FixedSupplyTokenSession) NewOwner

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

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

Solidity: function newOwner() constant returns(address)

func (*FixedSupplyTokenSession) Owner

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

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

Solidity: function owner() constant returns(address)

func (*FixedSupplyTokenSession) Symbol

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

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

Solidity: function symbol() constant returns(string)

func (*FixedSupplyTokenSession) TotalSupply

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

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

Solidity: function totalSupply() constant returns(uint256)

func (*FixedSupplyTokenSession) Transfer

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

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

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

func (*FixedSupplyTokenSession) TransferAnyERC20Token

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

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

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

func (*FixedSupplyTokenSession) TransferFrom

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

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

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

func (*FixedSupplyTokenSession) TransferOwnership

func (_FixedSupplyToken *FixedSupplyTokenSession) TransferOwnership(_newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address _newOwner) returns()

type FixedSupplyTokenTransactor

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

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

func NewFixedSupplyTokenTransactor

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

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

func (*FixedSupplyTokenTransactor) AcceptOwnership

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

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

Solidity: function acceptOwnership() returns()

func (*FixedSupplyTokenTransactor) Approve

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

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

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

func (*FixedSupplyTokenTransactor) ApproveAndCall

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

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

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

func (*FixedSupplyTokenTransactor) Transfer

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

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

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

func (*FixedSupplyTokenTransactor) TransferAnyERC20Token

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

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

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

func (*FixedSupplyTokenTransactor) TransferFrom

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

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

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

func (*FixedSupplyTokenTransactor) TransferOwnership

func (_FixedSupplyToken *FixedSupplyTokenTransactor) TransferOwnership(opts *bind.TransactOpts, _newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address _newOwner) returns()

type FixedSupplyTokenTransactorRaw

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

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

func (*FixedSupplyTokenTransactorRaw) Transact

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

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

func (*FixedSupplyTokenTransactorRaw) Transfer

func (_FixedSupplyToken *FixedSupplyTokenTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

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

type FixedSupplyTokenTransactorSession

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

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

func (*FixedSupplyTokenTransactorSession) AcceptOwnership

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

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

Solidity: function acceptOwnership() returns()

func (*FixedSupplyTokenTransactorSession) Approve

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

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

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

func (*FixedSupplyTokenTransactorSession) ApproveAndCall

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

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

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

func (*FixedSupplyTokenTransactorSession) Transfer

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

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

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

func (*FixedSupplyTokenTransactorSession) TransferAnyERC20Token

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

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

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

func (*FixedSupplyTokenTransactorSession) TransferFrom

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

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

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

func (*FixedSupplyTokenTransactorSession) TransferOwnership

func (_FixedSupplyToken *FixedSupplyTokenTransactorSession) TransferOwnership(_newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address _newOwner) returns()

type FixedSupplyTokenTransfer

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

FixedSupplyTokenTransfer represents a Transfer event raised by the FixedSupplyToken contract.

type FixedSupplyTokenTransferIterator

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

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

func (*FixedSupplyTokenTransferIterator) Close

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

func (*FixedSupplyTokenTransferIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FixedSupplyTokenTransferIterator) Next

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

type Owned

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

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

func DeployOwned

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

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

func NewOwned

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

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

type OwnedCaller

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

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

func NewOwnedCaller

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

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

func (*OwnedCaller) NewOwner

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

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

Solidity: function newOwner() constant returns(address)

func (*OwnedCaller) Owner

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

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

Solidity: function owner() constant returns(address)

type OwnedCallerRaw

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

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

func (*OwnedCallerRaw) Call

func (_Owned *OwnedCallerRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error

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

type OwnedCallerSession

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

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

func (*OwnedCallerSession) NewOwner

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

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

Solidity: function newOwner() constant returns(address)

func (*OwnedCallerSession) Owner

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

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

Solidity: function owner() constant returns(address)

type OwnedFilterer

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

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

func NewOwnedFilterer

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

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

func (*OwnedFilterer) FilterOwnershipTransferred

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

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

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

func (*OwnedFilterer) WatchOwnershipTransferred

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

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

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

type OwnedOwnershipTransferred

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

OwnedOwnershipTransferred represents a OwnershipTransferred event raised by the Owned contract.

type OwnedOwnershipTransferredIterator

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

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

func (*OwnedOwnershipTransferredIterator) Close

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

func (*OwnedOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OwnedOwnershipTransferredIterator) Next

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

type OwnedRaw

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

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

func (*OwnedRaw) Call

func (_Owned *OwnedRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error

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

func (*OwnedRaw) Transact

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

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

func (*OwnedRaw) Transfer

func (_Owned *OwnedRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

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

type OwnedSession

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

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

func (*OwnedSession) AcceptOwnership

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

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

Solidity: function acceptOwnership() returns()

func (*OwnedSession) NewOwner

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

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

Solidity: function newOwner() constant returns(address)

func (*OwnedSession) Owner

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

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

Solidity: function owner() constant returns(address)

func (*OwnedSession) TransferOwnership

func (_Owned *OwnedSession) TransferOwnership(_newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address _newOwner) returns()

type OwnedTransactor

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

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

func NewOwnedTransactor

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

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

func (*OwnedTransactor) AcceptOwnership

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

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

Solidity: function acceptOwnership() returns()

func (*OwnedTransactor) TransferOwnership

func (_Owned *OwnedTransactor) TransferOwnership(opts *bind.TransactOpts, _newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address _newOwner) returns()

type OwnedTransactorRaw

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

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

func (*OwnedTransactorRaw) Transact

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

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

func (*OwnedTransactorRaw) Transfer

func (_Owned *OwnedTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

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

type OwnedTransactorSession

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

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

func (*OwnedTransactorSession) AcceptOwnership

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

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

Solidity: function acceptOwnership() returns()

func (*OwnedTransactorSession) TransferOwnership

func (_Owned *OwnedTransactorSession) TransferOwnership(_newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address _newOwner) returns()

type SafeMath

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

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

func DeploySafeMath

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

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

func NewSafeMath

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

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

type SafeMathCaller

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

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

func NewSafeMathCaller

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

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

type SafeMathCallerRaw

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

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

func (*SafeMathCallerRaw) Call

func (_SafeMath *SafeMathCallerRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error

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

type SafeMathCallerSession

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

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

type SafeMathFilterer

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

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

func NewSafeMathFilterer

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

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

type SafeMathRaw

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

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

func (*SafeMathRaw) Call

func (_SafeMath *SafeMathRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error

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

func (*SafeMathRaw) Transact

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

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

func (*SafeMathRaw) Transfer

func (_SafeMath *SafeMathRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

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

type SafeMathSession

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

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

type SafeMathTransactor

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

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

func NewSafeMathTransactor

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

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

type SafeMathTransactorRaw

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

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

func (*SafeMathTransactorRaw) Transact

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

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

func (*SafeMathTransactorRaw) Transfer

func (_SafeMath *SafeMathTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

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

type SafeMathTransactorSession

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

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

type SimpleMultiSig

type SimpleMultiSig struct {
	SimpleMultiSigCaller     // Read-only binding to the contract
	SimpleMultiSigTransactor // Write-only binding to the contract
	SimpleMultiSigFilterer   // Log filterer for contract events
}

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

func DeploySimpleMultiSig

func DeploySimpleMultiSig(auth *bind.TransactOpts, backend bind.ContractBackend, nonceNum_ uint16, threshold_ *big.Int, owners_ []common.Address, chainId *big.Int) (common.Address, *types.Transaction, *SimpleMultiSig, error)

DeploySimpleMultiSig deploys a new Ethereum contract, binding an instance of SimpleMultiSig to it.

func NewSimpleMultiSig

func NewSimpleMultiSig(address common.Address, backend bind.ContractBackend) (*SimpleMultiSig, error)

NewSimpleMultiSig creates a new instance of SimpleMultiSig, bound to a specific deployed contract.

type SimpleMultiSigCaller

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

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

func NewSimpleMultiSigCaller

func NewSimpleMultiSigCaller(address common.Address, caller bind.ContractCaller) (*SimpleMultiSigCaller, error)

NewSimpleMultiSigCaller creates a new read-only instance of SimpleMultiSig, bound to a specific deployed contract.

func (*SimpleMultiSigCaller) GetBucketLength

func (_SimpleMultiSig *SimpleMultiSigCaller) GetBucketLength(opts *bind.CallOpts) (uint16, error)

GetBucketLength is a free data retrieval call binding the contract method 0xc683a2db.

Solidity: function getBucketLength() view returns(uint16)

func (*SimpleMultiSigCaller) GetOwersLength

func (_SimpleMultiSig *SimpleMultiSigCaller) GetOwersLength(opts *bind.CallOpts) (uint16, error)

GetOwersLength is a free data retrieval call binding the contract method 0xca7541ee.

Solidity: function getOwersLength() view returns(uint16)

func (*SimpleMultiSigCaller) GetVersion

func (_SimpleMultiSig *SimpleMultiSigCaller) GetVersion(opts *bind.CallOpts) (string, error)

GetVersion is a free data retrieval call binding the contract method 0x0d8e6e2c.

Solidity: function getVersion() view returns(string version)

func (*SimpleMultiSigCaller) NonceBucket

func (_SimpleMultiSig *SimpleMultiSigCaller) NonceBucket(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)

NonceBucket is a free data retrieval call binding the contract method 0xc3142f4a.

Solidity: function nonceBucket(uint256 ) view returns(uint256)

func (*SimpleMultiSigCaller) OwnersArr

func (_SimpleMultiSig *SimpleMultiSigCaller) OwnersArr(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

OwnersArr is a free data retrieval call binding the contract method 0xaa5df9e2.

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

func (*SimpleMultiSigCaller) Threshold

func (_SimpleMultiSig *SimpleMultiSigCaller) Threshold(opts *bind.CallOpts) (*big.Int, error)

Threshold is a free data retrieval call binding the contract method 0x42cde4e8.

Solidity: function threshold() view returns(uint256)

type SimpleMultiSigCallerRaw

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

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

func (*SimpleMultiSigCallerRaw) Call

func (_SimpleMultiSig *SimpleMultiSigCallerRaw) 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 SimpleMultiSigCallerSession

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

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

func (*SimpleMultiSigCallerSession) GetBucketLength

func (_SimpleMultiSig *SimpleMultiSigCallerSession) GetBucketLength() (uint16, error)

GetBucketLength is a free data retrieval call binding the contract method 0xc683a2db.

Solidity: function getBucketLength() view returns(uint16)

func (*SimpleMultiSigCallerSession) GetOwersLength

func (_SimpleMultiSig *SimpleMultiSigCallerSession) GetOwersLength() (uint16, error)

GetOwersLength is a free data retrieval call binding the contract method 0xca7541ee.

Solidity: function getOwersLength() view returns(uint16)

func (*SimpleMultiSigCallerSession) GetVersion

func (_SimpleMultiSig *SimpleMultiSigCallerSession) GetVersion() (string, error)

GetVersion is a free data retrieval call binding the contract method 0x0d8e6e2c.

Solidity: function getVersion() view returns(string version)

func (*SimpleMultiSigCallerSession) NonceBucket

func (_SimpleMultiSig *SimpleMultiSigCallerSession) NonceBucket(arg0 *big.Int) (*big.Int, error)

NonceBucket is a free data retrieval call binding the contract method 0xc3142f4a.

Solidity: function nonceBucket(uint256 ) view returns(uint256)

func (*SimpleMultiSigCallerSession) OwnersArr

func (_SimpleMultiSig *SimpleMultiSigCallerSession) OwnersArr(arg0 *big.Int) (common.Address, error)

OwnersArr is a free data retrieval call binding the contract method 0xaa5df9e2.

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

func (*SimpleMultiSigCallerSession) Threshold

func (_SimpleMultiSig *SimpleMultiSigCallerSession) Threshold() (*big.Int, error)

Threshold is a free data retrieval call binding the contract method 0x42cde4e8.

Solidity: function threshold() view returns(uint256)

type SimpleMultiSigDeposit

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

SimpleMultiSigDeposit represents a Deposit event raised by the SimpleMultiSig contract.

type SimpleMultiSigDepositIterator

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

SimpleMultiSigDepositIterator is returned from FilterDeposit and is used to iterate over the raw logs and unpacked data for Deposit events raised by the SimpleMultiSig contract.

func (*SimpleMultiSigDepositIterator) Close

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

func (*SimpleMultiSigDepositIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

type SimpleMultiSigExecute struct {
	ConfirmAddrs []common.Address
	Destination  common.Address
	Value        *big.Int
	Data         []byte
	Raw          types.Log // Blockchain specific contextual infos
}

SimpleMultiSigExecute represents a Execute event raised by the SimpleMultiSig contract.

type SimpleMultiSigExecuteIterator

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

SimpleMultiSigExecuteIterator is returned from FilterExecute and is used to iterate over the raw logs and unpacked data for Execute events raised by the SimpleMultiSig contract.

func (*SimpleMultiSigExecuteIterator) Close

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

func (*SimpleMultiSigExecuteIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

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

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

func NewSimpleMultiSigFilterer

func NewSimpleMultiSigFilterer(address common.Address, filterer bind.ContractFilterer) (*SimpleMultiSigFilterer, error)

NewSimpleMultiSigFilterer creates a new log filterer instance of SimpleMultiSig, bound to a specific deployed contract.

func (*SimpleMultiSigFilterer) FilterDeposit

func (_SimpleMultiSig *SimpleMultiSigFilterer) FilterDeposit(opts *bind.FilterOpts, _from []common.Address) (*SimpleMultiSigDepositIterator, error)

FilterDeposit is a free log retrieval operation binding the contract event 0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c.

Solidity: event Deposit(address indexed _from, uint256 _value)

func (*SimpleMultiSigFilterer) FilterExecute

func (_SimpleMultiSig *SimpleMultiSigFilterer) FilterExecute(opts *bind.FilterOpts) (*SimpleMultiSigExecuteIterator, error)

FilterExecute is a free log retrieval operation binding the contract event 0x07f4110a9f6788eae6a0b088d9aca06ec3cd9e2c6eae12a1d393d6d041d18c30.

Solidity: event Execute(address[] _confirmAddrs, address _destination, uint256 _value, bytes data)

func (*SimpleMultiSigFilterer) ParseDeposit

func (_SimpleMultiSig *SimpleMultiSigFilterer) ParseDeposit(log types.Log) (*SimpleMultiSigDeposit, error)

ParseDeposit is a log parse operation binding the contract event 0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c.

Solidity: event Deposit(address indexed _from, uint256 _value)

func (*SimpleMultiSigFilterer) ParseExecute

func (_SimpleMultiSig *SimpleMultiSigFilterer) ParseExecute(log types.Log) (*SimpleMultiSigExecute, error)

ParseExecute is a log parse operation binding the contract event 0x07f4110a9f6788eae6a0b088d9aca06ec3cd9e2c6eae12a1d393d6d041d18c30.

Solidity: event Execute(address[] _confirmAddrs, address _destination, uint256 _value, bytes data)

func (*SimpleMultiSigFilterer) WatchDeposit

func (_SimpleMultiSig *SimpleMultiSigFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *SimpleMultiSigDeposit, _from []common.Address) (event.Subscription, error)

WatchDeposit is a free log subscription operation binding the contract event 0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c.

Solidity: event Deposit(address indexed _from, uint256 _value)

func (*SimpleMultiSigFilterer) WatchExecute

func (_SimpleMultiSig *SimpleMultiSigFilterer) WatchExecute(opts *bind.WatchOpts, sink chan<- *SimpleMultiSigExecute) (event.Subscription, error)

WatchExecute is a free log subscription operation binding the contract event 0x07f4110a9f6788eae6a0b088d9aca06ec3cd9e2c6eae12a1d393d6d041d18c30.

Solidity: event Execute(address[] _confirmAddrs, address _destination, uint256 _value, bytes data)

type SimpleMultiSigRaw

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

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

func (*SimpleMultiSigRaw) Call

func (_SimpleMultiSig *SimpleMultiSigRaw) 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 (*SimpleMultiSigRaw) Transact

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

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

func (*SimpleMultiSigRaw) Transfer

func (_SimpleMultiSig *SimpleMultiSigRaw) 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 SimpleMultiSigSession

type SimpleMultiSigSession struct {
	Contract     *SimpleMultiSig   // 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
}

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

func (*SimpleMultiSigSession) Execute

func (_SimpleMultiSig *SimpleMultiSigSession) Execute(bucketIdx uint16, expireTime *big.Int, sigV []uint8, sigR [][32]byte, sigS [][32]byte, destination common.Address, value *big.Int, data []byte, executor common.Address, gasLimit *big.Int) (*types.Transaction, error)

Execute is a paid mutator transaction binding the contract method 0x163947e5.

Solidity: function execute(uint16 bucketIdx, uint256 expireTime, uint8[] sigV, bytes32[] sigR, bytes32[] sigS, address destination, uint256 value, bytes data, address executor, uint256 gasLimit) returns()

func (*SimpleMultiSigSession) Fallback

func (_SimpleMultiSig *SimpleMultiSigSession) Fallback(calldata []byte) (*types.Transaction, error)

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

Solidity: fallback() payable returns()

func (*SimpleMultiSigSession) GetBucketLength

func (_SimpleMultiSig *SimpleMultiSigSession) GetBucketLength() (uint16, error)

GetBucketLength is a free data retrieval call binding the contract method 0xc683a2db.

Solidity: function getBucketLength() view returns(uint16)

func (*SimpleMultiSigSession) GetOwersLength

func (_SimpleMultiSig *SimpleMultiSigSession) GetOwersLength() (uint16, error)

GetOwersLength is a free data retrieval call binding the contract method 0xca7541ee.

Solidity: function getOwersLength() view returns(uint16)

func (*SimpleMultiSigSession) GetVersion

func (_SimpleMultiSig *SimpleMultiSigSession) GetVersion() (string, error)

GetVersion is a free data retrieval call binding the contract method 0x0d8e6e2c.

Solidity: function getVersion() view returns(string version)

func (*SimpleMultiSigSession) NonceBucket

func (_SimpleMultiSig *SimpleMultiSigSession) NonceBucket(arg0 *big.Int) (*big.Int, error)

NonceBucket is a free data retrieval call binding the contract method 0xc3142f4a.

Solidity: function nonceBucket(uint256 ) view returns(uint256)

func (*SimpleMultiSigSession) OwnersArr

func (_SimpleMultiSig *SimpleMultiSigSession) OwnersArr(arg0 *big.Int) (common.Address, error)

OwnersArr is a free data retrieval call binding the contract method 0xaa5df9e2.

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

func (*SimpleMultiSigSession) Threshold

func (_SimpleMultiSig *SimpleMultiSigSession) Threshold() (*big.Int, error)

Threshold is a free data retrieval call binding the contract method 0x42cde4e8.

Solidity: function threshold() view returns(uint256)

type SimpleMultiSigTransactor

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

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

func NewSimpleMultiSigTransactor

func NewSimpleMultiSigTransactor(address common.Address, transactor bind.ContractTransactor) (*SimpleMultiSigTransactor, error)

NewSimpleMultiSigTransactor creates a new write-only instance of SimpleMultiSig, bound to a specific deployed contract.

func (*SimpleMultiSigTransactor) Execute

func (_SimpleMultiSig *SimpleMultiSigTransactor) Execute(opts *bind.TransactOpts, bucketIdx uint16, expireTime *big.Int, sigV []uint8, sigR [][32]byte, sigS [][32]byte, destination common.Address, value *big.Int, data []byte, executor common.Address, gasLimit *big.Int) (*types.Transaction, error)

Execute is a paid mutator transaction binding the contract method 0x163947e5.

Solidity: function execute(uint16 bucketIdx, uint256 expireTime, uint8[] sigV, bytes32[] sigR, bytes32[] sigS, address destination, uint256 value, bytes data, address executor, uint256 gasLimit) returns()

func (*SimpleMultiSigTransactor) Fallback

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

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

Solidity: fallback() payable returns()

type SimpleMultiSigTransactorRaw

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

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

func (*SimpleMultiSigTransactorRaw) Transact

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

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

func (*SimpleMultiSigTransactorRaw) Transfer

func (_SimpleMultiSig *SimpleMultiSigTransactorRaw) 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 SimpleMultiSigTransactorSession

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

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

func (*SimpleMultiSigTransactorSession) Execute

func (_SimpleMultiSig *SimpleMultiSigTransactorSession) Execute(bucketIdx uint16, expireTime *big.Int, sigV []uint8, sigR [][32]byte, sigS [][32]byte, destination common.Address, value *big.Int, data []byte, executor common.Address, gasLimit *big.Int) (*types.Transaction, error)

Execute is a paid mutator transaction binding the contract method 0x163947e5.

Solidity: function execute(uint16 bucketIdx, uint256 expireTime, uint8[] sigV, bytes32[] sigR, bytes32[] sigS, address destination, uint256 value, bytes data, address executor, uint256 gasLimit) returns()

func (*SimpleMultiSigTransactorSession) Fallback

func (_SimpleMultiSig *SimpleMultiSigTransactorSession) Fallback(calldata []byte) (*types.Transaction, error)

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

Solidity: fallback() payable returns()

Jump to

Keyboard shortcuts

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