fastbridgemock

package
v0.0.24 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Code generated by synapse abigen DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var AccessControlABI = AccessControlMetaData.ABI

AccessControlABI is the input ABI used to generate the binding from. Deprecated: Use AccessControlMetaData.ABI instead.

View Source
var AccessControlFuncSigs = AccessControlMetaData.Sigs

Deprecated: Use AccessControlMetaData.Sigs instead. AccessControlFuncSigs maps the 4-byte function signature to its string representation.

View Source
var AccessControlMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"name\":\"AccessControlBadConfirmation\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"neededRole\",\"type\":\"bytes32\"}],\"name\":\"AccessControlUnauthorizedAccount\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"callerConfirmation\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"a217fddf": "DEFAULT_ADMIN_ROLE()",
		"248a9ca3": "getRoleAdmin(bytes32)",
		"2f2ff15d": "grantRole(bytes32,address)",
		"91d14854": "hasRole(bytes32,address)",
		"36568abe": "renounceRole(bytes32,address)",
		"d547741f": "revokeRole(bytes32,address)",
		"01ffc9a7": "supportsInterface(bytes4)",
	},
}

AccessControlMetaData contains all meta data concerning the AccessControl contract.

View Source
var AddressABI = AddressMetaData.ABI

AddressABI is the input ABI used to generate the binding from. Deprecated: Use AddressMetaData.ABI instead.

View Source
var AddressBin = AddressMetaData.Bin

AddressBin is the compiled bytecode used for deploying new contracts. Deprecated: Use AddressMetaData.Bin instead.

View Source
var AddressMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"}],\"name\":\"AddressEmptyCode\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"AddressInsufficientBalance\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FailedInnerCall\",\"type\":\"error\"}]",
	Bin: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212201382660e8859928e501e76acd39ba67b320a5e17b4ebe089fc738ba2f68fbfe164736f6c63430008140033",
}

AddressMetaData contains all meta data concerning the Address contract.

View Source
var AdminABI = AdminMetaData.ABI

AdminABI is the input ABI used to generate the binding from. Deprecated: Use AdminMetaData.ABI instead.

View Source
var AdminBin = AdminMetaData.Bin

AdminBin is the compiled bytecode used for deploying new contracts. Deprecated: Use AdminMetaData.Bin instead.

View Source
var AdminFuncSigs = AdminMetaData.Sigs

Deprecated: Use AdminMetaData.Sigs instead. AdminFuncSigs maps the 4-byte function signature to its string representation.

View Source
var AdminMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"AccessControlBadConfirmation\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"neededRole\",\"type\":\"bytes32\"}],\"name\":\"AccessControlUnauthorizedAccount\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"}],\"name\":\"AddressEmptyCode\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"AddressInsufficientBalance\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FailedInnerCall\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"SafeERC20FailedOperation\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"oldChainGasAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newChainGasAmount\",\"type\":\"uint256\"}],\"name\":\"ChainGasAmountUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"oldFeeRate\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newFeeRate\",\"type\":\"uint256\"}],\"name\":\"FeeRateUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"FeesSwept\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"governor\",\"type\":\"address\"}],\"name\":\"GovernorAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"governor\",\"type\":\"address\"}],\"name\":\"GovernorRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"guard\",\"type\":\"address\"}],\"name\":\"GuardAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"guard\",\"type\":\"address\"}],\"name\":\"GuardRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"relayer\",\"type\":\"address\"}],\"name\":\"RelayerAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"relayer\",\"type\":\"address\"}],\"name\":\"RelayerRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"FEE_BPS\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"FEE_RATE_MAX\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"GOVERNOR_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"GUARD_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"RELAYER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_governor\",\"type\":\"address\"}],\"name\":\"addGovernor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_guard\",\"type\":\"address\"}],\"name\":\"addGuard\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_relayer\",\"type\":\"address\"}],\"name\":\"addRelayer\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"chainGasAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"protocolFeeRate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"protocolFees\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_governor\",\"type\":\"address\"}],\"name\":\"removeGovernor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_guard\",\"type\":\"address\"}],\"name\":\"removeGuard\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_relayer\",\"type\":\"address\"}],\"name\":\"removeRelayer\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"callerConfirmation\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newChainGasAmount\",\"type\":\"uint256\"}],\"name\":\"setChainGasAmount\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newFeeRate\",\"type\":\"uint256\"}],\"name\":\"setProtocolFeeRate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"}],\"name\":\"sweepProtocolFees\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"a217fddf": "DEFAULT_ADMIN_ROLE()",
		"bf333f2c": "FEE_BPS()",
		"0f5f6ed7": "FEE_RATE_MAX()",
		"ccc57490": "GOVERNOR_ROLE()",
		"03ed0ee5": "GUARD_ROLE()",
		"926d7d7f": "RELAYER_ROLE()",
		"3c4a25d0": "addGovernor(address)",
		"6913a63c": "addGuard(address)",
		"dd39f00d": "addRelayer(address)",
		"e00a83e0": "chainGasAmount()",
		"248a9ca3": "getRoleAdmin(bytes32)",
		"2f2ff15d": "grantRole(bytes32,address)",
		"91d14854": "hasRole(bytes32,address)",
		"58f85880": "protocolFeeRate()",
		"dcf844a7": "protocolFees(address)",
		"eecdac88": "removeGovernor(address)",
		"b6235016": "removeGuard(address)",
		"60f0a5ac": "removeRelayer(address)",
		"36568abe": "renounceRole(bytes32,address)",
		"d547741f": "revokeRole(bytes32,address)",
		"b250fe6b": "setChainGasAmount(uint256)",
		"b13aa2d6": "setProtocolFeeRate(uint256)",
		"01ffc9a7": "supportsInterface(bytes4)",
		"06f333f2": "sweepProtocolFees(address,address)",
	},
	Bin: "0x608060405234801561001057600080fd5b50604051620015cf380380620015cf833981016040819052610031916100ef565b61003c600082610043565b505061011f565b6000828152602081815260408083206001600160a01b038516845290915281205460ff166100e5576000838152602081815260408083206001600160a01b03861684529091529020805460ff1916600117905561009d3390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45060016100e9565b5060005b92915050565b60006020828403121561010157600080fd5b81516001600160a01b038116811461011857600080fd5b9392505050565b6114a0806200012f6000396000f3fe608060405234801561001057600080fd5b50600436106101985760003560e01c8063926d7d7f116100e3578063ccc574901161008c578063dd39f00d11610066578063dd39f00d146103b3578063e00a83e0146103c6578063eecdac88146103cf57600080fd5b8063ccc5749014610359578063d547741f14610380578063dcf844a71461039357600080fd5b8063b250fe6b116100bd578063b250fe6b14610329578063b62350161461033c578063bf333f2c1461034f57600080fd5b8063926d7d7f146102e7578063a217fddf1461030e578063b13aa2d61461031657600080fd5b806336568abe1161014557806360f0a5ac1161011f57806360f0a5ac1461027d5780636913a63c1461029057806391d14854146102a357600080fd5b806336568abe1461024e5780633c4a25d01461026157806358f858801461027457600080fd5b80630f5f6ed7116101765780630f5f6ed71461020f578063248a9ca3146102185780632f2ff15d1461023b57600080fd5b806301ffc9a71461019d57806303ed0ee5146101c557806306f333f2146101fa575b600080fd5b6101b06101ab366004611324565b6103e2565b60405190151581526020015b60405180910390f35b6101ec7f043c983c49d46f0e102151eaf8085d4a2e6571d5df2d47b013f39bddfd4a639d81565b6040519081526020016101bc565b61020d61020836600461138f565b61047b565b005b6101ec61271081565b6101ec6102263660046113c2565b60009081526020819052604090206001015490565b61020d6102493660046113db565b6105da565b61020d61025c3660046113db565b610605565b61020d61026f3660046113fe565b610663565b6101ec60015481565b61020d61028b3660046113fe565b610716565b61020d61029e3660046113fe565b6107c2565b6101b06102b13660046113db565b60009182526020828152604080842073ffffffffffffffffffffffffffffffffffffffff93909316845291905290205460ff1690565b6101ec7fe2b7fb3b832174769106daebcfd6d1970523240dda11281102db9363b83b0dc481565b6101ec600081565b61020d6103243660046113c2565b61086e565b61020d6103373660046113c2565b6109b8565b61020d61034a3660046113fe565b610a8e565b6101ec620f424081565b6101ec7f7935bd0ae54bc31f548c14dba4d37c5c64b3f8ca900cb468fb8abd54d5894f5581565b61020d61038e3660046113db565b610b3a565b6101ec6103a13660046113fe565b60026020526000908152604090205481565b61020d6103c13660046113fe565b610b5f565b6101ec60035481565b61020d6103dd3660046113fe565b610c0b565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f7965db0b00000000000000000000000000000000000000000000000000000000148061047557507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b3360009081527f6f3b488caa0dc03e5f3d9fd6a25fa8755afcfd62ccffb6e436c696bfa6b866de602052604090205460ff16610518576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f43616c6c6572206973206e6f74206120676f7665726e6f72000000000000000060448201526064015b60405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff82166000908152600260205260408120549081900361054b57505050565b73ffffffffffffffffffffffffffffffffffffffff831660008181526002602052604081205561057c908383610cb7565b6040805173ffffffffffffffffffffffffffffffffffffffff8086168252841660208201529081018290527f244e51bc38c1452fa8aaf487bcb4bca36c2baa3a5fbdb776b1eabd8dc6d277cd9060600160405180910390a1505b5050565b6000828152602081905260409020600101546105f581610e0e565b6105ff8383610e1b565b50505050565b73ffffffffffffffffffffffffffffffffffffffff81163314610654576040517f6697b23200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61065e8282610f17565b505050565b3360009081527fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5602052604090205460ff1661069e57600080fd5b6106c87f7935bd0ae54bc31f548c14dba4d37c5c64b3f8ca900cb468fb8abd54d5894f5582610e1b565b5060405173ffffffffffffffffffffffffffffffffffffffff821681527fdc5a48d79e2e147530ff63ecdbed5a5a66adb9d5cf339384d5d076da197c40b5906020015b60405180910390a150565b3360009081527fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5602052604090205460ff1661075157600080fd5b61077b7fe2b7fb3b832174769106daebcfd6d1970523240dda11281102db9363b83b0dc482610f17565b5060405173ffffffffffffffffffffffffffffffffffffffff821681527f10e1f7ce9fd7d1b90a66d13a2ab3cb8dd7f29f3f8d520b143b063ccfbab6906b9060200161070b565b3360009081527fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5602052604090205460ff166107fd57600080fd5b6108277f043c983c49d46f0e102151eaf8085d4a2e6571d5df2d47b013f39bddfd4a639d82610e1b565b5060405173ffffffffffffffffffffffffffffffffffffffff821681527f93405f05cd04f0d1bd875f2de00f1f3890484ffd0589248953bdfd29ba7f2f599060200161070b565b3360009081527f6f3b488caa0dc03e5f3d9fd6a25fa8755afcfd62ccffb6e436c696bfa6b866de602052604090205460ff16610906576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f43616c6c6572206973206e6f74206120676f7665726e6f720000000000000000604482015260640161050f565b612710811115610972576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f6e657746656552617465203e206d617800000000000000000000000000000000604482015260640161050f565b600180549082905560408051828152602081018490527f14914da2bf76024616fbe1859783fcd4dbddcb179b1f3a854949fbf920dcb95791015b60405180910390a15050565b3360009081527f6f3b488caa0dc03e5f3d9fd6a25fa8755afcfd62ccffb6e436c696bfa6b866de602052604090205460ff16610a50576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f43616c6c6572206973206e6f74206120676f7665726e6f720000000000000000604482015260640161050f565b600380549082905560408051828152602081018490527f5cf09b12f3f56b4c564d51b25b40360af6d795198adb61ae0806a36c294323fa91016109ac565b3360009081527fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5602052604090205460ff16610ac957600080fd5b610af37f043c983c49d46f0e102151eaf8085d4a2e6571d5df2d47b013f39bddfd4a639d82610f17565b5060405173ffffffffffffffffffffffffffffffffffffffff821681527f59926e0a78d12238b668b31c8e3f6ece235a59a00ede111d883e255b68c4d0489060200161070b565b600082815260208190526040902060010154610b5581610e0e565b6105ff8383610f17565b3360009081527fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5602052604090205460ff16610b9a57600080fd5b610bc47fe2b7fb3b832174769106daebcfd6d1970523240dda11281102db9363b83b0dc482610e1b565b5060405173ffffffffffffffffffffffffffffffffffffffff821681527f03580ee9f53a62b7cb409a2cb56f9be87747dd15017afc5cef6eef321e4fb2c59060200161070b565b3360009081527fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5602052604090205460ff16610c4657600080fd5b610c707f7935bd0ae54bc31f548c14dba4d37c5c64b3f8ca900cb468fb8abd54d5894f5582610f17565b5060405173ffffffffffffffffffffffffffffffffffffffff821681527f1ebe834e73d60a5fec822c1e1727d34bc79f2ad977ed504581cc1822fe20fb5b9060200161070b565b3073ffffffffffffffffffffffffffffffffffffffff831603610cd957505050565b80600003610ce657505050565b7fffffffffffffffffffffffff111111111111111111111111111111111111111273ffffffffffffffffffffffffffffffffffffffff841601610ded5760008273ffffffffffffffffffffffffffffffffffffffff168260405160006040518083038185875af1925050503d8060008114610d7d576040519150601f19603f3d011682016040523d82523d6000602084013e610d82565b606091505b50509050806105ff576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f455448207472616e73666572206661696c656400000000000000000000000000604482015260640161050f565b61065e73ffffffffffffffffffffffffffffffffffffffff84168383610fd2565b610e18813361105f565b50565b60008281526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8516845290915281205460ff16610f0f5760008381526020818152604080832073ffffffffffffffffffffffffffffffffffffffff86168452909152902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055610ead3390565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a4506001610475565b506000610475565b60008281526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8516845290915281205460ff1615610f0f5760008381526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8616808552925280832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016905551339286917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a4506001610475565b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb0000000000000000000000000000000000000000000000000000000017905261065e9084906110e5565b60008281526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8516845290915290205460ff166105d6576040517fe2517d3f00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff821660048201526024810183905260440161050f565b600061110773ffffffffffffffffffffffffffffffffffffffff84168361117b565b9050805160001415801561112c57508080602001905181019061112a9190611419565b155b1561065e576040517f5274afe700000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8416600482015260240161050f565b606061118983836000611190565b9392505050565b6060814710156111ce576040517fcd78605900000000000000000000000000000000000000000000000000000000815230600482015260240161050f565b6000808573ffffffffffffffffffffffffffffffffffffffff1684866040516111f7919061143b565b60006040518083038185875af1925050503d8060008114611234576040519150601f19603f3d011682016040523d82523d6000602084013e611239565b606091505b5091509150611249868383611253565b9695505050505050565b60608261126857611263826112e2565b611189565b815115801561128c575073ffffffffffffffffffffffffffffffffffffffff84163b155b156112db576040517f9996b31500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8516600482015260240161050f565b5080611189565b8051156112f25780518082602001fd5b6040517f1425ea4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006020828403121561133657600080fd5b81357fffffffff000000000000000000000000000000000000000000000000000000008116811461118957600080fd5b803573ffffffffffffffffffffffffffffffffffffffff8116811461138a57600080fd5b919050565b600080604083850312156113a257600080fd5b6113ab83611366565b91506113b960208401611366565b90509250929050565b6000602082840312156113d457600080fd5b5035919050565b600080604083850312156113ee57600080fd5b823591506113b960208401611366565b60006020828403121561141057600080fd5b61118982611366565b60006020828403121561142b57600080fd5b8151801515811461118957600080fd5b6000825160005b8181101561145c5760208186018101518583015201611442565b50600092019182525091905056fea26469706673582212204cb1bd6a4ee630df725e35b876629e8f8d499882922371a6191a603806dc420964736f6c63430008140033",
}

AdminMetaData contains all meta data concerning the Admin contract.

View Source
var ContextABI = ContextMetaData.ABI

ContextABI is the input ABI used to generate the binding from. Deprecated: Use ContextMetaData.ABI instead.

View Source
var ContextMetaData = &bind.MetaData{
	ABI: "[]",
}

ContextMetaData contains all meta data concerning the Context contract.

View Source
var Contracts map[string]*compiler.Contract

Contracts are unmarshalled on start

View Source
var ERC165ABI = ERC165MetaData.ABI

ERC165ABI is the input ABI used to generate the binding from. Deprecated: Use ERC165MetaData.ABI instead.

View Source
var ERC165FuncSigs = ERC165MetaData.Sigs

Deprecated: Use ERC165MetaData.Sigs instead. ERC165FuncSigs maps the 4-byte function signature to its string representation.

View Source
var ERC165MetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"01ffc9a7": "supportsInterface(bytes4)",
	},
}

ERC165MetaData contains all meta data concerning the ERC165 contract.

View Source
var FastBridgeABI = FastBridgeMetaData.ABI

FastBridgeABI is the input ABI used to generate the binding from. Deprecated: Use FastBridgeMetaData.ABI instead.

View Source
var FastBridgeBin = FastBridgeMetaData.Bin

FastBridgeBin is the compiled bytecode used for deploying new contracts. Deprecated: Use FastBridgeMetaData.Bin instead.

View Source
var FastBridgeFuncSigs = FastBridgeMetaData.Sigs

Deprecated: Use FastBridgeMetaData.Sigs instead. FastBridgeFuncSigs maps the 4-byte function signature to its string representation.

View Source
var FastBridgeMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"AccessControlBadConfirmation\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"neededRole\",\"type\":\"bytes32\"}],\"name\":\"AccessControlUnauthorizedAccount\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"}],\"name\":\"AddressEmptyCode\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"AddressInsufficientBalance\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AmountIncorrect\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ChainIncorrect\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DeadlineExceeded\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DeadlineNotExceeded\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DeadlineTooShort\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DisputePeriodNotPassed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DisputePeriodPassed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FailedInnerCall\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MsgValueIncorrect\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"SafeERC20FailedOperation\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SenderIncorrect\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"StatusIncorrect\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TokenNotContract\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TransactionRelayed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ZeroAddress\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"transactionId\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"relayer\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"BridgeDepositClaimed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"transactionId\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"BridgeDepositRefunded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"transactionId\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"relayer\",\"type\":\"address\"}],\"name\":\"BridgeProofDisputed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"transactionId\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"relayer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"transactionHash\",\"type\":\"bytes32\"}],\"name\":\"BridgeProofProvided\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"transactionId\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"relayer\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"originChainId\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"originToken\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"destToken\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"originAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"destAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"chainGasAmount\",\"type\":\"uint256\"}],\"name\":\"BridgeRelayed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"transactionId\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"request\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"destChainId\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"originToken\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"destToken\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"originAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"destAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"sendChainGas\",\"type\":\"bool\"}],\"name\":\"BridgeRequested\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"oldChainGasAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newChainGasAmount\",\"type\":\"uint256\"}],\"name\":\"ChainGasAmountUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"oldFeeRate\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newFeeRate\",\"type\":\"uint256\"}],\"name\":\"FeeRateUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"FeesSwept\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"governor\",\"type\":\"address\"}],\"name\":\"GovernorAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"governor\",\"type\":\"address\"}],\"name\":\"GovernorRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"guard\",\"type\":\"address\"}],\"name\":\"GuardAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"guard\",\"type\":\"address\"}],\"name\":\"GuardRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"relayer\",\"type\":\"address\"}],\"name\":\"RelayerAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"relayer\",\"type\":\"address\"}],\"name\":\"RelayerRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"DISPUTE_PERIOD\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"FEE_BPS\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"FEE_RATE_MAX\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"GOVERNOR_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"GUARD_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MIN_DEADLINE_PERIOD\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"PROVE_PERIOD\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"RELAYER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_governor\",\"type\":\"address\"}],\"name\":\"addGovernor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_guard\",\"type\":\"address\"}],\"name\":\"addGuard\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_relayer\",\"type\":\"address\"}],\"name\":\"addRelayer\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint32\",\"name\":\"dstChainId\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"originToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"destToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"originAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"destAmount\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"sendChainGas\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"internalType\":\"structIFastBridge.BridgeParams\",\"name\":\"params\",\"type\":\"tuple\"}],\"name\":\"bridge\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"bridgeProofs\",\"outputs\":[{\"internalType\":\"uint96\",\"name\":\"timestamp\",\"type\":\"uint96\"},{\"internalType\":\"address\",\"name\":\"relayer\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"bridgeRelays\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"bridgeStatuses\",\"outputs\":[{\"internalType\":\"enumFastBridge.BridgeStatus\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"transactionId\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"relayer\",\"type\":\"address\"}],\"name\":\"canClaim\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"chainGasAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"request\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"claim\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"deployBlock\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"transactionId\",\"type\":\"bytes32\"}],\"name\":\"dispute\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"request\",\"type\":\"bytes\"}],\"name\":\"getBridgeTransaction\",\"outputs\":[{\"components\":[{\"internalType\":\"uint32\",\"name\":\"originChainId\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"destChainId\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"originSender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"destRecipient\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"originToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"destToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"originAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"destAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"originFeeAmount\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"sendChainGas\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"}],\"internalType\":\"structIFastBridge.BridgeTransaction\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"nonce\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"protocolFeeRate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"protocolFees\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"request\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"destTxHash\",\"type\":\"bytes32\"}],\"name\":\"prove\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"request\",\"type\":\"bytes\"}],\"name\":\"refund\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"request\",\"type\":\"bytes\"}],\"name\":\"relay\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_governor\",\"type\":\"address\"}],\"name\":\"removeGovernor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_guard\",\"type\":\"address\"}],\"name\":\"removeGuard\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_relayer\",\"type\":\"address\"}],\"name\":\"removeRelayer\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"callerConfirmation\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newChainGasAmount\",\"type\":\"uint256\"}],\"name\":\"setChainGasAmount\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newFeeRate\",\"type\":\"uint256\"}],\"name\":\"setProtocolFeeRate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"}],\"name\":\"sweepProtocolFees\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"a217fddf": "DEFAULT_ADMIN_ROLE()",
		"a5bbe22b": "DISPUTE_PERIOD()",
		"bf333f2c": "FEE_BPS()",
		"0f5f6ed7": "FEE_RATE_MAX()",
		"ccc57490": "GOVERNOR_ROLE()",
		"03ed0ee5": "GUARD_ROLE()",
		"820688d5": "MIN_DEADLINE_PERIOD()",
		"d3cbc760": "PROVE_PERIOD()",
		"926d7d7f": "RELAYER_ROLE()",
		"3c4a25d0": "addGovernor(address)",
		"6913a63c": "addGuard(address)",
		"dd39f00d": "addRelayer(address)",
		"45851694": "bridge((uint32,address,address,address,address,uint256,uint256,bool,uint256))",
		"91ad5039": "bridgeProofs(bytes32)",
		"8379a24f": "bridgeRelays(bytes32)",
		"051287bc": "bridgeStatuses(bytes32)",
		"aa9641ab": "canClaim(bytes32,address)",
		"e00a83e0": "chainGasAmount()",
		"41fcb612": "claim(bytes,address)",
		"a3ec191a": "deployBlock()",
		"add98c70": "dispute(bytes32)",
		"ac11fb1a": "getBridgeTransaction(bytes)",
		"248a9ca3": "getRoleAdmin(bytes32)",
		"2f2ff15d": "grantRole(bytes32,address)",
		"91d14854": "hasRole(bytes32,address)",
		"affed0e0": "nonce()",
		"58f85880": "protocolFeeRate()",
		"dcf844a7": "protocolFees(address)",
		"886d36ff": "prove(bytes,bytes32)",
		"5eb7d946": "refund(bytes)",
		"8f0d6f17": "relay(bytes)",
		"eecdac88": "removeGovernor(address)",
		"b6235016": "removeGuard(address)",
		"60f0a5ac": "removeRelayer(address)",
		"36568abe": "renounceRole(bytes32,address)",
		"d547741f": "revokeRole(bytes32,address)",
		"b250fe6b": "setChainGasAmount(uint256)",
		"b13aa2d6": "setProtocolFeeRate(uint256)",
		"01ffc9a7": "supportsInterface(bytes4)",
		"06f333f2": "sweepProtocolFees(address,address)",
	},
	Bin: "0x60a06040523480156200001157600080fd5b5060405162003105380380620031058339810160408190526200003491620000fe565b80620000426000826200004f565b5050436080525062000130565b6000828152602081815260408083206001600160a01b038516845290915281205460ff16620000f4576000838152602081815260408083206001600160a01b03861684529091529020805460ff19166001179055620000ab3390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a4506001620000f8565b5060005b92915050565b6000602082840312156200011157600080fd5b81516001600160a01b03811681146200012957600080fd5b9392505050565b608051612fb96200014c600039600061067f0152612fb96000f3fe6080604052600436106102bb5760003560e01c806391d148541161016e578063b250fe6b116100cb578063d547741f1161007f578063dd39f00d11610064578063dd39f00d14610832578063e00a83e014610852578063eecdac881461086857600080fd5b8063d547741f146107e5578063dcf844a71461080557600080fd5b8063bf333f2c116100b0578063bf333f2c14610784578063ccc574901461079b578063d3cbc760146107cf57600080fd5b8063b250fe6b14610744578063b62350161461076457600080fd5b8063aa9641ab11610122578063add98c7011610107578063add98c70146106ee578063affed0e01461070e578063b13aa2d61461072457600080fd5b8063aa9641ab146106a1578063ac11fb1a146106c157600080fd5b8063a217fddf11610153578063a217fddf14610658578063a3ec191a1461066d578063a5bbe22b146104e557600080fd5b806391d14854146105e0578063926d7d7f1461062457600080fd5b8063458516941161021c578063820688d5116101d0578063886d36ff116101b5578063886d36ff1461052b5780638f0d6f171461054b57806391ad50391461055e57600080fd5b8063820688d5146104e55780638379a24f146104fb57600080fd5b80635eb7d946116102015780635eb7d9461461048557806360f0a5ac146104a55780636913a63c146104c557600080fd5b8063458516941461045c57806358f858801461046f57600080fd5b8063248a9ca31161027357806336568abe1161025857806336568abe146103fc5780633c4a25d01461041c57806341fcb6121461043c57600080fd5b8063248a9ca3146103ac5780632f2ff15d146103dc57600080fd5b8063051287bc116102a4578063051287bc1461033757806306f333f2146103745780630f5f6ed71461039657600080fd5b806301ffc9a7146102c057806303ed0ee5146102f5575b600080fd5b3480156102cc57600080fd5b506102e06102db366004612796565b610888565b60405190151581526020015b60405180910390f35b34801561030157600080fd5b506103297f043c983c49d46f0e102151eaf8085d4a2e6571d5df2d47b013f39bddfd4a639d81565b6040519081526020016102ec565b34801561034357600080fd5b506103676103523660046127d8565b60046020526000908152604090205460ff1681565b6040516102ec9190612820565b34801561038057600080fd5b5061039461038f366004612886565b610921565b005b3480156103a257600080fd5b5061032961271081565b3480156103b857600080fd5b506103296103c73660046127d8565b60009081526020819052604090206001015490565b3480156103e857600080fd5b506103946103f73660046128bf565b610a59565b34801561040857600080fd5b506103946104173660046128bf565b610a84565b34801561042857600080fd5b506103946104373660046128e4565b610ad5565b34801561044857600080fd5b50610394610457366004612a29565b610b7b565b61039461046a366004612aa6565b610e23565b34801561047b57600080fd5b5061032960015481565b34801561049157600080fd5b506103946104a0366004612b49565b611131565b3480156104b157600080fd5b506103946104c03660046128e4565b611294565b3480156104d157600080fd5b506103946104e03660046128e4565b611333565b3480156104f157600080fd5b5061032961070881565b34801561050757600080fd5b506102e06105163660046127d8565b60066020526000908152604090205460ff1681565b34801561053757600080fd5b50610394610546366004612b86565b6113d2565b610394610559366004612b49565b6115ce565b34801561056a57600080fd5b506105b46105793660046127d8565b6005602052600090815260409020546bffffffffffffffffffffffff8116906c0100000000000000000000000090046001600160a01b031682565b604080516bffffffffffffffffffffffff90931683526001600160a01b039091166020830152016102ec565b3480156105ec57600080fd5b506102e06105fb3660046128bf565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b34801561063057600080fd5b506103297fe2b7fb3b832174769106daebcfd6d1970523240dda11281102db9363b83b0dc481565b34801561066457600080fd5b50610329600081565b34801561067957600080fd5b506103297f000000000000000000000000000000000000000000000000000000000000000081565b3480156106ad57600080fd5b506102e06106bc3660046128bf565b611883565b3480156106cd57600080fd5b506106e16106dc366004612b49565b611988565b6040516102ec9190612bcb565b3480156106fa57600080fd5b506103946107093660046127d8565b6119fb565b34801561071a57600080fd5b5061032960075481565b34801561073057600080fd5b5061039461073f3660046127d8565b611bd3565b34801561075057600080fd5b5061039461075f3660046127d8565b611d1d565b34801561077057600080fd5b5061039461077f3660046128e4565b611df3565b34801561079057600080fd5b50610329620f424081565b3480156107a757600080fd5b506103297f7935bd0ae54bc31f548c14dba4d37c5c64b3f8ca900cb468fb8abd54d5894f5581565b3480156107db57600080fd5b50610329610e1081565b3480156107f157600080fd5b506103946108003660046128bf565b611e92565b34801561081157600080fd5b506103296108203660046128e4565b60026020526000908152604090205481565b34801561083e57600080fd5b5061039461084d3660046128e4565b611eb7565b34801561085e57600080fd5b5061032960035481565b34801561087457600080fd5b506103946108833660046128e4565b611f56565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f7965db0b00000000000000000000000000000000000000000000000000000000148061091b57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b3360009081527f6f3b488caa0dc03e5f3d9fd6a25fa8755afcfd62ccffb6e436c696bfa6b866de602052604090205460ff166109be576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f43616c6c6572206973206e6f74206120676f7665726e6f72000000000000000060448201526064015b60405180910390fd5b6001600160a01b038216600090815260026020526040812054908190036109e457505050565b6001600160a01b038316600081815260026020526040812055610a08908383611ff5565b604080516001600160a01b038086168252841660208201529081018290527f244e51bc38c1452fa8aaf487bcb4bca36c2baa3a5fbdb776b1eabd8dc6d277cd9060600160405180910390a1505b5050565b600082815260208190526040902060010154610a7481612118565b610a7e8383612125565b50505050565b6001600160a01b0381163314610ac6576040517f6697b23200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610ad082826121cf565b505050565b3360009081527fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5602052604090205460ff16610b1057600080fd5b610b3a7f7935bd0ae54bc31f548c14dba4d37c5c64b3f8ca900cb468fb8abd54d5894f5582612125565b506040516001600160a01b03821681527fdc5a48d79e2e147530ff63ecdbed5a5a66adb9d5cf339384d5d076da197c40b5906020015b60405180910390a150565b3360009081527ffaf93c3d007e112089dc8351e013e6685ef67703975d0224b26fc45941d4f1f5602052604090205460ff16610c13576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f43616c6c6572206973206e6f7420612072656c6179657200000000000000000060448201526064016109b5565b815160208301206000610c2584611988565b9050600260008381526004602081905260409091205460ff1690811115610c4e57610c4e6127f1565b14610c85576040517f4145817200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000828152600560209081526040918290208251808401909352546bffffffffffffffffffffffff811683526c0100000000000000000000000090046001600160a01b03169082018190523314610d08576040517f4af43a9000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80516107089042036bffffffffffffffffffffffff1611610d55576040517f1992d0bd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000838152600460205260409020805460ff1916600317905561010082015115610db15761010082015160808301516001600160a01b031660009081526002602052604081208054909190610dab908490612ce0565b90915550505b608082015160c0830151610dcf6001600160a01b0383168783611ff5565b604080516001600160a01b03848116825260208201849052881691339188917f582211c35a2139ac3bbaac74663c6a1f56c6cbb658b41fe11fd45a82074ac67891015b60405180910390a450505050505050565b46816000015163ffffffff1603610e66576040517f7029fdf900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60a08101511580610e79575060c0810151155b15610eb0576040517fe38820c800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60608101516001600160a01b03161580610ed5575060808101516001600160a01b0316155b15610f0c576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610f1861070842612ce0565b8161010001511015610f56576040517f04b7fcc800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000610f6b3083606001518460a00151612252565b90506000806001541115610f9857620f424060015483610f8b9190612cf3565b610f959190612d0a565b90505b610fa28183612d45565b915060006040518061018001604052804663ffffffff168152602001856000015163ffffffff16815260200185602001516001600160a01b0316815260200185604001516001600160a01b0316815260200185606001516001600160a01b0316815260200185608001516001600160a01b031681526020018481526020018560c0015181526020018381526020018560e001511515815260200185610100015181526020016007600081548092919061105a90612d58565b9091555090526040516110709190602001612bcb565b604080518083037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0018152828252805160208083019190912060008181526004835293909320805460ff191660011790558701518751606089015160808a015160c08b015160e08c015195985095966001600160a01b039094169587957f120ea0364f36cdac7983bcfdd55270ca09d7f9b314a2ebc425a3b01ab1d6403a95611122958b959094909390928e92612db4565b60405180910390a35050505050565b80516020820120600061114383611988565b9050610e108161014001516111589190612ce0565b4211611190576040517fe15ff9ea00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600160008381526004602081905260409091205460ff16908111156111b7576111b76127f1565b146111ee576040517f4145817200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000828152600460208190526040909120805460ff191660018302179055506040810151608082015161010083015160c084015160009161122e91612ce0565b90506112446001600160a01b0383168483611ff5565b604080516001600160a01b0384811682526020820184905285169187917fb4c55c0c9bc613519b920e88748090150b890a875d307f21bea7d4fb2e8bc958910160405180910390a3505050505050565b3360009081527fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5602052604090205460ff166112cf57600080fd5b6112f97fe2b7fb3b832174769106daebcfd6d1970523240dda11281102db9363b83b0dc4826121cf565b506040516001600160a01b03821681527f10e1f7ce9fd7d1b90a66d13a2ab3cb8dd7f29f3f8d520b143b063ccfbab6906b90602001610b70565b3360009081527fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5602052604090205460ff1661136e57600080fd5b6113987f043c983c49d46f0e102151eaf8085d4a2e6571d5df2d47b013f39bddfd4a639d82612125565b506040516001600160a01b03821681527f93405f05cd04f0d1bd875f2de00f1f3890484ffd0589248953bdfd29ba7f2f5990602001610b70565b3360009081527ffaf93c3d007e112089dc8351e013e6685ef67703975d0224b26fc45941d4f1f5602052604090205460ff1661146a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f43616c6c6572206973206e6f7420612072656c6179657200000000000000000060448201526064016109b5565b81516020830120600061147c84611988565b9050610e108161014001516114919190612ce0565b4211156114ca576040517f559895a300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600160008381526004602081905260409091205460ff16908111156114f1576114f16127f1565b14611528576040517f4145817200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008281526004602090815260408083208054600260ff19909116179055805180820182526bffffffffffffffffffffffff4281168252338285018181528887526005865295849020925195516001600160a01b03166c0100000000000000000000000002959091169490941790555185815284917f4ac8af8a2cd87193d64dfc7a3b8d9923b714ec528b18725d080aa1299be0c5e4910160405180910390a350505050565b3360009081527ffaf93c3d007e112089dc8351e013e6685ef67703975d0224b26fc45941d4f1f5602052604090205460ff16611666576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f43616c6c6572206973206e6f7420612072656c6179657200000000000000000060448201526064016109b5565b80516020820120600061167883611988565b90504663ffffffff16816020015163ffffffff16146116c3576040517f7029fdf900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806101400151421115611702576040517f559895a300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008281526006602052604090205460ff161561174b576040517fbef7bb7d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000828152600660205260409020805460ff19166001179055606081015160a082015160e08301516003546101208501516117945750600061178e848484612252565b50611805565b7fffffffffffffffffffffffff11111111111111111111111111111111111111126001600160a01b038416016117d85761178e84846117d38486612ce0565b612252565b6117e3848484612252565b506118038473eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee83612252565b505b845160808087015160a08089015160c0808b015160e08c01516040805163ffffffff90991689526001600160a01b0396871660208a0152938616938801939093526060870152938501528301849052861691339189917ff8ae392d784b1ea5e8881bfa586d81abf07ef4f1e2fc75f7fe51c90f05199a5c9101610e12565b6000600260008481526004602081905260409091205460ff16908111156118ac576118ac6127f1565b146118e3576040517f4145817200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000838152600560209081526040918290208251808401909352546bffffffffffffffffffffffff811683526001600160a01b036c010000000000000000000000009091048116918301829052841614611969576040517f4af43a9000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80516107089042036bffffffffffffffffffffffff1611949350505050565b604080516101808101825260008082526020808301829052928201819052606082018190526080820181905260a0820181905260c0820181905260e082018190526101008201819052610120820181905261014082018190526101608201528251909161091b9184018101908401612e65565b3360009081527f92bf2f06c618f6add65571bf52eb90d22c9b52fd65028daa87260b82998b30bd602052604090205460ff16611a93576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f43616c6c6572206973206e6f742061206775617264000000000000000000000060448201526064016109b5565b600260008281526004602081905260409091205460ff1690811115611aba57611aba6127f1565b14611af1576040517f4145817200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000818152600560209081526040918290208251808401909352546bffffffffffffffffffffffff8082168085526c010000000000000000000000009092046001600160a01b03169390920192909252610708914203161115611b80576040517f3e908aac00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000818152600460209081526040808320805460ff19166001179055600590915280822082905551339183917f0695cf1d39b3055dcd0fe02d8b47eaf0d5a13e1996de925de59d0ef9b7f7fad49190a350565b3360009081527f6f3b488caa0dc03e5f3d9fd6a25fa8755afcfd62ccffb6e436c696bfa6b866de602052604090205460ff16611c6b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f43616c6c6572206973206e6f74206120676f7665726e6f72000000000000000060448201526064016109b5565b612710811115611cd7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f6e657746656552617465203e206d61780000000000000000000000000000000060448201526064016109b5565b600180549082905560408051828152602081018490527f14914da2bf76024616fbe1859783fcd4dbddcb179b1f3a854949fbf920dcb95791015b60405180910390a15050565b3360009081527f6f3b488caa0dc03e5f3d9fd6a25fa8755afcfd62ccffb6e436c696bfa6b866de602052604090205460ff16611db5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f43616c6c6572206973206e6f74206120676f7665726e6f72000000000000000060448201526064016109b5565b600380549082905560408051828152602081018490527f5cf09b12f3f56b4c564d51b25b40360af6d795198adb61ae0806a36c294323fa9101611d11565b3360009081527fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5602052604090205460ff16611e2e57600080fd5b611e587f043c983c49d46f0e102151eaf8085d4a2e6571d5df2d47b013f39bddfd4a639d826121cf565b506040516001600160a01b03821681527f59926e0a78d12238b668b31c8e3f6ece235a59a00ede111d883e255b68c4d04890602001610b70565b600082815260208190526040902060010154611ead81612118565b610a7e83836121cf565b3360009081527fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5602052604090205460ff16611ef257600080fd5b611f1c7fe2b7fb3b832174769106daebcfd6d1970523240dda11281102db9363b83b0dc482612125565b506040516001600160a01b03821681527f03580ee9f53a62b7cb409a2cb56f9be87747dd15017afc5cef6eef321e4fb2c590602001610b70565b3360009081527fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5602052604090205460ff16611f9157600080fd5b611fbb7f7935bd0ae54bc31f548c14dba4d37c5c64b3f8ca900cb468fb8abd54d5894f55826121cf565b506040516001600160a01b03821681527f1ebe834e73d60a5fec822c1e1727d34bc79f2ad977ed504581cc1822fe20fb5b90602001610b70565b306001600160a01b0383160361200a57505050565b8060000361201757505050565b7fffffffffffffffffffffffff11111111111111111111111111111111111111126001600160a01b03841601612104576000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114612094576040519150601f19603f3d011682016040523d82523d6000602084013e612099565b606091505b5050905080610a7e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f455448207472616e73666572206661696c65640000000000000000000000000060448201526064016109b5565b610ad06001600160a01b0384168383612422565b6121228133612496565b50565b6000828152602081815260408083206001600160a01b038516845290915281205460ff166121c7576000838152602081815260408083206001600160a01b03861684529091529020805460ff1916600117905561217f3390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a450600161091b565b50600061091b565b6000828152602081815260408083206001600160a01b038516845290915281205460ff16156121c7576000838152602081815260408083206001600160a01b0386168085529252808320805460ff1916905551339286917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a450600161091b565b60006001600160a01b03831673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee146123bb5761228a836001600160a01b0316612502565b6040517f70a082310000000000000000000000000000000000000000000000000000000081526001600160a01b0385811660048301528416906370a0823190602401602060405180830381865afa1580156122e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061230d9190612f31565b90506123246001600160a01b0384163386856125a8565b6040517f70a082310000000000000000000000000000000000000000000000000000000081526001600160a01b0385811660048301528291908516906370a0823190602401602060405180830381865afa158015612386573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123aa9190612f31565b6123b49190612d45565b905061241b565b3482146123f4576040517f81de0bf300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b0384163014612418576124186001600160a01b0384168584611ff5565b50345b9392505050565b6040516001600160a01b03838116602483015260448201839052610ad091859182169063a9059cbb906064015b604051602081830303815290604052915060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506125e1565b6000828152602081815260408083206001600160a01b038516845290915290205460ff16610a55576040517fe2517d3f0000000000000000000000000000000000000000000000000000000081526001600160a01b0382166004820152602481018390526044016109b5565b7fffffffffffffffffffffffff11111111111111111111111111111111111111126001600160a01b03821601612564576040517f7f523fe800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806001600160a01b03163b600003612122576040517f7f523fe800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040516001600160a01b038481166024830152838116604483015260648201839052610a7e9186918216906323b872dd9060840161244f565b60006125f66001600160a01b0384168361265d565b9050805160001415801561261b5750808060200190518101906126199190612f4a565b155b15610ad0576040517f5274afe70000000000000000000000000000000000000000000000000000000081526001600160a01b03841660048201526024016109b5565b606061241b8383600084600080856001600160a01b031684866040516126839190612f67565b60006040518083038185875af1925050503d80600081146126c0576040519150601f19603f3d011682016040523d82523d6000602084013e6126c5565b606091505b50915091506126d58683836126df565b9695505050505050565b6060826126f4576126ef82612754565b61241b565b815115801561270b57506001600160a01b0384163b155b1561274d576040517f9996b3150000000000000000000000000000000000000000000000000000000081526001600160a01b03851660048201526024016109b5565b508061241b565b8051156127645780518082602001fd5b6040517f1425ea4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000602082840312156127a857600080fd5b81357fffffffff000000000000000000000000000000000000000000000000000000008116811461241b57600080fd5b6000602082840312156127ea57600080fd5b5035919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b602081016005831061285b577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b91905290565b6001600160a01b038116811461212257600080fd5b803561288181612861565b919050565b6000806040838503121561289957600080fd5b82356128a481612861565b915060208301356128b481612861565b809150509250929050565b600080604083850312156128d257600080fd5b8235915060208301356128b481612861565b6000602082840312156128f657600080fd5b813561241b81612861565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051610120810167ffffffffffffffff8111828210171561295457612954612901565b60405290565b604051610180810167ffffffffffffffff8111828210171561295457612954612901565b600082601f83011261298f57600080fd5b813567ffffffffffffffff808211156129aa576129aa612901565b604051601f83017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019082821181831017156129f0576129f0612901565b81604052838152866020858801011115612a0957600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060408385031215612a3c57600080fd5b823567ffffffffffffffff811115612a5357600080fd5b612a5f8582860161297e565b92505060208301356128b481612861565b63ffffffff8116811461212257600080fd5b803561288181612a70565b801515811461212257600080fd5b803561288181612a8d565b60006101208284031215612ab957600080fd5b612ac1612930565b612aca83612a82565b8152612ad860208401612876565b6020820152612ae960408401612876565b6040820152612afa60608401612876565b6060820152612b0b60808401612876565b608082015260a083013560a082015260c083013560c0820152612b3060e08401612a9b565b60e0820152610100928301359281019290925250919050565b600060208284031215612b5b57600080fd5b813567ffffffffffffffff811115612b7257600080fd5b612b7e8482850161297e565b949350505050565b60008060408385031215612b9957600080fd5b823567ffffffffffffffff811115612bb057600080fd5b612bbc8582860161297e565b95602094909401359450505050565b815163ffffffff16815261018081016020830151612bf1602084018263ffffffff169052565b506040830151612c0c60408401826001600160a01b03169052565b506060830151612c2760608401826001600160a01b03169052565b506080830151612c4260808401826001600160a01b03169052565b5060a0830151612c5d60a08401826001600160a01b03169052565b5060c083015160c083015260e083015160e083015261010080840151818401525061012080840151612c928285018215159052565b5050610140838101519083015261016092830151929091019190915290565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b8082018082111561091b5761091b612cb1565b808202811582820484141761091b5761091b612cb1565b600082612d40577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b8181038181111561091b5761091b612cb1565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203612d8957612d89612cb1565b5060010190565b60005b83811015612dab578181015183820152602001612d93565b50506000910152565b60e08152600088518060e0840152610100612dd58282860160208e01612d90565b63ffffffff9990991660208401526001600160a01b039788166040840152959096166060820152608081019390935260a0830191909152151560c0820152601f9091017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0160190910192915050565b805161288181612a70565b805161288181612861565b805161288181612a8d565b60006101808284031215612e7857600080fd5b612e8061295a565b612e8983612e44565b8152612e9760208401612e44565b6020820152612ea860408401612e4f565b6040820152612eb960608401612e4f565b6060820152612eca60808401612e4f565b6080820152612edb60a08401612e4f565b60a082015260c083015160c082015260e083015160e0820152610100808401518183015250610120612f0e818501612e5a565b908201526101408381015190820152610160928301519281019290925250919050565b600060208284031215612f4357600080fd5b5051919050565b600060208284031215612f5c57600080fd5b815161241b81612a8d565b60008251612f79818460208701612d90565b919091019291505056fea2646970667358221220bc5a4fff87be1b153d04821558840a632829dbfc2ef03ca9b28872f73900183564736f6c63430008140033",
}

FastBridgeMetaData contains all meta data concerning the FastBridge contract.

View Source
var FastBridgeMockABI = FastBridgeMockMetaData.ABI

FastBridgeMockABI is the input ABI used to generate the binding from. Deprecated: Use FastBridgeMockMetaData.ABI instead.

View Source
var FastBridgeMockBin = FastBridgeMockMetaData.Bin

FastBridgeMockBin is the compiled bytecode used for deploying new contracts. Deprecated: Use FastBridgeMockMetaData.Bin instead.

View Source
var FastBridgeMockFuncSigs = FastBridgeMockMetaData.Sigs

Deprecated: Use FastBridgeMockMetaData.Sigs instead. FastBridgeMockFuncSigs maps the 4-byte function signature to its string representation.

View Source
var FastBridgeMockMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"AccessControlBadConfirmation\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"neededRole\",\"type\":\"bytes32\"}],\"name\":\"AccessControlUnauthorizedAccount\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"}],\"name\":\"AddressEmptyCode\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"AddressInsufficientBalance\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FailedInnerCall\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"SafeERC20FailedOperation\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"transactionId\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"relayer\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"BridgeDepositClaimed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"transactionId\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"BridgeDepositRefunded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"transactionId\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"relayer\",\"type\":\"address\"}],\"name\":\"BridgeProofDisputed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"transactionId\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"relayer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"transactionHash\",\"type\":\"bytes32\"}],\"name\":\"BridgeProofProvided\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"transactionId\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"relayer\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"originChainId\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"originToken\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"destToken\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"originAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"destAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"chainGasAmount\",\"type\":\"uint256\"}],\"name\":\"BridgeRelayed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"transactionId\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"request\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"destChainId\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"originToken\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"destToken\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"originAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"destAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"sendChainGas\",\"type\":\"bool\"}],\"name\":\"BridgeRequested\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"oldChainGasAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newChainGasAmount\",\"type\":\"uint256\"}],\"name\":\"ChainGasAmountUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"oldFeeRate\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newFeeRate\",\"type\":\"uint256\"}],\"name\":\"FeeRateUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"FeesSwept\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"governor\",\"type\":\"address\"}],\"name\":\"GovernorAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"governor\",\"type\":\"address\"}],\"name\":\"GovernorRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"guard\",\"type\":\"address\"}],\"name\":\"GuardAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"guard\",\"type\":\"address\"}],\"name\":\"GuardRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"relayer\",\"type\":\"address\"}],\"name\":\"RelayerAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"relayer\",\"type\":\"address\"}],\"name\":\"RelayerRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"FEE_BPS\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"FEE_RATE_MAX\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"GOVERNOR_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"GUARD_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"RELAYER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_governor\",\"type\":\"address\"}],\"name\":\"addGovernor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_guard\",\"type\":\"address\"}],\"name\":\"addGuard\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_relayer\",\"type\":\"address\"}],\"name\":\"addRelayer\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint32\",\"name\":\"dstChainId\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"originToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"destToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"originAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"destAmount\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"sendChainGas\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"internalType\":\"structIFastBridge.BridgeParams\",\"name\":\"params\",\"type\":\"tuple\"}],\"name\":\"bridge\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"transactionid\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"relayer\",\"type\":\"address\"}],\"name\":\"canClaim\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"chainGasAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"request\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"claim\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"deployBlock\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"transactionId\",\"type\":\"bytes32\"}],\"name\":\"dispute\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"request\",\"type\":\"bytes\"}],\"name\":\"getBridgeTransaction\",\"outputs\":[{\"components\":[{\"internalType\":\"uint32\",\"name\":\"originChainId\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"destChainId\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"originSender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"destRecipient\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"originToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"destToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"originAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"destAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"originFeeAmount\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"sendChainGas\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"}],\"internalType\":\"structIFastBridge.BridgeTransaction\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"enumFastBridge.BridgeStatus\",\"name\":\"keyValue\",\"type\":\"uint8\"}],\"name\":\"getEnumKeyByValue\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"transactionId\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"relayer\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"originChainId\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"originToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"destToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"originAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"destAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"chainGasAmount\",\"type\":\"uint256\"}],\"name\":\"mockBridgeRelayer\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"transactionId\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"uint32\",\"name\":\"dstChainId\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"originToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"destToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"originAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"destAmount\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"sendChainGas\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"internalType\":\"structIFastBridge.BridgeParams\",\"name\":\"params\",\"type\":\"tuple\"}],\"name\":\"mockBridgeRequest\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"transactionId\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"request\",\"type\":\"bytes\"}],\"name\":\"mockBridgeRequestRaw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"nonce\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"protocolFeeRate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"protocolFees\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"request\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"destTxHash\",\"type\":\"bytes32\"}],\"name\":\"prove\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"request\",\"type\":\"bytes\"}],\"name\":\"refund\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"request\",\"type\":\"bytes\"}],\"name\":\"relay\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_governor\",\"type\":\"address\"}],\"name\":\"removeGovernor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_guard\",\"type\":\"address\"}],\"name\":\"removeGuard\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_relayer\",\"type\":\"address\"}],\"name\":\"removeRelayer\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"callerConfirmation\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newChainGasAmount\",\"type\":\"uint256\"}],\"name\":\"setChainGasAmount\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newFeeRate\",\"type\":\"uint256\"}],\"name\":\"setProtocolFeeRate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"}],\"name\":\"sweepProtocolFees\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"a217fddf": "DEFAULT_ADMIN_ROLE()",
		"bf333f2c": "FEE_BPS()",
		"0f5f6ed7": "FEE_RATE_MAX()",
		"ccc57490": "GOVERNOR_ROLE()",
		"03ed0ee5": "GUARD_ROLE()",
		"926d7d7f": "RELAYER_ROLE()",
		"3c4a25d0": "addGovernor(address)",
		"6913a63c": "addGuard(address)",
		"dd39f00d": "addRelayer(address)",
		"45851694": "bridge((uint32,address,address,address,address,uint256,uint256,bool,uint256))",
		"aa9641ab": "canClaim(bytes32,address)",
		"e00a83e0": "chainGasAmount()",
		"41fcb612": "claim(bytes,address)",
		"a3ec191a": "deployBlock()",
		"add98c70": "dispute(bytes32)",
		"ac11fb1a": "getBridgeTransaction(bytes)",
		"85ad903d": "getEnumKeyByValue(uint8)",
		"248a9ca3": "getRoleAdmin(bytes32)",
		"2f2ff15d": "grantRole(bytes32,address)",
		"91d14854": "hasRole(bytes32,address)",
		"c72870cc": "mockBridgeRelayer(bytes32,address,address,uint32,address,address,uint256,uint256,uint256)",
		"acaebbf1": "mockBridgeRequest(bytes32,address,(uint32,address,address,address,address,uint256,uint256,bool,uint256))",
		"aedf009d": "mockBridgeRequestRaw(bytes32,address,bytes)",
		"affed0e0": "nonce()",
		"58f85880": "protocolFeeRate()",
		"dcf844a7": "protocolFees(address)",
		"886d36ff": "prove(bytes,bytes32)",
		"5eb7d946": "refund(bytes)",
		"8f0d6f17": "relay(bytes)",
		"eecdac88": "removeGovernor(address)",
		"b6235016": "removeGuard(address)",
		"60f0a5ac": "removeRelayer(address)",
		"36568abe": "renounceRole(bytes32,address)",
		"d547741f": "revokeRole(bytes32,address)",
		"b250fe6b": "setChainGasAmount(uint256)",
		"b13aa2d6": "setProtocolFeeRate(uint256)",
		"01ffc9a7": "supportsInterface(bytes4)",
		"06f333f2": "sweepProtocolFees(address,address)",
	},
	Bin: "0x60a06040523480156200001157600080fd5b50604051620027a7380380620027a78339810160408190526200003491620000fe565b80620000426000826200004f565b5050436080525062000130565b6000828152602081815260408083206001600160a01b038516845290915281205460ff16620000f4576000838152602081815260408083206001600160a01b03861684529091529020805460ff19166001179055620000ab3390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a4506001620000f8565b5060005b92915050565b6000602082840312156200011157600080fd5b81516001600160a01b03811681146200012957600080fd5b9392505050565b60805161265b6200014c600039600061056a015261265b6000f3fe6080604052600436106102855760003560e01c8063a217fddf11610153578063b250fe6b116100cb578063d547741f1161007f578063dd39f00d11610064578063dd39f00d14610762578063e00a83e014610782578063eecdac881461079857600080fd5b8063d547741f14610715578063dcf844a71461073557600080fd5b8063bf333f2c116100b0578063bf333f2c146106aa578063c72870cc146106c1578063ccc57490146106e157600080fd5b8063b250fe6b1461066a578063b62350161461068a57600080fd5b8063acaebbf111610122578063aedf009d11610107578063aedf009d14610614578063affed0e014610634578063b13aa2d61461064a57600080fd5b8063acaebbf1146105d9578063add98c70146105f957600080fd5b8063a217fddf14610543578063a3ec191a14610558578063aa9641ab1461058c578063ac11fb1a146105ac57600080fd5b8063458516941161020157806385ad903d116101b55780638f0d6f171161019a5780638f0d6f17146104b057806391d14854146104be578063926d7d7f1461050f57600080fd5b806385ad903d14610468578063886d36ff1461049557600080fd5b80635eb7d946116101e65780635eb7d9461461040d57806360f0a5ac146104285780636913a63c1461044857600080fd5b806345851694146103e957806358f85880146103f757600080fd5b8063248a9ca31161025857806336568abe1161023d57806336568abe146103895780633c4a25d0146103a957806341fcb612146103c957600080fd5b8063248a9ca3146103395780632f2ff15d1461036957600080fd5b806301ffc9a71461028a57806303ed0ee5146102bf57806306f333f2146103015780630f5f6ed714610323575b600080fd5b34801561029657600080fd5b506102aa6102a5366004611cc5565b6107b8565b60405190151581526020015b60405180910390f35b3480156102cb57600080fd5b506102f37f043c983c49d46f0e102151eaf8085d4a2e6571d5df2d47b013f39bddfd4a639d81565b6040519081526020016102b6565b34801561030d57600080fd5b5061032161031c366004611d39565b610851565b005b34801561032f57600080fd5b506102f361271081565b34801561034557600080fd5b506102f3610354366004611d72565b60009081526020819052604090206001015490565b34801561037557600080fd5b50610321610384366004611d8b565b6109b0565b34801561039557600080fd5b506103216103a4366004611d8b565b6109db565b3480156103b557600080fd5b506103216103c4366004611db0565b610a39565b3480156103d557600080fd5b506103216103e4366004611ef5565b610aec565b6103216103e4366004612015565b34801561040357600080fd5b506102f360015481565b34801561041957600080fd5b506103216103e4366004612032565b34801561043457600080fd5b50610321610443366004611db0565b610b4e565b34801561045457600080fd5b50610321610463366004611db0565b610bfa565b34801561047457600080fd5b5061048861048336600461206f565b610ca6565b6040516102b691906120fe565b3480156104a157600080fd5b506103216103e4366004612111565b6103216103e4366004612032565b3480156104ca57600080fd5b506102aa6104d9366004611d8b565b60009182526020828152604080842073ffffffffffffffffffffffffffffffffffffffff93909316845291905290205460ff1690565b34801561051b57600080fd5b506102f37fe2b7fb3b832174769106daebcfd6d1970523240dda11281102db9363b83b0dc481565b34801561054f57600080fd5b506102f3600081565b34801561056457600080fd5b506102f37f000000000000000000000000000000000000000000000000000000000000000081565b34801561059857600080fd5b506102aa6105a7366004611d8b565b610e56565b3480156105b857600080fd5b506105cc6105c7366004612032565b610ebb565b6040516102b69190612156565b3480156105e557600080fd5b506103216105f4366004612270565b610f2e565b34801561060557600080fd5b506103216103e4366004611d72565b34801561062057600080fd5b5061032161062f3660046122b0565b6110fe565b34801561064057600080fd5b506102f360045481565b34801561065657600080fd5b50610321610665366004611d72565b611189565b34801561067657600080fd5b50610321610685366004611d72565b6112d3565b34801561069657600080fd5b506103216106a5366004611db0565b6113a9565b3480156106b657600080fd5b506102f3620f424081565b3480156106cd57600080fd5b506103216106dc366004612309565b611455565b3480156106ed57600080fd5b506102f37f7935bd0ae54bc31f548c14dba4d37c5c64b3f8ca900cb468fb8abd54d5894f5581565b34801561072157600080fd5b50610321610730366004611d8b565b6114db565b34801561074157600080fd5b506102f3610750366004611db0565b60026020526000908152604090205481565b34801561076e57600080fd5b5061032161077d366004611db0565b611500565b34801561078e57600080fd5b506102f360035481565b3480156107a457600080fd5b506103216107b3366004611db0565b6115ac565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f7965db0b00000000000000000000000000000000000000000000000000000000148061084b57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b3360009081527f6f3b488caa0dc03e5f3d9fd6a25fa8755afcfd62ccffb6e436c696bfa6b866de602052604090205460ff166108ee576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f43616c6c6572206973206e6f74206120676f7665726e6f72000000000000000060448201526064015b60405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff82166000908152600260205260408120549081900361092157505050565b73ffffffffffffffffffffffffffffffffffffffff8316600081815260026020526040812055610952908383611658565b6040805173ffffffffffffffffffffffffffffffffffffffff8086168252841660208201529081018290527f244e51bc38c1452fa8aaf487bcb4bca36c2baa3a5fbdb776b1eabd8dc6d277cd9060600160405180910390a1505b5050565b6000828152602081905260409020600101546109cb816117af565b6109d583836117bc565b50505050565b73ffffffffffffffffffffffffffffffffffffffff81163314610a2a576040517f6697b23200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610a3482826118b8565b505050565b3360009081527fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5602052604090205460ff16610a7457600080fd5b610a9e7f7935bd0ae54bc31f548c14dba4d37c5c64b3f8ca900cb468fb8abd54d5894f55826117bc565b5060405173ffffffffffffffffffffffffffffffffffffffff821681527fdc5a48d79e2e147530ff63ecdbed5a5a66adb9d5cf339384d5d076da197c40b5906020015b60405180910390a150565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f6e6f7420696d706c656d656e746564000000000000000000000000000000000060448201526064016108e5565b3360009081527fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5602052604090205460ff16610b8957600080fd5b610bb37fe2b7fb3b832174769106daebcfd6d1970523240dda11281102db9363b83b0dc4826118b8565b5060405173ffffffffffffffffffffffffffffffffffffffff821681527f10e1f7ce9fd7d1b90a66d13a2ab3cb8dd7f29f3f8d520b143b063ccfbab6906b90602001610ae1565b3360009081527fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5602052604090205460ff16610c3557600080fd5b610c5f7f043c983c49d46f0e102151eaf8085d4a2e6571d5df2d47b013f39bddfd4a639d826117bc565b5060405173ffffffffffffffffffffffffffffffffffffffff821681527f93405f05cd04f0d1bd875f2de00f1f3890484ffd0589248953bdfd29ba7f2f5990602001610ae1565b6060816004811115610cba57610cba6123a1565b600003610cfa57505060408051808201909152600481527f4e554c4c00000000000000000000000000000000000000000000000000000000602082015290565b816004811115610d0c57610d0c6123a1565b600103610d4c57505060408051808201909152600981527f5245515545535445440000000000000000000000000000000000000000000000602082015290565b816004811115610d5e57610d5e6123a1565b600203610d9e57505060408051808201909152600e81527f52454c415945525f50524f564544000000000000000000000000000000000000602082015290565b816004811115610db057610db06123a1565b600303610df057505060408051808201909152600f81527f52454c415945525f434c41494d45440000000000000000000000000000000000602082015290565b816004811115610e0257610e026123a1565b600403610e4257505060408051808201909152600881527f524546554e444544000000000000000000000000000000000000000000000000602082015290565b505060408051602081019091526000815290565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f6e6f7420696d706c656d656e746564000000000000000000000000000000000060448201526000906064016108e5565b604080516101808101825260008082526020808301829052928201819052606082018190526080820181905260a0820181905260c0820181905260e082018190526101008201819052610120820181905261014082018190526101608201528251909161084b91840181019084016123f1565b6000620f42406001548360a00151610f4691906124ec565b610f509190612503565b9050808260a001818151610f64919061253e565b9150818152505060006040518061018001604052804663ffffffff168152602001846000015163ffffffff168152602001846020015173ffffffffffffffffffffffffffffffffffffffff168152602001846040015173ffffffffffffffffffffffffffffffffffffffff168152602001846060015173ffffffffffffffffffffffffffffffffffffffff168152602001846080015173ffffffffffffffffffffffffffffffffffffffff1681526020018460a0015181526020018460c0015181526020018381526020018460e001511515815260200184610100015181526020016004600081548092919061105990612551565b90915550905260405161106f9190602001612156565b6040516020818303038152906040529050826020015173ffffffffffffffffffffffffffffffffffffffff16857f120ea0364f36cdac7983bcfdd55270ca09d7f9b314a2ebc425a3b01ab1d6403a838660000151876060015188608001518960a001518a60c001518b60e001516040516110ef9796959493929190612589565b60405180910390a35050505050565b600061110982610ebb565b9050806040015173ffffffffffffffffffffffffffffffffffffffff16847f120ea0364f36cdac7983bcfdd55270ca09d7f9b314a2ebc425a3b01ab1d6403a84846020015185608001518660a001518760c001518860e0015189610120015160405161117b9796959493929190612589565b60405180910390a350505050565b3360009081527f6f3b488caa0dc03e5f3d9fd6a25fa8755afcfd62ccffb6e436c696bfa6b866de602052604090205460ff16611221576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f43616c6c6572206973206e6f74206120676f7665726e6f72000000000000000060448201526064016108e5565b61271081111561128d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f6e657746656552617465203e206d61780000000000000000000000000000000060448201526064016108e5565b600180549082905560408051828152602081018490527f14914da2bf76024616fbe1859783fcd4dbddcb179b1f3a854949fbf920dcb95791015b60405180910390a15050565b3360009081527f6f3b488caa0dc03e5f3d9fd6a25fa8755afcfd62ccffb6e436c696bfa6b866de602052604090205460ff1661136b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f43616c6c6572206973206e6f74206120676f7665726e6f72000000000000000060448201526064016108e5565b600380549082905560408051828152602081018490527f5cf09b12f3f56b4c564d51b25b40360af6d795198adb61ae0806a36c294323fa91016112c7565b3360009081527fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5602052604090205460ff166113e457600080fd5b61140e7f043c983c49d46f0e102151eaf8085d4a2e6571d5df2d47b013f39bddfd4a639d826118b8565b5060405173ffffffffffffffffffffffffffffffffffffffff821681527f59926e0a78d12238b668b31c8e3f6ece235a59a00ede111d883e255b68c4d04890602001610ae1565b6040805163ffffffff8816815273ffffffffffffffffffffffffffffffffffffffff878116602083015286811682840152606082018690526080820185905260a082018490529151898316928b16918c917ff8ae392d784b1ea5e8881bfa586d81abf07ef4f1e2fc75f7fe51c90f05199a5c9181900360c00190a4505050505050505050565b6000828152602081905260409020600101546114f6816117af565b6109d583836118b8565b3360009081527fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5602052604090205460ff1661153b57600080fd5b6115657fe2b7fb3b832174769106daebcfd6d1970523240dda11281102db9363b83b0dc4826117bc565b5060405173ffffffffffffffffffffffffffffffffffffffff821681527f03580ee9f53a62b7cb409a2cb56f9be87747dd15017afc5cef6eef321e4fb2c590602001610ae1565b3360009081527fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5602052604090205460ff166115e757600080fd5b6116117f7935bd0ae54bc31f548c14dba4d37c5c64b3f8ca900cb468fb8abd54d5894f55826118b8565b5060405173ffffffffffffffffffffffffffffffffffffffff821681527f1ebe834e73d60a5fec822c1e1727d34bc79f2ad977ed504581cc1822fe20fb5b90602001610ae1565b3073ffffffffffffffffffffffffffffffffffffffff83160361167a57505050565b8060000361168757505050565b7fffffffffffffffffffffffff111111111111111111111111111111111111111273ffffffffffffffffffffffffffffffffffffffff84160161178e5760008273ffffffffffffffffffffffffffffffffffffffff168260405160006040518083038185875af1925050503d806000811461171e576040519150601f19603f3d011682016040523d82523d6000602084013e611723565b606091505b50509050806109d5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f455448207472616e73666572206661696c65640000000000000000000000000060448201526064016108e5565b610a3473ffffffffffffffffffffffffffffffffffffffff84168383611973565b6117b98133611a00565b50565b60008281526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8516845290915281205460ff166118b05760008381526020818152604080832073ffffffffffffffffffffffffffffffffffffffff86168452909152902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600117905561184e3390565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a450600161084b565b50600061084b565b60008281526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8516845290915281205460ff16156118b05760008381526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8616808552925280832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016905551339286917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a450600161084b565b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb00000000000000000000000000000000000000000000000000000000179052610a34908490611a86565b60008281526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8516845290915290205460ff166109ac576040517fe2517d3f00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff82166004820152602481018390526044016108e5565b6000611aa873ffffffffffffffffffffffffffffffffffffffff841683611b1c565b90508051600014158015611acd575080806020019051810190611acb91906125ec565b155b15610a34576040517f5274afe700000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff841660048201526024016108e5565b6060611b2a83836000611b31565b9392505050565b606081471015611b6f576040517fcd7860590000000000000000000000000000000000000000000000000000000081523060048201526024016108e5565b6000808573ffffffffffffffffffffffffffffffffffffffff168486604051611b989190612609565b60006040518083038185875af1925050503d8060008114611bd5576040519150601f19603f3d011682016040523d82523d6000602084013e611bda565b606091505b5091509150611bea868383611bf4565b9695505050505050565b606082611c0957611c0482611c83565b611b2a565b8151158015611c2d575073ffffffffffffffffffffffffffffffffffffffff84163b155b15611c7c576040517f9996b31500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff851660048201526024016108e5565b5080611b2a565b805115611c935780518082602001fd5b6040517f1425ea4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600060208284031215611cd757600080fd5b81357fffffffff0000000000000000000000000000000000000000000000000000000081168114611b2a57600080fd5b73ffffffffffffffffffffffffffffffffffffffff811681146117b957600080fd5b8035611d3481611d07565b919050565b60008060408385031215611d4c57600080fd5b8235611d5781611d07565b91506020830135611d6781611d07565b809150509250929050565b600060208284031215611d8457600080fd5b5035919050565b60008060408385031215611d9e57600080fd5b823591506020830135611d6781611d07565b600060208284031215611dc257600080fd5b8135611b2a81611d07565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051610120810167ffffffffffffffff81118282101715611e2057611e20611dcd565b60405290565b604051610180810167ffffffffffffffff81118282101715611e2057611e20611dcd565b600082601f830112611e5b57600080fd5b813567ffffffffffffffff80821115611e7657611e76611dcd565b604051601f83017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908282118183101715611ebc57611ebc611dcd565b81604052838152866020858801011115611ed557600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060408385031215611f0857600080fd5b823567ffffffffffffffff811115611f1f57600080fd5b611f2b85828601611e4a565b9250506020830135611d6781611d07565b63ffffffff811681146117b957600080fd5b8035611d3481611f3c565b80151581146117b957600080fd5b8035611d3481611f59565b60006101208284031215611f8557600080fd5b611f8d611dfc565b9050611f9882611f4e565b8152611fa660208301611d29565b6020820152611fb760408301611d29565b6040820152611fc860608301611d29565b6060820152611fd960808301611d29565b608082015260a082013560a082015260c082013560c0820152611ffe60e08301611f67565b60e082015261010080830135818301525092915050565b6000610120828403121561202857600080fd5b611b2a8383611f72565b60006020828403121561204457600080fd5b813567ffffffffffffffff81111561205b57600080fd5b61206784828501611e4a565b949350505050565b60006020828403121561208157600080fd5b813560058110611b2a57600080fd5b60005b838110156120ab578181015183820152602001612093565b50506000910152565b600081518084526120cc816020860160208601612090565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000611b2a60208301846120b4565b6000806040838503121561212457600080fd5b823567ffffffffffffffff81111561213b57600080fd5b61214785828601611e4a565b95602094909401359450505050565b815163ffffffff1681526101808101602083015161217c602084018263ffffffff169052565b5060408301516121a4604084018273ffffffffffffffffffffffffffffffffffffffff169052565b5060608301516121cc606084018273ffffffffffffffffffffffffffffffffffffffff169052565b5060808301516121f4608084018273ffffffffffffffffffffffffffffffffffffffff169052565b5060a083015161221c60a084018273ffffffffffffffffffffffffffffffffffffffff169052565b5060c083015160c083015260e083015160e0830152610100808401518184015250610120808401516122518285018215159052565b5050610140838101519083015261016092830151929091019190915290565b6000806000610160848603121561228657600080fd5b83359250602084013561229881611d07565b91506122a78560408601611f72565b90509250925092565b6000806000606084860312156122c557600080fd5b8335925060208401356122d781611d07565b9150604084013567ffffffffffffffff8111156122f357600080fd5b6122ff86828701611e4a565b9150509250925092565b60008060008060008060008060006101208a8c03121561232857600080fd5b8935985060208a013561233a81611d07565b975060408a013561234a81611d07565b965060608a013561235a81611f3c565b955060808a013561236a81611d07565b945060a08a013561237a81611d07565b8094505060c08a0135925060e08a013591506101008a013590509295985092959850929598565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8051611d3481611f3c565b8051611d3481611d07565b8051611d3481611f59565b6000610180828403121561240457600080fd5b61240c611e26565b612415836123d0565b8152612423602084016123d0565b6020820152612434604084016123db565b6040820152612445606084016123db565b6060820152612456608084016123db565b608082015261246760a084016123db565b60a082015260c083015160c082015260e083015160e082015261010080840151818301525061012061249a8185016123e6565b908201526101408381015190820152610160928301519281019290925250919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b808202811582820484141761084b5761084b6124bd565b600082612539577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b8181038181111561084b5761084b6124bd565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203612582576125826124bd565b5060010190565b60e08152600061259c60e083018a6120b4565b63ffffffff9890981660208301525073ffffffffffffffffffffffffffffffffffffffff9586166040820152939094166060840152608083019190915260a082015290151560c090910152919050565b6000602082840312156125fe57600080fd5b8151611b2a81611f59565b6000825161261b818460208701612090565b919091019291505056fea264697066735822122085908724813652d28708e3d2bc06a19352d396fab99d7c808afe76c0241ecaca64736f6c63430008140033",
}

FastBridgeMockMetaData contains all meta data concerning the FastBridgeMock contract.

View Source
var IAccessControlABI = IAccessControlMetaData.ABI

IAccessControlABI is the input ABI used to generate the binding from. Deprecated: Use IAccessControlMetaData.ABI instead.

View Source
var IAccessControlFuncSigs = IAccessControlMetaData.Sigs

Deprecated: Use IAccessControlMetaData.Sigs instead. IAccessControlFuncSigs maps the 4-byte function signature to its string representation.

View Source
var IAccessControlMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"name\":\"AccessControlBadConfirmation\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"neededRole\",\"type\":\"bytes32\"}],\"name\":\"AccessControlUnauthorizedAccount\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"callerConfirmation\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"248a9ca3": "getRoleAdmin(bytes32)",
		"2f2ff15d": "grantRole(bytes32,address)",
		"91d14854": "hasRole(bytes32,address)",
		"36568abe": "renounceRole(bytes32,address)",
		"d547741f": "revokeRole(bytes32,address)",
	},
}

IAccessControlMetaData contains all meta data concerning the IAccessControl contract.

View Source
var IAdminABI = IAdminMetaData.ABI

IAdminABI is the input ABI used to generate the binding from. Deprecated: Use IAdminMetaData.ABI instead.

View Source
var IAdminFuncSigs = IAdminMetaData.Sigs

Deprecated: Use IAdminMetaData.Sigs instead. IAdminFuncSigs maps the 4-byte function signature to its string representation.

View Source
var IAdminMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"oldChainGasAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newChainGasAmount\",\"type\":\"uint256\"}],\"name\":\"ChainGasAmountUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"oldFeeRate\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newFeeRate\",\"type\":\"uint256\"}],\"name\":\"FeeRateUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"FeesSwept\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"governor\",\"type\":\"address\"}],\"name\":\"GovernorAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"governor\",\"type\":\"address\"}],\"name\":\"GovernorRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"guard\",\"type\":\"address\"}],\"name\":\"GuardAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"guard\",\"type\":\"address\"}],\"name\":\"GuardRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"relayer\",\"type\":\"address\"}],\"name\":\"RelayerAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"relayer\",\"type\":\"address\"}],\"name\":\"RelayerRemoved\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_governor\",\"type\":\"address\"}],\"name\":\"addGovernor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_guard\",\"type\":\"address\"}],\"name\":\"addGuard\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_relayer\",\"type\":\"address\"}],\"name\":\"addRelayer\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_governor\",\"type\":\"address\"}],\"name\":\"removeGovernor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_guard\",\"type\":\"address\"}],\"name\":\"removeGuard\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_relayer\",\"type\":\"address\"}],\"name\":\"removeRelayer\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newChainGasAmount\",\"type\":\"uint256\"}],\"name\":\"setChainGasAmount\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newFeeRate\",\"type\":\"uint256\"}],\"name\":\"setProtocolFeeRate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"}],\"name\":\"sweepProtocolFees\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"3c4a25d0": "addGovernor(address)",
		"6913a63c": "addGuard(address)",
		"dd39f00d": "addRelayer(address)",
		"eecdac88": "removeGovernor(address)",
		"b6235016": "removeGuard(address)",
		"60f0a5ac": "removeRelayer(address)",
		"b250fe6b": "setChainGasAmount(uint256)",
		"b13aa2d6": "setProtocolFeeRate(uint256)",
		"06f333f2": "sweepProtocolFees(address,address)",
	},
}

IAdminMetaData contains all meta data concerning the IAdmin contract.

View Source
var IERC165ABI = IERC165MetaData.ABI

IERC165ABI is the input ABI used to generate the binding from. Deprecated: Use IERC165MetaData.ABI instead.

View Source
var IERC165FuncSigs = IERC165MetaData.Sigs

Deprecated: Use IERC165MetaData.Sigs instead. IERC165FuncSigs maps the 4-byte function signature to its string representation.

View Source
var IERC165MetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"01ffc9a7": "supportsInterface(bytes4)",
	},
}

IERC165MetaData contains all meta data concerning the IERC165 contract.

View Source
var IERC20ABI = IERC20MetaData.ABI

IERC20ABI is the input ABI used to generate the binding from. Deprecated: Use IERC20MetaData.ABI instead.

View Source
var IERC20FuncSigs = IERC20MetaData.Sigs

Deprecated: Use IERC20MetaData.Sigs instead. IERC20FuncSigs maps the 4-byte function signature to its string representation.

View Source
var IERC20MetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Sigs: 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)",
	},
}

IERC20MetaData contains all meta data concerning the IERC20 contract.

View Source
var IERC20PermitABI = IERC20PermitMetaData.ABI

IERC20PermitABI is the input ABI used to generate the binding from. Deprecated: Use IERC20PermitMetaData.ABI instead.

View Source
var IERC20PermitFuncSigs = IERC20PermitMetaData.Sigs

Deprecated: Use IERC20PermitMetaData.Sigs instead. IERC20PermitFuncSigs maps the 4-byte function signature to its string representation.

View Source
var IERC20PermitMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"name\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"nonces\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"permit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"3644e515": "DOMAIN_SEPARATOR()",
		"7ecebe00": "nonces(address)",
		"d505accf": "permit(address,address,uint256,uint256,uint8,bytes32,bytes32)",
	},
}

IERC20PermitMetaData contains all meta data concerning the IERC20Permit contract.

View Source
var IFastBridgeABI = IFastBridgeMetaData.ABI

IFastBridgeABI is the input ABI used to generate the binding from. Deprecated: Use IFastBridgeMetaData.ABI instead.

View Source
var IFastBridgeFuncSigs = IFastBridgeMetaData.Sigs

Deprecated: Use IFastBridgeMetaData.Sigs instead. IFastBridgeFuncSigs maps the 4-byte function signature to its string representation.

View Source
var IFastBridgeMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"transactionId\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"relayer\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"BridgeDepositClaimed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"transactionId\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"BridgeDepositRefunded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"transactionId\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"relayer\",\"type\":\"address\"}],\"name\":\"BridgeProofDisputed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"transactionId\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"relayer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"transactionHash\",\"type\":\"bytes32\"}],\"name\":\"BridgeProofProvided\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"transactionId\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"relayer\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"originChainId\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"originToken\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"destToken\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"originAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"destAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"chainGasAmount\",\"type\":\"uint256\"}],\"name\":\"BridgeRelayed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"transactionId\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"request\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"destChainId\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"originToken\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"destToken\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"originAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"destAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"sendChainGas\",\"type\":\"bool\"}],\"name\":\"BridgeRequested\",\"type\":\"event\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint32\",\"name\":\"dstChainId\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"originToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"destToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"originAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"destAmount\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"sendChainGas\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"internalType\":\"structIFastBridge.BridgeParams\",\"name\":\"params\",\"type\":\"tuple\"}],\"name\":\"bridge\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"transactionId\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"relayer\",\"type\":\"address\"}],\"name\":\"canClaim\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"request\",\"type\":\"bytes\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"claim\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"transactionId\",\"type\":\"bytes32\"}],\"name\":\"dispute\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"request\",\"type\":\"bytes\"}],\"name\":\"getBridgeTransaction\",\"outputs\":[{\"components\":[{\"internalType\":\"uint32\",\"name\":\"originChainId\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"destChainId\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"originSender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"destRecipient\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"originToken\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"destToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"originAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"destAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"originFeeAmount\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"sendChainGas\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"}],\"internalType\":\"structIFastBridge.BridgeTransaction\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"request\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"destTxHash\",\"type\":\"bytes32\"}],\"name\":\"prove\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"request\",\"type\":\"bytes\"}],\"name\":\"refund\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"request\",\"type\":\"bytes\"}],\"name\":\"relay\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"45851694": "bridge((uint32,address,address,address,address,uint256,uint256,bool,uint256))",
		"aa9641ab": "canClaim(bytes32,address)",
		"41fcb612": "claim(bytes,address)",
		"add98c70": "dispute(bytes32)",
		"ac11fb1a": "getBridgeTransaction(bytes)",
		"886d36ff": "prove(bytes,bytes32)",
		"5eb7d946": "refund(bytes)",
		"8f0d6f17": "relay(bytes)",
	},
}

IFastBridgeMetaData contains all meta data concerning the IFastBridge contract.

View Source
var SafeERC20ABI = SafeERC20MetaData.ABI

SafeERC20ABI is the input ABI used to generate the binding from. Deprecated: Use SafeERC20MetaData.ABI instead.

View Source
var SafeERC20Bin = SafeERC20MetaData.Bin

SafeERC20Bin is the compiled bytecode used for deploying new contracts. Deprecated: Use SafeERC20MetaData.Bin instead.

View Source
var SafeERC20MetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"currentAllowance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"requestedDecrease\",\"type\":\"uint256\"}],\"name\":\"SafeERC20FailedDecreaseAllowance\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"SafeERC20FailedOperation\",\"type\":\"error\"}]",
	Bin: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212201f62cd774ac07eb94d1721aeb44f4668d0b132daaf27b9aa6a2537deed930a7964736f6c63430008140033",
}

SafeERC20MetaData contains all meta data concerning the SafeERC20 contract.

View Source
var UniversalTokenLibABI = UniversalTokenLibMetaData.ABI

UniversalTokenLibABI is the input ABI used to generate the binding from. Deprecated: Use UniversalTokenLibMetaData.ABI instead.

View Source
var UniversalTokenLibBin = UniversalTokenLibMetaData.Bin

UniversalTokenLibBin is the compiled bytecode used for deploying new contracts. Deprecated: Use UniversalTokenLibMetaData.Bin instead.

View Source
var UniversalTokenLibMetaData = &bind.MetaData{
	ABI: "[]",
	Bin: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122083caa72fdac39ab0b6c660492cd115b8282f1c00d877eba344423c34c5bbafa564736f6c63430008140033",
}

UniversalTokenLibMetaData contains all meta data concerning the UniversalTokenLib contract.

Functions

This section is empty.

Types

type AccessControl

type AccessControl struct {
	AccessControlCaller     // Read-only binding to the contract
	AccessControlTransactor // Write-only binding to the contract
	AccessControlFilterer   // Log filterer for contract events
}

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

func NewAccessControl

func NewAccessControl(address common.Address, backend bind.ContractBackend) (*AccessControl, error)

NewAccessControl creates a new instance of AccessControl, bound to a specific deployed contract.

type AccessControlCaller

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

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

func NewAccessControlCaller

func NewAccessControlCaller(address common.Address, caller bind.ContractCaller) (*AccessControlCaller, error)

NewAccessControlCaller creates a new read-only instance of AccessControl, bound to a specific deployed contract.

func (*AccessControlCaller) DEFAULTADMINROLE

func (_AccessControl *AccessControlCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*AccessControlCaller) GetRoleAdmin

func (_AccessControl *AccessControlCaller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*AccessControlCaller) HasRole

func (_AccessControl *AccessControlCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*AccessControlCaller) SupportsInterface

func (_AccessControl *AccessControlCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

type AccessControlCallerRaw

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

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

func (*AccessControlCallerRaw) Call

func (_AccessControl *AccessControlCallerRaw) 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 AccessControlCallerSession

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

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

func (*AccessControlCallerSession) DEFAULTADMINROLE

func (_AccessControl *AccessControlCallerSession) DEFAULTADMINROLE() ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*AccessControlCallerSession) GetRoleAdmin

func (_AccessControl *AccessControlCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*AccessControlCallerSession) HasRole

func (_AccessControl *AccessControlCallerSession) HasRole(role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*AccessControlCallerSession) SupportsInterface

func (_AccessControl *AccessControlCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

type AccessControlFilterer

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

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

func NewAccessControlFilterer

func NewAccessControlFilterer(address common.Address, filterer bind.ContractFilterer) (*AccessControlFilterer, error)

NewAccessControlFilterer creates a new log filterer instance of AccessControl, bound to a specific deployed contract.

func (*AccessControlFilterer) FilterRoleAdminChanged

func (_AccessControl *AccessControlFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (*AccessControlRoleAdminChangedIterator, error)

FilterRoleAdminChanged is a free log retrieval operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*AccessControlFilterer) FilterRoleGranted

func (_AccessControl *AccessControlFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*AccessControlRoleGrantedIterator, error)

FilterRoleGranted is a free log retrieval operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*AccessControlFilterer) FilterRoleRevoked

func (_AccessControl *AccessControlFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*AccessControlRoleRevokedIterator, error)

FilterRoleRevoked is a free log retrieval operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*AccessControlFilterer) ParseRoleAdminChanged

func (_AccessControl *AccessControlFilterer) ParseRoleAdminChanged(log types.Log) (*AccessControlRoleAdminChanged, error)

ParseRoleAdminChanged is a log parse operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*AccessControlFilterer) ParseRoleGranted

func (_AccessControl *AccessControlFilterer) ParseRoleGranted(log types.Log) (*AccessControlRoleGranted, error)

ParseRoleGranted is a log parse operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*AccessControlFilterer) ParseRoleRevoked

func (_AccessControl *AccessControlFilterer) ParseRoleRevoked(log types.Log) (*AccessControlRoleRevoked, error)

ParseRoleRevoked is a log parse operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*AccessControlFilterer) WatchRoleAdminChanged

func (_AccessControl *AccessControlFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *AccessControlRoleAdminChanged, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (event.Subscription, error)

WatchRoleAdminChanged is a free log subscription operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*AccessControlFilterer) WatchRoleGranted

func (_AccessControl *AccessControlFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *AccessControlRoleGranted, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)

WatchRoleGranted is a free log subscription operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*AccessControlFilterer) WatchRoleRevoked

func (_AccessControl *AccessControlFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *AccessControlRoleRevoked, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)

WatchRoleRevoked is a free log subscription operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

type AccessControlRaw

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

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

func (*AccessControlRaw) Call

func (_AccessControl *AccessControlRaw) 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 (*AccessControlRaw) Transact

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

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

func (*AccessControlRaw) Transfer

func (_AccessControl *AccessControlRaw) 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 AccessControlRoleAdminChanged

type AccessControlRoleAdminChanged struct {
	Role              [32]byte
	PreviousAdminRole [32]byte
	NewAdminRole      [32]byte
	Raw               types.Log // Blockchain specific contextual infos
}

AccessControlRoleAdminChanged represents a RoleAdminChanged event raised by the AccessControl contract.

type AccessControlRoleAdminChangedIterator

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

AccessControlRoleAdminChangedIterator is returned from FilterRoleAdminChanged and is used to iterate over the raw logs and unpacked data for RoleAdminChanged events raised by the AccessControl contract.

func (*AccessControlRoleAdminChangedIterator) Close

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

func (*AccessControlRoleAdminChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AccessControlRoleAdminChangedIterator) 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 AccessControlRoleGranted

type AccessControlRoleGranted struct {
	Role    [32]byte
	Account common.Address
	Sender  common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

AccessControlRoleGranted represents a RoleGranted event raised by the AccessControl contract.

type AccessControlRoleGrantedIterator

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

AccessControlRoleGrantedIterator is returned from FilterRoleGranted and is used to iterate over the raw logs and unpacked data for RoleGranted events raised by the AccessControl contract.

func (*AccessControlRoleGrantedIterator) Close

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

func (*AccessControlRoleGrantedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AccessControlRoleGrantedIterator) 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 AccessControlRoleRevoked

type AccessControlRoleRevoked struct {
	Role    [32]byte
	Account common.Address
	Sender  common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

AccessControlRoleRevoked represents a RoleRevoked event raised by the AccessControl contract.

type AccessControlRoleRevokedIterator

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

AccessControlRoleRevokedIterator is returned from FilterRoleRevoked and is used to iterate over the raw logs and unpacked data for RoleRevoked events raised by the AccessControl contract.

func (*AccessControlRoleRevokedIterator) Close

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

func (*AccessControlRoleRevokedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AccessControlRoleRevokedIterator) 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 AccessControlSession

type AccessControlSession struct {
	Contract     *AccessControl    // 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
}

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

func (*AccessControlSession) DEFAULTADMINROLE

func (_AccessControl *AccessControlSession) DEFAULTADMINROLE() ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*AccessControlSession) GetRoleAdmin

func (_AccessControl *AccessControlSession) GetRoleAdmin(role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*AccessControlSession) GrantRole

func (_AccessControl *AccessControlSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*AccessControlSession) HasRole

func (_AccessControl *AccessControlSession) HasRole(role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*AccessControlSession) RenounceRole

func (_AccessControl *AccessControlSession) RenounceRole(role [32]byte, callerConfirmation common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address callerConfirmation) returns()

func (*AccessControlSession) RevokeRole

func (_AccessControl *AccessControlSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

func (*AccessControlSession) SupportsInterface

func (_AccessControl *AccessControlSession) SupportsInterface(interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

type AccessControlTransactor

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

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

func NewAccessControlTransactor

func NewAccessControlTransactor(address common.Address, transactor bind.ContractTransactor) (*AccessControlTransactor, error)

NewAccessControlTransactor creates a new write-only instance of AccessControl, bound to a specific deployed contract.

func (*AccessControlTransactor) GrantRole

func (_AccessControl *AccessControlTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*AccessControlTransactor) RenounceRole

func (_AccessControl *AccessControlTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, callerConfirmation common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address callerConfirmation) returns()

func (*AccessControlTransactor) RevokeRole

func (_AccessControl *AccessControlTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

type AccessControlTransactorRaw

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

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

func (*AccessControlTransactorRaw) Transact

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

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

func (*AccessControlTransactorRaw) Transfer

func (_AccessControl *AccessControlTransactorRaw) 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 AccessControlTransactorSession

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

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

func (*AccessControlTransactorSession) GrantRole

func (_AccessControl *AccessControlTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*AccessControlTransactorSession) RenounceRole

func (_AccessControl *AccessControlTransactorSession) RenounceRole(role [32]byte, callerConfirmation common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address callerConfirmation) returns()

func (*AccessControlTransactorSession) RevokeRole

func (_AccessControl *AccessControlTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

type Address

type Address struct {
	AddressCaller     // Read-only binding to the contract
	AddressTransactor // Write-only binding to the contract
	AddressFilterer   // Log filterer for contract events
}

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

func DeployAddress

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

DeployAddress deploys a new Ethereum contract, binding an instance of Address to it.

func NewAddress

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

NewAddress creates a new instance of Address, bound to a specific deployed contract.

type AddressCaller

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

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

func NewAddressCaller

func NewAddressCaller(address common.Address, caller bind.ContractCaller) (*AddressCaller, error)

NewAddressCaller creates a new read-only instance of Address, bound to a specific deployed contract.

type AddressCallerRaw

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

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

func (*AddressCallerRaw) Call

func (_Address *AddressCallerRaw) 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 AddressCallerSession

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

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

type AddressFilterer

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

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

func NewAddressFilterer

func NewAddressFilterer(address common.Address, filterer bind.ContractFilterer) (*AddressFilterer, error)

NewAddressFilterer creates a new log filterer instance of Address, bound to a specific deployed contract.

type AddressRaw

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

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

func (*AddressRaw) Call

func (_Address *AddressRaw) 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 (*AddressRaw) Transact

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

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

func (*AddressRaw) Transfer

func (_Address *AddressRaw) 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 AddressSession

type AddressSession struct {
	Contract     *Address          // 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
}

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

type AddressTransactor

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

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

func NewAddressTransactor

func NewAddressTransactor(address common.Address, transactor bind.ContractTransactor) (*AddressTransactor, error)

NewAddressTransactor creates a new write-only instance of Address, bound to a specific deployed contract.

type AddressTransactorRaw

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

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

func (*AddressTransactorRaw) Transact

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

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

func (*AddressTransactorRaw) Transfer

func (_Address *AddressTransactorRaw) 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 AddressTransactorSession

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

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

type Admin

type Admin struct {
	AdminCaller     // Read-only binding to the contract
	AdminTransactor // Write-only binding to the contract
	AdminFilterer   // Log filterer for contract events
}

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

func DeployAdmin

func DeployAdmin(auth *bind.TransactOpts, backend bind.ContractBackend, _owner common.Address) (common.Address, *types.Transaction, *Admin, error)

DeployAdmin deploys a new Ethereum contract, binding an instance of Admin to it.

func NewAdmin

func NewAdmin(address common.Address, backend bind.ContractBackend) (*Admin, error)

NewAdmin creates a new instance of Admin, bound to a specific deployed contract.

type AdminCaller

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

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

func NewAdminCaller

func NewAdminCaller(address common.Address, caller bind.ContractCaller) (*AdminCaller, error)

NewAdminCaller creates a new read-only instance of Admin, bound to a specific deployed contract.

func (*AdminCaller) ChainGasAmount

func (_Admin *AdminCaller) ChainGasAmount(opts *bind.CallOpts) (*big.Int, error)

ChainGasAmount is a free data retrieval call binding the contract method 0xe00a83e0.

Solidity: function chainGasAmount() view returns(uint256)

func (*AdminCaller) DEFAULTADMINROLE

func (_Admin *AdminCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*AdminCaller) FEEBPS

func (_Admin *AdminCaller) FEEBPS(opts *bind.CallOpts) (*big.Int, error)

FEEBPS is a free data retrieval call binding the contract method 0xbf333f2c.

Solidity: function FEE_BPS() view returns(uint256)

func (*AdminCaller) FEERATEMAX

func (_Admin *AdminCaller) FEERATEMAX(opts *bind.CallOpts) (*big.Int, error)

FEERATEMAX is a free data retrieval call binding the contract method 0x0f5f6ed7.

Solidity: function FEE_RATE_MAX() view returns(uint256)

func (*AdminCaller) GOVERNORROLE

func (_Admin *AdminCaller) GOVERNORROLE(opts *bind.CallOpts) ([32]byte, error)

GOVERNORROLE is a free data retrieval call binding the contract method 0xccc57490.

Solidity: function GOVERNOR_ROLE() view returns(bytes32)

func (*AdminCaller) GUARDROLE

func (_Admin *AdminCaller) GUARDROLE(opts *bind.CallOpts) ([32]byte, error)

GUARDROLE is a free data retrieval call binding the contract method 0x03ed0ee5.

Solidity: function GUARD_ROLE() view returns(bytes32)

func (*AdminCaller) GetRoleAdmin

func (_Admin *AdminCaller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*AdminCaller) HasRole

func (_Admin *AdminCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*AdminCaller) ProtocolFeeRate

func (_Admin *AdminCaller) ProtocolFeeRate(opts *bind.CallOpts) (*big.Int, error)

ProtocolFeeRate is a free data retrieval call binding the contract method 0x58f85880.

Solidity: function protocolFeeRate() view returns(uint256)

func (*AdminCaller) ProtocolFees

func (_Admin *AdminCaller) ProtocolFees(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

ProtocolFees is a free data retrieval call binding the contract method 0xdcf844a7.

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

func (*AdminCaller) RELAYERROLE

func (_Admin *AdminCaller) RELAYERROLE(opts *bind.CallOpts) ([32]byte, error)

RELAYERROLE is a free data retrieval call binding the contract method 0x926d7d7f.

Solidity: function RELAYER_ROLE() view returns(bytes32)

func (*AdminCaller) SupportsInterface

func (_Admin *AdminCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

type AdminCallerRaw

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

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

func (*AdminCallerRaw) Call

func (_Admin *AdminCallerRaw) 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 AdminCallerSession

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

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

func (*AdminCallerSession) ChainGasAmount

func (_Admin *AdminCallerSession) ChainGasAmount() (*big.Int, error)

ChainGasAmount is a free data retrieval call binding the contract method 0xe00a83e0.

Solidity: function chainGasAmount() view returns(uint256)

func (*AdminCallerSession) DEFAULTADMINROLE

func (_Admin *AdminCallerSession) DEFAULTADMINROLE() ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*AdminCallerSession) FEEBPS

func (_Admin *AdminCallerSession) FEEBPS() (*big.Int, error)

FEEBPS is a free data retrieval call binding the contract method 0xbf333f2c.

Solidity: function FEE_BPS() view returns(uint256)

func (*AdminCallerSession) FEERATEMAX

func (_Admin *AdminCallerSession) FEERATEMAX() (*big.Int, error)

FEERATEMAX is a free data retrieval call binding the contract method 0x0f5f6ed7.

Solidity: function FEE_RATE_MAX() view returns(uint256)

func (*AdminCallerSession) GOVERNORROLE

func (_Admin *AdminCallerSession) GOVERNORROLE() ([32]byte, error)

GOVERNORROLE is a free data retrieval call binding the contract method 0xccc57490.

Solidity: function GOVERNOR_ROLE() view returns(bytes32)

func (*AdminCallerSession) GUARDROLE

func (_Admin *AdminCallerSession) GUARDROLE() ([32]byte, error)

GUARDROLE is a free data retrieval call binding the contract method 0x03ed0ee5.

Solidity: function GUARD_ROLE() view returns(bytes32)

func (*AdminCallerSession) GetRoleAdmin

func (_Admin *AdminCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*AdminCallerSession) HasRole

func (_Admin *AdminCallerSession) HasRole(role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*AdminCallerSession) ProtocolFeeRate

func (_Admin *AdminCallerSession) ProtocolFeeRate() (*big.Int, error)

ProtocolFeeRate is a free data retrieval call binding the contract method 0x58f85880.

Solidity: function protocolFeeRate() view returns(uint256)

func (*AdminCallerSession) ProtocolFees

func (_Admin *AdminCallerSession) ProtocolFees(arg0 common.Address) (*big.Int, error)

ProtocolFees is a free data retrieval call binding the contract method 0xdcf844a7.

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

func (*AdminCallerSession) RELAYERROLE

func (_Admin *AdminCallerSession) RELAYERROLE() ([32]byte, error)

RELAYERROLE is a free data retrieval call binding the contract method 0x926d7d7f.

Solidity: function RELAYER_ROLE() view returns(bytes32)

func (*AdminCallerSession) SupportsInterface

func (_Admin *AdminCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

type AdminChainGasAmountUpdated

type AdminChainGasAmountUpdated struct {
	OldChainGasAmount *big.Int
	NewChainGasAmount *big.Int
	Raw               types.Log // Blockchain specific contextual infos
}

AdminChainGasAmountUpdated represents a ChainGasAmountUpdated event raised by the Admin contract.

type AdminChainGasAmountUpdatedIterator

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

AdminChainGasAmountUpdatedIterator is returned from FilterChainGasAmountUpdated and is used to iterate over the raw logs and unpacked data for ChainGasAmountUpdated events raised by the Admin contract.

func (*AdminChainGasAmountUpdatedIterator) Close

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

func (*AdminChainGasAmountUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AdminChainGasAmountUpdatedIterator) 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 AdminFeeRateUpdated

type AdminFeeRateUpdated struct {
	OldFeeRate *big.Int
	NewFeeRate *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

AdminFeeRateUpdated represents a FeeRateUpdated event raised by the Admin contract.

type AdminFeeRateUpdatedIterator

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

AdminFeeRateUpdatedIterator is returned from FilterFeeRateUpdated and is used to iterate over the raw logs and unpacked data for FeeRateUpdated events raised by the Admin contract.

func (*AdminFeeRateUpdatedIterator) Close

func (it *AdminFeeRateUpdatedIterator) Close() error

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

func (*AdminFeeRateUpdatedIterator) Error

func (it *AdminFeeRateUpdatedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*AdminFeeRateUpdatedIterator) Next

func (it *AdminFeeRateUpdatedIterator) 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 AdminFeesSwept

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

AdminFeesSwept represents a FeesSwept event raised by the Admin contract.

type AdminFeesSweptIterator

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

AdminFeesSweptIterator is returned from FilterFeesSwept and is used to iterate over the raw logs and unpacked data for FeesSwept events raised by the Admin contract.

func (*AdminFeesSweptIterator) Close

func (it *AdminFeesSweptIterator) Close() error

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

func (*AdminFeesSweptIterator) Error

func (it *AdminFeesSweptIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*AdminFeesSweptIterator) Next

func (it *AdminFeesSweptIterator) 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 AdminFilterer

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

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

func NewAdminFilterer

func NewAdminFilterer(address common.Address, filterer bind.ContractFilterer) (*AdminFilterer, error)

NewAdminFilterer creates a new log filterer instance of Admin, bound to a specific deployed contract.

func (*AdminFilterer) FilterChainGasAmountUpdated

func (_Admin *AdminFilterer) FilterChainGasAmountUpdated(opts *bind.FilterOpts) (*AdminChainGasAmountUpdatedIterator, error)

FilterChainGasAmountUpdated is a free log retrieval operation binding the contract event 0x5cf09b12f3f56b4c564d51b25b40360af6d795198adb61ae0806a36c294323fa.

Solidity: event ChainGasAmountUpdated(uint256 oldChainGasAmount, uint256 newChainGasAmount)

func (*AdminFilterer) FilterFeeRateUpdated

func (_Admin *AdminFilterer) FilterFeeRateUpdated(opts *bind.FilterOpts) (*AdminFeeRateUpdatedIterator, error)

FilterFeeRateUpdated is a free log retrieval operation binding the contract event 0x14914da2bf76024616fbe1859783fcd4dbddcb179b1f3a854949fbf920dcb957.

Solidity: event FeeRateUpdated(uint256 oldFeeRate, uint256 newFeeRate)

func (*AdminFilterer) FilterFeesSwept

func (_Admin *AdminFilterer) FilterFeesSwept(opts *bind.FilterOpts) (*AdminFeesSweptIterator, error)

FilterFeesSwept is a free log retrieval operation binding the contract event 0x244e51bc38c1452fa8aaf487bcb4bca36c2baa3a5fbdb776b1eabd8dc6d277cd.

Solidity: event FeesSwept(address token, address recipient, uint256 amount)

func (*AdminFilterer) FilterGovernorAdded

func (_Admin *AdminFilterer) FilterGovernorAdded(opts *bind.FilterOpts) (*AdminGovernorAddedIterator, error)

FilterGovernorAdded is a free log retrieval operation binding the contract event 0xdc5a48d79e2e147530ff63ecdbed5a5a66adb9d5cf339384d5d076da197c40b5.

Solidity: event GovernorAdded(address governor)

func (*AdminFilterer) FilterGovernorRemoved

func (_Admin *AdminFilterer) FilterGovernorRemoved(opts *bind.FilterOpts) (*AdminGovernorRemovedIterator, error)

FilterGovernorRemoved is a free log retrieval operation binding the contract event 0x1ebe834e73d60a5fec822c1e1727d34bc79f2ad977ed504581cc1822fe20fb5b.

Solidity: event GovernorRemoved(address governor)

func (*AdminFilterer) FilterGuardAdded

func (_Admin *AdminFilterer) FilterGuardAdded(opts *bind.FilterOpts) (*AdminGuardAddedIterator, error)

FilterGuardAdded is a free log retrieval operation binding the contract event 0x93405f05cd04f0d1bd875f2de00f1f3890484ffd0589248953bdfd29ba7f2f59.

Solidity: event GuardAdded(address guard)

func (*AdminFilterer) FilterGuardRemoved

func (_Admin *AdminFilterer) FilterGuardRemoved(opts *bind.FilterOpts) (*AdminGuardRemovedIterator, error)

FilterGuardRemoved is a free log retrieval operation binding the contract event 0x59926e0a78d12238b668b31c8e3f6ece235a59a00ede111d883e255b68c4d048.

Solidity: event GuardRemoved(address guard)

func (*AdminFilterer) FilterRelayerAdded

func (_Admin *AdminFilterer) FilterRelayerAdded(opts *bind.FilterOpts) (*AdminRelayerAddedIterator, error)

FilterRelayerAdded is a free log retrieval operation binding the contract event 0x03580ee9f53a62b7cb409a2cb56f9be87747dd15017afc5cef6eef321e4fb2c5.

Solidity: event RelayerAdded(address relayer)

func (*AdminFilterer) FilterRelayerRemoved

func (_Admin *AdminFilterer) FilterRelayerRemoved(opts *bind.FilterOpts) (*AdminRelayerRemovedIterator, error)

FilterRelayerRemoved is a free log retrieval operation binding the contract event 0x10e1f7ce9fd7d1b90a66d13a2ab3cb8dd7f29f3f8d520b143b063ccfbab6906b.

Solidity: event RelayerRemoved(address relayer)

func (*AdminFilterer) FilterRoleAdminChanged

func (_Admin *AdminFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (*AdminRoleAdminChangedIterator, error)

FilterRoleAdminChanged is a free log retrieval operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*AdminFilterer) FilterRoleGranted

func (_Admin *AdminFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*AdminRoleGrantedIterator, error)

FilterRoleGranted is a free log retrieval operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*AdminFilterer) FilterRoleRevoked

func (_Admin *AdminFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*AdminRoleRevokedIterator, error)

FilterRoleRevoked is a free log retrieval operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*AdminFilterer) ParseChainGasAmountUpdated

func (_Admin *AdminFilterer) ParseChainGasAmountUpdated(log types.Log) (*AdminChainGasAmountUpdated, error)

ParseChainGasAmountUpdated is a log parse operation binding the contract event 0x5cf09b12f3f56b4c564d51b25b40360af6d795198adb61ae0806a36c294323fa.

Solidity: event ChainGasAmountUpdated(uint256 oldChainGasAmount, uint256 newChainGasAmount)

func (*AdminFilterer) ParseFeeRateUpdated

func (_Admin *AdminFilterer) ParseFeeRateUpdated(log types.Log) (*AdminFeeRateUpdated, error)

ParseFeeRateUpdated is a log parse operation binding the contract event 0x14914da2bf76024616fbe1859783fcd4dbddcb179b1f3a854949fbf920dcb957.

Solidity: event FeeRateUpdated(uint256 oldFeeRate, uint256 newFeeRate)

func (*AdminFilterer) ParseFeesSwept

func (_Admin *AdminFilterer) ParseFeesSwept(log types.Log) (*AdminFeesSwept, error)

ParseFeesSwept is a log parse operation binding the contract event 0x244e51bc38c1452fa8aaf487bcb4bca36c2baa3a5fbdb776b1eabd8dc6d277cd.

Solidity: event FeesSwept(address token, address recipient, uint256 amount)

func (*AdminFilterer) ParseGovernorAdded

func (_Admin *AdminFilterer) ParseGovernorAdded(log types.Log) (*AdminGovernorAdded, error)

ParseGovernorAdded is a log parse operation binding the contract event 0xdc5a48d79e2e147530ff63ecdbed5a5a66adb9d5cf339384d5d076da197c40b5.

Solidity: event GovernorAdded(address governor)

func (*AdminFilterer) ParseGovernorRemoved

func (_Admin *AdminFilterer) ParseGovernorRemoved(log types.Log) (*AdminGovernorRemoved, error)

ParseGovernorRemoved is a log parse operation binding the contract event 0x1ebe834e73d60a5fec822c1e1727d34bc79f2ad977ed504581cc1822fe20fb5b.

Solidity: event GovernorRemoved(address governor)

func (*AdminFilterer) ParseGuardAdded

func (_Admin *AdminFilterer) ParseGuardAdded(log types.Log) (*AdminGuardAdded, error)

ParseGuardAdded is a log parse operation binding the contract event 0x93405f05cd04f0d1bd875f2de00f1f3890484ffd0589248953bdfd29ba7f2f59.

Solidity: event GuardAdded(address guard)

func (*AdminFilterer) ParseGuardRemoved

func (_Admin *AdminFilterer) ParseGuardRemoved(log types.Log) (*AdminGuardRemoved, error)

ParseGuardRemoved is a log parse operation binding the contract event 0x59926e0a78d12238b668b31c8e3f6ece235a59a00ede111d883e255b68c4d048.

Solidity: event GuardRemoved(address guard)

func (*AdminFilterer) ParseRelayerAdded

func (_Admin *AdminFilterer) ParseRelayerAdded(log types.Log) (*AdminRelayerAdded, error)

ParseRelayerAdded is a log parse operation binding the contract event 0x03580ee9f53a62b7cb409a2cb56f9be87747dd15017afc5cef6eef321e4fb2c5.

Solidity: event RelayerAdded(address relayer)

func (*AdminFilterer) ParseRelayerRemoved

func (_Admin *AdminFilterer) ParseRelayerRemoved(log types.Log) (*AdminRelayerRemoved, error)

ParseRelayerRemoved is a log parse operation binding the contract event 0x10e1f7ce9fd7d1b90a66d13a2ab3cb8dd7f29f3f8d520b143b063ccfbab6906b.

Solidity: event RelayerRemoved(address relayer)

func (*AdminFilterer) ParseRoleAdminChanged

func (_Admin *AdminFilterer) ParseRoleAdminChanged(log types.Log) (*AdminRoleAdminChanged, error)

ParseRoleAdminChanged is a log parse operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*AdminFilterer) ParseRoleGranted

func (_Admin *AdminFilterer) ParseRoleGranted(log types.Log) (*AdminRoleGranted, error)

ParseRoleGranted is a log parse operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*AdminFilterer) ParseRoleRevoked

func (_Admin *AdminFilterer) ParseRoleRevoked(log types.Log) (*AdminRoleRevoked, error)

ParseRoleRevoked is a log parse operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*AdminFilterer) WatchChainGasAmountUpdated

func (_Admin *AdminFilterer) WatchChainGasAmountUpdated(opts *bind.WatchOpts, sink chan<- *AdminChainGasAmountUpdated) (event.Subscription, error)

WatchChainGasAmountUpdated is a free log subscription operation binding the contract event 0x5cf09b12f3f56b4c564d51b25b40360af6d795198adb61ae0806a36c294323fa.

Solidity: event ChainGasAmountUpdated(uint256 oldChainGasAmount, uint256 newChainGasAmount)

func (*AdminFilterer) WatchFeeRateUpdated

func (_Admin *AdminFilterer) WatchFeeRateUpdated(opts *bind.WatchOpts, sink chan<- *AdminFeeRateUpdated) (event.Subscription, error)

WatchFeeRateUpdated is a free log subscription operation binding the contract event 0x14914da2bf76024616fbe1859783fcd4dbddcb179b1f3a854949fbf920dcb957.

Solidity: event FeeRateUpdated(uint256 oldFeeRate, uint256 newFeeRate)

func (*AdminFilterer) WatchFeesSwept

func (_Admin *AdminFilterer) WatchFeesSwept(opts *bind.WatchOpts, sink chan<- *AdminFeesSwept) (event.Subscription, error)

WatchFeesSwept is a free log subscription operation binding the contract event 0x244e51bc38c1452fa8aaf487bcb4bca36c2baa3a5fbdb776b1eabd8dc6d277cd.

Solidity: event FeesSwept(address token, address recipient, uint256 amount)

func (*AdminFilterer) WatchGovernorAdded

func (_Admin *AdminFilterer) WatchGovernorAdded(opts *bind.WatchOpts, sink chan<- *AdminGovernorAdded) (event.Subscription, error)

WatchGovernorAdded is a free log subscription operation binding the contract event 0xdc5a48d79e2e147530ff63ecdbed5a5a66adb9d5cf339384d5d076da197c40b5.

Solidity: event GovernorAdded(address governor)

func (*AdminFilterer) WatchGovernorRemoved

func (_Admin *AdminFilterer) WatchGovernorRemoved(opts *bind.WatchOpts, sink chan<- *AdminGovernorRemoved) (event.Subscription, error)

WatchGovernorRemoved is a free log subscription operation binding the contract event 0x1ebe834e73d60a5fec822c1e1727d34bc79f2ad977ed504581cc1822fe20fb5b.

Solidity: event GovernorRemoved(address governor)

func (*AdminFilterer) WatchGuardAdded

func (_Admin *AdminFilterer) WatchGuardAdded(opts *bind.WatchOpts, sink chan<- *AdminGuardAdded) (event.Subscription, error)

WatchGuardAdded is a free log subscription operation binding the contract event 0x93405f05cd04f0d1bd875f2de00f1f3890484ffd0589248953bdfd29ba7f2f59.

Solidity: event GuardAdded(address guard)

func (*AdminFilterer) WatchGuardRemoved

func (_Admin *AdminFilterer) WatchGuardRemoved(opts *bind.WatchOpts, sink chan<- *AdminGuardRemoved) (event.Subscription, error)

WatchGuardRemoved is a free log subscription operation binding the contract event 0x59926e0a78d12238b668b31c8e3f6ece235a59a00ede111d883e255b68c4d048.

Solidity: event GuardRemoved(address guard)

func (*AdminFilterer) WatchRelayerAdded

func (_Admin *AdminFilterer) WatchRelayerAdded(opts *bind.WatchOpts, sink chan<- *AdminRelayerAdded) (event.Subscription, error)

WatchRelayerAdded is a free log subscription operation binding the contract event 0x03580ee9f53a62b7cb409a2cb56f9be87747dd15017afc5cef6eef321e4fb2c5.

Solidity: event RelayerAdded(address relayer)

func (*AdminFilterer) WatchRelayerRemoved

func (_Admin *AdminFilterer) WatchRelayerRemoved(opts *bind.WatchOpts, sink chan<- *AdminRelayerRemoved) (event.Subscription, error)

WatchRelayerRemoved is a free log subscription operation binding the contract event 0x10e1f7ce9fd7d1b90a66d13a2ab3cb8dd7f29f3f8d520b143b063ccfbab6906b.

Solidity: event RelayerRemoved(address relayer)

func (*AdminFilterer) WatchRoleAdminChanged

func (_Admin *AdminFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *AdminRoleAdminChanged, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (event.Subscription, error)

WatchRoleAdminChanged is a free log subscription operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*AdminFilterer) WatchRoleGranted

func (_Admin *AdminFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *AdminRoleGranted, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)

WatchRoleGranted is a free log subscription operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*AdminFilterer) WatchRoleRevoked

func (_Admin *AdminFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *AdminRoleRevoked, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)

WatchRoleRevoked is a free log subscription operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

type AdminGovernorAdded

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

AdminGovernorAdded represents a GovernorAdded event raised by the Admin contract.

type AdminGovernorAddedIterator

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

AdminGovernorAddedIterator is returned from FilterGovernorAdded and is used to iterate over the raw logs and unpacked data for GovernorAdded events raised by the Admin contract.

func (*AdminGovernorAddedIterator) Close

func (it *AdminGovernorAddedIterator) Close() error

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

func (*AdminGovernorAddedIterator) Error

func (it *AdminGovernorAddedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*AdminGovernorAddedIterator) Next

func (it *AdminGovernorAddedIterator) 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 AdminGovernorRemoved

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

AdminGovernorRemoved represents a GovernorRemoved event raised by the Admin contract.

type AdminGovernorRemovedIterator

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

AdminGovernorRemovedIterator is returned from FilterGovernorRemoved and is used to iterate over the raw logs and unpacked data for GovernorRemoved events raised by the Admin contract.

func (*AdminGovernorRemovedIterator) Close

func (it *AdminGovernorRemovedIterator) Close() error

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

func (*AdminGovernorRemovedIterator) Error

func (it *AdminGovernorRemovedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*AdminGovernorRemovedIterator) 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 AdminGuardAdded

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

AdminGuardAdded represents a GuardAdded event raised by the Admin contract.

type AdminGuardAddedIterator

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

AdminGuardAddedIterator is returned from FilterGuardAdded and is used to iterate over the raw logs and unpacked data for GuardAdded events raised by the Admin contract.

func (*AdminGuardAddedIterator) Close

func (it *AdminGuardAddedIterator) Close() error

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

func (*AdminGuardAddedIterator) Error

func (it *AdminGuardAddedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*AdminGuardAddedIterator) Next

func (it *AdminGuardAddedIterator) 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 AdminGuardRemoved

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

AdminGuardRemoved represents a GuardRemoved event raised by the Admin contract.

type AdminGuardRemovedIterator

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

AdminGuardRemovedIterator is returned from FilterGuardRemoved and is used to iterate over the raw logs and unpacked data for GuardRemoved events raised by the Admin contract.

func (*AdminGuardRemovedIterator) Close

func (it *AdminGuardRemovedIterator) Close() error

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

func (*AdminGuardRemovedIterator) Error

func (it *AdminGuardRemovedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*AdminGuardRemovedIterator) Next

func (it *AdminGuardRemovedIterator) 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 AdminRaw

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

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

func (*AdminRaw) Call

func (_Admin *AdminRaw) 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 (*AdminRaw) Transact

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

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

func (*AdminRaw) Transfer

func (_Admin *AdminRaw) 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 AdminRelayerAdded

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

AdminRelayerAdded represents a RelayerAdded event raised by the Admin contract.

type AdminRelayerAddedIterator

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

AdminRelayerAddedIterator is returned from FilterRelayerAdded and is used to iterate over the raw logs and unpacked data for RelayerAdded events raised by the Admin contract.

func (*AdminRelayerAddedIterator) Close

func (it *AdminRelayerAddedIterator) Close() error

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

func (*AdminRelayerAddedIterator) Error

func (it *AdminRelayerAddedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*AdminRelayerAddedIterator) Next

func (it *AdminRelayerAddedIterator) 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 AdminRelayerRemoved

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

AdminRelayerRemoved represents a RelayerRemoved event raised by the Admin contract.

type AdminRelayerRemovedIterator

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

AdminRelayerRemovedIterator is returned from FilterRelayerRemoved and is used to iterate over the raw logs and unpacked data for RelayerRemoved events raised by the Admin contract.

func (*AdminRelayerRemovedIterator) Close

func (it *AdminRelayerRemovedIterator) Close() error

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

func (*AdminRelayerRemovedIterator) Error

func (it *AdminRelayerRemovedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*AdminRelayerRemovedIterator) Next

func (it *AdminRelayerRemovedIterator) 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 AdminRoleAdminChanged

type AdminRoleAdminChanged struct {
	Role              [32]byte
	PreviousAdminRole [32]byte
	NewAdminRole      [32]byte
	Raw               types.Log // Blockchain specific contextual infos
}

AdminRoleAdminChanged represents a RoleAdminChanged event raised by the Admin contract.

type AdminRoleAdminChangedIterator

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

AdminRoleAdminChangedIterator is returned from FilterRoleAdminChanged and is used to iterate over the raw logs and unpacked data for RoleAdminChanged events raised by the Admin contract.

func (*AdminRoleAdminChangedIterator) Close

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

func (*AdminRoleAdminChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AdminRoleAdminChangedIterator) 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 AdminRoleGranted

type AdminRoleGranted struct {
	Role    [32]byte
	Account common.Address
	Sender  common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

AdminRoleGranted represents a RoleGranted event raised by the Admin contract.

type AdminRoleGrantedIterator

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

AdminRoleGrantedIterator is returned from FilterRoleGranted and is used to iterate over the raw logs and unpacked data for RoleGranted events raised by the Admin contract.

func (*AdminRoleGrantedIterator) Close

func (it *AdminRoleGrantedIterator) Close() error

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

func (*AdminRoleGrantedIterator) Error

func (it *AdminRoleGrantedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*AdminRoleGrantedIterator) Next

func (it *AdminRoleGrantedIterator) 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 AdminRoleRevoked

type AdminRoleRevoked struct {
	Role    [32]byte
	Account common.Address
	Sender  common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

AdminRoleRevoked represents a RoleRevoked event raised by the Admin contract.

type AdminRoleRevokedIterator

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

AdminRoleRevokedIterator is returned from FilterRoleRevoked and is used to iterate over the raw logs and unpacked data for RoleRevoked events raised by the Admin contract.

func (*AdminRoleRevokedIterator) Close

func (it *AdminRoleRevokedIterator) Close() error

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

func (*AdminRoleRevokedIterator) Error

func (it *AdminRoleRevokedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*AdminRoleRevokedIterator) Next

func (it *AdminRoleRevokedIterator) 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 AdminSession

type AdminSession struct {
	Contract     *Admin            // 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
}

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

func (*AdminSession) AddGovernor

func (_Admin *AdminSession) AddGovernor(_governor common.Address) (*types.Transaction, error)

AddGovernor is a paid mutator transaction binding the contract method 0x3c4a25d0.

Solidity: function addGovernor(address _governor) returns()

func (*AdminSession) AddGuard

func (_Admin *AdminSession) AddGuard(_guard common.Address) (*types.Transaction, error)

AddGuard is a paid mutator transaction binding the contract method 0x6913a63c.

Solidity: function addGuard(address _guard) returns()

func (*AdminSession) AddRelayer

func (_Admin *AdminSession) AddRelayer(_relayer common.Address) (*types.Transaction, error)

AddRelayer is a paid mutator transaction binding the contract method 0xdd39f00d.

Solidity: function addRelayer(address _relayer) returns()

func (*AdminSession) ChainGasAmount

func (_Admin *AdminSession) ChainGasAmount() (*big.Int, error)

ChainGasAmount is a free data retrieval call binding the contract method 0xe00a83e0.

Solidity: function chainGasAmount() view returns(uint256)

func (*AdminSession) DEFAULTADMINROLE

func (_Admin *AdminSession) DEFAULTADMINROLE() ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*AdminSession) FEEBPS

func (_Admin *AdminSession) FEEBPS() (*big.Int, error)

FEEBPS is a free data retrieval call binding the contract method 0xbf333f2c.

Solidity: function FEE_BPS() view returns(uint256)

func (*AdminSession) FEERATEMAX

func (_Admin *AdminSession) FEERATEMAX() (*big.Int, error)

FEERATEMAX is a free data retrieval call binding the contract method 0x0f5f6ed7.

Solidity: function FEE_RATE_MAX() view returns(uint256)

func (*AdminSession) GOVERNORROLE

func (_Admin *AdminSession) GOVERNORROLE() ([32]byte, error)

GOVERNORROLE is a free data retrieval call binding the contract method 0xccc57490.

Solidity: function GOVERNOR_ROLE() view returns(bytes32)

func (*AdminSession) GUARDROLE

func (_Admin *AdminSession) GUARDROLE() ([32]byte, error)

GUARDROLE is a free data retrieval call binding the contract method 0x03ed0ee5.

Solidity: function GUARD_ROLE() view returns(bytes32)

func (*AdminSession) GetRoleAdmin

func (_Admin *AdminSession) GetRoleAdmin(role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*AdminSession) GrantRole

func (_Admin *AdminSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*AdminSession) HasRole

func (_Admin *AdminSession) HasRole(role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*AdminSession) ProtocolFeeRate

func (_Admin *AdminSession) ProtocolFeeRate() (*big.Int, error)

ProtocolFeeRate is a free data retrieval call binding the contract method 0x58f85880.

Solidity: function protocolFeeRate() view returns(uint256)

func (*AdminSession) ProtocolFees

func (_Admin *AdminSession) ProtocolFees(arg0 common.Address) (*big.Int, error)

ProtocolFees is a free data retrieval call binding the contract method 0xdcf844a7.

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

func (*AdminSession) RELAYERROLE

func (_Admin *AdminSession) RELAYERROLE() ([32]byte, error)

RELAYERROLE is a free data retrieval call binding the contract method 0x926d7d7f.

Solidity: function RELAYER_ROLE() view returns(bytes32)

func (*AdminSession) RemoveGovernor

func (_Admin *AdminSession) RemoveGovernor(_governor common.Address) (*types.Transaction, error)

RemoveGovernor is a paid mutator transaction binding the contract method 0xeecdac88.

Solidity: function removeGovernor(address _governor) returns()

func (*AdminSession) RemoveGuard

func (_Admin *AdminSession) RemoveGuard(_guard common.Address) (*types.Transaction, error)

RemoveGuard is a paid mutator transaction binding the contract method 0xb6235016.

Solidity: function removeGuard(address _guard) returns()

func (*AdminSession) RemoveRelayer

func (_Admin *AdminSession) RemoveRelayer(_relayer common.Address) (*types.Transaction, error)

RemoveRelayer is a paid mutator transaction binding the contract method 0x60f0a5ac.

Solidity: function removeRelayer(address _relayer) returns()

func (*AdminSession) RenounceRole

func (_Admin *AdminSession) RenounceRole(role [32]byte, callerConfirmation common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address callerConfirmation) returns()

func (*AdminSession) RevokeRole

func (_Admin *AdminSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

func (*AdminSession) SetChainGasAmount

func (_Admin *AdminSession) SetChainGasAmount(newChainGasAmount *big.Int) (*types.Transaction, error)

SetChainGasAmount is a paid mutator transaction binding the contract method 0xb250fe6b.

Solidity: function setChainGasAmount(uint256 newChainGasAmount) returns()

func (*AdminSession) SetProtocolFeeRate

func (_Admin *AdminSession) SetProtocolFeeRate(newFeeRate *big.Int) (*types.Transaction, error)

SetProtocolFeeRate is a paid mutator transaction binding the contract method 0xb13aa2d6.

Solidity: function setProtocolFeeRate(uint256 newFeeRate) returns()

func (*AdminSession) SupportsInterface

func (_Admin *AdminSession) SupportsInterface(interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

func (*AdminSession) SweepProtocolFees

func (_Admin *AdminSession) SweepProtocolFees(token common.Address, recipient common.Address) (*types.Transaction, error)

SweepProtocolFees is a paid mutator transaction binding the contract method 0x06f333f2.

Solidity: function sweepProtocolFees(address token, address recipient) returns()

type AdminTransactor

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

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

func NewAdminTransactor

func NewAdminTransactor(address common.Address, transactor bind.ContractTransactor) (*AdminTransactor, error)

NewAdminTransactor creates a new write-only instance of Admin, bound to a specific deployed contract.

func (*AdminTransactor) AddGovernor

func (_Admin *AdminTransactor) AddGovernor(opts *bind.TransactOpts, _governor common.Address) (*types.Transaction, error)

AddGovernor is a paid mutator transaction binding the contract method 0x3c4a25d0.

Solidity: function addGovernor(address _governor) returns()

func (*AdminTransactor) AddGuard

func (_Admin *AdminTransactor) AddGuard(opts *bind.TransactOpts, _guard common.Address) (*types.Transaction, error)

AddGuard is a paid mutator transaction binding the contract method 0x6913a63c.

Solidity: function addGuard(address _guard) returns()

func (*AdminTransactor) AddRelayer

func (_Admin *AdminTransactor) AddRelayer(opts *bind.TransactOpts, _relayer common.Address) (*types.Transaction, error)

AddRelayer is a paid mutator transaction binding the contract method 0xdd39f00d.

Solidity: function addRelayer(address _relayer) returns()

func (*AdminTransactor) GrantRole

func (_Admin *AdminTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*AdminTransactor) RemoveGovernor

func (_Admin *AdminTransactor) RemoveGovernor(opts *bind.TransactOpts, _governor common.Address) (*types.Transaction, error)

RemoveGovernor is a paid mutator transaction binding the contract method 0xeecdac88.

Solidity: function removeGovernor(address _governor) returns()

func (*AdminTransactor) RemoveGuard

func (_Admin *AdminTransactor) RemoveGuard(opts *bind.TransactOpts, _guard common.Address) (*types.Transaction, error)

RemoveGuard is a paid mutator transaction binding the contract method 0xb6235016.

Solidity: function removeGuard(address _guard) returns()

func (*AdminTransactor) RemoveRelayer

func (_Admin *AdminTransactor) RemoveRelayer(opts *bind.TransactOpts, _relayer common.Address) (*types.Transaction, error)

RemoveRelayer is a paid mutator transaction binding the contract method 0x60f0a5ac.

Solidity: function removeRelayer(address _relayer) returns()

func (*AdminTransactor) RenounceRole

func (_Admin *AdminTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, callerConfirmation common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address callerConfirmation) returns()

func (*AdminTransactor) RevokeRole

func (_Admin *AdminTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

func (*AdminTransactor) SetChainGasAmount

func (_Admin *AdminTransactor) SetChainGasAmount(opts *bind.TransactOpts, newChainGasAmount *big.Int) (*types.Transaction, error)

SetChainGasAmount is a paid mutator transaction binding the contract method 0xb250fe6b.

Solidity: function setChainGasAmount(uint256 newChainGasAmount) returns()

func (*AdminTransactor) SetProtocolFeeRate

func (_Admin *AdminTransactor) SetProtocolFeeRate(opts *bind.TransactOpts, newFeeRate *big.Int) (*types.Transaction, error)

SetProtocolFeeRate is a paid mutator transaction binding the contract method 0xb13aa2d6.

Solidity: function setProtocolFeeRate(uint256 newFeeRate) returns()

func (*AdminTransactor) SweepProtocolFees

func (_Admin *AdminTransactor) SweepProtocolFees(opts *bind.TransactOpts, token common.Address, recipient common.Address) (*types.Transaction, error)

SweepProtocolFees is a paid mutator transaction binding the contract method 0x06f333f2.

Solidity: function sweepProtocolFees(address token, address recipient) returns()

type AdminTransactorRaw

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

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

func (*AdminTransactorRaw) Transact

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

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

func (*AdminTransactorRaw) Transfer

func (_Admin *AdminTransactorRaw) 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 AdminTransactorSession

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

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

func (*AdminTransactorSession) AddGovernor

func (_Admin *AdminTransactorSession) AddGovernor(_governor common.Address) (*types.Transaction, error)

AddGovernor is a paid mutator transaction binding the contract method 0x3c4a25d0.

Solidity: function addGovernor(address _governor) returns()

func (*AdminTransactorSession) AddGuard

func (_Admin *AdminTransactorSession) AddGuard(_guard common.Address) (*types.Transaction, error)

AddGuard is a paid mutator transaction binding the contract method 0x6913a63c.

Solidity: function addGuard(address _guard) returns()

func (*AdminTransactorSession) AddRelayer

func (_Admin *AdminTransactorSession) AddRelayer(_relayer common.Address) (*types.Transaction, error)

AddRelayer is a paid mutator transaction binding the contract method 0xdd39f00d.

Solidity: function addRelayer(address _relayer) returns()

func (*AdminTransactorSession) GrantRole

func (_Admin *AdminTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*AdminTransactorSession) RemoveGovernor

func (_Admin *AdminTransactorSession) RemoveGovernor(_governor common.Address) (*types.Transaction, error)

RemoveGovernor is a paid mutator transaction binding the contract method 0xeecdac88.

Solidity: function removeGovernor(address _governor) returns()

func (*AdminTransactorSession) RemoveGuard

func (_Admin *AdminTransactorSession) RemoveGuard(_guard common.Address) (*types.Transaction, error)

RemoveGuard is a paid mutator transaction binding the contract method 0xb6235016.

Solidity: function removeGuard(address _guard) returns()

func (*AdminTransactorSession) RemoveRelayer

func (_Admin *AdminTransactorSession) RemoveRelayer(_relayer common.Address) (*types.Transaction, error)

RemoveRelayer is a paid mutator transaction binding the contract method 0x60f0a5ac.

Solidity: function removeRelayer(address _relayer) returns()

func (*AdminTransactorSession) RenounceRole

func (_Admin *AdminTransactorSession) RenounceRole(role [32]byte, callerConfirmation common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address callerConfirmation) returns()

func (*AdminTransactorSession) RevokeRole

func (_Admin *AdminTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

func (*AdminTransactorSession) SetChainGasAmount

func (_Admin *AdminTransactorSession) SetChainGasAmount(newChainGasAmount *big.Int) (*types.Transaction, error)

SetChainGasAmount is a paid mutator transaction binding the contract method 0xb250fe6b.

Solidity: function setChainGasAmount(uint256 newChainGasAmount) returns()

func (*AdminTransactorSession) SetProtocolFeeRate

func (_Admin *AdminTransactorSession) SetProtocolFeeRate(newFeeRate *big.Int) (*types.Transaction, error)

SetProtocolFeeRate is a paid mutator transaction binding the contract method 0xb13aa2d6.

Solidity: function setProtocolFeeRate(uint256 newFeeRate) returns()

func (*AdminTransactorSession) SweepProtocolFees

func (_Admin *AdminTransactorSession) SweepProtocolFees(token common.Address, recipient common.Address) (*types.Transaction, error)

SweepProtocolFees is a paid mutator transaction binding the contract method 0x06f333f2.

Solidity: function sweepProtocolFees(address token, address recipient) returns()

type Context

type Context struct {
	ContextCaller     // Read-only binding to the contract
	ContextTransactor // Write-only binding to the contract
	ContextFilterer   // Log filterer for contract events
}

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

func NewContext

func NewContext(address common.Address, backend bind.ContractBackend) (*Context, error)

NewContext creates a new instance of Context, bound to a specific deployed contract.

type ContextCaller

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

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

func NewContextCaller

func NewContextCaller(address common.Address, caller bind.ContractCaller) (*ContextCaller, error)

NewContextCaller creates a new read-only instance of Context, bound to a specific deployed contract.

type ContextCallerRaw

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

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

func (*ContextCallerRaw) Call

func (_Context *ContextCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

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

type ContextCallerSession

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

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

type ContextFilterer

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

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

func NewContextFilterer

func NewContextFilterer(address common.Address, filterer bind.ContractFilterer) (*ContextFilterer, error)

NewContextFilterer creates a new log filterer instance of Context, bound to a specific deployed contract.

type ContextRaw

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

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

func (*ContextRaw) Call

func (_Context *ContextRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

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

func (*ContextRaw) Transact

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

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

func (*ContextRaw) Transfer

func (_Context *ContextRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

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

type ContextSession

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

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

type ContextTransactor

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

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

func NewContextTransactor

func NewContextTransactor(address common.Address, transactor bind.ContractTransactor) (*ContextTransactor, error)

NewContextTransactor creates a new write-only instance of Context, bound to a specific deployed contract.

type ContextTransactorRaw

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

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

func (*ContextTransactorRaw) Transact

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

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

func (*ContextTransactorRaw) Transfer

func (_Context *ContextTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

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

type ContextTransactorSession

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

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

type ERC165

type ERC165 struct {
	ERC165Caller     // Read-only binding to the contract
	ERC165Transactor // Write-only binding to the contract
	ERC165Filterer   // Log filterer for contract events
}

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

func NewERC165

func NewERC165(address common.Address, backend bind.ContractBackend) (*ERC165, error)

NewERC165 creates a new instance of ERC165, bound to a specific deployed contract.

type ERC165Caller

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

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

func NewERC165Caller

func NewERC165Caller(address common.Address, caller bind.ContractCaller) (*ERC165Caller, error)

NewERC165Caller creates a new read-only instance of ERC165, bound to a specific deployed contract.

func (*ERC165Caller) SupportsInterface

func (_ERC165 *ERC165Caller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

type ERC165CallerRaw

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

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

func (*ERC165CallerRaw) Call

func (_ERC165 *ERC165CallerRaw) 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 ERC165CallerSession

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

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

func (*ERC165CallerSession) SupportsInterface

func (_ERC165 *ERC165CallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

type ERC165Filterer

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

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

func NewERC165Filterer

func NewERC165Filterer(address common.Address, filterer bind.ContractFilterer) (*ERC165Filterer, error)

NewERC165Filterer creates a new log filterer instance of ERC165, bound to a specific deployed contract.

type ERC165Raw

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

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

func (*ERC165Raw) Call

func (_ERC165 *ERC165Raw) 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 (*ERC165Raw) Transact

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

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

func (*ERC165Raw) Transfer

func (_ERC165 *ERC165Raw) 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 ERC165Session

type ERC165Session struct {
	Contract     *ERC165           // 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
}

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

func (*ERC165Session) SupportsInterface

func (_ERC165 *ERC165Session) SupportsInterface(interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

type ERC165Transactor

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

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

func NewERC165Transactor

func NewERC165Transactor(address common.Address, transactor bind.ContractTransactor) (*ERC165Transactor, error)

NewERC165Transactor creates a new write-only instance of ERC165, bound to a specific deployed contract.

type ERC165TransactorRaw

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

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

func (*ERC165TransactorRaw) Transact

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

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

func (*ERC165TransactorRaw) Transfer

func (_ERC165 *ERC165TransactorRaw) 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 ERC165TransactorSession

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

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

type FastBridge

type FastBridge struct {
	FastBridgeCaller     // Read-only binding to the contract
	FastBridgeTransactor // Write-only binding to the contract
	FastBridgeFilterer   // Log filterer for contract events
}

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

func DeployFastBridge

func DeployFastBridge(auth *bind.TransactOpts, backend bind.ContractBackend, _owner common.Address) (common.Address, *types.Transaction, *FastBridge, error)

DeployFastBridge deploys a new Ethereum contract, binding an instance of FastBridge to it.

func NewFastBridge

func NewFastBridge(address common.Address, backend bind.ContractBackend) (*FastBridge, error)

NewFastBridge creates a new instance of FastBridge, bound to a specific deployed contract.

type FastBridgeBridgeDepositClaimed

type FastBridgeBridgeDepositClaimed struct {
	TransactionId [32]byte
	Relayer       common.Address
	To            common.Address
	Token         common.Address
	Amount        *big.Int
	Raw           types.Log // Blockchain specific contextual infos
}

FastBridgeBridgeDepositClaimed represents a BridgeDepositClaimed event raised by the FastBridge contract.

type FastBridgeBridgeDepositClaimedIterator

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

FastBridgeBridgeDepositClaimedIterator is returned from FilterBridgeDepositClaimed and is used to iterate over the raw logs and unpacked data for BridgeDepositClaimed events raised by the FastBridge contract.

func (*FastBridgeBridgeDepositClaimedIterator) Close

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

func (*FastBridgeBridgeDepositClaimedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FastBridgeBridgeDepositClaimedIterator) 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 FastBridgeBridgeDepositRefunded

type FastBridgeBridgeDepositRefunded struct {
	TransactionId [32]byte
	To            common.Address
	Token         common.Address
	Amount        *big.Int
	Raw           types.Log // Blockchain specific contextual infos
}

FastBridgeBridgeDepositRefunded represents a BridgeDepositRefunded event raised by the FastBridge contract.

type FastBridgeBridgeDepositRefundedIterator

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

FastBridgeBridgeDepositRefundedIterator is returned from FilterBridgeDepositRefunded and is used to iterate over the raw logs and unpacked data for BridgeDepositRefunded events raised by the FastBridge contract.

func (*FastBridgeBridgeDepositRefundedIterator) Close

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

func (*FastBridgeBridgeDepositRefundedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FastBridgeBridgeDepositRefundedIterator) 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 FastBridgeBridgeProofDisputed

type FastBridgeBridgeProofDisputed struct {
	TransactionId [32]byte
	Relayer       common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

FastBridgeBridgeProofDisputed represents a BridgeProofDisputed event raised by the FastBridge contract.

type FastBridgeBridgeProofDisputedIterator

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

FastBridgeBridgeProofDisputedIterator is returned from FilterBridgeProofDisputed and is used to iterate over the raw logs and unpacked data for BridgeProofDisputed events raised by the FastBridge contract.

func (*FastBridgeBridgeProofDisputedIterator) Close

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

func (*FastBridgeBridgeProofDisputedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FastBridgeBridgeProofDisputedIterator) 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 FastBridgeBridgeProofProvided

type FastBridgeBridgeProofProvided struct {
	TransactionId   [32]byte
	Relayer         common.Address
	TransactionHash [32]byte
	Raw             types.Log // Blockchain specific contextual infos
}

FastBridgeBridgeProofProvided represents a BridgeProofProvided event raised by the FastBridge contract.

type FastBridgeBridgeProofProvidedIterator

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

FastBridgeBridgeProofProvidedIterator is returned from FilterBridgeProofProvided and is used to iterate over the raw logs and unpacked data for BridgeProofProvided events raised by the FastBridge contract.

func (*FastBridgeBridgeProofProvidedIterator) Close

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

func (*FastBridgeBridgeProofProvidedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FastBridgeBridgeProofProvidedIterator) 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 FastBridgeBridgeRelayed

type FastBridgeBridgeRelayed struct {
	TransactionId  [32]byte
	Relayer        common.Address
	To             common.Address
	OriginChainId  uint32
	OriginToken    common.Address
	DestToken      common.Address
	OriginAmount   *big.Int
	DestAmount     *big.Int
	ChainGasAmount *big.Int
	Raw            types.Log // Blockchain specific contextual infos
}

FastBridgeBridgeRelayed represents a BridgeRelayed event raised by the FastBridge contract.

type FastBridgeBridgeRelayedIterator

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

FastBridgeBridgeRelayedIterator is returned from FilterBridgeRelayed and is used to iterate over the raw logs and unpacked data for BridgeRelayed events raised by the FastBridge contract.

func (*FastBridgeBridgeRelayedIterator) Close

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

func (*FastBridgeBridgeRelayedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FastBridgeBridgeRelayedIterator) 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 FastBridgeBridgeRequested

type FastBridgeBridgeRequested struct {
	TransactionId [32]byte
	Sender        common.Address
	Request       []byte
	DestChainId   uint32
	OriginToken   common.Address
	DestToken     common.Address
	OriginAmount  *big.Int
	DestAmount    *big.Int
	SendChainGas  bool
	Raw           types.Log // Blockchain specific contextual infos
}

FastBridgeBridgeRequested represents a BridgeRequested event raised by the FastBridge contract.

type FastBridgeBridgeRequestedIterator

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

FastBridgeBridgeRequestedIterator is returned from FilterBridgeRequested and is used to iterate over the raw logs and unpacked data for BridgeRequested events raised by the FastBridge contract.

func (*FastBridgeBridgeRequestedIterator) Close

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

func (*FastBridgeBridgeRequestedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FastBridgeBridgeRequestedIterator) 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 FastBridgeCaller

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

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

func NewFastBridgeCaller

func NewFastBridgeCaller(address common.Address, caller bind.ContractCaller) (*FastBridgeCaller, error)

NewFastBridgeCaller creates a new read-only instance of FastBridge, bound to a specific deployed contract.

func (*FastBridgeCaller) BridgeProofs

func (_FastBridge *FastBridgeCaller) BridgeProofs(opts *bind.CallOpts, arg0 [32]byte) (struct {
	Timestamp *big.Int
	Relayer   common.Address
}, error)

BridgeProofs is a free data retrieval call binding the contract method 0x91ad5039.

Solidity: function bridgeProofs(bytes32 ) view returns(uint96 timestamp, address relayer)

func (*FastBridgeCaller) BridgeRelays

func (_FastBridge *FastBridgeCaller) BridgeRelays(opts *bind.CallOpts, arg0 [32]byte) (bool, error)

BridgeRelays is a free data retrieval call binding the contract method 0x8379a24f.

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

func (*FastBridgeCaller) BridgeStatuses

func (_FastBridge *FastBridgeCaller) BridgeStatuses(opts *bind.CallOpts, arg0 [32]byte) (uint8, error)

BridgeStatuses is a free data retrieval call binding the contract method 0x051287bc.

Solidity: function bridgeStatuses(bytes32 ) view returns(uint8)

func (*FastBridgeCaller) CanClaim

func (_FastBridge *FastBridgeCaller) CanClaim(opts *bind.CallOpts, transactionId [32]byte, relayer common.Address) (bool, error)

CanClaim is a free data retrieval call binding the contract method 0xaa9641ab.

Solidity: function canClaim(bytes32 transactionId, address relayer) view returns(bool)

func (*FastBridgeCaller) ChainGasAmount

func (_FastBridge *FastBridgeCaller) ChainGasAmount(opts *bind.CallOpts) (*big.Int, error)

ChainGasAmount is a free data retrieval call binding the contract method 0xe00a83e0.

Solidity: function chainGasAmount() view returns(uint256)

func (*FastBridgeCaller) DEFAULTADMINROLE

func (_FastBridge *FastBridgeCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*FastBridgeCaller) DISPUTEPERIOD

func (_FastBridge *FastBridgeCaller) DISPUTEPERIOD(opts *bind.CallOpts) (*big.Int, error)

DISPUTEPERIOD is a free data retrieval call binding the contract method 0xa5bbe22b.

Solidity: function DISPUTE_PERIOD() view returns(uint256)

func (*FastBridgeCaller) DeployBlock

func (_FastBridge *FastBridgeCaller) DeployBlock(opts *bind.CallOpts) (*big.Int, error)

DeployBlock is a free data retrieval call binding the contract method 0xa3ec191a.

Solidity: function deployBlock() view returns(uint256)

func (*FastBridgeCaller) FEEBPS

func (_FastBridge *FastBridgeCaller) FEEBPS(opts *bind.CallOpts) (*big.Int, error)

FEEBPS is a free data retrieval call binding the contract method 0xbf333f2c.

Solidity: function FEE_BPS() view returns(uint256)

func (*FastBridgeCaller) FEERATEMAX

func (_FastBridge *FastBridgeCaller) FEERATEMAX(opts *bind.CallOpts) (*big.Int, error)

FEERATEMAX is a free data retrieval call binding the contract method 0x0f5f6ed7.

Solidity: function FEE_RATE_MAX() view returns(uint256)

func (*FastBridgeCaller) GOVERNORROLE

func (_FastBridge *FastBridgeCaller) GOVERNORROLE(opts *bind.CallOpts) ([32]byte, error)

GOVERNORROLE is a free data retrieval call binding the contract method 0xccc57490.

Solidity: function GOVERNOR_ROLE() view returns(bytes32)

func (*FastBridgeCaller) GUARDROLE

func (_FastBridge *FastBridgeCaller) GUARDROLE(opts *bind.CallOpts) ([32]byte, error)

GUARDROLE is a free data retrieval call binding the contract method 0x03ed0ee5.

Solidity: function GUARD_ROLE() view returns(bytes32)

func (*FastBridgeCaller) GetBridgeTransaction

func (_FastBridge *FastBridgeCaller) GetBridgeTransaction(opts *bind.CallOpts, request []byte) (IFastBridgeBridgeTransaction, error)

GetBridgeTransaction is a free data retrieval call binding the contract method 0xac11fb1a.

Solidity: function getBridgeTransaction(bytes request) pure returns((uint32,uint32,address,address,address,address,uint256,uint256,uint256,bool,uint256,uint256))

func (*FastBridgeCaller) GetRoleAdmin

func (_FastBridge *FastBridgeCaller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*FastBridgeCaller) HasRole

func (_FastBridge *FastBridgeCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*FastBridgeCaller) MINDEADLINEPERIOD

func (_FastBridge *FastBridgeCaller) MINDEADLINEPERIOD(opts *bind.CallOpts) (*big.Int, error)

MINDEADLINEPERIOD is a free data retrieval call binding the contract method 0x820688d5.

Solidity: function MIN_DEADLINE_PERIOD() view returns(uint256)

func (*FastBridgeCaller) Nonce

func (_FastBridge *FastBridgeCaller) Nonce(opts *bind.CallOpts) (*big.Int, error)

Nonce is a free data retrieval call binding the contract method 0xaffed0e0.

Solidity: function nonce() view returns(uint256)

func (*FastBridgeCaller) PROVEPERIOD added in v0.0.24

func (_FastBridge *FastBridgeCaller) PROVEPERIOD(opts *bind.CallOpts) (*big.Int, error)

PROVEPERIOD is a free data retrieval call binding the contract method 0xd3cbc760.

Solidity: function PROVE_PERIOD() view returns(uint256)

func (*FastBridgeCaller) ProtocolFeeRate

func (_FastBridge *FastBridgeCaller) ProtocolFeeRate(opts *bind.CallOpts) (*big.Int, error)

ProtocolFeeRate is a free data retrieval call binding the contract method 0x58f85880.

Solidity: function protocolFeeRate() view returns(uint256)

func (*FastBridgeCaller) ProtocolFees

func (_FastBridge *FastBridgeCaller) ProtocolFees(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

ProtocolFees is a free data retrieval call binding the contract method 0xdcf844a7.

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

func (*FastBridgeCaller) RELAYERROLE

func (_FastBridge *FastBridgeCaller) RELAYERROLE(opts *bind.CallOpts) ([32]byte, error)

RELAYERROLE is a free data retrieval call binding the contract method 0x926d7d7f.

Solidity: function RELAYER_ROLE() view returns(bytes32)

func (*FastBridgeCaller) SupportsInterface

func (_FastBridge *FastBridgeCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

type FastBridgeCallerRaw

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

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

func (*FastBridgeCallerRaw) Call

func (_FastBridge *FastBridgeCallerRaw) 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 FastBridgeCallerSession

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

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

func (*FastBridgeCallerSession) BridgeProofs

func (_FastBridge *FastBridgeCallerSession) BridgeProofs(arg0 [32]byte) (struct {
	Timestamp *big.Int
	Relayer   common.Address
}, error)

BridgeProofs is a free data retrieval call binding the contract method 0x91ad5039.

Solidity: function bridgeProofs(bytes32 ) view returns(uint96 timestamp, address relayer)

func (*FastBridgeCallerSession) BridgeRelays

func (_FastBridge *FastBridgeCallerSession) BridgeRelays(arg0 [32]byte) (bool, error)

BridgeRelays is a free data retrieval call binding the contract method 0x8379a24f.

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

func (*FastBridgeCallerSession) BridgeStatuses

func (_FastBridge *FastBridgeCallerSession) BridgeStatuses(arg0 [32]byte) (uint8, error)

BridgeStatuses is a free data retrieval call binding the contract method 0x051287bc.

Solidity: function bridgeStatuses(bytes32 ) view returns(uint8)

func (*FastBridgeCallerSession) CanClaim

func (_FastBridge *FastBridgeCallerSession) CanClaim(transactionId [32]byte, relayer common.Address) (bool, error)

CanClaim is a free data retrieval call binding the contract method 0xaa9641ab.

Solidity: function canClaim(bytes32 transactionId, address relayer) view returns(bool)

func (*FastBridgeCallerSession) ChainGasAmount

func (_FastBridge *FastBridgeCallerSession) ChainGasAmount() (*big.Int, error)

ChainGasAmount is a free data retrieval call binding the contract method 0xe00a83e0.

Solidity: function chainGasAmount() view returns(uint256)

func (*FastBridgeCallerSession) DEFAULTADMINROLE

func (_FastBridge *FastBridgeCallerSession) DEFAULTADMINROLE() ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*FastBridgeCallerSession) DISPUTEPERIOD

func (_FastBridge *FastBridgeCallerSession) DISPUTEPERIOD() (*big.Int, error)

DISPUTEPERIOD is a free data retrieval call binding the contract method 0xa5bbe22b.

Solidity: function DISPUTE_PERIOD() view returns(uint256)

func (*FastBridgeCallerSession) DeployBlock

func (_FastBridge *FastBridgeCallerSession) DeployBlock() (*big.Int, error)

DeployBlock is a free data retrieval call binding the contract method 0xa3ec191a.

Solidity: function deployBlock() view returns(uint256)

func (*FastBridgeCallerSession) FEEBPS

func (_FastBridge *FastBridgeCallerSession) FEEBPS() (*big.Int, error)

FEEBPS is a free data retrieval call binding the contract method 0xbf333f2c.

Solidity: function FEE_BPS() view returns(uint256)

func (*FastBridgeCallerSession) FEERATEMAX

func (_FastBridge *FastBridgeCallerSession) FEERATEMAX() (*big.Int, error)

FEERATEMAX is a free data retrieval call binding the contract method 0x0f5f6ed7.

Solidity: function FEE_RATE_MAX() view returns(uint256)

func (*FastBridgeCallerSession) GOVERNORROLE

func (_FastBridge *FastBridgeCallerSession) GOVERNORROLE() ([32]byte, error)

GOVERNORROLE is a free data retrieval call binding the contract method 0xccc57490.

Solidity: function GOVERNOR_ROLE() view returns(bytes32)

func (*FastBridgeCallerSession) GUARDROLE

func (_FastBridge *FastBridgeCallerSession) GUARDROLE() ([32]byte, error)

GUARDROLE is a free data retrieval call binding the contract method 0x03ed0ee5.

Solidity: function GUARD_ROLE() view returns(bytes32)

func (*FastBridgeCallerSession) GetBridgeTransaction

func (_FastBridge *FastBridgeCallerSession) GetBridgeTransaction(request []byte) (IFastBridgeBridgeTransaction, error)

GetBridgeTransaction is a free data retrieval call binding the contract method 0xac11fb1a.

Solidity: function getBridgeTransaction(bytes request) pure returns((uint32,uint32,address,address,address,address,uint256,uint256,uint256,bool,uint256,uint256))

func (*FastBridgeCallerSession) GetRoleAdmin

func (_FastBridge *FastBridgeCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*FastBridgeCallerSession) HasRole

func (_FastBridge *FastBridgeCallerSession) HasRole(role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*FastBridgeCallerSession) MINDEADLINEPERIOD

func (_FastBridge *FastBridgeCallerSession) MINDEADLINEPERIOD() (*big.Int, error)

MINDEADLINEPERIOD is a free data retrieval call binding the contract method 0x820688d5.

Solidity: function MIN_DEADLINE_PERIOD() view returns(uint256)

func (*FastBridgeCallerSession) Nonce

func (_FastBridge *FastBridgeCallerSession) Nonce() (*big.Int, error)

Nonce is a free data retrieval call binding the contract method 0xaffed0e0.

Solidity: function nonce() view returns(uint256)

func (*FastBridgeCallerSession) PROVEPERIOD added in v0.0.24

func (_FastBridge *FastBridgeCallerSession) PROVEPERIOD() (*big.Int, error)

PROVEPERIOD is a free data retrieval call binding the contract method 0xd3cbc760.

Solidity: function PROVE_PERIOD() view returns(uint256)

func (*FastBridgeCallerSession) ProtocolFeeRate

func (_FastBridge *FastBridgeCallerSession) ProtocolFeeRate() (*big.Int, error)

ProtocolFeeRate is a free data retrieval call binding the contract method 0x58f85880.

Solidity: function protocolFeeRate() view returns(uint256)

func (*FastBridgeCallerSession) ProtocolFees

func (_FastBridge *FastBridgeCallerSession) ProtocolFees(arg0 common.Address) (*big.Int, error)

ProtocolFees is a free data retrieval call binding the contract method 0xdcf844a7.

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

func (*FastBridgeCallerSession) RELAYERROLE

func (_FastBridge *FastBridgeCallerSession) RELAYERROLE() ([32]byte, error)

RELAYERROLE is a free data retrieval call binding the contract method 0x926d7d7f.

Solidity: function RELAYER_ROLE() view returns(bytes32)

func (*FastBridgeCallerSession) SupportsInterface

func (_FastBridge *FastBridgeCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

type FastBridgeChainGasAmountUpdated

type FastBridgeChainGasAmountUpdated struct {
	OldChainGasAmount *big.Int
	NewChainGasAmount *big.Int
	Raw               types.Log // Blockchain specific contextual infos
}

FastBridgeChainGasAmountUpdated represents a ChainGasAmountUpdated event raised by the FastBridge contract.

type FastBridgeChainGasAmountUpdatedIterator

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

FastBridgeChainGasAmountUpdatedIterator is returned from FilterChainGasAmountUpdated and is used to iterate over the raw logs and unpacked data for ChainGasAmountUpdated events raised by the FastBridge contract.

func (*FastBridgeChainGasAmountUpdatedIterator) Close

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

func (*FastBridgeChainGasAmountUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FastBridgeChainGasAmountUpdatedIterator) 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 FastBridgeFeeRateUpdated

type FastBridgeFeeRateUpdated struct {
	OldFeeRate *big.Int
	NewFeeRate *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

FastBridgeFeeRateUpdated represents a FeeRateUpdated event raised by the FastBridge contract.

type FastBridgeFeeRateUpdatedIterator

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

FastBridgeFeeRateUpdatedIterator is returned from FilterFeeRateUpdated and is used to iterate over the raw logs and unpacked data for FeeRateUpdated events raised by the FastBridge contract.

func (*FastBridgeFeeRateUpdatedIterator) Close

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

func (*FastBridgeFeeRateUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FastBridgeFeeRateUpdatedIterator) 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 FastBridgeFeesSwept

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

FastBridgeFeesSwept represents a FeesSwept event raised by the FastBridge contract.

type FastBridgeFeesSweptIterator

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

FastBridgeFeesSweptIterator is returned from FilterFeesSwept and is used to iterate over the raw logs and unpacked data for FeesSwept events raised by the FastBridge contract.

func (*FastBridgeFeesSweptIterator) Close

func (it *FastBridgeFeesSweptIterator) Close() error

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

func (*FastBridgeFeesSweptIterator) Error

func (it *FastBridgeFeesSweptIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*FastBridgeFeesSweptIterator) Next

func (it *FastBridgeFeesSweptIterator) 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 FastBridgeFilterer

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

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

func NewFastBridgeFilterer

func NewFastBridgeFilterer(address common.Address, filterer bind.ContractFilterer) (*FastBridgeFilterer, error)

NewFastBridgeFilterer creates a new log filterer instance of FastBridge, bound to a specific deployed contract.

func (*FastBridgeFilterer) FilterBridgeDepositClaimed

func (_FastBridge *FastBridgeFilterer) FilterBridgeDepositClaimed(opts *bind.FilterOpts, transactionId [][32]byte, relayer []common.Address, to []common.Address) (*FastBridgeBridgeDepositClaimedIterator, error)

FilterBridgeDepositClaimed is a free log retrieval operation binding the contract event 0x582211c35a2139ac3bbaac74663c6a1f56c6cbb658b41fe11fd45a82074ac678.

Solidity: event BridgeDepositClaimed(bytes32 indexed transactionId, address indexed relayer, address indexed to, address token, uint256 amount)

func (*FastBridgeFilterer) FilterBridgeDepositRefunded

func (_FastBridge *FastBridgeFilterer) FilterBridgeDepositRefunded(opts *bind.FilterOpts, transactionId [][32]byte, to []common.Address) (*FastBridgeBridgeDepositRefundedIterator, error)

FilterBridgeDepositRefunded is a free log retrieval operation binding the contract event 0xb4c55c0c9bc613519b920e88748090150b890a875d307f21bea7d4fb2e8bc958.

Solidity: event BridgeDepositRefunded(bytes32 indexed transactionId, address indexed to, address token, uint256 amount)

func (*FastBridgeFilterer) FilterBridgeProofDisputed

func (_FastBridge *FastBridgeFilterer) FilterBridgeProofDisputed(opts *bind.FilterOpts, transactionId [][32]byte, relayer []common.Address) (*FastBridgeBridgeProofDisputedIterator, error)

FilterBridgeProofDisputed is a free log retrieval operation binding the contract event 0x0695cf1d39b3055dcd0fe02d8b47eaf0d5a13e1996de925de59d0ef9b7f7fad4.

Solidity: event BridgeProofDisputed(bytes32 indexed transactionId, address indexed relayer)

func (*FastBridgeFilterer) FilterBridgeProofProvided

func (_FastBridge *FastBridgeFilterer) FilterBridgeProofProvided(opts *bind.FilterOpts, transactionId [][32]byte, relayer []common.Address) (*FastBridgeBridgeProofProvidedIterator, error)

FilterBridgeProofProvided is a free log retrieval operation binding the contract event 0x4ac8af8a2cd87193d64dfc7a3b8d9923b714ec528b18725d080aa1299be0c5e4.

Solidity: event BridgeProofProvided(bytes32 indexed transactionId, address indexed relayer, bytes32 transactionHash)

func (*FastBridgeFilterer) FilterBridgeRelayed

func (_FastBridge *FastBridgeFilterer) FilterBridgeRelayed(opts *bind.FilterOpts, transactionId [][32]byte, relayer []common.Address, to []common.Address) (*FastBridgeBridgeRelayedIterator, error)

FilterBridgeRelayed is a free log retrieval operation binding the contract event 0xf8ae392d784b1ea5e8881bfa586d81abf07ef4f1e2fc75f7fe51c90f05199a5c.

Solidity: event BridgeRelayed(bytes32 indexed transactionId, address indexed relayer, address indexed to, uint32 originChainId, address originToken, address destToken, uint256 originAmount, uint256 destAmount, uint256 chainGasAmount)

func (*FastBridgeFilterer) FilterBridgeRequested

func (_FastBridge *FastBridgeFilterer) FilterBridgeRequested(opts *bind.FilterOpts, transactionId [][32]byte, sender []common.Address) (*FastBridgeBridgeRequestedIterator, error)

FilterBridgeRequested is a free log retrieval operation binding the contract event 0x120ea0364f36cdac7983bcfdd55270ca09d7f9b314a2ebc425a3b01ab1d6403a.

Solidity: event BridgeRequested(bytes32 indexed transactionId, address indexed sender, bytes request, uint32 destChainId, address originToken, address destToken, uint256 originAmount, uint256 destAmount, bool sendChainGas)

func (*FastBridgeFilterer) FilterChainGasAmountUpdated

func (_FastBridge *FastBridgeFilterer) FilterChainGasAmountUpdated(opts *bind.FilterOpts) (*FastBridgeChainGasAmountUpdatedIterator, error)

FilterChainGasAmountUpdated is a free log retrieval operation binding the contract event 0x5cf09b12f3f56b4c564d51b25b40360af6d795198adb61ae0806a36c294323fa.

Solidity: event ChainGasAmountUpdated(uint256 oldChainGasAmount, uint256 newChainGasAmount)

func (*FastBridgeFilterer) FilterFeeRateUpdated

func (_FastBridge *FastBridgeFilterer) FilterFeeRateUpdated(opts *bind.FilterOpts) (*FastBridgeFeeRateUpdatedIterator, error)

FilterFeeRateUpdated is a free log retrieval operation binding the contract event 0x14914da2bf76024616fbe1859783fcd4dbddcb179b1f3a854949fbf920dcb957.

Solidity: event FeeRateUpdated(uint256 oldFeeRate, uint256 newFeeRate)

func (*FastBridgeFilterer) FilterFeesSwept

func (_FastBridge *FastBridgeFilterer) FilterFeesSwept(opts *bind.FilterOpts) (*FastBridgeFeesSweptIterator, error)

FilterFeesSwept is a free log retrieval operation binding the contract event 0x244e51bc38c1452fa8aaf487bcb4bca36c2baa3a5fbdb776b1eabd8dc6d277cd.

Solidity: event FeesSwept(address token, address recipient, uint256 amount)

func (*FastBridgeFilterer) FilterGovernorAdded

func (_FastBridge *FastBridgeFilterer) FilterGovernorAdded(opts *bind.FilterOpts) (*FastBridgeGovernorAddedIterator, error)

FilterGovernorAdded is a free log retrieval operation binding the contract event 0xdc5a48d79e2e147530ff63ecdbed5a5a66adb9d5cf339384d5d076da197c40b5.

Solidity: event GovernorAdded(address governor)

func (*FastBridgeFilterer) FilterGovernorRemoved

func (_FastBridge *FastBridgeFilterer) FilterGovernorRemoved(opts *bind.FilterOpts) (*FastBridgeGovernorRemovedIterator, error)

FilterGovernorRemoved is a free log retrieval operation binding the contract event 0x1ebe834e73d60a5fec822c1e1727d34bc79f2ad977ed504581cc1822fe20fb5b.

Solidity: event GovernorRemoved(address governor)

func (*FastBridgeFilterer) FilterGuardAdded

func (_FastBridge *FastBridgeFilterer) FilterGuardAdded(opts *bind.FilterOpts) (*FastBridgeGuardAddedIterator, error)

FilterGuardAdded is a free log retrieval operation binding the contract event 0x93405f05cd04f0d1bd875f2de00f1f3890484ffd0589248953bdfd29ba7f2f59.

Solidity: event GuardAdded(address guard)

func (*FastBridgeFilterer) FilterGuardRemoved

func (_FastBridge *FastBridgeFilterer) FilterGuardRemoved(opts *bind.FilterOpts) (*FastBridgeGuardRemovedIterator, error)

FilterGuardRemoved is a free log retrieval operation binding the contract event 0x59926e0a78d12238b668b31c8e3f6ece235a59a00ede111d883e255b68c4d048.

Solidity: event GuardRemoved(address guard)

func (*FastBridgeFilterer) FilterRelayerAdded

func (_FastBridge *FastBridgeFilterer) FilterRelayerAdded(opts *bind.FilterOpts) (*FastBridgeRelayerAddedIterator, error)

FilterRelayerAdded is a free log retrieval operation binding the contract event 0x03580ee9f53a62b7cb409a2cb56f9be87747dd15017afc5cef6eef321e4fb2c5.

Solidity: event RelayerAdded(address relayer)

func (*FastBridgeFilterer) FilterRelayerRemoved

func (_FastBridge *FastBridgeFilterer) FilterRelayerRemoved(opts *bind.FilterOpts) (*FastBridgeRelayerRemovedIterator, error)

FilterRelayerRemoved is a free log retrieval operation binding the contract event 0x10e1f7ce9fd7d1b90a66d13a2ab3cb8dd7f29f3f8d520b143b063ccfbab6906b.

Solidity: event RelayerRemoved(address relayer)

func (*FastBridgeFilterer) FilterRoleAdminChanged

func (_FastBridge *FastBridgeFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (*FastBridgeRoleAdminChangedIterator, error)

FilterRoleAdminChanged is a free log retrieval operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*FastBridgeFilterer) FilterRoleGranted

func (_FastBridge *FastBridgeFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*FastBridgeRoleGrantedIterator, error)

FilterRoleGranted is a free log retrieval operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*FastBridgeFilterer) FilterRoleRevoked

func (_FastBridge *FastBridgeFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*FastBridgeRoleRevokedIterator, error)

FilterRoleRevoked is a free log retrieval operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*FastBridgeFilterer) ParseBridgeDepositClaimed

func (_FastBridge *FastBridgeFilterer) ParseBridgeDepositClaimed(log types.Log) (*FastBridgeBridgeDepositClaimed, error)

ParseBridgeDepositClaimed is a log parse operation binding the contract event 0x582211c35a2139ac3bbaac74663c6a1f56c6cbb658b41fe11fd45a82074ac678.

Solidity: event BridgeDepositClaimed(bytes32 indexed transactionId, address indexed relayer, address indexed to, address token, uint256 amount)

func (*FastBridgeFilterer) ParseBridgeDepositRefunded

func (_FastBridge *FastBridgeFilterer) ParseBridgeDepositRefunded(log types.Log) (*FastBridgeBridgeDepositRefunded, error)

ParseBridgeDepositRefunded is a log parse operation binding the contract event 0xb4c55c0c9bc613519b920e88748090150b890a875d307f21bea7d4fb2e8bc958.

Solidity: event BridgeDepositRefunded(bytes32 indexed transactionId, address indexed to, address token, uint256 amount)

func (*FastBridgeFilterer) ParseBridgeProofDisputed

func (_FastBridge *FastBridgeFilterer) ParseBridgeProofDisputed(log types.Log) (*FastBridgeBridgeProofDisputed, error)

ParseBridgeProofDisputed is a log parse operation binding the contract event 0x0695cf1d39b3055dcd0fe02d8b47eaf0d5a13e1996de925de59d0ef9b7f7fad4.

Solidity: event BridgeProofDisputed(bytes32 indexed transactionId, address indexed relayer)

func (*FastBridgeFilterer) ParseBridgeProofProvided

func (_FastBridge *FastBridgeFilterer) ParseBridgeProofProvided(log types.Log) (*FastBridgeBridgeProofProvided, error)

ParseBridgeProofProvided is a log parse operation binding the contract event 0x4ac8af8a2cd87193d64dfc7a3b8d9923b714ec528b18725d080aa1299be0c5e4.

Solidity: event BridgeProofProvided(bytes32 indexed transactionId, address indexed relayer, bytes32 transactionHash)

func (*FastBridgeFilterer) ParseBridgeRelayed

func (_FastBridge *FastBridgeFilterer) ParseBridgeRelayed(log types.Log) (*FastBridgeBridgeRelayed, error)

ParseBridgeRelayed is a log parse operation binding the contract event 0xf8ae392d784b1ea5e8881bfa586d81abf07ef4f1e2fc75f7fe51c90f05199a5c.

Solidity: event BridgeRelayed(bytes32 indexed transactionId, address indexed relayer, address indexed to, uint32 originChainId, address originToken, address destToken, uint256 originAmount, uint256 destAmount, uint256 chainGasAmount)

func (*FastBridgeFilterer) ParseBridgeRequested

func (_FastBridge *FastBridgeFilterer) ParseBridgeRequested(log types.Log) (*FastBridgeBridgeRequested, error)

ParseBridgeRequested is a log parse operation binding the contract event 0x120ea0364f36cdac7983bcfdd55270ca09d7f9b314a2ebc425a3b01ab1d6403a.

Solidity: event BridgeRequested(bytes32 indexed transactionId, address indexed sender, bytes request, uint32 destChainId, address originToken, address destToken, uint256 originAmount, uint256 destAmount, bool sendChainGas)

func (*FastBridgeFilterer) ParseChainGasAmountUpdated

func (_FastBridge *FastBridgeFilterer) ParseChainGasAmountUpdated(log types.Log) (*FastBridgeChainGasAmountUpdated, error)

ParseChainGasAmountUpdated is a log parse operation binding the contract event 0x5cf09b12f3f56b4c564d51b25b40360af6d795198adb61ae0806a36c294323fa.

Solidity: event ChainGasAmountUpdated(uint256 oldChainGasAmount, uint256 newChainGasAmount)

func (*FastBridgeFilterer) ParseFeeRateUpdated

func (_FastBridge *FastBridgeFilterer) ParseFeeRateUpdated(log types.Log) (*FastBridgeFeeRateUpdated, error)

ParseFeeRateUpdated is a log parse operation binding the contract event 0x14914da2bf76024616fbe1859783fcd4dbddcb179b1f3a854949fbf920dcb957.

Solidity: event FeeRateUpdated(uint256 oldFeeRate, uint256 newFeeRate)

func (*FastBridgeFilterer) ParseFeesSwept

func (_FastBridge *FastBridgeFilterer) ParseFeesSwept(log types.Log) (*FastBridgeFeesSwept, error)

ParseFeesSwept is a log parse operation binding the contract event 0x244e51bc38c1452fa8aaf487bcb4bca36c2baa3a5fbdb776b1eabd8dc6d277cd.

Solidity: event FeesSwept(address token, address recipient, uint256 amount)

func (*FastBridgeFilterer) ParseGovernorAdded

func (_FastBridge *FastBridgeFilterer) ParseGovernorAdded(log types.Log) (*FastBridgeGovernorAdded, error)

ParseGovernorAdded is a log parse operation binding the contract event 0xdc5a48d79e2e147530ff63ecdbed5a5a66adb9d5cf339384d5d076da197c40b5.

Solidity: event GovernorAdded(address governor)

func (*FastBridgeFilterer) ParseGovernorRemoved

func (_FastBridge *FastBridgeFilterer) ParseGovernorRemoved(log types.Log) (*FastBridgeGovernorRemoved, error)

ParseGovernorRemoved is a log parse operation binding the contract event 0x1ebe834e73d60a5fec822c1e1727d34bc79f2ad977ed504581cc1822fe20fb5b.

Solidity: event GovernorRemoved(address governor)

func (*FastBridgeFilterer) ParseGuardAdded

func (_FastBridge *FastBridgeFilterer) ParseGuardAdded(log types.Log) (*FastBridgeGuardAdded, error)

ParseGuardAdded is a log parse operation binding the contract event 0x93405f05cd04f0d1bd875f2de00f1f3890484ffd0589248953bdfd29ba7f2f59.

Solidity: event GuardAdded(address guard)

func (*FastBridgeFilterer) ParseGuardRemoved

func (_FastBridge *FastBridgeFilterer) ParseGuardRemoved(log types.Log) (*FastBridgeGuardRemoved, error)

ParseGuardRemoved is a log parse operation binding the contract event 0x59926e0a78d12238b668b31c8e3f6ece235a59a00ede111d883e255b68c4d048.

Solidity: event GuardRemoved(address guard)

func (*FastBridgeFilterer) ParseRelayerAdded

func (_FastBridge *FastBridgeFilterer) ParseRelayerAdded(log types.Log) (*FastBridgeRelayerAdded, error)

ParseRelayerAdded is a log parse operation binding the contract event 0x03580ee9f53a62b7cb409a2cb56f9be87747dd15017afc5cef6eef321e4fb2c5.

Solidity: event RelayerAdded(address relayer)

func (*FastBridgeFilterer) ParseRelayerRemoved

func (_FastBridge *FastBridgeFilterer) ParseRelayerRemoved(log types.Log) (*FastBridgeRelayerRemoved, error)

ParseRelayerRemoved is a log parse operation binding the contract event 0x10e1f7ce9fd7d1b90a66d13a2ab3cb8dd7f29f3f8d520b143b063ccfbab6906b.

Solidity: event RelayerRemoved(address relayer)

func (*FastBridgeFilterer) ParseRoleAdminChanged

func (_FastBridge *FastBridgeFilterer) ParseRoleAdminChanged(log types.Log) (*FastBridgeRoleAdminChanged, error)

ParseRoleAdminChanged is a log parse operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*FastBridgeFilterer) ParseRoleGranted

func (_FastBridge *FastBridgeFilterer) ParseRoleGranted(log types.Log) (*FastBridgeRoleGranted, error)

ParseRoleGranted is a log parse operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*FastBridgeFilterer) ParseRoleRevoked

func (_FastBridge *FastBridgeFilterer) ParseRoleRevoked(log types.Log) (*FastBridgeRoleRevoked, error)

ParseRoleRevoked is a log parse operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*FastBridgeFilterer) WatchBridgeDepositClaimed

func (_FastBridge *FastBridgeFilterer) WatchBridgeDepositClaimed(opts *bind.WatchOpts, sink chan<- *FastBridgeBridgeDepositClaimed, transactionId [][32]byte, relayer []common.Address, to []common.Address) (event.Subscription, error)

WatchBridgeDepositClaimed is a free log subscription operation binding the contract event 0x582211c35a2139ac3bbaac74663c6a1f56c6cbb658b41fe11fd45a82074ac678.

Solidity: event BridgeDepositClaimed(bytes32 indexed transactionId, address indexed relayer, address indexed to, address token, uint256 amount)

func (*FastBridgeFilterer) WatchBridgeDepositRefunded

func (_FastBridge *FastBridgeFilterer) WatchBridgeDepositRefunded(opts *bind.WatchOpts, sink chan<- *FastBridgeBridgeDepositRefunded, transactionId [][32]byte, to []common.Address) (event.Subscription, error)

WatchBridgeDepositRefunded is a free log subscription operation binding the contract event 0xb4c55c0c9bc613519b920e88748090150b890a875d307f21bea7d4fb2e8bc958.

Solidity: event BridgeDepositRefunded(bytes32 indexed transactionId, address indexed to, address token, uint256 amount)

func (*FastBridgeFilterer) WatchBridgeProofDisputed

func (_FastBridge *FastBridgeFilterer) WatchBridgeProofDisputed(opts *bind.WatchOpts, sink chan<- *FastBridgeBridgeProofDisputed, transactionId [][32]byte, relayer []common.Address) (event.Subscription, error)

WatchBridgeProofDisputed is a free log subscription operation binding the contract event 0x0695cf1d39b3055dcd0fe02d8b47eaf0d5a13e1996de925de59d0ef9b7f7fad4.

Solidity: event BridgeProofDisputed(bytes32 indexed transactionId, address indexed relayer)

func (*FastBridgeFilterer) WatchBridgeProofProvided

func (_FastBridge *FastBridgeFilterer) WatchBridgeProofProvided(opts *bind.WatchOpts, sink chan<- *FastBridgeBridgeProofProvided, transactionId [][32]byte, relayer []common.Address) (event.Subscription, error)

WatchBridgeProofProvided is a free log subscription operation binding the contract event 0x4ac8af8a2cd87193d64dfc7a3b8d9923b714ec528b18725d080aa1299be0c5e4.

Solidity: event BridgeProofProvided(bytes32 indexed transactionId, address indexed relayer, bytes32 transactionHash)

func (*FastBridgeFilterer) WatchBridgeRelayed

func (_FastBridge *FastBridgeFilterer) WatchBridgeRelayed(opts *bind.WatchOpts, sink chan<- *FastBridgeBridgeRelayed, transactionId [][32]byte, relayer []common.Address, to []common.Address) (event.Subscription, error)

WatchBridgeRelayed is a free log subscription operation binding the contract event 0xf8ae392d784b1ea5e8881bfa586d81abf07ef4f1e2fc75f7fe51c90f05199a5c.

Solidity: event BridgeRelayed(bytes32 indexed transactionId, address indexed relayer, address indexed to, uint32 originChainId, address originToken, address destToken, uint256 originAmount, uint256 destAmount, uint256 chainGasAmount)

func (*FastBridgeFilterer) WatchBridgeRequested

func (_FastBridge *FastBridgeFilterer) WatchBridgeRequested(opts *bind.WatchOpts, sink chan<- *FastBridgeBridgeRequested, transactionId [][32]byte, sender []common.Address) (event.Subscription, error)

WatchBridgeRequested is a free log subscription operation binding the contract event 0x120ea0364f36cdac7983bcfdd55270ca09d7f9b314a2ebc425a3b01ab1d6403a.

Solidity: event BridgeRequested(bytes32 indexed transactionId, address indexed sender, bytes request, uint32 destChainId, address originToken, address destToken, uint256 originAmount, uint256 destAmount, bool sendChainGas)

func (*FastBridgeFilterer) WatchChainGasAmountUpdated

func (_FastBridge *FastBridgeFilterer) WatchChainGasAmountUpdated(opts *bind.WatchOpts, sink chan<- *FastBridgeChainGasAmountUpdated) (event.Subscription, error)

WatchChainGasAmountUpdated is a free log subscription operation binding the contract event 0x5cf09b12f3f56b4c564d51b25b40360af6d795198adb61ae0806a36c294323fa.

Solidity: event ChainGasAmountUpdated(uint256 oldChainGasAmount, uint256 newChainGasAmount)

func (*FastBridgeFilterer) WatchFeeRateUpdated

func (_FastBridge *FastBridgeFilterer) WatchFeeRateUpdated(opts *bind.WatchOpts, sink chan<- *FastBridgeFeeRateUpdated) (event.Subscription, error)

WatchFeeRateUpdated is a free log subscription operation binding the contract event 0x14914da2bf76024616fbe1859783fcd4dbddcb179b1f3a854949fbf920dcb957.

Solidity: event FeeRateUpdated(uint256 oldFeeRate, uint256 newFeeRate)

func (*FastBridgeFilterer) WatchFeesSwept

func (_FastBridge *FastBridgeFilterer) WatchFeesSwept(opts *bind.WatchOpts, sink chan<- *FastBridgeFeesSwept) (event.Subscription, error)

WatchFeesSwept is a free log subscription operation binding the contract event 0x244e51bc38c1452fa8aaf487bcb4bca36c2baa3a5fbdb776b1eabd8dc6d277cd.

Solidity: event FeesSwept(address token, address recipient, uint256 amount)

func (*FastBridgeFilterer) WatchGovernorAdded

func (_FastBridge *FastBridgeFilterer) WatchGovernorAdded(opts *bind.WatchOpts, sink chan<- *FastBridgeGovernorAdded) (event.Subscription, error)

WatchGovernorAdded is a free log subscription operation binding the contract event 0xdc5a48d79e2e147530ff63ecdbed5a5a66adb9d5cf339384d5d076da197c40b5.

Solidity: event GovernorAdded(address governor)

func (*FastBridgeFilterer) WatchGovernorRemoved

func (_FastBridge *FastBridgeFilterer) WatchGovernorRemoved(opts *bind.WatchOpts, sink chan<- *FastBridgeGovernorRemoved) (event.Subscription, error)

WatchGovernorRemoved is a free log subscription operation binding the contract event 0x1ebe834e73d60a5fec822c1e1727d34bc79f2ad977ed504581cc1822fe20fb5b.

Solidity: event GovernorRemoved(address governor)

func (*FastBridgeFilterer) WatchGuardAdded

func (_FastBridge *FastBridgeFilterer) WatchGuardAdded(opts *bind.WatchOpts, sink chan<- *FastBridgeGuardAdded) (event.Subscription, error)

WatchGuardAdded is a free log subscription operation binding the contract event 0x93405f05cd04f0d1bd875f2de00f1f3890484ffd0589248953bdfd29ba7f2f59.

Solidity: event GuardAdded(address guard)

func (*FastBridgeFilterer) WatchGuardRemoved

func (_FastBridge *FastBridgeFilterer) WatchGuardRemoved(opts *bind.WatchOpts, sink chan<- *FastBridgeGuardRemoved) (event.Subscription, error)

WatchGuardRemoved is a free log subscription operation binding the contract event 0x59926e0a78d12238b668b31c8e3f6ece235a59a00ede111d883e255b68c4d048.

Solidity: event GuardRemoved(address guard)

func (*FastBridgeFilterer) WatchRelayerAdded

func (_FastBridge *FastBridgeFilterer) WatchRelayerAdded(opts *bind.WatchOpts, sink chan<- *FastBridgeRelayerAdded) (event.Subscription, error)

WatchRelayerAdded is a free log subscription operation binding the contract event 0x03580ee9f53a62b7cb409a2cb56f9be87747dd15017afc5cef6eef321e4fb2c5.

Solidity: event RelayerAdded(address relayer)

func (*FastBridgeFilterer) WatchRelayerRemoved

func (_FastBridge *FastBridgeFilterer) WatchRelayerRemoved(opts *bind.WatchOpts, sink chan<- *FastBridgeRelayerRemoved) (event.Subscription, error)

WatchRelayerRemoved is a free log subscription operation binding the contract event 0x10e1f7ce9fd7d1b90a66d13a2ab3cb8dd7f29f3f8d520b143b063ccfbab6906b.

Solidity: event RelayerRemoved(address relayer)

func (*FastBridgeFilterer) WatchRoleAdminChanged

func (_FastBridge *FastBridgeFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *FastBridgeRoleAdminChanged, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (event.Subscription, error)

WatchRoleAdminChanged is a free log subscription operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*FastBridgeFilterer) WatchRoleGranted

func (_FastBridge *FastBridgeFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *FastBridgeRoleGranted, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)

WatchRoleGranted is a free log subscription operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*FastBridgeFilterer) WatchRoleRevoked

func (_FastBridge *FastBridgeFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *FastBridgeRoleRevoked, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)

WatchRoleRevoked is a free log subscription operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

type FastBridgeGovernorAdded

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

FastBridgeGovernorAdded represents a GovernorAdded event raised by the FastBridge contract.

type FastBridgeGovernorAddedIterator

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

FastBridgeGovernorAddedIterator is returned from FilterGovernorAdded and is used to iterate over the raw logs and unpacked data for GovernorAdded events raised by the FastBridge contract.

func (*FastBridgeGovernorAddedIterator) Close

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

func (*FastBridgeGovernorAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FastBridgeGovernorAddedIterator) 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 FastBridgeGovernorRemoved

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

FastBridgeGovernorRemoved represents a GovernorRemoved event raised by the FastBridge contract.

type FastBridgeGovernorRemovedIterator

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

FastBridgeGovernorRemovedIterator is returned from FilterGovernorRemoved and is used to iterate over the raw logs and unpacked data for GovernorRemoved events raised by the FastBridge contract.

func (*FastBridgeGovernorRemovedIterator) Close

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

func (*FastBridgeGovernorRemovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FastBridgeGovernorRemovedIterator) 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 FastBridgeGuardAdded

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

FastBridgeGuardAdded represents a GuardAdded event raised by the FastBridge contract.

type FastBridgeGuardAddedIterator

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

FastBridgeGuardAddedIterator is returned from FilterGuardAdded and is used to iterate over the raw logs and unpacked data for GuardAdded events raised by the FastBridge contract.

func (*FastBridgeGuardAddedIterator) Close

func (it *FastBridgeGuardAddedIterator) Close() error

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

func (*FastBridgeGuardAddedIterator) Error

func (it *FastBridgeGuardAddedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*FastBridgeGuardAddedIterator) 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 FastBridgeGuardRemoved

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

FastBridgeGuardRemoved represents a GuardRemoved event raised by the FastBridge contract.

type FastBridgeGuardRemovedIterator

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

FastBridgeGuardRemovedIterator is returned from FilterGuardRemoved and is used to iterate over the raw logs and unpacked data for GuardRemoved events raised by the FastBridge contract.

func (*FastBridgeGuardRemovedIterator) Close

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

func (*FastBridgeGuardRemovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FastBridgeGuardRemovedIterator) 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 FastBridgeMock

type FastBridgeMock struct {
	FastBridgeMockCaller     // Read-only binding to the contract
	FastBridgeMockTransactor // Write-only binding to the contract
	FastBridgeMockFilterer   // Log filterer for contract events
}

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

func DeployFastBridgeMock

func DeployFastBridgeMock(auth *bind.TransactOpts, backend bind.ContractBackend, _owner common.Address) (common.Address, *types.Transaction, *FastBridgeMock, error)

DeployFastBridgeMock deploys a new Ethereum contract, binding an instance of FastBridgeMock to it.

func NewFastBridgeMock

func NewFastBridgeMock(address common.Address, backend bind.ContractBackend) (*FastBridgeMock, error)

NewFastBridgeMock creates a new instance of FastBridgeMock, bound to a specific deployed contract.

type FastBridgeMockBridgeDepositClaimed

type FastBridgeMockBridgeDepositClaimed struct {
	TransactionId [32]byte
	Relayer       common.Address
	To            common.Address
	Token         common.Address
	Amount        *big.Int
	Raw           types.Log // Blockchain specific contextual infos
}

FastBridgeMockBridgeDepositClaimed represents a BridgeDepositClaimed event raised by the FastBridgeMock contract.

type FastBridgeMockBridgeDepositClaimedIterator

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

FastBridgeMockBridgeDepositClaimedIterator is returned from FilterBridgeDepositClaimed and is used to iterate over the raw logs and unpacked data for BridgeDepositClaimed events raised by the FastBridgeMock contract.

func (*FastBridgeMockBridgeDepositClaimedIterator) Close

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

func (*FastBridgeMockBridgeDepositClaimedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FastBridgeMockBridgeDepositClaimedIterator) 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 FastBridgeMockBridgeDepositRefunded

type FastBridgeMockBridgeDepositRefunded struct {
	TransactionId [32]byte
	To            common.Address
	Token         common.Address
	Amount        *big.Int
	Raw           types.Log // Blockchain specific contextual infos
}

FastBridgeMockBridgeDepositRefunded represents a BridgeDepositRefunded event raised by the FastBridgeMock contract.

type FastBridgeMockBridgeDepositRefundedIterator

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

FastBridgeMockBridgeDepositRefundedIterator is returned from FilterBridgeDepositRefunded and is used to iterate over the raw logs and unpacked data for BridgeDepositRefunded events raised by the FastBridgeMock contract.

func (*FastBridgeMockBridgeDepositRefundedIterator) Close

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

func (*FastBridgeMockBridgeDepositRefundedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FastBridgeMockBridgeDepositRefundedIterator) 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 FastBridgeMockBridgeProofDisputed

type FastBridgeMockBridgeProofDisputed struct {
	TransactionId [32]byte
	Relayer       common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

FastBridgeMockBridgeProofDisputed represents a BridgeProofDisputed event raised by the FastBridgeMock contract.

type FastBridgeMockBridgeProofDisputedIterator

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

FastBridgeMockBridgeProofDisputedIterator is returned from FilterBridgeProofDisputed and is used to iterate over the raw logs and unpacked data for BridgeProofDisputed events raised by the FastBridgeMock contract.

func (*FastBridgeMockBridgeProofDisputedIterator) Close

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

func (*FastBridgeMockBridgeProofDisputedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FastBridgeMockBridgeProofDisputedIterator) 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 FastBridgeMockBridgeProofProvided

type FastBridgeMockBridgeProofProvided struct {
	TransactionId   [32]byte
	Relayer         common.Address
	TransactionHash [32]byte
	Raw             types.Log // Blockchain specific contextual infos
}

FastBridgeMockBridgeProofProvided represents a BridgeProofProvided event raised by the FastBridgeMock contract.

type FastBridgeMockBridgeProofProvidedIterator

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

FastBridgeMockBridgeProofProvidedIterator is returned from FilterBridgeProofProvided and is used to iterate over the raw logs and unpacked data for BridgeProofProvided events raised by the FastBridgeMock contract.

func (*FastBridgeMockBridgeProofProvidedIterator) Close

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

func (*FastBridgeMockBridgeProofProvidedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FastBridgeMockBridgeProofProvidedIterator) 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 FastBridgeMockBridgeRelayed

type FastBridgeMockBridgeRelayed struct {
	TransactionId  [32]byte
	Relayer        common.Address
	To             common.Address
	OriginChainId  uint32
	OriginToken    common.Address
	DestToken      common.Address
	OriginAmount   *big.Int
	DestAmount     *big.Int
	ChainGasAmount *big.Int
	Raw            types.Log // Blockchain specific contextual infos
}

FastBridgeMockBridgeRelayed represents a BridgeRelayed event raised by the FastBridgeMock contract.

type FastBridgeMockBridgeRelayedIterator

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

FastBridgeMockBridgeRelayedIterator is returned from FilterBridgeRelayed and is used to iterate over the raw logs and unpacked data for BridgeRelayed events raised by the FastBridgeMock contract.

func (*FastBridgeMockBridgeRelayedIterator) Close

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

func (*FastBridgeMockBridgeRelayedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FastBridgeMockBridgeRelayedIterator) 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 FastBridgeMockBridgeRequested

type FastBridgeMockBridgeRequested struct {
	TransactionId [32]byte
	Sender        common.Address
	Request       []byte
	DestChainId   uint32
	OriginToken   common.Address
	DestToken     common.Address
	OriginAmount  *big.Int
	DestAmount    *big.Int
	SendChainGas  bool
	Raw           types.Log // Blockchain specific contextual infos
}

FastBridgeMockBridgeRequested represents a BridgeRequested event raised by the FastBridgeMock contract.

type FastBridgeMockBridgeRequestedIterator

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

FastBridgeMockBridgeRequestedIterator is returned from FilterBridgeRequested and is used to iterate over the raw logs and unpacked data for BridgeRequested events raised by the FastBridgeMock contract.

func (*FastBridgeMockBridgeRequestedIterator) Close

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

func (*FastBridgeMockBridgeRequestedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FastBridgeMockBridgeRequestedIterator) 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 FastBridgeMockCaller

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

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

func NewFastBridgeMockCaller

func NewFastBridgeMockCaller(address common.Address, caller bind.ContractCaller) (*FastBridgeMockCaller, error)

NewFastBridgeMockCaller creates a new read-only instance of FastBridgeMock, bound to a specific deployed contract.

func (*FastBridgeMockCaller) CanClaim

func (_FastBridgeMock *FastBridgeMockCaller) CanClaim(opts *bind.CallOpts, transactionid [32]byte, relayer common.Address) (bool, error)

CanClaim is a free data retrieval call binding the contract method 0xaa9641ab.

Solidity: function canClaim(bytes32 transactionid, address relayer) view returns(bool)

func (*FastBridgeMockCaller) ChainGasAmount

func (_FastBridgeMock *FastBridgeMockCaller) ChainGasAmount(opts *bind.CallOpts) (*big.Int, error)

ChainGasAmount is a free data retrieval call binding the contract method 0xe00a83e0.

Solidity: function chainGasAmount() view returns(uint256)

func (*FastBridgeMockCaller) DEFAULTADMINROLE

func (_FastBridgeMock *FastBridgeMockCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*FastBridgeMockCaller) DeployBlock

func (_FastBridgeMock *FastBridgeMockCaller) DeployBlock(opts *bind.CallOpts) (*big.Int, error)

DeployBlock is a free data retrieval call binding the contract method 0xa3ec191a.

Solidity: function deployBlock() view returns(uint256)

func (*FastBridgeMockCaller) FEEBPS

func (_FastBridgeMock *FastBridgeMockCaller) FEEBPS(opts *bind.CallOpts) (*big.Int, error)

FEEBPS is a free data retrieval call binding the contract method 0xbf333f2c.

Solidity: function FEE_BPS() view returns(uint256)

func (*FastBridgeMockCaller) FEERATEMAX

func (_FastBridgeMock *FastBridgeMockCaller) FEERATEMAX(opts *bind.CallOpts) (*big.Int, error)

FEERATEMAX is a free data retrieval call binding the contract method 0x0f5f6ed7.

Solidity: function FEE_RATE_MAX() view returns(uint256)

func (*FastBridgeMockCaller) GOVERNORROLE

func (_FastBridgeMock *FastBridgeMockCaller) GOVERNORROLE(opts *bind.CallOpts) ([32]byte, error)

GOVERNORROLE is a free data retrieval call binding the contract method 0xccc57490.

Solidity: function GOVERNOR_ROLE() view returns(bytes32)

func (*FastBridgeMockCaller) GUARDROLE

func (_FastBridgeMock *FastBridgeMockCaller) GUARDROLE(opts *bind.CallOpts) ([32]byte, error)

GUARDROLE is a free data retrieval call binding the contract method 0x03ed0ee5.

Solidity: function GUARD_ROLE() view returns(bytes32)

func (*FastBridgeMockCaller) GetBridgeTransaction

func (_FastBridgeMock *FastBridgeMockCaller) GetBridgeTransaction(opts *bind.CallOpts, request []byte) (IFastBridgeBridgeTransaction, error)

GetBridgeTransaction is a free data retrieval call binding the contract method 0xac11fb1a.

Solidity: function getBridgeTransaction(bytes request) pure returns((uint32,uint32,address,address,address,address,uint256,uint256,uint256,bool,uint256,uint256))

func (*FastBridgeMockCaller) GetEnumKeyByValue

func (_FastBridgeMock *FastBridgeMockCaller) GetEnumKeyByValue(opts *bind.CallOpts, keyValue uint8) (string, error)

GetEnumKeyByValue is a free data retrieval call binding the contract method 0x85ad903d.

Solidity: function getEnumKeyByValue(uint8 keyValue) pure returns(string)

func (*FastBridgeMockCaller) GetRoleAdmin

func (_FastBridgeMock *FastBridgeMockCaller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*FastBridgeMockCaller) HasRole

func (_FastBridgeMock *FastBridgeMockCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*FastBridgeMockCaller) Nonce

func (_FastBridgeMock *FastBridgeMockCaller) Nonce(opts *bind.CallOpts) (*big.Int, error)

Nonce is a free data retrieval call binding the contract method 0xaffed0e0.

Solidity: function nonce() view returns(uint256)

func (*FastBridgeMockCaller) ProtocolFeeRate

func (_FastBridgeMock *FastBridgeMockCaller) ProtocolFeeRate(opts *bind.CallOpts) (*big.Int, error)

ProtocolFeeRate is a free data retrieval call binding the contract method 0x58f85880.

Solidity: function protocolFeeRate() view returns(uint256)

func (*FastBridgeMockCaller) ProtocolFees

func (_FastBridgeMock *FastBridgeMockCaller) ProtocolFees(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

ProtocolFees is a free data retrieval call binding the contract method 0xdcf844a7.

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

func (*FastBridgeMockCaller) RELAYERROLE

func (_FastBridgeMock *FastBridgeMockCaller) RELAYERROLE(opts *bind.CallOpts) ([32]byte, error)

RELAYERROLE is a free data retrieval call binding the contract method 0x926d7d7f.

Solidity: function RELAYER_ROLE() view returns(bytes32)

func (*FastBridgeMockCaller) SupportsInterface

func (_FastBridgeMock *FastBridgeMockCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

type FastBridgeMockCallerRaw

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

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

func (*FastBridgeMockCallerRaw) Call

func (_FastBridgeMock *FastBridgeMockCallerRaw) 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 FastBridgeMockCallerSession

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

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

func (*FastBridgeMockCallerSession) CanClaim

func (_FastBridgeMock *FastBridgeMockCallerSession) CanClaim(transactionid [32]byte, relayer common.Address) (bool, error)

CanClaim is a free data retrieval call binding the contract method 0xaa9641ab.

Solidity: function canClaim(bytes32 transactionid, address relayer) view returns(bool)

func (*FastBridgeMockCallerSession) ChainGasAmount

func (_FastBridgeMock *FastBridgeMockCallerSession) ChainGasAmount() (*big.Int, error)

ChainGasAmount is a free data retrieval call binding the contract method 0xe00a83e0.

Solidity: function chainGasAmount() view returns(uint256)

func (*FastBridgeMockCallerSession) DEFAULTADMINROLE

func (_FastBridgeMock *FastBridgeMockCallerSession) DEFAULTADMINROLE() ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*FastBridgeMockCallerSession) DeployBlock

func (_FastBridgeMock *FastBridgeMockCallerSession) DeployBlock() (*big.Int, error)

DeployBlock is a free data retrieval call binding the contract method 0xa3ec191a.

Solidity: function deployBlock() view returns(uint256)

func (*FastBridgeMockCallerSession) FEEBPS

func (_FastBridgeMock *FastBridgeMockCallerSession) FEEBPS() (*big.Int, error)

FEEBPS is a free data retrieval call binding the contract method 0xbf333f2c.

Solidity: function FEE_BPS() view returns(uint256)

func (*FastBridgeMockCallerSession) FEERATEMAX

func (_FastBridgeMock *FastBridgeMockCallerSession) FEERATEMAX() (*big.Int, error)

FEERATEMAX is a free data retrieval call binding the contract method 0x0f5f6ed7.

Solidity: function FEE_RATE_MAX() view returns(uint256)

func (*FastBridgeMockCallerSession) GOVERNORROLE

func (_FastBridgeMock *FastBridgeMockCallerSession) GOVERNORROLE() ([32]byte, error)

GOVERNORROLE is a free data retrieval call binding the contract method 0xccc57490.

Solidity: function GOVERNOR_ROLE() view returns(bytes32)

func (*FastBridgeMockCallerSession) GUARDROLE

func (_FastBridgeMock *FastBridgeMockCallerSession) GUARDROLE() ([32]byte, error)

GUARDROLE is a free data retrieval call binding the contract method 0x03ed0ee5.

Solidity: function GUARD_ROLE() view returns(bytes32)

func (*FastBridgeMockCallerSession) GetBridgeTransaction

func (_FastBridgeMock *FastBridgeMockCallerSession) GetBridgeTransaction(request []byte) (IFastBridgeBridgeTransaction, error)

GetBridgeTransaction is a free data retrieval call binding the contract method 0xac11fb1a.

Solidity: function getBridgeTransaction(bytes request) pure returns((uint32,uint32,address,address,address,address,uint256,uint256,uint256,bool,uint256,uint256))

func (*FastBridgeMockCallerSession) GetEnumKeyByValue

func (_FastBridgeMock *FastBridgeMockCallerSession) GetEnumKeyByValue(keyValue uint8) (string, error)

GetEnumKeyByValue is a free data retrieval call binding the contract method 0x85ad903d.

Solidity: function getEnumKeyByValue(uint8 keyValue) pure returns(string)

func (*FastBridgeMockCallerSession) GetRoleAdmin

func (_FastBridgeMock *FastBridgeMockCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*FastBridgeMockCallerSession) HasRole

func (_FastBridgeMock *FastBridgeMockCallerSession) HasRole(role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*FastBridgeMockCallerSession) Nonce

func (_FastBridgeMock *FastBridgeMockCallerSession) Nonce() (*big.Int, error)

Nonce is a free data retrieval call binding the contract method 0xaffed0e0.

Solidity: function nonce() view returns(uint256)

func (*FastBridgeMockCallerSession) ProtocolFeeRate

func (_FastBridgeMock *FastBridgeMockCallerSession) ProtocolFeeRate() (*big.Int, error)

ProtocolFeeRate is a free data retrieval call binding the contract method 0x58f85880.

Solidity: function protocolFeeRate() view returns(uint256)

func (*FastBridgeMockCallerSession) ProtocolFees

func (_FastBridgeMock *FastBridgeMockCallerSession) ProtocolFees(arg0 common.Address) (*big.Int, error)

ProtocolFees is a free data retrieval call binding the contract method 0xdcf844a7.

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

func (*FastBridgeMockCallerSession) RELAYERROLE

func (_FastBridgeMock *FastBridgeMockCallerSession) RELAYERROLE() ([32]byte, error)

RELAYERROLE is a free data retrieval call binding the contract method 0x926d7d7f.

Solidity: function RELAYER_ROLE() view returns(bytes32)

func (*FastBridgeMockCallerSession) SupportsInterface

func (_FastBridgeMock *FastBridgeMockCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

type FastBridgeMockChainGasAmountUpdated

type FastBridgeMockChainGasAmountUpdated struct {
	OldChainGasAmount *big.Int
	NewChainGasAmount *big.Int
	Raw               types.Log // Blockchain specific contextual infos
}

FastBridgeMockChainGasAmountUpdated represents a ChainGasAmountUpdated event raised by the FastBridgeMock contract.

type FastBridgeMockChainGasAmountUpdatedIterator

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

FastBridgeMockChainGasAmountUpdatedIterator is returned from FilterChainGasAmountUpdated and is used to iterate over the raw logs and unpacked data for ChainGasAmountUpdated events raised by the FastBridgeMock contract.

func (*FastBridgeMockChainGasAmountUpdatedIterator) Close

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

func (*FastBridgeMockChainGasAmountUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FastBridgeMockChainGasAmountUpdatedIterator) 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 FastBridgeMockFeeRateUpdated

type FastBridgeMockFeeRateUpdated struct {
	OldFeeRate *big.Int
	NewFeeRate *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

FastBridgeMockFeeRateUpdated represents a FeeRateUpdated event raised by the FastBridgeMock contract.

type FastBridgeMockFeeRateUpdatedIterator

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

FastBridgeMockFeeRateUpdatedIterator is returned from FilterFeeRateUpdated and is used to iterate over the raw logs and unpacked data for FeeRateUpdated events raised by the FastBridgeMock contract.

func (*FastBridgeMockFeeRateUpdatedIterator) Close

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

func (*FastBridgeMockFeeRateUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FastBridgeMockFeeRateUpdatedIterator) 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 FastBridgeMockFeesSwept

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

FastBridgeMockFeesSwept represents a FeesSwept event raised by the FastBridgeMock contract.

type FastBridgeMockFeesSweptIterator

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

FastBridgeMockFeesSweptIterator is returned from FilterFeesSwept and is used to iterate over the raw logs and unpacked data for FeesSwept events raised by the FastBridgeMock contract.

func (*FastBridgeMockFeesSweptIterator) Close

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

func (*FastBridgeMockFeesSweptIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FastBridgeMockFeesSweptIterator) 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 FastBridgeMockFilterer

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

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

func NewFastBridgeMockFilterer

func NewFastBridgeMockFilterer(address common.Address, filterer bind.ContractFilterer) (*FastBridgeMockFilterer, error)

NewFastBridgeMockFilterer creates a new log filterer instance of FastBridgeMock, bound to a specific deployed contract.

func (*FastBridgeMockFilterer) FilterBridgeDepositClaimed

func (_FastBridgeMock *FastBridgeMockFilterer) FilterBridgeDepositClaimed(opts *bind.FilterOpts, transactionId [][32]byte, relayer []common.Address, to []common.Address) (*FastBridgeMockBridgeDepositClaimedIterator, error)

FilterBridgeDepositClaimed is a free log retrieval operation binding the contract event 0x582211c35a2139ac3bbaac74663c6a1f56c6cbb658b41fe11fd45a82074ac678.

Solidity: event BridgeDepositClaimed(bytes32 indexed transactionId, address indexed relayer, address indexed to, address token, uint256 amount)

func (*FastBridgeMockFilterer) FilterBridgeDepositRefunded

func (_FastBridgeMock *FastBridgeMockFilterer) FilterBridgeDepositRefunded(opts *bind.FilterOpts, transactionId [][32]byte, to []common.Address) (*FastBridgeMockBridgeDepositRefundedIterator, error)

FilterBridgeDepositRefunded is a free log retrieval operation binding the contract event 0xb4c55c0c9bc613519b920e88748090150b890a875d307f21bea7d4fb2e8bc958.

Solidity: event BridgeDepositRefunded(bytes32 indexed transactionId, address indexed to, address token, uint256 amount)

func (*FastBridgeMockFilterer) FilterBridgeProofDisputed

func (_FastBridgeMock *FastBridgeMockFilterer) FilterBridgeProofDisputed(opts *bind.FilterOpts, transactionId [][32]byte, relayer []common.Address) (*FastBridgeMockBridgeProofDisputedIterator, error)

FilterBridgeProofDisputed is a free log retrieval operation binding the contract event 0x0695cf1d39b3055dcd0fe02d8b47eaf0d5a13e1996de925de59d0ef9b7f7fad4.

Solidity: event BridgeProofDisputed(bytes32 indexed transactionId, address indexed relayer)

func (*FastBridgeMockFilterer) FilterBridgeProofProvided

func (_FastBridgeMock *FastBridgeMockFilterer) FilterBridgeProofProvided(opts *bind.FilterOpts, transactionId [][32]byte, relayer []common.Address) (*FastBridgeMockBridgeProofProvidedIterator, error)

FilterBridgeProofProvided is a free log retrieval operation binding the contract event 0x4ac8af8a2cd87193d64dfc7a3b8d9923b714ec528b18725d080aa1299be0c5e4.

Solidity: event BridgeProofProvided(bytes32 indexed transactionId, address indexed relayer, bytes32 transactionHash)

func (*FastBridgeMockFilterer) FilterBridgeRelayed

func (_FastBridgeMock *FastBridgeMockFilterer) FilterBridgeRelayed(opts *bind.FilterOpts, transactionId [][32]byte, relayer []common.Address, to []common.Address) (*FastBridgeMockBridgeRelayedIterator, error)

FilterBridgeRelayed is a free log retrieval operation binding the contract event 0xf8ae392d784b1ea5e8881bfa586d81abf07ef4f1e2fc75f7fe51c90f05199a5c.

Solidity: event BridgeRelayed(bytes32 indexed transactionId, address indexed relayer, address indexed to, uint32 originChainId, address originToken, address destToken, uint256 originAmount, uint256 destAmount, uint256 chainGasAmount)

func (*FastBridgeMockFilterer) FilterBridgeRequested

func (_FastBridgeMock *FastBridgeMockFilterer) FilterBridgeRequested(opts *bind.FilterOpts, transactionId [][32]byte, sender []common.Address) (*FastBridgeMockBridgeRequestedIterator, error)

FilterBridgeRequested is a free log retrieval operation binding the contract event 0x120ea0364f36cdac7983bcfdd55270ca09d7f9b314a2ebc425a3b01ab1d6403a.

Solidity: event BridgeRequested(bytes32 indexed transactionId, address indexed sender, bytes request, uint32 destChainId, address originToken, address destToken, uint256 originAmount, uint256 destAmount, bool sendChainGas)

func (*FastBridgeMockFilterer) FilterChainGasAmountUpdated

func (_FastBridgeMock *FastBridgeMockFilterer) FilterChainGasAmountUpdated(opts *bind.FilterOpts) (*FastBridgeMockChainGasAmountUpdatedIterator, error)

FilterChainGasAmountUpdated is a free log retrieval operation binding the contract event 0x5cf09b12f3f56b4c564d51b25b40360af6d795198adb61ae0806a36c294323fa.

Solidity: event ChainGasAmountUpdated(uint256 oldChainGasAmount, uint256 newChainGasAmount)

func (*FastBridgeMockFilterer) FilterFeeRateUpdated

func (_FastBridgeMock *FastBridgeMockFilterer) FilterFeeRateUpdated(opts *bind.FilterOpts) (*FastBridgeMockFeeRateUpdatedIterator, error)

FilterFeeRateUpdated is a free log retrieval operation binding the contract event 0x14914da2bf76024616fbe1859783fcd4dbddcb179b1f3a854949fbf920dcb957.

Solidity: event FeeRateUpdated(uint256 oldFeeRate, uint256 newFeeRate)

func (*FastBridgeMockFilterer) FilterFeesSwept

func (_FastBridgeMock *FastBridgeMockFilterer) FilterFeesSwept(opts *bind.FilterOpts) (*FastBridgeMockFeesSweptIterator, error)

FilterFeesSwept is a free log retrieval operation binding the contract event 0x244e51bc38c1452fa8aaf487bcb4bca36c2baa3a5fbdb776b1eabd8dc6d277cd.

Solidity: event FeesSwept(address token, address recipient, uint256 amount)

func (*FastBridgeMockFilterer) FilterGovernorAdded

func (_FastBridgeMock *FastBridgeMockFilterer) FilterGovernorAdded(opts *bind.FilterOpts) (*FastBridgeMockGovernorAddedIterator, error)

FilterGovernorAdded is a free log retrieval operation binding the contract event 0xdc5a48d79e2e147530ff63ecdbed5a5a66adb9d5cf339384d5d076da197c40b5.

Solidity: event GovernorAdded(address governor)

func (*FastBridgeMockFilterer) FilterGovernorRemoved

func (_FastBridgeMock *FastBridgeMockFilterer) FilterGovernorRemoved(opts *bind.FilterOpts) (*FastBridgeMockGovernorRemovedIterator, error)

FilterGovernorRemoved is a free log retrieval operation binding the contract event 0x1ebe834e73d60a5fec822c1e1727d34bc79f2ad977ed504581cc1822fe20fb5b.

Solidity: event GovernorRemoved(address governor)

func (*FastBridgeMockFilterer) FilterGuardAdded

func (_FastBridgeMock *FastBridgeMockFilterer) FilterGuardAdded(opts *bind.FilterOpts) (*FastBridgeMockGuardAddedIterator, error)

FilterGuardAdded is a free log retrieval operation binding the contract event 0x93405f05cd04f0d1bd875f2de00f1f3890484ffd0589248953bdfd29ba7f2f59.

Solidity: event GuardAdded(address guard)

func (*FastBridgeMockFilterer) FilterGuardRemoved

func (_FastBridgeMock *FastBridgeMockFilterer) FilterGuardRemoved(opts *bind.FilterOpts) (*FastBridgeMockGuardRemovedIterator, error)

FilterGuardRemoved is a free log retrieval operation binding the contract event 0x59926e0a78d12238b668b31c8e3f6ece235a59a00ede111d883e255b68c4d048.

Solidity: event GuardRemoved(address guard)

func (*FastBridgeMockFilterer) FilterRelayerAdded

func (_FastBridgeMock *FastBridgeMockFilterer) FilterRelayerAdded(opts *bind.FilterOpts) (*FastBridgeMockRelayerAddedIterator, error)

FilterRelayerAdded is a free log retrieval operation binding the contract event 0x03580ee9f53a62b7cb409a2cb56f9be87747dd15017afc5cef6eef321e4fb2c5.

Solidity: event RelayerAdded(address relayer)

func (*FastBridgeMockFilterer) FilterRelayerRemoved

func (_FastBridgeMock *FastBridgeMockFilterer) FilterRelayerRemoved(opts *bind.FilterOpts) (*FastBridgeMockRelayerRemovedIterator, error)

FilterRelayerRemoved is a free log retrieval operation binding the contract event 0x10e1f7ce9fd7d1b90a66d13a2ab3cb8dd7f29f3f8d520b143b063ccfbab6906b.

Solidity: event RelayerRemoved(address relayer)

func (*FastBridgeMockFilterer) FilterRoleAdminChanged

func (_FastBridgeMock *FastBridgeMockFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (*FastBridgeMockRoleAdminChangedIterator, error)

FilterRoleAdminChanged is a free log retrieval operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*FastBridgeMockFilterer) FilterRoleGranted

func (_FastBridgeMock *FastBridgeMockFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*FastBridgeMockRoleGrantedIterator, error)

FilterRoleGranted is a free log retrieval operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*FastBridgeMockFilterer) FilterRoleRevoked

func (_FastBridgeMock *FastBridgeMockFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*FastBridgeMockRoleRevokedIterator, error)

FilterRoleRevoked is a free log retrieval operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*FastBridgeMockFilterer) ParseBridgeDepositClaimed

func (_FastBridgeMock *FastBridgeMockFilterer) ParseBridgeDepositClaimed(log types.Log) (*FastBridgeMockBridgeDepositClaimed, error)

ParseBridgeDepositClaimed is a log parse operation binding the contract event 0x582211c35a2139ac3bbaac74663c6a1f56c6cbb658b41fe11fd45a82074ac678.

Solidity: event BridgeDepositClaimed(bytes32 indexed transactionId, address indexed relayer, address indexed to, address token, uint256 amount)

func (*FastBridgeMockFilterer) ParseBridgeDepositRefunded

func (_FastBridgeMock *FastBridgeMockFilterer) ParseBridgeDepositRefunded(log types.Log) (*FastBridgeMockBridgeDepositRefunded, error)

ParseBridgeDepositRefunded is a log parse operation binding the contract event 0xb4c55c0c9bc613519b920e88748090150b890a875d307f21bea7d4fb2e8bc958.

Solidity: event BridgeDepositRefunded(bytes32 indexed transactionId, address indexed to, address token, uint256 amount)

func (*FastBridgeMockFilterer) ParseBridgeProofDisputed

func (_FastBridgeMock *FastBridgeMockFilterer) ParseBridgeProofDisputed(log types.Log) (*FastBridgeMockBridgeProofDisputed, error)

ParseBridgeProofDisputed is a log parse operation binding the contract event 0x0695cf1d39b3055dcd0fe02d8b47eaf0d5a13e1996de925de59d0ef9b7f7fad4.

Solidity: event BridgeProofDisputed(bytes32 indexed transactionId, address indexed relayer)

func (*FastBridgeMockFilterer) ParseBridgeProofProvided

func (_FastBridgeMock *FastBridgeMockFilterer) ParseBridgeProofProvided(log types.Log) (*FastBridgeMockBridgeProofProvided, error)

ParseBridgeProofProvided is a log parse operation binding the contract event 0x4ac8af8a2cd87193d64dfc7a3b8d9923b714ec528b18725d080aa1299be0c5e4.

Solidity: event BridgeProofProvided(bytes32 indexed transactionId, address indexed relayer, bytes32 transactionHash)

func (*FastBridgeMockFilterer) ParseBridgeRelayed

func (_FastBridgeMock *FastBridgeMockFilterer) ParseBridgeRelayed(log types.Log) (*FastBridgeMockBridgeRelayed, error)

ParseBridgeRelayed is a log parse operation binding the contract event 0xf8ae392d784b1ea5e8881bfa586d81abf07ef4f1e2fc75f7fe51c90f05199a5c.

Solidity: event BridgeRelayed(bytes32 indexed transactionId, address indexed relayer, address indexed to, uint32 originChainId, address originToken, address destToken, uint256 originAmount, uint256 destAmount, uint256 chainGasAmount)

func (*FastBridgeMockFilterer) ParseBridgeRequested

func (_FastBridgeMock *FastBridgeMockFilterer) ParseBridgeRequested(log types.Log) (*FastBridgeMockBridgeRequested, error)

ParseBridgeRequested is a log parse operation binding the contract event 0x120ea0364f36cdac7983bcfdd55270ca09d7f9b314a2ebc425a3b01ab1d6403a.

Solidity: event BridgeRequested(bytes32 indexed transactionId, address indexed sender, bytes request, uint32 destChainId, address originToken, address destToken, uint256 originAmount, uint256 destAmount, bool sendChainGas)

func (*FastBridgeMockFilterer) ParseChainGasAmountUpdated

func (_FastBridgeMock *FastBridgeMockFilterer) ParseChainGasAmountUpdated(log types.Log) (*FastBridgeMockChainGasAmountUpdated, error)

ParseChainGasAmountUpdated is a log parse operation binding the contract event 0x5cf09b12f3f56b4c564d51b25b40360af6d795198adb61ae0806a36c294323fa.

Solidity: event ChainGasAmountUpdated(uint256 oldChainGasAmount, uint256 newChainGasAmount)

func (*FastBridgeMockFilterer) ParseFeeRateUpdated

func (_FastBridgeMock *FastBridgeMockFilterer) ParseFeeRateUpdated(log types.Log) (*FastBridgeMockFeeRateUpdated, error)

ParseFeeRateUpdated is a log parse operation binding the contract event 0x14914da2bf76024616fbe1859783fcd4dbddcb179b1f3a854949fbf920dcb957.

Solidity: event FeeRateUpdated(uint256 oldFeeRate, uint256 newFeeRate)

func (*FastBridgeMockFilterer) ParseFeesSwept

func (_FastBridgeMock *FastBridgeMockFilterer) ParseFeesSwept(log types.Log) (*FastBridgeMockFeesSwept, error)

ParseFeesSwept is a log parse operation binding the contract event 0x244e51bc38c1452fa8aaf487bcb4bca36c2baa3a5fbdb776b1eabd8dc6d277cd.

Solidity: event FeesSwept(address token, address recipient, uint256 amount)

func (*FastBridgeMockFilterer) ParseGovernorAdded

func (_FastBridgeMock *FastBridgeMockFilterer) ParseGovernorAdded(log types.Log) (*FastBridgeMockGovernorAdded, error)

ParseGovernorAdded is a log parse operation binding the contract event 0xdc5a48d79e2e147530ff63ecdbed5a5a66adb9d5cf339384d5d076da197c40b5.

Solidity: event GovernorAdded(address governor)

func (*FastBridgeMockFilterer) ParseGovernorRemoved

func (_FastBridgeMock *FastBridgeMockFilterer) ParseGovernorRemoved(log types.Log) (*FastBridgeMockGovernorRemoved, error)

ParseGovernorRemoved is a log parse operation binding the contract event 0x1ebe834e73d60a5fec822c1e1727d34bc79f2ad977ed504581cc1822fe20fb5b.

Solidity: event GovernorRemoved(address governor)

func (*FastBridgeMockFilterer) ParseGuardAdded

func (_FastBridgeMock *FastBridgeMockFilterer) ParseGuardAdded(log types.Log) (*FastBridgeMockGuardAdded, error)

ParseGuardAdded is a log parse operation binding the contract event 0x93405f05cd04f0d1bd875f2de00f1f3890484ffd0589248953bdfd29ba7f2f59.

Solidity: event GuardAdded(address guard)

func (*FastBridgeMockFilterer) ParseGuardRemoved

func (_FastBridgeMock *FastBridgeMockFilterer) ParseGuardRemoved(log types.Log) (*FastBridgeMockGuardRemoved, error)

ParseGuardRemoved is a log parse operation binding the contract event 0x59926e0a78d12238b668b31c8e3f6ece235a59a00ede111d883e255b68c4d048.

Solidity: event GuardRemoved(address guard)

func (*FastBridgeMockFilterer) ParseRelayerAdded

func (_FastBridgeMock *FastBridgeMockFilterer) ParseRelayerAdded(log types.Log) (*FastBridgeMockRelayerAdded, error)

ParseRelayerAdded is a log parse operation binding the contract event 0x03580ee9f53a62b7cb409a2cb56f9be87747dd15017afc5cef6eef321e4fb2c5.

Solidity: event RelayerAdded(address relayer)

func (*FastBridgeMockFilterer) ParseRelayerRemoved

func (_FastBridgeMock *FastBridgeMockFilterer) ParseRelayerRemoved(log types.Log) (*FastBridgeMockRelayerRemoved, error)

ParseRelayerRemoved is a log parse operation binding the contract event 0x10e1f7ce9fd7d1b90a66d13a2ab3cb8dd7f29f3f8d520b143b063ccfbab6906b.

Solidity: event RelayerRemoved(address relayer)

func (*FastBridgeMockFilterer) ParseRoleAdminChanged

func (_FastBridgeMock *FastBridgeMockFilterer) ParseRoleAdminChanged(log types.Log) (*FastBridgeMockRoleAdminChanged, error)

ParseRoleAdminChanged is a log parse operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*FastBridgeMockFilterer) ParseRoleGranted

func (_FastBridgeMock *FastBridgeMockFilterer) ParseRoleGranted(log types.Log) (*FastBridgeMockRoleGranted, error)

ParseRoleGranted is a log parse operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*FastBridgeMockFilterer) ParseRoleRevoked

func (_FastBridgeMock *FastBridgeMockFilterer) ParseRoleRevoked(log types.Log) (*FastBridgeMockRoleRevoked, error)

ParseRoleRevoked is a log parse operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*FastBridgeMockFilterer) WatchBridgeDepositClaimed

func (_FastBridgeMock *FastBridgeMockFilterer) WatchBridgeDepositClaimed(opts *bind.WatchOpts, sink chan<- *FastBridgeMockBridgeDepositClaimed, transactionId [][32]byte, relayer []common.Address, to []common.Address) (event.Subscription, error)

WatchBridgeDepositClaimed is a free log subscription operation binding the contract event 0x582211c35a2139ac3bbaac74663c6a1f56c6cbb658b41fe11fd45a82074ac678.

Solidity: event BridgeDepositClaimed(bytes32 indexed transactionId, address indexed relayer, address indexed to, address token, uint256 amount)

func (*FastBridgeMockFilterer) WatchBridgeDepositRefunded

func (_FastBridgeMock *FastBridgeMockFilterer) WatchBridgeDepositRefunded(opts *bind.WatchOpts, sink chan<- *FastBridgeMockBridgeDepositRefunded, transactionId [][32]byte, to []common.Address) (event.Subscription, error)

WatchBridgeDepositRefunded is a free log subscription operation binding the contract event 0xb4c55c0c9bc613519b920e88748090150b890a875d307f21bea7d4fb2e8bc958.

Solidity: event BridgeDepositRefunded(bytes32 indexed transactionId, address indexed to, address token, uint256 amount)

func (*FastBridgeMockFilterer) WatchBridgeProofDisputed

func (_FastBridgeMock *FastBridgeMockFilterer) WatchBridgeProofDisputed(opts *bind.WatchOpts, sink chan<- *FastBridgeMockBridgeProofDisputed, transactionId [][32]byte, relayer []common.Address) (event.Subscription, error)

WatchBridgeProofDisputed is a free log subscription operation binding the contract event 0x0695cf1d39b3055dcd0fe02d8b47eaf0d5a13e1996de925de59d0ef9b7f7fad4.

Solidity: event BridgeProofDisputed(bytes32 indexed transactionId, address indexed relayer)

func (*FastBridgeMockFilterer) WatchBridgeProofProvided

func (_FastBridgeMock *FastBridgeMockFilterer) WatchBridgeProofProvided(opts *bind.WatchOpts, sink chan<- *FastBridgeMockBridgeProofProvided, transactionId [][32]byte, relayer []common.Address) (event.Subscription, error)

WatchBridgeProofProvided is a free log subscription operation binding the contract event 0x4ac8af8a2cd87193d64dfc7a3b8d9923b714ec528b18725d080aa1299be0c5e4.

Solidity: event BridgeProofProvided(bytes32 indexed transactionId, address indexed relayer, bytes32 transactionHash)

func (*FastBridgeMockFilterer) WatchBridgeRelayed

func (_FastBridgeMock *FastBridgeMockFilterer) WatchBridgeRelayed(opts *bind.WatchOpts, sink chan<- *FastBridgeMockBridgeRelayed, transactionId [][32]byte, relayer []common.Address, to []common.Address) (event.Subscription, error)

WatchBridgeRelayed is a free log subscription operation binding the contract event 0xf8ae392d784b1ea5e8881bfa586d81abf07ef4f1e2fc75f7fe51c90f05199a5c.

Solidity: event BridgeRelayed(bytes32 indexed transactionId, address indexed relayer, address indexed to, uint32 originChainId, address originToken, address destToken, uint256 originAmount, uint256 destAmount, uint256 chainGasAmount)

func (*FastBridgeMockFilterer) WatchBridgeRequested

func (_FastBridgeMock *FastBridgeMockFilterer) WatchBridgeRequested(opts *bind.WatchOpts, sink chan<- *FastBridgeMockBridgeRequested, transactionId [][32]byte, sender []common.Address) (event.Subscription, error)

WatchBridgeRequested is a free log subscription operation binding the contract event 0x120ea0364f36cdac7983bcfdd55270ca09d7f9b314a2ebc425a3b01ab1d6403a.

Solidity: event BridgeRequested(bytes32 indexed transactionId, address indexed sender, bytes request, uint32 destChainId, address originToken, address destToken, uint256 originAmount, uint256 destAmount, bool sendChainGas)

func (*FastBridgeMockFilterer) WatchChainGasAmountUpdated

func (_FastBridgeMock *FastBridgeMockFilterer) WatchChainGasAmountUpdated(opts *bind.WatchOpts, sink chan<- *FastBridgeMockChainGasAmountUpdated) (event.Subscription, error)

WatchChainGasAmountUpdated is a free log subscription operation binding the contract event 0x5cf09b12f3f56b4c564d51b25b40360af6d795198adb61ae0806a36c294323fa.

Solidity: event ChainGasAmountUpdated(uint256 oldChainGasAmount, uint256 newChainGasAmount)

func (*FastBridgeMockFilterer) WatchFeeRateUpdated

func (_FastBridgeMock *FastBridgeMockFilterer) WatchFeeRateUpdated(opts *bind.WatchOpts, sink chan<- *FastBridgeMockFeeRateUpdated) (event.Subscription, error)

WatchFeeRateUpdated is a free log subscription operation binding the contract event 0x14914da2bf76024616fbe1859783fcd4dbddcb179b1f3a854949fbf920dcb957.

Solidity: event FeeRateUpdated(uint256 oldFeeRate, uint256 newFeeRate)

func (*FastBridgeMockFilterer) WatchFeesSwept

func (_FastBridgeMock *FastBridgeMockFilterer) WatchFeesSwept(opts *bind.WatchOpts, sink chan<- *FastBridgeMockFeesSwept) (event.Subscription, error)

WatchFeesSwept is a free log subscription operation binding the contract event 0x244e51bc38c1452fa8aaf487bcb4bca36c2baa3a5fbdb776b1eabd8dc6d277cd.

Solidity: event FeesSwept(address token, address recipient, uint256 amount)

func (*FastBridgeMockFilterer) WatchGovernorAdded

func (_FastBridgeMock *FastBridgeMockFilterer) WatchGovernorAdded(opts *bind.WatchOpts, sink chan<- *FastBridgeMockGovernorAdded) (event.Subscription, error)

WatchGovernorAdded is a free log subscription operation binding the contract event 0xdc5a48d79e2e147530ff63ecdbed5a5a66adb9d5cf339384d5d076da197c40b5.

Solidity: event GovernorAdded(address governor)

func (*FastBridgeMockFilterer) WatchGovernorRemoved

func (_FastBridgeMock *FastBridgeMockFilterer) WatchGovernorRemoved(opts *bind.WatchOpts, sink chan<- *FastBridgeMockGovernorRemoved) (event.Subscription, error)

WatchGovernorRemoved is a free log subscription operation binding the contract event 0x1ebe834e73d60a5fec822c1e1727d34bc79f2ad977ed504581cc1822fe20fb5b.

Solidity: event GovernorRemoved(address governor)

func (*FastBridgeMockFilterer) WatchGuardAdded

func (_FastBridgeMock *FastBridgeMockFilterer) WatchGuardAdded(opts *bind.WatchOpts, sink chan<- *FastBridgeMockGuardAdded) (event.Subscription, error)

WatchGuardAdded is a free log subscription operation binding the contract event 0x93405f05cd04f0d1bd875f2de00f1f3890484ffd0589248953bdfd29ba7f2f59.

Solidity: event GuardAdded(address guard)

func (*FastBridgeMockFilterer) WatchGuardRemoved

func (_FastBridgeMock *FastBridgeMockFilterer) WatchGuardRemoved(opts *bind.WatchOpts, sink chan<- *FastBridgeMockGuardRemoved) (event.Subscription, error)

WatchGuardRemoved is a free log subscription operation binding the contract event 0x59926e0a78d12238b668b31c8e3f6ece235a59a00ede111d883e255b68c4d048.

Solidity: event GuardRemoved(address guard)

func (*FastBridgeMockFilterer) WatchRelayerAdded

func (_FastBridgeMock *FastBridgeMockFilterer) WatchRelayerAdded(opts *bind.WatchOpts, sink chan<- *FastBridgeMockRelayerAdded) (event.Subscription, error)

WatchRelayerAdded is a free log subscription operation binding the contract event 0x03580ee9f53a62b7cb409a2cb56f9be87747dd15017afc5cef6eef321e4fb2c5.

Solidity: event RelayerAdded(address relayer)

func (*FastBridgeMockFilterer) WatchRelayerRemoved

func (_FastBridgeMock *FastBridgeMockFilterer) WatchRelayerRemoved(opts *bind.WatchOpts, sink chan<- *FastBridgeMockRelayerRemoved) (event.Subscription, error)

WatchRelayerRemoved is a free log subscription operation binding the contract event 0x10e1f7ce9fd7d1b90a66d13a2ab3cb8dd7f29f3f8d520b143b063ccfbab6906b.

Solidity: event RelayerRemoved(address relayer)

func (*FastBridgeMockFilterer) WatchRoleAdminChanged

func (_FastBridgeMock *FastBridgeMockFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *FastBridgeMockRoleAdminChanged, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (event.Subscription, error)

WatchRoleAdminChanged is a free log subscription operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*FastBridgeMockFilterer) WatchRoleGranted

func (_FastBridgeMock *FastBridgeMockFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *FastBridgeMockRoleGranted, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)

WatchRoleGranted is a free log subscription operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*FastBridgeMockFilterer) WatchRoleRevoked

func (_FastBridgeMock *FastBridgeMockFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *FastBridgeMockRoleRevoked, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)

WatchRoleRevoked is a free log subscription operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

type FastBridgeMockGovernorAdded

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

FastBridgeMockGovernorAdded represents a GovernorAdded event raised by the FastBridgeMock contract.

type FastBridgeMockGovernorAddedIterator

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

FastBridgeMockGovernorAddedIterator is returned from FilterGovernorAdded and is used to iterate over the raw logs and unpacked data for GovernorAdded events raised by the FastBridgeMock contract.

func (*FastBridgeMockGovernorAddedIterator) Close

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

func (*FastBridgeMockGovernorAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FastBridgeMockGovernorAddedIterator) 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 FastBridgeMockGovernorRemoved

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

FastBridgeMockGovernorRemoved represents a GovernorRemoved event raised by the FastBridgeMock contract.

type FastBridgeMockGovernorRemovedIterator

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

FastBridgeMockGovernorRemovedIterator is returned from FilterGovernorRemoved and is used to iterate over the raw logs and unpacked data for GovernorRemoved events raised by the FastBridgeMock contract.

func (*FastBridgeMockGovernorRemovedIterator) Close

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

func (*FastBridgeMockGovernorRemovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FastBridgeMockGovernorRemovedIterator) 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 FastBridgeMockGuardAdded

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

FastBridgeMockGuardAdded represents a GuardAdded event raised by the FastBridgeMock contract.

type FastBridgeMockGuardAddedIterator

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

FastBridgeMockGuardAddedIterator is returned from FilterGuardAdded and is used to iterate over the raw logs and unpacked data for GuardAdded events raised by the FastBridgeMock contract.

func (*FastBridgeMockGuardAddedIterator) Close

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

func (*FastBridgeMockGuardAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FastBridgeMockGuardAddedIterator) 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 FastBridgeMockGuardRemoved

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

FastBridgeMockGuardRemoved represents a GuardRemoved event raised by the FastBridgeMock contract.

type FastBridgeMockGuardRemovedIterator

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

FastBridgeMockGuardRemovedIterator is returned from FilterGuardRemoved and is used to iterate over the raw logs and unpacked data for GuardRemoved events raised by the FastBridgeMock contract.

func (*FastBridgeMockGuardRemovedIterator) Close

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

func (*FastBridgeMockGuardRemovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FastBridgeMockGuardRemovedIterator) 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 FastBridgeMockRaw

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

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

func (*FastBridgeMockRaw) Call

func (_FastBridgeMock *FastBridgeMockRaw) 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 (*FastBridgeMockRaw) Transact

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

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

func (*FastBridgeMockRaw) Transfer

func (_FastBridgeMock *FastBridgeMockRaw) 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 FastBridgeMockRef

type FastBridgeMockRef struct {
	*FastBridgeMock
	// contains filtered or unexported fields
}

FastBridgeMockRef is a bound fast bridge contract that returns the address of the contract.

func NewFastBridgeMockRef

func NewFastBridgeMockRef(address common.Address, backend bind.ContractBackend) (*FastBridgeMockRef, error)

NewFastBridgeMockRef creates a new fast bridge mock contract with a ref.

func (*FastBridgeMockRef) Address

func (f *FastBridgeMockRef) Address() common.Address

Address gets the ocntract address.

type FastBridgeMockRelayerAdded

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

FastBridgeMockRelayerAdded represents a RelayerAdded event raised by the FastBridgeMock contract.

type FastBridgeMockRelayerAddedIterator

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

FastBridgeMockRelayerAddedIterator is returned from FilterRelayerAdded and is used to iterate over the raw logs and unpacked data for RelayerAdded events raised by the FastBridgeMock contract.

func (*FastBridgeMockRelayerAddedIterator) Close

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

func (*FastBridgeMockRelayerAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FastBridgeMockRelayerAddedIterator) 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 FastBridgeMockRelayerRemoved

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

FastBridgeMockRelayerRemoved represents a RelayerRemoved event raised by the FastBridgeMock contract.

type FastBridgeMockRelayerRemovedIterator

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

FastBridgeMockRelayerRemovedIterator is returned from FilterRelayerRemoved and is used to iterate over the raw logs and unpacked data for RelayerRemoved events raised by the FastBridgeMock contract.

func (*FastBridgeMockRelayerRemovedIterator) Close

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

func (*FastBridgeMockRelayerRemovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FastBridgeMockRelayerRemovedIterator) 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 FastBridgeMockRoleAdminChanged

type FastBridgeMockRoleAdminChanged struct {
	Role              [32]byte
	PreviousAdminRole [32]byte
	NewAdminRole      [32]byte
	Raw               types.Log // Blockchain specific contextual infos
}

FastBridgeMockRoleAdminChanged represents a RoleAdminChanged event raised by the FastBridgeMock contract.

type FastBridgeMockRoleAdminChangedIterator

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

FastBridgeMockRoleAdminChangedIterator is returned from FilterRoleAdminChanged and is used to iterate over the raw logs and unpacked data for RoleAdminChanged events raised by the FastBridgeMock contract.

func (*FastBridgeMockRoleAdminChangedIterator) Close

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

func (*FastBridgeMockRoleAdminChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FastBridgeMockRoleAdminChangedIterator) 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 FastBridgeMockRoleGranted

type FastBridgeMockRoleGranted struct {
	Role    [32]byte
	Account common.Address
	Sender  common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

FastBridgeMockRoleGranted represents a RoleGranted event raised by the FastBridgeMock contract.

type FastBridgeMockRoleGrantedIterator

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

FastBridgeMockRoleGrantedIterator is returned from FilterRoleGranted and is used to iterate over the raw logs and unpacked data for RoleGranted events raised by the FastBridgeMock contract.

func (*FastBridgeMockRoleGrantedIterator) Close

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

func (*FastBridgeMockRoleGrantedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FastBridgeMockRoleGrantedIterator) 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 FastBridgeMockRoleRevoked

type FastBridgeMockRoleRevoked struct {
	Role    [32]byte
	Account common.Address
	Sender  common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

FastBridgeMockRoleRevoked represents a RoleRevoked event raised by the FastBridgeMock contract.

type FastBridgeMockRoleRevokedIterator

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

FastBridgeMockRoleRevokedIterator is returned from FilterRoleRevoked and is used to iterate over the raw logs and unpacked data for RoleRevoked events raised by the FastBridgeMock contract.

func (*FastBridgeMockRoleRevokedIterator) Close

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

func (*FastBridgeMockRoleRevokedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FastBridgeMockRoleRevokedIterator) 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 FastBridgeMockSession

type FastBridgeMockSession struct {
	Contract     *FastBridgeMock   // 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
}

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

func (*FastBridgeMockSession) AddGovernor

func (_FastBridgeMock *FastBridgeMockSession) AddGovernor(_governor common.Address) (*types.Transaction, error)

AddGovernor is a paid mutator transaction binding the contract method 0x3c4a25d0.

Solidity: function addGovernor(address _governor) returns()

func (*FastBridgeMockSession) AddGuard

func (_FastBridgeMock *FastBridgeMockSession) AddGuard(_guard common.Address) (*types.Transaction, error)

AddGuard is a paid mutator transaction binding the contract method 0x6913a63c.

Solidity: function addGuard(address _guard) returns()

func (*FastBridgeMockSession) AddRelayer

func (_FastBridgeMock *FastBridgeMockSession) AddRelayer(_relayer common.Address) (*types.Transaction, error)

AddRelayer is a paid mutator transaction binding the contract method 0xdd39f00d.

Solidity: function addRelayer(address _relayer) returns()

func (*FastBridgeMockSession) Bridge

func (_FastBridgeMock *FastBridgeMockSession) Bridge(params IFastBridgeBridgeParams) (*types.Transaction, error)

Bridge is a paid mutator transaction binding the contract method 0x45851694.

Solidity: function bridge((uint32,address,address,address,address,uint256,uint256,bool,uint256) params) payable returns()

func (*FastBridgeMockSession) CanClaim

func (_FastBridgeMock *FastBridgeMockSession) CanClaim(transactionid [32]byte, relayer common.Address) (bool, error)

CanClaim is a free data retrieval call binding the contract method 0xaa9641ab.

Solidity: function canClaim(bytes32 transactionid, address relayer) view returns(bool)

func (*FastBridgeMockSession) ChainGasAmount

func (_FastBridgeMock *FastBridgeMockSession) ChainGasAmount() (*big.Int, error)

ChainGasAmount is a free data retrieval call binding the contract method 0xe00a83e0.

Solidity: function chainGasAmount() view returns(uint256)

func (*FastBridgeMockSession) Claim

func (_FastBridgeMock *FastBridgeMockSession) Claim(request []byte, to common.Address) (*types.Transaction, error)

Claim is a paid mutator transaction binding the contract method 0x41fcb612.

Solidity: function claim(bytes request, address to) returns()

func (*FastBridgeMockSession) DEFAULTADMINROLE

func (_FastBridgeMock *FastBridgeMockSession) DEFAULTADMINROLE() ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*FastBridgeMockSession) DeployBlock

func (_FastBridgeMock *FastBridgeMockSession) DeployBlock() (*big.Int, error)

DeployBlock is a free data retrieval call binding the contract method 0xa3ec191a.

Solidity: function deployBlock() view returns(uint256)

func (*FastBridgeMockSession) Dispute

func (_FastBridgeMock *FastBridgeMockSession) Dispute(transactionId [32]byte) (*types.Transaction, error)

Dispute is a paid mutator transaction binding the contract method 0xadd98c70.

Solidity: function dispute(bytes32 transactionId) returns()

func (*FastBridgeMockSession) FEEBPS

func (_FastBridgeMock *FastBridgeMockSession) FEEBPS() (*big.Int, error)

FEEBPS is a free data retrieval call binding the contract method 0xbf333f2c.

Solidity: function FEE_BPS() view returns(uint256)

func (*FastBridgeMockSession) FEERATEMAX

func (_FastBridgeMock *FastBridgeMockSession) FEERATEMAX() (*big.Int, error)

FEERATEMAX is a free data retrieval call binding the contract method 0x0f5f6ed7.

Solidity: function FEE_RATE_MAX() view returns(uint256)

func (*FastBridgeMockSession) GOVERNORROLE

func (_FastBridgeMock *FastBridgeMockSession) GOVERNORROLE() ([32]byte, error)

GOVERNORROLE is a free data retrieval call binding the contract method 0xccc57490.

Solidity: function GOVERNOR_ROLE() view returns(bytes32)

func (*FastBridgeMockSession) GUARDROLE

func (_FastBridgeMock *FastBridgeMockSession) GUARDROLE() ([32]byte, error)

GUARDROLE is a free data retrieval call binding the contract method 0x03ed0ee5.

Solidity: function GUARD_ROLE() view returns(bytes32)

func (*FastBridgeMockSession) GetBridgeTransaction

func (_FastBridgeMock *FastBridgeMockSession) GetBridgeTransaction(request []byte) (IFastBridgeBridgeTransaction, error)

GetBridgeTransaction is a free data retrieval call binding the contract method 0xac11fb1a.

Solidity: function getBridgeTransaction(bytes request) pure returns((uint32,uint32,address,address,address,address,uint256,uint256,uint256,bool,uint256,uint256))

func (*FastBridgeMockSession) GetEnumKeyByValue

func (_FastBridgeMock *FastBridgeMockSession) GetEnumKeyByValue(keyValue uint8) (string, error)

GetEnumKeyByValue is a free data retrieval call binding the contract method 0x85ad903d.

Solidity: function getEnumKeyByValue(uint8 keyValue) pure returns(string)

func (*FastBridgeMockSession) GetRoleAdmin

func (_FastBridgeMock *FastBridgeMockSession) GetRoleAdmin(role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*FastBridgeMockSession) GrantRole

func (_FastBridgeMock *FastBridgeMockSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*FastBridgeMockSession) HasRole

func (_FastBridgeMock *FastBridgeMockSession) HasRole(role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*FastBridgeMockSession) MockBridgeRelayer

func (_FastBridgeMock *FastBridgeMockSession) MockBridgeRelayer(transactionId [32]byte, relayer common.Address, to common.Address, originChainId uint32, originToken common.Address, destToken common.Address, originAmount *big.Int, destAmount *big.Int, chainGasAmount *big.Int) (*types.Transaction, error)

MockBridgeRelayer is a paid mutator transaction binding the contract method 0xc72870cc.

Solidity: function mockBridgeRelayer(bytes32 transactionId, address relayer, address to, uint32 originChainId, address originToken, address destToken, uint256 originAmount, uint256 destAmount, uint256 chainGasAmount) returns()

func (*FastBridgeMockSession) MockBridgeRequest

func (_FastBridgeMock *FastBridgeMockSession) MockBridgeRequest(transactionId [32]byte, sender common.Address, params IFastBridgeBridgeParams) (*types.Transaction, error)

MockBridgeRequest is a paid mutator transaction binding the contract method 0xacaebbf1.

Solidity: function mockBridgeRequest(bytes32 transactionId, address sender, (uint32,address,address,address,address,uint256,uint256,bool,uint256) params) returns()

func (*FastBridgeMockSession) MockBridgeRequestRaw

func (_FastBridgeMock *FastBridgeMockSession) MockBridgeRequestRaw(transactionId [32]byte, sender common.Address, request []byte) (*types.Transaction, error)

MockBridgeRequestRaw is a paid mutator transaction binding the contract method 0xaedf009d.

Solidity: function mockBridgeRequestRaw(bytes32 transactionId, address sender, bytes request) returns()

func (*FastBridgeMockSession) Nonce

func (_FastBridgeMock *FastBridgeMockSession) Nonce() (*big.Int, error)

Nonce is a free data retrieval call binding the contract method 0xaffed0e0.

Solidity: function nonce() view returns(uint256)

func (*FastBridgeMockSession) ProtocolFeeRate

func (_FastBridgeMock *FastBridgeMockSession) ProtocolFeeRate() (*big.Int, error)

ProtocolFeeRate is a free data retrieval call binding the contract method 0x58f85880.

Solidity: function protocolFeeRate() view returns(uint256)

func (*FastBridgeMockSession) ProtocolFees

func (_FastBridgeMock *FastBridgeMockSession) ProtocolFees(arg0 common.Address) (*big.Int, error)

ProtocolFees is a free data retrieval call binding the contract method 0xdcf844a7.

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

func (*FastBridgeMockSession) Prove

func (_FastBridgeMock *FastBridgeMockSession) Prove(request []byte, destTxHash [32]byte) (*types.Transaction, error)

Prove is a paid mutator transaction binding the contract method 0x886d36ff.

Solidity: function prove(bytes request, bytes32 destTxHash) returns()

func (*FastBridgeMockSession) RELAYERROLE

func (_FastBridgeMock *FastBridgeMockSession) RELAYERROLE() ([32]byte, error)

RELAYERROLE is a free data retrieval call binding the contract method 0x926d7d7f.

Solidity: function RELAYER_ROLE() view returns(bytes32)

func (*FastBridgeMockSession) Refund

func (_FastBridgeMock *FastBridgeMockSession) Refund(request []byte) (*types.Transaction, error)

Refund is a paid mutator transaction binding the contract method 0x5eb7d946.

Solidity: function refund(bytes request) returns()

func (*FastBridgeMockSession) Relay

func (_FastBridgeMock *FastBridgeMockSession) Relay(request []byte) (*types.Transaction, error)

Relay is a paid mutator transaction binding the contract method 0x8f0d6f17.

Solidity: function relay(bytes request) payable returns()

func (*FastBridgeMockSession) RemoveGovernor

func (_FastBridgeMock *FastBridgeMockSession) RemoveGovernor(_governor common.Address) (*types.Transaction, error)

RemoveGovernor is a paid mutator transaction binding the contract method 0xeecdac88.

Solidity: function removeGovernor(address _governor) returns()

func (*FastBridgeMockSession) RemoveGuard

func (_FastBridgeMock *FastBridgeMockSession) RemoveGuard(_guard common.Address) (*types.Transaction, error)

RemoveGuard is a paid mutator transaction binding the contract method 0xb6235016.

Solidity: function removeGuard(address _guard) returns()

func (*FastBridgeMockSession) RemoveRelayer

func (_FastBridgeMock *FastBridgeMockSession) RemoveRelayer(_relayer common.Address) (*types.Transaction, error)

RemoveRelayer is a paid mutator transaction binding the contract method 0x60f0a5ac.

Solidity: function removeRelayer(address _relayer) returns()

func (*FastBridgeMockSession) RenounceRole

func (_FastBridgeMock *FastBridgeMockSession) RenounceRole(role [32]byte, callerConfirmation common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address callerConfirmation) returns()

func (*FastBridgeMockSession) RevokeRole

func (_FastBridgeMock *FastBridgeMockSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

func (*FastBridgeMockSession) SetChainGasAmount

func (_FastBridgeMock *FastBridgeMockSession) SetChainGasAmount(newChainGasAmount *big.Int) (*types.Transaction, error)

SetChainGasAmount is a paid mutator transaction binding the contract method 0xb250fe6b.

Solidity: function setChainGasAmount(uint256 newChainGasAmount) returns()

func (*FastBridgeMockSession) SetProtocolFeeRate

func (_FastBridgeMock *FastBridgeMockSession) SetProtocolFeeRate(newFeeRate *big.Int) (*types.Transaction, error)

SetProtocolFeeRate is a paid mutator transaction binding the contract method 0xb13aa2d6.

Solidity: function setProtocolFeeRate(uint256 newFeeRate) returns()

func (*FastBridgeMockSession) SupportsInterface

func (_FastBridgeMock *FastBridgeMockSession) SupportsInterface(interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

func (*FastBridgeMockSession) SweepProtocolFees

func (_FastBridgeMock *FastBridgeMockSession) SweepProtocolFees(token common.Address, recipient common.Address) (*types.Transaction, error)

SweepProtocolFees is a paid mutator transaction binding the contract method 0x06f333f2.

Solidity: function sweepProtocolFees(address token, address recipient) returns()

type FastBridgeMockTransactor

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

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

func NewFastBridgeMockTransactor

func NewFastBridgeMockTransactor(address common.Address, transactor bind.ContractTransactor) (*FastBridgeMockTransactor, error)

NewFastBridgeMockTransactor creates a new write-only instance of FastBridgeMock, bound to a specific deployed contract.

func (*FastBridgeMockTransactor) AddGovernor

func (_FastBridgeMock *FastBridgeMockTransactor) AddGovernor(opts *bind.TransactOpts, _governor common.Address) (*types.Transaction, error)

AddGovernor is a paid mutator transaction binding the contract method 0x3c4a25d0.

Solidity: function addGovernor(address _governor) returns()

func (*FastBridgeMockTransactor) AddGuard

func (_FastBridgeMock *FastBridgeMockTransactor) AddGuard(opts *bind.TransactOpts, _guard common.Address) (*types.Transaction, error)

AddGuard is a paid mutator transaction binding the contract method 0x6913a63c.

Solidity: function addGuard(address _guard) returns()

func (*FastBridgeMockTransactor) AddRelayer

func (_FastBridgeMock *FastBridgeMockTransactor) AddRelayer(opts *bind.TransactOpts, _relayer common.Address) (*types.Transaction, error)

AddRelayer is a paid mutator transaction binding the contract method 0xdd39f00d.

Solidity: function addRelayer(address _relayer) returns()

func (*FastBridgeMockTransactor) Bridge

func (_FastBridgeMock *FastBridgeMockTransactor) Bridge(opts *bind.TransactOpts, params IFastBridgeBridgeParams) (*types.Transaction, error)

Bridge is a paid mutator transaction binding the contract method 0x45851694.

Solidity: function bridge((uint32,address,address,address,address,uint256,uint256,bool,uint256) params) payable returns()

func (*FastBridgeMockTransactor) Claim

func (_FastBridgeMock *FastBridgeMockTransactor) Claim(opts *bind.TransactOpts, request []byte, to common.Address) (*types.Transaction, error)

Claim is a paid mutator transaction binding the contract method 0x41fcb612.

Solidity: function claim(bytes request, address to) returns()

func (*FastBridgeMockTransactor) Dispute

func (_FastBridgeMock *FastBridgeMockTransactor) Dispute(opts *bind.TransactOpts, transactionId [32]byte) (*types.Transaction, error)

Dispute is a paid mutator transaction binding the contract method 0xadd98c70.

Solidity: function dispute(bytes32 transactionId) returns()

func (*FastBridgeMockTransactor) GrantRole

func (_FastBridgeMock *FastBridgeMockTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*FastBridgeMockTransactor) MockBridgeRelayer

func (_FastBridgeMock *FastBridgeMockTransactor) MockBridgeRelayer(opts *bind.TransactOpts, transactionId [32]byte, relayer common.Address, to common.Address, originChainId uint32, originToken common.Address, destToken common.Address, originAmount *big.Int, destAmount *big.Int, chainGasAmount *big.Int) (*types.Transaction, error)

MockBridgeRelayer is a paid mutator transaction binding the contract method 0xc72870cc.

Solidity: function mockBridgeRelayer(bytes32 transactionId, address relayer, address to, uint32 originChainId, address originToken, address destToken, uint256 originAmount, uint256 destAmount, uint256 chainGasAmount) returns()

func (*FastBridgeMockTransactor) MockBridgeRequest

func (_FastBridgeMock *FastBridgeMockTransactor) MockBridgeRequest(opts *bind.TransactOpts, transactionId [32]byte, sender common.Address, params IFastBridgeBridgeParams) (*types.Transaction, error)

MockBridgeRequest is a paid mutator transaction binding the contract method 0xacaebbf1.

Solidity: function mockBridgeRequest(bytes32 transactionId, address sender, (uint32,address,address,address,address,uint256,uint256,bool,uint256) params) returns()

func (*FastBridgeMockTransactor) MockBridgeRequestRaw

func (_FastBridgeMock *FastBridgeMockTransactor) MockBridgeRequestRaw(opts *bind.TransactOpts, transactionId [32]byte, sender common.Address, request []byte) (*types.Transaction, error)

MockBridgeRequestRaw is a paid mutator transaction binding the contract method 0xaedf009d.

Solidity: function mockBridgeRequestRaw(bytes32 transactionId, address sender, bytes request) returns()

func (*FastBridgeMockTransactor) Prove

func (_FastBridgeMock *FastBridgeMockTransactor) Prove(opts *bind.TransactOpts, request []byte, destTxHash [32]byte) (*types.Transaction, error)

Prove is a paid mutator transaction binding the contract method 0x886d36ff.

Solidity: function prove(bytes request, bytes32 destTxHash) returns()

func (*FastBridgeMockTransactor) Refund

func (_FastBridgeMock *FastBridgeMockTransactor) Refund(opts *bind.TransactOpts, request []byte) (*types.Transaction, error)

Refund is a paid mutator transaction binding the contract method 0x5eb7d946.

Solidity: function refund(bytes request) returns()

func (*FastBridgeMockTransactor) Relay

func (_FastBridgeMock *FastBridgeMockTransactor) Relay(opts *bind.TransactOpts, request []byte) (*types.Transaction, error)

Relay is a paid mutator transaction binding the contract method 0x8f0d6f17.

Solidity: function relay(bytes request) payable returns()

func (*FastBridgeMockTransactor) RemoveGovernor

func (_FastBridgeMock *FastBridgeMockTransactor) RemoveGovernor(opts *bind.TransactOpts, _governor common.Address) (*types.Transaction, error)

RemoveGovernor is a paid mutator transaction binding the contract method 0xeecdac88.

Solidity: function removeGovernor(address _governor) returns()

func (*FastBridgeMockTransactor) RemoveGuard

func (_FastBridgeMock *FastBridgeMockTransactor) RemoveGuard(opts *bind.TransactOpts, _guard common.Address) (*types.Transaction, error)

RemoveGuard is a paid mutator transaction binding the contract method 0xb6235016.

Solidity: function removeGuard(address _guard) returns()

func (*FastBridgeMockTransactor) RemoveRelayer

func (_FastBridgeMock *FastBridgeMockTransactor) RemoveRelayer(opts *bind.TransactOpts, _relayer common.Address) (*types.Transaction, error)

RemoveRelayer is a paid mutator transaction binding the contract method 0x60f0a5ac.

Solidity: function removeRelayer(address _relayer) returns()

func (*FastBridgeMockTransactor) RenounceRole

func (_FastBridgeMock *FastBridgeMockTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, callerConfirmation common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address callerConfirmation) returns()

func (*FastBridgeMockTransactor) RevokeRole

func (_FastBridgeMock *FastBridgeMockTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

func (*FastBridgeMockTransactor) SetChainGasAmount

func (_FastBridgeMock *FastBridgeMockTransactor) SetChainGasAmount(opts *bind.TransactOpts, newChainGasAmount *big.Int) (*types.Transaction, error)

SetChainGasAmount is a paid mutator transaction binding the contract method 0xb250fe6b.

Solidity: function setChainGasAmount(uint256 newChainGasAmount) returns()

func (*FastBridgeMockTransactor) SetProtocolFeeRate

func (_FastBridgeMock *FastBridgeMockTransactor) SetProtocolFeeRate(opts *bind.TransactOpts, newFeeRate *big.Int) (*types.Transaction, error)

SetProtocolFeeRate is a paid mutator transaction binding the contract method 0xb13aa2d6.

Solidity: function setProtocolFeeRate(uint256 newFeeRate) returns()

func (*FastBridgeMockTransactor) SweepProtocolFees

func (_FastBridgeMock *FastBridgeMockTransactor) SweepProtocolFees(opts *bind.TransactOpts, token common.Address, recipient common.Address) (*types.Transaction, error)

SweepProtocolFees is a paid mutator transaction binding the contract method 0x06f333f2.

Solidity: function sweepProtocolFees(address token, address recipient) returns()

type FastBridgeMockTransactorRaw

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

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

func (*FastBridgeMockTransactorRaw) Transact

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

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

func (*FastBridgeMockTransactorRaw) Transfer

func (_FastBridgeMock *FastBridgeMockTransactorRaw) 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 FastBridgeMockTransactorSession

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

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

func (*FastBridgeMockTransactorSession) AddGovernor

func (_FastBridgeMock *FastBridgeMockTransactorSession) AddGovernor(_governor common.Address) (*types.Transaction, error)

AddGovernor is a paid mutator transaction binding the contract method 0x3c4a25d0.

Solidity: function addGovernor(address _governor) returns()

func (*FastBridgeMockTransactorSession) AddGuard

func (_FastBridgeMock *FastBridgeMockTransactorSession) AddGuard(_guard common.Address) (*types.Transaction, error)

AddGuard is a paid mutator transaction binding the contract method 0x6913a63c.

Solidity: function addGuard(address _guard) returns()

func (*FastBridgeMockTransactorSession) AddRelayer

func (_FastBridgeMock *FastBridgeMockTransactorSession) AddRelayer(_relayer common.Address) (*types.Transaction, error)

AddRelayer is a paid mutator transaction binding the contract method 0xdd39f00d.

Solidity: function addRelayer(address _relayer) returns()

func (*FastBridgeMockTransactorSession) Bridge

Bridge is a paid mutator transaction binding the contract method 0x45851694.

Solidity: function bridge((uint32,address,address,address,address,uint256,uint256,bool,uint256) params) payable returns()

func (*FastBridgeMockTransactorSession) Claim

func (_FastBridgeMock *FastBridgeMockTransactorSession) Claim(request []byte, to common.Address) (*types.Transaction, error)

Claim is a paid mutator transaction binding the contract method 0x41fcb612.

Solidity: function claim(bytes request, address to) returns()

func (*FastBridgeMockTransactorSession) Dispute

func (_FastBridgeMock *FastBridgeMockTransactorSession) Dispute(transactionId [32]byte) (*types.Transaction, error)

Dispute is a paid mutator transaction binding the contract method 0xadd98c70.

Solidity: function dispute(bytes32 transactionId) returns()

func (*FastBridgeMockTransactorSession) GrantRole

func (_FastBridgeMock *FastBridgeMockTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*FastBridgeMockTransactorSession) MockBridgeRelayer

func (_FastBridgeMock *FastBridgeMockTransactorSession) MockBridgeRelayer(transactionId [32]byte, relayer common.Address, to common.Address, originChainId uint32, originToken common.Address, destToken common.Address, originAmount *big.Int, destAmount *big.Int, chainGasAmount *big.Int) (*types.Transaction, error)

MockBridgeRelayer is a paid mutator transaction binding the contract method 0xc72870cc.

Solidity: function mockBridgeRelayer(bytes32 transactionId, address relayer, address to, uint32 originChainId, address originToken, address destToken, uint256 originAmount, uint256 destAmount, uint256 chainGasAmount) returns()

func (*FastBridgeMockTransactorSession) MockBridgeRequest

func (_FastBridgeMock *FastBridgeMockTransactorSession) MockBridgeRequest(transactionId [32]byte, sender common.Address, params IFastBridgeBridgeParams) (*types.Transaction, error)

MockBridgeRequest is a paid mutator transaction binding the contract method 0xacaebbf1.

Solidity: function mockBridgeRequest(bytes32 transactionId, address sender, (uint32,address,address,address,address,uint256,uint256,bool,uint256) params) returns()

func (*FastBridgeMockTransactorSession) MockBridgeRequestRaw

func (_FastBridgeMock *FastBridgeMockTransactorSession) MockBridgeRequestRaw(transactionId [32]byte, sender common.Address, request []byte) (*types.Transaction, error)

MockBridgeRequestRaw is a paid mutator transaction binding the contract method 0xaedf009d.

Solidity: function mockBridgeRequestRaw(bytes32 transactionId, address sender, bytes request) returns()

func (*FastBridgeMockTransactorSession) Prove

func (_FastBridgeMock *FastBridgeMockTransactorSession) Prove(request []byte, destTxHash [32]byte) (*types.Transaction, error)

Prove is a paid mutator transaction binding the contract method 0x886d36ff.

Solidity: function prove(bytes request, bytes32 destTxHash) returns()

func (*FastBridgeMockTransactorSession) Refund

func (_FastBridgeMock *FastBridgeMockTransactorSession) Refund(request []byte) (*types.Transaction, error)

Refund is a paid mutator transaction binding the contract method 0x5eb7d946.

Solidity: function refund(bytes request) returns()

func (*FastBridgeMockTransactorSession) Relay

func (_FastBridgeMock *FastBridgeMockTransactorSession) Relay(request []byte) (*types.Transaction, error)

Relay is a paid mutator transaction binding the contract method 0x8f0d6f17.

Solidity: function relay(bytes request) payable returns()

func (*FastBridgeMockTransactorSession) RemoveGovernor

func (_FastBridgeMock *FastBridgeMockTransactorSession) RemoveGovernor(_governor common.Address) (*types.Transaction, error)

RemoveGovernor is a paid mutator transaction binding the contract method 0xeecdac88.

Solidity: function removeGovernor(address _governor) returns()

func (*FastBridgeMockTransactorSession) RemoveGuard

func (_FastBridgeMock *FastBridgeMockTransactorSession) RemoveGuard(_guard common.Address) (*types.Transaction, error)

RemoveGuard is a paid mutator transaction binding the contract method 0xb6235016.

Solidity: function removeGuard(address _guard) returns()

func (*FastBridgeMockTransactorSession) RemoveRelayer

func (_FastBridgeMock *FastBridgeMockTransactorSession) RemoveRelayer(_relayer common.Address) (*types.Transaction, error)

RemoveRelayer is a paid mutator transaction binding the contract method 0x60f0a5ac.

Solidity: function removeRelayer(address _relayer) returns()

func (*FastBridgeMockTransactorSession) RenounceRole

func (_FastBridgeMock *FastBridgeMockTransactorSession) RenounceRole(role [32]byte, callerConfirmation common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address callerConfirmation) returns()

func (*FastBridgeMockTransactorSession) RevokeRole

func (_FastBridgeMock *FastBridgeMockTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

func (*FastBridgeMockTransactorSession) SetChainGasAmount

func (_FastBridgeMock *FastBridgeMockTransactorSession) SetChainGasAmount(newChainGasAmount *big.Int) (*types.Transaction, error)

SetChainGasAmount is a paid mutator transaction binding the contract method 0xb250fe6b.

Solidity: function setChainGasAmount(uint256 newChainGasAmount) returns()

func (*FastBridgeMockTransactorSession) SetProtocolFeeRate

func (_FastBridgeMock *FastBridgeMockTransactorSession) SetProtocolFeeRate(newFeeRate *big.Int) (*types.Transaction, error)

SetProtocolFeeRate is a paid mutator transaction binding the contract method 0xb13aa2d6.

Solidity: function setProtocolFeeRate(uint256 newFeeRate) returns()

func (*FastBridgeMockTransactorSession) SweepProtocolFees

func (_FastBridgeMock *FastBridgeMockTransactorSession) SweepProtocolFees(token common.Address, recipient common.Address) (*types.Transaction, error)

SweepProtocolFees is a paid mutator transaction binding the contract method 0x06f333f2.

Solidity: function sweepProtocolFees(address token, address recipient) returns()

type FastBridgeRaw

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

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

func (*FastBridgeRaw) Call

func (_FastBridge *FastBridgeRaw) 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 (*FastBridgeRaw) Transact

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

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

func (*FastBridgeRaw) Transfer

func (_FastBridge *FastBridgeRaw) 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 FastBridgeRelayerAdded

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

FastBridgeRelayerAdded represents a RelayerAdded event raised by the FastBridge contract.

type FastBridgeRelayerAddedIterator

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

FastBridgeRelayerAddedIterator is returned from FilterRelayerAdded and is used to iterate over the raw logs and unpacked data for RelayerAdded events raised by the FastBridge contract.

func (*FastBridgeRelayerAddedIterator) Close

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

func (*FastBridgeRelayerAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FastBridgeRelayerAddedIterator) 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 FastBridgeRelayerRemoved

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

FastBridgeRelayerRemoved represents a RelayerRemoved event raised by the FastBridge contract.

type FastBridgeRelayerRemovedIterator

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

FastBridgeRelayerRemovedIterator is returned from FilterRelayerRemoved and is used to iterate over the raw logs and unpacked data for RelayerRemoved events raised by the FastBridge contract.

func (*FastBridgeRelayerRemovedIterator) Close

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

func (*FastBridgeRelayerRemovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FastBridgeRelayerRemovedIterator) 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 FastBridgeRoleAdminChanged

type FastBridgeRoleAdminChanged struct {
	Role              [32]byte
	PreviousAdminRole [32]byte
	NewAdminRole      [32]byte
	Raw               types.Log // Blockchain specific contextual infos
}

FastBridgeRoleAdminChanged represents a RoleAdminChanged event raised by the FastBridge contract.

type FastBridgeRoleAdminChangedIterator

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

FastBridgeRoleAdminChangedIterator is returned from FilterRoleAdminChanged and is used to iterate over the raw logs and unpacked data for RoleAdminChanged events raised by the FastBridge contract.

func (*FastBridgeRoleAdminChangedIterator) Close

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

func (*FastBridgeRoleAdminChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FastBridgeRoleAdminChangedIterator) 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 FastBridgeRoleGranted

type FastBridgeRoleGranted struct {
	Role    [32]byte
	Account common.Address
	Sender  common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

FastBridgeRoleGranted represents a RoleGranted event raised by the FastBridge contract.

type FastBridgeRoleGrantedIterator

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

FastBridgeRoleGrantedIterator is returned from FilterRoleGranted and is used to iterate over the raw logs and unpacked data for RoleGranted events raised by the FastBridge contract.

func (*FastBridgeRoleGrantedIterator) Close

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

func (*FastBridgeRoleGrantedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FastBridgeRoleGrantedIterator) 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 FastBridgeRoleRevoked

type FastBridgeRoleRevoked struct {
	Role    [32]byte
	Account common.Address
	Sender  common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

FastBridgeRoleRevoked represents a RoleRevoked event raised by the FastBridge contract.

type FastBridgeRoleRevokedIterator

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

FastBridgeRoleRevokedIterator is returned from FilterRoleRevoked and is used to iterate over the raw logs and unpacked data for RoleRevoked events raised by the FastBridge contract.

func (*FastBridgeRoleRevokedIterator) Close

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

func (*FastBridgeRoleRevokedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FastBridgeRoleRevokedIterator) 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 FastBridgeSession

type FastBridgeSession struct {
	Contract     *FastBridge       // 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
}

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

func (*FastBridgeSession) AddGovernor

func (_FastBridge *FastBridgeSession) AddGovernor(_governor common.Address) (*types.Transaction, error)

AddGovernor is a paid mutator transaction binding the contract method 0x3c4a25d0.

Solidity: function addGovernor(address _governor) returns()

func (*FastBridgeSession) AddGuard

func (_FastBridge *FastBridgeSession) AddGuard(_guard common.Address) (*types.Transaction, error)

AddGuard is a paid mutator transaction binding the contract method 0x6913a63c.

Solidity: function addGuard(address _guard) returns()

func (*FastBridgeSession) AddRelayer

func (_FastBridge *FastBridgeSession) AddRelayer(_relayer common.Address) (*types.Transaction, error)

AddRelayer is a paid mutator transaction binding the contract method 0xdd39f00d.

Solidity: function addRelayer(address _relayer) returns()

func (*FastBridgeSession) Bridge

func (_FastBridge *FastBridgeSession) Bridge(params IFastBridgeBridgeParams) (*types.Transaction, error)

Bridge is a paid mutator transaction binding the contract method 0x45851694.

Solidity: function bridge((uint32,address,address,address,address,uint256,uint256,bool,uint256) params) payable returns()

func (*FastBridgeSession) BridgeProofs

func (_FastBridge *FastBridgeSession) BridgeProofs(arg0 [32]byte) (struct {
	Timestamp *big.Int
	Relayer   common.Address
}, error)

BridgeProofs is a free data retrieval call binding the contract method 0x91ad5039.

Solidity: function bridgeProofs(bytes32 ) view returns(uint96 timestamp, address relayer)

func (*FastBridgeSession) BridgeRelays

func (_FastBridge *FastBridgeSession) BridgeRelays(arg0 [32]byte) (bool, error)

BridgeRelays is a free data retrieval call binding the contract method 0x8379a24f.

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

func (*FastBridgeSession) BridgeStatuses

func (_FastBridge *FastBridgeSession) BridgeStatuses(arg0 [32]byte) (uint8, error)

BridgeStatuses is a free data retrieval call binding the contract method 0x051287bc.

Solidity: function bridgeStatuses(bytes32 ) view returns(uint8)

func (*FastBridgeSession) CanClaim

func (_FastBridge *FastBridgeSession) CanClaim(transactionId [32]byte, relayer common.Address) (bool, error)

CanClaim is a free data retrieval call binding the contract method 0xaa9641ab.

Solidity: function canClaim(bytes32 transactionId, address relayer) view returns(bool)

func (*FastBridgeSession) ChainGasAmount

func (_FastBridge *FastBridgeSession) ChainGasAmount() (*big.Int, error)

ChainGasAmount is a free data retrieval call binding the contract method 0xe00a83e0.

Solidity: function chainGasAmount() view returns(uint256)

func (*FastBridgeSession) Claim

func (_FastBridge *FastBridgeSession) Claim(request []byte, to common.Address) (*types.Transaction, error)

Claim is a paid mutator transaction binding the contract method 0x41fcb612.

Solidity: function claim(bytes request, address to) returns()

func (*FastBridgeSession) DEFAULTADMINROLE

func (_FastBridge *FastBridgeSession) DEFAULTADMINROLE() ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*FastBridgeSession) DISPUTEPERIOD

func (_FastBridge *FastBridgeSession) DISPUTEPERIOD() (*big.Int, error)

DISPUTEPERIOD is a free data retrieval call binding the contract method 0xa5bbe22b.

Solidity: function DISPUTE_PERIOD() view returns(uint256)

func (*FastBridgeSession) DeployBlock

func (_FastBridge *FastBridgeSession) DeployBlock() (*big.Int, error)

DeployBlock is a free data retrieval call binding the contract method 0xa3ec191a.

Solidity: function deployBlock() view returns(uint256)

func (*FastBridgeSession) Dispute

func (_FastBridge *FastBridgeSession) Dispute(transactionId [32]byte) (*types.Transaction, error)

Dispute is a paid mutator transaction binding the contract method 0xadd98c70.

Solidity: function dispute(bytes32 transactionId) returns()

func (*FastBridgeSession) FEEBPS

func (_FastBridge *FastBridgeSession) FEEBPS() (*big.Int, error)

FEEBPS is a free data retrieval call binding the contract method 0xbf333f2c.

Solidity: function FEE_BPS() view returns(uint256)

func (*FastBridgeSession) FEERATEMAX

func (_FastBridge *FastBridgeSession) FEERATEMAX() (*big.Int, error)

FEERATEMAX is a free data retrieval call binding the contract method 0x0f5f6ed7.

Solidity: function FEE_RATE_MAX() view returns(uint256)

func (*FastBridgeSession) GOVERNORROLE

func (_FastBridge *FastBridgeSession) GOVERNORROLE() ([32]byte, error)

GOVERNORROLE is a free data retrieval call binding the contract method 0xccc57490.

Solidity: function GOVERNOR_ROLE() view returns(bytes32)

func (*FastBridgeSession) GUARDROLE

func (_FastBridge *FastBridgeSession) GUARDROLE() ([32]byte, error)

GUARDROLE is a free data retrieval call binding the contract method 0x03ed0ee5.

Solidity: function GUARD_ROLE() view returns(bytes32)

func (*FastBridgeSession) GetBridgeTransaction

func (_FastBridge *FastBridgeSession) GetBridgeTransaction(request []byte) (IFastBridgeBridgeTransaction, error)

GetBridgeTransaction is a free data retrieval call binding the contract method 0xac11fb1a.

Solidity: function getBridgeTransaction(bytes request) pure returns((uint32,uint32,address,address,address,address,uint256,uint256,uint256,bool,uint256,uint256))

func (*FastBridgeSession) GetRoleAdmin

func (_FastBridge *FastBridgeSession) GetRoleAdmin(role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*FastBridgeSession) GrantRole

func (_FastBridge *FastBridgeSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*FastBridgeSession) HasRole

func (_FastBridge *FastBridgeSession) HasRole(role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*FastBridgeSession) MINDEADLINEPERIOD

func (_FastBridge *FastBridgeSession) MINDEADLINEPERIOD() (*big.Int, error)

MINDEADLINEPERIOD is a free data retrieval call binding the contract method 0x820688d5.

Solidity: function MIN_DEADLINE_PERIOD() view returns(uint256)

func (*FastBridgeSession) Nonce

func (_FastBridge *FastBridgeSession) Nonce() (*big.Int, error)

Nonce is a free data retrieval call binding the contract method 0xaffed0e0.

Solidity: function nonce() view returns(uint256)

func (*FastBridgeSession) PROVEPERIOD added in v0.0.24

func (_FastBridge *FastBridgeSession) PROVEPERIOD() (*big.Int, error)

PROVEPERIOD is a free data retrieval call binding the contract method 0xd3cbc760.

Solidity: function PROVE_PERIOD() view returns(uint256)

func (*FastBridgeSession) ProtocolFeeRate

func (_FastBridge *FastBridgeSession) ProtocolFeeRate() (*big.Int, error)

ProtocolFeeRate is a free data retrieval call binding the contract method 0x58f85880.

Solidity: function protocolFeeRate() view returns(uint256)

func (*FastBridgeSession) ProtocolFees

func (_FastBridge *FastBridgeSession) ProtocolFees(arg0 common.Address) (*big.Int, error)

ProtocolFees is a free data retrieval call binding the contract method 0xdcf844a7.

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

func (*FastBridgeSession) Prove

func (_FastBridge *FastBridgeSession) Prove(request []byte, destTxHash [32]byte) (*types.Transaction, error)

Prove is a paid mutator transaction binding the contract method 0x886d36ff.

Solidity: function prove(bytes request, bytes32 destTxHash) returns()

func (*FastBridgeSession) RELAYERROLE

func (_FastBridge *FastBridgeSession) RELAYERROLE() ([32]byte, error)

RELAYERROLE is a free data retrieval call binding the contract method 0x926d7d7f.

Solidity: function RELAYER_ROLE() view returns(bytes32)

func (*FastBridgeSession) Refund

func (_FastBridge *FastBridgeSession) Refund(request []byte) (*types.Transaction, error)

Refund is a paid mutator transaction binding the contract method 0x5eb7d946.

Solidity: function refund(bytes request) returns()

func (*FastBridgeSession) Relay

func (_FastBridge *FastBridgeSession) Relay(request []byte) (*types.Transaction, error)

Relay is a paid mutator transaction binding the contract method 0x8f0d6f17.

Solidity: function relay(bytes request) payable returns()

func (*FastBridgeSession) RemoveGovernor

func (_FastBridge *FastBridgeSession) RemoveGovernor(_governor common.Address) (*types.Transaction, error)

RemoveGovernor is a paid mutator transaction binding the contract method 0xeecdac88.

Solidity: function removeGovernor(address _governor) returns()

func (*FastBridgeSession) RemoveGuard

func (_FastBridge *FastBridgeSession) RemoveGuard(_guard common.Address) (*types.Transaction, error)

RemoveGuard is a paid mutator transaction binding the contract method 0xb6235016.

Solidity: function removeGuard(address _guard) returns()

func (*FastBridgeSession) RemoveRelayer

func (_FastBridge *FastBridgeSession) RemoveRelayer(_relayer common.Address) (*types.Transaction, error)

RemoveRelayer is a paid mutator transaction binding the contract method 0x60f0a5ac.

Solidity: function removeRelayer(address _relayer) returns()

func (*FastBridgeSession) RenounceRole

func (_FastBridge *FastBridgeSession) RenounceRole(role [32]byte, callerConfirmation common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address callerConfirmation) returns()

func (*FastBridgeSession) RevokeRole

func (_FastBridge *FastBridgeSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

func (*FastBridgeSession) SetChainGasAmount

func (_FastBridge *FastBridgeSession) SetChainGasAmount(newChainGasAmount *big.Int) (*types.Transaction, error)

SetChainGasAmount is a paid mutator transaction binding the contract method 0xb250fe6b.

Solidity: function setChainGasAmount(uint256 newChainGasAmount) returns()

func (*FastBridgeSession) SetProtocolFeeRate

func (_FastBridge *FastBridgeSession) SetProtocolFeeRate(newFeeRate *big.Int) (*types.Transaction, error)

SetProtocolFeeRate is a paid mutator transaction binding the contract method 0xb13aa2d6.

Solidity: function setProtocolFeeRate(uint256 newFeeRate) returns()

func (*FastBridgeSession) SupportsInterface

func (_FastBridge *FastBridgeSession) SupportsInterface(interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

func (*FastBridgeSession) SweepProtocolFees

func (_FastBridge *FastBridgeSession) SweepProtocolFees(token common.Address, recipient common.Address) (*types.Transaction, error)

SweepProtocolFees is a paid mutator transaction binding the contract method 0x06f333f2.

Solidity: function sweepProtocolFees(address token, address recipient) returns()

type FastBridgeTransactor

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

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

func NewFastBridgeTransactor

func NewFastBridgeTransactor(address common.Address, transactor bind.ContractTransactor) (*FastBridgeTransactor, error)

NewFastBridgeTransactor creates a new write-only instance of FastBridge, bound to a specific deployed contract.

func (*FastBridgeTransactor) AddGovernor

func (_FastBridge *FastBridgeTransactor) AddGovernor(opts *bind.TransactOpts, _governor common.Address) (*types.Transaction, error)

AddGovernor is a paid mutator transaction binding the contract method 0x3c4a25d0.

Solidity: function addGovernor(address _governor) returns()

func (*FastBridgeTransactor) AddGuard

func (_FastBridge *FastBridgeTransactor) AddGuard(opts *bind.TransactOpts, _guard common.Address) (*types.Transaction, error)

AddGuard is a paid mutator transaction binding the contract method 0x6913a63c.

Solidity: function addGuard(address _guard) returns()

func (*FastBridgeTransactor) AddRelayer

func (_FastBridge *FastBridgeTransactor) AddRelayer(opts *bind.TransactOpts, _relayer common.Address) (*types.Transaction, error)

AddRelayer is a paid mutator transaction binding the contract method 0xdd39f00d.

Solidity: function addRelayer(address _relayer) returns()

func (*FastBridgeTransactor) Bridge

func (_FastBridge *FastBridgeTransactor) Bridge(opts *bind.TransactOpts, params IFastBridgeBridgeParams) (*types.Transaction, error)

Bridge is a paid mutator transaction binding the contract method 0x45851694.

Solidity: function bridge((uint32,address,address,address,address,uint256,uint256,bool,uint256) params) payable returns()

func (*FastBridgeTransactor) Claim

func (_FastBridge *FastBridgeTransactor) Claim(opts *bind.TransactOpts, request []byte, to common.Address) (*types.Transaction, error)

Claim is a paid mutator transaction binding the contract method 0x41fcb612.

Solidity: function claim(bytes request, address to) returns()

func (*FastBridgeTransactor) Dispute

func (_FastBridge *FastBridgeTransactor) Dispute(opts *bind.TransactOpts, transactionId [32]byte) (*types.Transaction, error)

Dispute is a paid mutator transaction binding the contract method 0xadd98c70.

Solidity: function dispute(bytes32 transactionId) returns()

func (*FastBridgeTransactor) GrantRole

func (_FastBridge *FastBridgeTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*FastBridgeTransactor) Prove

func (_FastBridge *FastBridgeTransactor) Prove(opts *bind.TransactOpts, request []byte, destTxHash [32]byte) (*types.Transaction, error)

Prove is a paid mutator transaction binding the contract method 0x886d36ff.

Solidity: function prove(bytes request, bytes32 destTxHash) returns()

func (*FastBridgeTransactor) Refund

func (_FastBridge *FastBridgeTransactor) Refund(opts *bind.TransactOpts, request []byte) (*types.Transaction, error)

Refund is a paid mutator transaction binding the contract method 0x5eb7d946.

Solidity: function refund(bytes request) returns()

func (*FastBridgeTransactor) Relay

func (_FastBridge *FastBridgeTransactor) Relay(opts *bind.TransactOpts, request []byte) (*types.Transaction, error)

Relay is a paid mutator transaction binding the contract method 0x8f0d6f17.

Solidity: function relay(bytes request) payable returns()

func (*FastBridgeTransactor) RemoveGovernor

func (_FastBridge *FastBridgeTransactor) RemoveGovernor(opts *bind.TransactOpts, _governor common.Address) (*types.Transaction, error)

RemoveGovernor is a paid mutator transaction binding the contract method 0xeecdac88.

Solidity: function removeGovernor(address _governor) returns()

func (*FastBridgeTransactor) RemoveGuard

func (_FastBridge *FastBridgeTransactor) RemoveGuard(opts *bind.TransactOpts, _guard common.Address) (*types.Transaction, error)

RemoveGuard is a paid mutator transaction binding the contract method 0xb6235016.

Solidity: function removeGuard(address _guard) returns()

func (*FastBridgeTransactor) RemoveRelayer

func (_FastBridge *FastBridgeTransactor) RemoveRelayer(opts *bind.TransactOpts, _relayer common.Address) (*types.Transaction, error)

RemoveRelayer is a paid mutator transaction binding the contract method 0x60f0a5ac.

Solidity: function removeRelayer(address _relayer) returns()

func (*FastBridgeTransactor) RenounceRole

func (_FastBridge *FastBridgeTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, callerConfirmation common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address callerConfirmation) returns()

func (*FastBridgeTransactor) RevokeRole

func (_FastBridge *FastBridgeTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

func (*FastBridgeTransactor) SetChainGasAmount

func (_FastBridge *FastBridgeTransactor) SetChainGasAmount(opts *bind.TransactOpts, newChainGasAmount *big.Int) (*types.Transaction, error)

SetChainGasAmount is a paid mutator transaction binding the contract method 0xb250fe6b.

Solidity: function setChainGasAmount(uint256 newChainGasAmount) returns()

func (*FastBridgeTransactor) SetProtocolFeeRate

func (_FastBridge *FastBridgeTransactor) SetProtocolFeeRate(opts *bind.TransactOpts, newFeeRate *big.Int) (*types.Transaction, error)

SetProtocolFeeRate is a paid mutator transaction binding the contract method 0xb13aa2d6.

Solidity: function setProtocolFeeRate(uint256 newFeeRate) returns()

func (*FastBridgeTransactor) SweepProtocolFees

func (_FastBridge *FastBridgeTransactor) SweepProtocolFees(opts *bind.TransactOpts, token common.Address, recipient common.Address) (*types.Transaction, error)

SweepProtocolFees is a paid mutator transaction binding the contract method 0x06f333f2.

Solidity: function sweepProtocolFees(address token, address recipient) returns()

type FastBridgeTransactorRaw

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

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

func (*FastBridgeTransactorRaw) Transact

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

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

func (*FastBridgeTransactorRaw) Transfer

func (_FastBridge *FastBridgeTransactorRaw) 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 FastBridgeTransactorSession

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

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

func (*FastBridgeTransactorSession) AddGovernor

func (_FastBridge *FastBridgeTransactorSession) AddGovernor(_governor common.Address) (*types.Transaction, error)

AddGovernor is a paid mutator transaction binding the contract method 0x3c4a25d0.

Solidity: function addGovernor(address _governor) returns()

func (*FastBridgeTransactorSession) AddGuard

func (_FastBridge *FastBridgeTransactorSession) AddGuard(_guard common.Address) (*types.Transaction, error)

AddGuard is a paid mutator transaction binding the contract method 0x6913a63c.

Solidity: function addGuard(address _guard) returns()

func (*FastBridgeTransactorSession) AddRelayer

func (_FastBridge *FastBridgeTransactorSession) AddRelayer(_relayer common.Address) (*types.Transaction, error)

AddRelayer is a paid mutator transaction binding the contract method 0xdd39f00d.

Solidity: function addRelayer(address _relayer) returns()

func (*FastBridgeTransactorSession) Bridge

Bridge is a paid mutator transaction binding the contract method 0x45851694.

Solidity: function bridge((uint32,address,address,address,address,uint256,uint256,bool,uint256) params) payable returns()

func (*FastBridgeTransactorSession) Claim

func (_FastBridge *FastBridgeTransactorSession) Claim(request []byte, to common.Address) (*types.Transaction, error)

Claim is a paid mutator transaction binding the contract method 0x41fcb612.

Solidity: function claim(bytes request, address to) returns()

func (*FastBridgeTransactorSession) Dispute

func (_FastBridge *FastBridgeTransactorSession) Dispute(transactionId [32]byte) (*types.Transaction, error)

Dispute is a paid mutator transaction binding the contract method 0xadd98c70.

Solidity: function dispute(bytes32 transactionId) returns()

func (*FastBridgeTransactorSession) GrantRole

func (_FastBridge *FastBridgeTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*FastBridgeTransactorSession) Prove

func (_FastBridge *FastBridgeTransactorSession) Prove(request []byte, destTxHash [32]byte) (*types.Transaction, error)

Prove is a paid mutator transaction binding the contract method 0x886d36ff.

Solidity: function prove(bytes request, bytes32 destTxHash) returns()

func (*FastBridgeTransactorSession) Refund

func (_FastBridge *FastBridgeTransactorSession) Refund(request []byte) (*types.Transaction, error)

Refund is a paid mutator transaction binding the contract method 0x5eb7d946.

Solidity: function refund(bytes request) returns()

func (*FastBridgeTransactorSession) Relay

func (_FastBridge *FastBridgeTransactorSession) Relay(request []byte) (*types.Transaction, error)

Relay is a paid mutator transaction binding the contract method 0x8f0d6f17.

Solidity: function relay(bytes request) payable returns()

func (*FastBridgeTransactorSession) RemoveGovernor

func (_FastBridge *FastBridgeTransactorSession) RemoveGovernor(_governor common.Address) (*types.Transaction, error)

RemoveGovernor is a paid mutator transaction binding the contract method 0xeecdac88.

Solidity: function removeGovernor(address _governor) returns()

func (*FastBridgeTransactorSession) RemoveGuard

func (_FastBridge *FastBridgeTransactorSession) RemoveGuard(_guard common.Address) (*types.Transaction, error)

RemoveGuard is a paid mutator transaction binding the contract method 0xb6235016.

Solidity: function removeGuard(address _guard) returns()

func (*FastBridgeTransactorSession) RemoveRelayer

func (_FastBridge *FastBridgeTransactorSession) RemoveRelayer(_relayer common.Address) (*types.Transaction, error)

RemoveRelayer is a paid mutator transaction binding the contract method 0x60f0a5ac.

Solidity: function removeRelayer(address _relayer) returns()

func (*FastBridgeTransactorSession) RenounceRole

func (_FastBridge *FastBridgeTransactorSession) RenounceRole(role [32]byte, callerConfirmation common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address callerConfirmation) returns()

func (*FastBridgeTransactorSession) RevokeRole

func (_FastBridge *FastBridgeTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

func (*FastBridgeTransactorSession) SetChainGasAmount

func (_FastBridge *FastBridgeTransactorSession) SetChainGasAmount(newChainGasAmount *big.Int) (*types.Transaction, error)

SetChainGasAmount is a paid mutator transaction binding the contract method 0xb250fe6b.

Solidity: function setChainGasAmount(uint256 newChainGasAmount) returns()

func (*FastBridgeTransactorSession) SetProtocolFeeRate

func (_FastBridge *FastBridgeTransactorSession) SetProtocolFeeRate(newFeeRate *big.Int) (*types.Transaction, error)

SetProtocolFeeRate is a paid mutator transaction binding the contract method 0xb13aa2d6.

Solidity: function setProtocolFeeRate(uint256 newFeeRate) returns()

func (*FastBridgeTransactorSession) SweepProtocolFees

func (_FastBridge *FastBridgeTransactorSession) SweepProtocolFees(token common.Address, recipient common.Address) (*types.Transaction, error)

SweepProtocolFees is a paid mutator transaction binding the contract method 0x06f333f2.

Solidity: function sweepProtocolFees(address token, address recipient) returns()

type IAccessControl

type IAccessControl struct {
	IAccessControlCaller     // Read-only binding to the contract
	IAccessControlTransactor // Write-only binding to the contract
	IAccessControlFilterer   // Log filterer for contract events
}

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

func NewIAccessControl

func NewIAccessControl(address common.Address, backend bind.ContractBackend) (*IAccessControl, error)

NewIAccessControl creates a new instance of IAccessControl, bound to a specific deployed contract.

type IAccessControlCaller

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

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

func NewIAccessControlCaller

func NewIAccessControlCaller(address common.Address, caller bind.ContractCaller) (*IAccessControlCaller, error)

NewIAccessControlCaller creates a new read-only instance of IAccessControl, bound to a specific deployed contract.

func (*IAccessControlCaller) GetRoleAdmin

func (_IAccessControl *IAccessControlCaller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*IAccessControlCaller) HasRole

func (_IAccessControl *IAccessControlCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

type IAccessControlCallerRaw

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

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

func (*IAccessControlCallerRaw) Call

func (_IAccessControl *IAccessControlCallerRaw) 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 IAccessControlCallerSession

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

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

func (*IAccessControlCallerSession) GetRoleAdmin

func (_IAccessControl *IAccessControlCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*IAccessControlCallerSession) HasRole

func (_IAccessControl *IAccessControlCallerSession) HasRole(role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

type IAccessControlFilterer

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

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

func NewIAccessControlFilterer

func NewIAccessControlFilterer(address common.Address, filterer bind.ContractFilterer) (*IAccessControlFilterer, error)

NewIAccessControlFilterer creates a new log filterer instance of IAccessControl, bound to a specific deployed contract.

func (*IAccessControlFilterer) FilterRoleAdminChanged

func (_IAccessControl *IAccessControlFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (*IAccessControlRoleAdminChangedIterator, error)

FilterRoleAdminChanged is a free log retrieval operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*IAccessControlFilterer) FilterRoleGranted

func (_IAccessControl *IAccessControlFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*IAccessControlRoleGrantedIterator, error)

FilterRoleGranted is a free log retrieval operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*IAccessControlFilterer) FilterRoleRevoked

func (_IAccessControl *IAccessControlFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*IAccessControlRoleRevokedIterator, error)

FilterRoleRevoked is a free log retrieval operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*IAccessControlFilterer) ParseRoleAdminChanged

func (_IAccessControl *IAccessControlFilterer) ParseRoleAdminChanged(log types.Log) (*IAccessControlRoleAdminChanged, error)

ParseRoleAdminChanged is a log parse operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*IAccessControlFilterer) ParseRoleGranted

func (_IAccessControl *IAccessControlFilterer) ParseRoleGranted(log types.Log) (*IAccessControlRoleGranted, error)

ParseRoleGranted is a log parse operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*IAccessControlFilterer) ParseRoleRevoked

func (_IAccessControl *IAccessControlFilterer) ParseRoleRevoked(log types.Log) (*IAccessControlRoleRevoked, error)

ParseRoleRevoked is a log parse operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*IAccessControlFilterer) WatchRoleAdminChanged

func (_IAccessControl *IAccessControlFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *IAccessControlRoleAdminChanged, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (event.Subscription, error)

WatchRoleAdminChanged is a free log subscription operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*IAccessControlFilterer) WatchRoleGranted

func (_IAccessControl *IAccessControlFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *IAccessControlRoleGranted, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)

WatchRoleGranted is a free log subscription operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*IAccessControlFilterer) WatchRoleRevoked

func (_IAccessControl *IAccessControlFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *IAccessControlRoleRevoked, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)

WatchRoleRevoked is a free log subscription operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

type IAccessControlRaw

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

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

func (*IAccessControlRaw) Call

func (_IAccessControl *IAccessControlRaw) 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 (*IAccessControlRaw) Transact

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

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

func (*IAccessControlRaw) Transfer

func (_IAccessControl *IAccessControlRaw) 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 IAccessControlRoleAdminChanged

type IAccessControlRoleAdminChanged struct {
	Role              [32]byte
	PreviousAdminRole [32]byte
	NewAdminRole      [32]byte
	Raw               types.Log // Blockchain specific contextual infos
}

IAccessControlRoleAdminChanged represents a RoleAdminChanged event raised by the IAccessControl contract.

type IAccessControlRoleAdminChangedIterator

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

IAccessControlRoleAdminChangedIterator is returned from FilterRoleAdminChanged and is used to iterate over the raw logs and unpacked data for RoleAdminChanged events raised by the IAccessControl contract.

func (*IAccessControlRoleAdminChangedIterator) Close

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

func (*IAccessControlRoleAdminChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IAccessControlRoleAdminChangedIterator) 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 IAccessControlRoleGranted

type IAccessControlRoleGranted struct {
	Role    [32]byte
	Account common.Address
	Sender  common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

IAccessControlRoleGranted represents a RoleGranted event raised by the IAccessControl contract.

type IAccessControlRoleGrantedIterator

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

IAccessControlRoleGrantedIterator is returned from FilterRoleGranted and is used to iterate over the raw logs and unpacked data for RoleGranted events raised by the IAccessControl contract.

func (*IAccessControlRoleGrantedIterator) Close

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

func (*IAccessControlRoleGrantedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IAccessControlRoleGrantedIterator) 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 IAccessControlRoleRevoked

type IAccessControlRoleRevoked struct {
	Role    [32]byte
	Account common.Address
	Sender  common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

IAccessControlRoleRevoked represents a RoleRevoked event raised by the IAccessControl contract.

type IAccessControlRoleRevokedIterator

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

IAccessControlRoleRevokedIterator is returned from FilterRoleRevoked and is used to iterate over the raw logs and unpacked data for RoleRevoked events raised by the IAccessControl contract.

func (*IAccessControlRoleRevokedIterator) Close

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

func (*IAccessControlRoleRevokedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IAccessControlRoleRevokedIterator) 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 IAccessControlSession

type IAccessControlSession struct {
	Contract     *IAccessControl   // 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
}

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

func (*IAccessControlSession) GetRoleAdmin

func (_IAccessControl *IAccessControlSession) GetRoleAdmin(role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*IAccessControlSession) GrantRole

func (_IAccessControl *IAccessControlSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*IAccessControlSession) HasRole

func (_IAccessControl *IAccessControlSession) HasRole(role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*IAccessControlSession) RenounceRole

func (_IAccessControl *IAccessControlSession) RenounceRole(role [32]byte, callerConfirmation common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address callerConfirmation) returns()

func (*IAccessControlSession) RevokeRole

func (_IAccessControl *IAccessControlSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

type IAccessControlTransactor

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

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

func NewIAccessControlTransactor

func NewIAccessControlTransactor(address common.Address, transactor bind.ContractTransactor) (*IAccessControlTransactor, error)

NewIAccessControlTransactor creates a new write-only instance of IAccessControl, bound to a specific deployed contract.

func (*IAccessControlTransactor) GrantRole

func (_IAccessControl *IAccessControlTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*IAccessControlTransactor) RenounceRole

func (_IAccessControl *IAccessControlTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, callerConfirmation common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address callerConfirmation) returns()

func (*IAccessControlTransactor) RevokeRole

func (_IAccessControl *IAccessControlTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

type IAccessControlTransactorRaw

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

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

func (*IAccessControlTransactorRaw) Transact

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

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

func (*IAccessControlTransactorRaw) Transfer

func (_IAccessControl *IAccessControlTransactorRaw) 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 IAccessControlTransactorSession

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

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

func (*IAccessControlTransactorSession) GrantRole

func (_IAccessControl *IAccessControlTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*IAccessControlTransactorSession) RenounceRole

func (_IAccessControl *IAccessControlTransactorSession) RenounceRole(role [32]byte, callerConfirmation common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address callerConfirmation) returns()

func (*IAccessControlTransactorSession) RevokeRole

func (_IAccessControl *IAccessControlTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

type IAdmin

type IAdmin struct {
	IAdminCaller     // Read-only binding to the contract
	IAdminTransactor // Write-only binding to the contract
	IAdminFilterer   // Log filterer for contract events
}

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

func NewIAdmin

func NewIAdmin(address common.Address, backend bind.ContractBackend) (*IAdmin, error)

NewIAdmin creates a new instance of IAdmin, bound to a specific deployed contract.

type IAdminCaller

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

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

func NewIAdminCaller

func NewIAdminCaller(address common.Address, caller bind.ContractCaller) (*IAdminCaller, error)

NewIAdminCaller creates a new read-only instance of IAdmin, bound to a specific deployed contract.

type IAdminCallerRaw

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

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

func (*IAdminCallerRaw) Call

func (_IAdmin *IAdminCallerRaw) 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 IAdminCallerSession

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

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

type IAdminChainGasAmountUpdated

type IAdminChainGasAmountUpdated struct {
	OldChainGasAmount *big.Int
	NewChainGasAmount *big.Int
	Raw               types.Log // Blockchain specific contextual infos
}

IAdminChainGasAmountUpdated represents a ChainGasAmountUpdated event raised by the IAdmin contract.

type IAdminChainGasAmountUpdatedIterator

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

IAdminChainGasAmountUpdatedIterator is returned from FilterChainGasAmountUpdated and is used to iterate over the raw logs and unpacked data for ChainGasAmountUpdated events raised by the IAdmin contract.

func (*IAdminChainGasAmountUpdatedIterator) Close

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

func (*IAdminChainGasAmountUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IAdminChainGasAmountUpdatedIterator) 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 IAdminFeeRateUpdated

type IAdminFeeRateUpdated struct {
	OldFeeRate *big.Int
	NewFeeRate *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

IAdminFeeRateUpdated represents a FeeRateUpdated event raised by the IAdmin contract.

type IAdminFeeRateUpdatedIterator

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

IAdminFeeRateUpdatedIterator is returned from FilterFeeRateUpdated and is used to iterate over the raw logs and unpacked data for FeeRateUpdated events raised by the IAdmin contract.

func (*IAdminFeeRateUpdatedIterator) Close

func (it *IAdminFeeRateUpdatedIterator) Close() error

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

func (*IAdminFeeRateUpdatedIterator) Error

func (it *IAdminFeeRateUpdatedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IAdminFeeRateUpdatedIterator) 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 IAdminFeesSwept

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

IAdminFeesSwept represents a FeesSwept event raised by the IAdmin contract.

type IAdminFeesSweptIterator

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

IAdminFeesSweptIterator is returned from FilterFeesSwept and is used to iterate over the raw logs and unpacked data for FeesSwept events raised by the IAdmin contract.

func (*IAdminFeesSweptIterator) Close

func (it *IAdminFeesSweptIterator) Close() error

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

func (*IAdminFeesSweptIterator) Error

func (it *IAdminFeesSweptIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IAdminFeesSweptIterator) Next

func (it *IAdminFeesSweptIterator) 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 IAdminFilterer

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

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

func NewIAdminFilterer

func NewIAdminFilterer(address common.Address, filterer bind.ContractFilterer) (*IAdminFilterer, error)

NewIAdminFilterer creates a new log filterer instance of IAdmin, bound to a specific deployed contract.

func (*IAdminFilterer) FilterChainGasAmountUpdated

func (_IAdmin *IAdminFilterer) FilterChainGasAmountUpdated(opts *bind.FilterOpts) (*IAdminChainGasAmountUpdatedIterator, error)

FilterChainGasAmountUpdated is a free log retrieval operation binding the contract event 0x5cf09b12f3f56b4c564d51b25b40360af6d795198adb61ae0806a36c294323fa.

Solidity: event ChainGasAmountUpdated(uint256 oldChainGasAmount, uint256 newChainGasAmount)

func (*IAdminFilterer) FilterFeeRateUpdated

func (_IAdmin *IAdminFilterer) FilterFeeRateUpdated(opts *bind.FilterOpts) (*IAdminFeeRateUpdatedIterator, error)

FilterFeeRateUpdated is a free log retrieval operation binding the contract event 0x14914da2bf76024616fbe1859783fcd4dbddcb179b1f3a854949fbf920dcb957.

Solidity: event FeeRateUpdated(uint256 oldFeeRate, uint256 newFeeRate)

func (*IAdminFilterer) FilterFeesSwept

func (_IAdmin *IAdminFilterer) FilterFeesSwept(opts *bind.FilterOpts) (*IAdminFeesSweptIterator, error)

FilterFeesSwept is a free log retrieval operation binding the contract event 0x244e51bc38c1452fa8aaf487bcb4bca36c2baa3a5fbdb776b1eabd8dc6d277cd.

Solidity: event FeesSwept(address token, address recipient, uint256 amount)

func (*IAdminFilterer) FilterGovernorAdded

func (_IAdmin *IAdminFilterer) FilterGovernorAdded(opts *bind.FilterOpts) (*IAdminGovernorAddedIterator, error)

FilterGovernorAdded is a free log retrieval operation binding the contract event 0xdc5a48d79e2e147530ff63ecdbed5a5a66adb9d5cf339384d5d076da197c40b5.

Solidity: event GovernorAdded(address governor)

func (*IAdminFilterer) FilterGovernorRemoved

func (_IAdmin *IAdminFilterer) FilterGovernorRemoved(opts *bind.FilterOpts) (*IAdminGovernorRemovedIterator, error)

FilterGovernorRemoved is a free log retrieval operation binding the contract event 0x1ebe834e73d60a5fec822c1e1727d34bc79f2ad977ed504581cc1822fe20fb5b.

Solidity: event GovernorRemoved(address governor)

func (*IAdminFilterer) FilterGuardAdded

func (_IAdmin *IAdminFilterer) FilterGuardAdded(opts *bind.FilterOpts) (*IAdminGuardAddedIterator, error)

FilterGuardAdded is a free log retrieval operation binding the contract event 0x93405f05cd04f0d1bd875f2de00f1f3890484ffd0589248953bdfd29ba7f2f59.

Solidity: event GuardAdded(address guard)

func (*IAdminFilterer) FilterGuardRemoved

func (_IAdmin *IAdminFilterer) FilterGuardRemoved(opts *bind.FilterOpts) (*IAdminGuardRemovedIterator, error)

FilterGuardRemoved is a free log retrieval operation binding the contract event 0x59926e0a78d12238b668b31c8e3f6ece235a59a00ede111d883e255b68c4d048.

Solidity: event GuardRemoved(address guard)

func (*IAdminFilterer) FilterRelayerAdded

func (_IAdmin *IAdminFilterer) FilterRelayerAdded(opts *bind.FilterOpts) (*IAdminRelayerAddedIterator, error)

FilterRelayerAdded is a free log retrieval operation binding the contract event 0x03580ee9f53a62b7cb409a2cb56f9be87747dd15017afc5cef6eef321e4fb2c5.

Solidity: event RelayerAdded(address relayer)

func (*IAdminFilterer) FilterRelayerRemoved

func (_IAdmin *IAdminFilterer) FilterRelayerRemoved(opts *bind.FilterOpts) (*IAdminRelayerRemovedIterator, error)

FilterRelayerRemoved is a free log retrieval operation binding the contract event 0x10e1f7ce9fd7d1b90a66d13a2ab3cb8dd7f29f3f8d520b143b063ccfbab6906b.

Solidity: event RelayerRemoved(address relayer)

func (*IAdminFilterer) ParseChainGasAmountUpdated

func (_IAdmin *IAdminFilterer) ParseChainGasAmountUpdated(log types.Log) (*IAdminChainGasAmountUpdated, error)

ParseChainGasAmountUpdated is a log parse operation binding the contract event 0x5cf09b12f3f56b4c564d51b25b40360af6d795198adb61ae0806a36c294323fa.

Solidity: event ChainGasAmountUpdated(uint256 oldChainGasAmount, uint256 newChainGasAmount)

func (*IAdminFilterer) ParseFeeRateUpdated

func (_IAdmin *IAdminFilterer) ParseFeeRateUpdated(log types.Log) (*IAdminFeeRateUpdated, error)

ParseFeeRateUpdated is a log parse operation binding the contract event 0x14914da2bf76024616fbe1859783fcd4dbddcb179b1f3a854949fbf920dcb957.

Solidity: event FeeRateUpdated(uint256 oldFeeRate, uint256 newFeeRate)

func (*IAdminFilterer) ParseFeesSwept

func (_IAdmin *IAdminFilterer) ParseFeesSwept(log types.Log) (*IAdminFeesSwept, error)

ParseFeesSwept is a log parse operation binding the contract event 0x244e51bc38c1452fa8aaf487bcb4bca36c2baa3a5fbdb776b1eabd8dc6d277cd.

Solidity: event FeesSwept(address token, address recipient, uint256 amount)

func (*IAdminFilterer) ParseGovernorAdded

func (_IAdmin *IAdminFilterer) ParseGovernorAdded(log types.Log) (*IAdminGovernorAdded, error)

ParseGovernorAdded is a log parse operation binding the contract event 0xdc5a48d79e2e147530ff63ecdbed5a5a66adb9d5cf339384d5d076da197c40b5.

Solidity: event GovernorAdded(address governor)

func (*IAdminFilterer) ParseGovernorRemoved

func (_IAdmin *IAdminFilterer) ParseGovernorRemoved(log types.Log) (*IAdminGovernorRemoved, error)

ParseGovernorRemoved is a log parse operation binding the contract event 0x1ebe834e73d60a5fec822c1e1727d34bc79f2ad977ed504581cc1822fe20fb5b.

Solidity: event GovernorRemoved(address governor)

func (*IAdminFilterer) ParseGuardAdded

func (_IAdmin *IAdminFilterer) ParseGuardAdded(log types.Log) (*IAdminGuardAdded, error)

ParseGuardAdded is a log parse operation binding the contract event 0x93405f05cd04f0d1bd875f2de00f1f3890484ffd0589248953bdfd29ba7f2f59.

Solidity: event GuardAdded(address guard)

func (*IAdminFilterer) ParseGuardRemoved

func (_IAdmin *IAdminFilterer) ParseGuardRemoved(log types.Log) (*IAdminGuardRemoved, error)

ParseGuardRemoved is a log parse operation binding the contract event 0x59926e0a78d12238b668b31c8e3f6ece235a59a00ede111d883e255b68c4d048.

Solidity: event GuardRemoved(address guard)

func (*IAdminFilterer) ParseRelayerAdded

func (_IAdmin *IAdminFilterer) ParseRelayerAdded(log types.Log) (*IAdminRelayerAdded, error)

ParseRelayerAdded is a log parse operation binding the contract event 0x03580ee9f53a62b7cb409a2cb56f9be87747dd15017afc5cef6eef321e4fb2c5.

Solidity: event RelayerAdded(address relayer)

func (*IAdminFilterer) ParseRelayerRemoved

func (_IAdmin *IAdminFilterer) ParseRelayerRemoved(log types.Log) (*IAdminRelayerRemoved, error)

ParseRelayerRemoved is a log parse operation binding the contract event 0x10e1f7ce9fd7d1b90a66d13a2ab3cb8dd7f29f3f8d520b143b063ccfbab6906b.

Solidity: event RelayerRemoved(address relayer)

func (*IAdminFilterer) WatchChainGasAmountUpdated

func (_IAdmin *IAdminFilterer) WatchChainGasAmountUpdated(opts *bind.WatchOpts, sink chan<- *IAdminChainGasAmountUpdated) (event.Subscription, error)

WatchChainGasAmountUpdated is a free log subscription operation binding the contract event 0x5cf09b12f3f56b4c564d51b25b40360af6d795198adb61ae0806a36c294323fa.

Solidity: event ChainGasAmountUpdated(uint256 oldChainGasAmount, uint256 newChainGasAmount)

func (*IAdminFilterer) WatchFeeRateUpdated

func (_IAdmin *IAdminFilterer) WatchFeeRateUpdated(opts *bind.WatchOpts, sink chan<- *IAdminFeeRateUpdated) (event.Subscription, error)

WatchFeeRateUpdated is a free log subscription operation binding the contract event 0x14914da2bf76024616fbe1859783fcd4dbddcb179b1f3a854949fbf920dcb957.

Solidity: event FeeRateUpdated(uint256 oldFeeRate, uint256 newFeeRate)

func (*IAdminFilterer) WatchFeesSwept

func (_IAdmin *IAdminFilterer) WatchFeesSwept(opts *bind.WatchOpts, sink chan<- *IAdminFeesSwept) (event.Subscription, error)

WatchFeesSwept is a free log subscription operation binding the contract event 0x244e51bc38c1452fa8aaf487bcb4bca36c2baa3a5fbdb776b1eabd8dc6d277cd.

Solidity: event FeesSwept(address token, address recipient, uint256 amount)

func (*IAdminFilterer) WatchGovernorAdded

func (_IAdmin *IAdminFilterer) WatchGovernorAdded(opts *bind.WatchOpts, sink chan<- *IAdminGovernorAdded) (event.Subscription, error)

WatchGovernorAdded is a free log subscription operation binding the contract event 0xdc5a48d79e2e147530ff63ecdbed5a5a66adb9d5cf339384d5d076da197c40b5.

Solidity: event GovernorAdded(address governor)

func (*IAdminFilterer) WatchGovernorRemoved

func (_IAdmin *IAdminFilterer) WatchGovernorRemoved(opts *bind.WatchOpts, sink chan<- *IAdminGovernorRemoved) (event.Subscription, error)

WatchGovernorRemoved is a free log subscription operation binding the contract event 0x1ebe834e73d60a5fec822c1e1727d34bc79f2ad977ed504581cc1822fe20fb5b.

Solidity: event GovernorRemoved(address governor)

func (*IAdminFilterer) WatchGuardAdded

func (_IAdmin *IAdminFilterer) WatchGuardAdded(opts *bind.WatchOpts, sink chan<- *IAdminGuardAdded) (event.Subscription, error)

WatchGuardAdded is a free log subscription operation binding the contract event 0x93405f05cd04f0d1bd875f2de00f1f3890484ffd0589248953bdfd29ba7f2f59.

Solidity: event GuardAdded(address guard)

func (*IAdminFilterer) WatchGuardRemoved

func (_IAdmin *IAdminFilterer) WatchGuardRemoved(opts *bind.WatchOpts, sink chan<- *IAdminGuardRemoved) (event.Subscription, error)

WatchGuardRemoved is a free log subscription operation binding the contract event 0x59926e0a78d12238b668b31c8e3f6ece235a59a00ede111d883e255b68c4d048.

Solidity: event GuardRemoved(address guard)

func (*IAdminFilterer) WatchRelayerAdded

func (_IAdmin *IAdminFilterer) WatchRelayerAdded(opts *bind.WatchOpts, sink chan<- *IAdminRelayerAdded) (event.Subscription, error)

WatchRelayerAdded is a free log subscription operation binding the contract event 0x03580ee9f53a62b7cb409a2cb56f9be87747dd15017afc5cef6eef321e4fb2c5.

Solidity: event RelayerAdded(address relayer)

func (*IAdminFilterer) WatchRelayerRemoved

func (_IAdmin *IAdminFilterer) WatchRelayerRemoved(opts *bind.WatchOpts, sink chan<- *IAdminRelayerRemoved) (event.Subscription, error)

WatchRelayerRemoved is a free log subscription operation binding the contract event 0x10e1f7ce9fd7d1b90a66d13a2ab3cb8dd7f29f3f8d520b143b063ccfbab6906b.

Solidity: event RelayerRemoved(address relayer)

type IAdminGovernorAdded

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

IAdminGovernorAdded represents a GovernorAdded event raised by the IAdmin contract.

type IAdminGovernorAddedIterator

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

IAdminGovernorAddedIterator is returned from FilterGovernorAdded and is used to iterate over the raw logs and unpacked data for GovernorAdded events raised by the IAdmin contract.

func (*IAdminGovernorAddedIterator) Close

func (it *IAdminGovernorAddedIterator) Close() error

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

func (*IAdminGovernorAddedIterator) Error

func (it *IAdminGovernorAddedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IAdminGovernorAddedIterator) Next

func (it *IAdminGovernorAddedIterator) 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 IAdminGovernorRemoved

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

IAdminGovernorRemoved represents a GovernorRemoved event raised by the IAdmin contract.

type IAdminGovernorRemovedIterator

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

IAdminGovernorRemovedIterator is returned from FilterGovernorRemoved and is used to iterate over the raw logs and unpacked data for GovernorRemoved events raised by the IAdmin contract.

func (*IAdminGovernorRemovedIterator) Close

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

func (*IAdminGovernorRemovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IAdminGovernorRemovedIterator) 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 IAdminGuardAdded

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

IAdminGuardAdded represents a GuardAdded event raised by the IAdmin contract.

type IAdminGuardAddedIterator

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

IAdminGuardAddedIterator is returned from FilterGuardAdded and is used to iterate over the raw logs and unpacked data for GuardAdded events raised by the IAdmin contract.

func (*IAdminGuardAddedIterator) Close

func (it *IAdminGuardAddedIterator) Close() error

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

func (*IAdminGuardAddedIterator) Error

func (it *IAdminGuardAddedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IAdminGuardAddedIterator) Next

func (it *IAdminGuardAddedIterator) 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 IAdminGuardRemoved

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

IAdminGuardRemoved represents a GuardRemoved event raised by the IAdmin contract.

type IAdminGuardRemovedIterator

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

IAdminGuardRemovedIterator is returned from FilterGuardRemoved and is used to iterate over the raw logs and unpacked data for GuardRemoved events raised by the IAdmin contract.

func (*IAdminGuardRemovedIterator) Close

func (it *IAdminGuardRemovedIterator) Close() error

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

func (*IAdminGuardRemovedIterator) Error

func (it *IAdminGuardRemovedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IAdminGuardRemovedIterator) Next

func (it *IAdminGuardRemovedIterator) 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 IAdminRaw

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

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

func (*IAdminRaw) Call

func (_IAdmin *IAdminRaw) 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 (*IAdminRaw) Transact

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

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

func (*IAdminRaw) Transfer

func (_IAdmin *IAdminRaw) 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 IAdminRelayerAdded

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

IAdminRelayerAdded represents a RelayerAdded event raised by the IAdmin contract.

type IAdminRelayerAddedIterator

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

IAdminRelayerAddedIterator is returned from FilterRelayerAdded and is used to iterate over the raw logs and unpacked data for RelayerAdded events raised by the IAdmin contract.

func (*IAdminRelayerAddedIterator) Close

func (it *IAdminRelayerAddedIterator) Close() error

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

func (*IAdminRelayerAddedIterator) Error

func (it *IAdminRelayerAddedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IAdminRelayerAddedIterator) Next

func (it *IAdminRelayerAddedIterator) 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 IAdminRelayerRemoved

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

IAdminRelayerRemoved represents a RelayerRemoved event raised by the IAdmin contract.

type IAdminRelayerRemovedIterator

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

IAdminRelayerRemovedIterator is returned from FilterRelayerRemoved and is used to iterate over the raw logs and unpacked data for RelayerRemoved events raised by the IAdmin contract.

func (*IAdminRelayerRemovedIterator) Close

func (it *IAdminRelayerRemovedIterator) Close() error

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

func (*IAdminRelayerRemovedIterator) Error

func (it *IAdminRelayerRemovedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IAdminRelayerRemovedIterator) 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 IAdminSession

type IAdminSession struct {
	Contract     *IAdmin           // 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
}

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

func (*IAdminSession) AddGovernor

func (_IAdmin *IAdminSession) AddGovernor(_governor common.Address) (*types.Transaction, error)

AddGovernor is a paid mutator transaction binding the contract method 0x3c4a25d0.

Solidity: function addGovernor(address _governor) returns()

func (*IAdminSession) AddGuard

func (_IAdmin *IAdminSession) AddGuard(_guard common.Address) (*types.Transaction, error)

AddGuard is a paid mutator transaction binding the contract method 0x6913a63c.

Solidity: function addGuard(address _guard) returns()

func (*IAdminSession) AddRelayer

func (_IAdmin *IAdminSession) AddRelayer(_relayer common.Address) (*types.Transaction, error)

AddRelayer is a paid mutator transaction binding the contract method 0xdd39f00d.

Solidity: function addRelayer(address _relayer) returns()

func (*IAdminSession) RemoveGovernor

func (_IAdmin *IAdminSession) RemoveGovernor(_governor common.Address) (*types.Transaction, error)

RemoveGovernor is a paid mutator transaction binding the contract method 0xeecdac88.

Solidity: function removeGovernor(address _governor) returns()

func (*IAdminSession) RemoveGuard

func (_IAdmin *IAdminSession) RemoveGuard(_guard common.Address) (*types.Transaction, error)

RemoveGuard is a paid mutator transaction binding the contract method 0xb6235016.

Solidity: function removeGuard(address _guard) returns()

func (*IAdminSession) RemoveRelayer

func (_IAdmin *IAdminSession) RemoveRelayer(_relayer common.Address) (*types.Transaction, error)

RemoveRelayer is a paid mutator transaction binding the contract method 0x60f0a5ac.

Solidity: function removeRelayer(address _relayer) returns()

func (*IAdminSession) SetChainGasAmount

func (_IAdmin *IAdminSession) SetChainGasAmount(newChainGasAmount *big.Int) (*types.Transaction, error)

SetChainGasAmount is a paid mutator transaction binding the contract method 0xb250fe6b.

Solidity: function setChainGasAmount(uint256 newChainGasAmount) returns()

func (*IAdminSession) SetProtocolFeeRate

func (_IAdmin *IAdminSession) SetProtocolFeeRate(newFeeRate *big.Int) (*types.Transaction, error)

SetProtocolFeeRate is a paid mutator transaction binding the contract method 0xb13aa2d6.

Solidity: function setProtocolFeeRate(uint256 newFeeRate) returns()

func (*IAdminSession) SweepProtocolFees

func (_IAdmin *IAdminSession) SweepProtocolFees(token common.Address, recipient common.Address) (*types.Transaction, error)

SweepProtocolFees is a paid mutator transaction binding the contract method 0x06f333f2.

Solidity: function sweepProtocolFees(address token, address recipient) returns()

type IAdminTransactor

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

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

func NewIAdminTransactor

func NewIAdminTransactor(address common.Address, transactor bind.ContractTransactor) (*IAdminTransactor, error)

NewIAdminTransactor creates a new write-only instance of IAdmin, bound to a specific deployed contract.

func (*IAdminTransactor) AddGovernor

func (_IAdmin *IAdminTransactor) AddGovernor(opts *bind.TransactOpts, _governor common.Address) (*types.Transaction, error)

AddGovernor is a paid mutator transaction binding the contract method 0x3c4a25d0.

Solidity: function addGovernor(address _governor) returns()

func (*IAdminTransactor) AddGuard

func (_IAdmin *IAdminTransactor) AddGuard(opts *bind.TransactOpts, _guard common.Address) (*types.Transaction, error)

AddGuard is a paid mutator transaction binding the contract method 0x6913a63c.

Solidity: function addGuard(address _guard) returns()

func (*IAdminTransactor) AddRelayer

func (_IAdmin *IAdminTransactor) AddRelayer(opts *bind.TransactOpts, _relayer common.Address) (*types.Transaction, error)

AddRelayer is a paid mutator transaction binding the contract method 0xdd39f00d.

Solidity: function addRelayer(address _relayer) returns()

func (*IAdminTransactor) RemoveGovernor

func (_IAdmin *IAdminTransactor) RemoveGovernor(opts *bind.TransactOpts, _governor common.Address) (*types.Transaction, error)

RemoveGovernor is a paid mutator transaction binding the contract method 0xeecdac88.

Solidity: function removeGovernor(address _governor) returns()

func (*IAdminTransactor) RemoveGuard

func (_IAdmin *IAdminTransactor) RemoveGuard(opts *bind.TransactOpts, _guard common.Address) (*types.Transaction, error)

RemoveGuard is a paid mutator transaction binding the contract method 0xb6235016.

Solidity: function removeGuard(address _guard) returns()

func (*IAdminTransactor) RemoveRelayer

func (_IAdmin *IAdminTransactor) RemoveRelayer(opts *bind.TransactOpts, _relayer common.Address) (*types.Transaction, error)

RemoveRelayer is a paid mutator transaction binding the contract method 0x60f0a5ac.

Solidity: function removeRelayer(address _relayer) returns()

func (*IAdminTransactor) SetChainGasAmount

func (_IAdmin *IAdminTransactor) SetChainGasAmount(opts *bind.TransactOpts, newChainGasAmount *big.Int) (*types.Transaction, error)

SetChainGasAmount is a paid mutator transaction binding the contract method 0xb250fe6b.

Solidity: function setChainGasAmount(uint256 newChainGasAmount) returns()

func (*IAdminTransactor) SetProtocolFeeRate

func (_IAdmin *IAdminTransactor) SetProtocolFeeRate(opts *bind.TransactOpts, newFeeRate *big.Int) (*types.Transaction, error)

SetProtocolFeeRate is a paid mutator transaction binding the contract method 0xb13aa2d6.

Solidity: function setProtocolFeeRate(uint256 newFeeRate) returns()

func (*IAdminTransactor) SweepProtocolFees

func (_IAdmin *IAdminTransactor) SweepProtocolFees(opts *bind.TransactOpts, token common.Address, recipient common.Address) (*types.Transaction, error)

SweepProtocolFees is a paid mutator transaction binding the contract method 0x06f333f2.

Solidity: function sweepProtocolFees(address token, address recipient) returns()

type IAdminTransactorRaw

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

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

func (*IAdminTransactorRaw) Transact

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

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

func (*IAdminTransactorRaw) Transfer

func (_IAdmin *IAdminTransactorRaw) 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 IAdminTransactorSession

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

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

func (*IAdminTransactorSession) AddGovernor

func (_IAdmin *IAdminTransactorSession) AddGovernor(_governor common.Address) (*types.Transaction, error)

AddGovernor is a paid mutator transaction binding the contract method 0x3c4a25d0.

Solidity: function addGovernor(address _governor) returns()

func (*IAdminTransactorSession) AddGuard

func (_IAdmin *IAdminTransactorSession) AddGuard(_guard common.Address) (*types.Transaction, error)

AddGuard is a paid mutator transaction binding the contract method 0x6913a63c.

Solidity: function addGuard(address _guard) returns()

func (*IAdminTransactorSession) AddRelayer

func (_IAdmin *IAdminTransactorSession) AddRelayer(_relayer common.Address) (*types.Transaction, error)

AddRelayer is a paid mutator transaction binding the contract method 0xdd39f00d.

Solidity: function addRelayer(address _relayer) returns()

func (*IAdminTransactorSession) RemoveGovernor

func (_IAdmin *IAdminTransactorSession) RemoveGovernor(_governor common.Address) (*types.Transaction, error)

RemoveGovernor is a paid mutator transaction binding the contract method 0xeecdac88.

Solidity: function removeGovernor(address _governor) returns()

func (*IAdminTransactorSession) RemoveGuard

func (_IAdmin *IAdminTransactorSession) RemoveGuard(_guard common.Address) (*types.Transaction, error)

RemoveGuard is a paid mutator transaction binding the contract method 0xb6235016.

Solidity: function removeGuard(address _guard) returns()

func (*IAdminTransactorSession) RemoveRelayer

func (_IAdmin *IAdminTransactorSession) RemoveRelayer(_relayer common.Address) (*types.Transaction, error)

RemoveRelayer is a paid mutator transaction binding the contract method 0x60f0a5ac.

Solidity: function removeRelayer(address _relayer) returns()

func (*IAdminTransactorSession) SetChainGasAmount

func (_IAdmin *IAdminTransactorSession) SetChainGasAmount(newChainGasAmount *big.Int) (*types.Transaction, error)

SetChainGasAmount is a paid mutator transaction binding the contract method 0xb250fe6b.

Solidity: function setChainGasAmount(uint256 newChainGasAmount) returns()

func (*IAdminTransactorSession) SetProtocolFeeRate

func (_IAdmin *IAdminTransactorSession) SetProtocolFeeRate(newFeeRate *big.Int) (*types.Transaction, error)

SetProtocolFeeRate is a paid mutator transaction binding the contract method 0xb13aa2d6.

Solidity: function setProtocolFeeRate(uint256 newFeeRate) returns()

func (*IAdminTransactorSession) SweepProtocolFees

func (_IAdmin *IAdminTransactorSession) SweepProtocolFees(token common.Address, recipient common.Address) (*types.Transaction, error)

SweepProtocolFees is a paid mutator transaction binding the contract method 0x06f333f2.

Solidity: function sweepProtocolFees(address token, address recipient) returns()

type IERC165

type IERC165 struct {
	IERC165Caller     // Read-only binding to the contract
	IERC165Transactor // Write-only binding to the contract
	IERC165Filterer   // Log filterer for contract events
}

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

func NewIERC165

func NewIERC165(address common.Address, backend bind.ContractBackend) (*IERC165, error)

NewIERC165 creates a new instance of IERC165, bound to a specific deployed contract.

type IERC165Caller

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

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

func NewIERC165Caller

func NewIERC165Caller(address common.Address, caller bind.ContractCaller) (*IERC165Caller, error)

NewIERC165Caller creates a new read-only instance of IERC165, bound to a specific deployed contract.

func (*IERC165Caller) SupportsInterface

func (_IERC165 *IERC165Caller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

type IERC165CallerRaw

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

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

func (*IERC165CallerRaw) Call

func (_IERC165 *IERC165CallerRaw) 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 IERC165CallerSession

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

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

func (*IERC165CallerSession) SupportsInterface

func (_IERC165 *IERC165CallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

type IERC165Filterer

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

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

func NewIERC165Filterer

func NewIERC165Filterer(address common.Address, filterer bind.ContractFilterer) (*IERC165Filterer, error)

NewIERC165Filterer creates a new log filterer instance of IERC165, bound to a specific deployed contract.

type IERC165Raw

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

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

func (*IERC165Raw) Call

func (_IERC165 *IERC165Raw) 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 (*IERC165Raw) Transact

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

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

func (*IERC165Raw) Transfer

func (_IERC165 *IERC165Raw) 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 IERC165Session

type IERC165Session struct {
	Contract     *IERC165          // 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
}

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

func (*IERC165Session) SupportsInterface

func (_IERC165 *IERC165Session) SupportsInterface(interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

type IERC165Transactor

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

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

func NewIERC165Transactor

func NewIERC165Transactor(address common.Address, transactor bind.ContractTransactor) (*IERC165Transactor, error)

NewIERC165Transactor creates a new write-only instance of IERC165, bound to a specific deployed contract.

type IERC165TransactorRaw

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

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

func (*IERC165TransactorRaw) Transact

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

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

func (*IERC165TransactorRaw) Transfer

func (_IERC165 *IERC165TransactorRaw) 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 IERC165TransactorSession

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

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

type IERC20

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

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

func NewIERC20

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

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

type IERC20Approval

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

IERC20Approval represents a Approval event raised by the IERC20 contract.

type IERC20ApprovalIterator

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

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

func (*IERC20ApprovalIterator) Close

func (it *IERC20ApprovalIterator) Close() error

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

func (*IERC20ApprovalIterator) Error

func (it *IERC20ApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IERC20ApprovalIterator) Next

func (it *IERC20ApprovalIterator) Next() bool

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

type IERC20Caller

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

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

func NewIERC20Caller

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

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

func (*IERC20Caller) Allowance

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

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

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

func (*IERC20Caller) BalanceOf

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

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

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

func (*IERC20Caller) TotalSupply

func (_IERC20 *IERC20Caller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type IERC20CallerRaw

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

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

func (*IERC20CallerRaw) Call

func (_IERC20 *IERC20CallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

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

type IERC20CallerSession

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

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

func (*IERC20CallerSession) Allowance

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

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

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

func (*IERC20CallerSession) BalanceOf

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

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

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

func (*IERC20CallerSession) TotalSupply

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

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

Solidity: function totalSupply() view returns(uint256)

type IERC20Filterer

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

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

func NewIERC20Filterer

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

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

func (*IERC20Filterer) FilterApproval

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

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

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

func (*IERC20Filterer) FilterTransfer

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

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

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

func (*IERC20Filterer) ParseApproval

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

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

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

func (*IERC20Filterer) ParseTransfer

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

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

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

func (*IERC20Filterer) WatchApproval

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

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

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

func (*IERC20Filterer) WatchTransfer

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

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

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

type IERC20Permit

type IERC20Permit struct {
	IERC20PermitCaller     // Read-only binding to the contract
	IERC20PermitTransactor // Write-only binding to the contract
	IERC20PermitFilterer   // Log filterer for contract events
}

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

func NewIERC20Permit

func NewIERC20Permit(address common.Address, backend bind.ContractBackend) (*IERC20Permit, error)

NewIERC20Permit creates a new instance of IERC20Permit, bound to a specific deployed contract.

type IERC20PermitCaller

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

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

func NewIERC20PermitCaller

func NewIERC20PermitCaller(address common.Address, caller bind.ContractCaller) (*IERC20PermitCaller, error)

NewIERC20PermitCaller creates a new read-only instance of IERC20Permit, bound to a specific deployed contract.

func (*IERC20PermitCaller) DOMAINSEPARATOR

func (_IERC20Permit *IERC20PermitCaller) DOMAINSEPARATOR(opts *bind.CallOpts) ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*IERC20PermitCaller) Nonces

func (_IERC20Permit *IERC20PermitCaller) Nonces(opts *bind.CallOpts, owner common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces(address owner) view returns(uint256)

type IERC20PermitCallerRaw

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

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

func (*IERC20PermitCallerRaw) Call

func (_IERC20Permit *IERC20PermitCallerRaw) 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 IERC20PermitCallerSession

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

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

func (*IERC20PermitCallerSession) DOMAINSEPARATOR

func (_IERC20Permit *IERC20PermitCallerSession) DOMAINSEPARATOR() ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*IERC20PermitCallerSession) Nonces

func (_IERC20Permit *IERC20PermitCallerSession) Nonces(owner common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces(address owner) view returns(uint256)

type IERC20PermitFilterer

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

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

func NewIERC20PermitFilterer

func NewIERC20PermitFilterer(address common.Address, filterer bind.ContractFilterer) (*IERC20PermitFilterer, error)

NewIERC20PermitFilterer creates a new log filterer instance of IERC20Permit, bound to a specific deployed contract.

type IERC20PermitRaw

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

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

func (*IERC20PermitRaw) Call

func (_IERC20Permit *IERC20PermitRaw) 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 (*IERC20PermitRaw) Transact

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

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

func (*IERC20PermitRaw) Transfer

func (_IERC20Permit *IERC20PermitRaw) 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 IERC20PermitSession

type IERC20PermitSession struct {
	Contract     *IERC20Permit     // 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
}

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

func (*IERC20PermitSession) DOMAINSEPARATOR

func (_IERC20Permit *IERC20PermitSession) DOMAINSEPARATOR() ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*IERC20PermitSession) Nonces

func (_IERC20Permit *IERC20PermitSession) Nonces(owner common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces(address owner) view returns(uint256)

func (*IERC20PermitSession) Permit

func (_IERC20Permit *IERC20PermitSession) Permit(owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

type IERC20PermitTransactor

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

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

func NewIERC20PermitTransactor

func NewIERC20PermitTransactor(address common.Address, transactor bind.ContractTransactor) (*IERC20PermitTransactor, error)

NewIERC20PermitTransactor creates a new write-only instance of IERC20Permit, bound to a specific deployed contract.

func (*IERC20PermitTransactor) Permit

func (_IERC20Permit *IERC20PermitTransactor) Permit(opts *bind.TransactOpts, owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

type IERC20PermitTransactorRaw

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

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

func (*IERC20PermitTransactorRaw) Transact

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

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

func (*IERC20PermitTransactorRaw) Transfer

func (_IERC20Permit *IERC20PermitTransactorRaw) 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 IERC20PermitTransactorSession

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

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

func (*IERC20PermitTransactorSession) Permit

func (_IERC20Permit *IERC20PermitTransactorSession) Permit(owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

type IERC20Raw

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

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

func (*IERC20Raw) Call

func (_IERC20 *IERC20Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

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

func (*IERC20Raw) Transact

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

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

func (*IERC20Raw) Transfer

func (_IERC20 *IERC20Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

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

type IERC20Session

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

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

func (*IERC20Session) Allowance

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

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

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

func (*IERC20Session) Approve

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

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

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

func (*IERC20Session) BalanceOf

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

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

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

func (*IERC20Session) TotalSupply

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

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

Solidity: function totalSupply() view returns(uint256)

func (*IERC20Session) Transfer

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

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

Solidity: function transfer(address to, uint256 value) returns(bool)

func (*IERC20Session) TransferFrom

func (_IERC20 *IERC20Session) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)

type IERC20Transactor

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

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

func NewIERC20Transactor

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

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

func (*IERC20Transactor) Approve

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

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

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

func (*IERC20Transactor) Transfer

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

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

Solidity: function transfer(address to, uint256 value) returns(bool)

func (*IERC20Transactor) TransferFrom

func (_IERC20 *IERC20Transactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)

type IERC20TransactorRaw

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

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

func (*IERC20TransactorRaw) Transact

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

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

func (*IERC20TransactorRaw) Transfer

func (_IERC20 *IERC20TransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

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

type IERC20TransactorSession

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

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

func (*IERC20TransactorSession) Approve

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

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

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

func (*IERC20TransactorSession) Transfer

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

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

Solidity: function transfer(address to, uint256 value) returns(bool)

func (*IERC20TransactorSession) TransferFrom

func (_IERC20 *IERC20TransactorSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)

type IERC20Transfer

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

IERC20Transfer represents a Transfer event raised by the IERC20 contract.

type IERC20TransferIterator

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

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

func (*IERC20TransferIterator) Close

func (it *IERC20TransferIterator) Close() error

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

func (*IERC20TransferIterator) Error

func (it *IERC20TransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IERC20TransferIterator) Next

func (it *IERC20TransferIterator) Next() bool

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

type IFastBridge

type IFastBridge struct {
	IFastBridgeCaller     // Read-only binding to the contract
	IFastBridgeTransactor // Write-only binding to the contract
	IFastBridgeFilterer   // Log filterer for contract events
}

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

func NewIFastBridge

func NewIFastBridge(address common.Address, backend bind.ContractBackend) (*IFastBridge, error)

NewIFastBridge creates a new instance of IFastBridge, bound to a specific deployed contract.

type IFastBridgeBridgeDepositClaimed

type IFastBridgeBridgeDepositClaimed struct {
	TransactionId [32]byte
	Relayer       common.Address
	To            common.Address
	Token         common.Address
	Amount        *big.Int
	Raw           types.Log // Blockchain specific contextual infos
}

IFastBridgeBridgeDepositClaimed represents a BridgeDepositClaimed event raised by the IFastBridge contract.

type IFastBridgeBridgeDepositClaimedIterator

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

IFastBridgeBridgeDepositClaimedIterator is returned from FilterBridgeDepositClaimed and is used to iterate over the raw logs and unpacked data for BridgeDepositClaimed events raised by the IFastBridge contract.

func (*IFastBridgeBridgeDepositClaimedIterator) Close

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

func (*IFastBridgeBridgeDepositClaimedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IFastBridgeBridgeDepositClaimedIterator) 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 IFastBridgeBridgeDepositRefunded

type IFastBridgeBridgeDepositRefunded struct {
	TransactionId [32]byte
	To            common.Address
	Token         common.Address
	Amount        *big.Int
	Raw           types.Log // Blockchain specific contextual infos
}

IFastBridgeBridgeDepositRefunded represents a BridgeDepositRefunded event raised by the IFastBridge contract.

type IFastBridgeBridgeDepositRefundedIterator

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

IFastBridgeBridgeDepositRefundedIterator is returned from FilterBridgeDepositRefunded and is used to iterate over the raw logs and unpacked data for BridgeDepositRefunded events raised by the IFastBridge contract.

func (*IFastBridgeBridgeDepositRefundedIterator) Close

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

func (*IFastBridgeBridgeDepositRefundedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IFastBridgeBridgeDepositRefundedIterator) 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 IFastBridgeBridgeParams

type IFastBridgeBridgeParams struct {
	DstChainId   uint32
	Sender       common.Address
	To           common.Address
	OriginToken  common.Address
	DestToken    common.Address
	OriginAmount *big.Int
	DestAmount   *big.Int
	SendChainGas bool
	Deadline     *big.Int
}

IFastBridgeBridgeParams is an auto generated low-level Go binding around an user-defined struct.

type IFastBridgeBridgeProofDisputed

type IFastBridgeBridgeProofDisputed struct {
	TransactionId [32]byte
	Relayer       common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

IFastBridgeBridgeProofDisputed represents a BridgeProofDisputed event raised by the IFastBridge contract.

type IFastBridgeBridgeProofDisputedIterator

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

IFastBridgeBridgeProofDisputedIterator is returned from FilterBridgeProofDisputed and is used to iterate over the raw logs and unpacked data for BridgeProofDisputed events raised by the IFastBridge contract.

func (*IFastBridgeBridgeProofDisputedIterator) Close

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

func (*IFastBridgeBridgeProofDisputedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IFastBridgeBridgeProofDisputedIterator) 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 IFastBridgeBridgeProofProvided

type IFastBridgeBridgeProofProvided struct {
	TransactionId   [32]byte
	Relayer         common.Address
	TransactionHash [32]byte
	Raw             types.Log // Blockchain specific contextual infos
}

IFastBridgeBridgeProofProvided represents a BridgeProofProvided event raised by the IFastBridge contract.

type IFastBridgeBridgeProofProvidedIterator

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

IFastBridgeBridgeProofProvidedIterator is returned from FilterBridgeProofProvided and is used to iterate over the raw logs and unpacked data for BridgeProofProvided events raised by the IFastBridge contract.

func (*IFastBridgeBridgeProofProvidedIterator) Close

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

func (*IFastBridgeBridgeProofProvidedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IFastBridgeBridgeProofProvidedIterator) 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 IFastBridgeBridgeRelayed

type IFastBridgeBridgeRelayed struct {
	TransactionId  [32]byte
	Relayer        common.Address
	To             common.Address
	OriginChainId  uint32
	OriginToken    common.Address
	DestToken      common.Address
	OriginAmount   *big.Int
	DestAmount     *big.Int
	ChainGasAmount *big.Int
	Raw            types.Log // Blockchain specific contextual infos
}

IFastBridgeBridgeRelayed represents a BridgeRelayed event raised by the IFastBridge contract.

type IFastBridgeBridgeRelayedIterator

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

IFastBridgeBridgeRelayedIterator is returned from FilterBridgeRelayed and is used to iterate over the raw logs and unpacked data for BridgeRelayed events raised by the IFastBridge contract.

func (*IFastBridgeBridgeRelayedIterator) Close

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

func (*IFastBridgeBridgeRelayedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IFastBridgeBridgeRelayedIterator) 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 IFastBridgeBridgeRequested

type IFastBridgeBridgeRequested struct {
	TransactionId [32]byte
	Sender        common.Address
	Request       []byte
	DestChainId   uint32
	OriginToken   common.Address
	DestToken     common.Address
	OriginAmount  *big.Int
	DestAmount    *big.Int
	SendChainGas  bool
	Raw           types.Log // Blockchain specific contextual infos
}

IFastBridgeBridgeRequested represents a BridgeRequested event raised by the IFastBridge contract.

type IFastBridgeBridgeRequestedIterator

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

IFastBridgeBridgeRequestedIterator is returned from FilterBridgeRequested and is used to iterate over the raw logs and unpacked data for BridgeRequested events raised by the IFastBridge contract.

func (*IFastBridgeBridgeRequestedIterator) Close

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

func (*IFastBridgeBridgeRequestedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IFastBridgeBridgeRequestedIterator) 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 IFastBridgeBridgeTransaction

type IFastBridgeBridgeTransaction struct {
	OriginChainId   uint32
	DestChainId     uint32
	OriginSender    common.Address
	DestRecipient   common.Address
	OriginToken     common.Address
	DestToken       common.Address
	OriginAmount    *big.Int
	DestAmount      *big.Int
	OriginFeeAmount *big.Int
	SendChainGas    bool
	Deadline        *big.Int
	Nonce           *big.Int
}

IFastBridgeBridgeTransaction is an auto generated low-level Go binding around an user-defined struct.

type IFastBridgeCaller

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

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

func NewIFastBridgeCaller

func NewIFastBridgeCaller(address common.Address, caller bind.ContractCaller) (*IFastBridgeCaller, error)

NewIFastBridgeCaller creates a new read-only instance of IFastBridge, bound to a specific deployed contract.

func (*IFastBridgeCaller) CanClaim

func (_IFastBridge *IFastBridgeCaller) CanClaim(opts *bind.CallOpts, transactionId [32]byte, relayer common.Address) (bool, error)

CanClaim is a free data retrieval call binding the contract method 0xaa9641ab.

Solidity: function canClaim(bytes32 transactionId, address relayer) view returns(bool)

func (*IFastBridgeCaller) GetBridgeTransaction

func (_IFastBridge *IFastBridgeCaller) GetBridgeTransaction(opts *bind.CallOpts, request []byte) (IFastBridgeBridgeTransaction, error)

GetBridgeTransaction is a free data retrieval call binding the contract method 0xac11fb1a.

Solidity: function getBridgeTransaction(bytes request) pure returns((uint32,uint32,address,address,address,address,uint256,uint256,uint256,bool,uint256,uint256))

type IFastBridgeCallerRaw

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

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

func (*IFastBridgeCallerRaw) Call

func (_IFastBridge *IFastBridgeCallerRaw) 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 IFastBridgeCallerSession

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

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

func (*IFastBridgeCallerSession) CanClaim

func (_IFastBridge *IFastBridgeCallerSession) CanClaim(transactionId [32]byte, relayer common.Address) (bool, error)

CanClaim is a free data retrieval call binding the contract method 0xaa9641ab.

Solidity: function canClaim(bytes32 transactionId, address relayer) view returns(bool)

func (*IFastBridgeCallerSession) GetBridgeTransaction

func (_IFastBridge *IFastBridgeCallerSession) GetBridgeTransaction(request []byte) (IFastBridgeBridgeTransaction, error)

GetBridgeTransaction is a free data retrieval call binding the contract method 0xac11fb1a.

Solidity: function getBridgeTransaction(bytes request) pure returns((uint32,uint32,address,address,address,address,uint256,uint256,uint256,bool,uint256,uint256))

type IFastBridgeFilterer

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

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

func NewIFastBridgeFilterer

func NewIFastBridgeFilterer(address common.Address, filterer bind.ContractFilterer) (*IFastBridgeFilterer, error)

NewIFastBridgeFilterer creates a new log filterer instance of IFastBridge, bound to a specific deployed contract.

func (*IFastBridgeFilterer) FilterBridgeDepositClaimed

func (_IFastBridge *IFastBridgeFilterer) FilterBridgeDepositClaimed(opts *bind.FilterOpts, transactionId [][32]byte, relayer []common.Address, to []common.Address) (*IFastBridgeBridgeDepositClaimedIterator, error)

FilterBridgeDepositClaimed is a free log retrieval operation binding the contract event 0x582211c35a2139ac3bbaac74663c6a1f56c6cbb658b41fe11fd45a82074ac678.

Solidity: event BridgeDepositClaimed(bytes32 indexed transactionId, address indexed relayer, address indexed to, address token, uint256 amount)

func (*IFastBridgeFilterer) FilterBridgeDepositRefunded

func (_IFastBridge *IFastBridgeFilterer) FilterBridgeDepositRefunded(opts *bind.FilterOpts, transactionId [][32]byte, to []common.Address) (*IFastBridgeBridgeDepositRefundedIterator, error)

FilterBridgeDepositRefunded is a free log retrieval operation binding the contract event 0xb4c55c0c9bc613519b920e88748090150b890a875d307f21bea7d4fb2e8bc958.

Solidity: event BridgeDepositRefunded(bytes32 indexed transactionId, address indexed to, address token, uint256 amount)

func (*IFastBridgeFilterer) FilterBridgeProofDisputed

func (_IFastBridge *IFastBridgeFilterer) FilterBridgeProofDisputed(opts *bind.FilterOpts, transactionId [][32]byte, relayer []common.Address) (*IFastBridgeBridgeProofDisputedIterator, error)

FilterBridgeProofDisputed is a free log retrieval operation binding the contract event 0x0695cf1d39b3055dcd0fe02d8b47eaf0d5a13e1996de925de59d0ef9b7f7fad4.

Solidity: event BridgeProofDisputed(bytes32 indexed transactionId, address indexed relayer)

func (*IFastBridgeFilterer) FilterBridgeProofProvided

func (_IFastBridge *IFastBridgeFilterer) FilterBridgeProofProvided(opts *bind.FilterOpts, transactionId [][32]byte, relayer []common.Address) (*IFastBridgeBridgeProofProvidedIterator, error)

FilterBridgeProofProvided is a free log retrieval operation binding the contract event 0x4ac8af8a2cd87193d64dfc7a3b8d9923b714ec528b18725d080aa1299be0c5e4.

Solidity: event BridgeProofProvided(bytes32 indexed transactionId, address indexed relayer, bytes32 transactionHash)

func (*IFastBridgeFilterer) FilterBridgeRelayed

func (_IFastBridge *IFastBridgeFilterer) FilterBridgeRelayed(opts *bind.FilterOpts, transactionId [][32]byte, relayer []common.Address, to []common.Address) (*IFastBridgeBridgeRelayedIterator, error)

FilterBridgeRelayed is a free log retrieval operation binding the contract event 0xf8ae392d784b1ea5e8881bfa586d81abf07ef4f1e2fc75f7fe51c90f05199a5c.

Solidity: event BridgeRelayed(bytes32 indexed transactionId, address indexed relayer, address indexed to, uint32 originChainId, address originToken, address destToken, uint256 originAmount, uint256 destAmount, uint256 chainGasAmount)

func (*IFastBridgeFilterer) FilterBridgeRequested

func (_IFastBridge *IFastBridgeFilterer) FilterBridgeRequested(opts *bind.FilterOpts, transactionId [][32]byte, sender []common.Address) (*IFastBridgeBridgeRequestedIterator, error)

FilterBridgeRequested is a free log retrieval operation binding the contract event 0x120ea0364f36cdac7983bcfdd55270ca09d7f9b314a2ebc425a3b01ab1d6403a.

Solidity: event BridgeRequested(bytes32 indexed transactionId, address indexed sender, bytes request, uint32 destChainId, address originToken, address destToken, uint256 originAmount, uint256 destAmount, bool sendChainGas)

func (*IFastBridgeFilterer) ParseBridgeDepositClaimed

func (_IFastBridge *IFastBridgeFilterer) ParseBridgeDepositClaimed(log types.Log) (*IFastBridgeBridgeDepositClaimed, error)

ParseBridgeDepositClaimed is a log parse operation binding the contract event 0x582211c35a2139ac3bbaac74663c6a1f56c6cbb658b41fe11fd45a82074ac678.

Solidity: event BridgeDepositClaimed(bytes32 indexed transactionId, address indexed relayer, address indexed to, address token, uint256 amount)

func (*IFastBridgeFilterer) ParseBridgeDepositRefunded

func (_IFastBridge *IFastBridgeFilterer) ParseBridgeDepositRefunded(log types.Log) (*IFastBridgeBridgeDepositRefunded, error)

ParseBridgeDepositRefunded is a log parse operation binding the contract event 0xb4c55c0c9bc613519b920e88748090150b890a875d307f21bea7d4fb2e8bc958.

Solidity: event BridgeDepositRefunded(bytes32 indexed transactionId, address indexed to, address token, uint256 amount)

func (*IFastBridgeFilterer) ParseBridgeProofDisputed

func (_IFastBridge *IFastBridgeFilterer) ParseBridgeProofDisputed(log types.Log) (*IFastBridgeBridgeProofDisputed, error)

ParseBridgeProofDisputed is a log parse operation binding the contract event 0x0695cf1d39b3055dcd0fe02d8b47eaf0d5a13e1996de925de59d0ef9b7f7fad4.

Solidity: event BridgeProofDisputed(bytes32 indexed transactionId, address indexed relayer)

func (*IFastBridgeFilterer) ParseBridgeProofProvided

func (_IFastBridge *IFastBridgeFilterer) ParseBridgeProofProvided(log types.Log) (*IFastBridgeBridgeProofProvided, error)

ParseBridgeProofProvided is a log parse operation binding the contract event 0x4ac8af8a2cd87193d64dfc7a3b8d9923b714ec528b18725d080aa1299be0c5e4.

Solidity: event BridgeProofProvided(bytes32 indexed transactionId, address indexed relayer, bytes32 transactionHash)

func (*IFastBridgeFilterer) ParseBridgeRelayed

func (_IFastBridge *IFastBridgeFilterer) ParseBridgeRelayed(log types.Log) (*IFastBridgeBridgeRelayed, error)

ParseBridgeRelayed is a log parse operation binding the contract event 0xf8ae392d784b1ea5e8881bfa586d81abf07ef4f1e2fc75f7fe51c90f05199a5c.

Solidity: event BridgeRelayed(bytes32 indexed transactionId, address indexed relayer, address indexed to, uint32 originChainId, address originToken, address destToken, uint256 originAmount, uint256 destAmount, uint256 chainGasAmount)

func (*IFastBridgeFilterer) ParseBridgeRequested

func (_IFastBridge *IFastBridgeFilterer) ParseBridgeRequested(log types.Log) (*IFastBridgeBridgeRequested, error)

ParseBridgeRequested is a log parse operation binding the contract event 0x120ea0364f36cdac7983bcfdd55270ca09d7f9b314a2ebc425a3b01ab1d6403a.

Solidity: event BridgeRequested(bytes32 indexed transactionId, address indexed sender, bytes request, uint32 destChainId, address originToken, address destToken, uint256 originAmount, uint256 destAmount, bool sendChainGas)

func (*IFastBridgeFilterer) WatchBridgeDepositClaimed

func (_IFastBridge *IFastBridgeFilterer) WatchBridgeDepositClaimed(opts *bind.WatchOpts, sink chan<- *IFastBridgeBridgeDepositClaimed, transactionId [][32]byte, relayer []common.Address, to []common.Address) (event.Subscription, error)

WatchBridgeDepositClaimed is a free log subscription operation binding the contract event 0x582211c35a2139ac3bbaac74663c6a1f56c6cbb658b41fe11fd45a82074ac678.

Solidity: event BridgeDepositClaimed(bytes32 indexed transactionId, address indexed relayer, address indexed to, address token, uint256 amount)

func (*IFastBridgeFilterer) WatchBridgeDepositRefunded

func (_IFastBridge *IFastBridgeFilterer) WatchBridgeDepositRefunded(opts *bind.WatchOpts, sink chan<- *IFastBridgeBridgeDepositRefunded, transactionId [][32]byte, to []common.Address) (event.Subscription, error)

WatchBridgeDepositRefunded is a free log subscription operation binding the contract event 0xb4c55c0c9bc613519b920e88748090150b890a875d307f21bea7d4fb2e8bc958.

Solidity: event BridgeDepositRefunded(bytes32 indexed transactionId, address indexed to, address token, uint256 amount)

func (*IFastBridgeFilterer) WatchBridgeProofDisputed

func (_IFastBridge *IFastBridgeFilterer) WatchBridgeProofDisputed(opts *bind.WatchOpts, sink chan<- *IFastBridgeBridgeProofDisputed, transactionId [][32]byte, relayer []common.Address) (event.Subscription, error)

WatchBridgeProofDisputed is a free log subscription operation binding the contract event 0x0695cf1d39b3055dcd0fe02d8b47eaf0d5a13e1996de925de59d0ef9b7f7fad4.

Solidity: event BridgeProofDisputed(bytes32 indexed transactionId, address indexed relayer)

func (*IFastBridgeFilterer) WatchBridgeProofProvided

func (_IFastBridge *IFastBridgeFilterer) WatchBridgeProofProvided(opts *bind.WatchOpts, sink chan<- *IFastBridgeBridgeProofProvided, transactionId [][32]byte, relayer []common.Address) (event.Subscription, error)

WatchBridgeProofProvided is a free log subscription operation binding the contract event 0x4ac8af8a2cd87193d64dfc7a3b8d9923b714ec528b18725d080aa1299be0c5e4.

Solidity: event BridgeProofProvided(bytes32 indexed transactionId, address indexed relayer, bytes32 transactionHash)

func (*IFastBridgeFilterer) WatchBridgeRelayed

func (_IFastBridge *IFastBridgeFilterer) WatchBridgeRelayed(opts *bind.WatchOpts, sink chan<- *IFastBridgeBridgeRelayed, transactionId [][32]byte, relayer []common.Address, to []common.Address) (event.Subscription, error)

WatchBridgeRelayed is a free log subscription operation binding the contract event 0xf8ae392d784b1ea5e8881bfa586d81abf07ef4f1e2fc75f7fe51c90f05199a5c.

Solidity: event BridgeRelayed(bytes32 indexed transactionId, address indexed relayer, address indexed to, uint32 originChainId, address originToken, address destToken, uint256 originAmount, uint256 destAmount, uint256 chainGasAmount)

func (*IFastBridgeFilterer) WatchBridgeRequested

func (_IFastBridge *IFastBridgeFilterer) WatchBridgeRequested(opts *bind.WatchOpts, sink chan<- *IFastBridgeBridgeRequested, transactionId [][32]byte, sender []common.Address) (event.Subscription, error)

WatchBridgeRequested is a free log subscription operation binding the contract event 0x120ea0364f36cdac7983bcfdd55270ca09d7f9b314a2ebc425a3b01ab1d6403a.

Solidity: event BridgeRequested(bytes32 indexed transactionId, address indexed sender, bytes request, uint32 destChainId, address originToken, address destToken, uint256 originAmount, uint256 destAmount, bool sendChainGas)

type IFastBridgeRaw

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

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

func (*IFastBridgeRaw) Call

func (_IFastBridge *IFastBridgeRaw) 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 (*IFastBridgeRaw) Transact

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

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

func (*IFastBridgeRaw) Transfer

func (_IFastBridge *IFastBridgeRaw) 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 IFastBridgeSession

type IFastBridgeSession struct {
	Contract     *IFastBridge      // 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
}

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

func (*IFastBridgeSession) Bridge

func (_IFastBridge *IFastBridgeSession) Bridge(params IFastBridgeBridgeParams) (*types.Transaction, error)

Bridge is a paid mutator transaction binding the contract method 0x45851694.

Solidity: function bridge((uint32,address,address,address,address,uint256,uint256,bool,uint256) params) payable returns()

func (*IFastBridgeSession) CanClaim

func (_IFastBridge *IFastBridgeSession) CanClaim(transactionId [32]byte, relayer common.Address) (bool, error)

CanClaim is a free data retrieval call binding the contract method 0xaa9641ab.

Solidity: function canClaim(bytes32 transactionId, address relayer) view returns(bool)

func (*IFastBridgeSession) Claim

func (_IFastBridge *IFastBridgeSession) Claim(request []byte, to common.Address) (*types.Transaction, error)

Claim is a paid mutator transaction binding the contract method 0x41fcb612.

Solidity: function claim(bytes request, address to) returns()

func (*IFastBridgeSession) Dispute

func (_IFastBridge *IFastBridgeSession) Dispute(transactionId [32]byte) (*types.Transaction, error)

Dispute is a paid mutator transaction binding the contract method 0xadd98c70.

Solidity: function dispute(bytes32 transactionId) returns()

func (*IFastBridgeSession) GetBridgeTransaction

func (_IFastBridge *IFastBridgeSession) GetBridgeTransaction(request []byte) (IFastBridgeBridgeTransaction, error)

GetBridgeTransaction is a free data retrieval call binding the contract method 0xac11fb1a.

Solidity: function getBridgeTransaction(bytes request) pure returns((uint32,uint32,address,address,address,address,uint256,uint256,uint256,bool,uint256,uint256))

func (*IFastBridgeSession) Prove

func (_IFastBridge *IFastBridgeSession) Prove(request []byte, destTxHash [32]byte) (*types.Transaction, error)

Prove is a paid mutator transaction binding the contract method 0x886d36ff.

Solidity: function prove(bytes request, bytes32 destTxHash) returns()

func (*IFastBridgeSession) Refund

func (_IFastBridge *IFastBridgeSession) Refund(request []byte) (*types.Transaction, error)

Refund is a paid mutator transaction binding the contract method 0x5eb7d946.

Solidity: function refund(bytes request) returns()

func (*IFastBridgeSession) Relay

func (_IFastBridge *IFastBridgeSession) Relay(request []byte) (*types.Transaction, error)

Relay is a paid mutator transaction binding the contract method 0x8f0d6f17.

Solidity: function relay(bytes request) payable returns()

type IFastBridgeTransactor

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

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

func NewIFastBridgeTransactor

func NewIFastBridgeTransactor(address common.Address, transactor bind.ContractTransactor) (*IFastBridgeTransactor, error)

NewIFastBridgeTransactor creates a new write-only instance of IFastBridge, bound to a specific deployed contract.

func (*IFastBridgeTransactor) Bridge

func (_IFastBridge *IFastBridgeTransactor) Bridge(opts *bind.TransactOpts, params IFastBridgeBridgeParams) (*types.Transaction, error)

Bridge is a paid mutator transaction binding the contract method 0x45851694.

Solidity: function bridge((uint32,address,address,address,address,uint256,uint256,bool,uint256) params) payable returns()

func (*IFastBridgeTransactor) Claim

func (_IFastBridge *IFastBridgeTransactor) Claim(opts *bind.TransactOpts, request []byte, to common.Address) (*types.Transaction, error)

Claim is a paid mutator transaction binding the contract method 0x41fcb612.

Solidity: function claim(bytes request, address to) returns()

func (*IFastBridgeTransactor) Dispute

func (_IFastBridge *IFastBridgeTransactor) Dispute(opts *bind.TransactOpts, transactionId [32]byte) (*types.Transaction, error)

Dispute is a paid mutator transaction binding the contract method 0xadd98c70.

Solidity: function dispute(bytes32 transactionId) returns()

func (*IFastBridgeTransactor) Prove

func (_IFastBridge *IFastBridgeTransactor) Prove(opts *bind.TransactOpts, request []byte, destTxHash [32]byte) (*types.Transaction, error)

Prove is a paid mutator transaction binding the contract method 0x886d36ff.

Solidity: function prove(bytes request, bytes32 destTxHash) returns()

func (*IFastBridgeTransactor) Refund

func (_IFastBridge *IFastBridgeTransactor) Refund(opts *bind.TransactOpts, request []byte) (*types.Transaction, error)

Refund is a paid mutator transaction binding the contract method 0x5eb7d946.

Solidity: function refund(bytes request) returns()

func (*IFastBridgeTransactor) Relay

func (_IFastBridge *IFastBridgeTransactor) Relay(opts *bind.TransactOpts, request []byte) (*types.Transaction, error)

Relay is a paid mutator transaction binding the contract method 0x8f0d6f17.

Solidity: function relay(bytes request) payable returns()

type IFastBridgeTransactorRaw

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

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

func (*IFastBridgeTransactorRaw) Transact

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

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

func (*IFastBridgeTransactorRaw) Transfer

func (_IFastBridge *IFastBridgeTransactorRaw) 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 IFastBridgeTransactorSession

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

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

func (*IFastBridgeTransactorSession) Bridge

Bridge is a paid mutator transaction binding the contract method 0x45851694.

Solidity: function bridge((uint32,address,address,address,address,uint256,uint256,bool,uint256) params) payable returns()

func (*IFastBridgeTransactorSession) Claim

func (_IFastBridge *IFastBridgeTransactorSession) Claim(request []byte, to common.Address) (*types.Transaction, error)

Claim is a paid mutator transaction binding the contract method 0x41fcb612.

Solidity: function claim(bytes request, address to) returns()

func (*IFastBridgeTransactorSession) Dispute

func (_IFastBridge *IFastBridgeTransactorSession) Dispute(transactionId [32]byte) (*types.Transaction, error)

Dispute is a paid mutator transaction binding the contract method 0xadd98c70.

Solidity: function dispute(bytes32 transactionId) returns()

func (*IFastBridgeTransactorSession) Prove

func (_IFastBridge *IFastBridgeTransactorSession) Prove(request []byte, destTxHash [32]byte) (*types.Transaction, error)

Prove is a paid mutator transaction binding the contract method 0x886d36ff.

Solidity: function prove(bytes request, bytes32 destTxHash) returns()

func (*IFastBridgeTransactorSession) Refund

func (_IFastBridge *IFastBridgeTransactorSession) Refund(request []byte) (*types.Transaction, error)

Refund is a paid mutator transaction binding the contract method 0x5eb7d946.

Solidity: function refund(bytes request) returns()

func (*IFastBridgeTransactorSession) Relay

func (_IFastBridge *IFastBridgeTransactorSession) Relay(request []byte) (*types.Transaction, error)

Relay is a paid mutator transaction binding the contract method 0x8f0d6f17.

Solidity: function relay(bytes request) payable returns()

type SafeERC20

type SafeERC20 struct {
	SafeERC20Caller     // Read-only binding to the contract
	SafeERC20Transactor // Write-only binding to the contract
	SafeERC20Filterer   // Log filterer for contract events
}

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

func DeploySafeERC20

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

DeploySafeERC20 deploys a new Ethereum contract, binding an instance of SafeERC20 to it.

func NewSafeERC20

func NewSafeERC20(address common.Address, backend bind.ContractBackend) (*SafeERC20, error)

NewSafeERC20 creates a new instance of SafeERC20, bound to a specific deployed contract.

type SafeERC20Caller

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

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

func NewSafeERC20Caller

func NewSafeERC20Caller(address common.Address, caller bind.ContractCaller) (*SafeERC20Caller, error)

NewSafeERC20Caller creates a new read-only instance of SafeERC20, bound to a specific deployed contract.

type SafeERC20CallerRaw

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

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

func (*SafeERC20CallerRaw) Call

func (_SafeERC20 *SafeERC20CallerRaw) 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 SafeERC20CallerSession

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

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

type SafeERC20Filterer

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

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

func NewSafeERC20Filterer

func NewSafeERC20Filterer(address common.Address, filterer bind.ContractFilterer) (*SafeERC20Filterer, error)

NewSafeERC20Filterer creates a new log filterer instance of SafeERC20, bound to a specific deployed contract.

type SafeERC20Raw

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

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

func (*SafeERC20Raw) Call

func (_SafeERC20 *SafeERC20Raw) 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 (*SafeERC20Raw) Transact

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

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

func (*SafeERC20Raw) Transfer

func (_SafeERC20 *SafeERC20Raw) 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 SafeERC20Session

type SafeERC20Session struct {
	Contract     *SafeERC20        // 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
}

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

type SafeERC20Transactor

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

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

func NewSafeERC20Transactor

func NewSafeERC20Transactor(address common.Address, transactor bind.ContractTransactor) (*SafeERC20Transactor, error)

NewSafeERC20Transactor creates a new write-only instance of SafeERC20, bound to a specific deployed contract.

type SafeERC20TransactorRaw

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

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

func (*SafeERC20TransactorRaw) Transact

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

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

func (*SafeERC20TransactorRaw) Transfer

func (_SafeERC20 *SafeERC20TransactorRaw) 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 SafeERC20TransactorSession

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

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

type UniversalTokenLib

type UniversalTokenLib struct {
	UniversalTokenLibCaller     // Read-only binding to the contract
	UniversalTokenLibTransactor // Write-only binding to the contract
	UniversalTokenLibFilterer   // Log filterer for contract events
}

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

func DeployUniversalTokenLib

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

DeployUniversalTokenLib deploys a new Ethereum contract, binding an instance of UniversalTokenLib to it.

func NewUniversalTokenLib

func NewUniversalTokenLib(address common.Address, backend bind.ContractBackend) (*UniversalTokenLib, error)

NewUniversalTokenLib creates a new instance of UniversalTokenLib, bound to a specific deployed contract.

type UniversalTokenLibCaller

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

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

func NewUniversalTokenLibCaller

func NewUniversalTokenLibCaller(address common.Address, caller bind.ContractCaller) (*UniversalTokenLibCaller, error)

NewUniversalTokenLibCaller creates a new read-only instance of UniversalTokenLib, bound to a specific deployed contract.

type UniversalTokenLibCallerRaw

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

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

func (*UniversalTokenLibCallerRaw) Call

func (_UniversalTokenLib *UniversalTokenLibCallerRaw) 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 UniversalTokenLibCallerSession

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

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

type UniversalTokenLibFilterer

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

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

func NewUniversalTokenLibFilterer

func NewUniversalTokenLibFilterer(address common.Address, filterer bind.ContractFilterer) (*UniversalTokenLibFilterer, error)

NewUniversalTokenLibFilterer creates a new log filterer instance of UniversalTokenLib, bound to a specific deployed contract.

type UniversalTokenLibRaw

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

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

func (*UniversalTokenLibRaw) Call

func (_UniversalTokenLib *UniversalTokenLibRaw) 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 (*UniversalTokenLibRaw) Transact

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

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

func (*UniversalTokenLibRaw) Transfer

func (_UniversalTokenLib *UniversalTokenLibRaw) 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 UniversalTokenLibSession

type UniversalTokenLibSession struct {
	Contract     *UniversalTokenLib // 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
}

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

type UniversalTokenLibTransactor

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

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

func NewUniversalTokenLibTransactor

func NewUniversalTokenLibTransactor(address common.Address, transactor bind.ContractTransactor) (*UniversalTokenLibTransactor, error)

NewUniversalTokenLibTransactor creates a new write-only instance of UniversalTokenLib, bound to a specific deployed contract.

type UniversalTokenLibTransactorRaw

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

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

func (*UniversalTokenLibTransactorRaw) Transact

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

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

func (*UniversalTokenLibTransactorRaw) Transfer

func (_UniversalTokenLib *UniversalTokenLibTransactorRaw) 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 UniversalTokenLibTransactorSession

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

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

Jump to

Keyboard shortcuts

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