generated

package
Version: v1.67.2 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2022 License: BSD-3-Clause Imports: 8 Imported by: 1

Documentation

Index

Constants

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

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

View Source
const BridgeRegistryABI = "" /* 1897-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 = "" /* 3650-byte string literal not displayed */

Chain33BankABI 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 EnumABI = "[]"

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

View Source
const EtherPaymentFallbackABI = "[{\"stateMutability\":\"payable\",\"type\":\"receive\"}]"

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

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

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

View Source
const EthereumBridgeABI = "" /* 6387-byte string literal not displayed */

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

View Source
const ExecutorABI = "[]"

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

View Source
const FallbackManagerABI = "" /* 252-byte string literal not displayed */

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

View Source
const GnosisSafeABI = "" /* 14449-byte string literal not displayed */

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

View Source
const GnosisSafeMathABI = "[]"

GnosisSafeMathABI 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 ISignatureValidatorABI = "" /* 314-byte string literal not displayed */

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

View Source
const ISignatureValidatorConstantsABI = "[]"

ISignatureValidatorConstantsABI 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 ModuleManagerABI = "" /* 2845-byte string literal not displayed */

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

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

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

View Source
const OwnerManagerABI = "" /* 2221-byte string literal not displayed */

OwnerManagerABI 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 SecuredTokenTransferABI = "[]"

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

View Source
const SelfAuthorizedABI = "[]"

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

View Source
const SignatureDecoderABI = "[]"

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

View Source
const SingletonABI = "[]"

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

View Source
const StorageAccessibleABI = "" /* 999-byte string literal not displayed */

StorageAccessibleABI 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 = "" /* 44248-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)",
	"24ade6d7": "configLockedTokenOfflineSave(address,string,uint256,uint8)",
	"dbda6212": "configOfflineSaveAccount(address)",
	"50b06e4d": "createNewBridgeToken(string)",
	"1cf86a63": "ethereumBridge()",
	"b7a79b21": "getEthereumDepositStatus(bytes32)",
	"0a1f9b66": "getLockedTokenAddress(string)",
	"70e2a8d9": "getToken2address(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()",
	"8a519ec2": "proxyReceiver()",
	"d6d78132": "setWithdrawProxy(address)",
	"85f0bdc7": "token2address(bytes32)",
	"7056c493": "tokenAllow2Lock(bytes32)",
	"2f89c91c": "unlock(address,address,string,uint256)",
	"8e7da469": "viewEthereumDeposit(bytes32)",
	"68bb7d68": "withdrawViaProxy(bytes,address,uint256)",
}

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()",
	"53d953b5": "deployHeight()",
	"1cf86a63": "ethereumBridge()",
	"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 = "" /* 3162-byte string literal not displayed */

Chain33BankBin is the compiled bytecode used for deploying new contracts.

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

Chain33BankFuncSigs 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 EnumBin = "" /* 186-byte string literal not displayed */

EnumBin is the compiled bytecode used for deploying new contracts.

View Source
var EtherPaymentFallbackBin = "" /* 198-byte string literal not displayed */

EtherPaymentFallbackBin is the compiled bytecode used for deploying new contracts.

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

EthereumBankBin is the compiled bytecode used for deploying new contracts.

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

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

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

EthereumBridgeBin is the compiled bytecode used for deploying new contracts.

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

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

View Source
var ExecutorBin = "" /* 186-byte string literal not displayed */

ExecutorBin is the compiled bytecode used for deploying new contracts.

View Source
var FallbackManagerBin = "" /* 846-byte string literal not displayed */

FallbackManagerBin is the compiled bytecode used for deploying new contracts.

View Source
var FallbackManagerFuncSigs = map[string]string{
	"f08a0323": "setFallbackHandler(address)",
}

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

View Source
var GnosisSafeBin = "" /* 30292-byte string literal not displayed */

GnosisSafeBin is the compiled bytecode used for deploying new contracts.

View Source
var GnosisSafeFuncSigs = map[string]string{
	"a3f4df7e": "NAME()",
	"ffa1ad74": "VERSION()",
	"0d582f13": "addOwnerWithThreshold(address,uint256)",
	"d4d9bdcd": "approveHash(bytes32)",
	"7d832974": "approvedHashes(address,bytes32)",
	"694e80c3": "changeThreshold(uint256)",
	"934f3a11": "checkSignatures(bytes32,bytes,bytes)",
	"e009cfde": "disableModule(address,address)",
	"f698da25": "domainSeparator()",
	"610b5925": "enableModule(address)",
	"e86637db": "encodeTransactionData(address,uint256,bytes,uint8,uint256,uint256,uint256,address,address,uint256)",
	"6a761202": "execTransaction(address,uint256,bytes,uint8,uint256,uint256,uint256,address,address,bytes)",
	"468721a7": "execTransactionFromModule(address,uint256,bytes,uint8)",
	"5229073f": "execTransactionFromModuleReturnData(address,uint256,bytes,uint8)",
	"3408e470": "getChainId()",
	"0a1028c4": "getMessageHash(bytes)",
	"cc2f8452": "getModulesPaginated(address,uint256)",
	"a0e67e2b": "getOwners()",
	"048a5fed": "getSelfBalance()",
	"5624b25b": "getStorageAt(uint256,uint256)",
	"e75235b8": "getThreshold()",
	"d8d11f78": "getTransactionHash(address,uint256,bytes,uint8,uint256,uint256,uint256,address,address,uint256)",
	"2d9ad53d": "isModuleEnabled(address)",
	"2f54bf6e": "isOwner(address)",
	"affed0e0": "nonce()",
	"f8dc5dd9": "removeOwner(address,address,uint256)",
	"c4ca3a9c": "requiredTxGas(address,uint256,bytes,uint8)",
	"f08a0323": "setFallbackHandler(address)",
	"b63e800d": "setup(address[],uint256,address,bytes,address,address,uint256,address)",
	"85a5affe": "signMessage(bytes)",
	"5ae6bd37": "signedMessages(bytes32)",
	"f84436bd": "simulateDelegatecall(address,bytes)",
	"43218e19": "simulateDelegatecallInternal(address,bytes)",
	"e318b52b": "swapOwner(address,address,address)",
}

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

View Source
var GnosisSafeMathBin = "" /* 244-byte string literal not displayed */

GnosisSafeMathBin is the compiled bytecode used for deploying new contracts.

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 ISignatureValidatorConstantsBin = "" /* 186-byte string literal not displayed */

ISignatureValidatorConstantsBin is the compiled bytecode used for deploying new contracts.

View Source
var ISignatureValidatorFuncSigs = map[string]string{
	"20c13b0b": "isValidSignature(bytes,bytes)",
}

ISignatureValidatorFuncSigs 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 ModuleManagerBin = "" /* 5082-byte string literal not displayed */

ModuleManagerBin is the compiled bytecode used for deploying new contracts.

View Source
var ModuleManagerFuncSigs = map[string]string{
	"e009cfde": "disableModule(address,address)",
	"610b5925": "enableModule(address)",
	"468721a7": "execTransactionFromModule(address,uint256,bytes,uint8)",
	"5229073f": "execTransactionFromModuleReturnData(address,uint256,bytes,uint8)",
	"cc2f8452": "getModulesPaginated(address,uint256)",
	"2d9ad53d": "isModuleEnabled(address)",
}

ModuleManagerFuncSigs 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{
	"e83def43": "checkBridgeProphecy(bytes32)",
	"1cf86a63": "ethereumBridge()",
	"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 OwnerManagerBin = "" /* 5632-byte string literal not displayed */

OwnerManagerBin is the compiled bytecode used for deploying new contracts.

View Source
var OwnerManagerFuncSigs = map[string]string{
	"0d582f13": "addOwnerWithThreshold(address,uint256)",
	"694e80c3": "changeThreshold(uint256)",
	"a0e67e2b": "getOwners()",
	"e75235b8": "getThreshold()",
	"2f54bf6e": "isOwner(address)",
	"f8dc5dd9": "removeOwner(address,address,uint256)",
	"e318b52b": "swapOwner(address,address,address)",
}

OwnerManagerFuncSigs 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 SecuredTokenTransferBin = "" /* 186-byte string literal not displayed */

SecuredTokenTransferBin is the compiled bytecode used for deploying new contracts.

View Source
var SelfAuthorizedBin = "" /* 186-byte string literal not displayed */

SelfAuthorizedBin is the compiled bytecode used for deploying new contracts.

View Source
var SignatureDecoderBin = "" /* 186-byte string literal not displayed */

SignatureDecoderBin is the compiled bytecode used for deploying new contracts.

View Source
var SingletonBin = "" /* 186-byte string literal not displayed */

SingletonBin is the compiled bytecode used for deploying new contracts.

View Source
var StorageAccessibleBin = "" /* 3150-byte string literal not displayed */

StorageAccessibleBin is the compiled bytecode used for deploying new contracts.

View Source
var StorageAccessibleFuncSigs = map[string]string{
	"5624b25b": "getStorageAt(uint256,uint256)",
	"f84436bd": "simulateDelegatecall(address,bytes)",
	"43218e19": "simulateDelegatecallInternal(address,bytes)",
}

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

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, _ethereumBridgeAddress 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) EthereumBridge

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

EthereumBridge is a free data retrieval call binding the contract method 0x1cf86a63.

Solidity: function ethereumBridge() view returns(address)

func (*BridgeBankCaller) GetEthereumDepositStatus

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

GetEthereumDepositStatus is a free data retrieval call binding the contract method 0xb7a79b21.

Solidity: function getEthereumDepositStatus(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) 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) ProxyReceiver added in v1.67.0

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

ProxyReceiver is a free data retrieval call binding the contract method 0x8a519ec2.

Solidity: function proxyReceiver() 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) ViewEthereumDeposit

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

ViewEthereumDeposit is a free data retrieval call binding the contract method 0x8e7da469.

Solidity: function viewEthereumDeposit(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) EthereumBridge

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

EthereumBridge is a free data retrieval call binding the contract method 0x1cf86a63.

Solidity: function ethereumBridge() view returns(address)

func (*BridgeBankCallerSession) GetEthereumDepositStatus

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

GetEthereumDepositStatus is a free data retrieval call binding the contract method 0xb7a79b21.

Solidity: function getEthereumDepositStatus(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) 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) ProxyReceiver added in v1.67.0

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

ProxyReceiver is a free data retrieval call binding the contract method 0x8a519ec2.

Solidity: function proxyReceiver() 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) ViewEthereumDeposit

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

ViewEthereumDeposit is a free data retrieval call binding the contract method 0x8e7da469.

Solidity: function viewEthereumDeposit(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) FilterLogEthereumTokenBurn

func (_BridgeBank *BridgeBankFilterer) FilterLogEthereumTokenBurn(opts *bind.FilterOpts) (*BridgeBankLogEthereumTokenBurnIterator, error)

FilterLogEthereumTokenBurn is a free log retrieval operation binding the contract event 0xd8815bcad4eb4e171e3e631d7733cb49bee0e3aa1c4690d74f61b0166b66675d.

Solidity: event LogEthereumTokenBurn(address _token, string _symbol, uint256 _amount, address _ownerFrom, bytes _ethereumReceiver, uint256 _nonce)

func (*BridgeBankFilterer) FilterLogEthereumTokenWithdraw added in v1.66.0

func (_BridgeBank *BridgeBankFilterer) FilterLogEthereumTokenWithdraw(opts *bind.FilterOpts) (*BridgeBankLogEthereumTokenWithdrawIterator, error)

FilterLogEthereumTokenWithdraw is a free log retrieval operation binding the contract event 0xdb1553a69cc98936f1538cf52a56c6dd5f2e11d66b5ca1e66f442be5d8572d26.

Solidity: event LogEthereumTokenWithdraw(address _bridgeToken, string _symbol, uint256 _amount, address _ownerFrom, bytes _ethereumReceiver, address _proxyReceiver, 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) ParseLogEthereumTokenBurn

func (_BridgeBank *BridgeBankFilterer) ParseLogEthereumTokenBurn(log types.Log) (*BridgeBankLogEthereumTokenBurn, error)

ParseLogEthereumTokenBurn is a log parse operation binding the contract event 0xd8815bcad4eb4e171e3e631d7733cb49bee0e3aa1c4690d74f61b0166b66675d.

Solidity: event LogEthereumTokenBurn(address _token, string _symbol, uint256 _amount, address _ownerFrom, bytes _ethereumReceiver, uint256 _nonce)

func (*BridgeBankFilterer) ParseLogEthereumTokenWithdraw added in v1.66.0

func (_BridgeBank *BridgeBankFilterer) ParseLogEthereumTokenWithdraw(log types.Log) (*BridgeBankLogEthereumTokenWithdraw, error)

ParseLogEthereumTokenWithdraw is a log parse operation binding the contract event 0xdb1553a69cc98936f1538cf52a56c6dd5f2e11d66b5ca1e66f442be5d8572d26.

Solidity: event LogEthereumTokenWithdraw(address _bridgeToken, string _symbol, uint256 _amount, address _ownerFrom, bytes _ethereumReceiver, address _proxyReceiver, uint256 _nonce)

func (*BridgeBankFilterer) ParseLogLock

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

ParseLogLock is a log parse operation binding the contract event 0x374449c83a37309524754bbdfc5b8306d3694b5d14609b8fbb1b5