generated

package
Version: v1.65.3 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2021 License: BSD-3-Clause Imports: 8 Imported by: 2

Documentation

Index

Constants

View Source
const BridgeBankABI = "" /* 11711-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 = "" /* 3396-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 = "" /* 3650-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 = "" /* 41666-byte string literal not displayed */

BridgeBankBin is the compiled bytecode used for deploying new contracts.

View Source
var BridgeBankFuncSigs = map[string]string{
	"1ba1c7b9": "addToken2LockList(address,string)",
	"328470ab": "bridgeTokenCount()",
	"59bf3a33": "bridgeTokenCreated(bytes32)",
	"3f4d5681": "bridgeTokenWhitelist(address)",
	"d84af266": "burnBridgeTokens(bytes,address,uint256)",
	"eb355352": "chain33Bridge()",
	"24ade6d7": "configLockedTokenOfflineSave(address,string,uint256,uint8)",
	"dbda6212": "configOfflineSaveAccount(address)",
	"50b06e4d": "createNewBridgeToken(string)",
	"7ac2e3b4": "getChain33DepositStatus(bytes32)",
	"0a1f9b66": "getLockedTokenAddress(string)",
	"70e2a8d9": "getToken2address(string)",
	"1c4336a5": "getToken2addressV2(string)",
	"d2168d20": "getofflineSaveCfg(address)",
	"efea27ab": "hasBridgeTokenCreated(string)",
	"9eadc7cc": "highThreshold()",
	"9df2a385": "lock(bytes,address,uint256)",
	"b5a9096e": "lockNonce()",
	"b86247d7": "lockedFunds(address)",
	"d1d008ae": "lowThreshold()",
	"cdf68c41": "mintBridgeTokens(bytes,address,address,string,uint256)",
	"fad60627": "offlineSave()",
	"4e25d152": "offlineSaveCfgs(address)",
	"570ca735": "operator()",
	"7dc0d1d0": "oracle()",
	"85f0bdc7": "token2address(bytes32)",
	"7056c493": "tokenAllow2Lock(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 = "" /* 3294-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)",
	"1c4336a5": "getToken2addressV2(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 = "" /* 3160-byte string literal not displayed */

EthereumBankBin is the compiled bytecode used for deploying new contracts.

View Source
var EthereumBankFuncSigs = map[string]string{
	"0a1f9b66": "getLockedTokenAddress(string)",
	"d2168d20": "getofflineSaveCfg(address)",
	"9eadc7cc": "highThreshold()",
	"b5a9096e": "lockNonce()",
	"b86247d7": "lockedFunds(address)",
	"d1d008ae": "lowThreshold()",
	"fad60627": "offlineSave()",
	"4e25d152": "offlineSaveCfgs(address)",
	"7056c493": "tokenAllow2Lock(bytes32)",
}

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) GetLockedTokenAddress

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

GetLockedTokenAddress is a free data retrieval call binding the contract method 0x0a1f9b66.

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

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) GetToken2addressV2

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

GetToken2addressV2 is a free data retrieval call binding the contract method 0x1c4336a5.

Solidity: function getToken2addressV2(string _symbol) view returns(address, bool)

func (*BridgeBankCaller) GetofflineSaveCfg

func (_BridgeBank *BridgeBankCaller) GetofflineSaveCfg(opts *bind.CallOpts, _token common.Address) (*big.Int, uint8, error)

GetofflineSaveCfg is a free data retrieval call binding the contract method 0xd2168d20.

Solidity: function getofflineSaveCfg(address _token) view returns(uint256, uint8)

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) HighThreshold

func (_BridgeBank *BridgeBankCaller) HighThreshold(opts *bind.CallOpts) (uint8, error)

HighThreshold is a free data retrieval call binding the contract method 0x9eadc7cc.

Solidity: function highThreshold() view returns(uint8)

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) LowThreshold

func (_BridgeBank *BridgeBankCaller) LowThreshold(opts *bind.CallOpts) (uint8, error)

LowThreshold is a free data retrieval call binding the contract method 0xd1d008ae.

Solidity: function lowThreshold() view returns(uint8)

func (*BridgeBankCaller) OfflineSave

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

OfflineSave is a free data retrieval call binding the contract method 0xfad60627.

Solidity: function offlineSave() view returns(address)

func (*BridgeBankCaller) OfflineSaveCfgs

func (_BridgeBank *BridgeBankCaller) OfflineSaveCfgs(opts *bind.CallOpts, arg0 common.Address) (struct {
	Token     common.Address
	Symbol    string
	Threshold *big.Int
	Percents  uint8
}, error)

OfflineSaveCfgs is a free data retrieval call binding the contract method 0x4e25d152.

Solidity: function offlineSaveCfgs(address ) view returns(address token, string symbol, uint256 _threshold, uint8 _percents)

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) TokenAllow2Lock

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

TokenAllow2Lock is a free data retrieval call binding the contract method 0x7056c493.

Solidity: function tokenAllow2Lock(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) GetLockedTokenAddress

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

GetLockedTokenAddress is a free data retrieval call binding the contract method 0x0a1f9b66.

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

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) GetToken2addressV2

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

GetToken2addressV2 is a free data retrieval call binding the contract method 0x1c4336a5.

Solidity: function getToken2addressV2(string _symbol) view returns(address, bool)

func (*BridgeBankCallerSession) GetofflineSaveCfg

func (_BridgeBank *BridgeBankCallerSession) GetofflineSaveCfg(_token common.Address) (*big.Int, uint8, error)

GetofflineSaveCfg is a free data retrieval call binding the contract method 0xd2168d20.

Solidity: function getofflineSaveCfg(address _token) view returns(uint256, uint8)

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) HighThreshold

func (_BridgeBank *BridgeBankCallerSession) HighThreshold() (uint8, error)

HighThreshold is a free data retrieval call binding the contract method 0x9eadc7cc.

Solidity: function highThreshold() view returns(uint8)

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) LowThreshold

func (_BridgeBank *BridgeBankCallerSession) LowThreshold() (uint8, error)

LowThreshold is a free data retrieval call binding the contract method 0xd1d008ae.

Solidity: function lowThreshold() view returns(uint8)

func (*BridgeBankCallerSession) OfflineSave

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

OfflineSave is a free data retrieval call binding the contract method 0xfad60627.

Solidity: function offlineSave() view returns(address)

func (*BridgeBankCallerSession) OfflineSaveCfgs

func (_BridgeBank *BridgeBankCallerSession) OfflineSaveCfgs(arg0 common.Address) (struct {
	Token     common.Address
	Symbol    string
	Threshold *big.Int
	Percents  uint8
}, error)

OfflineSaveCfgs is a free data retrieval call binding the contract method 0x4e25d152.

Solidity: function offlineSaveCfgs(address ) view returns(address token, string symbol, uint256 _threshold, uint8 _percents)

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) TokenAllow2Lock

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

TokenAllow2Lock is a free data retrieval call binding the contract method 0x7056c493.

Solidity: function tokenAllow2Lock(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) AddToken2LockList

func (_BridgeBank *BridgeBankSession) AddToken2LockList(_token common.Address, _symbol string) (*types.Transaction, error)

AddToken2LockList is a paid mutator transaction binding the contract method 0x1ba1c7b9.

Solidity: function addToken2LockList(address _token, string _symbol) returns()

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) ConfigLockedTokenOfflineSave

func (_BridgeBank *BridgeBankSession) ConfigLockedTokenOfflineSave(_token common.Address, _symbol string, _threshold *big.Int, _percents uint8) (*types.Transaction, error)

ConfigLockedTokenOfflineSave is a paid mutator transaction binding the contract method 0x24ade6d7.

Solidity: function configLockedTokenOfflineSave(address _token, string _symbol, uint256 _threshold, uint8 _percents) returns()

func (*BridgeBankSession) ConfigOfflineSaveAccount

func (_BridgeBank *BridgeBankSession) ConfigOfflineSaveAccount(_offlineSave common.Address) (*types.Transaction, error)

ConfigOfflineSaveAccount is a paid mutator transaction binding the contract method 0xdbda6212.

Solidity: function configOfflineSaveAccount(address _offlineSave) returns()

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

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) GetLockedTokenAddress

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

GetLockedTokenAddress is a free data retrieval call binding the contract method 0x0a1f9b66.

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

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) GetToken2addressV2

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

GetToken2addressV2 is a free data retrieval call binding the contract method 0x1c4336a5.

Solidity: function getToken2addressV2(string _symbol) view returns(address, bool)

func (*BridgeBankSession) GetofflineSaveCfg

func (_BridgeBank *BridgeBankSession) GetofflineSaveCfg(_token common.Address) (*big.Int, uint8, error)

GetofflineSaveCfg is a free data retrieval call binding the contract method 0xd2168d20.

Solidity: function getofflineSaveCfg(address _token) view returns(uint256, uint8)

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) HighThreshold

func (_BridgeBank *BridgeBankSession) HighThreshold() (uint8, error)

HighThreshold is a free data retrieval call binding the contract method 0x9eadc7cc.

Solidity: function highThreshold() view returns(uint8)

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) LowThreshold

func (_BridgeBank *BridgeBankSession) LowThreshold() (uint8, error)

LowThreshold is a free data retrieval call binding the contract method 0xd1d008ae.

Solidity: function lowThreshold() view returns(uint8)

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) OfflineSave

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

OfflineSave is a free data retrieval call binding the contract method 0xfad60627.

Solidity: function offlineSave() view returns(address)

func (*BridgeBankSession) OfflineSaveCfgs

func (_BridgeBank *BridgeBankSession) OfflineSaveCfgs(arg0 common.Address) (struct {
	Token     common.Address
	Symbol    string
	Threshold *big.Int
	Percents  uint8
}, error)

OfflineSaveCfgs is a free data retrieval call binding the contract method 0x4e25d152.

Solidity: function offlineSaveCfgs(address ) view returns(address token, string symbol, uint256 _threshold, uint8 _percents)

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) TokenAllow2Lock

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

TokenAllow2Lock is a free data retrieval call binding the contract method 0x7056c493.

Solidity: function tokenAllow2Lock(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) AddToken2LockList

func (_BridgeBank *BridgeBankTransactor) AddToken2LockList(opts *bind.TransactOpts, _token common.Address, _symbol string) (*types.Transaction, error)

AddToken2LockList is a paid mutator transaction binding the contract method 0x1ba1c7b9.

Solidity: function addToken2LockList(address _token, string _symbol) returns()

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) ConfigLockedTokenOfflineSave

func (_BridgeBank *BridgeBankTransactor) ConfigLockedTokenOfflineSave(opts *bind.TransactOpts, _token common.Address, _symbol string, _threshold *big.Int, _percents uint8) (*types.Transaction, error)

ConfigLockedTokenOfflineSave is a paid mutator transaction binding the contract method 0x24ade6d7.

Solidity: function configLockedTokenOfflineSave(address _token, string _symbol, uint256 _threshold, uint8 _percents) returns()

func (*BridgeBankTransactor) ConfigOfflineSaveAccount

func (_BridgeBank *BridgeBankTransactor) ConfigOfflineSaveAccount(opts *bind.TransactOpts, _offlineSave common.Address) (*types.Transaction, error)

ConfigOfflineSaveAccount is a paid mutator transaction binding the contract method 0xdbda6212.

Solidity: function configOfflineSaveAccount(address _offlineSave) 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

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) AddToken2LockList

func (_BridgeBank *BridgeBankTransactorSession) AddToken2LockList(_token common.Address, _symbol string) (*types.Transaction, error)

AddToken2LockList is a paid mutator transaction binding the contract method 0x1ba1c7b9.

Solidity: function addToken2LockList(address _token, string _symbol) returns()

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) ConfigLockedTokenOfflineSave

func (_BridgeBank *BridgeBankTransactorSession) ConfigLockedTokenOfflineSave(_token common.Address, _symbol string, _threshold *big.Int, _percents uint8) (*types.Transaction, error)

ConfigLockedTokenOfflineSave is a paid mutator transaction binding the contract method 0x24ade6d7.

Solidity: function configLockedTokenOfflineSave(address _token, string _symbol, uint256 _threshold, uint8 _percents) returns()

func (*BridgeBankTransactorSession) ConfigOfflineSaveAccount

func (_BridgeBank *BridgeBankTransactorSession) ConfigOfflineSaveAccount(_offlineSave common.Address) (*types.Transaction, error)

ConfigOfflineSaveAccount is a paid mutator transaction binding the contract method 0xdbda6212.

Solidity: function configOfflineSaveAccount(address _offlineSave) 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

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) GetToken2addressV2

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

GetToken2addressV2 is a free data retrieval call binding the contract method 0x1c4336a5.

Solidity: function getToken2addressV2(string _symbol) view returns(address, bool)

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) GetToken2addressV2

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

GetToken2addressV2 is a free data retrieval call binding the contract method 0x1c4336a5.

Solidity: function getToken2addressV2(string _symbol) view returns(address, bool)

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) GetToken2addressV2

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

GetToken2addressV2 is a free data retrieval call binding the contract method 0x1c4336a5.

Solidity: function getToken2addressV2(string _symbol) view returns(address, bool)

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