# 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.
# Functions
DeployERC20Basic deploys a new Ethereum contract, binding an instance of ERC20Basic to it.
DeployLockRedeem deploys a new Ethereum contract, binding an instance of LockRedeem to it.
DeployLockRedeemERC deploys a new Ethereum contract, binding an instance of LockRedeemERC to it.
DeploySafeMath deploys a new Ethereum contract, binding an instance of SafeMath to it.
NewERC20Basic creates a new instance of ERC20Basic, bound to a specific deployed contract.
NewERC20BasicCaller creates a new read-only instance of ERC20Basic, bound to a specific deployed contract.
NewERC20BasicFilterer creates a new log filterer instance of ERC20Basic, bound to a specific deployed contract.
NewERC20BasicTransactor creates a new write-only instance of ERC20Basic, bound to a specific deployed contract.
NewIERC20 creates a new instance of IERC20, bound to a specific deployed contract.
NewIERC20Caller creates a new read-only instance of IERC20, bound to a specific deployed contract.
NewIERC20Filterer creates a new log filterer instance of IERC20, bound to a specific deployed contract.
NewIERC20Transactor creates a new write-only instance of IERC20, bound to a specific deployed contract.
NewLockRedeem creates a new instance of LockRedeem, bound to a specific deployed contract.
NewLockRedeemCaller creates a new read-only instance of LockRedeem, bound to a specific deployed contract.
NewLockRedeemERC creates a new instance of LockRedeemERC, bound to a specific deployed contract.
NewLockRedeemERCCaller creates a new read-only instance of LockRedeemERC, bound to a specific deployed contract.
NewLockRedeemERCFilterer creates a new log filterer instance of LockRedeemERC, bound to a specific deployed contract.
NewLockRedeemERCTransactor creates a new write-only instance of LockRedeemERC, bound to a specific deployed contract.
NewLockRedeemFilterer creates a new log filterer instance of LockRedeem, bound to a specific deployed contract.
NewLockRedeemTransactor creates a new write-only instance of LockRedeem, bound to a specific deployed contract.
NewSafeMath creates a new instance of SafeMath, bound to a specific deployed contract.
NewSafeMathCaller creates a new read-only instance of SafeMath, bound to a specific deployed contract.
NewSafeMathFilterer creates a new log filterer instance of SafeMath, bound to a specific deployed contract.
NewSafeMathTransactor creates a new write-only instance of SafeMath, bound to a specific deployed contract.
# Constants
ERC20BasicABI is the input ABI used to generate the binding from.
IERC20ABI is the input ABI used to generate the binding from.
LockRedeemABI is the input ABI used to generate the binding from.
LockRedeemERCABI is the input ABI used to generate the binding from.
SafeMathABI is the input ABI used to generate the binding from.
# Variables
ERC20BasicBin is the compiled bytecode used for deploying new contracts.
ERC20BasicFuncSigs maps the 4-byte function signature to its string representation.
IERC20FuncSigs maps the 4-byte function signature to its string representation.
LockRedeemBin is the compiled bytecode used for deploying new contracts.
LockRedeemERCBin is the compiled bytecode used for deploying new contracts.
LockRedeemERCFuncSigs maps the 4-byte function signature to its string representation.
LockRedeemFuncSigs maps the 4-byte function signature to its string representation.
SafeMathBin is the compiled bytecode used for deploying new contracts.
# Structs
ERC20Basic is an auto generated Go binding around an Ethereum contract.
ERC20BasicApproval represents a Approval event raised by the ERC20Basic contract.
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.
ERC20BasicCaller is an auto generated read-only Go binding around an Ethereum contract.
ERC20BasicCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
ERC20BasicCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
ERC20BasicFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
ERC20BasicRaw is an auto generated low-level Go binding around an Ethereum contract.
ERC20BasicSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
ERC20BasicTransactor is an auto generated write-only Go binding around an Ethereum contract.
ERC20BasicTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
ERC20BasicTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
ERC20BasicTransfer represents a Transfer event raised by the ERC20Basic contract.
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.
IERC20 is an auto generated Go binding around an Ethereum contract.
IERC20Approval represents a Approval event raised by the IERC20 contract.
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.
IERC20Caller is an auto generated read-only Go binding around an Ethereum contract.
IERC20CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
IERC20CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
IERC20Filterer is an auto generated log filtering Go binding around an Ethereum contract events.
IERC20Raw is an auto generated low-level Go binding around an Ethereum contract.
IERC20Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
IERC20Transactor is an auto generated write-only Go binding around an Ethereum contract.
IERC20TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
IERC20TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
IERC20Transfer represents a Transfer event raised by the IERC20 contract.
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.
LockRedeem is an auto generated Go binding around an Ethereum contract.
LockRedeemAddValidator represents a AddValidator event raised by the LockRedeem contract.
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.
LockRedeemCaller is an auto generated read-only Go binding around an Ethereum contract.
LockRedeemCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
LockRedeemCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
LockRedeemERC is an auto generated Go binding around an Ethereum contract.
LockRedeemERCAddValidator represents a AddValidator event raised by the LockRedeemERC contract.
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.
LockRedeemERCCaller is an auto generated read-only Go binding around an Ethereum contract.
LockRedeemERCCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
LockRedeemERCCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
LockRedeemERCDeleteValidator represents a DeleteValidator event raised by the LockRedeemERC contract.
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.
LockRedeemERCFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
LockRedeemERCNewEpoch represents a NewEpoch event raised by the LockRedeemERC contract.
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.
LockRedeemERCNewThreshold represents a NewThreshold event raised by the LockRedeemERC contract.
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.
LockRedeemERCRaw is an auto generated low-level Go binding around an Ethereum contract.
LockRedeemERCRedeemRequest represents a RedeemRequest event raised by the LockRedeemERC contract.
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.
LockRedeemERCRedeemSuccessful represents a RedeemSuccessful event raised by the LockRedeemERC contract.
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.
LockRedeemERCSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
LockRedeemERCTransactor is an auto generated write-only Go binding around an Ethereum contract.
LockRedeemERCTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
LockRedeemERCTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
LockRedeemERCValidatorSignedRedeem represents a ValidatorSignedRedeem event raised by the LockRedeemERC contract.
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.
LockRedeemFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
LockRedeemLock represents a Lock event raised by the LockRedeem contract.
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.
LockRedeemRaw is an auto generated low-level Go binding around an Ethereum contract.
LockRedeemRedeemRequest represents a RedeemRequest event raised by the LockRedeem contract.
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.
LockRedeemSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
LockRedeemTransactor is an auto generated write-only Go binding around an Ethereum contract.
LockRedeemTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
LockRedeemTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
LockRedeemValidatorMigrated represents a ValidatorMigrated event raised by the LockRedeem contract.
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.
LockRedeemValidatorSignedRedeem represents a ValidatorSignedRedeem event raised by the LockRedeem contract.
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.
SafeMath is an auto generated Go binding around an Ethereum contract.
SafeMathCaller is an auto generated read-only Go binding around an Ethereum contract.
SafeMathCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
SafeMathCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
SafeMathFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
SafeMathRaw is an auto generated low-level Go binding around an Ethereum contract.
SafeMathSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
SafeMathTransactor is an auto generated write-only Go binding around an Ethereum contract.
SafeMathTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
SafeMathTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.