contract

package
v0.14.1 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

README

From this folder we need to generate the appropriate binary, abi, and go files for the .sol smart contract.

From this folder, run generate_contract_code <smart_contract_filename_without_ext> to generate the corresponding .abi, .bin, and .go files.

Documentation

Index

Constants

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

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

View Source
const IERC20ABI = "" /* 2645-byte string literal not displayed */

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

View Source
const LockRedeemABI = "" /* 5941-byte string literal not displayed */

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

View Source
const LockRedeemERCABI = "" /* 6604-byte string literal not displayed */

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

View Source
const SafeMathABI = "[]"

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

Variables

View Source
var ERC20BasicBin = "" /* 3688-byte string literal not displayed */

ERC20BasicBin is the compiled bytecode used for deploying new contracts.

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

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

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

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

View Source
var LockRedeemBin = "" /* 10672-byte string literal not displayed */

LockRedeemBin is the compiled bytecode used for deploying new contracts.

View Source
var LockRedeemERCBin = "" /* 8698-byte string literal not displayed */

LockRedeemERCBin is the compiled bytecode used for deploying new contracts.

View Source
var LockRedeemERCFuncSigs = map[string]string{
	"bfb9e9f5": "addValidatorProposals(address)",
	"0d8f6b5b": "epochBlockHeight()",
	"311101b6": "executeredeem(address)",
	"231f97f1": "getOLTErcAddress()",
	"b0825584": "getTotalErcBalance(address)",
	"31b6a6d1": "hasValidatorSigned(address)",
	"facd743b": "isValidator(address)",
	"0e7d275d": "newThresholdProposals(uint256)",
	"5d593f8d": "numValidators()",
	"383ea59a": "proposeAddValidator(address)",
	"e0e887d0": "proposeNewThreshold(uint256)",
	"101a8538": "proposeRemoveValidator(address)",
	"7bde82f2": "redeem(uint256,address)",
	"0d00753a": "removeValidatorProposals(address)",
	"7cacde3f": "sign(uint256,address)",
	"fa52c7d8": "validators(address)",
	"91e39868": "verifyRedeem(address)",
	"62827733": "votingThreshold()",
}

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

View Source
var LockRedeemFuncSigs = map[string]string{
	"7edd7ccd": "collectUserFee()",
	"45dfa415": "getOLTEthAddress()",
	"e75f7515": "getRedeemBalance(address)",
	"6c7d13df": "getSignatureCount(address)",
	"287cc96b": "getTotalEthBalance()",
	"31b6a6d1": "hasValidatorSigned(address)",
	"facd743b": "isValidator(address)",
	"2138c6b9": "isredeemAvailable(address)",
	"f83d08ba": "lock()",
	"ce5494bb": "migrate(address)",
	"27882c3a": "migrationSignatures()",
	"a04d0498": "migrationSigners(address)",
	"5d593f8d": "numValidators()",
	"db006a75": "redeem(uint256)",
	"7cacde3f": "sign(uint256,address)",
	"fa52c7d8": "validators(address)",
	"91e39868": "verifyRedeem(address)",
}

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

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

SafeMathBin is the compiled bytecode used for deploying new contracts.

Functions

This section is empty.

Types

type ERC20Basic added in v0.14.0

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

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

func DeployERC20Basic added in v0.14.0

func DeployERC20Basic(auth *bind.TransactOpts, backend bind.ContractBackend, total *big.Int) (common.Address, *types.Transaction, *ERC20Basic, error)

DeployERC20Basic deploys a new Ethereum contract, binding an instance of ERC20Basic to it.

func NewERC20Basic added in v0.14.0

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

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

type ERC20BasicApproval added in v0.14.0

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

ERC20BasicApproval represents a Approval event raised by the ERC20Basic contract.

type ERC20BasicApprovalIterator added in v0.14.0

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

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

func (*ERC20BasicApprovalIterator) Close added in v0.14.0

func (it *ERC20BasicApprovalIterator) Close() error

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

func (*ERC20BasicApprovalIterator) Error added in v0.14.0

func (it *ERC20BasicApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC20BasicApprovalIterator) Next added in v0.14.0

func (it *ERC20BasicApprovalIterator) Next() bool

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

type ERC20BasicCaller added in v0.14.0

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

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

func NewERC20BasicCaller added in v0.14.0

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

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

func (*ERC20BasicCaller) Allowance added in v0.14.0

func (_ERC20Basic *ERC20BasicCaller) Allowance(opts *bind.CallOpts, owner common.Address, delegate common.Address) (*big.Int, error)

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

Solidity: function allowance(address owner, address delegate) constant returns(uint256)

func (*ERC20BasicCaller) BalanceOf added in v0.14.0

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

func (*ERC20BasicCaller) Decimals added in v0.14.0

func (_ERC20Basic *ERC20BasicCaller) 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 (*ERC20BasicCaller) Name added in v0.14.0

func (_ERC20Basic *ERC20BasicCaller) 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 (*ERC20BasicCaller) Symbol added in v0.14.0

func (_ERC20Basic *ERC20BasicCaller) 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 (*ERC20BasicCaller) TotalSupply added in v0.14.0

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

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

Solidity: function totalSupply() constant returns(uint256)

type ERC20BasicCallerRaw added in v0.14.0

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

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

func (*ERC20BasicCallerRaw) Call added in v0.14.0

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

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

type ERC20BasicCallerSession added in v0.14.0

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

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

func (*ERC20BasicCallerSession) Allowance added in v0.14.0

func (_ERC20Basic *ERC20BasicCallerSession) Allowance(owner common.Address, delegate common.Address) (*big.Int, error)

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

Solidity: function allowance(address owner, address delegate) constant returns(uint256)

func (*ERC20BasicCallerSession) BalanceOf added in v0.14.0

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

func (*ERC20BasicCallerSession) Decimals added in v0.14.0

func (_ERC20Basic *ERC20BasicCallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() constant returns(uint8)

func (*ERC20BasicCallerSession) Name added in v0.14.0

func (_ERC20Basic *ERC20BasicCallerSession) Name() (string, error)

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

Solidity: function name() constant returns(string)

func (*ERC20BasicCallerSession) Symbol added in v0.14.0

func (_ERC20Basic *ERC20BasicCallerSession) Symbol() (string, error)

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

Solidity: function symbol() constant returns(string)

func (*ERC20BasicCallerSession) TotalSupply added in v0.14.0

func (_ERC20Basic *ERC20BasicCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() constant returns(uint256)

type ERC20BasicFilterer added in v0.14.0

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

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

func NewERC20BasicFilterer added in v0.14.0

func NewERC20BasicFilterer(address common.Address, filterer bind.ContractFilterer) (*ERC20BasicFilterer, error)

NewERC20BasicFilterer creates a new log filterer instance of ERC20Basic, bound to a specific deployed contract.

func (*ERC20BasicFilterer) FilterApproval added in v0.14.0

func (_ERC20Basic *ERC20BasicFilterer) FilterApproval(opts *bind.FilterOpts, tokenOwner []common.Address, spender []common.Address) (*ERC20BasicApprovalIterator, 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 (*ERC20BasicFilterer) FilterTransfer added in v0.14.0

func (_ERC20Basic *ERC20BasicFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ERC20BasicTransferIterator, error)

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

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

func (*ERC20BasicFilterer) ParseApproval added in v0.14.0

func (_ERC20Basic *ERC20BasicFilterer) ParseApproval(log types.Log) (*ERC20BasicApproval, error)

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

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

func (*ERC20BasicFilterer) ParseTransfer added in v0.14.0

func (_ERC20Basic *ERC20BasicFilterer) ParseTransfer(log types.Log) (*ERC20BasicTransfer, error)

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

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

func (*ERC20BasicFilterer) WatchApproval added in v0.14.0

func (_ERC20Basic *ERC20BasicFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC20BasicApproval, 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 (*ERC20BasicFilterer) WatchTransfer added in v0.14.0

func (_ERC20Basic *ERC20BasicFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20BasicTransfer, from []common.Address, to []common.Address) (event.Subscription, error)

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

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

type ERC20BasicRaw added in v0.14.0

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

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

func (*ERC20BasicRaw) Call added in v0.14.0

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

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

func (*ERC20BasicRaw) Transact added in v0.14.0

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

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

func (*ERC20BasicRaw) Transfer added in v0.14.0

func (_ERC20Basic *ERC20BasicRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

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

type ERC20BasicSession added in v0.14.0

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

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

func (*ERC20BasicSession) Allowance added in v0.14.0

func (_ERC20Basic *ERC20BasicSession) Allowance(owner common.Address, delegate common.Address) (*big.Int, error)

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

Solidity: function allowance(address owner, address delegate) constant returns(uint256)

func (*ERC20BasicSession) Approve added in v0.14.0

func (_ERC20Basic *ERC20BasicSession) Approve(delegate common.Address, numTokens *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address delegate, uint256 numTokens) returns(bool)

func (*ERC20BasicSession) BalanceOf added in v0.14.0

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

func (*ERC20BasicSession) Decimals added in v0.14.0

func (_ERC20Basic *ERC20BasicSession) Decimals() (uint8, error)

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

Solidity: function decimals() constant returns(uint8)

func (*ERC20BasicSession) Name added in v0.14.0

func (_ERC20Basic *ERC20BasicSession) Name() (string, error)

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

Solidity: function name() constant returns(string)

func (*ERC20BasicSession) Symbol added in v0.14.0

func (_ERC20Basic *ERC20BasicSession) Symbol() (string, error)

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

Solidity: function symbol() constant returns(string)

func (*ERC20BasicSession) TotalSupply added in v0.14.0

func (_ERC20Basic *ERC20BasicSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() constant returns(uint256)

func (*ERC20BasicSession) Transfer added in v0.14.0

func (_ERC20Basic *ERC20BasicSession) Transfer(receiver common.Address, numTokens *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(address receiver, uint256 numTokens) returns(bool)

func (*ERC20BasicSession) TransferFrom added in v0.14.0

func (_ERC20Basic *ERC20BasicSession) TransferFrom(owner common.Address, buyer common.Address, numTokens *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address owner, address buyer, uint256 numTokens) returns(bool)

type ERC20BasicTransactor added in v0.14.0

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

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

func NewERC20BasicTransactor added in v0.14.0

func NewERC20BasicTransactor(address common.Address, transactor bind.ContractTransactor) (*ERC20BasicTransactor, error)

NewERC20BasicTransactor creates a new write-only instance of ERC20Basic, bound to a specific deployed contract.

func (*ERC20BasicTransactor) Approve added in v0.14.0

func (_ERC20Basic *ERC20BasicTransactor) Approve(opts *bind.TransactOpts, delegate common.Address, numTokens *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address delegate, uint256 numTokens) returns(bool)

func (*ERC20BasicTransactor) Transfer added in v0.14.0

func (_ERC20Basic *ERC20BasicTransactor) Transfer(opts *bind.TransactOpts, receiver common.Address, numTokens *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(address receiver, uint256 numTokens) returns(bool)

func (*ERC20BasicTransactor) TransferFrom added in v0.14.0

func (_ERC20Basic *ERC20BasicTransactor) TransferFrom(opts *bind.TransactOpts, owner common.Address, buyer common.Address, numTokens *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address owner, address buyer, uint256 numTokens) returns(bool)

type ERC20BasicTransactorRaw added in v0.14.0

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

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

func (*ERC20BasicTransactorRaw) Transact added in v0.14.0

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

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

func (*ERC20BasicTransactorRaw) Transfer added in v0.14.0

func (_ERC20Basic *ERC20BasicTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

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

type ERC20BasicTransactorSession added in v0.14.0

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

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

func (*ERC20BasicTransactorSession) Approve added in v0.14.0

func (_ERC20Basic *ERC20BasicTransactorSession) Approve(delegate common.Address, numTokens *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address delegate, uint256 numTokens) returns(bool)

func (*ERC20BasicTransactorSession) Transfer added in v0.14.0

func (_ERC20Basic *ERC20BasicTransactorSession) Transfer(receiver common.Address, numTokens *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(address receiver, uint256 numTokens) returns(bool)

func (*ERC20BasicTransactorSession) TransferFrom added in v0.14.0

func (_ERC20Basic *ERC20BasicTransactorSession) TransferFrom(owner common.Address, buyer common.Address, numTokens *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address owner, address buyer, uint256 numTokens) returns(bool)

type ERC20BasicTransfer added in v0.14.0

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

ERC20BasicTransfer represents a Transfer event raised by the ERC20Basic contract.

type ERC20BasicTransferIterator added in v0.14.0

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

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

func (*ERC20BasicTransferIterator) Close added in v0.14.0

func (it *ERC20BasicTransferIterator) Close() error

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

func (*ERC20BasicTransferIterator) Error added in v0.14.0

func (it *ERC20BasicTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC20BasicTransferIterator) Next added in v0.14.0

func (it *ERC20BasicTransferIterator) Next() bool

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

type IERC20 added in v0.14.0

type IERC20 struct {
	IERC20Caller     // Read-only binding to the contract
	IERC20Transactor // Write-only binding to the contract
	IERC20Filterer   // Log filterer for contract events
}

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

func NewIERC20 added in v0.14.0

func NewIERC20(address common.Address, backend bind.ContractBackend) (*IERC20, error)

NewIERC20 creates a new instance of IERC20, bound to a specific deployed contract.

type IERC20Approval added in v0.14.0

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

IERC20Approval represents a Approval event raised by the IERC20 contract.

type IERC20ApprovalIterator added in v0.14.0

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

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

func (*IERC20ApprovalIterator) Close added in v0.14.0

func (it *IERC20ApprovalIterator) Close() error

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

func (*IERC20ApprovalIterator) Error added in v0.14.0

func (it *IERC20ApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IERC20ApprovalIterator) Next added in v0.14.0

func (it *IERC20ApprovalIterator) Next() bool

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

type IERC20Caller added in v0.14.0

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

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

func NewIERC20Caller added in v0.14.0

func NewIERC20Caller(address common.Address, caller bind.ContractCaller) (*IERC20Caller, error)

NewIERC20Caller creates a new read-only instance of IERC20, bound to a specific deployed contract.

func (*IERC20Caller) Allowance added in v0.14.0

func (_IERC20 *IERC20Caller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)

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

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

func (*IERC20Caller) BalanceOf added in v0.14.0

func (_IERC20 *IERC20Caller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)

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

Solidity: function balanceOf(address account) constant returns(uint256)

func (*IERC20Caller) TotalSupply added in v0.14.0

func (_IERC20 *IERC20Caller) 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 IERC20CallerRaw added in v0.14.0

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

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

func (*IERC20CallerRaw) Call added in v0.14.0

func (_IERC20 *IERC20CallerRaw) 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 IERC20CallerSession added in v0.14.0

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

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

func (*IERC20CallerSession) Allowance added in v0.14.0

func (_IERC20 *IERC20CallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

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

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

func (*IERC20CallerSession) BalanceOf added in v0.14.0

func (_IERC20 *IERC20CallerSession) BalanceOf(account common.Address) (*big.Int, error)

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

Solidity: function balanceOf(address account) constant returns(uint256)

func (*IERC20CallerSession) TotalSupply added in v0.14.0

func (_IERC20 *IERC20CallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() constant returns(uint256)

type IERC20Filterer added in v0.14.0

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

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

func NewIERC20Filterer added in v0.14.0

func NewIERC20Filterer(address common.Address, filterer bind.ContractFilterer) (*IERC20Filterer, error)

NewIERC20Filterer creates a new log filterer instance of IERC20, bound to a specific deployed contract.

func (*IERC20Filterer) FilterApproval added in v0.14.0

func (_IERC20 *IERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*IERC20ApprovalIterator, error)

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

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

func (*IERC20Filterer) FilterTransfer added in v0.14.0

func (_IERC20 *IERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*IERC20TransferIterator, error)

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

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

func (*IERC20Filterer) ParseApproval added in v0.14.0

func (_IERC20 *IERC20Filterer) ParseApproval(log types.Log) (*IERC20Approval, error)

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

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

func (*IERC20Filterer) ParseTransfer added in v0.14.0

func (_IERC20 *IERC20Filterer) ParseTransfer(log types.Log) (*IERC20Transfer, error)

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

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

func (*IERC20Filterer) WatchApproval added in v0.14.0

func (_IERC20 *IERC20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *IERC20Approval, owner []common.Address, spender []common.Address) (event.Subscription, error)

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

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

func (*IERC20Filterer) WatchTransfer added in v0.14.0

func (_IERC20 *IERC20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *IERC20Transfer, from []common.Address, to []common.Address) (event.Subscription, error)

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

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

type IERC20Raw added in v0.14.0

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

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

func (*IERC20Raw) Call added in v0.14.0

func (_IERC20 *IERC20Raw) 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 (*IERC20Raw) Transact added in v0.14.0

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

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

func (*IERC20Raw) Transfer added in v0.14.0

func (_IERC20 *IERC20Raw) 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 IERC20Session added in v0.14.0

type IERC20Session struct {
	Contract     *IERC20           // 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
}

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

func (*IERC20Session) Allowance added in v0.14.0

func (_IERC20 *IERC20Session) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

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

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

func (*IERC20Session) Approve added in v0.14.0

func (_IERC20 *IERC20Session) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

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

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

func (*IERC20Session) BalanceOf added in v0.14.0

func (_IERC20 *IERC20Session) BalanceOf(account common.Address) (*big.Int, error)

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

Solidity: function balanceOf(address account) constant returns(uint256)

func (*IERC20Session) TotalSupply added in v0.14.0

func (_IERC20 *IERC20Session) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() constant returns(uint256)

func (*IERC20Session) Transfer added in v0.14.0

func (_IERC20 *IERC20Session) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(address recipient, uint256 amount) returns(bool)

func (*IERC20Session) TransferFrom added in v0.14.0

func (_IERC20 *IERC20Session) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

type IERC20Transactor added in v0.14.0

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

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

func NewIERC20Transactor added in v0.14.0

func NewIERC20Transactor(address common.Address, transactor bind.ContractTransactor) (*IERC20Transactor, error)

NewIERC20Transactor creates a new write-only instance of IERC20, bound to a specific deployed contract.

func (*IERC20Transactor) Approve added in v0.14.0

func (_IERC20 *IERC20Transactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)

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

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

func (*IERC20Transactor) Transfer added in v0.14.0

func (_IERC20 *IERC20Transactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(address recipient, uint256 amount) returns(bool)

func (*IERC20Transactor) TransferFrom added in v0.14.0

func (_IERC20 *IERC20Transactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

type IERC20TransactorRaw added in v0.14.0

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

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

func (*IERC20TransactorRaw) Transact added in v0.14.0

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

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

func (*IERC20TransactorRaw) Transfer added in v0.14.0

func (_IERC20 *IERC20TransactorRaw) 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 IERC20TransactorSession added in v0.14.0

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

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

func (*IERC20TransactorSession) Approve added in v0.14.0

func (_IERC20 *IERC20TransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

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

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

func (*IERC20TransactorSession) Transfer added in v0.14.0

func (_IERC20 *IERC20TransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(address recipient, uint256 amount) returns(bool)

func (*IERC20TransactorSession) TransferFrom added in v0.14.0

func (_IERC20 *IERC20TransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

type IERC20Transfer added in v0.14.0

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

IERC20Transfer represents a Transfer event raised by the IERC20 contract.

type IERC20TransferIterator added in v0.14.0

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

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

func (*IERC20TransferIterator) Close added in v0.14.0

func (it *IERC20TransferIterator) Close() error

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

func (*IERC20TransferIterator) Error added in v0.14.0

func (it *IERC20TransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IERC20TransferIterator) Next added in v0.14.0

func (it *IERC20TransferIterator) Next() bool

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

type LockRedeem

type LockRedeem struct {
	LockRedeemCaller     // Read-only binding to the contract
	LockRedeemTransactor // Write-only binding to the contract
	LockRedeemFilterer   // Log filterer for contract events
}

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

func DeployLockRedeem

func DeployLockRedeem(auth *bind.TransactOpts, backend bind.ContractBackend, initialValidators []common.Address, _lock_period *big.Int) (common.Address, *types.Transaction, *LockRedeem, error)

DeployLockRedeem deploys a new Ethereum contract, binding an instance of LockRedeem to it.

func NewLockRedeem

func NewLockRedeem(address common.Address, backend bind.ContractBackend) (*LockRedeem, error)

NewLockRedeem creates a new instance of LockRedeem, bound to a specific deployed contract.

type LockRedeemAddValidator

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

LockRedeemAddValidator represents a AddValidator event raised by the LockRedeem contract.

type LockRedeemAddValidatorIterator

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

LockRedeemAddValidatorIterator is returned from FilterAddValidator and is used to iterate over the raw logs and unpacked data for AddValidator events raised by the LockRedeem contract.

func (*LockRedeemAddValidatorIterator) Close

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

func (*LockRedeemAddValidatorIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

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

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

func NewLockRedeemCaller

func NewLockRedeemCaller(address common.Address, caller bind.ContractCaller) (*LockRedeemCaller, error)

NewLockRedeemCaller creates a new read-only instance of LockRedeem, bound to a specific deployed contract.

func (*LockRedeemCaller) GetOLTEthAddress

func (_LockRedeem *LockRedeemCaller) GetOLTEthAddress(opts *bind.CallOpts) (common.Address, error)

GetOLTEthAddress is a free data retrieval call binding the contract method 0x45dfa415.

Solidity: function getOLTEthAddress() constant returns(address)

func (*LockRedeemCaller) GetRedeemBalance added in v0.14.0

func (_LockRedeem *LockRedeemCaller) GetRedeemBalance(opts *bind.CallOpts, recipient_ common.Address) (*big.Int, error)

GetRedeemBalance is a free data retrieval call binding the contract method 0xe75f7515.

Solidity: function getRedeemBalance(address recipient_) constant returns(uint256)

func (*LockRedeemCaller) GetSignatureCount

func (_LockRedeem *LockRedeemCaller) GetSignatureCount(opts *bind.CallOpts, recipient_ common.Address) (*big.Int, error)

GetSignatureCount is a free data retrieval call binding the contract method 0x6c7d13df.

Solidity: function getSignatureCount(address recipient_) constant returns(uint256)

func (*LockRedeemCaller) GetTotalEthBalance

func (_LockRedeem *LockRedeemCaller) GetTotalEthBalance(opts *bind.CallOpts) (*big.Int, error)

GetTotalEthBalance is a free data retrieval call binding the contract method 0x287cc96b.

Solidity: function getTotalEthBalance() constant returns(uint256)

func (*LockRedeemCaller) HasValidatorSigned

func (_LockRedeem *LockRedeemCaller) HasValidatorSigned(opts *bind.CallOpts, recipient_ common.Address) (bool, error)

HasValidatorSigned is a free data retrieval call binding the contract method 0x31b6a6d1.

Solidity: function hasValidatorSigned(address recipient_) constant returns(bool)

func (*LockRedeemCaller) IsValidator

func (_LockRedeem *LockRedeemCaller) IsValidator(opts *bind.CallOpts, addr common.Address) (bool, error)

IsValidator is a free data retrieval call binding the contract method 0xfacd743b.

Solidity: function isValidator(address addr) constant returns(bool)

func (*LockRedeemCaller) IsredeemAvailable added in v0.14.0

func (_LockRedeem *LockRedeemCaller) IsredeemAvailable(opts *bind.CallOpts, recepient_ common.Address) (bool, error)

IsredeemAvailable is a free data retrieval call binding the contract method 0x2138c6b9.

Solidity: function isredeemAvailable(address recepient_) constant returns(bool)

func (*LockRedeemCaller) MigrationSignatures added in v0.14.0

func (_LockRedeem *LockRedeemCaller) MigrationSignatures(opts *bind.CallOpts) (*big.Int, error)

MigrationSignatures is a free data retrieval call binding the contract method 0x27882c3a.

Solidity: function migrationSignatures() constant returns(uint256)

func (*LockRedeemCaller) MigrationSigners added in v0.14.0

func (_LockRedeem *LockRedeemCaller) MigrationSigners(opts *bind.CallOpts, arg0 common.Address) (bool, error)

MigrationSigners is a free data retrieval call binding the contract method 0xa04d0498.

Solidity: function migrationSigners(address ) constant returns(bool)

func (*LockRedeemCaller) NumValidators

func (_LockRedeem *LockRedeemCaller) NumValidators(opts *bind.CallOpts) (*big.Int, error)

NumValidators is a free data retrieval call binding the contract method 0x5d593f8d.

Solidity: function numValidators() constant returns(uint256)

func (*LockRedeemCaller) Validators

func (_LockRedeem *LockRedeemCaller) Validators(opts *bind.CallOpts, arg0 common.Address) (uint8, error)

Validators is a free data retrieval call binding the contract method 0xfa52c7d8.

Solidity: function validators(address ) constant returns(uint8)

func (*LockRedeemCaller) VerifyRedeem

func (_LockRedeem *LockRedeemCaller) VerifyRedeem(opts *bind.CallOpts, recipient_ common.Address) (int8, error)

VerifyRedeem is a free data retrieval call binding the contract method 0x91e39868.

Solidity: function verifyRedeem(address recipient_) constant returns(int8)

type LockRedeemCallerRaw

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

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

func (*LockRedeemCallerRaw) Call

func (_LockRedeem *LockRedeemCallerRaw) 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 LockRedeemCallerSession

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

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

func (*LockRedeemCallerSession) GetOLTEthAddress

func (_LockRedeem *LockRedeemCallerSession) GetOLTEthAddress() (common.Address, error)

GetOLTEthAddress is a free data retrieval call binding the contract method 0x45dfa415.

Solidity: function getOLTEthAddress() constant returns(address)

func (*LockRedeemCallerSession) GetRedeemBalance added in v0.14.0

func (_LockRedeem *LockRedeemCallerSession) GetRedeemBalance(recipient_ common.Address) (*big.Int, error)

GetRedeemBalance is a free data retrieval call binding the contract method 0xe75f7515.

Solidity: function getRedeemBalance(address recipient_) constant returns(uint256)

func (*LockRedeemCallerSession) GetSignatureCount

func (_LockRedeem *LockRedeemCallerSession) GetSignatureCount(recipient_ common.Address) (*big.Int, error)

GetSignatureCount is a free data retrieval call binding the contract method 0x6c7d13df.

Solidity: function getSignatureCount(address recipient_) constant returns(uint256)

func (*LockRedeemCallerSession) GetTotalEthBalance

func (_LockRedeem *LockRedeemCallerSession) GetTotalEthBalance() (*big.Int, error)

GetTotalEthBalance is a free data retrieval call binding the contract method 0x287cc96b.

Solidity: function getTotalEthBalance() constant returns(uint256)

func (*LockRedeemCallerSession) HasValidatorSigned

func (_LockRedeem *LockRedeemCallerSession) HasValidatorSigned(recipient_ common.Address) (bool, error)

HasValidatorSigned is a free data retrieval call binding the contract method 0x31b6a6d1.

Solidity: function hasValidatorSigned(address recipient_) constant returns(bool)

func (*LockRedeemCallerSession) IsValidator

func (_LockRedeem *LockRedeemCallerSession) IsValidator(addr common.Address) (bool, error)

IsValidator is a free data retrieval call binding the contract method 0xfacd743b.

Solidity: function isValidator(address addr) constant returns(bool)

func (*LockRedeemCallerSession) IsredeemAvailable added in v0.14.0

func (_LockRedeem *LockRedeemCallerSession) IsredeemAvailable(recepient_ common.Address) (bool, error)

IsredeemAvailable is a free data retrieval call binding the contract method 0x2138c6b9.

Solidity: function isredeemAvailable(address recepient_) constant returns(bool)

func (*LockRedeemCallerSession) MigrationSignatures added in v0.14.0

func (_LockRedeem *LockRedeemCallerSession) MigrationSignatures() (*big.Int, error)

MigrationSignatures is a free data retrieval call binding the contract method 0x27882c3a.

Solidity: function migrationSignatures() constant returns(uint256)

func (*LockRedeemCallerSession) MigrationSigners added in v0.14.0

func (_LockRedeem *LockRedeemCallerSession) MigrationSigners(arg0 common.Address) (bool, error)

MigrationSigners is a free data retrieval call binding the contract method 0xa04d0498.

Solidity: function migrationSigners(address ) constant returns(bool)

func (*LockRedeemCallerSession) NumValidators

func (_LockRedeem *LockRedeemCallerSession) NumValidators() (*big.Int, error)

NumValidators is a free data retrieval call binding the contract method 0x5d593f8d.

Solidity: function numValidators() constant returns(uint256)

func (*LockRedeemCallerSession) Validators

func (_LockRedeem *LockRedeemCallerSession) Validators(arg0 common.Address) (uint8, error)

Validators is a free data retrieval call binding the contract method 0xfa52c7d8.

Solidity: function validators(address ) constant returns(uint8)

func (*LockRedeemCallerSession) VerifyRedeem

func (_LockRedeem *LockRedeemCallerSession) VerifyRedeem(recipient_ common.Address) (int8, error)

VerifyRedeem is a free data retrieval call binding the contract method 0x91e39868.

Solidity: function verifyRedeem(address recipient_) constant returns(int8)

type LockRedeemERC added in v0.14.0

type LockRedeemERC struct {
	LockRedeemERCCaller     // Read-only binding to the contract
	LockRedeemERCTransactor // Write-only binding to the contract
	LockRedeemERCFilterer   // Log filterer for contract events
}

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

func DeployLockRedeemERC added in v0.14.0

func DeployLockRedeemERC(auth *bind.TransactOpts, backend bind.ContractBackend, initialValidators []common.Address) (common.Address, *types.Transaction, *LockRedeemERC, error)

DeployLockRedeemERC deploys a new Ethereum contract, binding an instance of LockRedeemERC to it.

func NewLockRedeemERC added in v0.14.0

func NewLockRedeemERC(address common.Address, backend bind.ContractBackend) (*LockRedeemERC, error)

NewLockRedeemERC creates a new instance of LockRedeemERC, bound to a specific deployed contract.

type LockRedeemERCAddValidator added in v0.14.0

type LockRedeemERCAddValidator struct {
	Address common.Address
	Power   *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

LockRedeemERCAddValidator represents a AddValidator event raised by the LockRedeemERC contract.

type LockRedeemERCAddValidatorIterator added in v0.14.0

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

LockRedeemERCAddValidatorIterator is returned from FilterAddValidator and is used to iterate over the raw logs and unpacked data for AddValidator events raised by the LockRedeemERC contract.

func (*LockRedeemERCAddValidatorIterator) Close added in v0.14.0

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

func (*LockRedeemERCAddValidatorIterator) Error added in v0.14.0

Error returns any retrieval or parsing error occurred during filtering.

func (*LockRedeemERCAddValidatorIterator) Next added in v0.14.0

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 LockRedeemERCCaller added in v0.14.0

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

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

func NewLockRedeemERCCaller added in v0.14.0

func NewLockRedeemERCCaller(address common.Address, caller bind.ContractCaller) (*LockRedeemERCCaller, error)

NewLockRedeemERCCaller creates a new read-only instance of LockRedeemERC, bound to a specific deployed contract.

func (*LockRedeemERCCaller) AddValidatorProposals added in v0.14.0

func (_LockRedeemERC *LockRedeemERCCaller) AddValidatorProposals(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

AddValidatorProposals is a free data retrieval call binding the contract method 0xbfb9e9f5.

Solidity: function addValidatorProposals(address ) constant returns(uint256 voteCount)

func (*LockRedeemERCCaller) EpochBlockHeight added in v0.14.0

func (_LockRedeemERC *LockRedeemERCCaller) EpochBlockHeight(opts *bind.CallOpts) (*big.Int, error)

EpochBlockHeight is a free data retrieval call binding the contract method 0x0d8f6b5b.

Solidity: function epochBlockHeight() constant returns(uint256)

func (*LockRedeemERCCaller) GetOLTErcAddress added in v0.14.0

func (_LockRedeemERC *LockRedeemERCCaller) GetOLTErcAddress(opts *bind.CallOpts) (common.Address, error)

GetOLTErcAddress is a free data retrieval call binding the contract method 0x231f97f1.

Solidity: function getOLTErcAddress() constant returns(address)

func (*LockRedeemERCCaller) GetTotalErcBalance added in v0.14.0

func (_LockRedeemERC *LockRedeemERCCaller) GetTotalErcBalance(opts *bind.CallOpts, tokenAddress_ common.Address) (*big.Int, error)

GetTotalErcBalance is a free data retrieval call binding the contract method 0xb0825584.

Solidity: function getTotalErcBalance(address tokenAddress_) constant returns(uint256)

func (*LockRedeemERCCaller) HasValidatorSigned added in v0.14.0

func (_LockRedeemERC *LockRedeemERCCaller) HasValidatorSigned(opts *bind.CallOpts, recipient_ common.Address) (bool, error)

HasValidatorSigned is a free data retrieval call binding the contract method 0x31b6a6d1.

Solidity: function hasValidatorSigned(address recipient_) constant returns(bool)

func (*LockRedeemERCCaller) IsValidator added in v0.14.0

func (_LockRedeemERC *LockRedeemERCCaller) IsValidator(opts *bind.CallOpts, addr common.Address) (bool, error)

IsValidator is a free data retrieval call binding the contract method 0xfacd743b.

Solidity: function isValidator(address addr) constant returns(bool)

func (*LockRedeemERCCaller) NewThresholdProposals added in v0.14.0

func (_LockRedeemERC *LockRedeemERCCaller) NewThresholdProposals(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)

NewThresholdProposals is a free data retrieval call binding the contract method 0x0e7d275d.

Solidity: function newThresholdProposals(uint256 ) constant returns(uint256 voteCount)

func (*LockRedeemERCCaller) NumValidators added in v0.14.0

func (_LockRedeemERC *LockRedeemERCCaller) NumValidators(opts *bind.CallOpts) (*big.Int, error)

NumValidators is a free data retrieval call binding the contract method 0x5d593f8d.

Solidity: function numValidators() constant returns(uint256)

func (*LockRedeemERCCaller) ProposeRemoveValidator added in v0.14.0

func (_LockRedeemERC *LockRedeemERCCaller) ProposeRemoveValidator(opts *bind.CallOpts, v common.Address) error

ProposeRemoveValidator is a free data retrieval call binding the contract method 0x101a8538.

Solidity: function proposeRemoveValidator(address v) constant returns()

func (*LockRedeemERCCaller) RemoveValidatorProposals added in v0.14.0

func (_LockRedeemERC *LockRedeemERCCaller) RemoveValidatorProposals(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

RemoveValidatorProposals is a free data retrieval call binding the contract method 0x0d00753a.

Solidity: function removeValidatorProposals(address ) constant returns(uint256 voteCount)

func (*LockRedeemERCCaller) Validators added in v0.14.0

func (_LockRedeemERC *LockRedeemERCCaller) Validators(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

Validators is a free data retrieval call binding the contract method 0xfa52c7d8.

Solidity: function validators(address ) constant returns(int256)

func (*LockRedeemERCCaller) VerifyRedeem added in v0.14.0

func (_LockRedeemERC *LockRedeemERCCaller) VerifyRedeem(opts *bind.CallOpts, recipient_ common.Address) (bool, error)

VerifyRedeem is a free data retrieval call binding the contract method 0x91e39868.

Solidity: function verifyRedeem(address recipient_) constant returns(bool)

func (*LockRedeemERCCaller) VotingThreshold added in v0.14.0

func (_LockRedeemERC *LockRedeemERCCaller) VotingThreshold(opts *bind.CallOpts) (*big.Int, error)

VotingThreshold is a free data retrieval call binding the contract method 0x62827733.

Solidity: function votingThreshold() constant returns(uint256)

type LockRedeemERCCallerRaw added in v0.14.0

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

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

func (*LockRedeemERCCallerRaw) Call added in v0.14.0

func (_LockRedeemERC *LockRedeemERCCallerRaw) 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 LockRedeemERCCallerSession added in v0.14.0

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

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

func (*LockRedeemERCCallerSession) AddValidatorProposals added in v0.14.0

func (_LockRedeemERC *LockRedeemERCCallerSession) AddValidatorProposals(arg0 common.Address) (*big.Int, error)

AddValidatorProposals is a free data retrieval call binding the contract method 0xbfb9e9f5.

Solidity: function addValidatorProposals(address ) constant returns(uint256 voteCount)

func (*LockRedeemERCCallerSession) EpochBlockHeight added in v0.14.0

func (_LockRedeemERC *LockRedeemERCCallerSession) EpochBlockHeight() (*big.Int, error)

EpochBlockHeight is a free data retrieval call binding the contract method 0x0d8f6b5b.

Solidity: function epochBlockHeight() constant returns(uint256)

func (*LockRedeemERCCallerSession) GetOLTErcAddress added in v0.14.0

func (_LockRedeemERC *LockRedeemERCCallerSession) GetOLTErcAddress() (common.Address, error)

GetOLTErcAddress is a free data retrieval call binding the contract method 0x231f97f1.

Solidity: function getOLTErcAddress() constant returns(address)

func (*LockRedeemERCCallerSession) GetTotalErcBalance added in v0.14.0

func (_LockRedeemERC *LockRedeemERCCallerSession) GetTotalErcBalance(tokenAddress_ common.Address) (*big.Int, error)

GetTotalErcBalance is a free data retrieval call binding the contract method 0xb0825584.

Solidity: function getTotalErcBalance(address tokenAddress_) constant returns(uint256)

func (*LockRedeemERCCallerSession) HasValidatorSigned added in v0.14.0

func (_LockRedeemERC *LockRedeemERCCallerSession) HasValidatorSigned(recipient_ common.Address) (bool, error)

HasValidatorSigned is a free data retrieval call binding the contract method 0x31b6a6d1.

Solidity: function hasValidatorSigned(address recipient_) constant returns(bool)

func (*LockRedeemERCCallerSession) IsValidator added in v0.14.0

func (_LockRedeemERC *LockRedeemERCCallerSession) IsValidator(addr common.Address) (bool, error)

IsValidator is a free data retrieval call binding the contract method 0xfacd743b.

Solidity: function isValidator(address addr) constant returns(bool)

func (*LockRedeemERCCallerSession) NewThresholdProposals added in v0.14.0

func (_LockRedeemERC *LockRedeemERCCallerSession) NewThresholdProposals(arg0 *big.Int) (*big.Int, error)

NewThresholdProposals is a free data retrieval call binding the contract method 0x0e7d275d.

Solidity: function newThresholdProposals(uint256 ) constant returns(uint256 voteCount)

func (*LockRedeemERCCallerSession) NumValidators added in v0.14.0

func (_LockRedeemERC *LockRedeemERCCallerSession) NumValidators() (*big.Int, error)

NumValidators is a free data retrieval call binding the contract method 0x5d593f8d.

Solidity: function numValidators() constant returns(uint256)

func (*LockRedeemERCCallerSession) ProposeRemoveValidator added in v0.14.0

func (_LockRedeemERC *LockRedeemERCCallerSession) ProposeRemoveValidator(v common.Address) error

ProposeRemoveValidator is a free data retrieval call binding the contract method 0x101a8538.

Solidity: function proposeRemoveValidator(address v) constant returns()

func (*LockRedeemERCCallerSession) RemoveValidatorProposals added in v0.14.0

func (_LockRedeemERC *LockRedeemERCCallerSession) RemoveValidatorProposals(arg0 common.Address) (*big.Int, error)

RemoveValidatorProposals is a free data retrieval call binding the contract method 0x0d00753a.

Solidity: function removeValidatorProposals(address ) constant returns(uint256 voteCount)

func (*LockRedeemERCCallerSession) Validators added in v0.14.0

func (_LockRedeemERC *LockRedeemERCCallerSession) Validators(arg0 common.Address) (*big.Int, error)

Validators is a free data retrieval call binding the contract method 0xfa52c7d8.

Solidity: function validators(address ) constant returns(int256)

func (*LockRedeemERCCallerSession) VerifyRedeem added in v0.14.0

func (_LockRedeemERC *LockRedeemERCCallerSession) VerifyRedeem(recipient_ common.Address) (bool, error)

VerifyRedeem is a free data retrieval call binding the contract method 0x91e39868.

Solidity: function verifyRedeem(address recipient_) constant returns(bool)

func (*LockRedeemERCCallerSession) VotingThreshold added in v0.14.0

func (_LockRedeemERC *LockRedeemERCCallerSession) VotingThreshold() (*big.Int, error)

VotingThreshold is a free data retrieval call binding the contract method 0x62827733.

Solidity: function votingThreshold() constant returns(uint256)

type LockRedeemERCDeleteValidator added in v0.14.0

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

LockRedeemERCDeleteValidator represents a DeleteValidator event raised by the LockRedeemERC contract.

type LockRedeemERCDeleteValidatorIterator added in v0.14.0

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

LockRedeemERCDeleteValidatorIterator is returned from FilterDeleteValidator and is used to iterate over the raw logs and unpacked data for DeleteValidator events raised by the LockRedeemERC contract.

func (*LockRedeemERCDeleteValidatorIterator) Close added in v0.14.0

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

func (*LockRedeemERCDeleteValidatorIterator) Error added in v0.14.0

Error returns any retrieval or parsing error occurred during filtering.

func (*LockRedeemERCDeleteValidatorIterator) Next added in v0.14.0

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 LockRedeemERCFilterer added in v0.14.0

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

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

func NewLockRedeemERCFilterer added in v0.14.0

func NewLockRedeemERCFilterer(address common.Address, filterer bind.ContractFilterer) (*LockRedeemERCFilterer, error)

NewLockRedeemERCFilterer creates a new log filterer instance of LockRedeemERC, bound to a specific deployed contract.

func (*LockRedeemERCFilterer) FilterAddValidator added in v0.14.0

func (_LockRedeemERC *LockRedeemERCFilterer) FilterAddValidator(opts *bind.FilterOpts, _address []common.Address) (*LockRedeemERCAddValidatorIterator, error)

FilterAddValidator is a free log retrieval operation binding the contract event 0xb2076c69a79e1dfb01d613dcc63b7c42ae1962daf11d4f2151352135133f824b.

Solidity: event AddValidator(address indexed _address, int256 _power)

func (*LockRedeemERCFilterer) FilterDeleteValidator added in v0.14.0

func (_LockRedeemERC *LockRedeemERCFilterer) FilterDeleteValidator(opts *bind.FilterOpts, _address []common.Address) (*LockRedeemERCDeleteValidatorIterator, error)

FilterDeleteValidator is a free log retrieval operation binding the contract event 0x6d70afad774d81e8c32f930c6412789502b16ccf0a20f21679b249bdfac060e5.

Solidity: event DeleteValidator(address indexed _address)

func (*LockRedeemERCFilterer) FilterNewEpoch added in v0.14.0

func (_LockRedeemERC *LockRedeemERCFilterer) FilterNewEpoch(opts *bind.FilterOpts) (*LockRedeemERCNewEpochIterator, error)

FilterNewEpoch is a free log retrieval operation binding the contract event 0xebad8099c467528a56c98b63c8d476d251cf1ffb4c75db94b4d23fa2b6a1e335.

Solidity: event NewEpoch(uint256 epochHeight)

func (*LockRedeemERCFilterer) FilterNewThreshold added in v0.14.0

func (_LockRedeemERC *LockRedeemERCFilterer) FilterNewThreshold(opts *bind.FilterOpts) (*LockRedeemERCNewThresholdIterator, error)

FilterNewThreshold is a free log retrieval operation binding the contract event 0x7a5c0f01d83576763cde96136a1c8a8c1c05ff95d8a184db483894a9b69b8b3a.

Solidity: event NewThreshold(uint256 _prevThreshold, uint256 _newThreshold)

func (*LockRedeemERCFilterer) FilterRedeemRequest added in v0.14.0

func (_LockRedeemERC *LockRedeemERCFilterer) FilterRedeemRequest(opts *bind.FilterOpts, recepient []common.Address) (*LockRedeemERCRedeemRequestIterator, error)

FilterRedeemRequest is a free log retrieval operation binding the contract event 0x222dc200773fe9b45015bf792e8fee37d651e3590c215806a5042404b6d741d2.

Solidity: event RedeemRequest(address indexed recepient, uint256 amount_requested)

func (*LockRedeemERCFilterer) FilterRedeemSuccessful added in v0.14.0

func (_LockRedeemERC *LockRedeemERCFilterer) FilterRedeemSuccessful(opts *bind.FilterOpts, recepient []common.Address) (*LockRedeemERCRedeemSuccessfulIterator, error)

FilterRedeemSuccessful is a free log retrieval operation binding the contract event 0x80cfc930fa1029f5fdb639588b474e55c8051b1a9b635f90fe3af3508cfd8ad1.

Solidity: event RedeemSuccessful(address indexed recepient, uint256 amount_trafered)

func (*LockRedeemERCFilterer) FilterValidatorSignedRedeem added in v0.14.0

func (_LockRedeemERC *LockRedeemERCFilterer) FilterValidatorSignedRedeem(opts *bind.FilterOpts, recipient []common.Address) (*LockRedeemERCValidatorSignedRedeemIterator, error)

FilterValidatorSignedRedeem is a free log retrieval operation binding the contract event 0x3b76df4bf55914fbcbc8b02f6773984cc346db1e6aef40410dcee0f94c6a05db.

Solidity: event ValidatorSignedRedeem(address indexed recipient, address validator_addresss, uint256 amount)

func (*LockRedeemERCFilterer) ParseAddValidator added in v0.14.0

func (_LockRedeemERC *LockRedeemERCFilterer) ParseAddValidator(log types.Log) (*LockRedeemERCAddValidator, error)

ParseAddValidator is a log parse operation binding the contract event 0xb2076c69a79e1dfb01d613dcc63b7c42ae1962daf11d4f2151352135133f824b.

Solidity: event AddValidator(address indexed _address, int256 _power)

func (*LockRedeemERCFilterer) ParseDeleteValidator added in v0.14.0

func (_LockRedeemERC *LockRedeemERCFilterer) ParseDeleteValidator(log types.Log) (*LockRedeemERCDeleteValidator, error)

ParseDeleteValidator is a log parse operation binding the contract event 0x6d70afad774d81e8c32f930c6412789502b16ccf0a20f21679b249bdfac060e5.

Solidity: event DeleteValidator(address indexed _address)

func (*LockRedeemERCFilterer) ParseNewEpoch added in v0.14.0

func (_LockRedeemERC *LockRedeemERCFilterer) ParseNewEpoch(log types.Log) (*LockRedeemERCNewEpoch, error)

ParseNewEpoch is a log parse operation binding the contract event 0xebad8099c467528a56c98b63c8d476d251cf1ffb4c75db94b4d23fa2b6a1e335.

Solidity: event NewEpoch(uint256 epochHeight)

func (*LockRedeemERCFilterer) ParseNewThreshold added in v0.14.0

func (_LockRedeemERC *LockRedeemERCFilterer) ParseNewThreshold(log types.Log) (*LockRedeemERCNewThreshold, error)

ParseNewThreshold is a log parse operation binding the contract event 0x7a5c0f01d83576763cde96136a1c8a8c1c05ff95d8a184db483894a9b69b8b3a.

Solidity: event NewThreshold(uint256 _prevThreshold, uint256 _newThreshold)

func (*LockRedeemERCFilterer) ParseRedeemRequest added in v0.14.0

func (_LockRedeemERC *LockRedeemERCFilterer) ParseRedeemRequest(log types.Log) (*LockRedeemERCRedeemRequest, error)

ParseRedeemRequest is a log parse operation binding the contract event 0x222dc200773fe9b45015bf792e8fee37d651e3590c215806a5042404b6d741d2.

Solidity: event RedeemRequest(address indexed recepient, uint256 amount_requested)

func (*LockRedeemERCFilterer) ParseRedeemSuccessful added in v0.14.0

func (_LockRedeemERC *LockRedeemERCFilterer) ParseRedeemSuccessful(log types.Log) (*LockRedeemERCRedeemSuccessful, error)

ParseRedeemSuccessful is a log parse operation binding the contract event 0x80cfc930fa1029f5fdb639588b474e55c8051b1a9b635f90fe3af3508cfd8ad1.

Solidity: event RedeemSuccessful(address indexed recepient, uint256 amount_trafered)

func (*LockRedeemERCFilterer) ParseValidatorSignedRedeem added in v0.14.0

func (_LockRedeemERC *LockRedeemERCFilterer) ParseValidatorSignedRedeem(log types.Log) (*LockRedeemERCValidatorSignedRedeem, error)

ParseValidatorSignedRedeem is a log parse operation binding the contract event 0x3b76df4bf55914fbcbc8b02f6773984cc346db1e6aef40410dcee0f94c6a05db.

Solidity: event ValidatorSignedRedeem(address indexed recipient, address validator_addresss, uint256 amount)

func (*LockRedeemERCFilterer) WatchAddValidator added in v0.14.0

func (_LockRedeemERC *LockRedeemERCFilterer) WatchAddValidator(opts *bind.WatchOpts, sink chan<- *LockRedeemERCAddValidator, _address []common.Address) (event.Subscription, error)

WatchAddValidator is a free log subscription operation binding the contract event 0xb2076c69a79e1dfb01d613dcc63b7c42ae1962daf11d4f2151352135133f824b.

Solidity: event AddValidator(address indexed _address, int256 _power)

func (*LockRedeemERCFilterer) WatchDeleteValidator added in v0.14.0

func (_LockRedeemERC *LockRedeemERCFilterer) WatchDeleteValidator(opts *bind.WatchOpts, sink chan<- *LockRedeemERCDeleteValidator, _address []common.Address) (event.Subscription, error)

WatchDeleteValidator is a free log subscription operation binding the contract event 0x6d70afad774d81e8c32f930c6412789502b16ccf0a20f21679b249bdfac060e5.

Solidity: event DeleteValidator(address indexed _address)

func (*LockRedeemERCFilterer) WatchNewEpoch added in v0.14.0

func (_LockRedeemERC *LockRedeemERCFilterer) WatchNewEpoch(opts *bind.WatchOpts, sink chan<- *LockRedeemERCNewEpoch) (event.Subscription, error)

WatchNewEpoch is a free log subscription operation binding the contract event 0xebad8099c467528a56c98b63c8d476d251cf1ffb4c75db94b4d23fa2b6a1e335.

Solidity: event NewEpoch(uint256 epochHeight)

func (*LockRedeemERCFilterer) WatchNewThreshold added in v0.14.0

func (_LockRedeemERC *LockRedeemERCFilterer) WatchNewThreshold(opts *bind.WatchOpts, sink chan<- *LockRedeemERCNewThreshold) (event.Subscription, error)

WatchNewThreshold is a free log subscription operation binding the contract event 0x7a5c0f01d83576763cde96136a1c8a8c1c05ff95d8a184db483894a9b69b8b3a.

Solidity: event NewThreshold(uint256 _prevThreshold, uint256 _newThreshold)

func (*LockRedeemERCFilterer) WatchRedeemRequest added in v0.14.0

func (_LockRedeemERC *LockRedeemERCFilterer) WatchRedeemRequest(opts *bind.WatchOpts, sink chan<- *LockRedeemERCRedeemRequest, recepient []common.Address) (event.Subscription, error)

WatchRedeemRequest is a free log subscription operation binding the contract event 0x222dc200773fe9b45015bf792e8fee37d651e3590c215806a5042404b6d741d2.

Solidity: event RedeemRequest(address indexed recepient, uint256 amount_requested)

func (*LockRedeemERCFilterer) WatchRedeemSuccessful added in v0.14.0

func (_LockRedeemERC *LockRedeemERCFilterer) WatchRedeemSuccessful(opts *bind.WatchOpts, sink chan<- *LockRedeemERCRedeemSuccessful, recepient []common.Address) (event.Subscription, error)

WatchRedeemSuccessful is a free log subscription operation binding the contract event 0x80cfc930fa1029f5fdb639588b474e55c8051b1a9b635f90fe3af3508cfd8ad1.

Solidity: event RedeemSuccessful(address indexed recepient, uint256 amount_trafered)

func (*LockRedeemERCFilterer) WatchValidatorSignedRedeem added in v0.14.0

func (_LockRedeemERC *LockRedeemERCFilterer) WatchValidatorSignedRedeem(opts *bind.WatchOpts, sink chan<- *LockRedeemERCValidatorSignedRedeem, recipient []common.Address) (event.Subscription, error)

WatchValidatorSignedRedeem is a free log subscription operation binding the contract event 0x3b76df4bf55914fbcbc8b02f6773984cc346db1e6aef40410dcee0f94c6a05db.

Solidity: event ValidatorSignedRedeem(address indexed recipient, address validator_addresss, uint256 amount)

type LockRedeemERCNewEpoch added in v0.14.0

type LockRedeemERCNewEpoch struct {
	EpochHeight *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

LockRedeemERCNewEpoch represents a NewEpoch event raised by the LockRedeemERC contract.

type LockRedeemERCNewEpochIterator added in v0.14.0

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

LockRedeemERCNewEpochIterator is returned from FilterNewEpoch and is used to iterate over the raw logs and unpacked data for NewEpoch events raised by the LockRedeemERC contract.

func (*LockRedeemERCNewEpochIterator) Close added in v0.14.0

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

func (*LockRedeemERCNewEpochIterator) Error added in v0.14.0

Error returns any retrieval or parsing error occurred during filtering.

func (*LockRedeemERCNewEpochIterator) Next added in v0.14.0

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 LockRedeemERCNewThreshold added in v0.14.0

type LockRedeemERCNewThreshold struct {
	PrevThreshold *big.Int
	NewThreshold  *big.Int
	Raw           types.Log // Blockchain specific contextual infos
}

LockRedeemERCNewThreshold represents a NewThreshold event raised by the LockRedeemERC contract.

type LockRedeemERCNewThresholdIterator added in v0.14.0

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

LockRedeemERCNewThresholdIterator is returned from FilterNewThreshold and is used to iterate over the raw logs and unpacked data for NewThreshold events raised by the LockRedeemERC contract.

func (*LockRedeemERCNewThresholdIterator) Close added in v0.14.0

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

func (*LockRedeemERCNewThresholdIterator) Error added in v0.14.0

Error returns any retrieval or parsing error occurred during filtering.

func (*LockRedeemERCNewThresholdIterator) Next added in v0.14.0

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 LockRedeemERCRaw added in v0.14.0

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

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

func (*LockRedeemERCRaw) Call added in v0.14.0

func (_LockRedeemERC *LockRedeemERCRaw) 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 (*LockRedeemERCRaw) Transact added in v0.14.0

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

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

func (*LockRedeemERCRaw) Transfer added in v0.14.0

func (_LockRedeemERC *LockRedeemERCRaw) 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 LockRedeemERCRedeemRequest added in v0.14.0

type LockRedeemERCRedeemRequest struct {
	Recepient       common.Address
	AmountRequested *big.Int
	Raw             types.Log // Blockchain specific contextual infos
}

LockRedeemERCRedeemRequest represents a RedeemRequest event raised by the LockRedeemERC contract.

type LockRedeemERCRedeemRequestIterator added in v0.14.0

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

LockRedeemERCRedeemRequestIterator is returned from FilterRedeemRequest and is used to iterate over the raw logs and unpacked data for RedeemRequest events raised by the LockRedeemERC contract.

func (*LockRedeemERCRedeemRequestIterator) Close added in v0.14.0

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

func (*LockRedeemERCRedeemRequestIterator) Error added in v0.14.0

Error returns any retrieval or parsing error occurred during filtering.

func (*LockRedeemERCRedeemRequestIterator) Next added in v0.14.0

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 LockRedeemERCRedeemSuccessful added in v0.14.0

type LockRedeemERCRedeemSuccessful struct {
	Recepient      common.Address
	AmountTrafered *big.Int
	Raw            types.Log // Blockchain specific contextual infos
}

LockRedeemERCRedeemSuccessful represents a RedeemSuccessful event raised by the LockRedeemERC contract.

type LockRedeemERCRedeemSuccessfulIterator added in v0.14.0

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

LockRedeemERCRedeemSuccessfulIterator is returned from FilterRedeemSuccessful and is used to iterate over the raw logs and unpacked data for RedeemSuccessful events raised by the LockRedeemERC contract.

func (*LockRedeemERCRedeemSuccessfulIterator) Close added in v0.14.0

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

func (*LockRedeemERCRedeemSuccessfulIterator) Error added in v0.14.0

Error returns any retrieval or parsing error occurred during filtering.

func (*LockRedeemERCRedeemSuccessfulIterator) Next added in v0.14.0

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 LockRedeemERCSession added in v0.14.0

type LockRedeemERCSession struct {
	Contract     *LockRedeemERC    // 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
}

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

func (*LockRedeemERCSession) AddValidatorProposals added in v0.14.0

func (_LockRedeemERC *LockRedeemERCSession) AddValidatorProposals(arg0 common.Address) (*big.Int, error)

AddValidatorProposals is a free data retrieval call binding the contract method 0xbfb9e9f5.

Solidity: function addValidatorProposals(address ) constant returns(uint256 voteCount)

func (*LockRedeemERCSession) EpochBlockHeight added in v0.14.0

func (_LockRedeemERC *LockRedeemERCSession) EpochBlockHeight() (*big.Int, error)

EpochBlockHeight is a free data retrieval call binding the contract method 0x0d8f6b5b.

Solidity: function epochBlockHeight() constant returns(uint256)

func (*LockRedeemERCSession) Executeredeem added in v0.14.0

func (_LockRedeemERC *LockRedeemERCSession) Executeredeem(tokenAddress_ common.Address) (*types.Transaction, error)

Executeredeem is a paid mutator transaction binding the contract method 0x311101b6.

Solidity: function executeredeem(address tokenAddress_) returns()

func (*LockRedeemERCSession) GetOLTErcAddress added in v0.14.0

func (_LockRedeemERC *LockRedeemERCSession) GetOLTErcAddress() (common.Address, error)

GetOLTErcAddress is a free data retrieval call binding the contract method 0x231f97f1.

Solidity: function getOLTErcAddress() constant returns(address)

func (*LockRedeemERCSession) GetTotalErcBalance added in v0.14.0

func (_LockRedeemERC *LockRedeemERCSession) GetTotalErcBalance(tokenAddress_ common.Address) (*big.Int, error)

GetTotalErcBalance is a free data retrieval call binding the contract method 0xb0825584.

Solidity: function getTotalErcBalance(address tokenAddress_) constant returns(uint256)

func (*LockRedeemERCSession) HasValidatorSigned added in v0.14.0

func (_LockRedeemERC *LockRedeemERCSession) HasValidatorSigned(recipient_ common.Address) (bool, error)

HasValidatorSigned is a free data retrieval call binding the contract method 0x31b6a6d1.

Solidity: function hasValidatorSigned(address recipient_) constant returns(bool)

func (*LockRedeemERCSession) IsValidator added in v0.14.0

func (_LockRedeemERC *LockRedeemERCSession) IsValidator(addr common.Address) (bool, error)

IsValidator is a free data retrieval call binding the contract method 0xfacd743b.

Solidity: function isValidator(address addr) constant returns(bool)

func (*LockRedeemERCSession) NewThresholdProposals added in v0.14.0

func (_LockRedeemERC *LockRedeemERCSession) NewThresholdProposals(arg0 *big.Int) (*big.Int, error)

NewThresholdProposals is a free data retrieval call binding the contract method 0x0e7d275d.

Solidity: function newThresholdProposals(uint256 ) constant returns(uint256 voteCount)

func (*LockRedeemERCSession) NumValidators added in v0.14.0

func (_LockRedeemERC *LockRedeemERCSession) NumValidators() (*big.Int, error)

NumValidators is a free data retrieval call binding the contract method 0x5d593f8d.

Solidity: function numValidators() constant returns(uint256)

func (*LockRedeemERCSession) ProposeAddValidator added in v0.14.0

func (_LockRedeemERC *LockRedeemERCSession) ProposeAddValidator(v common.Address) (*types.Transaction, error)

ProposeAddValidator is a paid mutator transaction binding the contract method 0x383ea59a.

Solidity: function proposeAddValidator(address v) returns()

func (*LockRedeemERCSession) ProposeNewThreshold added in v0.14.0

func (_LockRedeemERC *LockRedeemERCSession) ProposeNewThreshold(threshold *big.Int) (*types.Transaction, error)

ProposeNewThreshold is a paid mutator transaction binding the contract method 0xe0e887d0.

Solidity: function proposeNewThreshold(uint256 threshold) returns()

func (*LockRedeemERCSession) ProposeRemoveValidator added in v0.14.0

func (_LockRedeemERC *LockRedeemERCSession) ProposeRemoveValidator(v common.Address) error

ProposeRemoveValidator is a free data retrieval call binding the contract method 0x101a8538.

Solidity: function proposeRemoveValidator(address v) constant returns()

func (*LockRedeemERCSession) Redeem added in v0.14.0

func (_LockRedeemERC *LockRedeemERCSession) Redeem(amount_ *big.Int, tokenAddress_ common.Address) (*types.Transaction, error)

Redeem is a paid mutator transaction binding the contract method 0x7bde82f2.

Solidity: function redeem(uint256 amount_, address tokenAddress_) returns()

func (*LockRedeemERCSession) RemoveValidatorProposals added in v0.14.0

func (_LockRedeemERC *LockRedeemERCSession) RemoveValidatorProposals(arg0 common.Address) (*big.Int, error)

RemoveValidatorProposals is a free data retrieval call binding the contract method 0x0d00753a.

Solidity: function removeValidatorProposals(address ) constant returns(uint256 voteCount)

func (*LockRedeemERCSession) Sign added in v0.14.0

func (_LockRedeemERC *LockRedeemERCSession) Sign(amount_ *big.Int, recipient_ common.Address) (*types.Transaction, error)

Sign is a paid mutator transaction binding the contract method 0x7cacde3f.

Solidity: function sign(uint256 amount_, address recipient_) returns()

func (*LockRedeemERCSession) Validators added in v0.14.0

func (_LockRedeemERC *LockRedeemERCSession) Validators(arg0 common.Address) (*big.Int, error)

Validators is a free data retrieval call binding the contract method 0xfa52c7d8.

Solidity: function validators(address ) constant returns(int256)

func (*LockRedeemERCSession) VerifyRedeem added in v0.14.0

func (_LockRedeemERC *LockRedeemERCSession) VerifyRedeem(recipient_ common.Address) (bool, error)

VerifyRedeem is a free data retrieval call binding the contract method 0x91e39868.

Solidity: function verifyRedeem(address recipient_) constant returns(bool)

func (*LockRedeemERCSession) VotingThreshold added in v0.14.0

func (_LockRedeemERC *LockRedeemERCSession) VotingThreshold() (*big.Int, error)

VotingThreshold is a free data retrieval call binding the contract method 0x62827733.

Solidity: function votingThreshold() constant returns(uint256)

type LockRedeemERCTransactor added in v0.14.0

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

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

func NewLockRedeemERCTransactor added in v0.14.0

func NewLockRedeemERCTransactor(address common.Address, transactor bind.ContractTransactor) (*LockRedeemERCTransactor, error)

NewLockRedeemERCTransactor creates a new write-only instance of LockRedeemERC, bound to a specific deployed contract.

func (*LockRedeemERCTransactor) Executeredeem added in v0.14.0

func (_LockRedeemERC *LockRedeemERCTransactor) Executeredeem(opts *bind.TransactOpts, tokenAddress_ common.Address) (*types.Transaction, error)

Executeredeem is a paid mutator transaction binding the contract method 0x311101b6.

Solidity: function executeredeem(address tokenAddress_) returns()

func (*LockRedeemERCTransactor) ProposeAddValidator added in v0.14.0

func (_LockRedeemERC *LockRedeemERCTransactor) ProposeAddValidator(opts *bind.TransactOpts, v common.Address) (*types.Transaction, error)

ProposeAddValidator is a paid mutator transaction binding the contract method 0x383ea59a.

Solidity: function proposeAddValidator(address v) returns()

func (*LockRedeemERCTransactor) ProposeNewThreshold added in v0.14.0

func (_LockRedeemERC *LockRedeemERCTransactor) ProposeNewThreshold(opts *bind.TransactOpts, threshold *big.Int) (*types.Transaction, error)

ProposeNewThreshold is a paid mutator transaction binding the contract method 0xe0e887d0.

Solidity: function proposeNewThreshold(uint256 threshold) returns()

func (*LockRedeemERCTransactor) Redeem added in v0.14.0

func (_LockRedeemERC *LockRedeemERCTransactor) Redeem(opts *bind.TransactOpts, amount_ *big.Int, tokenAddress_ common.Address) (*types.Transaction, error)

Redeem is a paid mutator transaction binding the contract method 0x7bde82f2.

Solidity: function redeem(uint256 amount_, address tokenAddress_) returns()

func (*LockRedeemERCTransactor) Sign added in v0.14.0

func (_LockRedeemERC *LockRedeemERCTransactor) Sign(opts *bind.TransactOpts, amount_ *big.Int, recipient_ common.Address) (*types.Transaction, error)

Sign is a paid mutator transaction binding the contract method 0x7cacde3f.

Solidity: function sign(uint256 amount_, address recipient_) returns()

type LockRedeemERCTransactorRaw added in v0.14.0

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

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

func (*LockRedeemERCTransactorRaw) Transact added in v0.14.0

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

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

func (*LockRedeemERCTransactorRaw) Transfer added in v0.14.0

func (_LockRedeemERC *LockRedeemERCTransactorRaw) 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 LockRedeemERCTransactorSession added in v0.14.0

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

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

func (*LockRedeemERCTransactorSession) Executeredeem added in v0.14.0

func (_LockRedeemERC *LockRedeemERCTransactorSession) Executeredeem(tokenAddress_ common.Address) (*types.Transaction, error)

Executeredeem is a paid mutator transaction binding the contract method 0x311101b6.

Solidity: function executeredeem(address tokenAddress_) returns()

func (*LockRedeemERCTransactorSession) ProposeAddValidator added in v0.14.0

func (_LockRedeemERC *LockRedeemERCTransactorSession) ProposeAddValidator(v common.Address) (*types.Transaction, error)

ProposeAddValidator is a paid mutator transaction binding the contract method 0x383ea59a.

Solidity: function proposeAddValidator(address v) returns()

func (*LockRedeemERCTransactorSession) ProposeNewThreshold added in v0.14.0

func (_LockRedeemERC *LockRedeemERCTransactorSession) ProposeNewThreshold(threshold *big.Int) (*types.Transaction, error)

ProposeNewThreshold is a paid mutator transaction binding the contract method 0xe0e887d0.

Solidity: function proposeNewThreshold(uint256 threshold) returns()

func (*LockRedeemERCTransactorSession) Redeem added in v0.14.0

func (_LockRedeemERC *LockRedeemERCTransactorSession) Redeem(amount_ *big.Int, tokenAddress_ common.Address) (*types.Transaction, error)

Redeem is a paid mutator transaction binding the contract method 0x7bde82f2.

Solidity: function redeem(uint256 amount_, address tokenAddress_) returns()

func (*LockRedeemERCTransactorSession) Sign added in v0.14.0

func (_LockRedeemERC *LockRedeemERCTransactorSession) Sign(amount_ *big.Int, recipient_ common.Address) (*types.Transaction, error)

Sign is a paid mutator transaction binding the contract method 0x7cacde3f.

Solidity: function sign(uint256 amount_, address recipient_) returns()

type LockRedeemERCValidatorSignedRedeem added in v0.14.0

type LockRedeemERCValidatorSignedRedeem struct {
	Recipient         common.Address
	ValidatorAddresss common.Address
	Amount            *big.Int
	Raw               types.Log // Blockchain specific contextual infos
}

LockRedeemERCValidatorSignedRedeem represents a ValidatorSignedRedeem event raised by the LockRedeemERC contract.

type LockRedeemERCValidatorSignedRedeemIterator added in v0.14.0

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

LockRedeemERCValidatorSignedRedeemIterator is returned from FilterValidatorSignedRedeem and is used to iterate over the raw logs and unpacked data for ValidatorSignedRedeem events raised by the LockRedeemERC contract.

func (*LockRedeemERCValidatorSignedRedeemIterator) Close added in v0.14.0

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

func (*LockRedeemERCValidatorSignedRedeemIterator) Error added in v0.14.0

Error returns any retrieval or parsing error occurred during filtering.

func (*LockRedeemERCValidatorSignedRedeemIterator) Next added in v0.14.0

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 LockRedeemFilterer

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

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

func NewLockRedeemFilterer

func NewLockRedeemFilterer(address common.Address, filterer bind.ContractFilterer) (*LockRedeemFilterer, error)

NewLockRedeemFilterer creates a new log filterer instance of LockRedeem, bound to a specific deployed contract.

func (*LockRedeemFilterer) FilterAddValidator

func (_LockRedeem *LockRedeemFilterer) FilterAddValidator(opts *bind.FilterOpts, _address []common.Address) (*LockRedeemAddValidatorIterator, error)

FilterAddValidator is a free log retrieval operation binding the contract event 0x6a7a7b9e5967ba1cf76c3d7d5a9b98e96f11754855b04564fada97b94741ad36.

Solidity: event AddValidator(address indexed _address)

func (*LockRedeemFilterer) FilterLock

func (_LockRedeem *LockRedeemFilterer) FilterLock(opts *bind.FilterOpts) (*LockRedeemLockIterator, error)

FilterLock is a free log retrieval operation binding the contract event 0x625fed9875dada8643f2418b838ae0bc78d9a148a18eee4ee1979ff0f3f5d427.

Solidity: event Lock(address sender, uint256 amount_received)

func (*LockRedeemFilterer) FilterRedeemRequest

func (_LockRedeem *LockRedeemFilterer) FilterRedeemRequest(opts *bind.FilterOpts, recepient []common.Address) (*LockRedeemRedeemRequestIterator, error)

FilterRedeemRequest is a free log retrieval operation binding the contract event 0xeee07ebdabc7ab1dc20be39b715e23aa8a85c6a8ae3c16f8334dace8d76683dc.

Solidity: event RedeemRequest(address indexed recepient, uint256 amount_requested, uint256 redeemFeeCharged)

func (*LockRedeemFilterer) FilterValidatorMigrated added in v0.14.0

func (_LockRedeem *LockRedeemFilterer) FilterValidatorMigrated(opts *bind.FilterOpts) (*LockRedeemValidatorMigratedIterator, error)

FilterValidatorMigrated is a free log retrieval operation binding the contract event 0x077478953a7559f9e01b2ceeb429ce87333fb7fc0ec16eb5eb9128463e30fa92.

Solidity: event ValidatorMigrated(address validator, address NewSmartContractAddress)

func (*LockRedeemFilterer) FilterValidatorSignedRedeem

func (_LockRedeem *LockRedeemFilterer) FilterValidatorSignedRedeem(opts *bind.FilterOpts, recipient []common.Address) (*LockRedeemValidatorSignedRedeemIterator, error)

FilterValidatorSignedRedeem is a free log retrieval operation binding the contract event 0x975a8b0f36f1204c7939f566cea0503ea32284a2768a7f98ede91960b6d15830.

Solidity: event ValidatorSignedRedeem(address indexed recipient, address validator_addresss, uint256 amount, uint256 gasReturned)

func (*LockRedeemFilterer) ParseAddValidator

func (_LockRedeem *LockRedeemFilterer) ParseAddValidator(log types.Log) (*LockRedeemAddValidator, error)

ParseAddValidator is a log parse operation binding the contract event 0x6a7a7b9e5967ba1cf76c3d7d5a9b98e96f11754855b04564fada97b94741ad36.

Solidity: event AddValidator(address indexed _address)

func (*LockRedeemFilterer) ParseLock

func (_LockRedeem *LockRedeemFilterer) ParseLock(log types.Log) (*LockRedeemLock, error)

ParseLock is a log parse operation binding the contract event 0x625fed9875dada8643f2418b838ae0bc78d9a148a18eee4ee1979ff0f3f5d427.

Solidity: event Lock(address sender, uint256 amount_received)

func (*LockRedeemFilterer) ParseRedeemRequest

func (_LockRedeem *LockRedeemFilterer) ParseRedeemRequest(log types.Log) (*LockRedeemRedeemRequest, error)

ParseRedeemRequest is a log parse operation binding the contract event 0xeee07ebdabc7ab1dc20be39b715e23aa8a85c6a8ae3c16f8334dace8d76683dc.

Solidity: event RedeemRequest(address indexed recepient, uint256 amount_requested, uint256 redeemFeeCharged)

func (*LockRedeemFilterer) ParseValidatorMigrated added in v0.14.0

func (_LockRedeem *LockRedeemFilterer) ParseValidatorMigrated(log types.Log) (*LockRedeemValidatorMigrated, error)

ParseValidatorMigrated is a log parse operation binding the contract event 0x077478953a7559f9e01b2ceeb429ce87333fb7fc0ec16eb5eb9128463e30fa92.

Solidity: event ValidatorMigrated(address validator, address NewSmartContractAddress)

func (*LockRedeemFilterer) ParseValidatorSignedRedeem

func (_LockRedeem *LockRedeemFilterer) ParseValidatorSignedRedeem(log types.Log) (*LockRedeemValidatorSignedRedeem, error)

ParseValidatorSignedRedeem is a log parse operation binding the contract event 0x975a8b0f36f1204c7939f566cea0503ea32284a2768a7f98ede91960b6d15830.

Solidity: event ValidatorSignedRedeem(address indexed recipient, address validator_addresss, uint256 amount, uint256 gasReturned)

func (*LockRedeemFilterer) WatchAddValidator

func (_LockRedeem *LockRedeemFilterer) WatchAddValidator(opts *bind.WatchOpts, sink chan<- *LockRedeemAddValidator, _address []common.Address) (event.Subscription, error)

WatchAddValidator is a free log subscription operation binding the contract event 0x6a7a7b9e5967ba1cf76c3d7d5a9b98e96f11754855b04564fada97b94741ad36.

Solidity: event AddValidator(address indexed _address)

func (*LockRedeemFilterer) WatchLock

func (_LockRedeem *LockRedeemFilterer) WatchLock(opts *bind.WatchOpts, sink chan<- *LockRedeemLock) (event.Subscription, error)

WatchLock is a free log subscription operation binding the contract event 0x625fed9875dada8643f2418b838ae0bc78d9a148a18eee4ee1979ff0f3f5d427.

Solidity: event Lock(address sender, uint256 amount_received)

func (*LockRedeemFilterer) WatchRedeemRequest

func (_LockRedeem *LockRedeemFilterer) WatchRedeemRequest(opts *bind.WatchOpts, sink chan<- *LockRedeemRedeemRequest, recepient []common.Address) (event.Subscription, error)

WatchRedeemRequest is a free log subscription operation binding the contract event 0xeee07ebdabc7ab1dc20be39b715e23aa8a85c6a8ae3c16f8334dace8d76683dc.

Solidity: event RedeemRequest(address indexed recepient, uint256 amount_requested, uint256 redeemFeeCharged)

func (*LockRedeemFilterer) WatchValidatorMigrated added in v0.14.0

func (_LockRedeem *LockRedeemFilterer) WatchValidatorMigrated(opts *bind.WatchOpts, sink chan<- *LockRedeemValidatorMigrated) (event.Subscription, error)

WatchValidatorMigrated is a free log subscription operation binding the contract event 0x077478953a7559f9e01b2ceeb429ce87333fb7fc0ec16eb5eb9128463e30fa92.

Solidity: event ValidatorMigrated(address validator, address NewSmartContractAddress)

func (*LockRedeemFilterer) WatchValidatorSignedRedeem

func (_LockRedeem *LockRedeemFilterer) WatchValidatorSignedRedeem(opts *bind.WatchOpts, sink chan<- *LockRedeemValidatorSignedRedeem, recipient []common.Address) (event.Subscription, error)

WatchValidatorSignedRedeem is a free log subscription operation binding the contract event 0x975a8b0f36f1204c7939f566cea0503ea32284a2768a7f98ede91960b6d15830.

Solidity: event ValidatorSignedRedeem(address indexed recipient, address validator_addresss, uint256 amount, uint256 gasReturned)

type LockRedeemLock

type LockRedeemLock struct {
	Sender         common.Address
	AmountReceived *big.Int
	Raw            types.Log // Blockchain specific contextual infos
}

LockRedeemLock represents a Lock event raised by the LockRedeem contract.

type LockRedeemLockIterator

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

LockRedeemLockIterator is returned from FilterLock and is used to iterate over the raw logs and unpacked data for Lock events raised by the LockRedeem contract.

func (*LockRedeemLockIterator) Close

func (it *LockRedeemLockIterator) Close() error

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

func (*LockRedeemLockIterator) Error

func (it *LockRedeemLockIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*LockRedeemLockIterator) Next

func (it *LockRedeemLockIterator) Next() bool

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

type LockRedeemRaw

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

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

func (*LockRedeemRaw) Call

func (_LockRedeem *LockRedeemRaw) 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 (*LockRedeemRaw) Transact

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

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

func (*LockRedeemRaw) Transfer

func (_LockRedeem *LockRedeemRaw) 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 LockRedeemRedeemRequest

type LockRedeemRedeemRequest struct {
	Recepient        common.Address
	AmountRequested  *big.Int
	RedeemFeeCharged *big.Int
	Raw              types.Log // Blockchain specific contextual infos
}

LockRedeemRedeemRequest represents a RedeemRequest event raised by the LockRedeem contract.

type LockRedeemRedeemRequestIterator

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

LockRedeemRedeemRequestIterator is returned from FilterRedeemRequest and is used to iterate over the raw logs and unpacked data for RedeemRequest events raised by the LockRedeem contract.

func (*LockRedeemRedeemRequestIterator) Close

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

func (*LockRedeemRedeemRequestIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

type LockRedeemSession struct {
	Contract     *LockRedeem       // 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
}

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

func (*LockRedeemSession) CollectUserFee added in v0.14.0

func (_LockRedeem *LockRedeemSession) CollectUserFee() (*types.Transaction, error)

CollectUserFee is a paid mutator transaction binding the contract method 0x7edd7ccd.

Solidity: function collectUserFee() returns()

func (*LockRedeemSession) GetOLTEthAddress

func (_LockRedeem *LockRedeemSession) GetOLTEthAddress() (common.Address, error)

GetOLTEthAddress is a free data retrieval call binding the contract method 0x45dfa415.

Solidity: function getOLTEthAddress() constant returns(address)

func (*LockRedeemSession) GetRedeemBalance added in v0.14.0

func (_LockRedeem *LockRedeemSession) GetRedeemBalance(recipient_ common.Address) (*big.Int, error)

GetRedeemBalance is a free data retrieval call binding the contract method 0xe75f7515.

Solidity: function getRedeemBalance(address recipient_) constant returns(uint256)

func (*LockRedeemSession) GetSignatureCount

func (_LockRedeem *LockRedeemSession) GetSignatureCount(recipient_ common.Address) (*big.Int, error)

GetSignatureCount is a free data retrieval call binding the contract method 0x6c7d13df.

Solidity: function getSignatureCount(address recipient_) constant returns(uint256)

func (*LockRedeemSession) GetTotalEthBalance

func (_LockRedeem *LockRedeemSession) GetTotalEthBalance() (*big.Int, error)

GetTotalEthBalance is a free data retrieval call binding the contract method 0x287cc96b.

Solidity: function getTotalEthBalance() constant returns(uint256)

func (*LockRedeemSession) HasValidatorSigned

func (_LockRedeem *LockRedeemSession) HasValidatorSigned(recipient_ common.Address) (bool, error)

HasValidatorSigned is a free data retrieval call binding the contract method 0x31b6a6d1.

Solidity: function hasValidatorSigned(address recipient_) constant returns(bool)

func (*LockRedeemSession) IsValidator

func (_LockRedeem *LockRedeemSession) IsValidator(addr common.Address) (bool, error)

IsValidator is a free data retrieval call binding the contract method 0xfacd743b.

Solidity: function isValidator(address addr) constant returns(bool)

func (*LockRedeemSession) IsredeemAvailable added in v0.14.0

func (_LockRedeem *LockRedeemSession) IsredeemAvailable(recepient_ common.Address) (bool, error)

IsredeemAvailable is a free data retrieval call binding the contract method 0x2138c6b9.

Solidity: function isredeemAvailable(address recepient_) constant returns(bool)

func (*LockRedeemSession) Lock

func (_LockRedeem *LockRedeemSession) Lock() (*types.Transaction, error)

Lock is a paid mutator transaction binding the contract method 0xf83d08ba.

Solidity: function lock() returns()

func (*LockRedeemSession) Migrate added in v0.14.0

func (_LockRedeem *LockRedeemSession) Migrate(newSmartContractAddress common.Address) (*types.Transaction, error)

Migrate is a paid mutator transaction binding the contract method 0xce5494bb.

Solidity: function migrate(address newSmartContractAddress) returns()

func (*LockRedeemSession) MigrationSignatures added in v0.14.0

func (_LockRedeem *LockRedeemSession) MigrationSignatures() (*big.Int, error)

MigrationSignatures is a free data retrieval call binding the contract method 0x27882c3a.

Solidity: function migrationSignatures() constant returns(uint256)

func (*LockRedeemSession) MigrationSigners added in v0.14.0

func (_LockRedeem *LockRedeemSession) MigrationSigners(arg0 common.Address) (bool, error)

MigrationSigners is a free data retrieval call binding the contract method 0xa04d0498.

Solidity: function migrationSigners(address ) constant returns(bool)

func (*LockRedeemSession) NumValidators

func (_LockRedeem *LockRedeemSession) NumValidators() (*big.Int, error)

NumValidators is a free data retrieval call binding the contract method 0x5d593f8d.

Solidity: function numValidators() constant returns(uint256)

func (*LockRedeemSession) Redeem

func (_LockRedeem *LockRedeemSession) Redeem(amount_ *big.Int) (*types.Transaction, error)

Redeem is a paid mutator transaction binding the contract method 0xdb006a75.

Solidity: function redeem(uint256 amount_) returns()

func (*LockRedeemSession) Sign

func (_LockRedeem *LockRedeemSession) Sign(amount_ *big.Int, recipient_ common.Address) (*types.Transaction, error)

Sign is a paid mutator transaction binding the contract method 0x7cacde3f.

Solidity: function sign(uint256 amount_, address recipient_) returns()

func (*LockRedeemSession) Validators

func (_LockRedeem *LockRedeemSession) Validators(arg0 common.Address) (uint8, error)

Validators is a free data retrieval call binding the contract method 0xfa52c7d8.

Solidity: function validators(address ) constant returns(uint8)

func (*LockRedeemSession) VerifyRedeem

func (_LockRedeem *LockRedeemSession) VerifyRedeem(recipient_ common.Address) (int8, error)

VerifyRedeem is a free data retrieval call binding the contract method 0x91e39868.

Solidity: function verifyRedeem(address recipient_) constant returns(int8)

type LockRedeemTransactor

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

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

func NewLockRedeemTransactor

func NewLockRedeemTransactor(address common.Address, transactor bind.ContractTransactor) (*LockRedeemTransactor, error)

NewLockRedeemTransactor creates a new write-only instance of LockRedeem, bound to a specific deployed contract.

func (*LockRedeemTransactor) CollectUserFee added in v0.14.0

func (_LockRedeem *LockRedeemTransactor) CollectUserFee(opts *bind.TransactOpts) (*types.Transaction, error)

CollectUserFee is a paid mutator transaction binding the contract method 0x7edd7ccd.

Solidity: function collectUserFee() returns()

func (*LockRedeemTransactor) Lock

func (_LockRedeem *LockRedeemTransactor) Lock(opts *bind.TransactOpts) (*types.Transaction, error)

Lock is a paid mutator transaction binding the contract method 0xf83d08ba.

Solidity: function lock() returns()

func (*LockRedeemTransactor) Migrate added in v0.14.0

func (_LockRedeem *LockRedeemTransactor) Migrate(opts *bind.TransactOpts, newSmartContractAddress common.Address) (*types.Transaction, error)

Migrate is a paid mutator transaction binding the contract method 0xce5494bb.

Solidity: function migrate(address newSmartContractAddress) returns()

func (*LockRedeemTransactor) Redeem

func (_LockRedeem *LockRedeemTransactor) Redeem(opts *bind.TransactOpts, amount_ *big.Int) (*types.Transaction, error)

Redeem is a paid mutator transaction binding the contract method 0xdb006a75.

Solidity: function redeem(uint256 amount_) returns()

func (*LockRedeemTransactor) Sign

func (_LockRedeem *LockRedeemTransactor) Sign(opts *bind.TransactOpts, amount_ *big.Int, recipient_ common.Address) (*types.Transaction, error)

Sign is a paid mutator transaction binding the contract method 0x7cacde3f.

Solidity: function sign(uint256 amount_, address recipient_) returns()

type LockRedeemTransactorRaw

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

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

func (*LockRedeemTransactorRaw) Transact

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

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

func (*LockRedeemTransactorRaw) Transfer

func (_LockRedeem *LockRedeemTransactorRaw) 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 LockRedeemTransactorSession

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

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

func (*LockRedeemTransactorSession) CollectUserFee added in v0.14.0

func (_LockRedeem *LockRedeemTransactorSession) CollectUserFee() (*types.Transaction, error)

CollectUserFee is a paid mutator transaction binding the contract method 0x7edd7ccd.

Solidity: function collectUserFee() returns()

func (*LockRedeemTransactorSession) Lock

func (_LockRedeem *LockRedeemTransactorSession) Lock() (*types.Transaction, error)

Lock is a paid mutator transaction binding the contract method 0xf83d08ba.

Solidity: function lock() returns()

func (*LockRedeemTransactorSession) Migrate added in v0.14.0

func (_LockRedeem *LockRedeemTransactorSession) Migrate(newSmartContractAddress common.Address) (*types.Transaction, error)

Migrate is a paid mutator transaction binding the contract method 0xce5494bb.

Solidity: function migrate(address newSmartContractAddress) returns()

func (*LockRedeemTransactorSession) Redeem

func (_LockRedeem *LockRedeemTransactorSession) Redeem(amount_ *big.Int) (*types.Transaction, error)

Redeem is a paid mutator transaction binding the contract method 0xdb006a75.

Solidity: function redeem(uint256 amount_) returns()

func (*LockRedeemTransactorSession) Sign

func (_LockRedeem *LockRedeemTransactorSession) Sign(amount_ *big.Int, recipient_ common.Address) (*types.Transaction, error)

Sign is a paid mutator transaction binding the contract method 0x7cacde3f.

Solidity: function sign(uint256 amount_, address recipient_) returns()

type LockRedeemValidatorMigrated added in v0.14.0

type LockRedeemValidatorMigrated struct {
	Validator               common.Address
	NewSmartContractAddress common.Address
	Raw                     types.Log // Blockchain specific contextual infos
}

LockRedeemValidatorMigrated represents a ValidatorMigrated event raised by the LockRedeem contract.

type LockRedeemValidatorMigratedIterator added in v0.14.0

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

LockRedeemValidatorMigratedIterator is returned from FilterValidatorMigrated and is used to iterate over the raw logs and unpacked data for ValidatorMigrated events raised by the LockRedeem contract.

func (*LockRedeemValidatorMigratedIterator) Close added in v0.14.0

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

func (*LockRedeemValidatorMigratedIterator) Error added in v0.14.0

Error returns any retrieval or parsing error occurred during filtering.

func (*LockRedeemValidatorMigratedIterator) Next added in v0.14.0

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 LockRedeemValidatorSignedRedeem

type LockRedeemValidatorSignedRedeem struct {
	Recipient         common.Address
	ValidatorAddresss common.Address
	Amount            *big.Int
	GasReturned       *big.Int
	Raw               types.Log // Blockchain specific contextual infos
}

LockRedeemValidatorSignedRedeem represents a ValidatorSignedRedeem event raised by the LockRedeem contract.

type LockRedeemValidatorSignedRedeemIterator

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

LockRedeemValidatorSignedRedeemIterator is returned from FilterValidatorSignedRedeem and is used to iterate over the raw logs and unpacked data for ValidatorSignedRedeem events raised by the LockRedeem contract.

func (*LockRedeemValidatorSignedRedeemIterator) Close

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

func (*LockRedeemValidatorSignedRedeemIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*LockRedeemValidatorSignedRedeemIterator) 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 SafeMath added in v0.14.0

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 added in v0.14.0

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 added in v0.14.0

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 added in v0.14.0

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

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

func NewSafeMathCaller added in v0.14.0

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 added in v0.14.0

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 added in v0.14.0

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 added in v0.14.0

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 added in v0.14.0

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

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

func NewSafeMathFilterer added in v0.14.0

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 added in v0.14.0

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 added in v0.14.0

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 added in v0.14.0

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 added in v0.14.0

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 added in v0.14.0

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 added in v0.14.0

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

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

func NewSafeMathTransactor added in v0.14.0

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 added in v0.14.0

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 added in v0.14.0

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 added in v0.14.0

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 added in v0.14.0

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

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

Jump to

Keyboard shortcuts

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