generated

package
v1.68.4 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2023 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const BridgeBankABI = "" /* 8328-byte string literal not displayed */

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

View Source
const BridgeRegistryABI = "" /* 1894-byte string literal not displayed */

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

View Source
const BridgeTokenABI = "" /* 5976-byte string literal not displayed */

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

View Source
const Chain33BankABI = "" /* 3051-byte string literal not displayed */

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

View Source
const Chain33BridgeABI = "" /* 6383-byte string literal not displayed */

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

View Source
const ContextABI = "[{\"inputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"}]"

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

View Source
const ECDSAABI = "[]"

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

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

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

View Source
const ERC20BurnableABI = "" /* 3881-byte string literal not displayed */

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

View Source
const ERC20DetailedABI = "" /* 3547-byte string literal not displayed */

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

View Source
const ERC20MintableABI = "" /* 4706-byte string literal not displayed */

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

View Source
const EthereumBankABI = "" /* 1613-byte string literal not displayed */

EthereumBankABI 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 MinterRoleABI = "" /* 1079-byte string literal not displayed */

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

View Source
const OracleABI = "" /* 3682-byte string literal not displayed */

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

View Source
const RolesABI = "[]"

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

View Source
const SafeMathABI = "[]"

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

View Source
const ValsetABI = "" /* 7167-byte string literal not displayed */

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

Variables

View Source
var BridgeBankBin = "" /* 31528-byte string literal not displayed */

BridgeBankBin is the compiled bytecode used for deploying new contracts.

View Source
var BridgeBankFuncSigs = map[string]string{
	"328470ab": "bridgeTokenCount()",
	"59bf3a33": "bridgeTokenCreated(bytes32)",
	"3f4d5681": "bridgeTokenWhitelist(address)",
	"d84af266": "burnBridgeTokens(bytes,address,uint256)",
	"eb355352": "chain33Bridge()",
	"50b06e4d": "createNewBridgeToken(string)",
	"7ac2e3b4": "getChain33DepositStatus(bytes32)",
	"70e2a8d9": "getToken2address(string)",
	"efea27ab": "hasBridgeTokenCreated(string)",
	"9df2a385": "lock(bytes,address,uint256)",
	"b5a9096e": "lockNonce()",
	"b86247d7": "lockedFunds(address)",
	"cdf68c41": "mintBridgeTokens(bytes,address,address,string,uint256)",
	"570ca735": "operator()",
	"7dc0d1d0": "oracle()",
	"85f0bdc7": "token2address(bytes32)",
	"2f89c91c": "unlock(address,address,string,uint256)",
	"4bdccd26": "viewChain33Deposit(bytes32)",
}

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

View Source
var BridgeRegistryBin = "" /* 1080-byte string literal not displayed */

BridgeRegistryBin is the compiled bytecode used for deploying new contracts.

View Source
var BridgeRegistryFuncSigs = map[string]string{
	"0e41f373": "bridgeBank()",
	"eb355352": "chain33Bridge()",
	"53d953b5": "deployHeight()",
	"7dc0d1d0": "oracle()",
	"7f54af0c": "valset()",
}

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

View Source
var BridgeTokenBin = "" /* 10676-byte string literal not displayed */

BridgeTokenBin is the compiled bytecode used for deploying new contracts.

View Source
var BridgeTokenFuncSigs = map[string]string{
	"983b2d56": "addMinter(address)",
	"dd62ed3e": "allowance(address,address)",
	"095ea7b3": "approve(address,uint256)",
	"70a08231": "balanceOf(address)",
	"42966c68": "burn(uint256)",
	"79cc6790": "burnFrom(address,uint256)",
	"313ce567": "decimals()",
	"a457c2d7": "decreaseAllowance(address,uint256)",
	"39509351": "increaseAllowance(address,uint256)",
	"aa271e1a": "isMinter(address)",
	"40c10f19": "mint(address,uint256)",
	"06fdde03": "name()",
	"98650275": "renounceMinter()",
	"95d89b41": "symbol()",
	"18160ddd": "totalSupply()",
	"a9059cbb": "transfer(address,uint256)",
	"23b872dd": "transferFrom(address,address,uint256)",
}

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

View Source
var Chain33BankBin = "" /* 2308-byte string literal not displayed */

Chain33BankBin is the compiled bytecode used for deploying new contracts.

View Source
var Chain33BankFuncSigs = map[string]string{
	"328470ab": "bridgeTokenCount()",
	"59bf3a33": "bridgeTokenCreated(bytes32)",
	"3f4d5681": "bridgeTokenWhitelist(address)",
	"70e2a8d9": "getToken2address(string)",
	"efea27ab": "hasBridgeTokenCreated(string)",
	"85f0bdc7": "token2address(bytes32)",
}

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

View Source
var Chain33BridgeBin = "" /* 12686-byte string literal not displayed */

Chain33BridgeBin is the compiled bytecode used for deploying new contracts.

View Source
var Chain33BridgeFuncSigs = map[string]string{
	"0e41f373": "bridgeBank()",
	"48164a6f": "completeClaim(bytes32)",
	"69294a4e": "hasBridgeBank()",
	"fb7831f2": "hasOracle()",
	"aa760bc2": "isProphecyClaimActive(bytes32)",
	"6536be5a": "isProphecyClaimValidatorActive(bytes32)",
	"f16e609a": "isValidClaimType(uint8)",
	"570ca735": "operator()",
	"7dc0d1d0": "oracle()",
	"8ea5352d": "prophecyClaimCount()",
	"b47010f6": "prophecyClaims(bytes32)",
	"814c92c3": "setBridgeBank(address)",
	"74c9c3e2": "setNewProphecyClaim(bytes32,uint8,bytes,address,address,address,string,uint256)",
	"7adbf973": "setOracle(address)",
	"7f54af0c": "valset()",
}

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

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

ECDSABin is the compiled bytecode used for deploying new contracts.

View Source
var ERC20Bin = "" /* 4254-byte string literal not displayed */

ERC20Bin is the compiled bytecode used for deploying new contracts.

View Source
var ERC20BurnableBin = "" /* 5526-byte string literal not displayed */

ERC20BurnableBin is the compiled bytecode used for deploying new contracts.

View Source
var ERC20BurnableFuncSigs = map[string]string{
	"dd62ed3e": "allowance(address,address)",
	"095ea7b3": "approve(address,uint256)",
	"70a08231": "balanceOf(address)",
	"42966c68": "burn(uint256)",
	"79cc6790": "burnFrom(address,uint256)",
	"a457c2d7": "decreaseAllowance(address,uint256)",
	"39509351": "increaseAllowance(address,uint256)",
	"18160ddd": "totalSupply()",
	"a9059cbb": "transfer(address,uint256)",
	"23b872dd": "transferFrom(address,address,uint256)",
}

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

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

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

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

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

View Source
var ERC20MintableBin = "" /* 7488-byte string literal not displayed */

ERC20MintableBin is the compiled bytecode used for deploying new contracts.

View Source
var ERC20MintableFuncSigs = map[string]string{
	"983b2d56": "addMinter(address)",
	"dd62ed3e": "allowance(address,address)",
	"095ea7b3": "approve(address,uint256)",
	"70a08231": "balanceOf(address)",
	"a457c2d7": "decreaseAllowance(address,uint256)",
	"39509351": "increaseAllowance(address,uint256)",
	"aa271e1a": "isMinter(address)",
	"40c10f19": "mint(address,uint256)",
	"98650275": "renounceMinter()",
	"18160ddd": "totalSupply()",
	"a9059cbb": "transfer(address,uint256)",
	"23b872dd": "transferFrom(address,address,uint256)",
}

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

View Source
var EthereumBankBin = "" /* 454-byte string literal not displayed */

EthereumBankBin is the compiled bytecode used for deploying new contracts.

View Source
var EthereumBankFuncSigs = map[string]string{
	"b5a9096e": "lockNonce()",
	"b86247d7": "lockedFunds(address)",
}

EthereumBankFuncSigs 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 MinterRoleFuncSigs = map[string]string{
	"983b2d56": "addMinter(address)",
	"aa271e1a": "isMinter(address)",
	"98650275": "renounceMinter()",
}

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

View Source
var OracleBin = "" /* 8882-byte string literal not displayed */

OracleBin is the compiled bytecode used for deploying new contracts.

View Source
var OracleFuncSigs = map[string]string{
	"eb355352": "chain33Bridge()",
	"e83def43": "checkBridgeProphecy(bytes32)",
	"dff11660": "hasMadeClaim(bytes32,address)",
	"6894dc6f": "newOracleClaim(uint8,bytes,address,address,string,uint256,bytes32,bytes)",
	"570ca735": "operator()",
	"8350549f": "oracleClaimValidators(bytes32,uint256)",
	"7f54af0c": "valset()",
}

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

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

RolesBin is the compiled bytecode used for deploying new contracts.

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

SafeMathBin is the compiled bytecode used for deploying new contracts.

View Source
var ValsetBin = "" /* 11192-byte string literal not displayed */

ValsetBin is the compiled bytecode used for deploying new contracts.

View Source
var ValsetFuncSigs = map[string]string{
	"fa210896": "Debug_Packed(bytes32)",
	"61bb63f3": "Debug_ethMessageHash(bytes32)",
	"fc6c1f02": "addValidator(address,uint256)",
	"8d56c37d": "currentValsetVersion()",
	"473691a4": "getValidatorPower(address)",
	"40550a1c": "isActiveValidator(address)",
	"570ca735": "operator()",
	"b872c523": "powers(bytes32)",
	"19045a25": "recover(bytes32,bytes)",
	"b5672be3": "recoverGas(uint256,address)",
	"40a141ff": "removeValidator(address)",
	"db3ad22c": "totalPower()",
	"2e75293b": "updateValidatorPower(address,uint256)",
	"788cf92f": "updateValset(address[],uint256[])",
	"0f43a677": "validatorCount()",
	"9bdafcb3": "validators(bytes32)",
}

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

Functions

This section is empty.

Types

type BridgeBank

type BridgeBank struct {
	BridgeBankCaller     // Read-only binding to the contract
	BridgeBankTransactor // Write-only binding to the contract
	BridgeBankFilterer   // Log filterer for contract events
}

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

func DeployBridgeBank

func DeployBridgeBank(auth *bind.TransactOpts, backend bind.ContractBackend, _operatorAddress common.Address, _oracleAddress common.Address, _chain33BridgeAddress common.Address) (common.Address, *types.Transaction, *BridgeBank, error)

DeployBridgeBank deploys a new Ethereum contract, binding an instance of BridgeBank to it.

func NewBridgeBank

func NewBridgeBank(address common.Address, backend bind.ContractBackend) (*BridgeBank, error)

NewBridgeBank creates a new instance of BridgeBank, bound to a specific deployed contract.

type BridgeBankCaller

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

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

func NewBridgeBankCaller

func NewBridgeBankCaller(address common.Address, caller bind.ContractCaller) (*BridgeBankCaller, error)

NewBridgeBankCaller creates a new read-only instance of BridgeBank, bound to a specific deployed contract.

func (*BridgeBankCaller) BridgeTokenCount

func (_BridgeBank *BridgeBankCaller) BridgeTokenCount(opts *bind.CallOpts) (*big.Int, error)

BridgeTokenCount is a free data retrieval call binding the contract method 0x328470ab.

Solidity: function bridgeTokenCount() view returns(uint256)

func (*BridgeBankCaller) BridgeTokenCreated

func (_BridgeBank *BridgeBankCaller) BridgeTokenCreated(opts *bind.CallOpts, arg0 [32]byte) (bool, error)

BridgeTokenCreated is a free data retrieval call binding the contract method 0x59bf3a33.

Solidity: function bridgeTokenCreated(bytes32 ) view returns(bool)

func (*BridgeBankCaller) BridgeTokenWhitelist

func (_BridgeBank *BridgeBankCaller) BridgeTokenWhitelist(opts *bind.CallOpts, arg0 common.Address) (bool, error)

BridgeTokenWhitelist is a free data retrieval call binding the contract method 0x3f4d5681.

Solidity: function bridgeTokenWhitelist(address ) view returns(bool)

func (*BridgeBankCaller) Chain33Bridge

func (_BridgeBank *BridgeBankCaller) Chain33Bridge(opts *bind.CallOpts) (common.Address, error)

Chain33Bridge is a free data retrieval call binding the contract method 0xeb355352.

Solidity: function chain33Bridge() view returns(address)

func (*BridgeBankCaller) GetChain33DepositStatus

func (_BridgeBank *BridgeBankCaller) GetChain33DepositStatus(opts *bind.CallOpts, _id [32]byte) (bool, error)

GetChain33DepositStatus is a free data retrieval call binding the contract method 0x7ac2e3b4.

Solidity: function getChain33DepositStatus(bytes32 _id) view returns(bool)

func (*BridgeBankCaller) GetToken2address

func (_BridgeBank *BridgeBankCaller) GetToken2address(opts *bind.CallOpts, _symbol string) (common.Address, error)

GetToken2address is a free data retrieval call binding the contract method 0x70e2a8d9.

Solidity: function getToken2address(string _symbol) view returns(address)

func (*BridgeBankCaller) HasBridgeTokenCreated

func (_BridgeBank *BridgeBankCaller) HasBridgeTokenCreated(opts *bind.CallOpts, _symbol string) (bool, error)

HasBridgeTokenCreated is a free data retrieval call binding the contract method 0xefea27ab.

Solidity: function hasBridgeTokenCreated(string _symbol) view returns(bool)

func (*BridgeBankCaller) LockNonce

func (_BridgeBank *BridgeBankCaller) LockNonce(opts *bind.CallOpts) (*big.Int, error)

LockNonce is a free data retrieval call binding the contract method 0xb5a9096e.

Solidity: function lockNonce() view returns(uint256)

func (*BridgeBankCaller) LockedFunds

func (_BridgeBank *BridgeBankCaller) LockedFunds(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

LockedFunds is a free data retrieval call binding the contract method 0xb86247d7.

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

func (*BridgeBankCaller) Operator

func (_BridgeBank *BridgeBankCaller) Operator(opts *bind.CallOpts) (common.Address, error)

Operator is a free data retrieval call binding the contract method 0x570ca735.

Solidity: function operator() view returns(address)

func (*BridgeBankCaller) Oracle

func (_BridgeBank *BridgeBankCaller) Oracle(opts *bind.CallOpts) (common.Address, error)

Oracle is a free data retrieval call binding the contract method 0x7dc0d1d0.

Solidity: function oracle() view returns(address)

func (*BridgeBankCaller) Token2address

func (_BridgeBank *BridgeBankCaller) Token2address(opts *bind.CallOpts, arg0 [32]byte) (common.Address, error)

Token2address is a free data retrieval call binding the contract method 0x85f0bdc7.

Solidity: function token2address(bytes32 ) view returns(address)

func (*BridgeBankCaller) ViewChain33Deposit

func (_BridgeBank *BridgeBankCaller) ViewChain33Deposit(opts *bind.CallOpts, _id [32]byte) ([]byte, common.Address, common.Address, *big.Int, error)

ViewChain33Deposit is a free data retrieval call binding the contract method 0x4bdccd26.

Solidity: function viewChain33Deposit(bytes32 _id) view returns(bytes, address, address, uint256)

type BridgeBankCallerRaw

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

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

func (*BridgeBankCallerRaw) Call

func (_BridgeBank *BridgeBankCallerRaw) 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 BridgeBankCallerSession

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

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

func (*BridgeBankCallerSession) BridgeTokenCount

func (_BridgeBank *BridgeBankCallerSession) BridgeTokenCount() (*big.Int, error)

BridgeTokenCount is a free data retrieval call binding the contract method 0x328470ab.

Solidity: function bridgeTokenCount() view returns(uint256)

func (*BridgeBankCallerSession) BridgeTokenCreated

func (_BridgeBank *BridgeBankCallerSession) BridgeTokenCreated(arg0 [32]byte) (bool, error)

BridgeTokenCreated is a free data retrieval call binding the contract method 0x59bf3a33.

Solidity: function bridgeTokenCreated(bytes32 ) view returns(bool)

func (*BridgeBankCallerSession) BridgeTokenWhitelist

func (_BridgeBank *BridgeBankCallerSession) BridgeTokenWhitelist(arg0 common.Address) (bool, error)

BridgeTokenWhitelist is a free data retrieval call binding the contract method 0x3f4d5681.

Solidity: function bridgeTokenWhitelist(address ) view returns(bool)

func (*BridgeBankCallerSession) Chain33Bridge

func (_BridgeBank *BridgeBankCallerSession) Chain33Bridge() (common.Address, error)

Chain33Bridge is a free data retrieval call binding the contract method 0xeb355352.

Solidity: function chain33Bridge() view returns(address)

func (*BridgeBankCallerSession) GetChain33DepositStatus

func (_BridgeBank *BridgeBankCallerSession) GetChain33DepositStatus(_id [32]byte) (bool, error)

GetChain33DepositStatus is a free data retrieval call binding the contract method 0x7ac2e3b4.

Solidity: function getChain33DepositStatus(bytes32 _id) view returns(bool)

func (*BridgeBankCallerSession) GetToken2address

func (_BridgeBank *BridgeBankCallerSession) GetToken2address(_symbol string) (common.Address, error)

GetToken2address is a free data retrieval call binding the contract method 0x70e2a8d9.

Solidity: function getToken2address(string _symbol) view returns(address)

func (*BridgeBankCallerSession) HasBridgeTokenCreated

func (_BridgeBank *BridgeBankCallerSession) HasBridgeTokenCreated(_symbol string) (bool, error)

HasBridgeTokenCreated is a free data retrieval call binding the contract method 0xefea27ab.

Solidity: function hasBridgeTokenCreated(string _symbol) view returns(bool)

func (*BridgeBankCallerSession) LockNonce

func (_BridgeBank *BridgeBankCallerSession) LockNonce() (*big.Int, error)

LockNonce is a free data retrieval call binding the contract method 0xb5a9096e.

Solidity: function lockNonce() view returns(uint256)

func (*BridgeBankCallerSession) LockedFunds

func (_BridgeBank *BridgeBankCallerSession) LockedFunds(arg0 common.Address) (*big.Int, error)

LockedFunds is a free data retrieval call binding the contract method 0xb86247d7.

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

func (*BridgeBankCallerSession) Operator

func (_BridgeBank *BridgeBankCallerSession) Operator() (common.Address, error)

Operator is a free data retrieval call binding the contract method 0x570ca735.

Solidity: function operator() view returns(address)

func (*BridgeBankCallerSession) Oracle

func (_BridgeBank *BridgeBankCallerSession) Oracle() (common.Address, error)

Oracle is a free data retrieval call binding the contract method 0x7dc0d1d0.

Solidity: function oracle() view returns(address)

func (*BridgeBankCallerSession) Token2address

func (_BridgeBank *BridgeBankCallerSession) Token2address(arg0 [32]byte) (common.Address, error)

Token2address is a free data retrieval call binding the contract method 0x85f0bdc7.

Solidity: function token2address(bytes32 ) view returns(address)

func (*BridgeBankCallerSession) ViewChain33Deposit

func (_BridgeBank *BridgeBankCallerSession) ViewChain33Deposit(_id [32]byte) ([]byte, common.Address, common.Address, *big.Int, error)

ViewChain33Deposit is a free data retrieval call binding the contract method 0x4bdccd26.

Solidity: function viewChain33Deposit(bytes32 _id) view returns(bytes, address, address, uint256)

type BridgeBankFilterer

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

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

func NewBridgeBankFilterer

func NewBridgeBankFilterer(address common.Address, filterer bind.ContractFilterer) (*BridgeBankFilterer, error)

NewBridgeBankFilterer creates a new log filterer instance of BridgeBank, bound to a specific deployed contract.

func (*BridgeBankFilterer) FilterLogBridgeTokenMint

func (_BridgeBank *BridgeBankFilterer) FilterLogBridgeTokenMint(opts *bind.FilterOpts) (*BridgeBankLogBridgeTokenMintIterator, error)

FilterLogBridgeTokenMint is a free log retrieval operation binding the contract event 0x262f97360779b7c2bb05fd24ef49f22d51435f78d3abd1ab35c323b22064cd4d.

Solidity: event LogBridgeTokenMint(address _token, string _symbol, uint256 _amount, address _beneficiary)

func (*BridgeBankFilterer) FilterLogChain33TokenBurn

func (_BridgeBank *BridgeBankFilterer) FilterLogChain33TokenBurn(opts *bind.FilterOpts) (*BridgeBankLogChain33TokenBurnIterator, error)

FilterLogChain33TokenBurn is a free log retrieval operation binding the contract event 0xf7e78bea01efd9af9e755494a4eeba0f075264743fbd104d2742b141927695d2.

Solidity: event LogChain33TokenBurn(address _token, string _symbol, uint256 _amount, address _ownerFrom, bytes _chain33Receiver, uint256 _nonce)

func (*BridgeBankFilterer) FilterLogLock

func (_BridgeBank *BridgeBankFilterer) FilterLogLock(opts *bind.FilterOpts) (*BridgeBankLogLockIterator, error)

FilterLogLock is a free log retrieval operation binding the contract event 0x374449c83a37309524754bbdfc5b8306d3694b5d14609b8fbb1b50cc5c0319a7.

Solidity: event LogLock(address _from, bytes _to, address _token, string _symbol, uint256 _value, uint256 _nonce)

func (*BridgeBankFilterer) FilterLogNewBridgeToken

func (_BridgeBank *BridgeBankFilterer) FilterLogNewBridgeToken(opts *bind.FilterOpts) (*BridgeBankLogNewBridgeTokenIterator, error)

FilterLogNewBridgeToken is a free log retrieval operation binding the contract event 0x0ec4ab372af15f8db6003eb14d91402a44b20dff79fbac33b4ee0df68fafe9c0.

Solidity: event LogNewBridgeToken(address _token, string _symbol)

func (*BridgeBankFilterer) FilterLogUnlock

func (_BridgeBank *BridgeBankFilterer) FilterLogUnlock(opts *bind.FilterOpts) (*BridgeBankLogUnlockIterator, error)

FilterLogUnlock is a free log retrieval operation binding the contract event 0x802cd873de701272ec903860b690986bd460b5bcd57e30ac1fdfdeece10528ac.

Solidity: event LogUnlock(address _to, address _token, string _symbol, uint256 _value)

func (*BridgeBankFilterer) ParseLogBridgeTokenMint

func (_BridgeBank *BridgeBankFilterer) ParseLogBridgeTokenMint(log types.Log) (*BridgeBankLogBridgeTokenMint, error)

ParseLogBridgeTokenMint is a log parse operation binding the contract event 0x262f97360779b7c2bb05fd24ef49f22d51435f78d3abd1ab35c323b22064cd4d.

Solidity: event LogBridgeTokenMint(address _token, string _symbol, uint256 _amount, address _beneficiary)

func (*BridgeBankFilterer) ParseLogChain33TokenBurn

func (_BridgeBank *BridgeBankFilterer) ParseLogChain33TokenBurn(log types.Log) (*BridgeBankLogChain33TokenBurn, error)

ParseLogChain33TokenBurn is a log parse operation binding the contract event 0xf7e78bea01efd9af9e755494a4eeba0f075264743fbd104d2742b141927695d2.

Solidity: event LogChain33TokenBurn(address _token, string _symbol, uint256 _amount, address _ownerFrom, bytes _chain33Receiver, uint256 _nonce)

func (*BridgeBankFilterer) ParseLogLock

func (_BridgeBank *BridgeBankFilterer) ParseLogLock(log types.Log) (*BridgeBankLogLock, error)

ParseLogLock is a log parse operation binding the contract event 0x374449c83a37309524754bbdfc5b8306d3694b5d14609b8fbb1b50cc5c0319a7.

Solidity: event LogLock(address _from, bytes _to, address _token, string _symbol, uint256 _value, uint256 _nonce)

func (*BridgeBankFilterer) ParseLogNewBridgeToken

func (_BridgeBank *BridgeBankFilterer) ParseLogNewBridgeToken(log types.Log) (*BridgeBankLogNewBridgeToken, error)

ParseLogNewBridgeToken is a log parse operation binding the contract event 0x0ec4ab372af15f8db6003eb14d91402a44b20dff79fbac33b4ee0df68fafe9c0.

Solidity: event LogNewBridgeToken(address _token, string _symbol)

func (*BridgeBankFilterer) ParseLogUnlock

func (_BridgeBank *BridgeBankFilterer) ParseLogUnlock(log types.Log) (*BridgeBankLogUnlock, error)

ParseLogUnlock is a log parse operation binding the contract event 0x802cd873de701272ec903860b690986bd460b5bcd57e30ac1fdfdeece10528ac.

Solidity: event LogUnlock(address _to, address _token, string _symbol, uint256 _value)

func (*BridgeBankFilterer) WatchLogBridgeTokenMint

func (_BridgeBank *BridgeBankFilterer) WatchLogBridgeTokenMint(opts *bind.WatchOpts, sink chan<- *BridgeBankLogBridgeTokenMint) (event.Subscription, error)

WatchLogBridgeTokenMint is a free log subscription operation binding the contract event 0x262f97360779b7c2bb05fd24ef49f22d51435f78d3abd1ab35c323b22064cd4d.

Solidity: event LogBridgeTokenMint(address _token, string _symbol, uint256 _amount, address _beneficiary)

func (*BridgeBankFilterer) WatchLogChain33TokenBurn

func (_BridgeBank *BridgeBankFilterer) WatchLogChain33TokenBurn(opts *bind.WatchOpts, sink chan<- *BridgeBankLogChain33TokenBurn) (event.Subscription, error)

WatchLogChain33TokenBurn is a free log subscription operation binding the contract event 0xf7e78bea01efd9af9e755494a4eeba0f075264743fbd104d2742b141927695d2.

Solidity: event LogChain33TokenBurn(address _token, string _symbol, uint256 _amount, address _ownerFrom, bytes _chain33Receiver, uint256 _nonce)

func (*BridgeBankFilterer) WatchLogLock

func (_BridgeBank *BridgeBankFilterer) WatchLogLock(opts *bind.WatchOpts, sink chan<- *BridgeBankLogLock) (event.Subscription, error)

WatchLogLock is a free log subscription operation binding the contract event 0x374449c83a37309524754bbdfc5b8306d3694b5d14609b8fbb1b50cc5c0319a7.

Solidity: event LogLock(address _from, bytes _to, address _token, string _symbol, uint256 _value, uint256 _nonce)

func (*BridgeBankFilterer) WatchLogNewBridgeToken

func (_BridgeBank *BridgeBankFilterer) WatchLogNewBridgeToken(opts *bind.WatchOpts, sink chan<- *BridgeBankLogNewBridgeToken) (event.Subscription, error)

WatchLogNewBridgeToken is a free log subscription operation binding the contract event 0x0ec4ab372af15f8db6003eb14d91402a44b20dff79fbac33b4ee0df68fafe9c0.

Solidity: event LogNewBridgeToken(address _token, string _symbol)

func (*BridgeBankFilterer) WatchLogUnlock

func (_BridgeBank *BridgeBankFilterer) WatchLogUnlock(opts *bind.WatchOpts, sink chan<- *BridgeBankLogUnlock) (event.Subscription, error)

WatchLogUnlock is a free log subscription operation binding the contract event 0x802cd873de701272ec903860b690986bd460b5bcd57e30ac1fdfdeece10528ac.

Solidity: event LogUnlock(address _to, address _token, string _symbol, uint256 _value)

type BridgeBankLogBridgeTokenMint

type BridgeBankLogBridgeTokenMint struct {
	Token       common.Address
	Symbol      string
	Amount      *big.Int
	Beneficiary common.Address
	Raw         types.Log // Blockchain specific contextual infos
}

BridgeBankLogBridgeTokenMint represents a LogBridgeTokenMint event raised by the BridgeBank contract.

type BridgeBankLogBridgeTokenMintIterator

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

BridgeBankLogBridgeTokenMintIterator is returned from FilterLogBridgeTokenMint and is used to iterate over the raw logs and unpacked data for LogBridgeTokenMint events raised by the BridgeBank contract.

func (*BridgeBankLogBridgeTokenMintIterator) Close

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

func (*BridgeBankLogBridgeTokenMintIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgeBankLogBridgeTokenMintIterator) 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 BridgeBankLogChain33TokenBurn

type BridgeBankLogChain33TokenBurn struct {
	Token           common.Address
	Symbol          string
	Amount          *big.Int
	OwnerFrom       common.Address
	Chain33Receiver []byte
	Nonce           *big.Int
	Raw             types.Log // Blockchain specific contextual infos
}

BridgeBankLogChain33TokenBurn represents a LogChain33TokenBurn event raised by the BridgeBank contract.

type BridgeBankLogChain33TokenBurnIterator

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

BridgeBankLogChain33TokenBurnIterator is returned from FilterLogChain33TokenBurn and is used to iterate over the raw logs and unpacked data for LogChain33TokenBurn events raised by the BridgeBank contract.

func (*BridgeBankLogChain33TokenBurnIterator) Close

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

func (*BridgeBankLogChain33TokenBurnIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgeBankLogChain33TokenBurnIterator) 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 BridgeBankLogLock

type BridgeBankLogLock struct {
	From   common.Address
	To     []byte
	Token  common.Address
	Symbol string
	Value  *big.Int
	Nonce  *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

BridgeBankLogLock represents a LogLock event raised by the BridgeBank contract.

type BridgeBankLogLockIterator

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

BridgeBankLogLockIterator is returned from FilterLogLock and is used to iterate over the raw logs and unpacked data for LogLock events raised by the BridgeBank contract.

func (*BridgeBankLogLockIterator) Close

func (it *BridgeBankLogLockIterator) Close() error

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

func (*BridgeBankLogLockIterator) Error

func (it *BridgeBankLogLockIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgeBankLogLockIterator) Next

func (it *BridgeBankLogLockIterator) 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 BridgeBankLogNewBridgeToken

type BridgeBankLogNewBridgeToken struct {
	Token  common.Address
	Symbol string
	Raw    types.Log // Blockchain specific contextual infos
}

BridgeBankLogNewBridgeToken represents a LogNewBridgeToken event raised by the BridgeBank contract.

type BridgeBankLogNewBridgeTokenIterator

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

BridgeBankLogNewBridgeTokenIterator is returned from FilterLogNewBridgeToken and is used to iterate over the raw logs and unpacked data for LogNewBridgeToken events raised by the BridgeBank contract.

func (*BridgeBankLogNewBridgeTokenIterator) Close

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

func (*BridgeBankLogNewBridgeTokenIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgeBankLogNewBridgeTokenIterator) 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 BridgeBankLogUnlock

type BridgeBankLogUnlock struct {
	To     common.Address
	Token  common.Address
	Symbol string
	Value  *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

BridgeBankLogUnlock represents a LogUnlock event raised by the BridgeBank contract.

type BridgeBankLogUnlockIterator

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

BridgeBankLogUnlockIterator is returned from FilterLogUnlock and is used to iterate over the raw logs and unpacked data for LogUnlock events raised by the BridgeBank contract.

func (*BridgeBankLogUnlockIterator) Close

func (it *BridgeBankLogUnlockIterator) Close() error

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

func (*BridgeBankLogUnlockIterator) Error

func (it *BridgeBankLogUnlockIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgeBankLogUnlockIterator) Next

func (it *BridgeBankLogUnlockIterator) 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 BridgeBankRaw

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

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

func (*BridgeBankRaw) Call

func (_BridgeBank *BridgeBankRaw) 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 (*BridgeBankRaw) Transact

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

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

func (*BridgeBankRaw) Transfer

func (_BridgeBank *BridgeBankRaw) 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 BridgeBankSession

type BridgeBankSession struct {
	Contract     *BridgeBank       // 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
}

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

func (*BridgeBankSession) BridgeTokenCount

func (_BridgeBank *BridgeBankSession) BridgeTokenCount() (*big.Int, error)

BridgeTokenCount is a free data retrieval call binding the contract method 0x328470ab.

Solidity: function bridgeTokenCount() view returns(uint256)

func (*BridgeBankSession) BridgeTokenCreated

func (_BridgeBank *BridgeBankSession) BridgeTokenCreated(arg0 [32]byte) (bool, error)

BridgeTokenCreated is a free data retrieval call binding the contract method 0x59bf3a33.

Solidity: function bridgeTokenCreated(bytes32 ) view returns(bool)

func (*BridgeBankSession) BridgeTokenWhitelist

func (_BridgeBank *BridgeBankSession) BridgeTokenWhitelist(arg0 common.Address) (bool, error)

BridgeTokenWhitelist is a free data retrieval call binding the contract method 0x3f4d5681.

Solidity: function bridgeTokenWhitelist(address ) view returns(bool)

func (*BridgeBankSession) BurnBridgeTokens

func (_BridgeBank *BridgeBankSession) BurnBridgeTokens(_chain33Receiver []byte, _chain33TokenAddress common.Address, _amount *big.Int) (*types.Transaction, error)

BurnBridgeTokens is a paid mutator transaction binding the contract method 0xd84af266.

Solidity: function burnBridgeTokens(bytes _chain33Receiver, address _chain33TokenAddress, uint256 _amount) returns()

func (*BridgeBankSession) Chain33Bridge

func (_BridgeBank *BridgeBankSession) Chain33Bridge() (common.Address, error)

Chain33Bridge is a free data retrieval call binding the contract method 0xeb355352.

Solidity: function chain33Bridge() view returns(address)

func (*BridgeBankSession) CreateNewBridgeToken

func (_BridgeBank *BridgeBankSession) CreateNewBridgeToken(_symbol string) (*types.Transaction, error)

CreateNewBridgeToken is a paid mutator transaction binding the contract method 0x50b06e4d.

Solidity: function createNewBridgeToken(string _symbol) returns(address)

func (*BridgeBankSession) Fallback added in v1.65.3

func (_BridgeBank *BridgeBankSession) Fallback(calldata []byte) (*types.Transaction, error)

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

Solidity: fallback() payable returns()

func (*BridgeBankSession) GetChain33DepositStatus

func (_BridgeBank *BridgeBankSession) GetChain33DepositStatus(_id [32]byte) (bool, error)

GetChain33DepositStatus is a free data retrieval call binding the contract method 0x7ac2e3b4.

Solidity: function getChain33DepositStatus(bytes32 _id) view returns(bool)

func (*BridgeBankSession) GetToken2address

func (_BridgeBank *BridgeBankSession) GetToken2address(_symbol string) (common.Address, error)

GetToken2address is a free data retrieval call binding the contract method 0x70e2a8d9.

Solidity: function getToken2address(string _symbol) view returns(address)

func (*BridgeBankSession) HasBridgeTokenCreated

func (_BridgeBank *BridgeBankSession) HasBridgeTokenCreated(_symbol string) (bool, error)

HasBridgeTokenCreated is a free data retrieval call binding the contract method 0xefea27ab.

Solidity: function hasBridgeTokenCreated(string _symbol) view returns(bool)

func (*BridgeBankSession) Lock

func (_BridgeBank *BridgeBankSession) Lock(_recipient []byte, _token common.Address, _amount *big.Int) (*types.Transaction, error)

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

Solidity: function lock(bytes _recipient, address _token, uint256 _amount) payable returns()

func (*BridgeBankSession) LockNonce

func (_BridgeBank *BridgeBankSession) LockNonce() (*big.Int, error)

LockNonce is a free data retrieval call binding the contract method 0xb5a9096e.

Solidity: function lockNonce() view returns(uint256)

func (*BridgeBankSession) LockedFunds

func (_BridgeBank *BridgeBankSession) LockedFunds(arg0 common.Address) (*big.Int, error)

LockedFunds is a free data retrieval call binding the contract method 0xb86247d7.

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

func (*BridgeBankSession) MintBridgeTokens

func (_BridgeBank *BridgeBankSession) MintBridgeTokens(_chain33Sender []byte, _intendedRecipient common.Address, _bridgeTokenAddress common.Address, _symbol string, _amount *big.Int) (*types.Transaction, error)

MintBridgeTokens is a paid mutator transaction binding the contract method 0xcdf68c41.

Solidity: function mintBridgeTokens(bytes _chain33Sender, address _intendedRecipient, address _bridgeTokenAddress, string _symbol, uint256 _amount) returns()

func (*BridgeBankSession) Operator

func (_BridgeBank *BridgeBankSession) Operator() (common.Address, error)

Operator is a free data retrieval call binding the contract method 0x570ca735.

Solidity: function operator() view returns(address)

func (*BridgeBankSession) Oracle

func (_BridgeBank *BridgeBankSession) Oracle() (common.Address, error)

Oracle is a free data retrieval call binding the contract method 0x7dc0d1d0.

Solidity: function oracle() view returns(address)

func (*BridgeBankSession) Token2address

func (_BridgeBank *BridgeBankSession) Token2address(arg0 [32]byte) (common.Address, error)

Token2address is a free data retrieval call binding the contract method 0x85f0bdc7.

Solidity: function token2address(bytes32 ) view returns(address)

func (*BridgeBankSession) Unlock

func (_BridgeBank *BridgeBankSession) Unlock(_recipient common.Address, _token common.Address, _symbol string, _amount *big.Int) (*types.Transaction, error)

Unlock is a paid mutator transaction binding the contract method 0x2f89c91c.

Solidity: function unlock(address _recipient, address _token, string _symbol, uint256 _amount) returns()

func (*BridgeBankSession) ViewChain33Deposit

func (_BridgeBank *BridgeBankSession) ViewChain33Deposit(_id [32]byte) ([]byte, common.Address, common.Address, *big.Int, error)

ViewChain33Deposit is a free data retrieval call binding the contract method 0x4bdccd26.

Solidity: function viewChain33Deposit(bytes32 _id) view returns(bytes, address, address, uint256)

type BridgeBankTransactor

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

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

func NewBridgeBankTransactor

func NewBridgeBankTransactor(address common.Address, transactor bind.ContractTransactor) (*BridgeBankTransactor, error)

NewBridgeBankTransactor creates a new write-only instance of BridgeBank, bound to a specific deployed contract.

func (*BridgeBankTransactor) BurnBridgeTokens

func (_BridgeBank *BridgeBankTransactor) BurnBridgeTokens(opts *bind.TransactOpts, _chain33Receiver []byte, _chain33TokenAddress common.Address, _amount *big.Int) (*types.Transaction, error)

BurnBridgeTokens is a paid mutator transaction binding the contract method 0xd84af266.

Solidity: function burnBridgeTokens(bytes _chain33Receiver, address _chain33TokenAddress, uint256 _amount) returns()

func (*BridgeBankTransactor) CreateNewBridgeToken

func (_BridgeBank *BridgeBankTransactor) CreateNewBridgeToken(opts *bind.TransactOpts, _symbol string) (*types.Transaction, error)

CreateNewBridgeToken is a paid mutator transaction binding the contract method 0x50b06e4d.

Solidity: function createNewBridgeToken(string _symbol) returns(address)

func (*BridgeBankTransactor) Fallback added in v1.65.3

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

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

Solidity: fallback() payable returns()

func (*BridgeBankTransactor) Lock

func (_BridgeBank *BridgeBankTransactor) Lock(opts *bind.TransactOpts, _recipient []byte, _token common.Address, _amount *big.Int) (*types.Transaction, error)

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

Solidity: function lock(bytes _recipient, address _token, uint256 _amount) payable returns()

func (*BridgeBankTransactor) MintBridgeTokens

func (_BridgeBank *BridgeBankTransactor) MintBridgeTokens(opts *bind.TransactOpts, _chain33Sender []byte, _intendedRecipient common.Address, _bridgeTokenAddress common.Address, _symbol string, _amount *big.Int) (*types.Transaction, error)

MintBridgeTokens is a paid mutator transaction binding the contract method 0xcdf68c41.

Solidity: function mintBridgeTokens(bytes _chain33Sender, address _intendedRecipient, address _bridgeTokenAddress, string _symbol, uint256 _amount) returns()

func (*BridgeBankTransactor) Unlock

func (_BridgeBank *BridgeBankTransactor) Unlock(opts *bind.TransactOpts, _recipient common.Address, _token common.Address, _symbol string, _amount *big.Int) (*types.Transaction, error)

Unlock is a paid mutator transaction binding the contract method 0x2f89c91c.

Solidity: function unlock(address _recipient, address _token, string _symbol, uint256 _amount) returns()

type BridgeBankTransactorRaw

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

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

func (*BridgeBankTransactorRaw) Transact

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

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

func (*BridgeBankTransactorRaw) Transfer

func (_BridgeBank *BridgeBankTransactorRaw) 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 BridgeBankTransactorSession

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

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

func (*BridgeBankTransactorSession) BurnBridgeTokens

func (_BridgeBank *BridgeBankTransactorSession) BurnBridgeTokens(_chain33Receiver []byte, _chain33TokenAddress common.Address, _amount *big.Int) (*types.Transaction, error)

BurnBridgeTokens is a paid mutator transaction binding the contract method 0xd84af266.

Solidity: function burnBridgeTokens(bytes _chain33Receiver, address _chain33TokenAddress, uint256 _amount) returns()

func (*BridgeBankTransactorSession) CreateNewBridgeToken

func (_BridgeBank *BridgeBankTransactorSession) CreateNewBridgeToken(_symbol string) (*types.Transaction, error)

CreateNewBridgeToken is a paid mutator transaction binding the contract method 0x50b06e4d.

Solidity: function createNewBridgeToken(string _symbol) returns(address)

func (*BridgeBankTransactorSession) Fallback added in v1.65.3

func (_BridgeBank *BridgeBankTransactorSession) Fallback(calldata []byte) (*types.Transaction, error)

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

Solidity: fallback() payable returns()

func (*BridgeBankTransactorSession) Lock

func (_BridgeBank *BridgeBankTransactorSession) Lock(_recipient []byte, _token common.Address, _amount *big.Int) (*types.Transaction, error)

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

Solidity: function lock(bytes _recipient, address _token, uint256 _amount) payable returns()

func (*BridgeBankTransactorSession) MintBridgeTokens

func (_BridgeBank *BridgeBankTransactorSession) MintBridgeTokens(_chain33Sender []byte, _intendedRecipient common.Address, _bridgeTokenAddress common.Address, _symbol string, _amount *big.Int) (*types.Transaction, error)

MintBridgeTokens is a paid mutator transaction binding the contract method 0xcdf68c41.

Solidity: function mintBridgeTokens(bytes _chain33Sender, address _intendedRecipient, address _bridgeTokenAddress, string _symbol, uint256 _amount) returns()

func (*BridgeBankTransactorSession) Unlock

func (_BridgeBank *BridgeBankTransactorSession) Unlock(_recipient common.Address, _token common.Address, _symbol string, _amount *big.Int) (*types.Transaction, error)

Unlock is a paid mutator transaction binding the contract method 0x2f89c91c.

Solidity: function unlock(address _recipient, address _token, string _symbol, uint256 _amount) returns()

type BridgeRegistry

type BridgeRegistry struct {
	BridgeRegistryCaller     // Read-only binding to the contract
	BridgeRegistryTransactor // Write-only binding to the contract
	BridgeRegistryFilterer   // Log filterer for contract events
}

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

func DeployBridgeRegistry

func DeployBridgeRegistry(auth *bind.TransactOpts, backend bind.ContractBackend, _chain33Bridge common.Address, _bridgeBank common.Address, _oracle common.Address, _valset common.Address) (common.Address, *types.Transaction, *BridgeRegistry, error)

DeployBridgeRegistry deploys a new Ethereum contract, binding an instance of BridgeRegistry to it.

func NewBridgeRegistry

func NewBridgeRegistry(address common.Address, backend bind.ContractBackend) (*BridgeRegistry, error)

NewBridgeRegistry creates a new instance of BridgeRegistry, bound to a specific deployed contract.

type BridgeRegistryCaller

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

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

func NewBridgeRegistryCaller

func NewBridgeRegistryCaller(address common.Address, caller bind.ContractCaller) (*BridgeRegistryCaller, error)

NewBridgeRegistryCaller creates a new read-only instance of BridgeRegistry, bound to a specific deployed contract.

func (*BridgeRegistryCaller) BridgeBank

func (_BridgeRegistry *BridgeRegistryCaller) BridgeBank(opts *bind.CallOpts) (common.Address, error)

BridgeBank is a free data retrieval call binding the contract method 0x0e41f373.

Solidity: function bridgeBank() view returns(address)

func (*BridgeRegistryCaller) Chain33Bridge

func (_BridgeRegistry *BridgeRegistryCaller) Chain33Bridge(opts *bind.CallOpts) (common.Address, error)

Chain33Bridge is a free data retrieval call binding the contract method 0xeb355352.

Solidity: function chain33Bridge() view returns(address)

func (*BridgeRegistryCaller) DeployHeight

func (_BridgeRegistry *BridgeRegistryCaller) DeployHeight(opts *bind.CallOpts) (*big.Int, error)

DeployHeight is a free data retrieval call binding the contract method 0x53d953b5.

Solidity: function deployHeight() view returns(uint256)

func (*BridgeRegistryCaller) Oracle

func (_BridgeRegistry *BridgeRegistryCaller) Oracle(opts *bind.CallOpts) (common.Address, error)

Oracle is a free data retrieval call binding the contract method 0x7dc0d1d0.

Solidity: function oracle() view returns(address)

func (*BridgeRegistryCaller) Valset

func (_BridgeRegistry *BridgeRegistryCaller) Valset(opts *bind.CallOpts) (common.Address, error)

Valset is a free data retrieval call binding the contract method 0x7f54af0c.

Solidity: function valset() view returns(address)

type BridgeRegistryCallerRaw

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

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

func (*BridgeRegistryCallerRaw) Call

func (_BridgeRegistry *BridgeRegistryCallerRaw) 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 BridgeRegistryCallerSession

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

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

func (*BridgeRegistryCallerSession) BridgeBank

func (_BridgeRegistry *BridgeRegistryCallerSession) BridgeBank() (common.Address, error)

BridgeBank is a free data retrieval call binding the contract method 0x0e41f373.

Solidity: function bridgeBank() view returns(address)

func (*BridgeRegistryCallerSession) Chain33Bridge

func (_BridgeRegistry *BridgeRegistryCallerSession) Chain33Bridge() (common.Address, error)

Chain33Bridge is a free data retrieval call binding the contract method 0xeb355352.

Solidity: function chain33Bridge() view returns(address)

func (*BridgeRegistryCallerSession) DeployHeight

func (_BridgeRegistry *BridgeRegistryCallerSession) DeployHeight() (*big.Int, error)

DeployHeight is a free data retrieval call binding the contract method 0x53d953b5.

Solidity: function deployHeight() view returns(uint256)

func (*BridgeRegistryCallerSession) Oracle

func (_BridgeRegistry *BridgeRegistryCallerSession) Oracle() (common.Address, error)

Oracle is a free data retrieval call binding the contract method 0x7dc0d1d0.

Solidity: function oracle() view returns(address)

func (*BridgeRegistryCallerSession) Valset

func (_BridgeRegistry *BridgeRegistryCallerSession) Valset() (common.Address, error)

Valset is a free data retrieval call binding the contract method 0x7f54af0c.

Solidity: function valset() view returns(address)

type BridgeRegistryFilterer

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

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

func NewBridgeRegistryFilterer

func NewBridgeRegistryFilterer(address common.Address, filterer bind.ContractFilterer) (*BridgeRegistryFilterer, error)

NewBridgeRegistryFilterer creates a new log filterer instance of BridgeRegistry, bound to a specific deployed contract.

func (*BridgeRegistryFilterer) FilterLogContractsRegistered

func (_BridgeRegistry *BridgeRegistryFilterer) FilterLogContractsRegistered(opts *bind.FilterOpts) (*BridgeRegistryLogContractsRegisteredIterator, error)

FilterLogContractsRegistered is a free log retrieval operation binding the contract event 0x039b733f31259b106f1d278c726870d5b28c7db22957d63df8dbaa70bd3a032a.

Solidity: event LogContractsRegistered(address _chain33Bridge, address _bridgeBank, address _oracle, address _valset)

func (*BridgeRegistryFilterer) ParseLogContractsRegistered

func (_BridgeRegistry *BridgeRegistryFilterer) ParseLogContractsRegistered(log types.Log) (*BridgeRegistryLogContractsRegistered, error)

ParseLogContractsRegistered is a log parse operation binding the contract event 0x039b733f31259b106f1d278c726870d5b28c7db22957d63df8dbaa70bd3a032a.

Solidity: event LogContractsRegistered(address _chain33Bridge, address _bridgeBank, address _oracle, address _valset)

func (*BridgeRegistryFilterer) WatchLogContractsRegistered

func (_BridgeRegistry *BridgeRegistryFilterer) WatchLogContractsRegistered(opts *bind.WatchOpts, sink chan<- *BridgeRegistryLogContractsRegistered) (event.Subscription, error)

WatchLogContractsRegistered is a free log subscription operation binding the contract event 0x039b733f31259b106f1d278c726870d5b28c7db22957d63df8dbaa70bd3a032a.

Solidity: event LogContractsRegistered(address _chain33Bridge, address _bridgeBank, address _oracle, address _valset)

type BridgeRegistryLogContractsRegistered

type BridgeRegistryLogContractsRegistered struct {
	Chain33Bridge common.Address
	BridgeBank    common.Address
	Oracle        common.Address
	Valset        common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

BridgeRegistryLogContractsRegistered represents a LogContractsRegistered event raised by the BridgeRegistry contract.

type BridgeRegistryLogContractsRegisteredIterator

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

BridgeRegistryLogContractsRegisteredIterator is returned from FilterLogContractsRegistered and is used to iterate over the raw logs and unpacked data for LogContractsRegistered events raised by the BridgeRegistry contract.

func (*BridgeRegistryLogContractsRegisteredIterator) Close

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

func (*BridgeRegistryLogContractsRegisteredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgeRegistryLogContractsRegisteredIterator) 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 BridgeRegistryRaw

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

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

func (*BridgeRegistryRaw) Call

func (_BridgeRegistry *BridgeRegistryRaw) 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 (*BridgeRegistryRaw) Transact

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

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

func (*BridgeRegistryRaw) Transfer

func (_BridgeRegistry *BridgeRegistryRaw) 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 BridgeRegistrySession

type BridgeRegistrySession struct {
	Contract     *BridgeRegistry   // 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
}

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

func (*BridgeRegistrySession) BridgeBank

func (_BridgeRegistry *BridgeRegistrySession) BridgeBank() (common.Address, error)

BridgeBank is a free data retrieval call binding the contract method 0x0e41f373.

Solidity: function bridgeBank() view returns(address)

func (*BridgeRegistrySession) Chain33Bridge

func (_BridgeRegistry *BridgeRegistrySession) Chain33Bridge() (common.Address, error)

Chain33Bridge is a free data retrieval call binding the contract method 0xeb355352.

Solidity: function chain33Bridge() view returns(address)

func (*BridgeRegistrySession) DeployHeight

func (_BridgeRegistry *BridgeRegistrySession) DeployHeight() (*big.Int, error)

DeployHeight is a free data retrieval call binding the contract method 0x53d953b5.

Solidity: function deployHeight() view returns(uint256)

func (*BridgeRegistrySession) Oracle

func (_BridgeRegistry *BridgeRegistrySession) Oracle() (common.Address, error)

Oracle is a free data retrieval call binding the contract method 0x7dc0d1d0.

Solidity: function oracle() view returns(address)

func (*BridgeRegistrySession) Valset

func (_BridgeRegistry *BridgeRegistrySession) Valset() (common.Address, error)

Valset is a free data retrieval call binding the contract method 0x7f54af0c.

Solidity: function valset() view returns(address)

type BridgeRegistryTransactor

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

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

func NewBridgeRegistryTransactor

func NewBridgeRegistryTransactor(address common.Address, transactor bind.ContractTransactor) (*BridgeRegistryTransactor, error)

NewBridgeRegistryTransactor creates a new write-only instance of BridgeRegistry, bound to a specific deployed contract.

type BridgeRegistryTransactorRaw

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

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

func (*BridgeRegistryTransactorRaw) Transact

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

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

func (*BridgeRegistryTransactorRaw) Transfer

func (_BridgeRegistry *BridgeRegistryTransactorRaw) 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 BridgeRegistryTransactorSession

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

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

type BridgeToken

type BridgeToken struct {
	BridgeTokenCaller     // Read-only binding to the contract
	BridgeTokenTransactor // Write-only binding to the contract
	BridgeTokenFilterer   // Log filterer for contract events
}

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

func DeployBridgeToken

func DeployBridgeToken(auth *bind.TransactOpts, backend bind.ContractBackend, _symbol string) (common.Address, *types.Transaction, *BridgeToken, error)

DeployBridgeToken deploys a new Ethereum contract, binding an instance of BridgeToken to it.

func NewBridgeToken

func NewBridgeToken(address common.Address, backend bind.ContractBackend) (*BridgeToken, error)

NewBridgeToken creates a new instance of BridgeToken, bound to a specific deployed contract.

type BridgeTokenApproval

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

BridgeTokenApproval represents a Approval event raised by the BridgeToken contract.

type BridgeTokenApprovalIterator

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

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

func (*BridgeTokenApprovalIterator) Close

func (it *BridgeTokenApprovalIterator) Close() error

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

func (*BridgeTokenApprovalIterator) Error

func (it *BridgeTokenApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgeTokenApprovalIterator) Next

func (it *BridgeTokenApprovalIterator) 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 BridgeTokenCaller

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

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

func NewBridgeTokenCaller

func NewBridgeTokenCaller(address common.Address, caller bind.ContractCaller) (*BridgeTokenCaller, error)

NewBridgeTokenCaller creates a new read-only instance of BridgeToken, bound to a specific deployed contract.

func (*BridgeTokenCaller) Allowance

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

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

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

func (*BridgeTokenCaller) BalanceOf

func (_BridgeToken *BridgeTokenCaller) 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) view returns(uint256)

func (*BridgeTokenCaller) Decimals

func (_BridgeToken *BridgeTokenCaller) Decimals(opts *bind.CallOpts) (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*BridgeTokenCaller) IsMinter

func (_BridgeToken *BridgeTokenCaller) IsMinter(opts *bind.CallOpts, account common.Address) (bool, error)

IsMinter is a free data retrieval call binding the contract method 0xaa271e1a.

Solidity: function isMinter(address account) view returns(bool)

func (*BridgeTokenCaller) Name

func (_BridgeToken *BridgeTokenCaller) Name(opts *bind.CallOpts) (string, error)

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

Solidity: function name() view returns(string)

func (*BridgeTokenCaller) Symbol

func (_BridgeToken *BridgeTokenCaller) Symbol(opts *bind.CallOpts) (string, error)

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

Solidity: function symbol() view returns(string)

func (*BridgeTokenCaller) TotalSupply

func (_BridgeToken *BridgeTokenCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type BridgeTokenCallerRaw

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

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

func (*BridgeTokenCallerRaw) Call

func (_BridgeToken *BridgeTokenCallerRaw) 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 BridgeTokenCallerSession

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

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

func (*BridgeTokenCallerSession) Allowance

func (_BridgeToken *BridgeTokenCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

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

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

func (*BridgeTokenCallerSession) BalanceOf

func (_BridgeToken *BridgeTokenCallerSession) BalanceOf(account common.Address) (*big.Int, error)

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

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

func (*BridgeTokenCallerSession) Decimals

func (_BridgeToken *BridgeTokenCallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*BridgeTokenCallerSession) IsMinter

func (_BridgeToken *BridgeTokenCallerSession) IsMinter(account common.Address) (bool, error)

IsMinter is a free data retrieval call binding the contract method 0xaa271e1a.

Solidity: function isMinter(address account) view returns(bool)

func (*BridgeTokenCallerSession) Name

func (_BridgeToken *BridgeTokenCallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*BridgeTokenCallerSession) Symbol

func (_BridgeToken *BridgeTokenCallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*BridgeTokenCallerSession) TotalSupply

func (_BridgeToken *BridgeTokenCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type BridgeTokenFilterer

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

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

func NewBridgeTokenFilterer

func NewBridgeTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*BridgeTokenFilterer, error)

NewBridgeTokenFilterer creates a new log filterer instance of BridgeToken, bound to a specific deployed contract.

func (*BridgeTokenFilterer) FilterApproval

func (_BridgeToken *BridgeTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*BridgeTokenApprovalIterator, 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 (*BridgeTokenFilterer) FilterMinterAdded

func (_BridgeToken *BridgeTokenFilterer) FilterMinterAdded(opts *bind.FilterOpts, account []common.Address) (*BridgeTokenMinterAddedIterator, error)

FilterMinterAdded is a free log retrieval operation binding the contract event 0x6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f6.

Solidity: event MinterAdded(address indexed account)

func (*BridgeTokenFilterer) FilterMinterRemoved

func (_BridgeToken *BridgeTokenFilterer) FilterMinterRemoved(opts *bind.FilterOpts, account []common.Address) (*BridgeTokenMinterRemovedIterator, error)

FilterMinterRemoved is a free log retrieval operation binding the contract event 0xe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb66692.

Solidity: event MinterRemoved(address indexed account)

func (*BridgeTokenFilterer) FilterTransfer

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

func (_BridgeToken *BridgeTokenFilterer) ParseApproval(log types.Log) (*BridgeTokenApproval, error)

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

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

func (*BridgeTokenFilterer) ParseMinterAdded

func (_BridgeToken *BridgeTokenFilterer) ParseMinterAdded(log types.Log) (*BridgeTokenMinterAdded, error)

ParseMinterAdded is a log parse operation binding the contract event 0x6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f6.

Solidity: event MinterAdded(address indexed account)

func (*BridgeTokenFilterer) ParseMinterRemoved

func (_BridgeToken *BridgeTokenFilterer) ParseMinterRemoved(log types.Log) (*BridgeTokenMinterRemoved, error)

ParseMinterRemoved is a log parse operation binding the contract event 0xe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb66692.

Solidity: event MinterRemoved(address indexed account)

func (*BridgeTokenFilterer) ParseTransfer

func (_BridgeToken *BridgeTokenFilterer) ParseTransfer(log types.Log) (*BridgeTokenTransfer, error)

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

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

func (*BridgeTokenFilterer) WatchApproval

func (_BridgeToken *BridgeTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *BridgeTokenApproval, 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 (*BridgeTokenFilterer) WatchMinterAdded

func (_BridgeToken *BridgeTokenFilterer) WatchMinterAdded(opts *bind.WatchOpts, sink chan<- *BridgeTokenMinterAdded, account []common.Address) (event.Subscription, error)

WatchMinterAdded is a free log subscription operation binding the contract event 0x6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f6.

Solidity: event MinterAdded(address indexed account)

func (*BridgeTokenFilterer) WatchMinterRemoved

func (_BridgeToken *BridgeTokenFilterer) WatchMinterRemoved(opts *bind.WatchOpts, sink chan<- *BridgeTokenMinterRemoved, account []common.Address) (event.Subscription, error)

WatchMinterRemoved is a free log subscription operation binding the contract event 0xe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb66692.

Solidity: event MinterRemoved(address indexed account)

func (*BridgeTokenFilterer) WatchTransfer

func (_BridgeToken *BridgeTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *BridgeTokenTransfer, 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 BridgeTokenMinterAdded

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

BridgeTokenMinterAdded represents a MinterAdded event raised by the BridgeToken contract.

type BridgeTokenMinterAddedIterator

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

BridgeTokenMinterAddedIterator is returned from FilterMinterAdded and is used to iterate over the raw logs and unpacked data for MinterAdded events raised by the BridgeToken contract.

func (*BridgeTokenMinterAddedIterator) Close

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

func (*BridgeTokenMinterAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgeTokenMinterAddedIterator) 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 BridgeTokenMinterRemoved

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

BridgeTokenMinterRemoved represents a MinterRemoved event raised by the BridgeToken contract.

type BridgeTokenMinterRemovedIterator

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

BridgeTokenMinterRemovedIterator is returned from FilterMinterRemoved and is used to iterate over the raw logs and unpacked data for MinterRemoved events raised by the BridgeToken contract.

func (*BridgeTokenMinterRemovedIterator) Close

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

func (*BridgeTokenMinterRemovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgeTokenMinterRemovedIterator) 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 BridgeTokenRaw

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

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

func (*BridgeTokenRaw) Call

func (_BridgeToken *BridgeTokenRaw) 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 (*BridgeTokenRaw) Transact

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

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

func (*BridgeTokenRaw) Transfer

func (_BridgeToken *BridgeTokenRaw) 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 BridgeTokenSession

type BridgeTokenSession struct {
	Contract     *BridgeToken      // 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
}

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

func (*BridgeTokenSession) AddMinter

func (_BridgeToken *BridgeTokenSession) AddMinter(account common.Address) (*types.Transaction, error)

AddMinter is a paid mutator transaction binding the contract method 0x983b2d56.

Solidity: function addMinter(address account) returns()

func (*BridgeTokenSession) Allowance

func (_BridgeToken *BridgeTokenSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

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

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

func (*BridgeTokenSession) Approve

func (_BridgeToken *BridgeTokenSession) 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 (*BridgeTokenSession) BalanceOf

func (_BridgeToken *BridgeTokenSession) BalanceOf(account common.Address) (*big.Int, error)

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

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

func (*BridgeTokenSession) Burn

func (_BridgeToken *BridgeTokenSession) Burn(amount *big.Int) (*types.Transaction, error)

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

Solidity: function burn(uint256 amount) returns()

func (*BridgeTokenSession) BurnFrom

func (_BridgeToken *BridgeTokenSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)

BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.

Solidity: function burnFrom(address account, uint256 amount) returns()

func (*BridgeTokenSession) Decimals

func (_BridgeToken *BridgeTokenSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*BridgeTokenSession) DecreaseAllowance

func (_BridgeToken *BridgeTokenSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*BridgeTokenSession) IncreaseAllowance

func (_BridgeToken *BridgeTokenSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*BridgeTokenSession) IsMinter

func (_BridgeToken *BridgeTokenSession) IsMinter(account common.Address) (bool, error)

IsMinter is a free data retrieval call binding the contract method 0xaa271e1a.

Solidity: function isMinter(address account) view returns(bool)

func (*BridgeTokenSession) Mint

func (_BridgeToken *BridgeTokenSession) Mint(account common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function mint(address account, uint256 amount) returns(bool)

func (*BridgeTokenSession) Name

func (_BridgeToken *BridgeTokenSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*BridgeTokenSession) RenounceMinter

func (_BridgeToken *BridgeTokenSession) RenounceMinter() (*types.Transaction, error)

RenounceMinter is a paid mutator transaction binding the contract method 0x98650275.

Solidity: function renounceMinter() returns()

func (*BridgeTokenSession) Symbol

func (_BridgeToken *BridgeTokenSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*BridgeTokenSession) TotalSupply

func (_BridgeToken *BridgeTokenSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*BridgeTokenSession) Transfer

func (_BridgeToken *BridgeTokenSession) 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 (*BridgeTokenSession) TransferFrom

func (_BridgeToken *BridgeTokenSession) 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 BridgeTokenTransactor

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

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

func NewBridgeTokenTransactor

func NewBridgeTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*BridgeTokenTransactor, error)

NewBridgeTokenTransactor creates a new write-only instance of BridgeToken, bound to a specific deployed contract.

func (*BridgeTokenTransactor) AddMinter

func (_BridgeToken *BridgeTokenTransactor) AddMinter(opts *bind.TransactOpts, account common.Address) (*types.Transaction, error)

AddMinter is a paid mutator transaction binding the contract method 0x983b2d56.

Solidity: function addMinter(address account) returns()

func (*BridgeTokenTransactor) Approve

func (_BridgeToken *BridgeTokenTransactor) 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 (*BridgeTokenTransactor) Burn

func (_BridgeToken *BridgeTokenTransactor) Burn(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)

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

Solidity: function burn(uint256 amount) returns()

func (*BridgeTokenTransactor) BurnFrom

func (_BridgeToken *BridgeTokenTransactor) BurnFrom(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error)

BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.

Solidity: function burnFrom(address account, uint256 amount) returns()

func (*BridgeTokenTransactor) DecreaseAllowance

func (_BridgeToken *BridgeTokenTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*BridgeTokenTransactor) IncreaseAllowance

func (_BridgeToken *BridgeTokenTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*BridgeTokenTransactor) Mint

func (_BridgeToken *BridgeTokenTransactor) Mint(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function mint(address account, uint256 amount) returns(bool)

func (*BridgeTokenTransactor) RenounceMinter

func (_BridgeToken *BridgeTokenTransactor) RenounceMinter(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceMinter is a paid mutator transaction binding the contract method 0x98650275.

Solidity: function renounceMinter() returns()

func (*BridgeTokenTransactor) Transfer

func (_BridgeToken *BridgeTokenTransactor) 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 (*BridgeTokenTransactor) TransferFrom

func (_BridgeToken *BridgeTokenTransactor) 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 BridgeTokenTransactorRaw

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

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

func (*BridgeTokenTransactorRaw) Transact

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

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

func (*BridgeTokenTransactorRaw) Transfer

func (_BridgeToken *BridgeTokenTransactorRaw) 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 BridgeTokenTransactorSession

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

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

func (*BridgeTokenTransactorSession) AddMinter

func (_BridgeToken *BridgeTokenTransactorSession) AddMinter(account common.Address) (*types.Transaction, error)

AddMinter is a paid mutator transaction binding the contract method 0x983b2d56.

Solidity: function addMinter(address account) returns()

func (*BridgeTokenTransactorSession) Approve

func (_BridgeToken *BridgeTokenTransactorSession) 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 (*BridgeTokenTransactorSession) Burn

func (_BridgeToken *BridgeTokenTransactorSession) Burn(amount *big.Int) (*types.Transaction, error)

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

Solidity: function burn(uint256 amount) returns()

func (*BridgeTokenTransactorSession) BurnFrom

func (_BridgeToken *BridgeTokenTransactorSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)

BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.

Solidity: function burnFrom(address account, uint256 amount) returns()

func (*BridgeTokenTransactorSession) DecreaseAllowance

func (_BridgeToken *BridgeTokenTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*BridgeTokenTransactorSession) IncreaseAllowance

func (_BridgeToken *BridgeTokenTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*BridgeTokenTransactorSession) Mint

func (_BridgeToken *BridgeTokenTransactorSession) Mint(account common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function mint(address account, uint256 amount) returns(bool)

func (*BridgeTokenTransactorSession) RenounceMinter

func (_BridgeToken *BridgeTokenTransactorSession) RenounceMinter() (*types.Transaction, error)

RenounceMinter is a paid mutator transaction binding the contract method 0x98650275.

Solidity: function renounceMinter() returns()

func (*BridgeTokenTransactorSession) Transfer

func (_BridgeToken *BridgeTokenTransactorSession) 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 (*BridgeTokenTransactorSession) TransferFrom

func (_BridgeToken *BridgeTokenTransactorSession) 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 BridgeTokenTransfer

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

BridgeTokenTransfer represents a Transfer event raised by the BridgeToken contract.

type BridgeTokenTransferIterator

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

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

func (*BridgeTokenTransferIterator) Close

func (it *BridgeTokenTransferIterator) Close() error

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

func (*BridgeTokenTransferIterator) Error

func (it *BridgeTokenTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgeTokenTransferIterator) Next

func (it *BridgeTokenTransferIterator) 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 Chain33Bank

type Chain33Bank struct {
	Chain33BankCaller     // Read-only binding to the contract
	Chain33BankTransactor // Write-only binding to the contract
	Chain33BankFilterer   // Log filterer for contract events
}

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

func DeployChain33Bank

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

DeployChain33Bank deploys a new Ethereum contract, binding an instance of Chain33Bank to it.

func NewChain33Bank

func NewChain33Bank(address common.Address, backend bind.ContractBackend) (*Chain33Bank, error)

NewChain33Bank creates a new instance of Chain33Bank, bound to a specific deployed contract.

type Chain33BankCaller

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

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

func NewChain33BankCaller

func NewChain33BankCaller(address common.Address, caller bind.ContractCaller) (*Chain33BankCaller, error)

NewChain33BankCaller creates a new read-only instance of Chain33Bank, bound to a specific deployed contract.

func (*Chain33BankCaller) BridgeTokenCount

func (_Chain33Bank *Chain33BankCaller) BridgeTokenCount(opts *bind.CallOpts) (*big.Int, error)

BridgeTokenCount is a free data retrieval call binding the contract method 0x328470ab.

Solidity: function bridgeTokenCount() view returns(uint256)

func (*Chain33BankCaller) BridgeTokenCreated

func (_Chain33Bank *Chain33BankCaller) BridgeTokenCreated(opts *bind.CallOpts, arg0 [32]byte) (bool, error)

BridgeTokenCreated is a free data retrieval call binding the contract method 0x59bf3a33.

Solidity: function bridgeTokenCreated(bytes32 ) view returns(bool)

func (*Chain33BankCaller) BridgeTokenWhitelist

func (_Chain33Bank *Chain33BankCaller) BridgeTokenWhitelist(opts *bind.CallOpts, arg0 common.Address) (bool, error)

BridgeTokenWhitelist is a free data retrieval call binding the contract method 0x3f4d5681.

Solidity: function bridgeTokenWhitelist(address ) view returns(bool)

func (*Chain33BankCaller) GetToken2address

func (_Chain33Bank *Chain33BankCaller) GetToken2address(opts *bind.CallOpts, _symbol string) (common.Address, error)

GetToken2address is a free data retrieval call binding the contract method 0x70e2a8d9.

Solidity: function getToken2address(string _symbol) view returns(address)

func (*Chain33BankCaller) HasBridgeTokenCreated

func (_Chain33Bank *Chain33BankCaller) HasBridgeTokenCreated(opts *bind.CallOpts, _symbol string) (bool, error)

HasBridgeTokenCreated is a free data retrieval call binding the contract method 0xefea27ab.

Solidity: function hasBridgeTokenCreated(string _symbol) view returns(bool)

func (*Chain33BankCaller) Token2address

func (_Chain33Bank *Chain33BankCaller) Token2address(opts *bind.CallOpts, arg0 [32]byte) (common.Address, error)

Token2address is a free data retrieval call binding the contract method 0x85f0bdc7.

Solidity: function token2address(bytes32 ) view returns(address)

type Chain33BankCallerRaw

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

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

func (*Chain33BankCallerRaw) Call

func (_Chain33Bank *Chain33BankCallerRaw) 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 Chain33BankCallerSession

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

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

func (*Chain33BankCallerSession) BridgeTokenCount

func (_Chain33Bank *Chain33BankCallerSession) BridgeTokenCount() (*big.Int, error)

BridgeTokenCount is a free data retrieval call binding the contract method 0x328470ab.

Solidity: function bridgeTokenCount() view returns(uint256)

func (*Chain33BankCallerSession) BridgeTokenCreated

func (_Chain33Bank *Chain33BankCallerSession) BridgeTokenCreated(arg0 [32]byte) (bool, error)

BridgeTokenCreated is a free data retrieval call binding the contract method 0x59bf3a33.

Solidity: function bridgeTokenCreated(bytes32 ) view returns(bool)

func (*Chain33BankCallerSession) BridgeTokenWhitelist

func (_Chain33Bank *Chain33BankCallerSession) BridgeTokenWhitelist(arg0 common.Address) (bool, error)

BridgeTokenWhitelist is a free data retrieval call binding the contract method 0x3f4d5681.

Solidity: function bridgeTokenWhitelist(address ) view returns(bool)

func (*Chain33BankCallerSession) GetToken2address

func (_Chain33Bank *Chain33BankCallerSession) GetToken2address(_symbol string) (common.Address, error)

GetToken2address is a free data retrieval call binding the contract method 0x70e2a8d9.

Solidity: function getToken2address(string _symbol) view returns(address)

func (*Chain33BankCallerSession) HasBridgeTokenCreated

func (_Chain33Bank *Chain33BankCallerSession) HasBridgeTokenCreated(_symbol string) (bool, error)

HasBridgeTokenCreated is a free data retrieval call binding the contract method 0xefea27ab.

Solidity: function hasBridgeTokenCreated(string _symbol) view returns(bool)

func (*Chain33BankCallerSession) Token2address

func (_Chain33Bank *Chain33BankCallerSession) Token2address(arg0 [32]byte) (common.Address, error)

Token2address is a free data retrieval call binding the contract method 0x85f0bdc7.

Solidity: function token2address(bytes32 ) view returns(address)

type Chain33BankFilterer

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

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

func NewChain33BankFilterer

func NewChain33BankFilterer(address common.Address, filterer bind.ContractFilterer) (*Chain33BankFilterer, error)

NewChain33BankFilterer creates a new log filterer instance of Chain33Bank, bound to a specific deployed contract.

func (*Chain33BankFilterer) FilterLogBridgeTokenMint

func (_Chain33Bank *Chain33BankFilterer) FilterLogBridgeTokenMint(opts *bind.FilterOpts) (*Chain33BankLogBridgeTokenMintIterator, error)

FilterLogBridgeTokenMint is a free log retrieval operation binding the contract event 0x262f97360779b7c2bb05fd24ef49f22d51435f78d3abd1ab35c323b22064cd4d.

Solidity: event LogBridgeTokenMint(address _token, string _symbol, uint256 _amount, address _beneficiary)

func (*Chain33BankFilterer) FilterLogChain33TokenBurn

func (_Chain33Bank *Chain33BankFilterer) FilterLogChain33TokenBurn(opts *bind.FilterOpts) (*Chain33BankLogChain33TokenBurnIterator, error)

FilterLogChain33TokenBurn is a free log retrieval operation binding the contract event 0xf7e78bea01efd9af9e755494a4eeba0f075264743fbd104d2742b141927695d2.

Solidity: event LogChain33TokenBurn(address _token, string _symbol, uint256 _amount, address _ownerFrom, bytes _chain33Receiver, uint256 _nonce)

func (*Chain33BankFilterer) FilterLogNewBridgeToken

func (_Chain33Bank *Chain33BankFilterer) FilterLogNewBridgeToken(opts *bind.FilterOpts) (*Chain33BankLogNewBridgeTokenIterator, error)

FilterLogNewBridgeToken is a free log retrieval operation binding the contract event 0x0ec4ab372af15f8db6003eb14d91402a44b20dff79fbac33b4ee0df68fafe9c0.

Solidity: event LogNewBridgeToken(address _token, string _symbol)

func (*Chain33BankFilterer) ParseLogBridgeTokenMint

func (_Chain33Bank *Chain33BankFilterer) ParseLogBridgeTokenMint(log types.Log) (*Chain33BankLogBridgeTokenMint, error)

ParseLogBridgeTokenMint is a log parse operation binding the contract event 0x262f97360779b7c2bb05fd24ef49f22d51435f78d3abd1ab35c323b22064cd4d.

Solidity: event LogBridgeTokenMint(address _token, string _symbol, uint256 _amount, address _beneficiary)

func (*Chain33BankFilterer) ParseLogChain33TokenBurn

func (_Chain33Bank *Chain33BankFilterer) ParseLogChain33TokenBurn(log types.Log) (*Chain33BankLogChain33TokenBurn, error)

ParseLogChain33TokenBurn is a log parse operation binding the contract event 0xf7e78bea01efd9af9e755494a4eeba0f075264743fbd104d2742b141927695d2.

Solidity: event LogChain33TokenBurn(address _token, string _symbol, uint256 _amount, address _ownerFrom, bytes _chain33Receiver, uint256 _nonce)

func (*Chain33BankFilterer) ParseLogNewBridgeToken

func (_Chain33Bank *Chain33BankFilterer) ParseLogNewBridgeToken(log types.Log) (*Chain33BankLogNewBridgeToken, error)

ParseLogNewBridgeToken is a log parse operation binding the contract event 0x0ec4ab372af15f8db6003eb14d91402a44b20dff79fbac33b4ee0df68fafe9c0.

Solidity: event LogNewBridgeToken(address _token, string _symbol)

func (*Chain33BankFilterer) WatchLogBridgeTokenMint

func (_Chain33Bank *Chain33BankFilterer) WatchLogBridgeTokenMint(opts *bind.WatchOpts, sink chan<- *Chain33BankLogBridgeTokenMint) (event.Subscription, error)

WatchLogBridgeTokenMint is a free log subscription operation binding the contract event 0x262f97360779b7c2bb05fd24ef49f22d51435f78d3abd1ab35c323b22064cd4d.

Solidity: event LogBridgeTokenMint(address _token, string _symbol, uint256 _amount, address _beneficiary)

func (*Chain33BankFilterer) WatchLogChain33TokenBurn

func (_Chain33Bank *Chain33BankFilterer) WatchLogChain33TokenBurn(opts *bind.WatchOpts, sink chan<- *Chain33BankLogChain33TokenBurn) (event.Subscription, error)

WatchLogChain33TokenBurn is a free log subscription operation binding the contract event 0xf7e78bea01efd9af9e755494a4eeba0f075264743fbd104d2742b141927695d2.

Solidity: event LogChain33TokenBurn(address _token, string _symbol, uint256 _amount, address _ownerFrom, bytes _chain33Receiver, uint256 _nonce)

func (*Chain33BankFilterer) WatchLogNewBridgeToken

func (_Chain33Bank *Chain33BankFilterer) WatchLogNewBridgeToken(opts *bind.WatchOpts, sink chan<- *Chain33BankLogNewBridgeToken) (event.Subscription, error)

WatchLogNewBridgeToken is a free log subscription operation binding the contract event 0x0ec4ab372af15f8db6003eb14d91402a44b20dff79fbac33b4ee0df68fafe9c0.

Solidity: event LogNewBridgeToken(address _token, string _symbol)

type Chain33BankLogBridgeTokenMint

type Chain33BankLogBridgeTokenMint struct {
	Token       common.Address
	Symbol      string
	Amount      *big.Int
	Beneficiary common.Address
	Raw         types.Log // Blockchain specific contextual infos
}

Chain33BankLogBridgeTokenMint represents a LogBridgeTokenMint event raised by the Chain33Bank contract.

type Chain33BankLogBridgeTokenMintIterator

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

Chain33BankLogBridgeTokenMintIterator is returned from FilterLogBridgeTokenMint and is used to iterate over the raw logs and unpacked data for LogBridgeTokenMint events raised by the Chain33Bank contract.

func (*Chain33BankLogBridgeTokenMintIterator) Close

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

func (*Chain33BankLogBridgeTokenMintIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*Chain33BankLogBridgeTokenMintIterator) 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 Chain33BankLogChain33TokenBurn

type Chain33BankLogChain33TokenBurn struct {
	Token           common.Address
	Symbol          string
	Amount          *big.Int
	OwnerFrom       common.Address
	Chain33Receiver []byte
	Nonce           *big.Int
	Raw             types.Log // Blockchain specific contextual infos
}

Chain33BankLogChain33TokenBurn represents a LogChain33TokenBurn event raised by the Chain33Bank contract.

type Chain33BankLogChain33TokenBurnIterator

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

Chain33BankLogChain33TokenBurnIterator is returned from FilterLogChain33TokenBurn and is used to iterate over the raw logs and unpacked data for LogChain33TokenBurn events raised by the Chain33Bank contract.

func (*Chain33BankLogChain33TokenBurnIterator) Close

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

func (*Chain33BankLogChain33TokenBurnIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*Chain33BankLogChain33TokenBurnIterator) 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 Chain33BankLogNewBridgeToken

type Chain33BankLogNewBridgeToken struct {
	Token  common.Address
	Symbol string
	Raw    types.Log // Blockchain specific contextual infos
}

Chain33BankLogNewBridgeToken represents a LogNewBridgeToken event raised by the Chain33Bank contract.

type Chain33BankLogNewBridgeTokenIterator

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

Chain33BankLogNewBridgeTokenIterator is returned from FilterLogNewBridgeToken and is used to iterate over the raw logs and unpacked data for LogNewBridgeToken events raised by the Chain33Bank contract.

func (*Chain33BankLogNewBridgeTokenIterator) Close

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

func (*Chain33BankLogNewBridgeTokenIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*Chain33BankLogNewBridgeTokenIterator) 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 Chain33BankRaw

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

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

func (*Chain33BankRaw) Call

func (_Chain33Bank *Chain33BankRaw) 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 (*Chain33BankRaw) Transact

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

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

func (*Chain33BankRaw) Transfer

func (_Chain33Bank *Chain33BankRaw) 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 Chain33BankSession

type Chain33BankSession struct {
	Contract     *Chain33Bank      // 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
}

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

func (*Chain33BankSession) BridgeTokenCount

func (_Chain33Bank *Chain33BankSession) BridgeTokenCount() (*big.Int, error)

BridgeTokenCount is a free data retrieval call binding the contract method 0x328470ab.

Solidity: function bridgeTokenCount() view returns(uint256)

func (*Chain33BankSession) BridgeTokenCreated

func (_Chain33Bank *Chain33BankSession) BridgeTokenCreated(arg0 [32]byte) (bool, error)

BridgeTokenCreated is a free data retrieval call binding the contract method 0x59bf3a33.

Solidity: function bridgeTokenCreated(bytes32 ) view returns(bool)

func (*Chain33BankSession) BridgeTokenWhitelist

func (_Chain33Bank *Chain33BankSession) BridgeTokenWhitelist(arg0 common.Address) (bool, error)

BridgeTokenWhitelist is a free data retrieval call binding the contract method 0x3f4d5681.

Solidity: function bridgeTokenWhitelist(address ) view returns(bool)

func (*Chain33BankSession) GetToken2address

func (_Chain33Bank *Chain33BankSession) GetToken2address(_symbol string) (common.Address, error)

GetToken2address is a free data retrieval call binding the contract method 0x70e2a8d9.

Solidity: function getToken2address(string _symbol) view returns(address)

func (*Chain33BankSession) HasBridgeTokenCreated

func (_Chain33Bank *Chain33BankSession) HasBridgeTokenCreated(_symbol string) (bool, error)

HasBridgeTokenCreated is a free data retrieval call binding the contract method 0xefea27ab.

Solidity: function hasBridgeTokenCreated(string _symbol) view returns(bool)

func (*Chain33BankSession) Token2address

func (_Chain33Bank *Chain33BankSession) Token2address(arg0 [32]byte) (common.Address, error)

Token2address is a free data retrieval call binding the contract method 0x85f0bdc7.

Solidity: function token2address(bytes32 ) view returns(address)

type Chain33BankTransactor

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

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

func NewChain33BankTransactor

func NewChain33BankTransactor(address common.Address, transactor bind.ContractTransactor) (*Chain33BankTransactor, error)

NewChain33BankTransactor creates a new write-only instance of Chain33Bank, bound to a specific deployed contract.

type Chain33BankTransactorRaw

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

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

func (*Chain33BankTransactorRaw) Transact

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

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

func (*Chain33BankTransactorRaw) Transfer

func (_Chain33Bank *Chain33BankTransactorRaw) 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 Chain33BankTransactorSession

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

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

type Chain33Bridge

type Chain33Bridge struct {
	Chain33BridgeCaller     // Read-only binding to the contract
	Chain33BridgeTransactor // Write-only binding to the contract
	Chain33BridgeFilterer   // Log filterer for contract events
}

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

func DeployChain33Bridge

func DeployChain33Bridge(auth *bind.TransactOpts, backend bind.ContractBackend, _operator common.Address, _valset common.Address) (common.Address, *types.Transaction, *Chain33Bridge, error)

DeployChain33Bridge deploys a new Ethereum contract, binding an instance of Chain33Bridge to it.

func NewChain33Bridge

func NewChain33Bridge(address common.Address, backend bind.ContractBackend) (*Chain33Bridge, error)

NewChain33Bridge creates a new instance of Chain33Bridge, bound to a specific deployed contract.

type Chain33BridgeCaller

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

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

func NewChain33BridgeCaller

func NewChain33BridgeCaller(address common.Address, caller bind.ContractCaller) (*Chain33BridgeCaller, error)

NewChain33BridgeCaller creates a new read-only instance of Chain33Bridge, bound to a specific deployed contract.

func (*Chain33BridgeCaller) BridgeBank

func (_Chain33Bridge *Chain33BridgeCaller) BridgeBank(opts *bind.CallOpts) (common.Address, error)

BridgeBank is a free data retrieval call binding the contract method 0x0e41f373.

Solidity: function bridgeBank() view returns(address)

func (*Chain33BridgeCaller) HasBridgeBank

func (_Chain33Bridge *Chain33BridgeCaller) HasBridgeBank(opts *bind.CallOpts) (bool, error)

HasBridgeBank is a free data retrieval call binding the contract method 0x69294a4e.

Solidity: function hasBridgeBank() view returns(bool)

func (*Chain33BridgeCaller) HasOracle

func (_Chain33Bridge *Chain33BridgeCaller) HasOracle(opts *bind.CallOpts) (bool, error)

HasOracle is a free data retrieval call binding the contract method 0xfb7831f2.

Solidity: function hasOracle() view returns(bool)

func (*Chain33BridgeCaller) IsProphecyClaimActive

func (_Chain33Bridge *Chain33BridgeCaller) IsProphecyClaimActive(opts *bind.CallOpts, _claimID [32]byte) (bool, error)

IsProphecyClaimActive is a free data retrieval call binding the contract method 0xaa760bc2.

Solidity: function isProphecyClaimActive(bytes32 _claimID) view returns(bool)

func (*Chain33BridgeCaller) IsProphecyClaimValidatorActive

func (_Chain33Bridge *Chain33BridgeCaller) IsProphecyClaimValidatorActive(opts *bind.CallOpts, _claimID [32]byte) (bool, error)

IsProphecyClaimValidatorActive is a free data retrieval call binding the contract method 0x6536be5a.

Solidity: function isProphecyClaimValidatorActive(bytes32 _claimID) view returns(bool)

func (*Chain33BridgeCaller) IsValidClaimType

func (_Chain33Bridge *Chain33BridgeCaller) IsValidClaimType(opts *bind.CallOpts, _claimType uint8) (bool, error)

IsValidClaimType is a free data retrieval call binding the contract method 0xf16e609a.

Solidity: function isValidClaimType(uint8 _claimType) pure returns(bool)

func (*Chain33BridgeCaller) Operator

func (_Chain33Bridge *Chain33BridgeCaller) Operator(opts *bind.CallOpts) (common.Address, error)

Operator is a free data retrieval call binding the contract method 0x570ca735.

Solidity: function operator() view returns(address)

func (*Chain33BridgeCaller) Oracle

func (_Chain33Bridge *Chain33BridgeCaller) Oracle(opts *bind.CallOpts) (common.Address, error)

Oracle is a free data retrieval call binding the contract method 0x7dc0d1d0.

Solidity: function oracle() view returns(address)

func (*Chain33BridgeCaller) ProphecyClaimCount

func (_Chain33Bridge *Chain33BridgeCaller) ProphecyClaimCount(opts *bind.CallOpts) (*big.Int, error)

ProphecyClaimCount is a free data retrieval call binding the contract method 0x8ea5352d.

Solidity: function prophecyClaimCount() view returns(uint256)

func (*Chain33BridgeCaller) ProphecyClaims

func (_Chain33Bridge *Chain33BridgeCaller) ProphecyClaims(opts *bind.CallOpts, arg0 [32]byte) (struct {
	ClaimType         uint8
	Chain33Sender     []byte
	EthereumReceiver  common.Address
	OriginalValidator common.Address
	TokenAddress      common.Address
	Symbol            string
	Amount            *big.Int
	Status            uint8
}, error)

ProphecyClaims is a free data retrieval call binding the contract method 0xb47010f6.

Solidity: function prophecyClaims(bytes32 ) view returns(uint8 claimType, bytes chain33Sender, address ethereumReceiver, address originalValidator, address tokenAddress, string symbol, uint256 amount, uint8 status)

func (*Chain33BridgeCaller) Valset

func (_Chain33Bridge *Chain33BridgeCaller) Valset(opts *bind.CallOpts) (common.Address, error)

Valset is a free data retrieval call binding the contract method 0x7f54af0c.

Solidity: function valset() view returns(address)

type Chain33BridgeCallerRaw

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

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

func (*Chain33BridgeCallerRaw) Call

func (_Chain33Bridge *Chain33BridgeCallerRaw) 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 Chain33BridgeCallerSession

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

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

func (*Chain33BridgeCallerSession) BridgeBank

func (_Chain33Bridge *Chain33BridgeCallerSession) BridgeBank() (common.Address, error)

BridgeBank is a free data retrieval call binding the contract method 0x0e41f373.

Solidity: function bridgeBank() view returns(address)

func (*Chain33BridgeCallerSession) HasBridgeBank

func (_Chain33Bridge *Chain33BridgeCallerSession) HasBridgeBank() (bool, error)

HasBridgeBank is a free data retrieval call binding the contract method 0x69294a4e.

Solidity: function hasBridgeBank() view returns(bool)

func (*Chain33BridgeCallerSession) HasOracle

func (_Chain33Bridge *Chain33BridgeCallerSession) HasOracle() (bool, error)

HasOracle is a free data retrieval call binding the contract method 0xfb7831f2.

Solidity: function hasOracle() view returns(bool)

func (*Chain33BridgeCallerSession) IsProphecyClaimActive

func (_Chain33Bridge *Chain33BridgeCallerSession) IsProphecyClaimActive(_claimID [32]byte) (bool, error)

IsProphecyClaimActive is a free data retrieval call binding the contract method 0xaa760bc2.

Solidity: function isProphecyClaimActive(bytes32 _claimID) view returns(bool)

func (*Chain33BridgeCallerSession) IsProphecyClaimValidatorActive

func (_Chain33Bridge *Chain33BridgeCallerSession) IsProphecyClaimValidatorActive(_claimID [32]byte) (bool, error)

IsProphecyClaimValidatorActive is a free data retrieval call binding the contract method 0x6536be5a.

Solidity: function isProphecyClaimValidatorActive(bytes32 _claimID) view returns(bool)

func (*Chain33BridgeCallerSession) IsValidClaimType

func (_Chain33Bridge *Chain33BridgeCallerSession) IsValidClaimType(_claimType uint8) (bool, error)

IsValidClaimType is a free data retrieval call binding the contract method 0xf16e609a.

Solidity: function isValidClaimType(uint8 _claimType) pure returns(bool)

func (*Chain33BridgeCallerSession) Operator

func (_Chain33Bridge *Chain33BridgeCallerSession) Operator() (common.Address, error)

Operator is a free data retrieval call binding the contract method 0x570ca735.

Solidity: function operator() view returns(address)

func (*Chain33BridgeCallerSession) Oracle

func (_Chain33Bridge *Chain33BridgeCallerSession) Oracle() (common.Address, error)

Oracle is a free data retrieval call binding the contract method 0x7dc0d1d0.

Solidity: function oracle() view returns(address)

func (*Chain33BridgeCallerSession) ProphecyClaimCount

func (_Chain33Bridge *Chain33BridgeCallerSession) ProphecyClaimCount() (*big.Int, error)

ProphecyClaimCount is a free data retrieval call binding the contract method 0x8ea5352d.

Solidity: function prophecyClaimCount() view returns(uint256)

func (*Chain33BridgeCallerSession) ProphecyClaims

func (_Chain33Bridge *Chain33BridgeCallerSession) ProphecyClaims(arg0 [32]byte) (struct {
	ClaimType         uint8
	Chain33Sender     []byte
	EthereumReceiver  common.Address
	OriginalValidator common.Address
	TokenAddress      common.Address
	Symbol            string
	Amount            *big.Int
	Status            uint8
}, error)

ProphecyClaims is a free data retrieval call binding the contract method 0xb47010f6.

Solidity: function prophecyClaims(bytes32 ) view returns(uint8 claimType, bytes chain33Sender, address ethereumReceiver, address originalValidator, address tokenAddress, string symbol, uint256 amount, uint8 status)

func (*Chain33BridgeCallerSession) Valset

func (_Chain33Bridge *Chain33BridgeCallerSession) Valset() (common.Address, error)

Valset is a free data retrieval call binding the contract method 0x7f54af0c.

Solidity: function valset() view returns(address)

type Chain33BridgeFilterer

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

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

func NewChain33BridgeFilterer

func NewChain33BridgeFilterer(address common.Address, filterer bind.ContractFilterer) (*Chain33BridgeFilterer, error)

NewChain33BridgeFilterer creates a new log filterer instance of Chain33Bridge, bound to a specific deployed contract.

func (*Chain33BridgeFilterer) FilterLogBridgeBankSet

func (_Chain33Bridge *Chain33BridgeFilterer) FilterLogBridgeBankSet(opts *bind.FilterOpts) (*Chain33BridgeLogBridgeBankSetIterator, error)

FilterLogBridgeBankSet is a free log retrieval operation binding the contract event 0xc8b65043fb196ac032b79a435397d1d14a96b4e9d12e366c3b1f550cb01d2dfa.

Solidity: event LogBridgeBankSet(address _bridgeBank)

func (*Chain33BridgeFilterer) FilterLogNewProphecyClaim

func (_Chain33Bridge *Chain33BridgeFilterer) FilterLogNewProphecyClaim(opts *bind.FilterOpts) (*Chain33BridgeLogNewProphecyClaimIterator, error)

FilterLogNewProphecyClaim is a free log retrieval operation binding the contract event 0x4c4b04a2b190e6bb01b6243f150fc76174861acd19cf98841801baaff5262dd8.

Solidity: event LogNewProphecyClaim(uint256 _prophecyID, uint8 _claimType, bytes _chain33Sender, address _ethereumReceiver, address _validatorAddress, address _tokenAddress, string _symbol, uint256 _amount)

func (*Chain33BridgeFilterer) FilterLogOracleSet

func (_Chain33Bridge *Chain33BridgeFilterer) FilterLogOracleSet(opts *bind.FilterOpts) (*Chain33BridgeLogOracleSetIterator, error)

FilterLogOracleSet is a free log retrieval operation binding the contract event 0x6efb0434342713e2e9b1501dbebf76b4ed18406ea77ab5d56535cc26dec3adc0.

Solidity: event LogOracleSet(address _oracle)

func (*Chain33BridgeFilterer) FilterLogProphecyCompleted

func (_Chain33Bridge *Chain33BridgeFilterer) FilterLogProphecyCompleted(opts *bind.FilterOpts) (*Chain33BridgeLogProphecyCompletedIterator, error)

FilterLogProphecyCompleted is a free log retrieval operation binding the contract event 0x7d9a5a85a52a06cdda079e1e12e99f2466f201b2e14ba09ef83ff625949921b9.

Solidity: event LogProphecyCompleted(bytes32 _claimID, uint8 _claimType)

func (*Chain33BridgeFilterer) ParseLogBridgeBankSet

func (_Chain33Bridge *Chain33BridgeFilterer) ParseLogBridgeBankSet(log types.Log) (*Chain33BridgeLogBridgeBankSet, error)

ParseLogBridgeBankSet is a log parse operation binding the contract event 0xc8b65043fb196ac032b79a435397d1d14a96b4e9d12e366c3b1f550cb01d2dfa.

Solidity: event LogBridgeBankSet(address _bridgeBank)

func (*Chain33BridgeFilterer) ParseLogNewProphecyClaim

func (_Chain33Bridge *Chain33BridgeFilterer) ParseLogNewProphecyClaim(log types.Log) (*Chain33BridgeLogNewProphecyClaim, error)

ParseLogNewProphecyClaim is a log parse operation binding the contract event 0x4c4b04a2b190e6bb01b6243f150fc76174861acd19cf98841801baaff5262dd8.

Solidity: event LogNewProphecyClaim(uint256 _prophecyID, uint8 _claimType, bytes _chain33Sender, address _ethereumReceiver, address _validatorAddress, address _tokenAddress, string _symbol, uint256 _amount)

func (*Chain33BridgeFilterer) ParseLogOracleSet

func (_Chain33Bridge *Chain33BridgeFilterer) ParseLogOracleSet(log types.Log) (*Chain33BridgeLogOracleSet, error)

ParseLogOracleSet is a log parse operation binding the contract event 0x6efb0434342713e2e9b1501dbebf76b4ed18406ea77ab5d56535cc26dec3adc0.

Solidity: event LogOracleSet(address _oracle)

func (*Chain33BridgeFilterer) ParseLogProphecyCompleted

func (_Chain33Bridge *Chain33BridgeFilterer) ParseLogProphecyCompleted(log types.Log) (*Chain33BridgeLogProphecyCompleted, error)

ParseLogProphecyCompleted is a log parse operation binding the contract event 0x7d9a5a85a52a06cdda079e1e12e99f2466f201b2e14ba09ef83ff625949921b9.

Solidity: event LogProphecyCompleted(bytes32 _claimID, uint8 _claimType)

func (*Chain33BridgeFilterer) WatchLogBridgeBankSet

func (_Chain33Bridge *Chain33BridgeFilterer) WatchLogBridgeBankSet(opts *bind.WatchOpts, sink chan<- *Chain33BridgeLogBridgeBankSet) (event.Subscription, error)

WatchLogBridgeBankSet is a free log subscription operation binding the contract event 0xc8b65043fb196ac032b79a435397d1d14a96b4e9d12e366c3b1f550cb01d2dfa.

Solidity: event LogBridgeBankSet(address _bridgeBank)

func (*Chain33BridgeFilterer) WatchLogNewProphecyClaim

func (_Chain33Bridge *Chain33BridgeFilterer) WatchLogNewProphecyClaim(opts *bind.WatchOpts, sink chan<- *Chain33BridgeLogNewProphecyClaim) (event.Subscription, error)

WatchLogNewProphecyClaim is a free log subscription operation binding the contract event 0x4c4b04a2b190e6bb01b6243f150fc76174861acd19cf98841801baaff5262dd8.

Solidity: event LogNewProphecyClaim(uint256 _prophecyID, uint8 _claimType, bytes _chain33Sender, address _ethereumReceiver, address _validatorAddress, address _tokenAddress, string _symbol, uint256 _amount)

func (*Chain33BridgeFilterer) WatchLogOracleSet

func (_Chain33Bridge *Chain33BridgeFilterer) WatchLogOracleSet(opts *bind.WatchOpts, sink chan<- *Chain33BridgeLogOracleSet) (event.Subscription, error)

WatchLogOracleSet is a free log subscription operation binding the contract event 0x6efb0434342713e2e9b1501dbebf76b4ed18406ea77ab5d56535cc26dec3adc0.

Solidity: event LogOracleSet(address _oracle)

func (*Chain33BridgeFilterer) WatchLogProphecyCompleted

func (_Chain33Bridge *Chain33BridgeFilterer) WatchLogProphecyCompleted(opts *bind.WatchOpts, sink chan<- *Chain33BridgeLogProphecyCompleted) (event.Subscription, error)

WatchLogProphecyCompleted is a free log subscription operation binding the contract event 0x7d9a5a85a52a06cdda079e1e12e99f2466f201b2e14ba09ef83ff625949921b9.

Solidity: event LogProphecyCompleted(bytes32 _claimID, uint8 _claimType)

type Chain33BridgeLogBridgeBankSet

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

Chain33BridgeLogBridgeBankSet represents a LogBridgeBankSet event raised by the Chain33Bridge contract.

type Chain33BridgeLogBridgeBankSetIterator

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

Chain33BridgeLogBridgeBankSetIterator is returned from FilterLogBridgeBankSet and is used to iterate over the raw logs and unpacked data for LogBridgeBankSet events raised by the Chain33Bridge contract.

func (*Chain33BridgeLogBridgeBankSetIterator) Close

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

func (*Chain33BridgeLogBridgeBankSetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*Chain33BridgeLogBridgeBankSetIterator) 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 Chain33BridgeLogNewProphecyClaim

type Chain33BridgeLogNewProphecyClaim struct {
	ProphecyID       *big.Int
	ClaimType        uint8
	Chain33Sender    []byte
	EthereumReceiver common.Address
	ValidatorAddress common.Address
	TokenAddress     common.Address
	Symbol           string
	Amount           *big.Int
	Raw              types.Log // Blockchain specific contextual infos
}

Chain33BridgeLogNewProphecyClaim represents a LogNewProphecyClaim event raised by the Chain33Bridge contract.

type Chain33BridgeLogNewProphecyClaimIterator

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

Chain33BridgeLogNewProphecyClaimIterator is returned from FilterLogNewProphecyClaim and is used to iterate over the raw logs and unpacked data for LogNewProphecyClaim events raised by the Chain33Bridge contract.

func (*Chain33BridgeLogNewProphecyClaimIterator) Close

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

func (*Chain33BridgeLogNewProphecyClaimIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*Chain33BridgeLogNewProphecyClaimIterator) 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 Chain33BridgeLogOracleSet

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

Chain33BridgeLogOracleSet represents a LogOracleSet event raised by the Chain33Bridge contract.

type Chain33BridgeLogOracleSetIterator

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

Chain33BridgeLogOracleSetIterator is returned from FilterLogOracleSet and is used to iterate over the raw logs and unpacked data for LogOracleSet events raised by the Chain33Bridge contract.

func (*Chain33BridgeLogOracleSetIterator) Close

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

func (*Chain33BridgeLogOracleSetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*Chain33BridgeLogOracleSetIterator) 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 Chain33BridgeLogProphecyCompleted

type Chain33BridgeLogProphecyCompleted struct {
	ClaimID   [32]byte
	ClaimType uint8
	Raw       types.Log // Blockchain specific contextual infos
}

Chain33BridgeLogProphecyCompleted represents a LogProphecyCompleted event raised by the Chain33Bridge contract.

type Chain33BridgeLogProphecyCompletedIterator

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

Chain33BridgeLogProphecyCompletedIterator is returned from FilterLogProphecyCompleted and is used to iterate over the raw logs and unpacked data for LogProphecyCompleted events raised by the Chain33Bridge contract.

func (*Chain33BridgeLogProphecyCompletedIterator) Close

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

func (*Chain33BridgeLogProphecyCompletedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*Chain33BridgeLogProphecyCompletedIterator) 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 Chain33BridgeRaw

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

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

func (*Chain33BridgeRaw) Call

func (_Chain33Bridge *Chain33BridgeRaw) 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 (*Chain33BridgeRaw) Transact

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

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

func (*Chain33BridgeRaw) Transfer

func (_Chain33Bridge *Chain33BridgeRaw) 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 Chain33BridgeSession

type Chain33BridgeSession struct {
	Contract     *Chain33Bridge    // 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
}

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

func (*Chain33BridgeSession) BridgeBank

func (_Chain33Bridge *Chain33BridgeSession) BridgeBank() (common.Address, error)

BridgeBank is a free data retrieval call binding the contract method 0x0e41f373.

Solidity: function bridgeBank() view returns(address)

func (*Chain33BridgeSession) CompleteClaim

func (_Chain33Bridge *Chain33BridgeSession) CompleteClaim(_claimID [32]byte) (*types.Transaction, error)

CompleteClaim is a paid mutator transaction binding the contract method 0x48164a6f.

Solidity: function completeClaim(bytes32 _claimID) returns()

func (*Chain33BridgeSession) HasBridgeBank

func (_Chain33Bridge *Chain33BridgeSession) HasBridgeBank() (bool, error)

HasBridgeBank is a free data retrieval call binding the contract method 0x69294a4e.

Solidity: function hasBridgeBank() view returns(bool)

func (*Chain33BridgeSession) HasOracle

func (_Chain33Bridge *Chain33BridgeSession) HasOracle() (bool, error)

HasOracle is a free data retrieval call binding the contract method 0xfb7831f2.

Solidity: function hasOracle() view returns(bool)

func (*Chain33BridgeSession) IsProphecyClaimActive

func (_Chain33Bridge *Chain33BridgeSession) IsProphecyClaimActive(_claimID [32]byte) (bool, error)

IsProphecyClaimActive is a free data retrieval call binding the contract method 0xaa760bc2.

Solidity: function isProphecyClaimActive(bytes32 _claimID) view returns(bool)

func (*Chain33BridgeSession) IsProphecyClaimValidatorActive

func (_Chain33Bridge *Chain33BridgeSession) IsProphecyClaimValidatorActive(_claimID [32]byte) (bool, error)

IsProphecyClaimValidatorActive is a free data retrieval call binding the contract method 0x6536be5a.

Solidity: function isProphecyClaimValidatorActive(bytes32 _claimID) view returns(bool)

func (*Chain33BridgeSession) IsValidClaimType

func (_Chain33Bridge *Chain33BridgeSession) IsValidClaimType(_claimType uint8) (bool, error)

IsValidClaimType is a free data retrieval call binding the contract method 0xf16e609a.

Solidity: function isValidClaimType(uint8 _claimType) pure returns(bool)

func (*Chain33BridgeSession) Operator

func (_Chain33Bridge *Chain33BridgeSession) Operator() (common.Address, error)

Operator is a free data retrieval call binding the contract method 0x570ca735.

Solidity: function operator() view returns(address)

func (*Chain33BridgeSession) Oracle

func (_Chain33Bridge *Chain33BridgeSession) Oracle() (common.Address, error)

Oracle is a free data retrieval call binding the contract method 0x7dc0d1d0.

Solidity: function oracle() view returns(address)

func (*Chain33BridgeSession) ProphecyClaimCount

func (_Chain33Bridge *Chain33BridgeSession) ProphecyClaimCount() (*big.Int, error)

ProphecyClaimCount is a free data retrieval call binding the contract method 0x8ea5352d.

Solidity: function prophecyClaimCount() view returns(uint256)

func (*Chain33BridgeSession) ProphecyClaims

func (_Chain33Bridge *Chain33BridgeSession) ProphecyClaims(arg0 [32]byte) (struct {
	ClaimType         uint8
	Chain33Sender     []byte
	EthereumReceiver  common.Address
	OriginalValidator common.Address
	TokenAddress      common.Address
	Symbol            string
	Amount            *big.Int
	Status            uint8
}, error)

ProphecyClaims is a free data retrieval call binding the contract method 0xb47010f6.

Solidity: function prophecyClaims(bytes32 ) view returns(uint8 claimType, bytes chain33Sender, address ethereumReceiver, address originalValidator, address tokenAddress, string symbol, uint256 amount, uint8 status)

func (*Chain33BridgeSession) SetBridgeBank

func (_Chain33Bridge *Chain33BridgeSession) SetBridgeBank(_bridgeBank common.Address) (*types.Transaction, error)

SetBridgeBank is a paid mutator transaction binding the contract method 0x814c92c3.

Solidity: function setBridgeBank(address _bridgeBank) returns()

func (*Chain33BridgeSession) SetNewProphecyClaim

func (_Chain33Bridge *Chain33BridgeSession) SetNewProphecyClaim(_claimID [32]byte, _claimType uint8, _chain33Sender []byte, _ethereumReceiver common.Address, _originalValidator common.Address, _tokenAddress common.Address, _symbol string, _amount *big.Int) (*types.Transaction, error)

SetNewProphecyClaim is a paid mutator transaction binding the contract method 0x74c9c3e2.

Solidity: function setNewProphecyClaim(bytes32 _claimID, uint8 _claimType, bytes _chain33Sender, address _ethereumReceiver, address _originalValidator, address _tokenAddress, string _symbol, uint256 _amount) returns()

func (*Chain33BridgeSession) SetOracle

func (_Chain33Bridge *Chain33BridgeSession) SetOracle(_oracle common.Address) (*types.Transaction, error)

SetOracle is a paid mutator transaction binding the contract method 0x7adbf973.

Solidity: function setOracle(address _oracle) returns()

func (*Chain33BridgeSession) Valset

func (_Chain33Bridge *Chain33BridgeSession) Valset() (common.Address, error)

Valset is a free data retrieval call binding the contract method 0x7f54af0c.

Solidity: function valset() view returns(address)

type Chain33BridgeTransactor

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

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

func NewChain33BridgeTransactor

func NewChain33BridgeTransactor(address common.Address, transactor bind.ContractTransactor) (*Chain33BridgeTransactor, error)

NewChain33BridgeTransactor creates a new write-only instance of Chain33Bridge, bound to a specific deployed contract.

func (*Chain33BridgeTransactor) CompleteClaim

func (_Chain33Bridge *Chain33BridgeTransactor) CompleteClaim(opts *bind.TransactOpts, _claimID [32]byte) (*types.Transaction, error)

CompleteClaim is a paid mutator transaction binding the contract method 0x48164a6f.

Solidity: function completeClaim(bytes32 _claimID) returns()

func (*Chain33BridgeTransactor) SetBridgeBank

func (_Chain33Bridge *Chain33BridgeTransactor) SetBridgeBank(opts *bind.TransactOpts, _bridgeBank common.Address) (*types.Transaction, error)

SetBridgeBank is a paid mutator transaction binding the contract method 0x814c92c3.

Solidity: function setBridgeBank(address _bridgeBank) returns()

func (*Chain33BridgeTransactor) SetNewProphecyClaim

func (_Chain33Bridge *Chain33BridgeTransactor) SetNewProphecyClaim(opts *bind.TransactOpts, _claimID [32]byte, _claimType uint8, _chain33Sender []byte, _ethereumReceiver common.Address, _originalValidator common.Address, _tokenAddress common.Address, _symbol string, _amount *big.Int) (*types.Transaction, error)

SetNewProphecyClaim is a paid mutator transaction binding the contract method 0x74c9c3e2.

Solidity: function setNewProphecyClaim(bytes32 _claimID, uint8 _claimType, bytes _chain33Sender, address _ethereumReceiver, address _originalValidator, address _tokenAddress, string _symbol, uint256 _amount) returns()

func (*Chain33BridgeTransactor) SetOracle

func (_Chain33Bridge *Chain33BridgeTransactor) SetOracle(opts *bind.TransactOpts, _oracle common.Address) (*types.Transaction, error)

SetOracle is a paid mutator transaction binding the contract method 0x7adbf973.

Solidity: function setOracle(address _oracle) returns()

type Chain33BridgeTransactorRaw

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

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

func (*Chain33BridgeTransactorRaw) Transact

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

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

func (*Chain33BridgeTransactorRaw) Transfer

func (_Chain33Bridge *Chain33BridgeTransactorRaw) 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 Chain33BridgeTransactorSession

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

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

func (*Chain33BridgeTransactorSession) CompleteClaim

func (_Chain33Bridge *Chain33BridgeTransactorSession) CompleteClaim(_claimID [32]byte) (*types.Transaction, error)

CompleteClaim is a paid mutator transaction binding the contract method 0x48164a6f.

Solidity: function completeClaim(bytes32 _claimID) returns()

func (*Chain33BridgeTransactorSession) SetBridgeBank

func (_Chain33Bridge *Chain33BridgeTransactorSession) SetBridgeBank(_bridgeBank common.Address) (*types.Transaction, error)

SetBridgeBank is a paid mutator transaction binding the contract method 0x814c92c3.

Solidity: function setBridgeBank(address _bridgeBank) returns()

func (*Chain33BridgeTransactorSession) SetNewProphecyClaim

func (_Chain33Bridge *Chain33BridgeTransactorSession) SetNewProphecyClaim(_claimID [32]byte, _claimType uint8, _chain33Sender []byte, _ethereumReceiver common.Address, _originalValidator common.Address, _tokenAddress common.Address, _symbol string, _amount *big.Int) (*types.Transaction, error)

SetNewProphecyClaim is a paid mutator transaction binding the contract method 0x74c9c3e2.

Solidity: function setNewProphecyClaim(bytes32 _claimID, uint8 _claimType, bytes _chain33Sender, address _ethereumReceiver, address _originalValidator, address _tokenAddress, string _symbol, uint256 _amount) returns()

func (*Chain33BridgeTransactorSession) SetOracle

func (_Chain33Bridge *Chain33BridgeTransactorSession) SetOracle(_oracle common.Address) (*types.Transaction, error)

SetOracle is a paid mutator transaction binding the contract method 0x7adbf973.

Solidity: function setOracle(address _oracle) returns()

type Context

type Context struct {
	ContextCaller     // Read-only binding to the contract
	ContextTransactor // Write-only binding to the contract
	ContextFilterer   // Log filterer for contract events
}

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

func NewContext

func NewContext(address common.Address, backend bind.ContractBackend) (*Context, error)

NewContext creates a new instance of Context, bound to a specific deployed contract.

type ContextCaller

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

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

func NewContextCaller

func NewContextCaller(address common.Address, caller bind.ContractCaller) (*ContextCaller, error)

NewContextCaller creates a new read-only instance of Context, bound to a specific deployed contract.

type ContextCallerRaw

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

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

func (*ContextCallerRaw) Call

func (_Context *ContextCallerRaw) 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 ContextCallerSession

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

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

type ContextFilterer

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

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

func NewContextFilterer

func NewContextFilterer(address common.Address, filterer bind.ContractFilterer) (*ContextFilterer, error)

NewContextFilterer creates a new log filterer instance of Context, bound to a specific deployed contract.

type ContextRaw

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

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

func (*ContextRaw) Call

func (_Context *ContextRaw) 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 (*ContextRaw) Transact

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

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

func (*ContextRaw) Transfer

func (_Context *ContextRaw) 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 ContextSession

type ContextSession struct {
	Contract     *Context          // 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
}

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

type ContextTransactor

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

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

func NewContextTransactor

func NewContextTransactor(address common.Address, transactor bind.ContractTransactor) (*ContextTransactor, error)

NewContextTransactor creates a new write-only instance of Context, bound to a specific deployed contract.

type ContextTransactorRaw

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

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

func (*ContextTransactorRaw) Transact

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

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

func (*ContextTransactorRaw) Transfer

func (_Context *ContextTransactorRaw) 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 ContextTransactorSession

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

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

type ECDSA

type ECDSA struct {
	ECDSACaller     // Read-only binding to the contract
	ECDSATransactor // Write-only binding to the contract
	ECDSAFilterer   // Log filterer for contract events
}

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

func DeployECDSA

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

DeployECDSA deploys a new Ethereum contract, binding an instance of ECDSA to it.

func NewECDSA

func NewECDSA(address common.Address, backend bind.ContractBackend) (*ECDSA, error)

NewECDSA creates a new instance of ECDSA, bound to a specific deployed contract.

type ECDSACaller

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

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

func NewECDSACaller

func NewECDSACaller(address common.Address, caller bind.ContractCaller) (*ECDSACaller, error)

NewECDSACaller creates a new read-only instance of ECDSA, bound to a specific deployed contract.

type ECDSACallerRaw

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

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

func (*ECDSACallerRaw) Call

func (_ECDSA *ECDSACallerRaw) 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 ECDSACallerSession

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

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

type ECDSAFilterer

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

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

func NewECDSAFilterer

func NewECDSAFilterer(address common.Address, filterer bind.ContractFilterer) (*ECDSAFilterer, error)

NewECDSAFilterer creates a new log filterer instance of ECDSA, bound to a specific deployed contract.

type ECDSARaw

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

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

func (*ECDSARaw) Call

func (_ECDSA *ECDSARaw) 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 (*ECDSARaw) Transact

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

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

func (*ECDSARaw) Transfer

func (_ECDSA *ECDSARaw) 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 ECDSASession

type ECDSASession struct {
	Contract     *ECDSA            // 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
}

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

type ECDSATransactor

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

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

func NewECDSATransactor

func NewECDSATransactor(address common.Address, transactor bind.ContractTransactor) (*ECDSATransactor, error)

NewECDSATransactor creates a new write-only instance of ECDSA, bound to a specific deployed contract.

type ECDSATransactorRaw

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

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

func (*ECDSATransactorRaw) Transact

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

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

func (*ECDSATransactorRaw) Transfer

func (_ECDSA *ECDSATransactorRaw) 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 ECDSATransactorSession

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

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

type ERC20

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

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

func DeployERC20

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

DeployERC20 deploys a new Ethereum contract, binding an instance of ERC20 to it.

func NewERC20

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

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

type ERC20Approval

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

ERC20Approval represents a Approval event raised by the ERC20 contract.

type ERC20ApprovalIterator

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

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

func (*ERC20ApprovalIterator) Close

func (it *ERC20ApprovalIterator) Close() error

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

func (*ERC20ApprovalIterator) Error

func (it *ERC20ApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC20ApprovalIterator) Next

func (it *ERC20ApprovalIterator) Next() bool

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

type ERC20Burnable

type ERC20Burnable struct {
	ERC20BurnableCaller     // Read-only binding to the contract
	ERC20BurnableTransactor // Write-only binding to the contract
	ERC20BurnableFilterer   // Log filterer for contract events
}

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

func DeployERC20Burnable

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

DeployERC20Burnable deploys a new Ethereum contract, binding an instance of ERC20Burnable to it.

func NewERC20Burnable

func NewERC20Burnable(address common.Address, backend bind.ContractBackend) (*ERC20Burnable, error)

NewERC20Burnable creates a new instance of ERC20Burnable, bound to a specific deployed contract.

type ERC20BurnableApproval

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

ERC20BurnableApproval represents a Approval event raised by the ERC20Burnable contract.

type ERC20BurnableApprovalIterator

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

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

func (*ERC20BurnableApprovalIterator) Close

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

func (*ERC20BurnableApprovalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC20BurnableApprovalIterator) 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 ERC20BurnableCaller

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

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

func NewERC20BurnableCaller

func NewERC20BurnableCaller(address common.Address, caller bind.ContractCaller) (*ERC20BurnableCaller, error)

NewERC20BurnableCaller creates a new read-only instance of ERC20Burnable, bound to a specific deployed contract.

func (*ERC20BurnableCaller) Allowance

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

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

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

func (*ERC20BurnableCaller) BalanceOf

func (_ERC20Burnable *ERC20BurnableCaller) 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) view returns(uint256)

func (*ERC20BurnableCaller) TotalSupply

func (_ERC20Burnable *ERC20BurnableCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type ERC20BurnableCallerRaw

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

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

func (*ERC20BurnableCallerRaw) Call

func (_ERC20Burnable *ERC20BurnableCallerRaw) 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 ERC20BurnableCallerSession

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

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

func (*ERC20BurnableCallerSession) Allowance

func (_ERC20Burnable *ERC20BurnableCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

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

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

func (*ERC20BurnableCallerSession) BalanceOf

func (_ERC20Burnable *ERC20BurnableCallerSession) BalanceOf(account common.Address) (*big.Int, error)

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

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

func (*ERC20BurnableCallerSession) TotalSupply

func (_ERC20Burnable *ERC20BurnableCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type ERC20BurnableFilterer

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

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

func NewERC20BurnableFilterer

func NewERC20BurnableFilterer(address common.Address, filterer bind.ContractFilterer) (*ERC20BurnableFilterer, error)

NewERC20BurnableFilterer creates a new log filterer instance of ERC20Burnable, bound to a specific deployed contract.

func (*ERC20BurnableFilterer) FilterApproval

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

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

func (_ERC20Burnable *ERC20BurnableFilterer) ParseApproval(log types.Log) (*ERC20BurnableApproval, error)

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

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

func (*ERC20BurnableFilterer) ParseTransfer

func (_ERC20Burnable *ERC20BurnableFilterer) ParseTransfer(log types.Log) (*ERC20BurnableTransfer, error)

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

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

func (*ERC20BurnableFilterer) WatchApproval

func (_ERC20Burnable *ERC20BurnableFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC20BurnableApproval, 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 (*ERC20BurnableFilterer) WatchTransfer

func (_ERC20Burnable *ERC20BurnableFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20BurnableTransfer, 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 ERC20BurnableRaw

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

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

func (*ERC20BurnableRaw) Call

func (_ERC20Burnable *ERC20BurnableRaw) 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 (*ERC20BurnableRaw) Transact

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

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

func (*ERC20BurnableRaw) Transfer

func (_ERC20Burnable *ERC20BurnableRaw) 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 ERC20BurnableSession

type ERC20BurnableSession struct {
	Contract     *ERC20Burnable    // 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
}

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

func (*ERC20BurnableSession) Allowance

func (_ERC20Burnable *ERC20BurnableSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

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

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

func (*ERC20BurnableSession) Approve

func (_ERC20Burnable *ERC20BurnableSession) 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 (*ERC20BurnableSession) BalanceOf

func (_ERC20Burnable *ERC20BurnableSession) BalanceOf(account common.Address) (*big.Int, error)

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

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

func (*ERC20BurnableSession) Burn

func (_ERC20Burnable *ERC20BurnableSession) Burn(amount *big.Int) (*types.Transaction, error)

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

Solidity: function burn(uint256 amount) returns()

func (*ERC20BurnableSession) BurnFrom

func (_ERC20Burnable *ERC20BurnableSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)

BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.

Solidity: function burnFrom(address account, uint256 amount) returns()

func (*ERC20BurnableSession) DecreaseAllowance

func (_ERC20Burnable *ERC20BurnableSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*ERC20BurnableSession) IncreaseAllowance

func (_ERC20Burnable *ERC20BurnableSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*ERC20BurnableSession) TotalSupply

func (_ERC20Burnable *ERC20BurnableSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*ERC20BurnableSession) Transfer

func (_ERC20Burnable *ERC20BurnableSession) 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 (*ERC20BurnableSession) TransferFrom

func (_ERC20Burnable *ERC20BurnableSession) 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 ERC20BurnableTransactor

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

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

func NewERC20BurnableTransactor

func NewERC20BurnableTransactor(address common.Address, transactor bind.ContractTransactor) (*ERC20BurnableTransactor, error)

NewERC20BurnableTransactor creates a new write-only instance of ERC20Burnable, bound to a specific deployed contract.

func (*ERC20BurnableTransactor) Approve

func (_ERC20Burnable *ERC20BurnableTransactor) 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 (*ERC20BurnableTransactor) Burn

func (_ERC20Burnable *ERC20BurnableTransactor) Burn(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)

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

Solidity: function burn(uint256 amount) returns()

func (*ERC20BurnableTransactor) BurnFrom

func (_ERC20Burnable *ERC20BurnableTransactor) BurnFrom(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error)

BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.

Solidity: function burnFrom(address account, uint256 amount) returns()

func (*ERC20BurnableTransactor) DecreaseAllowance

func (_ERC20Burnable *ERC20BurnableTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*ERC20BurnableTransactor) IncreaseAllowance

func (_ERC20Burnable *ERC20BurnableTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*ERC20BurnableTransactor) Transfer

func (_ERC20Burnable *ERC20BurnableTransactor) 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 (*ERC20BurnableTransactor) TransferFrom

func (_ERC20Burnable *ERC20BurnableTransactor) 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 ERC20BurnableTransactorRaw

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

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

func (*ERC20BurnableTransactorRaw) Transact

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

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

func (*ERC20BurnableTransactorRaw) Transfer

func (_ERC20Burnable *ERC20BurnableTransactorRaw) 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 ERC20BurnableTransactorSession

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

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

func (*ERC20BurnableTransactorSession) Approve

func (_ERC20Burnable *ERC20BurnableTransactorSession) 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 (*ERC20BurnableTransactorSession) Burn

func (_ERC20Burnable *ERC20BurnableTransactorSession) Burn(amount *big.Int) (*types.Transaction, error)

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

Solidity: function burn(uint256 amount) returns()

func (*ERC20BurnableTransactorSession) BurnFrom

func (_ERC20Burnable *ERC20BurnableTransactorSession) BurnFrom(account common.Address, amount *big.Int) (*types.Transaction, error)

BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.

Solidity: function burnFrom(address account, uint256 amount) returns()

func (*ERC20BurnableTransactorSession) DecreaseAllowance

func (_ERC20Burnable *ERC20BurnableTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*ERC20BurnableTransactorSession) IncreaseAllowance

func (_ERC20Burnable *ERC20BurnableTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*ERC20BurnableTransactorSession) Transfer

func (_ERC20Burnable *ERC20BurnableTransactorSession) 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 (*ERC20BurnableTransactorSession) TransferFrom

func (_ERC20Burnable *ERC20BurnableTransactorSession) 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 ERC20BurnableTransfer

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

ERC20BurnableTransfer represents a Transfer event raised by the ERC20Burnable contract.

type ERC20BurnableTransferIterator

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

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

func (*ERC20BurnableTransferIterator) Close

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

func (*ERC20BurnableTransferIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC20BurnableTransferIterator) 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 ERC20Caller

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

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

func NewERC20Caller

func NewERC20Caller(address common.Address, caller bind.ContractCaller) (*ERC20Caller, error)

NewERC20Caller creates a new read-only instance of ERC20, bound to a specific deployed contract.

func (*ERC20Caller) Allowance

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

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

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

func (*ERC20Caller) BalanceOf

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

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

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

func (*ERC20Caller) TotalSupply

func (_ERC20 *ERC20Caller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type ERC20CallerRaw

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

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

func (*ERC20CallerRaw) Call

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

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

type ERC20CallerSession

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

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

func (*ERC20CallerSession) Allowance

func (_ERC20 *ERC20CallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

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

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

func (*ERC20CallerSession) BalanceOf

func (_ERC20 *ERC20CallerSession) BalanceOf(account common.Address) (*big.Int, error)

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

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

func (*ERC20CallerSession) TotalSupply

func (_ERC20 *ERC20CallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type ERC20Detailed

type ERC20Detailed struct {
	ERC20DetailedCaller     // Read-only binding to the contract
	ERC20DetailedTransactor // Write-only binding to the contract
	ERC20DetailedFilterer   // Log filterer for contract events
}

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

func NewERC20Detailed

func NewERC20Detailed(address common.Address, backend bind.ContractBackend) (*ERC20Detailed, error)

NewERC20Detailed creates a new instance of ERC20Detailed, bound to a specific deployed contract.

type ERC20DetailedApproval

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

ERC20DetailedApproval represents a Approval event raised by the ERC20Detailed contract.

type ERC20DetailedApprovalIterator

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

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

func (*ERC20DetailedApprovalIterator) Close

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

func (*ERC20DetailedApprovalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC20DetailedApprovalIterator) 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 ERC20DetailedCaller

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

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

func NewERC20DetailedCaller

func NewERC20DetailedCaller(address common.Address, caller bind.ContractCaller) (*ERC20DetailedCaller, error)

NewERC20DetailedCaller creates a new read-only instance of ERC20Detailed, bound to a specific deployed contract.

func (*ERC20DetailedCaller) Allowance

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

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

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

func (*ERC20DetailedCaller) BalanceOf

func (_ERC20Detailed *ERC20DetailedCaller) 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) view returns(uint256)

func (*ERC20DetailedCaller) Decimals

func (_ERC20Detailed *ERC20DetailedCaller) Decimals(opts *bind.CallOpts) (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*ERC20DetailedCaller) Name

func (_ERC20Detailed *ERC20DetailedCaller) Name(opts *bind.CallOpts) (string, error)

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

Solidity: function name() view returns(string)

func (*ERC20DetailedCaller) Symbol

func (_ERC20Detailed *ERC20DetailedCaller) Symbol(opts *bind.CallOpts) (string, error)

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

Solidity: function symbol() view returns(string)

func (*ERC20DetailedCaller) TotalSupply

func (_ERC20Detailed *ERC20DetailedCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type ERC20DetailedCallerRaw

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

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

func (*ERC20DetailedCallerRaw) Call

func (_ERC20Detailed *ERC20DetailedCallerRaw) 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 ERC20DetailedCallerSession

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

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

func (*ERC20DetailedCallerSession) Allowance

func (_ERC20Detailed *ERC20DetailedCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

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

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

func (*ERC20DetailedCallerSession) BalanceOf

func (_ERC20Detailed *ERC20DetailedCallerSession) BalanceOf(account common.Address) (*big.Int, error)

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

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

func (*ERC20DetailedCallerSession) Decimals

func (_ERC20Detailed *ERC20DetailedCallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*ERC20DetailedCallerSession) Name

func (_ERC20Detailed *ERC20DetailedCallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*ERC20DetailedCallerSession) Symbol

func (_ERC20Detailed *ERC20DetailedCallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*ERC20DetailedCallerSession) TotalSupply

func (_ERC20Detailed *ERC20DetailedCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type ERC20DetailedFilterer

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

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

func NewERC20DetailedFilterer

func NewERC20DetailedFilterer(address common.Address, filterer bind.ContractFilterer) (*ERC20DetailedFilterer, error)

NewERC20DetailedFilterer creates a new log filterer instance of ERC20Detailed, bound to a specific deployed contract.

func (*ERC20DetailedFilterer) FilterApproval

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

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

func (_ERC20Detailed *ERC20DetailedFilterer) ParseApproval(log types.Log) (*ERC20DetailedApproval, error)

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

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

func (*ERC20DetailedFilterer) ParseTransfer

func (_ERC20Detailed *ERC20DetailedFilterer) ParseTransfer(log types.Log) (*ERC20DetailedTransfer, error)

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

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

func (*ERC20DetailedFilterer) WatchApproval

func (_ERC20Detailed *ERC20DetailedFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC20DetailedApproval, 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 (*ERC20DetailedFilterer) WatchTransfer

func (_ERC20Detailed *ERC20DetailedFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20DetailedTransfer, 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 ERC20DetailedRaw

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

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

func (*ERC20DetailedRaw) Call

func (_ERC20Detailed *ERC20DetailedRaw) 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 (*ERC20DetailedRaw) Transact

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

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

func (*ERC20DetailedRaw) Transfer

func (_ERC20Detailed *ERC20DetailedRaw) 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 ERC20DetailedSession

type ERC20DetailedSession struct {
	Contract     *ERC20Detailed    // 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
}

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

func (*ERC20DetailedSession) Allowance

func (_ERC20Detailed *ERC20DetailedSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

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

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

func (*ERC20DetailedSession) Approve

func (_ERC20Detailed *ERC20DetailedSession) 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 (*ERC20DetailedSession) BalanceOf

func (_ERC20Detailed *ERC20DetailedSession) BalanceOf(account common.Address) (*big.Int, error)

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

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

func (*ERC20DetailedSession) Decimals

func (_ERC20Detailed *ERC20DetailedSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*ERC20DetailedSession) Name

func (_ERC20Detailed *ERC20DetailedSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*ERC20DetailedSession) Symbol

func (_ERC20Detailed *ERC20DetailedSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*ERC20DetailedSession) TotalSupply

func (_ERC20Detailed *ERC20DetailedSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*ERC20DetailedSession) Transfer

func (_ERC20Detailed *ERC20DetailedSession) 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 (*ERC20DetailedSession) TransferFrom

func (_ERC20Detailed *ERC20DetailedSession) 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 ERC20DetailedTransactor

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

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

func NewERC20DetailedTransactor

func NewERC20DetailedTransactor(address common.Address, transactor bind.ContractTransactor) (*ERC20DetailedTransactor, error)

NewERC20DetailedTransactor creates a new write-only instance of ERC20Detailed, bound to a specific deployed contract.

func (*ERC20DetailedTransactor) Approve

func (_ERC20Detailed *ERC20DetailedTransactor) 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 (*ERC20DetailedTransactor) Transfer

func (_ERC20Detailed *ERC20DetailedTransactor) 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 (*ERC20DetailedTransactor) TransferFrom

func (_ERC20Detailed *ERC20DetailedTransactor) 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 ERC20DetailedTransactorRaw

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

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

func (*ERC20DetailedTransactorRaw) Transact

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

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

func (*ERC20DetailedTransactorRaw) Transfer

func (_ERC20Detailed *ERC20DetailedTransactorRaw) 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 ERC20DetailedTransactorSession

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

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

func (*ERC20DetailedTransactorSession) Approve

func (_ERC20Detailed *ERC20DetailedTransactorSession) 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 (*ERC20DetailedTransactorSession) Transfer

func (_ERC20Detailed *ERC20DetailedTransactorSession) 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 (*ERC20DetailedTransactorSession) TransferFrom

func (_ERC20Detailed *ERC20DetailedTransactorSession) 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 ERC20DetailedTransfer

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

ERC20DetailedTransfer represents a Transfer event raised by the ERC20Detailed contract.

type ERC20DetailedTransferIterator

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

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

func (*ERC20DetailedTransferIterator) Close

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

func (*ERC20DetailedTransferIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC20DetailedTransferIterator) 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 ERC20Filterer

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

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

func NewERC20Filterer

func NewERC20Filterer(address common.Address, filterer bind.ContractFilterer) (*ERC20Filterer, error)

NewERC20Filterer creates a new log filterer instance of ERC20, bound to a specific deployed contract.

func (*ERC20Filterer) FilterApproval

func (_ERC20 *ERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ERC20ApprovalIterator, error)

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

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

func (*ERC20Filterer) FilterTransfer

func (_ERC20 *ERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ERC20TransferIterator, error)

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

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

func (*ERC20Filterer) ParseApproval

func (_ERC20 *ERC20Filterer) ParseApproval(log types.Log) (*ERC20Approval, error)

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

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

func (*ERC20Filterer) ParseTransfer

func (_ERC20 *ERC20Filterer) ParseTransfer(log types.Log) (*ERC20Transfer, error)

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

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

func (*ERC20Filterer) WatchApproval

func (_ERC20 *ERC20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC20Approval, owner []common.Address, spender []common.Address) (event.Subscription, error)

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

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

func (*ERC20Filterer) WatchTransfer

func (_ERC20 *ERC20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20Transfer, from []common.Address, to []common.Address) (event.Subscription, error)

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

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

type ERC20Mintable

type ERC20Mintable struct {
	ERC20MintableCaller     // Read-only binding to the contract
	ERC20MintableTransactor // Write-only binding to the contract
	ERC20MintableFilterer   // Log filterer for contract events
}

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

func DeployERC20Mintable

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

DeployERC20Mintable deploys a new Ethereum contract, binding an instance of ERC20Mintable to it.

func NewERC20Mintable

func NewERC20Mintable(address common.Address, backend bind.ContractBackend) (*ERC20Mintable, error)

NewERC20Mintable creates a new instance of ERC20Mintable, bound to a specific deployed contract.

type ERC20MintableApproval

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

ERC20MintableApproval represents a Approval event raised by the ERC20Mintable contract.

type ERC20MintableApprovalIterator

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

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

func (*ERC20MintableApprovalIterator) Close

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

func (*ERC20MintableApprovalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC20MintableApprovalIterator) 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 ERC20MintableCaller

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

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

func NewERC20MintableCaller

func NewERC20MintableCaller(address common.Address, caller bind.ContractCaller) (*ERC20MintableCaller, error)

NewERC20MintableCaller creates a new read-only instance of ERC20Mintable, bound to a specific deployed contract.

func (*ERC20MintableCaller) Allowance

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

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

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

func (*ERC20MintableCaller) BalanceOf

func (_ERC20Mintable *ERC20MintableCaller) 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) view returns(uint256)

func (*ERC20MintableCaller) IsMinter

func (_ERC20Mintable *ERC20MintableCaller) IsMinter(opts *bind.CallOpts, account common.Address) (bool, error)

IsMinter is a free data retrieval call binding the contract method 0xaa271e1a.

Solidity: function isMinter(address account) view returns(bool)

func (*ERC20MintableCaller) TotalSupply

func (_ERC20Mintable *ERC20MintableCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type ERC20MintableCallerRaw

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

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

func (*ERC20MintableCallerRaw) Call

func (_ERC20Mintable *ERC20MintableCallerRaw) 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 ERC20MintableCallerSession

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

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

func (*ERC20MintableCallerSession) Allowance

func (_ERC20Mintable *ERC20MintableCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

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

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

func (*ERC20MintableCallerSession) BalanceOf

func (_ERC20Mintable *ERC20MintableCallerSession) BalanceOf(account common.Address) (*big.Int, error)

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

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

func (*ERC20MintableCallerSession) IsMinter

func (_ERC20Mintable *ERC20MintableCallerSession) IsMinter(account common.Address) (bool, error)

IsMinter is a free data retrieval call binding the contract method 0xaa271e1a.

Solidity: function isMinter(address account) view returns(bool)

func (*ERC20MintableCallerSession) TotalSupply

func (_ERC20Mintable *ERC20MintableCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type ERC20MintableFilterer

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

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

func NewERC20MintableFilterer

func NewERC20MintableFilterer(address common.Address, filterer bind.ContractFilterer) (*ERC20MintableFilterer, error)

NewERC20MintableFilterer creates a new log filterer instance of ERC20Mintable, bound to a specific deployed contract.

func (*ERC20MintableFilterer) FilterApproval

func (_ERC20Mintable *ERC20MintableFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ERC20MintableApprovalIterator, 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 (*ERC20MintableFilterer) FilterMinterAdded

func (_ERC20Mintable *ERC20MintableFilterer) FilterMinterAdded(opts *bind.FilterOpts, account []common.Address) (*ERC20MintableMinterAddedIterator, error)

FilterMinterAdded is a free log retrieval operation binding the contract event 0x6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f6.

Solidity: event MinterAdded(address indexed account)

func (*ERC20MintableFilterer) FilterMinterRemoved

func (_ERC20Mintable *ERC20MintableFilterer) FilterMinterRemoved(opts *bind.FilterOpts, account []common.Address) (*ERC20MintableMinterRemovedIterator, error)

FilterMinterRemoved is a free log retrieval operation binding the contract event 0xe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb66692.

Solidity: event MinterRemoved(address indexed account)

func (*ERC20MintableFilterer) FilterTransfer

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

func (_ERC20Mintable *ERC20MintableFilterer) ParseApproval(log types.Log) (*ERC20MintableApproval, error)

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

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

func (*ERC20MintableFilterer) ParseMinterAdded

func (_ERC20Mintable *ERC20MintableFilterer) ParseMinterAdded(log types.Log) (*ERC20MintableMinterAdded, error)

ParseMinterAdded is a log parse operation binding the contract event 0x6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f6.

Solidity: event MinterAdded(address indexed account)

func (*ERC20MintableFilterer) ParseMinterRemoved

func (_ERC20Mintable *ERC20MintableFilterer) ParseMinterRemoved(log types.Log) (*ERC20MintableMinterRemoved, error)

ParseMinterRemoved is a log parse operation binding the contract event 0xe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb66692.

Solidity: event MinterRemoved(address indexed account)

func (*ERC20MintableFilterer) ParseTransfer

func (_ERC20Mintable *ERC20MintableFilterer) ParseTransfer(log types.Log) (*ERC20MintableTransfer, error)

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

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

func (*ERC20MintableFilterer) WatchApproval

func (_ERC20Mintable *ERC20MintableFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC20MintableApproval, 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 (*ERC20MintableFilterer) WatchMinterAdded

func (_ERC20Mintable *ERC20MintableFilterer) WatchMinterAdded(opts *bind.WatchOpts, sink chan<- *ERC20MintableMinterAdded, account []common.Address) (event.Subscription, error)

WatchMinterAdded is a free log subscription operation binding the contract event 0x6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f6.

Solidity: event MinterAdded(address indexed account)

func (*ERC20MintableFilterer) WatchMinterRemoved

func (_ERC20Mintable *ERC20MintableFilterer) WatchMinterRemoved(opts *bind.WatchOpts, sink chan<- *ERC20MintableMinterRemoved, account []common.Address) (event.Subscription, error)

WatchMinterRemoved is a free log subscription operation binding the contract event 0xe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb66692.

Solidity: event MinterRemoved(address indexed account)

func (*ERC20MintableFilterer) WatchTransfer

func (_ERC20Mintable *ERC20MintableFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20MintableTransfer, 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 ERC20MintableMinterAdded

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

ERC20MintableMinterAdded represents a MinterAdded event raised by the ERC20Mintable contract.

type ERC20MintableMinterAddedIterator

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

ERC20MintableMinterAddedIterator is returned from FilterMinterAdded and is used to iterate over the raw logs and unpacked data for MinterAdded events raised by the ERC20Mintable contract.

func (*ERC20MintableMinterAddedIterator) Close

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

func (*ERC20MintableMinterAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC20MintableMinterAddedIterator) 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 ERC20MintableMinterRemoved

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

ERC20MintableMinterRemoved represents a MinterRemoved event raised by the ERC20Mintable contract.

type ERC20MintableMinterRemovedIterator

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

ERC20MintableMinterRemovedIterator is returned from FilterMinterRemoved and is used to iterate over the raw logs and unpacked data for MinterRemoved events raised by the ERC20Mintable contract.

func (*ERC20MintableMinterRemovedIterator) Close

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

func (*ERC20MintableMinterRemovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC20MintableMinterRemovedIterator) 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 ERC20MintableRaw

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

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

func (*ERC20MintableRaw) Call

func (_ERC20Mintable *ERC20MintableRaw) 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 (*ERC20MintableRaw) Transact

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

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

func (*ERC20MintableRaw) Transfer

func (_ERC20Mintable *ERC20MintableRaw) 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 ERC20MintableSession

type ERC20MintableSession struct {
	Contract     *ERC20Mintable    // 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
}

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

func (*ERC20MintableSession) AddMinter

func (_ERC20Mintable *ERC20MintableSession) AddMinter(account common.Address) (*types.Transaction, error)

AddMinter is a paid mutator transaction binding the contract method 0x983b2d56.

Solidity: function addMinter(address account) returns()

func (*ERC20MintableSession) Allowance

func (_ERC20Mintable *ERC20MintableSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

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

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

func (*ERC20MintableSession) Approve

func (_ERC20Mintable *ERC20MintableSession) 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 (*ERC20MintableSession) BalanceOf

func (_ERC20Mintable *ERC20MintableSession) BalanceOf(account common.Address) (*big.Int, error)

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

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

func (*ERC20MintableSession) DecreaseAllowance

func (_ERC20Mintable *ERC20MintableSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*ERC20MintableSession) IncreaseAllowance

func (_ERC20Mintable *ERC20MintableSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*ERC20MintableSession) IsMinter

func (_ERC20Mintable *ERC20MintableSession) IsMinter(account common.Address) (bool, error)

IsMinter is a free data retrieval call binding the contract method 0xaa271e1a.

Solidity: function isMinter(address account) view returns(bool)

func (*ERC20MintableSession) Mint

func (_ERC20Mintable *ERC20MintableSession) Mint(account common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function mint(address account, uint256 amount) returns(bool)

func (*ERC20MintableSession) RenounceMinter

func (_ERC20Mintable *ERC20MintableSession) RenounceMinter() (*types.Transaction, error)

RenounceMinter is a paid mutator transaction binding the contract method 0x98650275.

Solidity: function renounceMinter() returns()

func (*ERC20MintableSession) TotalSupply

func (_ERC20Mintable *ERC20MintableSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*ERC20MintableSession) Transfer

func (_ERC20Mintable *ERC20MintableSession) 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 (*ERC20MintableSession) TransferFrom

func (_ERC20Mintable *ERC20MintableSession) 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 ERC20MintableTransactor

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

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

func NewERC20MintableTransactor

func NewERC20MintableTransactor(address common.Address, transactor bind.ContractTransactor) (*ERC20MintableTransactor, error)

NewERC20MintableTransactor creates a new write-only instance of ERC20Mintable, bound to a specific deployed contract.

func (*ERC20MintableTransactor) AddMinter

func (_ERC20Mintable *ERC20MintableTransactor) AddMinter(opts *bind.TransactOpts, account common.Address) (*types.Transaction, error)

AddMinter is a paid mutator transaction binding the contract method 0x983b2d56.

Solidity: function addMinter(address account) returns()

func (*ERC20MintableTransactor) Approve

func (_ERC20Mintable *ERC20MintableTransactor) 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 (*ERC20MintableTransactor) DecreaseAllowance

func (_ERC20Mintable *ERC20MintableTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*ERC20MintableTransactor) IncreaseAllowance

func (_ERC20Mintable *ERC20MintableTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*ERC20MintableTransactor) Mint

func (_ERC20Mintable *ERC20MintableTransactor) Mint(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function mint(address account, uint256 amount) returns(bool)

func (*ERC20MintableTransactor) RenounceMinter

func (_ERC20Mintable *ERC20MintableTransactor) RenounceMinter(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceMinter is a paid mutator transaction binding the contract method 0x98650275.

Solidity: function renounceMinter() returns()

func (*ERC20MintableTransactor) Transfer

func (_ERC20Mintable *ERC20MintableTransactor) 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 (*ERC20MintableTransactor) TransferFrom

func (_ERC20Mintable *ERC20MintableTransactor) 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 ERC20MintableTransactorRaw

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

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

func (*ERC20MintableTransactorRaw) Transact

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

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

func (*ERC20MintableTransactorRaw) Transfer

func (_ERC20Mintable *ERC20MintableTransactorRaw) 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 ERC20MintableTransactorSession

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

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

func (*ERC20MintableTransactorSession) AddMinter

func (_ERC20Mintable *ERC20MintableTransactorSession) AddMinter(account common.Address) (*types.Transaction, error)

AddMinter is a paid mutator transaction binding the contract method 0x983b2d56.

Solidity: function addMinter(address account) returns()

func (*ERC20MintableTransactorSession) Approve

func (_ERC20Mintable *ERC20MintableTransactorSession) 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 (*ERC20MintableTransactorSession) DecreaseAllowance

func (_ERC20Mintable *ERC20MintableTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*ERC20MintableTransactorSession) IncreaseAllowance

func (_ERC20Mintable *ERC20MintableTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*ERC20MintableTransactorSession) Mint

func (_ERC20Mintable *ERC20MintableTransactorSession) Mint(account common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function mint(address account, uint256 amount) returns(bool)

func (*ERC20MintableTransactorSession) RenounceMinter

func (_ERC20Mintable *ERC20MintableTransactorSession) RenounceMinter() (*types.Transaction, error)

RenounceMinter is a paid mutator transaction binding the contract method 0x98650275.

Solidity: function renounceMinter() returns()

func (*ERC20MintableTransactorSession) Transfer

func (_ERC20Mintable *ERC20MintableTransactorSession) 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 (*ERC20MintableTransactorSession) TransferFrom

func (_ERC20Mintable *ERC20MintableTransactorSession) 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 ERC20MintableTransfer

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

ERC20MintableTransfer represents a Transfer event raised by the ERC20Mintable contract.

type ERC20MintableTransferIterator

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

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

func (*ERC20MintableTransferIterator) Close

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

func (*ERC20MintableTransferIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC20MintableTransferIterator) 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 ERC20Raw

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

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

func (*ERC20Raw) Call

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

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

func (*ERC20Raw) Transact

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

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

func (*ERC20Raw) Transfer

func (_ERC20 *ERC20Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

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

type ERC20Session

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

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

func (*ERC20Session) Allowance

func (_ERC20 *ERC20Session) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

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

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

func (*ERC20Session) Approve

func (_ERC20 *ERC20Session) Approve(spender common.Address, 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 (*ERC20Session) BalanceOf

func (_ERC20 *ERC20Session) BalanceOf(account common.Address) (*big.Int, error)

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

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

func (*ERC20Session) DecreaseAllowance

func (_ERC20 *ERC20Session) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*ERC20Session) IncreaseAllowance

func (_ERC20 *ERC20Session) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*ERC20Session) TotalSupply

func (_ERC20 *ERC20Session) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*ERC20Session) Transfer

func (_ERC20 *ERC20Session) Transfer(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 (*ERC20Session) TransferFrom

func (_ERC20 *ERC20Session) 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 ERC20Transactor

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

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

func NewERC20Transactor

func NewERC20Transactor(address common.Address, transactor bind.ContractTransactor) (*ERC20Transactor, error)

NewERC20Transactor creates a new write-only instance of ERC20, bound to a specific deployed contract.

func (*ERC20Transactor) Approve

func (_ERC20 *ERC20Transactor) Approve(opts *bind.TransactOpts, spender common.Address, 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 (*ERC20Transactor) DecreaseAllowance

func (_ERC20 *ERC20Transactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*ERC20Transactor) IncreaseAllowance

func (_ERC20 *ERC20Transactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*ERC20Transactor) Transfer

func (_ERC20 *ERC20Transactor) 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 (*ERC20Transactor) TransferFrom

func (_ERC20 *ERC20Transactor) 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 ERC20TransactorRaw

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

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

func (*ERC20TransactorRaw) Transact

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

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

func (*ERC20TransactorRaw) Transfer

func (_ERC20 *ERC20TransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

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

type ERC20TransactorSession

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

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

func (*ERC20TransactorSession) Approve

func (_ERC20 *ERC20TransactorSession) Approve(spender common.Address, 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 (*ERC20TransactorSession) DecreaseAllowance

func (_ERC20 *ERC20TransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*ERC20TransactorSession) IncreaseAllowance

func (_ERC20 *ERC20TransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*ERC20TransactorSession) Transfer

func (_ERC20 *ERC20TransactorSession) 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 (*ERC20TransactorSession) TransferFrom

func (_ERC20 *ERC20TransactorSession) 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 ERC20Transfer

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

ERC20Transfer represents a Transfer event raised by the ERC20 contract.

type ERC20TransferIterator

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

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

func (*ERC20TransferIterator) Close

func (it *ERC20TransferIterator) Close() error

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

func (*ERC20TransferIterator) Error

func (it *ERC20TransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC20TransferIterator) Next

func (it *ERC20TransferIterator) Next() bool

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

type EthereumBank

type EthereumBank struct {
	EthereumBankCaller     // Read-only binding to the contract
	EthereumBankTransactor // Write-only binding to the contract
	EthereumBankFilterer   // Log filterer for contract events
}

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

func DeployEthereumBank

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

DeployEthereumBank deploys a new Ethereum contract, binding an instance of EthereumBank to it.

func NewEthereumBank

func NewEthereumBank(address common.Address, backend bind.ContractBackend) (*EthereumBank, error)

NewEthereumBank creates a new instance of EthereumBank, bound to a specific deployed contract.

type EthereumBankCaller

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

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

func NewEthereumBankCaller

func NewEthereumBankCaller(address common.Address, caller bind.ContractCaller) (*EthereumBankCaller, error)

NewEthereumBankCaller creates a new read-only instance of EthereumBank, bound to a specific deployed contract.

func (*EthereumBankCaller) LockNonce

func (_EthereumBank *EthereumBankCaller) LockNonce(opts *bind.CallOpts) (*big.Int, error)

LockNonce is a free data retrieval call binding the contract method 0xb5a9096e.

Solidity: function lockNonce() view returns(uint256)

func (*EthereumBankCaller) LockedFunds

func (_EthereumBank *EthereumBankCaller) LockedFunds(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

LockedFunds is a free data retrieval call binding the contract method 0xb86247d7.

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

type EthereumBankCallerRaw

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

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

func (*EthereumBankCallerRaw) Call

func (_EthereumBank *EthereumBankCallerRaw) 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 EthereumBankCallerSession

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

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

func (*EthereumBankCallerSession) LockNonce

func (_EthereumBank *EthereumBankCallerSession) LockNonce() (*big.Int, error)

LockNonce is a free data retrieval call binding the contract method 0xb5a9096e.

Solidity: function lockNonce() view returns(uint256)

func (*EthereumBankCallerSession) LockedFunds

func (_EthereumBank *EthereumBankCallerSession) LockedFunds(arg0 common.Address) (*big.Int, error)

LockedFunds is a free data retrieval call binding the contract method 0xb86247d7.

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

type EthereumBankFilterer

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

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

func NewEthereumBankFilterer

func NewEthereumBankFilterer(address common.Address, filterer bind.ContractFilterer) (*EthereumBankFilterer, error)

NewEthereumBankFilterer creates a new log filterer instance of EthereumBank, bound to a specific deployed contract.

func (*EthereumBankFilterer) FilterLogLock

func (_EthereumBank *EthereumBankFilterer) FilterLogLock(opts *bind.FilterOpts) (*EthereumBankLogLockIterator, error)

FilterLogLock is a free log retrieval operation binding the contract event 0x374449c83a37309524754bbdfc5b8306d3694b5d14609b8fbb1b50cc5c0319a7.

Solidity: event LogLock(address _from, bytes _to, address _token, string _symbol, uint256 _value, uint256 _nonce)

func (*EthereumBankFilterer) FilterLogUnlock

func (_EthereumBank *EthereumBankFilterer) FilterLogUnlock(opts *bind.FilterOpts) (*EthereumBankLogUnlockIterator, error)

FilterLogUnlock is a free log retrieval operation binding the contract event 0x802cd873de701272ec903860b690986bd460b5bcd57e30ac1fdfdeece10528ac.

Solidity: event LogUnlock(address _to, address _token, string _symbol, uint256 _value)

func (*EthereumBankFilterer) ParseLogLock

func (_EthereumBank *EthereumBankFilterer) ParseLogLock(log types.Log) (*EthereumBankLogLock, error)

ParseLogLock is a log parse operation binding the contract event 0x374449c83a37309524754bbdfc5b8306d3694b5d14609b8fbb1b50cc5c0319a7.

Solidity: event LogLock(address _from, bytes _to, address _token, string _symbol, uint256 _value, uint256 _nonce)

func (*EthereumBankFilterer) ParseLogUnlock

func (_EthereumBank *EthereumBankFilterer) ParseLogUnlock(log types.Log) (*EthereumBankLogUnlock, error)

ParseLogUnlock is a log parse operation binding the contract event 0x802cd873de701272ec903860b690986bd460b5bcd57e30ac1fdfdeece10528ac.

Solidity: event LogUnlock(address _to, address _token, string _symbol, uint256 _value)

func (*EthereumBankFilterer) WatchLogLock

func (_EthereumBank *EthereumBankFilterer) WatchLogLock(opts *bind.WatchOpts, sink chan<- *EthereumBankLogLock) (event.Subscription, error)

WatchLogLock is a free log subscription operation binding the contract event 0x374449c83a37309524754bbdfc5b8306d3694b5d14609b8fbb1b50cc5c0319a7.

Solidity: event LogLock(address _from, bytes _to, address _token, string _symbol, uint256 _value, uint256 _nonce)

func (*EthereumBankFilterer) WatchLogUnlock

func (_EthereumBank *EthereumBankFilterer) WatchLogUnlock(opts *bind.WatchOpts, sink chan<- *EthereumBankLogUnlock) (event.Subscription, error)

WatchLogUnlock is a free log subscription operation binding the contract event 0x802cd873de701272ec903860b690986bd460b5bcd57e30ac1fdfdeece10528ac.

Solidity: event LogUnlock(address _to, address _token, string _symbol, uint256 _value)

type EthereumBankLogLock

type EthereumBankLogLock struct {
	From   common.Address
	To     []byte
	Token  common.Address
	Symbol string
	Value  *big.Int
	Nonce  *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

EthereumBankLogLock represents a LogLock event raised by the EthereumBank contract.

type EthereumBankLogLockIterator

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

EthereumBankLogLockIterator is returned from FilterLogLock and is used to iterate over the raw logs and unpacked data for LogLock events raised by the EthereumBank contract.

func (*EthereumBankLogLockIterator) Close

func (it *EthereumBankLogLockIterator) Close() error

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

func (*EthereumBankLogLockIterator) Error

func (it *EthereumBankLogLockIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*EthereumBankLogLockIterator) Next

func (it *EthereumBankLogLockIterator) 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 EthereumBankLogUnlock

type EthereumBankLogUnlock struct {
	To     common.Address
	Token  common.Address
	Symbol string
	Value  *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

EthereumBankLogUnlock represents a LogUnlock event raised by the EthereumBank contract.

type EthereumBankLogUnlockIterator

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

EthereumBankLogUnlockIterator is returned from FilterLogUnlock and is used to iterate over the raw logs and unpacked data for LogUnlock events raised by the EthereumBank contract.

func (*EthereumBankLogUnlockIterator) Close

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

func (*EthereumBankLogUnlockIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*EthereumBankLogUnlockIterator) 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 EthereumBankRaw

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

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

func (*EthereumBankRaw) Call

func (_EthereumBank *EthereumBankRaw) 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 (*EthereumBankRaw) Transact

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

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

func (*EthereumBankRaw) Transfer

func (_EthereumBank *EthereumBankRaw) 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 EthereumBankSession

type EthereumBankSession struct {
	Contract     *EthereumBank     // 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
}

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

func (*EthereumBankSession) LockNonce

func (_EthereumBank *EthereumBankSession) LockNonce() (*big.Int, error)

LockNonce is a free data retrieval call binding the contract method 0xb5a9096e.

Solidity: function lockNonce() view returns(uint256)

func (*EthereumBankSession) LockedFunds

func (_EthereumBank *EthereumBankSession) LockedFunds(arg0 common.Address) (*big.Int, error)

LockedFunds is a free data retrieval call binding the contract method 0xb86247d7.

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

type EthereumBankTransactor

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

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

func NewEthereumBankTransactor

func NewEthereumBankTransactor(address common.Address, transactor bind.ContractTransactor) (*EthereumBankTransactor, error)

NewEthereumBankTransactor creates a new write-only instance of EthereumBank, bound to a specific deployed contract.

type EthereumBankTransactorRaw

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

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

func (*EthereumBankTransactorRaw) Transact

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

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

func (*EthereumBankTransactorRaw) Transfer

func (_EthereumBank *EthereumBankTransactorRaw) 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 EthereumBankTransactorSession

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

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

type IERC20

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

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

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

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

func (it *IERC20ApprovalIterator) Close() error

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

func (*IERC20ApprovalIterator) Error

func (it *IERC20ApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IERC20ApprovalIterator) Next

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

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

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

func NewIERC20Caller

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

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) view returns(uint256)

func (*IERC20Caller) BalanceOf

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) view returns(uint256)

func (*IERC20Caller) TotalSupply

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() view returns(uint256)

type IERC20CallerRaw

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

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

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

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) view returns(uint256)

func (*IERC20CallerSession) BalanceOf

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) view returns(uint256)

func (*IERC20CallerSession) TotalSupply

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

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

Solidity: function totalSupply() view returns(uint256)

type IERC20Filterer

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

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

func NewIERC20Filterer

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

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

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

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

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

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

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

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

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

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

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

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

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) view returns(uint256)

func (*IERC20Session) Approve

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

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) view returns(uint256)

func (*IERC20Session) TotalSupply

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

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

Solidity: function totalSupply() view returns(uint256)

func (*IERC20Session) Transfer

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

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

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

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

func NewIERC20Transactor

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

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

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

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

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

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

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

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

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

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

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

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

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

func (it *IERC20TransferIterator) Close() error

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

func (*IERC20TransferIterator) Error

func (it *IERC20TransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IERC20TransferIterator) Next

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 MinterRole

type MinterRole struct {
	MinterRoleCaller     // Read-only binding to the contract
	MinterRoleTransactor // Write-only binding to the contract
	MinterRoleFilterer   // Log filterer for contract events
}

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

func NewMinterRole

func NewMinterRole(address common.Address, backend bind.ContractBackend) (*MinterRole, error)

NewMinterRole creates a new instance of MinterRole, bound to a specific deployed contract.

type MinterRoleCaller

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

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

func NewMinterRoleCaller

func NewMinterRoleCaller(address common.Address, caller bind.ContractCaller) (*MinterRoleCaller, error)

NewMinterRoleCaller creates a new read-only instance of MinterRole, bound to a specific deployed contract.

func (*MinterRoleCaller) IsMinter

func (_MinterRole *MinterRoleCaller) IsMinter(opts *bind.CallOpts, account common.Address) (bool, error)

IsMinter is a free data retrieval call binding the contract method 0xaa271e1a.

Solidity: function isMinter(address account) view returns(bool)

type MinterRoleCallerRaw

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

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

func (*MinterRoleCallerRaw) Call

func (_MinterRole *MinterRoleCallerRaw) 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 MinterRoleCallerSession

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

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

func (*MinterRoleCallerSession) IsMinter

func (_MinterRole *MinterRoleCallerSession) IsMinter(account common.Address) (bool, error)

IsMinter is a free data retrieval call binding the contract method 0xaa271e1a.

Solidity: function isMinter(address account) view returns(bool)

type MinterRoleFilterer

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

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

func NewMinterRoleFilterer

func NewMinterRoleFilterer(address common.Address, filterer bind.ContractFilterer) (*MinterRoleFilterer, error)

NewMinterRoleFilterer creates a new log filterer instance of MinterRole, bound to a specific deployed contract.

func (*MinterRoleFilterer) FilterMinterAdded

func (_MinterRole *MinterRoleFilterer) FilterMinterAdded(opts *bind.FilterOpts, account []common.Address) (*MinterRoleMinterAddedIterator, error)

FilterMinterAdded is a free log retrieval operation binding the contract event 0x6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f6.

Solidity: event MinterAdded(address indexed account)

func (*MinterRoleFilterer) FilterMinterRemoved

func (_MinterRole *MinterRoleFilterer) FilterMinterRemoved(opts *bind.FilterOpts, account []common.Address) (*MinterRoleMinterRemovedIterator, error)

FilterMinterRemoved is a free log retrieval operation binding the contract event 0xe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb66692.

Solidity: event MinterRemoved(address indexed account)

func (*MinterRoleFilterer) ParseMinterAdded

func (_MinterRole *MinterRoleFilterer) ParseMinterAdded(log types.Log) (*MinterRoleMinterAdded, error)

ParseMinterAdded is a log parse operation binding the contract event 0x6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f6.

Solidity: event MinterAdded(address indexed account)

func (*MinterRoleFilterer) ParseMinterRemoved

func (_MinterRole *MinterRoleFilterer) ParseMinterRemoved(log types.Log) (*MinterRoleMinterRemoved, error)

ParseMinterRemoved is a log parse operation binding the contract event 0xe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb66692.

Solidity: event MinterRemoved(address indexed account)

func (*MinterRoleFilterer) WatchMinterAdded

func (_MinterRole *MinterRoleFilterer) WatchMinterAdded(opts *bind.WatchOpts, sink chan<- *MinterRoleMinterAdded, account []common.Address) (event.Subscription, error)

WatchMinterAdded is a free log subscription operation binding the contract event 0x6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f6.

Solidity: event MinterAdded(address indexed account)

func (*MinterRoleFilterer) WatchMinterRemoved

func (_MinterRole *MinterRoleFilterer) WatchMinterRemoved(opts *bind.WatchOpts, sink chan<- *MinterRoleMinterRemoved, account []common.Address) (event.Subscription, error)

WatchMinterRemoved is a free log subscription operation binding the contract event 0xe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb66692.

Solidity: event MinterRemoved(address indexed account)

type MinterRoleMinterAdded

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

MinterRoleMinterAdded represents a MinterAdded event raised by the MinterRole contract.

type MinterRoleMinterAddedIterator

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

MinterRoleMinterAddedIterator is returned from FilterMinterAdded and is used to iterate over the raw logs and unpacked data for MinterAdded events raised by the MinterRole contract.

func (*MinterRoleMinterAddedIterator) Close

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

func (*MinterRoleMinterAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MinterRoleMinterAddedIterator) 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 MinterRoleMinterRemoved

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

MinterRoleMinterRemoved represents a MinterRemoved event raised by the MinterRole contract.

type MinterRoleMinterRemovedIterator

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

MinterRoleMinterRemovedIterator is returned from FilterMinterRemoved and is used to iterate over the raw logs and unpacked data for MinterRemoved events raised by the MinterRole contract.

func (*MinterRoleMinterRemovedIterator) Close

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

func (*MinterRoleMinterRemovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MinterRoleMinterRemovedIterator) 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 MinterRoleRaw

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

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

func (*MinterRoleRaw) Call

func (_MinterRole *MinterRoleRaw) 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 (*MinterRoleRaw) Transact

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

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

func (*MinterRoleRaw) Transfer

func (_MinterRole *MinterRoleRaw) 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 MinterRoleSession

type MinterRoleSession struct {
	Contract     *MinterRole       // 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
}

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

func (*MinterRoleSession) AddMinter

func (_MinterRole *MinterRoleSession) AddMinter(account common.Address) (*types.Transaction, error)

AddMinter is a paid mutator transaction binding the contract method 0x983b2d56.

Solidity: function addMinter(address account) returns()

func (*MinterRoleSession) IsMinter

func (_MinterRole *MinterRoleSession) IsMinter(account common.Address) (bool, error)

IsMinter is a free data retrieval call binding the contract method 0xaa271e1a.

Solidity: function isMinter(address account) view returns(bool)

func (*MinterRoleSession) RenounceMinter

func (_MinterRole *MinterRoleSession) RenounceMinter() (*types.Transaction, error)

RenounceMinter is a paid mutator transaction binding the contract method 0x98650275.

Solidity: function renounceMinter() returns()

type MinterRoleTransactor

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

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

func NewMinterRoleTransactor

func NewMinterRoleTransactor(address common.Address, transactor bind.ContractTransactor) (*MinterRoleTransactor, error)

NewMinterRoleTransactor creates a new write-only instance of MinterRole, bound to a specific deployed contract.

func (*MinterRoleTransactor) AddMinter

func (_MinterRole *MinterRoleTransactor) AddMinter(opts *bind.TransactOpts, account common.Address) (*types.Transaction, error)

AddMinter is a paid mutator transaction binding the contract method 0x983b2d56.

Solidity: function addMinter(address account) returns()

func (*MinterRoleTransactor) RenounceMinter

func (_MinterRole *MinterRoleTransactor) RenounceMinter(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceMinter is a paid mutator transaction binding the contract method 0x98650275.

Solidity: function renounceMinter() returns()

type MinterRoleTransactorRaw

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

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

func (*MinterRoleTransactorRaw) Transact

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

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

func (*MinterRoleTransactorRaw) Transfer

func (_MinterRole *MinterRoleTransactorRaw) 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 MinterRoleTransactorSession

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

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

func (*MinterRoleTransactorSession) AddMinter

func (_MinterRole *MinterRoleTransactorSession) AddMinter(account common.Address) (*types.Transaction, error)

AddMinter is a paid mutator transaction binding the contract method 0x983b2d56.

Solidity: function addMinter(address account) returns()

func (*MinterRoleTransactorSession) RenounceMinter

func (_MinterRole *MinterRoleTransactorSession) RenounceMinter() (*types.Transaction, error)

RenounceMinter is a paid mutator transaction binding the contract method 0x98650275.

Solidity: function renounceMinter() returns()

type Oracle

type Oracle struct {
	OracleCaller     // Read-only binding to the contract
	OracleTransactor // Write-only binding to the contract
	OracleFilterer   // Log filterer for contract events
}

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

func DeployOracle

func DeployOracle(auth *bind.TransactOpts, backend bind.ContractBackend, _operator common.Address, _valset common.Address, _chain33Bridge common.Address) (common.Address, *types.Transaction, *Oracle, error)

DeployOracle deploys a new Ethereum contract, binding an instance of Oracle to it.

func NewOracle

func NewOracle(address common.Address, backend bind.ContractBackend) (*Oracle, error)

NewOracle creates a new instance of Oracle, bound to a specific deployed contract.

type OracleCaller

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

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

func NewOracleCaller

func NewOracleCaller(address common.Address, caller bind.ContractCaller) (*OracleCaller, error)

NewOracleCaller creates a new read-only instance of Oracle, bound to a specific deployed contract.

func (*OracleCaller) Chain33Bridge

func (_Oracle *OracleCaller) Chain33Bridge(opts *bind.CallOpts) (common.Address, error)

Chain33Bridge is a free data retrieval call binding the contract method 0xeb355352.

Solidity: function chain33Bridge() view returns(address)

func (*OracleCaller) CheckBridgeProphecy

func (_Oracle *OracleCaller) CheckBridgeProphecy(opts *bind.CallOpts, _claimID [32]byte) (bool, *big.Int, *big.Int, error)

CheckBridgeProphecy is a free data retrieval call binding the contract method 0xe83def43.

Solidity: function checkBridgeProphecy(bytes32 _claimID) view returns(bool, uint256, uint256)

func (*OracleCaller) HasMadeClaim

func (_Oracle *OracleCaller) HasMadeClaim(opts *bind.CallOpts, arg0 [32]byte, arg1 common.Address) (bool, error)

HasMadeClaim is a free data retrieval call binding the contract method 0xdff11660.

Solidity: function hasMadeClaim(bytes32 , address ) view returns(bool)

func (*OracleCaller) Operator

func (_Oracle *OracleCaller) Operator(opts *bind.CallOpts) (common.Address, error)

Operator is a free data retrieval call binding the contract method 0x570ca735.

Solidity: function operator() view returns(address)

func (*OracleCaller) OracleClaimValidators

func (_Oracle *OracleCaller) OracleClaimValidators(opts *bind.CallOpts, arg0 [32]byte, arg1 *big.Int) (common.Address, error)

OracleClaimValidators is a free data retrieval call binding the contract method 0x8350549f.

Solidity: function oracleClaimValidators(bytes32 , uint256 ) view returns(address)

func (*OracleCaller) Valset

func (_Oracle *OracleCaller) Valset(opts *bind.CallOpts) (common.Address, error)

Valset is a free data retrieval call binding the contract method 0x7f54af0c.

Solidity: function valset() view returns(address)

type OracleCallerRaw

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

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

func (*OracleCallerRaw) Call

func (_Oracle *OracleCallerRaw) 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 OracleCallerSession

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

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

func (*OracleCallerSession) Chain33Bridge

func (_Oracle *OracleCallerSession) Chain33Bridge() (common.Address, error)

Chain33Bridge is a free data retrieval call binding the contract method 0xeb355352.

Solidity: function chain33Bridge() view returns(address)

func (*OracleCallerSession) CheckBridgeProphecy

func (_Oracle *OracleCallerSession) CheckBridgeProphecy(_claimID [32]byte) (bool, *big.Int, *big.Int, error)

CheckBridgeProphecy is a free data retrieval call binding the contract method 0xe83def43.

Solidity: function checkBridgeProphecy(bytes32 _claimID) view returns(bool, uint256, uint256)

func (*OracleCallerSession) HasMadeClaim

func (_Oracle *OracleCallerSession) HasMadeClaim(arg0 [32]byte, arg1 common.Address) (bool, error)

HasMadeClaim is a free data retrieval call binding the contract method 0xdff11660.

Solidity: function hasMadeClaim(bytes32 , address ) view returns(bool)

func (*OracleCallerSession) Operator

func (_Oracle *OracleCallerSession) Operator() (common.Address, error)

Operator is a free data retrieval call binding the contract method 0x570ca735.

Solidity: function operator() view returns(address)

func (*OracleCallerSession) OracleClaimValidators

func (_Oracle *OracleCallerSession) OracleClaimValidators(arg0 [32]byte, arg1 *big.Int) (common.Address, error)

OracleClaimValidators is a free data retrieval call binding the contract method 0x8350549f.

Solidity: function oracleClaimValidators(bytes32 , uint256 ) view returns(address)

func (*OracleCallerSession) Valset

func (_Oracle *OracleCallerSession) Valset() (common.Address, error)

Valset is a free data retrieval call binding the contract method 0x7f54af0c.

Solidity: function valset() view returns(address)

type OracleFilterer

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

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

func NewOracleFilterer

func NewOracleFilterer(address common.Address, filterer bind.ContractFilterer) (*OracleFilterer, error)

NewOracleFilterer creates a new log filterer instance of Oracle, bound to a specific deployed contract.

func (*OracleFilterer) FilterLogNewOracleClaim

func (_Oracle *OracleFilterer) FilterLogNewOracleClaim(opts *bind.FilterOpts) (*OracleLogNewOracleClaimIterator, error)

FilterLogNewOracleClaim is a free log retrieval operation binding the contract event 0x9d7989f0ee712587ed4a8da1906611b74d9e5579ac52dfca91c9a3672dc035f5.

Solidity: event LogNewOracleClaim(bytes32 _claimID, address _validatorAddress, bytes _signature)

func (*OracleFilterer) FilterLogProphecyProcessed

func (_Oracle *OracleFilterer) FilterLogProphecyProcessed(opts *bind.FilterOpts) (*OracleLogProphecyProcessedIterator, error)

FilterLogProphecyProcessed is a free log retrieval operation binding the contract event 0xa4477096608730151b6b17c72f910424888b87b6a62ea90f2c89940f3bd32f2f.

Solidity: event LogProphecyProcessed(bytes32 _claimID, uint256 _weightedSignedPower, uint256 _weightedTotalPower, address _submitter)

func (*OracleFilterer) ParseLogNewOracleClaim

func (_Oracle *OracleFilterer) ParseLogNewOracleClaim(log types.Log) (*OracleLogNewOracleClaim, error)

ParseLogNewOracleClaim is a log parse operation binding the contract event 0x9d7989f0ee712587ed4a8da1906611b74d9e5579ac52dfca91c9a3672dc035f5.

Solidity: event LogNewOracleClaim(bytes32 _claimID, address _validatorAddress, bytes _signature)

func (*OracleFilterer) ParseLogProphecyProcessed

func (_Oracle *OracleFilterer) ParseLogProphecyProcessed(log types.Log) (*OracleLogProphecyProcessed, error)

ParseLogProphecyProcessed is a log parse operation binding the contract event 0xa4477096608730151b6b17c72f910424888b87b6a62ea90f2c89940f3bd32f2f.

Solidity: event LogProphecyProcessed(bytes32 _claimID, uint256 _weightedSignedPower, uint256 _weightedTotalPower, address _submitter)

func (*OracleFilterer) WatchLogNewOracleClaim

func (_Oracle *OracleFilterer) WatchLogNewOracleClaim(opts *bind.WatchOpts, sink chan<- *OracleLogNewOracleClaim) (event.Subscription, error)

WatchLogNewOracleClaim is a free log subscription operation binding the contract event 0x9d7989f0ee712587ed4a8da1906611b74d9e5579ac52dfca91c9a3672dc035f5.

Solidity: event LogNewOracleClaim(bytes32 _claimID, address _validatorAddress, bytes _signature)

func (*OracleFilterer) WatchLogProphecyProcessed

func (_Oracle *OracleFilterer) WatchLogProphecyProcessed(opts *bind.WatchOpts, sink chan<- *OracleLogProphecyProcessed) (event.Subscription, error)

WatchLogProphecyProcessed is a free log subscription operation binding the contract event 0xa4477096608730151b6b17c72f910424888b87b6a62ea90f2c89940f3bd32f2f.

Solidity: event LogProphecyProcessed(bytes32 _claimID, uint256 _weightedSignedPower, uint256 _weightedTotalPower, address _submitter)

type OracleLogNewOracleClaim

type OracleLogNewOracleClaim struct {
	ClaimID          [32]byte
	ValidatorAddress common.Address
	Signature        []byte
	Raw              types.Log // Blockchain specific contextual infos
}

OracleLogNewOracleClaim represents a LogNewOracleClaim event raised by the Oracle contract.

type OracleLogNewOracleClaimIterator

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

OracleLogNewOracleClaimIterator is returned from FilterLogNewOracleClaim and is used to iterate over the raw logs and unpacked data for LogNewOracleClaim events raised by the Oracle contract.

func (*OracleLogNewOracleClaimIterator) Close

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

func (*OracleLogNewOracleClaimIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OracleLogNewOracleClaimIterator) 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 OracleLogProphecyProcessed

type OracleLogProphecyProcessed struct {
	ClaimID             [32]byte
	WeightedSignedPower *big.Int
	WeightedTotalPower  *big.Int
	Submitter           common.Address
	Raw                 types.Log // Blockchain specific contextual infos
}

OracleLogProphecyProcessed represents a LogProphecyProcessed event raised by the Oracle contract.

type OracleLogProphecyProcessedIterator

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

OracleLogProphecyProcessedIterator is returned from FilterLogProphecyProcessed and is used to iterate over the raw logs and unpacked data for LogProphecyProcessed events raised by the Oracle contract.

func (*OracleLogProphecyProcessedIterator) Close

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

func (*OracleLogProphecyProcessedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OracleLogProphecyProcessedIterator) 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 OracleRaw

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

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

func (*OracleRaw) Call

func (_Oracle *OracleRaw) 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 (*OracleRaw) Transact

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

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

func (*OracleRaw) Transfer

func (_Oracle *OracleRaw) 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 OracleSession

type OracleSession struct {
	Contract     *Oracle           // 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
}

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

func (*OracleSession) Chain33Bridge

func (_Oracle *OracleSession) Chain33Bridge() (common.Address, error)

Chain33Bridge is a free data retrieval call binding the contract method 0xeb355352.

Solidity: function chain33Bridge() view returns(address)

func (*OracleSession) CheckBridgeProphecy

func (_Oracle *OracleSession) CheckBridgeProphecy(_claimID [32]byte) (bool, *big.Int, *big.Int, error)

CheckBridgeProphecy is a free data retrieval call binding the contract method 0xe83def43.

Solidity: function checkBridgeProphecy(bytes32 _claimID) view returns(bool, uint256, uint256)

func (*OracleSession) HasMadeClaim

func (_Oracle *OracleSession) HasMadeClaim(arg0 [32]byte, arg1 common.Address) (bool, error)

HasMadeClaim is a free data retrieval call binding the contract method 0xdff11660.

Solidity: function hasMadeClaim(bytes32 , address ) view returns(bool)

func (*OracleSession) NewOracleClaim

func (_Oracle *OracleSession) NewOracleClaim(_claimType uint8, _chain33Sender []byte, _ethereumReceiver common.Address, _tokenAddress common.Address, _symbol string, _amount *big.Int, _claimID [32]byte, _signature []byte) (*types.Transaction, error)

NewOracleClaim is a paid mutator transaction binding the contract method 0x6894dc6f.

Solidity: function newOracleClaim(uint8 _claimType, bytes _chain33Sender, address _ethereumReceiver, address _tokenAddress, string _symbol, uint256 _amount, bytes32 _claimID, bytes _signature) returns()

func (*OracleSession) Operator

func (_Oracle *OracleSession) Operator() (common.Address, error)

Operator is a free data retrieval call binding the contract method 0x570ca735.

Solidity: function operator() view returns(address)

func (*OracleSession) OracleClaimValidators

func (_Oracle *OracleSession) OracleClaimValidators(arg0 [32]byte, arg1 *big.Int) (common.Address, error)

OracleClaimValidators is a free data retrieval call binding the contract method 0x8350549f.

Solidity: function oracleClaimValidators(bytes32 , uint256 ) view returns(address)

func (*OracleSession) Valset

func (_Oracle *OracleSession) Valset() (common.Address, error)

Valset is a free data retrieval call binding the contract method 0x7f54af0c.

Solidity: function valset() view returns(address)

type OracleTransactor

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

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

func NewOracleTransactor

func NewOracleTransactor(address common.Address, transactor bind.ContractTransactor) (*OracleTransactor, error)

NewOracleTransactor creates a new write-only instance of Oracle, bound to a specific deployed contract.

func (*OracleTransactor) NewOracleClaim

func (_Oracle *OracleTransactor) NewOracleClaim(opts *bind.TransactOpts, _claimType uint8, _chain33Sender []byte, _ethereumReceiver common.Address, _tokenAddress common.Address, _symbol string, _amount *big.Int, _claimID [32]byte, _signature []byte) (*types.Transaction, error)

NewOracleClaim is a paid mutator transaction binding the contract method 0x6894dc6f.

Solidity: function newOracleClaim(uint8 _claimType, bytes _chain33Sender, address _ethereumReceiver, address _tokenAddress, string _symbol, uint256 _amount, bytes32 _claimID, bytes _signature) returns()

type OracleTransactorRaw

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

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

func (*OracleTransactorRaw) Transact

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

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

func (*OracleTransactorRaw) Transfer

func (_Oracle *OracleTransactorRaw) 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 OracleTransactorSession

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

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

func (*OracleTransactorSession) NewOracleClaim

func (_Oracle *OracleTransactorSession) NewOracleClaim(_claimType uint8, _chain33Sender []byte, _ethereumReceiver common.Address, _tokenAddress common.Address, _symbol string, _amount *big.Int, _claimID [32]byte, _signature []byte) (*types.Transaction, error)

NewOracleClaim is a paid mutator transaction binding the contract method 0x6894dc6f.

Solidity: function newOracleClaim(uint8 _claimType, bytes _chain33Sender, address _ethereumReceiver, address _tokenAddress, string _symbol, uint256 _amount, bytes32 _claimID, bytes _signature) returns()

type Roles

type Roles struct {
	RolesCaller     // Read-only binding to the contract
	RolesTransactor // Write-only binding to the contract
	RolesFilterer   // Log filterer for contract events
}

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

func DeployRoles

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

DeployRoles deploys a new Ethereum contract, binding an instance of Roles to it.

func NewRoles

func NewRoles(address common.Address, backend bind.ContractBackend) (*Roles, error)

NewRoles creates a new instance of Roles, bound to a specific deployed contract.

type RolesCaller

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

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

func NewRolesCaller

func NewRolesCaller(address common.Address, caller bind.ContractCaller) (*RolesCaller, error)

NewRolesCaller creates a new read-only instance of Roles, bound to a specific deployed contract.

type RolesCallerRaw

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

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

func (*RolesCallerRaw) Call

func (_Roles *RolesCallerRaw) 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 RolesCallerSession

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

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

type RolesFilterer

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

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

func NewRolesFilterer

func NewRolesFilterer(address common.Address, filterer bind.ContractFilterer) (*RolesFilterer, error)

NewRolesFilterer creates a new log filterer instance of Roles, bound to a specific deployed contract.

type RolesRaw

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

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

func (*RolesRaw) Call

func (_Roles *RolesRaw) 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 (*RolesRaw) Transact

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

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

func (*RolesRaw) Transfer

func (_Roles *RolesRaw) 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 RolesSession

type RolesSession struct {
	Contract     *Roles            // 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
}

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

type RolesTransactor

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

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

func NewRolesTransactor

func NewRolesTransactor(address common.Address, transactor bind.ContractTransactor) (*RolesTransactor, error)

NewRolesTransactor creates a new write-only instance of Roles, bound to a specific deployed contract.

type RolesTransactorRaw

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

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

func (*RolesTransactorRaw) Transact

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

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

func (*RolesTransactorRaw) Transfer

func (_Roles *RolesTransactorRaw) 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 RolesTransactorSession

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

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

type SafeMath

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

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

func DeploySafeMath

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

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

func NewSafeMath

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

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

type SafeMathCaller

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

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

func NewSafeMathCaller

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

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

type SafeMathCallerRaw

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

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

func (*SafeMathCallerRaw) Call

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

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

type SafeMathCallerSession

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

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

type SafeMathFilterer

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

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

func NewSafeMathFilterer

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

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

type SafeMathRaw

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

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

func (*SafeMathRaw) Call

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

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

func (*SafeMathRaw) Transact

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

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

func (*SafeMathRaw) Transfer

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

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

type SafeMathSession

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

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

type SafeMathTransactor

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

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

func NewSafeMathTransactor

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

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

type SafeMathTransactorRaw

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

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

func (*SafeMathTransactorRaw) Transact

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

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

func (*SafeMathTransactorRaw) Transfer

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

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

type SafeMathTransactorSession

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

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

type Valset

type Valset struct {
	ValsetCaller     // Read-only binding to the contract
	ValsetTransactor // Write-only binding to the contract
	ValsetFilterer   // Log filterer for contract events
}

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

func DeployValset

func DeployValset(auth *bind.TransactOpts, backend bind.ContractBackend, _operator common.Address, _initValidators []common.Address, _initPowers []*big.Int) (common.Address, *types.Transaction, *Valset, error)

DeployValset deploys a new Ethereum contract, binding an instance of Valset to it.

func NewValset

func NewValset(address common.Address, backend bind.ContractBackend) (*Valset, error)

NewValset creates a new instance of Valset, bound to a specific deployed contract.

type ValsetCaller

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

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

func NewValsetCaller

func NewValsetCaller(address common.Address, caller bind.ContractCaller) (*ValsetCaller, error)

NewValsetCaller creates a new read-only instance of Valset, bound to a specific deployed contract.

func (*ValsetCaller) CurrentValsetVersion

func (_Valset *ValsetCaller) CurrentValsetVersion(opts *bind.CallOpts) (*big.Int, error)

CurrentValsetVersion is a free data retrieval call binding the contract method 0x8d56c37d.

Solidity: function currentValsetVersion() view returns(uint256)

func (*ValsetCaller) DebugEthMessageHash

func (_Valset *ValsetCaller) DebugEthMessageHash(opts *bind.CallOpts, hash [32]byte) ([32]byte, error)

DebugEthMessageHash is a free data retrieval call binding the contract method 0x61bb63f3.

Solidity: function Debug_ethMessageHash(bytes32 hash) pure returns(bytes32)

func (*ValsetCaller) DebugPacked

func (_Valset *ValsetCaller) DebugPacked(opts *bind.CallOpts, hash [32]byte) ([]byte, error)

DebugPacked is a free data retrieval call binding the contract method 0xfa210896.

Solidity: function Debug_Packed(bytes32 hash) pure returns(bytes)

func (*ValsetCaller) GetValidatorPower

func (_Valset *ValsetCaller) GetValidatorPower(opts *bind.CallOpts, _validatorAddress common.Address) (*big.Int, error)

GetValidatorPower is a free data retrieval call binding the contract method 0x473691a4.

Solidity: function getValidatorPower(address _validatorAddress) view returns(uint256)

func (*ValsetCaller) IsActiveValidator

func (_Valset *ValsetCaller) IsActiveValidator(opts *bind.CallOpts, _validatorAddress common.Address) (bool, error)

IsActiveValidator is a free data retrieval call binding the contract method 0x40550a1c.

Solidity: function isActiveValidator(address _validatorAddress) view returns(bool)

func (*ValsetCaller) Operator

func (_Valset *ValsetCaller) Operator(opts *bind.CallOpts) (common.Address, error)

Operator is a free data retrieval call binding the contract method 0x570ca735.

Solidity: function operator() view returns(address)

func (*ValsetCaller) Powers

func (_Valset *ValsetCaller) Powers(opts *bind.CallOpts, arg0 [32]byte) (*big.Int, error)

Powers is a free data retrieval call binding the contract method 0xb872c523.

Solidity: function powers(bytes32 ) view returns(uint256)

func (*ValsetCaller) Recover

func (_Valset *ValsetCaller) Recover(opts *bind.CallOpts, _message [32]byte, _signature []byte) (common.Address, error)

Recover is a free data retrieval call binding the contract method 0x19045a25.

Solidity: function recover(bytes32 _message, bytes _signature) pure returns(address)

func (*ValsetCaller) TotalPower

func (_Valset *ValsetCaller) TotalPower(opts *bind.CallOpts) (*big.Int, error)

TotalPower is a free data retrieval call binding the contract method 0xdb3ad22c.

Solidity: function totalPower() view returns(uint256)

func (*ValsetCaller) ValidatorCount

func (_Valset *ValsetCaller) ValidatorCount(opts *bind.CallOpts) (*big.Int, error)

ValidatorCount is a free data retrieval call binding the contract method 0x0f43a677.

Solidity: function validatorCount() view returns(uint256)

func (*ValsetCaller) Validators

func (_Valset *ValsetCaller) Validators(opts *bind.CallOpts, arg0 [32]byte) (bool, error)

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

Solidity: function validators(bytes32 ) view returns(bool)

type ValsetCallerRaw

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

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

func (*ValsetCallerRaw) Call

func (_Valset *ValsetCallerRaw) 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 ValsetCallerSession

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

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

func (*ValsetCallerSession) CurrentValsetVersion

func (_Valset *ValsetCallerSession) CurrentValsetVersion() (*big.Int, error)

CurrentValsetVersion is a free data retrieval call binding the contract method 0x8d56c37d.

Solidity: function currentValsetVersion() view returns(uint256)

func (*ValsetCallerSession) DebugEthMessageHash

func (_Valset *ValsetCallerSession) DebugEthMessageHash(hash [32]byte) ([32]byte, error)

DebugEthMessageHash is a free data retrieval call binding the contract method 0x61bb63f3.

Solidity: function Debug_ethMessageHash(bytes32 hash) pure returns(bytes32)

func (*ValsetCallerSession) DebugPacked

func (_Valset *ValsetCallerSession) DebugPacked(hash [32]byte) ([]byte, error)

DebugPacked is a free data retrieval call binding the contract method 0xfa210896.

Solidity: function Debug_Packed(bytes32 hash) pure returns(bytes)

func (*ValsetCallerSession) GetValidatorPower

func (_Valset *ValsetCallerSession) GetValidatorPower(_validatorAddress common.Address) (*big.Int, error)

GetValidatorPower is a free data retrieval call binding the contract method 0x473691a4.

Solidity: function getValidatorPower(address _validatorAddress) view returns(uint256)

func (*ValsetCallerSession) IsActiveValidator

func (_Valset *ValsetCallerSession) IsActiveValidator(_validatorAddress common.Address) (bool, error)

IsActiveValidator is a free data retrieval call binding the contract method 0x40550a1c.

Solidity: function isActiveValidator(address _validatorAddress) view returns(bool)

func (*ValsetCallerSession) Operator

func (_Valset *ValsetCallerSession) Operator() (common.Address, error)

Operator is a free data retrieval call binding the contract method 0x570ca735.

Solidity: function operator() view returns(address)

func (*ValsetCallerSession) Powers

func (_Valset *ValsetCallerSession) Powers(arg0 [32]byte) (*big.Int, error)

Powers is a free data retrieval call binding the contract method 0xb872c523.

Solidity: function powers(bytes32 ) view returns(uint256)

func (*ValsetCallerSession) Recover

func (_Valset *ValsetCallerSession) Recover(_message [32]byte, _signature []byte) (common.Address, error)

Recover is a free data retrieval call binding the contract method 0x19045a25.

Solidity: function recover(bytes32 _message, bytes _signature) pure returns(address)

func (*ValsetCallerSession) TotalPower

func (_Valset *ValsetCallerSession) TotalPower() (*big.Int, error)

TotalPower is a free data retrieval call binding the contract method 0xdb3ad22c.

Solidity: function totalPower() view returns(uint256)

func (*ValsetCallerSession) ValidatorCount

func (_Valset *ValsetCallerSession) ValidatorCount() (*big.Int, error)

ValidatorCount is a free data retrieval call binding the contract method 0x0f43a677.

Solidity: function validatorCount() view returns(uint256)

func (*ValsetCallerSession) Validators

func (_Valset *ValsetCallerSession) Validators(arg0 [32]byte) (bool, error)

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

Solidity: function validators(bytes32 ) view returns(bool)

type ValsetFilterer

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

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

func NewValsetFilterer

func NewValsetFilterer(address common.Address, filterer bind.ContractFilterer) (*ValsetFilterer, error)

NewValsetFilterer creates a new log filterer instance of Valset, bound to a specific deployed contract.

func (*ValsetFilterer) FilterLogValidatorAdded

func (_Valset *ValsetFilterer) FilterLogValidatorAdded(opts *bind.FilterOpts) (*ValsetLogValidatorAddedIterator, error)

FilterLogValidatorAdded is a free log retrieval operation binding the contract event 0x1a396bcf647502e902dce665d58a0c1b25f982f193ab9a1d0f1500d8d927bf2a.

Solidity: event LogValidatorAdded(address _validator, uint256 _power, uint256 _currentValsetVersion, uint256 _validatorCount, uint256 _totalPower)

func (*ValsetFilterer) FilterLogValidatorPowerUpdated

func (_Valset *ValsetFilterer) FilterLogValidatorPowerUpdated(opts *bind.FilterOpts) (*ValsetLogValidatorPowerUpdatedIterator, error)

FilterLogValidatorPowerUpdated is a free log retrieval operation binding the contract event 0x335940ce4119f8aae891d73dba74510a3d51f6210134d058237f26e6a31d5340.

Solidity: event LogValidatorPowerUpdated(address _validator, uint256 _power, uint256 _currentValsetVersion, uint256 _validatorCount, uint256 _totalPower)

func (*ValsetFilterer) FilterLogValidatorRemoved

func (_Valset *ValsetFilterer) FilterLogValidatorRemoved(opts *bind.FilterOpts) (*ValsetLogValidatorRemovedIterator, error)

FilterLogValidatorRemoved is a free log retrieval operation binding the contract event 0x1241fb43a101ff98ab819a1882097d4ccada51ba60f326c1981cc48840f55b8c.

Solidity: event LogValidatorRemoved(address _validator, uint256 _power, uint256 _currentValsetVersion, uint256 _validatorCount, uint256 _totalPower)

func (*ValsetFilterer) FilterLogValsetReset

func (_Valset *ValsetFilterer) FilterLogValsetReset(opts *bind.FilterOpts) (*ValsetLogValsetResetIterator, error)

FilterLogValsetReset is a free log retrieval operation binding the contract event 0xd870653e19f161500290fd0c4ca41bf5cf2bcb1ba66448f41c66c512dabd65f2.

Solidity: event LogValsetReset(uint256 _newValsetVersion, uint256 _validatorCount, uint256 _totalPower)

func (*ValsetFilterer) FilterLogValsetUpdated

func (_Valset *ValsetFilterer) FilterLogValsetUpdated(opts *bind.FilterOpts) (*ValsetLogValsetUpdatedIterator, error)

FilterLogValsetUpdated is a free log retrieval operation binding the contract event 0x3a7ef0da3179668af8114719645585b5a37092ef2d66f187dcf63d83a221eaa6.

Solidity: event LogValsetUpdated(uint256 _newValsetVersion, uint256 _validatorCount, uint256 _totalPower)

func (*ValsetFilterer) ParseLogValidatorAdded

func (_Valset *ValsetFilterer) ParseLogValidatorAdded(log types.Log) (*ValsetLogValidatorAdded, error)

ParseLogValidatorAdded is a log parse operation binding the contract event 0x1a396bcf647502e902dce665d58a0c1b25f982f193ab9a1d0f1500d8d927bf2a.

Solidity: event LogValidatorAdded(address _validator, uint256 _power, uint256 _currentValsetVersion, uint256 _validatorCount, uint256 _totalPower)

func (*ValsetFilterer) ParseLogValidatorPowerUpdated

func (_Valset *ValsetFilterer) ParseLogValidatorPowerUpdated(log types.Log) (*ValsetLogValidatorPowerUpdated, error)

ParseLogValidatorPowerUpdated is a log parse operation binding the contract event 0x335940ce4119f8aae891d73dba74510a3d51f6210134d058237f26e6a31d5340.

Solidity: event LogValidatorPowerUpdated(address _validator, uint256 _power, uint256 _currentValsetVersion, uint256 _validatorCount, uint256 _totalPower)

func (*ValsetFilterer) ParseLogValidatorRemoved

func (_Valset *ValsetFilterer) ParseLogValidatorRemoved(log types.Log) (*ValsetLogValidatorRemoved, error)

ParseLogValidatorRemoved is a log parse operation binding the contract event 0x1241fb43a101ff98ab819a1882097d4ccada51ba60f326c1981cc48840f55b8c.

Solidity: event LogValidatorRemoved(address _validator, uint256 _power, uint256 _currentValsetVersion, uint256 _validatorCount, uint256 _totalPower)

func (*ValsetFilterer) ParseLogValsetReset

func (_Valset *ValsetFilterer) ParseLogValsetReset(log types.Log) (*ValsetLogValsetReset, error)

ParseLogValsetReset is a log parse operation binding the contract event 0xd870653e19f161500290fd0c4ca41bf5cf2bcb1ba66448f41c66c512dabd65f2.

Solidity: event LogValsetReset(uint256 _newValsetVersion, uint256 _validatorCount, uint256 _totalPower)

func (*ValsetFilterer) ParseLogValsetUpdated

func (_Valset *ValsetFilterer) ParseLogValsetUpdated(log types.Log) (*ValsetLogValsetUpdated, error)

ParseLogValsetUpdated is a log parse operation binding the contract event 0x3a7ef0da3179668af8114719645585b5a37092ef2d66f187dcf63d83a221eaa6.

Solidity: event LogValsetUpdated(uint256 _newValsetVersion, uint256 _validatorCount, uint256 _totalPower)

func (*ValsetFilterer) WatchLogValidatorAdded

func (_Valset *ValsetFilterer) WatchLogValidatorAdded(opts *bind.WatchOpts, sink chan<- *ValsetLogValidatorAdded) (event.Subscription, error)

WatchLogValidatorAdded is a free log subscription operation binding the contract event 0x1a396bcf647502e902dce665d58a0c1b25f982f193ab9a1d0f1500d8d927bf2a.

Solidity: event LogValidatorAdded(address _validator, uint256 _power, uint256 _currentValsetVersion, uint256 _validatorCount, uint256 _totalPower)

func (*ValsetFilterer) WatchLogValidatorPowerUpdated

func (_Valset *ValsetFilterer) WatchLogValidatorPowerUpdated(opts *bind.WatchOpts, sink chan<- *ValsetLogValidatorPowerUpdated) (event.Subscription, error)

WatchLogValidatorPowerUpdated is a free log subscription operation binding the contract event 0x335940ce4119f8aae891d73dba74510a3d51f6210134d058237f26e6a31d5340.

Solidity: event LogValidatorPowerUpdated(address _validator, uint256 _power, uint256 _currentValsetVersion, uint256 _validatorCount, uint256 _totalPower)

func (*ValsetFilterer) WatchLogValidatorRemoved

func (_Valset *ValsetFilterer) WatchLogValidatorRemoved(opts *bind.WatchOpts, sink chan<- *ValsetLogValidatorRemoved) (event.Subscription, error)

WatchLogValidatorRemoved is a free log subscription operation binding the contract event 0x1241fb43a101ff98ab819a1882097d4ccada51ba60f326c1981cc48840f55b8c.

Solidity: event LogValidatorRemoved(address _validator, uint256 _power, uint256 _currentValsetVersion, uint256 _validatorCount, uint256 _totalPower)

func (*ValsetFilterer) WatchLogValsetReset

func (_Valset *ValsetFilterer) WatchLogValsetReset(opts *bind.WatchOpts, sink chan<- *ValsetLogValsetReset) (event.Subscription, error)

WatchLogValsetReset is a free log subscription operation binding the contract event 0xd870653e19f161500290fd0c4ca41bf5cf2bcb1ba66448f41c66c512dabd65f2.

Solidity: event LogValsetReset(uint256 _newValsetVersion, uint256 _validatorCount, uint256 _totalPower)

func (*ValsetFilterer) WatchLogValsetUpdated

func (_Valset *ValsetFilterer) WatchLogValsetUpdated(opts *bind.WatchOpts, sink chan<- *ValsetLogValsetUpdated) (event.Subscription, error)

WatchLogValsetUpdated is a free log subscription operation binding the contract event 0x3a7ef0da3179668af8114719645585b5a37092ef2d66f187dcf63d83a221eaa6.

Solidity: event LogValsetUpdated(uint256 _newValsetVersion, uint256 _validatorCount, uint256 _totalPower)

type ValsetLogValidatorAdded

type ValsetLogValidatorAdded struct {
	Validator            common.Address
	Power                *big.Int
	CurrentValsetVersion *big.Int
	ValidatorCount       *big.Int
	TotalPower           *big.Int
	Raw                  types.Log // Blockchain specific contextual infos
}

ValsetLogValidatorAdded represents a LogValidatorAdded event raised by the Valset contract.

type ValsetLogValidatorAddedIterator

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

ValsetLogValidatorAddedIterator is returned from FilterLogValidatorAdded and is used to iterate over the raw logs and unpacked data for LogValidatorAdded events raised by the Valset contract.

func (*ValsetLogValidatorAddedIterator) Close

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

func (*ValsetLogValidatorAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ValsetLogValidatorAddedIterator) 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 ValsetLogValidatorPowerUpdated

type ValsetLogValidatorPowerUpdated struct {
	Validator            common.Address
	Power                *big.Int
	CurrentValsetVersion *big.Int
	ValidatorCount       *big.Int
	TotalPower           *big.Int
	Raw                  types.Log // Blockchain specific contextual infos
}

ValsetLogValidatorPowerUpdated represents a LogValidatorPowerUpdated event raised by the Valset contract.

type ValsetLogValidatorPowerUpdatedIterator

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

ValsetLogValidatorPowerUpdatedIterator is returned from FilterLogValidatorPowerUpdated and is used to iterate over the raw logs and unpacked data for LogValidatorPowerUpdated events raised by the Valset contract.

func (*ValsetLogValidatorPowerUpdatedIterator) Close

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

func (*ValsetLogValidatorPowerUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ValsetLogValidatorPowerUpdatedIterator) 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 ValsetLogValidatorRemoved

type ValsetLogValidatorRemoved struct {
	Validator            common.Address
	Power                *big.Int
	CurrentValsetVersion *big.Int
	ValidatorCount       *big.Int
	TotalPower           *big.Int
	Raw                  types.Log // Blockchain specific contextual infos
}

ValsetLogValidatorRemoved represents a LogValidatorRemoved event raised by the Valset contract.

type ValsetLogValidatorRemovedIterator

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

ValsetLogValidatorRemovedIterator is returned from FilterLogValidatorRemoved and is used to iterate over the raw logs and unpacked data for LogValidatorRemoved events raised by the Valset contract.

func (*ValsetLogValidatorRemovedIterator) Close

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

func (*ValsetLogValidatorRemovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ValsetLogValidatorRemovedIterator) 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 ValsetLogValsetReset

type ValsetLogValsetReset struct {
	NewValsetVersion *big.Int
	ValidatorCount   *big.Int
	TotalPower       *big.Int
	Raw              types.Log // Blockchain specific contextual infos
}

ValsetLogValsetReset represents a LogValsetReset event raised by the Valset contract.

type ValsetLogValsetResetIterator

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

ValsetLogValsetResetIterator is returned from FilterLogValsetReset and is used to iterate over the raw logs and unpacked data for LogValsetReset events raised by the Valset contract.

func (*ValsetLogValsetResetIterator) Close

func (it *ValsetLogValsetResetIterator) Close() error

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

func (*ValsetLogValsetResetIterator) Error

func (it *ValsetLogValsetResetIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ValsetLogValsetResetIterator) 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 ValsetLogValsetUpdated

type ValsetLogValsetUpdated struct {
	NewValsetVersion *big.Int
	ValidatorCount   *big.Int
	TotalPower       *big.Int
	Raw              types.Log // Blockchain specific contextual infos
}

ValsetLogValsetUpdated represents a LogValsetUpdated event raised by the Valset contract.

type ValsetLogValsetUpdatedIterator

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

ValsetLogValsetUpdatedIterator is returned from FilterLogValsetUpdated and is used to iterate over the raw logs and unpacked data for LogValsetUpdated events raised by the Valset contract.

func (*ValsetLogValsetUpdatedIterator) Close

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

func (*ValsetLogValsetUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ValsetLogValsetUpdatedIterator) 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 ValsetRaw

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

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

func (*ValsetRaw) Call

func (_Valset *ValsetRaw) 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 (*ValsetRaw) Transact

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

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

func (*ValsetRaw) Transfer

func (_Valset *ValsetRaw) 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 ValsetSession

type ValsetSession struct {
	Contract     *Valset           // 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
}

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

func (*ValsetSession) AddValidator

func (_Valset *ValsetSession) AddValidator(_validatorAddress common.Address, _validatorPower *big.Int) (*types.Transaction, error)

AddValidator is a paid mutator transaction binding the contract method 0xfc6c1f02.

Solidity: function addValidator(address _validatorAddress, uint256 _validatorPower) returns()

func (*ValsetSession) CurrentValsetVersion

func (_Valset *ValsetSession) CurrentValsetVersion() (*big.Int, error)

CurrentValsetVersion is a free data retrieval call binding the contract method 0x8d56c37d.

Solidity: function currentValsetVersion() view returns(uint256)

func (*ValsetSession) DebugEthMessageHash

func (_Valset *ValsetSession) DebugEthMessageHash(hash [32]byte) ([32]byte, error)

DebugEthMessageHash is a free data retrieval call binding the contract method 0x61bb63f3.

Solidity: function Debug_ethMessageHash(bytes32 hash) pure returns(bytes32)

func (*ValsetSession) DebugPacked

func (_Valset *ValsetSession) DebugPacked(hash [32]byte) ([]byte, error)

DebugPacked is a free data retrieval call binding the contract method 0xfa210896.

Solidity: function Debug_Packed(bytes32 hash) pure returns(bytes)

func (*ValsetSession) GetValidatorPower

func (_Valset *ValsetSession) GetValidatorPower(_validatorAddress common.Address) (*big.Int, error)

GetValidatorPower is a free data retrieval call binding the contract method 0x473691a4.

Solidity: function getValidatorPower(address _validatorAddress) view returns(uint256)

func (*ValsetSession) IsActiveValidator

func (_Valset *ValsetSession) IsActiveValidator(_validatorAddress common.Address) (bool, error)

IsActiveValidator is a free data retrieval call binding the contract method 0x40550a1c.

Solidity: function isActiveValidator(address _validatorAddress) view returns(bool)

func (*ValsetSession) Operator

func (_Valset *ValsetSession) Operator() (common.Address, error)

Operator is a free data retrieval call binding the contract method 0x570ca735.

Solidity: function operator() view returns(address)

func (*ValsetSession) Powers

func (_Valset *ValsetSession) Powers(arg0 [32]byte) (*big.Int, error)

Powers is a free data retrieval call binding the contract method 0xb872c523.

Solidity: function powers(bytes32 ) view returns(uint256)

func (*ValsetSession) Recover

func (_Valset *ValsetSession) Recover(_message [32]byte, _signature []byte) (common.Address, error)

Recover is a free data retrieval call binding the contract method 0x19045a25.

Solidity: function recover(bytes32 _message, bytes _signature) pure returns(address)

func (*ValsetSession) RecoverGas

func (_Valset *ValsetSession) RecoverGas(_valsetVersion *big.Int, _validatorAddress common.Address) (*types.Transaction, error)

RecoverGas is a paid mutator transaction binding the contract method 0xb5672be3.

Solidity: function recoverGas(uint256 _valsetVersion, address _validatorAddress) returns()

func (*ValsetSession) RemoveValidator

func (_Valset *ValsetSession) RemoveValidator(_validatorAddress common.Address) (*types.Transaction, error)

RemoveValidator is a paid mutator transaction binding the contract method 0x40a141ff.

Solidity: function removeValidator(address _validatorAddress) returns()

func (*ValsetSession) TotalPower

func (_Valset *ValsetSession) TotalPower() (*big.Int, error)

TotalPower is a free data retrieval call binding the contract method 0xdb3ad22c.

Solidity: function totalPower() view returns(uint256)

func (*ValsetSession) UpdateValidatorPower

func (_Valset *ValsetSession) UpdateValidatorPower(_validatorAddress common.Address, _newValidatorPower *big.Int) (*types.Transaction, error)

UpdateValidatorPower is a paid mutator transaction binding the contract method 0x2e75293b.

Solidity: function updateValidatorPower(address _validatorAddress, uint256 _newValidatorPower) returns()

func (*ValsetSession) UpdateValset

func (_Valset *ValsetSession) UpdateValset(_validators []common.Address, _powers []*big.Int) (*types.Transaction, error)

UpdateValset is a paid mutator transaction binding the contract method 0x788cf92f.

Solidity: function updateValset(address[] _validators, uint256[] _powers) returns()

func (*ValsetSession) ValidatorCount

func (_Valset *ValsetSession) ValidatorCount() (*big.Int, error)

ValidatorCount is a free data retrieval call binding the contract method 0x0f43a677.

Solidity: function validatorCount() view returns(uint256)

func (*ValsetSession) Validators

func (_Valset *ValsetSession) Validators(arg0 [32]byte) (bool, error)

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

Solidity: function validators(bytes32 ) view returns(bool)

type ValsetTransactor

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

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

func NewValsetTransactor

func NewValsetTransactor(address common.Address, transactor bind.ContractTransactor) (*ValsetTransactor, error)

NewValsetTransactor creates a new write-only instance of Valset, bound to a specific deployed contract.

func (*ValsetTransactor) AddValidator

func (_Valset *ValsetTransactor) AddValidator(opts *bind.TransactOpts, _validatorAddress common.Address, _validatorPower *big.Int) (*types.Transaction, error)

AddValidator is a paid mutator transaction binding the contract method 0xfc6c1f02.

Solidity: function addValidator(address _validatorAddress, uint256 _validatorPower) returns()

func (*ValsetTransactor) RecoverGas

func (_Valset *ValsetTransactor) RecoverGas(opts *bind.TransactOpts, _valsetVersion *big.Int, _validatorAddress common.Address) (*types.Transaction, error)

RecoverGas is a paid mutator transaction binding the contract method 0xb5672be3.

Solidity: function recoverGas(uint256 _valsetVersion, address _validatorAddress) returns()

func (*ValsetTransactor) RemoveValidator

func (_Valset *ValsetTransactor) RemoveValidator(opts *bind.TransactOpts, _validatorAddress common.Address) (*types.Transaction, error)

RemoveValidator is a paid mutator transaction binding the contract method 0x40a141ff.

Solidity: function removeValidator(address _validatorAddress) returns()

func (*ValsetTransactor) UpdateValidatorPower

func (_Valset *ValsetTransactor) UpdateValidatorPower(opts *bind.TransactOpts, _validatorAddress common.Address, _newValidatorPower *big.Int) (*types.Transaction, error)

UpdateValidatorPower is a paid mutator transaction binding the contract method 0x2e75293b.

Solidity: function updateValidatorPower(address _validatorAddress, uint256 _newValidatorPower) returns()

func (*ValsetTransactor) UpdateValset

func (_Valset *ValsetTransactor) UpdateValset(opts *bind.TransactOpts, _validators []common.Address, _powers []*big.Int) (*types.Transaction, error)

UpdateValset is a paid mutator transaction binding the contract method 0x788cf92f.

Solidity: function updateValset(address[] _validators, uint256[] _powers) returns()

type ValsetTransactorRaw

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

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

func (*ValsetTransactorRaw) Transact

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

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

func (*ValsetTransactorRaw) Transfer

func (_Valset *ValsetTransactorRaw) 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 ValsetTransactorSession

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

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

func (*ValsetTransactorSession) AddValidator

func (_Valset *ValsetTransactorSession) AddValidator(_validatorAddress common.Address, _validatorPower *big.Int) (*types.Transaction, error)

AddValidator is a paid mutator transaction binding the contract method 0xfc6c1f02.

Solidity: function addValidator(address _validatorAddress, uint256 _validatorPower) returns()

func (*ValsetTransactorSession) RecoverGas

func (_Valset *ValsetTransactorSession) RecoverGas(_valsetVersion *big.Int, _validatorAddress common.Address) (*types.Transaction, error)

RecoverGas is a paid mutator transaction binding the contract method 0xb5672be3.

Solidity: function recoverGas(uint256 _valsetVersion, address _validatorAddress) returns()

func (*ValsetTransactorSession) RemoveValidator

func (_Valset *ValsetTransactorSession) RemoveValidator(_validatorAddress common.Address) (*types.Transaction, error)

RemoveValidator is a paid mutator transaction binding the contract method 0x40a141ff.

Solidity: function removeValidator(address _validatorAddress) returns()

func (*ValsetTransactorSession) UpdateValidatorPower

func (_Valset *ValsetTransactorSession) UpdateValidatorPower(_validatorAddress common.Address, _newValidatorPower *big.Int) (*types.Transaction, error)

UpdateValidatorPower is a paid mutator transaction binding the contract method 0x2e75293b.

Solidity: function updateValidatorPower(address _validatorAddress, uint256 _newValidatorPower) returns()

func (*ValsetTransactorSession) UpdateValset

func (_Valset *ValsetTransactorSession) UpdateValset(_validators []common.Address, _powers []*big.Int) (*types.Transaction, error)

UpdateValset is a paid mutator transaction binding the contract method 0x788cf92f.

Solidity: function updateValset(address[] _validators, uint256[] _powers) returns()

Jump to

Keyboard shortcuts

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