contract

package
v4.2.1 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ERC1967ProxyABI = ERC1967ProxyMetaData.ABI

ERC1967ProxyABI is the input ABI used to generate the binding from. Deprecated: Use ERC1967ProxyMetaData.ABI instead.

View Source
var ERC1967ProxyBin = ERC1967ProxyMetaData.Bin

ERC1967ProxyBin is the compiled bytecode used for deploying new contracts. Deprecated: Use ERC1967ProxyMetaData.Bin instead.

View Source
var ERC1967ProxyMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_logic\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"stateMutability\":\"payable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"previousAdmin\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newAdmin\",\"type\":\"address\"}],\"name\":\"AdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"beacon\",\"type\":\"address\"}],\"name\":\"BeaconUpgraded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"},{\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
	Bin: "0x6080604052604051610730380380610730833981016040819052610022916102dc565b61002e82826000610035565b5050610436565b61003e8361006b565b60008251118061004b5750805b156100665761006483836100ab60201b6100291760201c565b505b505050565b610074816100d7565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606100d08383604051806060016040528060278152602001610709602791396101a9565b9392505050565b6100ea8161022260201b6100551760201c565b6101515760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b60648201526084015b60405180910390fd5b806101887f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b61023160201b6100641760201c565b80546001600160a01b0319166001600160a01b039290921691909117905550565b6060600080856001600160a01b0316856040516101c691906103a5565b600060405180830381855af49150503d8060008114610201576040519150601f19603f3d011682016040523d82523d6000602084013e610206565b606091505b50909250905061021886838387610234565b9695505050505050565b6001600160a01b03163b151590565b90565b606083156102a0578251610299576001600160a01b0385163b6102995760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610148565b50816102aa565b6102aa83836102b2565b949350505050565b8151156102c25781518083602001fd5b8060405162461bcd60e51b815260040161014891906103c1565b600080604083850312156102ee578182fd5b82516001600160a01b0381168114610304578283fd5b60208401519092506001600160401b0380821115610320578283fd5b818501915085601f830112610333578283fd5b81518181111561034557610345610420565b604051601f8201601f19908116603f0116810190838211818310171561036d5761036d610420565b81604052828152886020848701011115610385578586fd5b6103968360208301602088016103f4565b80955050505050509250929050565b600082516103b78184602087016103f4565b9190910192915050565b60006020825282518060208401526103e08160408501602087016103f4565b601f01601f19169190910160400192915050565b60005b8381101561040f5781810151838201526020016103f7565b838111156100645750506000910152565b634e487b7160e01b600052604160045260246000fd5b6102c4806104456000396000f3fe60806040523661001357610011610017565b005b6100115b610027610022610067565b61009f565b565b606061004e8383604051806060016040528060278152602001610268602791396100c3565b9392505050565b6001600160a01b03163b151590565b90565b600061009a7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b905090565b3660008037600080366000845af43d6000803e8080156100be573d6000f35b3d6000fd5b6060600080856001600160a01b0316856040516100e091906101e8565b600060405180830381855af49150503d806000811461011b576040519150601f19603f3d011682016040523d82523d6000602084013e610120565b606091505b50915091506101318683838761013b565b9695505050505050565b606083156101ac5782516101a5576001600160a01b0385163b6101a55760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064015b60405180910390fd5b50816101b6565b6101b683836101be565b949350505050565b8151156101ce5781518083602001fd5b8060405162461bcd60e51b815260040161019c9190610204565b600082516101fa818460208701610237565b9190910192915050565b6000602082528251806020840152610223816040850160208701610237565b601f01601f19169190910160400192915050565b60005b8381101561025257818101518382015260200161023a565b83811115610261576000848401525b5050505056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220deb2a2ad2a8fa4eae182b95438a3a809218100e1ad9c4e195104129b21e87f2e64736f6c63430008020033416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564",
}

ERC1967ProxyMetaData contains all meta data concerning the ERC1967Proxy contract.

View Source
var FIP20UpgradableABI = FIP20UpgradableMetaData.ABI

FIP20UpgradableABI is the input ABI used to generate the binding from. Deprecated: Use FIP20UpgradableMetaData.ABI instead.

View Source
var FIP20UpgradableBin = FIP20UpgradableMetaData.Bin

FIP20UpgradableBin is the compiled bytecode used for deploying new contracts. Deprecated: Use FIP20UpgradableMetaData.Bin instead.

View Source
var FIP20UpgradableMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"previousAdmin\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newAdmin\",\"type\":\"address\"}],\"name\":\"AdminChanged\",\"type\":\"event\"},{\"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\":\"beacon\",\"type\":\"address\"}],\"name\":\"BeaconUpgraded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"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\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"recipient\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"fee\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"target\",\"type\":\"bytes32\"}],\"name\":\"TransferCrossChain\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"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\":\"amount\",\"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\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"name_\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"symbol_\",\"type\":\"string\"},{\"internalType\":\"uint8\",\"name\":\"decimals_\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"module_\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"module\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"proxiableUUID\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"recipient\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"fee\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"target\",\"type\":\"bytes32\"}],\"name\":\"transferCrossChain\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"}],\"name\":\"upgradeTo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"upgradeToAndCall\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"}]",
	Bin: "0x60a06040526d100100000000000000000000000060805234801561002257600080fd5b5060805160601c611e0361005d6000396000818161056c015281816105ac01528181610662015281816106a201526107310152611e036000f3fe60806040526004361061011f5760003560e01c8063715018a6116100a0578063b86d529811610064578063b86d529814610306578063c5cb9b5114610324578063dd62ed3e14610344578063de7ea79d1461038a578063f2fde38b146103aa5761011f565b8063715018a61461026a5780638da5cb5b1461027f57806395d89b41146102b15780639dc29fac146102c6578063a9059cbb146102e65761011f565b80633659cfe6116100e75780633659cfe6146101e057806340c10f19146102025780634f1ef2861461022257806352d1902d1461023557806370a082311461024a5761011f565b806306fdde0314610124578063095ea7b31461014f57806318160ddd1461017f57806323b872dd1461019e578063313ce567146101be575b600080fd5b34801561013057600080fd5b506101396103ca565b6040516101469190611b46565b60405180910390f35b34801561015b57600080fd5b5061016f61016a3660046118d3565b61045c565b6040519015158152602001610146565b34801561018b57600080fd5b5060cc545b604051908152602001610146565b3480156101aa57600080fd5b5061016f6101b9366004611839565b6104b2565b3480156101ca57600080fd5b5060cb5460405160ff9091168152602001610146565b3480156101ec57600080fd5b506102006101fb3660046117ed565b610561565b005b34801561020e57600080fd5b5061020061021d3660046118d3565b610641565b610200610230366004611874565b610657565b34801561024157600080fd5b50610190610724565b34801561025657600080fd5b506101906102653660046117ed565b6107d7565b34801561027657600080fd5b506102006107f6565b34801561028b57600080fd5b506097546001600160a01b03165b6040516001600160a01b039091168152602001610146565b3480156102bd57600080fd5b5061013961080a565b3480156102d257600080fd5b506102006102e13660046118d3565b610819565b3480156102f257600080fd5b5061016f6103013660046118d3565b61082b565b34801561031257600080fd5b5060cf546001600160a01b0316610299565b34801561033057600080fd5b5061016f61033f366004611a27565b610841565b34801561035057600080fd5b5061019061035f366004611807565b6001600160a01b03918216600090815260ce6020908152604080832093909416825291909152205490565b34801561039657600080fd5b506102006103a536600461199e565b6108f7565b3480156103b657600080fd5b506102006103c53660046117ed565b610a66565b606060c980546103d990611d1f565b80601f016020809104026020016040519081016040528092919081815260200182805461040590611d1f565b80156104525780601f1061042757610100808354040283529160200191610452565b820191906000526020600020905b81548152906001019060200180831161043557829003601f168201915b5050505050905090565b6000610469338484610adc565b6040518281526001600160a01b0384169033907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259060200160405180910390a350600192915050565b6001600160a01b038316600090815260ce60209081526040808320338452909152812054828110156105355760405162461bcd60e51b815260206004820152602160248201527f7472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636044820152606560f81b60648201526084015b60405180910390fd5b61054985336105448685611cdc565b610adc565b610554858585610b5e565b60019150505b9392505050565b306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614156105aa5760405162461bcd60e51b815260040161052c90611b88565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166105f3600080516020611d87833981519152546001600160a01b031690565b6001600160a01b0316146106195760405162461bcd60e51b815260040161052c90611bd4565b61062281610d0d565b6040805160008082526020820190925261063e91839190610d15565b50565b610649610e99565b6106538282610ef3565b5050565b306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614156106a05760405162461bcd60e51b815260040161052c90611b88565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166106e9600080516020611d87833981519152546001600160a01b031690565b6001600160a01b03161461070f5760405162461bcd60e51b815260040161052c90611bd4565b61071882610d0d565b61065382826001610d15565b6000306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146107c45760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c60448201527f6c6564207468726f7567682064656c656761746563616c6c0000000000000000606482015260840161052c565b50600080516020611d8783398151915290565b6001600160a01b038116600090815260cd60205260409020545b919050565b6107fe610e99565b6108086000610fd2565b565b606060ca80546103d990611d1f565b610821610e99565b6106538282611024565b6000610838338484610b5e565b50600192915050565b600063ffffffff333b16156108985760405162461bcd60e51b815260206004820152601960248201527f63616c6c65722063616e6e6f7420626520636f6e747261637400000000000000604482015260640161052c565b6108a53386868686611166565b336001600160a01b03167f282dd1817b996776123a00596764d4d54cc16460c9854f7a23f6be020ba0463d868686866040516108e49493929190611b59565b60405180910390a2506001949350505050565b600054610100900460ff16158080156109175750600054600160ff909116105b806109315750303b158015610931575060005460ff166001145b6109945760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840161052c565b6000805460ff1916600117905580156109b7576000805461ff0019166101001790555b84516109ca9060c99060208801906116e0565b5083516109de9060ca9060208701906116e0565b5060cb805460ff191660ff851617905560cf80546001600160a01b0319166001600160a01b038416179055610a11611285565b610a196112b4565b8015610a5f576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050505050565b610a6e610e99565b6001600160a01b038116610ad35760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161052c565b61063e81610fd2565b6001600160a01b038316610b325760405162461bcd60e51b815260206004820152601d60248201527f617070726f76652066726f6d20746865207a65726f2061646472657373000000604482015260640161052c565b6001600160a01b03928316600090815260ce602090815260408083209490951682529290925291902055565b6001600160a01b038316610bb45760405162461bcd60e51b815260206004820152601e60248201527f7472616e736665722066726f6d20746865207a65726f20616464726573730000604482015260640161052c565b6001600160a01b038216610c0a5760405162461bcd60e51b815260206004820152601c60248201527f7472616e7366657220746f20746865207a65726f206164647265737300000000604482015260640161052c565b6001600160a01b038316600090815260cd602052604090205481811015610c735760405162461bcd60e51b815260206004820152601f60248201527f7472616e7366657220616d6f756e7420657863656564732062616c616e636500604482015260640161052c565b610c7d8282611cdc565b6001600160a01b03808616600090815260cd60205260408082209390935590851681529081208054849290610cb3908490611cc4565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610cff91815260200190565b60405180910390a350505050565b61063e610e99565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff1615610d4d57610d48836112db565b610e94565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b815260040160206040518083038186803b158015610d8657600080fd5b505afa925050508015610db6575060408051601f3d908101601f19168201909252610db39181019061191c565b60015b610e195760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b606482015260840161052c565b600080516020611d878339815191528114610e885760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b606482015260840161052c565b50610e94838383611377565b505050565b6097546001600160a01b031633146108085760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161052c565b6001600160a01b038216610f495760405162461bcd60e51b815260206004820152601860248201527f6d696e7420746f20746865207a65726f20616464726573730000000000000000604482015260640161052c565b8060cc6000828254610f5b9190611cc4565b90915550506001600160a01b038216600090815260cd602052604081208054839290610f88908490611cc4565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b609780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03821661107a5760405162461bcd60e51b815260206004820152601a60248201527f6275726e2066726f6d20746865207a65726f2061646472657373000000000000604482015260640161052c565b6001600160a01b038216600090815260cd6020526040902054818110156110e35760405162461bcd60e51b815260206004820152601b60248201527f6275726e20616d6f756e7420657863656564732062616c616e63650000000000604482015260640161052c565b6110ed8282611cdc565b6001600160a01b038416600090815260cd602052604081209190915560cc805484929061111b908490611cdc565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b6001600160a01b0385166111bc5760405162461bcd60e51b815260206004820152601e60248201527f7472616e736665722066726f6d20746865207a65726f20616464726573730000604482015260640161052c565b60008451116112015760405162461bcd60e51b81526020600482015260116024820152701a5b9d985b1a59081c9958da5c1a595b9d607a1b604482015260640161052c565b8061123f5760405162461bcd60e51b815260206004820152600e60248201526d1a5b9d985b1a59081d185c99d95d60921b604482015260640161052c565b60cf546112609086906001600160a01b031661125b8587611cc4565b610b5e565b61127d8585858585604051806020016040528060008152506113a2565b505050505050565b600054610100900460ff166112ac5760405162461bcd60e51b815260040161052c90611c20565b61080861145a565b600054610100900460ff166108085760405162461bcd60e51b815260040161052c90611c20565b6001600160a01b0381163b6113485760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b606482015260840161052c565b600080516020611d8783398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b6113808361148a565b60008251118061138d5750805b15610e945761139c83836114ca565b50505050565b600080806110046113b78a8a8a8a8a8a6115be565b6040516113c49190611aa5565b6000604051808303816000865af19150503d8060008114611401576040519150601f19603f3d011682016040523d82523d6000602084013e611406565b606091505b5091509150611444828260405180604001604052806016815260200175199a5c0b58dc9bdcdccb58da185a5b8819985a5b195960521b815250611611565b61144d8161168b565b9998505050505050505050565b600054610100900460ff166114815760405162461bcd60e51b815260040161052c90611c20565b61080833610fd2565b611493816112db565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606001600160a01b0383163b6115325760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b606482015260840161052c565b600080846001600160a01b03168460405161154d9190611aa5565b600060405180830381855af49150503d8060008114611588576040519150601f19603f3d011682016040523d82523d6000602084013e61158d565b606091505b50915091506115b58282604051806060016040528060278152602001611da7602791396116a2565b95945050505050565b60608686868686866040516024016115db96959493929190611afe565b60408051601f198184030181529190526020810180516001600160e01b0316633c3e7d7760e01b17905290509695505050505050565b82610e945760008280602001905181019061162c9190611934565b9050600182511015611652578060405162461bcd60e51b815260040161052c9190611b46565b8181604051602001611665929190611ac1565b60408051601f198184030181529082905262461bcd60e51b825261052c91600401611b46565b6000808280602001905181019061055a91906118fc565b606083156116b157508161055a565b61055a83838151156116c65781518083602001fd5b8060405162461bcd60e51b815260040161052c9190611b46565b8280546116ec90611d1f565b90600052602060002090601f01602090048101928261170e5760008555611754565b82601f1061172757805160ff1916838001178555611754565b82800160010185558215611754579182015b82811115611754578251825591602001919060010190611739565b50611760929150611764565b5090565b5b808211156117605760008155600101611765565b600061178c61178784611c9c565b611c6b565b90508281528383830111156117a057600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b03811681146107f157600080fd5b600082601f8301126117de578081fd5b61055a83833560208501611779565b6000602082840312156117fe578081fd5b61055a826117b7565b60008060408385031215611819578081fd5b611822836117b7565b9150611830602084016117b7565b90509250929050565b60008060006060848603121561184d578081fd5b611856846117b7565b9250611864602085016117b7565b9150604084013590509250925092565b60008060408385031215611886578182fd5b61188f836117b7565b9150602083013567ffffffffffffffff8111156118aa578182fd5b8301601f810185136118ba578182fd5b6118c985823560208401611779565b9150509250929050565b600080604083850312156118e5578182fd5b6118ee836117b7565b946020939093013593505050565b60006020828403121561190d578081fd5b8151801515811461055a578182fd5b60006020828403121561192d578081fd5b5051919050565b600060208284031215611945578081fd5b815167ffffffffffffffff81111561195b578182fd5b8201601f8101841361196b578182fd5b805161197961178782611c9c565b81815285602083850101111561198d578384fd5b6115b5826020830160208601611cf3565b600080600080608085870312156119b3578081fd5b843567ffffffffffffffff808211156119ca578283fd5b6119d6888389016117ce565b955060208701359150808211156119eb578283fd5b506119f8878288016117ce565b935050604085013560ff81168114611a0e578182fd5b9150611a1c606086016117b7565b905092959194509250565b60008060008060808587031215611a3c578384fd5b843567ffffffffffffffff811115611a52578485fd5b611a5e878288016117ce565b97602087013597506040870135966060013595509350505050565b60008151808452611a91816020860160208601611cf3565b601f01601f19169290920160200192915050565b60008251611ab7818460208701611cf3565b9190910192915050565b60008351611ad3818460208801611cf3565b6101d160f51b9083019081528351611af2816002840160208801611cf3565b01600201949350505050565b6001600160a01b038716815260c060208201819052600090611b2290830188611a79565b86604084015285606084015284608084015282810360a084015261144d8185611a79565b60006020825261055a6020830184611a79565b600060808252611b6c6080830187611a79565b6020830195909552506040810192909252606090910152919050565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b6163746976652070726f787960a01b606082015260800190565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff81118282101715611c9457611c94611d70565b604052919050565b600067ffffffffffffffff821115611cb657611cb6611d70565b50601f01601f191660200190565b60008219821115611cd757611cd7611d5a565b500190565b600082821015611cee57611cee611d5a565b500390565b60005b83811015611d0e578181015183820152602001611cf6565b8381111561139c5750506000910152565b600281046001821680611d3357607f821691505b60208210811415611d5457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fdfe360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220b7a4014c45185116ae9728d5f18a5476a7a86290d18c76f4d69943b837b6a5ea64736f6c63430008020033",
}

FIP20UpgradableMetaData contains all meta data concerning the FIP20Upgradable contract.

View Source
var FxBridgeLogicABI = FxBridgeLogicMetaData.ABI

FxBridgeLogicABI is the input ABI used to generate the binding from. Deprecated: Use FxBridgeLogicMetaData.ABI instead.

View Source
var FxBridgeLogicBSCABI = FxBridgeLogicBSCMetaData.ABI

FxBridgeLogicBSCABI is the input ABI used to generate the binding from. Deprecated: Use FxBridgeLogicBSCMetaData.ABI instead.

View Source
var FxBridgeLogicBSCBin = FxBridgeLogicBSCMetaData.Bin

FxBridgeLogicBSCBin is the compiled bytecode used for deploying new contracts. Deprecated: Use FxBridgeLogicBSCMetaData.Bin instead.

View Source
var FxBridgeLogicBSCMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_tokenContract\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"_symbol\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"_decimals\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_eventNonce\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"_channelIBC\",\"type\":\"bytes32\"}],\"name\":\"AddBridgeTokenEvent\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"_newOracleSetNonce\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_eventNonce\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"_oracles\",\"type\":\"address[]\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"_powers\",\"type\":\"uint256[]\"}],\"name\":\"OracleSetUpdatedEvent\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Paused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_tokenContract\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"_destination\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"_targetIBC\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_eventNonce\",\"type\":\"uint256\"}],\"name\":\"SendToFxEvent\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"_batchNonce\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_eventNonce\",\"type\":\"uint256\"}],\"name\":\"TransactionBatchExecutedEvent\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_newOwner\",\"type\":\"address\"}],\"name\":\"TransferOwnerEvent\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Unpaused\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_tokenAddr\",\"type\":\"address\"}],\"name\":\"activeBridgeToken\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_tokenAddr\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"_channelIBC\",\"type\":\"bytes32\"},{\"internalType\":\"bool\",\"name\":\"_isOriginated\",\"type\":\"bool\"}],\"name\":\"addBridgeToken\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"bridgeTokens\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_tokenAddr\",\"type\":\"address\"}],\"name\":\"checkAssetStatus\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_currentOracles\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_currentPowers\",\"type\":\"uint256[]\"},{\"internalType\":\"uint8[]\",\"name\":\"_v\",\"type\":\"uint8[]\"},{\"internalType\":\"bytes32[]\",\"name\":\"_r\",\"type\":\"bytes32[]\"},{\"internalType\":\"bytes32[]\",\"name\":\"_s\",\"type\":\"bytes32[]\"},{\"internalType\":\"bytes32\",\"name\":\"_theHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_powerThreshold\",\"type\":\"uint256\"}],\"name\":\"checkOracleSignatures\",\"outputs\":[],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"convert_decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getBridgeTokenList\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"symbol\",\"type\":\"string\"},{\"internalType\":\"uint8\",\"name\":\"decimals\",\"type\":\"uint8\"}],\"internalType\":\"structFxBridgeLogicBSC.BridgeToken[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_fxBridgeId\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_powerThreshold\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"_oracles\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_powers\",\"type\":\"uint256[]\"}],\"name\":\"init\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_erc20Address\",\"type\":\"address\"}],\"name\":\"lastBatchNonce\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_oracles\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_powers\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256\",\"name\":\"_oracleSetNonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"_fxBridgeId\",\"type\":\"bytes32\"}],\"name\":\"makeCheckpoint\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_tokenAddr\",\"type\":\"address\"}],\"name\":\"pauseBridgeToken\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_tokenContract\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"_destination\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_targetIBC\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"sendToFx\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"state_fxBridgeId\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"state_lastBatchNonces\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"state_lastEventNonce\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"state_lastOracleSetCheckpoint\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"state_lastOracleSetNonce\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"state_powerThreshold\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_currentOracles\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_currentPowers\",\"type\":\"uint256[]\"},{\"internalType\":\"uint8[]\",\"name\":\"_v\",\"type\":\"uint8[]\"},{\"internalType\":\"bytes32[]\",\"name\":\"_r\",\"type\":\"bytes32[]\"},{\"internalType\":\"bytes32[]\",\"name\":\"_s\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_amounts\",\"type\":\"uint256[]\"},{\"internalType\":\"address[]\",\"name\":\"_destinations\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_fees\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[2]\",\"name\":\"_nonceArray\",\"type\":\"uint256[2]\"},{\"internalType\":\"address\",\"name\":\"_tokenContract\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_batchTimeout\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_feeReceive\",\"type\":\"address\"}],\"name\":\"submitBatch\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"tokenStatus\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"isOriginated\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"isActive\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"isExist\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_newOwner\",\"type\":\"address\"}],\"name\":\"transferOwner\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unpause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_newOracles\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_newPowers\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256\",\"name\":\"_newOracleSetNonce\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"_currentOracles\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_currentPowers\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256\",\"name\":\"_currentOracleSetNonce\",\"type\":\"uint256\"},{\"internalType\":\"uint8[]\",\"name\":\"_v\",\"type\":\"uint8[]\"},{\"internalType\":\"bytes32[]\",\"name\":\"_r\",\"type\":\"bytes32[]\"},{\"internalType\":\"bytes32[]\",\"name\":\"_s\",\"type\":\"bytes32[]\"}],\"name\":\"updateOracleSet\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"uint8\",\"name\":\"_to\",\"type\":\"uint8\"}],\"name\":\"updateTokenDecimalsConvert\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
	Bin: "0x608060405234801561001057600080fd5b50613790806100206000396000f3fe6080604052600436106101cd5760003560e01c8063715018a6116100f7578063aa63a89411610095578063e5a2b5d211610064578063e5a2b5d21461058d578063f1099f61146105a3578063f2fde38b146105c3578063f92367fd146105e3576101cd565b8063aa63a8941461050a578063bb83bf961461052a578063dde65aea14610540578063df97174b14610560576101cd565b80637d9a8ea6116100d15780637d9a8ea6146104755780638456cb59146104b75780638da5cb5b146104cc578063a36a4ab0146104ea576101cd565b8063715018a61461042a57806371cbf3811461043f57806373b205471461045f576101cd565b80633f4ba83a1161016f5780635c975abb1161013e5780635c975abb146103b15780636189d107146103c957806370a0eb94146103dc57806370e5a898146103f2576101cd565b80633f4ba83a1461031b578063474d561c1461033057806354fd4d501461036f5780635ab3716c14610391576101cd565b8063285a190a116101ab578063285a190a1461028957806331678cf6146102ab578063332caa1f146102db5780633a08e299146102fb576101cd565b8063011b2174146101d25780630acac94214610205578063283040b414610267575b600080fd5b3480156101de57600080fd5b506101f26101ed366004612ab4565b6105f9565b6040519081526020015b60405180910390f35b34801561021157600080fd5b50610248610220366004612ab4565b60d06020526000908152604090205460ff808216916101008104821691620100009091041683565b60408051931515845291151560208401521515908201526060016101fc565b34801561027357600080fd5b5061027c610618565b6040516101fc91906131d7565b34801561029557600080fd5b506102a96102a4366004612d57565b6108d1565b005b3480156102b757600080fd5b506102cb6102c6366004612ace565b610a88565b60405190151581526020016101fc565b3480156102e757600080fd5b506102a96102f6366004612bad565b610b3a565b34801561030757600080fd5b506102a9610316366004612e35565b6111e0565b34801561032757600080fd5b506102a96113dd565b34801561033c57600080fd5b506102cb61034b366004612ab4565b6001600160a01b0316600090815260d0602052604090205462010000900460ff1690565b34801561037b57600080fd5b506103846113f7565b6040516101fc919061333e565b34801561039d57600080fd5b506102cb6103ac366004612b77565b611485565b3480156103bd57600080fd5b5060975460ff166102cb565b6102a96103d7366004612b3f565b6114bf565b3480156103e857600080fd5b506101f260cc5481565b3480156103fe57600080fd5b5061041261040d3660046130e9565b61181b565b6040516001600160a01b0390911681526020016101fc565b34801561043657600080fd5b506102a9611845565b34801561044b57600080fd5b506101f261045a366004612f5b565b611857565b34801561046b57600080fd5b506101f260cb5481565b34801561048157600080fd5b506104a5610490366004612ab4565b60d16020526000908152604090205460ff1681565b60405160ff90911681526020016101fc565b3480156104c357600080fd5b506102a96118a4565b3480156104d857600080fd5b506065546001600160a01b0316610412565b3480156104f657600080fd5b506102cb610505366004612ab4565b6118bc565b34801561051657600080fd5b506102a9610525366004612fe7565b6119d2565b34801561053657600080fd5b506101f260cd5481565b34801561054c57600080fd5b506102cb61055b366004612ab4565b611c64565b34801561056c57600080fd5b506101f261057b366004612ab4565b60ce6020526000908152604090205481565b34801561059957600080fd5b506101f260ca5481565b3480156105af57600080fd5b506102cb6105be366004612b00565b611d79565b3480156105cf57600080fd5b506102a96105de366004612ab4565b612060565b3480156105ef57600080fd5b506101f260c95481565b6001600160a01b038116600090815260ce60205260409020545b919050565b60cf546060906000906001600160401b0381111561064657634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156106ae57816020015b61069b604051806080016040528060006001600160a01b031681526020016060815260200160608152602001600060ff1681525090565b8152602001906001900390816106645790505b50905060005b60cf548110156108cb57600060cf82815481106106e157634e487b7160e01b600052603260045260246000fd5b9060005260206000200160009054906101000a90046001600160a01b0316905060006040518060800160405280836001600160a01b03168152602001836001600160a01b03166306fdde036040518163ffffffff1660e01b815260040160006040518083038186803b15801561075657600080fd5b505afa15801561076a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610792919081019061305a565b8152602001836001600160a01b03166395d89b416040518163ffffffff1660e01b815260040160006040518083038186803b1580156107d057600080fd5b505afa1580156107e4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261080c919081019061305a565b8152602001836001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b15801561084a57600080fd5b505afa15801561085e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108829190613101565b60ff168152509050808484815181106108ab57634e487b7160e01b600052603260045260246000fd5b6020026020010181905250505080806108c3906136f6565b9150506106b4565b50905090565b6000805b8851811015610a5e578681815181106108fe57634e487b7160e01b600052603260045260246000fd5b602002602001015160ff16600014610a4c576109b989828151811061093357634e487b7160e01b600052603260045260246000fd5b60200260200101518589848151811061095c57634e487b7160e01b600052603260045260246000fd5b602002602001015189858151811061098457634e487b7160e01b600052603260045260246000fd5b60200260200101518986815181106109ac57634e487b7160e01b600052603260045260246000fd5b60200260200101516120d9565b610a0a5760405162461bcd60e51b815260206004820181905260248201527f4f7261636c65207369676e617475726520646f6573206e6f74206d617463682e60448201526064015b60405180910390fd5b878181518110610a2a57634e487b7160e01b600052603260045260246000fd5b602002602001015182610a3d9190613524565b915082821115610a4c57610a5e565b80610a56816136f6565b9150506108d5565b50818111610a7e5760405162461bcd60e51b8152600401610a0190613397565b5050505050505050565b6000610a926121a3565b60405163f2fde38b60e01b81526001600160a01b03838116600483015284169063f2fde38b90602401600060405180830381600087803b158015610ad557600080fd5b505af1158015610ae9573d6000803e3d6000fd5b5050604080516001600160a01b038088168252861660208201527fb0f1bf050fff9d249d22389b0f2673295260c8deca341a2755d95318f9fbc699935001905060405180910390a150600192915050565b610b426121fd565b610b4a612257565b6001600160a01b038316600090815260d060209081526040918290208251606081018452905460ff8082161515835261010082048116151593830193909352620100009004909116151591810182905290610be35760405162461bcd60e51b8152602060048201526019602482015278556e737570706f7274656420746f6b656e206164647265737360381b6044820152606401610a01565b8060200151610c275760405162461bcd60e51b815260206004820152601060248201526f151bdad95b881dd85cc81c185d5cd95960821b6044820152606401610a01565b6020808601516001600160a01b038616600090815260ce90925260409091205410610cba5760405162461bcd60e51b815260206004820152603760248201527f4e6577206261746368206e6f6e6365206d75737420626520677265617465722060448201527f7468616e207468652063757272656e74206e6f6e63652e0000000000000000006064820152608401610a01565b824310610d2f5760405162461bcd60e51b815260206004820152603c60248201527f42617463682074696d656f7574206d757374206265206772656174657220746860448201527f616e207468652063757272656e7420626c6f636b206865696768742e000000006064820152608401610a01565b8b518d51148015610d4157508a518d51145b8015610d4e575089518d51145b8015610d5b575088518d51145b610da75760405162461bcd60e51b815260206004820152601d60248201527f4d616c666f726d65642063757272656e74206f7261636c65207365742e0000006044820152606401610a01565b60cc54610dbf8e8e886000602002015160c954611857565b14610ddc5760405162461bcd60e51b8152600401610a01906133f4565b86518851148015610dee575085518851145b610e3a5760405162461bcd60e51b815260206004820181905260248201527f4d616c666f726d6564206261746368206f66207472616e73616374696f6e732e6044820152606401610a01565b610ebb8d8d8d8d8d60c9546f0e8e4c2dce6c2c6e8d2dedc84c2e8c6d60831b8f8f8f8f600160028110610e7d57634e487b7160e01b600052603260045260246000fd5b60200201518f8f8f604051602001610e9d999897969594939291906132c1565b6040516020818303038152906040528051906020012060ca546108d1565b6020808601516001600160a01b038616600090815260ce835260408082209290925560d190925281205460ff16908115610f6657856001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b158015610f2857600080fd5b505afa158015610f3c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f609190613101565b60ff1690505b6000805b8b518110156110d857610fad8a8281518110610f9657634e487b7160e01b600052603260045260246000fd5b60200260200101518361229d90919063ffffffff16565b855190925015156001141561105857876001600160a01b03166340c10f19308e8481518110610fec57634e487b7160e01b600052603260045260246000fd5b60200260200101516040518363ffffffff1660e01b81526004016110259291906001600160a01b03929092168252602082015260400190565b600060405180830381600087803b15801561103f57600080fd5b505af1158015611053573d6000803e3d6000fd5b505050505b6110c68b828151811061107b57634e487b7160e01b600052603260045260246000fd5b60200260200101516110b58e84815181106110a657634e487b7160e01b600052603260045260246000fd5b602002602001015187876122a9565b6001600160a01b038b1691906122e0565b806110d0816136f6565b915050610f6a565b508351151560011415611146576040516340c10f1960e01b8152306004820152602481018290526001600160a01b038816906340c10f1990604401600060405180830381600087803b15801561112d57600080fd5b505af1158015611141573d6000803e3d6000fd5b505050505b611166856111558386866122a9565b6001600160a01b038a1691906122e0565b505060cb5461117992509050600161229d565b60cb556001600160a01b03831684600160200201517f02c7e81975f8edb86e2a0c038b7b86a49c744236abf0f6177ff5afc6986ab70860cb546040516111c191815260200190565b60405180910390a36111d260018055565b505050505050505050505050565b6111e8612257565b83871161125d5760405162461bcd60e51b815260206004820152603b60248201527f4e6577206f7261636c6520736574206e6f6e6365206d7573742062652067726560448201527f61746572207468616e207468652063757272656e74206e6f6e636500000000006064820152608401610a01565b87518951146112ae5760405162461bcd60e51b815260206004820152601860248201527f4d616c666f726d6564206e6577206f7261636c652073657400000000000000006044820152606401610a01565b845186511480156112c0575082518651145b80156112cd575081518651145b80156112da575080518651145b6113265760405162461bcd60e51b815260206004820152601c60248201527f4d616c666f726d65642063757272656e74206f7261636c6520736574000000006044820152606401610a01565b60cc5461133787878760c954611857565b146113545760405162461bcd60e51b8152600401610a01906133f4565b60006113648a8a8a60c954611857565b905061137787878686868660ca546108d1565b60cc81905560cd88905560cb5461138f90600161229d565b60cb81905560405189917f36c6022aad02313069de85ca9645431c7dd5e8e7a21685586461c4b25e2374b3916113c991908e908e9061349c565b60405180910390a250505050505050505050565b6113e56121a3565b6113ed61234e565b6113f5612397565b565b60d28054611404906136bb565b80601f0160208091040260200160405190810160405280929190818152602001828054611430906136bb565b801561147d5780601f106114525761010080835404028352916020019161147d565b820191906000526020600020905b81548152906001019060200180831161146057829003601f168201915b505050505081565b600061148f6121a3565b506001600160a01b038216600090815260d160205260409020805460ff831660ff19909116179055600192915050565b6114c76121fd565b6114cf612257565b6000811161152a5760405162461bcd60e51b815260206004820152602260248201527f616d6f756e742073686f756c642062652067726561746572207468616e207a65604482015261726f60f01b6064820152608401610a01565b6001600160a01b038416600090815260d060209081526040918290208251606081018452905460ff80821615158352610100820481161515938301939093526201000090049091161515918101829052906115c35760405162461bcd60e51b8152602060048201526019602482015278556e737570706f7274656420746f6b656e206164647265737360381b6044820152606401610a01565b80602001516116075760405162461bcd60e51b815260206004820152601060248201526f1d1bdad95b881dd85cc81c185d5cd95960821b6044820152606401610a01565b805182901515600114156116895761162a6001600160a01b0387163330866123e9565b604051630852cd8d60e31b8152600481018490526001600160a01b038716906342966c6890602401600060405180830381600087803b15801561166c57600080fd5b505af1158015611680573d6000803e3d6000fd5b505050506117a6565b6001600160a01b038616600090815260d1602052604090205460ff16801561178f576000876001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b1580156116e657600080fd5b505afa1580156116fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061171e9190613101565b60ff16905061172e8582846122a9565b925061173b8383836122a9565b94506000851161178d5760405162461bcd60e51b815260206004820152601860248201527f436f6e76657274656420616d6f756e74206973207a65726f00000000000000006044820152606401610a01565b505b6117a46001600160a01b0388163330876123e9565b505b60cb546117b490600161229d565b60cb819055604080518681526020810184905290810191909152859033906001600160a01b038916907f034c5b22dd525a50d0a6b15549df0a6ac83b833a6c3da57ea16890832c72507c9060600160405180910390a4505061181560018055565b50505050565b60cf818154811061182b57600080fd5b6000918252602090912001546001600160a01b0316905081565b61184d6121a3565b6113f56000612421565b6040516000906918da1958dadc1bda5b9d60b21b90611882908490839087908a908a9060200161327e565b604051602081830303815290604052805190602001209150505b949350505050565b6118ac6121a3565b6118b4612257565b6113f5612473565b60006118c66121a3565b6001600160a01b038216600090815260d0602052604090205462010000900460ff1615156001146119395760405162461bcd60e51b815260206004820152601b60248201527f42726964676520746f6b656e20646f65736e27742065786973747300000000006044820152606401610a01565b6001600160a01b038216600090815260d0602052604090205460ff6101009091041615156001146119ac5760405162461bcd60e51b815260206004820152601b60248201527f42726964676520746f6b656e20616c72656164792070617573656400000000006044820152606401610a01565b506001600160a01b0316600090815260d060205260409020805461ff0019169055600190565b600054610100900460ff16158080156119f25750600054600160ff909116105b80611a0c5750303b158015611a0c575060005460ff166001145b611a6f5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610a01565b6000805460ff191660011790558015611a92576000805461ff0019166101001790555b611a9a6124b0565b611aa26124df565b611aaa61250e565b8151835114611afb5760405162461bcd60e51b815260206004820152601c60248201527f4d616c666f726d65642063757272656e74206f7261636c6520736574000000006044820152606401610a01565b6000805b8351811015611b5c57838181518110611b2857634e487b7160e01b600052603260045260246000fd5b602002602001015182611b3b9190613524565b915085821115611b4a57611b5c565b80611b54816136f6565b915050611aff565b50848111611b7c5760405162461bcd60e51b8152600401610a0190613397565b6000611b8b858560008a611857565b60c988905560ca87905560cc819055600060cd55600160cb55604080518082019091526005808252640312e302e360dc1b6020909201918252919250611bd49160d2919061287d565b5060cd547f36c6022aad02313069de85ca9645431c7dd5e8e7a21685586461c4b25e2374b360cb548787604051611c0d9392919061349c565b60405180910390a250508015611c5d576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050505050565b6000611c6e6121a3565b6001600160a01b038216600090815260d0602052604090205462010000900460ff161515600114611ce15760405162461bcd60e51b815260206004820152601b60248201527f42726964676520746f6b656e20646f65736e27742065786973747300000000006044820152606401610a01565b6001600160a01b038216600090815260d06020526040902054610100900460ff1615611d4f5760405162461bcd60e51b815260206004820152601c60248201527f42726964676520746f6b656e20616c72656164792061637469766564000000006044820152606401610a01565b506001600160a01b0316600090815260d060205260409020805461ff001916610100179055600190565b6000611d836121a3565b6001600160a01b038416611dd15760405162461bcd60e51b8152602060048201526015602482015274496e76616c696420746f6b656e206164647265737360581b6044820152606401610a01565b6001600160a01b038416600090815260d0602052604090205462010000900460ff1615611e405760405162461bcd60e51b815260206004820152601b60248201527f42726964676520746f6b656e20616c72656164792065786973747300000000006044820152606401610a01565b611e6c84604051806060016040528085151581526020016001151581526020016001151581525061253d565b6000846001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b158015611ea757600080fd5b505afa158015611ebb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611edf9190613101565b6001600160a01b038616600090815260d1602052604090205490915060ff1615611f2157506001600160a01b038416600090815260d1602052604090205460ff165b846001600160a01b03167f2da8f37eaabc4d44ba4fcc438e404bbed3344322280d6c67497e9c668c87ec0f866001600160a01b03166306fdde036040518163ffffffff1660e01b815260040160006040518083038186803b158015611f8557600080fd5b505afa158015611f99573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611fc1919081019061305a565b876001600160a01b03166395d89b416040518163ffffffff1660e01b815260040160006040518083038186803b158015611ffa57600080fd5b505afa15801561200e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612036919081019061305a565b60cb5460405161204b93929187918b90613351565b60405180910390a260019150505b9392505050565b6120686121a3565b6001600160a01b0381166120cd5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a01565b6120d681612421565b50565b6040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c81018590526000908190605c0160408051601f1981840301815282825280516020918201206000845290830180835281905260ff8816918301919091526060820186905260808201859052915060019060a0016020604051602081039080840390855afa158015612179573d6000803e3d6000fd5b505050602060405103516001600160a01b0316876001600160a01b03161491505095945050505050565b6065546001600160a01b031633146113f55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a01565b600260015414156122505760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610a01565b6002600155565b60975460ff16156113f55760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610a01565b60006120598284613524565b6000816122b7575082612059565b61189c6122c584600a6135a2565b6122da6122d385600a6135a2565b87906125e9565b906125f5565b6040516001600160a01b03831660248201526044810182905261234390849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152612601565b505050565b60018055565b60975460ff166113f55760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610a01565b61239f61234e565b6097805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6040516001600160a01b03808516602483015283166044820152606481018290526118159085906323b872dd60e01b9060840161230c565b606580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61247b612257565b6097805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586123cc3390565b600054610100900460ff166124d75760405162461bcd60e51b8152600401610a0190613451565b6113f56126d3565b600054610100900460ff166125065760405162461bcd60e51b8152600401610a0190613451565b6113f5612706565b600054610100900460ff166125355760405162461bcd60e51b8152600401610a0190613451565b6113f5612736565b60cf805460018082019092557facb8d954e2cfef495862221e91bd7523613cf8808827cb33edfe4904cc51bf290180546001600160a01b0319166001600160a01b038516908117909155600090815260d0602090815260409182902084518154928601519386015160ff199093169015151761ff001916610100931515939093029290921762ff00001916620100009115159190910217905560cb546125e29161229d565b60cb555050565b60006120598284613670565b6000612059828461353c565b6000612656826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661275d9092919063ffffffff16565b80519091501561234357808060200190518101906126749190612fcb565b6123435760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610a01565b600054610100900460ff166126fa5760405162461bcd60e51b8152600401610a0190613451565b6097805460ff19169055565b600054610100900460ff1661272d5760405162461bcd60e51b8152600401610a0190613451565b6113f533612421565b600054610100900460ff166123485760405162461bcd60e51b8152600401610a0190613451565b606061189c848460008585600080866001600160a01b0316858760405161278491906131bb565b60006040518083038185875af1925050503d80600081146127c1576040519150601f19603f3d011682016040523d82523d6000602084013e6127c6565b606091505b50915091506127d7878383876127e2565b979650505050505050565b6060831561284e578251612847576001600160a01b0385163b6128475760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610a01565b508161189c565b61189c83838151156128635781518083602001fd5b8060405162461bcd60e51b8152600401610a01919061333e565b828054612889906136bb565b90600052602060002090601f0160209004810192826128ab57600085556128f1565b82601f106128c457805160ff19168380011785556128f1565b828001600101855582156128f1579182015b828111156128f15782518255916020019190600101906128d6565b506128fd929150612901565b5090565b5b808211156128fd5760008155600101612902565b80356001600160a01b038116811461061357600080fd5b600082601f83011261293d578081fd5b8135602061295261294d83613501565b6134d1565b828152818101908583018385028701840188101561296e578586fd5b855b858110156129935761298182612916565b84529284019290840190600101612970565b5090979650505050505050565b600082601f8301126129b0578081fd5b813560206129c061294d83613501565b82815281810190858301838502870184018810156129dc578586fd5b855b85811015612993578135845292840192908401906001016129de565b600082601f830112612a0a578081fd5b612a1460406134d1565b808385604086011115612a25578384fd5b835b6002811015612a46578135845260209384019390910190600101612a27565b509095945050505050565b600082601f830112612a61578081fd5b81356020612a7161294d83613501565b8281528181019085830183850287018401881015612a8d578586fd5b855b85811015612993578135612aa28161374b565b84529284019290840190600101612a8f565b600060208284031215612ac5578081fd5b61205982612916565b60008060408385031215612ae0578081fd5b612ae983612916565b9150612af760208401612916565b90509250929050565b600080600060608486031215612b14578081fd5b612b1d84612916565b9250602084013591506040840135612b348161373d565b809150509250925092565b60008060008060808587031215612b54578081fd5b612b5d85612916565b966020860135965060408601359560600135945092505050565b60008060408385031215612b89578182fd5b612b9283612916565b91506020830135612ba28161374b565b809150509250929050565b6000806000806000806000806000806000806101a08d8f031215612bcf57898afd5b6001600160401b038d351115612be357898afd5b612bf08e8e358f0161292d565b9b506001600160401b0360208e01351115612c0957898afd5b612c198e60208f01358f016129a0565b9a506001600160401b0360408e01351115612c3257898afd5b612c428e60408f01358f01612a51565b99506001600160401b0360608e01351115612c5b578788fd5b612c6b8e60608f01358f016129a0565b98506001600160401b0360808e01351115612c84578788fd5b612c948e60808f01358f016129a0565b97506001600160401b0360a08e01351115612cad578687fd5b612cbd8e60a08f01358f016129a0565b96506001600160401b0360c08e01351115612cd6578586fd5b612ce68e60c08f01358f0161292d565b95506001600160401b0360e08e01351115612cff578485fd5b612d0f8e60e08f01358f016129a0565b9450612d1f8e6101008f016129fa565b9350612d2e6101408e01612916565b92506101608d01359150612d456101808e01612916565b90509295989b509295989b509295989b565b600080600080600080600060e0888a031215612d71578081fd5b87356001600160401b0380821115612d87578283fd5b612d938b838c0161292d565b985060208a0135915080821115612da8578283fd5b612db48b838c016129a0565b975060408a0135915080821115612dc9578283fd5b612dd58b838c01612a51565b965060608a0135915080821115612dea578283fd5b612df68b838c016129a0565b955060808a0135915080821115612e0b578283fd5b50612e188a828b016129a0565b93505060a0880135915060c0880135905092959891949750929550565b60008060008060008060008060006101208a8c031215612e53578283fd5b89356001600160401b0380821115612e69578485fd5b612e758d838e0161292d565b9a5060208c0135915080821115612e8a578485fd5b612e968d838e016129a0565b995060408c0135985060608c0135915080821115612eb2578485fd5b612ebe8d838e0161292d565b975060808c0135915080821115612ed3578485fd5b612edf8d838e016129a0565b965060a08c0135955060c08c0135915080821115612efb578485fd5b612f078d838e01612a51565b945060e08c0135915080821115612f1c578384fd5b612f288d838e016129a0565b93506101008c0135915080821115612f3e578283fd5b50612f4b8c828d016129a0565b9150509295985092959850929598565b60008060008060808587031215612f70578182fd5b84356001600160401b0380821115612f86578384fd5b612f928883890161292d565b95506020870135915080821115612fa7578384fd5b50612fb4878288016129a0565b949794965050505060408301359260600135919050565b600060208284031215612fdc578081fd5b81516120598161373d565b60008060008060808587031215612ffc578182fd5b843593506020850135925060408501356001600160401b0380821115613020578384fd5b61302c8883890161292d565b93506060870135915080821115613041578283fd5b5061304e878288016129a0565b91505092959194509250565b60006020828403121561306b578081fd5b81516001600160401b0380821115613081578283fd5b818401915084601f830112613094578283fd5b8151818111156130a6576130a6613727565b6130b9601f8201601f19166020016134d1565b91508082528560208285010111156130cf578384fd5b6130e081602084016020860161368f565b50949350505050565b6000602082840312156130fa578081fd5b5035919050565b600060208284031215613112578081fd5b81516120598161374b565b6000815180845260208085019450808401835b838110156131555781516001600160a01b031687529582019590820190600101613130565b509495945050505050565b6000815180845260208085019450808401835b8381101561315557815187529582019590820190600101613173565b600081518084526131a781602086016020860161368f565b601f01601f19169290920160200192915050565b600082516131cd81846020870161368f565b9190910192915050565b60208082528251828201819052600091906040908185019080840286018301878501865b8381101561327057888303603f19018552815180516001600160a01b03168452878101516080898601819052906132348287018261318f565b915050878201518582038987015261324c828261318f565b60609384015160ff16969093019590955250948701949250908601906001016131fb565b509098975050505050505050565b600086825285602083015284604083015260a060608301526132a360a083018561311d565b82810360808401526132b58185613160565b98975050505050505050565b60006101208b83528a60208401528060408401526132e18184018b613160565b905082810360608401526132f5818a61311d565b905082810360808401526133098189613160565b60a084019790975250506001600160a01b0393841660c082015260e08101929092529091166101009091015295945050505050565b600060208252612059602083018461318f565b600060a0825261336460a083018861318f565b8281036020840152613376818861318f565b60ff9690961660408401525050606081019290925260809091015292915050565b60208082526039908201527f5375626d6974746564206f7261636c6520736574207369676e6174757265732060408201527f646f206e6f74206861766520656e6f75676820706f7765722e00000000000000606082015260800190565b6020808252603c908201527f537570706c6965642063757272656e74206f7261636c657320616e6420706f7760408201527f65727320646f206e6f74206d6174636820636865636b706f696e742e00000000606082015260800190565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b6000848252606060208301526134b5606083018561311d565b82810360408401526134c78185613160565b9695505050505050565b604051601f8201601f191681016001600160401b03811182821017156134f9576134f9613727565b604052919050565b60006001600160401b0382111561351a5761351a613727565b5060209081020190565b6000821982111561353757613537613711565b500190565b60008261355757634e487b7160e01b81526012600452602481fd5b500490565b80825b600180861161356e5750613599565b81870482111561358057613580613711565b8086161561358d57918102915b9490941c93800261355f565b94509492505050565b600061205960001984846000826135bb57506001612059565b816135c857506000612059565b81600181146135de57600281146135e857613615565b6001915050612059565b60ff8411156135f9576135f9613711565b6001841b91508482111561360f5761360f613711565b50612059565b5060208310610133831016604e8410600b8410161715613648575081810a8381111561364357613643613711565b612059565b613655848484600161355c565b80860482111561366757613667613711565b02949350505050565b600081600019048311821515161561368a5761368a613711565b500290565b60005b838110156136aa578181015183820152602001613692565b838111156118155750506000910152565b6002810460018216806136cf57607f821691505b602082108114156136f057634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561370a5761370a613711565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b80151581146120d657600080fd5b60ff811681146120d657600080fdfea26469706673582212203ed4db4452013a8a70c543ceb34e90480323497170ec1e0f38832a274aef681464736f6c63430008020033",
}

FxBridgeLogicBSCMetaData contains all meta data concerning the FxBridgeLogicBSC contract.

View Source
var FxBridgeLogicBin = FxBridgeLogicMetaData.Bin

FxBridgeLogicBin is the compiled bytecode used for deploying new contracts. Deprecated: Use FxBridgeLogicMetaData.Bin instead.

View Source
var FxBridgeLogicETHABI = FxBridgeLogicETHMetaData.ABI

FxBridgeLogicETHABI is the input ABI used to generate the binding from. Deprecated: Use FxBridgeLogicETHMetaData.ABI instead.

View Source
var FxBridgeLogicETHBin = FxBridgeLogicETHMetaData.Bin

FxBridgeLogicETHBin is the compiled bytecode used for deploying new contracts. Deprecated: Use FxBridgeLogicETHMetaData.Bin instead.

View Source
var FxBridgeLogicETHMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_tokenContract\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"_symbol\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"_decimals\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_eventNonce\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"_channelIBC\",\"type\":\"bytes32\"}],\"name\":\"AddBridgeTokenEvent\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_tokenContract\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"_symbol\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"_decimals\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_eventNonce\",\"type\":\"uint256\"}],\"name\":\"FxOriginatedTokenEvent\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"_newOracleSetNonce\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_eventNonce\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"_oracles\",\"type\":\"address[]\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"_powers\",\"type\":\"uint256[]\"}],\"name\":\"OracleSetUpdatedEvent\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Paused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_tokenContract\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"_destination\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"_targetIBC\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_eventNonce\",\"type\":\"uint256\"}],\"name\":\"SendToFxEvent\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"_batchNonce\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_eventNonce\",\"type\":\"uint256\"}],\"name\":\"TransactionBatchExecutedEvent\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_newOwner\",\"type\":\"address\"}],\"name\":\"TransferOwnerEvent\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Unpaused\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_tokenAddr\",\"type\":\"address\"}],\"name\":\"activeBridgeToken\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_tokenAddr\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"_channelIBC\",\"type\":\"bytes32\"},{\"internalType\":\"bool\",\"name\":\"_isOriginated\",\"type\":\"bool\"}],\"name\":\"addBridgeToken\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"bridgeTokens\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_tokenAddr\",\"type\":\"address\"}],\"name\":\"checkAssetStatus\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_currentOracles\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_currentPowers\",\"type\":\"uint256[]\"},{\"internalType\":\"uint8[]\",\"name\":\"_v\",\"type\":\"uint8[]\"},{\"internalType\":\"bytes32[]\",\"name\":\"_r\",\"type\":\"bytes32[]\"},{\"internalType\":\"bytes32[]\",\"name\":\"_s\",\"type\":\"bytes32[]\"},{\"internalType\":\"bytes32\",\"name\":\"_theHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_powerThreshold\",\"type\":\"uint256\"}],\"name\":\"checkOracleSignatures\",\"outputs\":[],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getBridgeTokenList\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"symbol\",\"type\":\"string\"},{\"internalType\":\"uint8\",\"name\":\"decimals\",\"type\":\"uint8\"}],\"internalType\":\"structFxBridgeLogicETH.BridgeToken[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_fxBridgeId\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_powerThreshold\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"_oracles\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_powers\",\"type\":\"uint256[]\"}],\"name\":\"init\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_erc20Address\",\"type\":\"address\"}],\"name\":\"lastBatchNonce\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_oracles\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_powers\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256\",\"name\":\"_oracleSetNonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"_fxBridgeId\",\"type\":\"bytes32\"}],\"name\":\"makeCheckpoint\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"migrate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_tokenAddr\",\"type\":\"address\"}],\"name\":\"pauseBridgeToken\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_tokenContract\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"_destination\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_targetIBC\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"sendToFx\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_tokenAddr\",\"type\":\"address\"}],\"name\":\"setFxOriginatedToken\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"state_fxBridgeId\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"state_fxOriginatedToken\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"state_lastBatchNonces\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"state_lastEventNonce\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"state_lastOracleSetCheckpoint\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"state_lastOracleSetNonce\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"state_powerThreshold\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_currentOracles\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_currentPowers\",\"type\":\"uint256[]\"},{\"internalType\":\"uint8[]\",\"name\":\"_v\",\"type\":\"uint8[]\"},{\"internalType\":\"bytes32[]\",\"name\":\"_r\",\"type\":\"bytes32[]\"},{\"internalType\":\"bytes32[]\",\"name\":\"_s\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_amounts\",\"type\":\"uint256[]\"},{\"internalType\":\"address[]\",\"name\":\"_destinations\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_fees\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[2]\",\"name\":\"_nonceArray\",\"type\":\"uint256[2]\"},{\"internalType\":\"address\",\"name\":\"_tokenContract\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_batchTimeout\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_feeReceive\",\"type\":\"address\"}],\"name\":\"submitBatch\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"tokenStatus\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"isOriginated\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"isActive\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"isExist\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_newOwner\",\"type\":\"address\"}],\"name\":\"transferOwner\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unpause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_newOracles\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_newPowers\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256\",\"name\":\"_newOracleSetNonce\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"_currentOracles\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_currentPowers\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256\",\"name\":\"_currentOracleSetNonce\",\"type\":\"uint256\"},{\"internalType\":\"uint8[]\",\"name\":\"_v\",\"type\":\"uint8[]\"},{\"internalType\":\"bytes32[]\",\"name\":\"_r\",\"type\":\"bytes32[]\"},{\"internalType\":\"bytes32[]\",\"name\":\"_s\",\"type\":\"bytes32[]\"}],\"name\":\"updateOracleSet\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
	Bin: "0x608060405234801561001057600080fd5b506137d3806100206000396000f3fe608060405234801561001057600080fd5b50600436106101e55760003560e01c806371cbf3811161010f578063bb83bf96116100a2578063f1099f6111610071578063f1099f611461043c578063f2fde38b1461044f578063f92367fd14610462578063fd9791bb1461046b576101e5565b8063bb83bf96146103f7578063dde65aea14610400578063df97174b14610413578063e5a2b5d214610433576101e5565b80638fd3ab80116100de5780638fd3ab80146103b6578063a36a4ab0146103be578063a4f37efd146103d1578063aa63a894146103e4576101e5565b806371cbf3811461038157806373b20547146103945780638456cb591461039d5780638da5cb5b146103a5576101e5565b80633f4ba83a116101875780636189d107116101565780636189d1071461033257806370a0eb941461034557806370e5a8981461034e578063715018a614610379576101e5565b80633f4ba83a146102d8578063474d561c146102e057806354fd4d50146103125780635c975abb14610327576101e5565b8063285a190a116101c3578063285a190a1461027a57806331678cf61461028f578063332caa1f146102b25780633a08e299146102c5576101e5565b8063011b2174146101ea5780630acac94214610210578063283040b414610265575b600080fd5b6101fd6101f8366004612c44565b61047e565b6040519081526020015b60405180910390f35b61024661021e366004612c44565b60d16020526000908152604090205460ff808216916101008104821691620100009091041683565b6040805193151584529115156020840152151590820152606001610207565b61026d61049d565b6040516102079190613331565b61028d610288366004612eb1565b610756565b005b6102a261029d366004612c5e565b61090d565b6040519015158152602001610207565b61028d6102c0366004612d07565b6109bf565b61028d6102d3366004612f8f565b610fc6565b61028d6111c3565b6102a26102ee366004612c44565b6001600160a01b0316600090815260d1602052604090205462010000900460ff1690565b61031a6111dd565b6040516102079190613498565b60975460ff166102a2565b61028d610340366004612ccf565b61126b565b6101fd60cd5481565b61036161035c366004613243565b6114a3565b6040516001600160a01b039091168152602001610207565b61028d6114cd565b6101fd61038f3660046130b5565b6114df565b6101fd60cc5481565b61028d61152c565b6065546001600160a01b0316610361565b61028d611544565b6102a26103cc366004612c44565b611700565b6102a26103df366004612c44565b611816565b61028d6103f2366004613141565b611bf1565b6101fd60ce5481565b6102a261040e366004612c44565b611e83565b6101fd610421366004612c44565b60cf6020526000908152604090205481565b6101fd60ca5481565b6102a261044a366004612c90565b611f98565b61028d61045d366004612c44565b612238565b6101fd60c95481565b60cb54610361906001600160a01b031681565b6001600160a01b038116600090815260cf60205260409020545b919050565b60d0546060906000906001600160401b038111156104cb57634e487b7160e01b600052604160045260246000fd5b60405190808252806020026020018201604052801561053357816020015b610520604051806080016040528060006001600160a01b031681526020016060815260200160608152602001600060ff1681525090565b8152602001906001900390816104e95790505b50905060005b60d05481101561075057600060d0828154811061056657634e487b7160e01b600052603260045260246000fd5b9060005260206000200160009054906101000a90046001600160a01b0316905060006040518060800160405280836001600160a01b03168152602001836001600160a01b03166306fdde036040518163ffffffff1660e01b815260040160006040518083038186803b1580156105db57600080fd5b505afa1580156105ef573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261061791908101906131b4565b8152602001836001600160a01b03166395d89b416040518163ffffffff1660e01b815260040160006040518083038186803b15801561065557600080fd5b505afa158015610669573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261069191908101906131b4565b8152602001836001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b1580156106cf57600080fd5b505afa1580156106e3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610707919061325b565b60ff1681525090508084848151811061073057634e487b7160e01b600052603260045260246000fd5b60200260200101819052505050808061074890613739565b915050610539565b50905090565b6000805b88518110156108e35786818151811061078357634e487b7160e01b600052603260045260246000fd5b602002602001015160ff166000146108d15761083e8982815181106107b857634e487b7160e01b600052603260045260246000fd5b6020026020010151858984815181106107e157634e487b7160e01b600052603260045260246000fd5b602002602001015189858151811061080957634e487b7160e01b600052603260045260246000fd5b602002602001015189868151811061083157634e487b7160e01b600052603260045260246000fd5b60200260200101516122b1565b61088f5760405162461bcd60e51b815260206004820181905260248201527f4f7261636c65207369676e617475726520646f6573206e6f74206d617463682e60448201526064015b60405180910390fd5b8781815181106108af57634e487b7160e01b600052603260045260246000fd5b6020026020010151826108c291906136ba565b9150828211156108d1576108e3565b806108db81613739565b91505061075a565b508181116109035760405162461bcd60e51b81526004016108869061352d565b5050505050505050565b600061091761237b565b60405163f2fde38b60e01b81526001600160a01b03838116600483015284169063f2fde38b90602401600060405180830381600087803b15801561095a57600080fd5b505af115801561096e573d6000803e3d6000fd5b5050604080516001600160a01b038088168252861660208201527fb0f1bf050fff9d249d22389b0f2673295260c8deca341a2755d95318f9fbc699935001905060405180910390a150600192915050565b6109c76123d5565b6109cf61242f565b6001600160a01b038316600090815260d160209081526040918290208251606081018452905460ff8082161515835261010082048116151593830193909352620100009004909116151591810182905290610a685760405162461bcd60e51b8152602060048201526019602482015278556e737570706f7274656420746f6b656e206164647265737360381b6044820152606401610886565b8060200151610aac5760405162461bcd60e51b815260206004820152601060248201526f151bdad95b881dd85cc81c185d5cd95960821b6044820152606401610886565b6020808601516001600160a01b038616600090815260cf90925260409091205410610b3f5760405162461bcd60e51b815260206004820152603760248201527f4e6577206261746368206e6f6e6365206d75737420626520677265617465722060448201527f7468616e207468652063757272656e74206e6f6e63652e0000000000000000006064820152608401610886565b824310610bb45760405162461bcd60e51b815260206004820152603c60248201527f42617463682074696d656f7574206d757374206265206772656174657220746860448201527f616e207468652063757272656e7420626c6f636b206865696768742e000000006064820152608401610886565b8b518d51148015610bc657508a518d51145b8015610bd3575089518d51145b8015610be0575088518d51145b610c2c5760405162461bcd60e51b815260206004820152601d60248201527f4d616c666f726d65642063757272656e74206f7261636c65207365742e0000006044820152606401610886565b60cd54610c448e8e886000602002015160c9546114df565b14610c615760405162461bcd60e51b81526004016108869061358a565b86518851148015610c73575085518851145b610cbf5760405162461bcd60e51b815260206004820181905260248201527f4d616c666f726d6564206261746368206f66207472616e73616374696f6e732e6044820152606401610886565b610d408d8d8d8d8d60c9546f0e8e4c2dce6c2c6e8d2dedc84c2e8c6d60831b8f8f8f8f600160028110610d0257634e487b7160e01b600052603260045260246000fd5b60200201518f8f8f604051602001610d229998979695949392919061341b565b6040516020818303038152906040528051906020012060ca54610756565b6020808601516001600160a01b038616600090815260cf9092526040822055805b8951811015610ecd57610da4888281518110610d8d57634e487b7160e01b600052603260045260246000fd5b60200260200101518361247590919063ffffffff16565b8351909250151560011415610e4f57856001600160a01b03166340c10f19308c8481518110610de357634e487b7160e01b600052603260045260246000fd5b60200260200101516040518363ffffffff1660e01b8152600401610e1c9291906001600160a01b03929092168252602082015260400190565b600060405180830381600087803b158015610e3657600080fd5b505af1158015610e4a573d6000803e3d6000fd5b505050505b610ebb898281518110610e7257634e487b7160e01b600052603260045260246000fd5b60200260200101518b8381518110610e9a57634e487b7160e01b600052603260045260246000fd5b6020026020010151886001600160a01b03166124889092919063ffffffff16565b80610ec581613739565b915050610d61565b508151151560011415610f3b576040516340c10f1960e01b8152306004820152602481018290526001600160a01b038616906340c10f1990604401600060405180830381600087803b158015610f2257600080fd5b505af1158015610f36573d6000803e3d6000fd5b505050505b610f4f6001600160a01b0386168483612488565b505060cc54610f5f906001612475565b60cc556001600160a01b03831684600160200201517f02c7e81975f8edb86e2a0c038b7b86a49c744236abf0f6177ff5afc6986ab70860cc54604051610fa791815260200190565b60405180910390a3610fb860018055565b505050505050505050505050565b610fce61242f565b8387116110435760405162461bcd60e51b815260206004820152603b60248201527f4e6577206f7261636c6520736574206e6f6e6365206d7573742062652067726560448201527f61746572207468616e207468652063757272656e74206e6f6e636500000000006064820152608401610886565b87518951146110945760405162461bcd60e51b815260206004820152601860248201527f4d616c666f726d6564206e6577206f7261636c652073657400000000000000006044820152606401610886565b845186511480156110a6575082518651145b80156110b3575081518651145b80156110c0575080518651145b61110c5760405162461bcd60e51b815260206004820152601c60248201527f4d616c666f726d65642063757272656e74206f7261636c6520736574000000006044820152606401610886565b60cd5461111d87878760c9546114df565b1461113a5760405162461bcd60e51b81526004016108869061358a565b600061114a8a8a8a60c9546114df565b905061115d87878686868660ca54610756565b60cd81905560ce88905560cc54611175906001612475565b60cc81905560405189917f36c6022aad02313069de85ca9645431c7dd5e8e7a21685586461c4b25e2374b3916111af91908e908e90613632565b60405180910390a250505050505050505050565b6111cb61237b565b6111d36124f6565b6111db61253f565b565b60d280546111ea906136fe565b80601f0160208091040260200160405190810160405280929190818152602001828054611216906136fe565b80156112635780601f1061123857610100808354040283529160200191611263565b820191906000526020600020905b81548152906001019060200180831161124657829003601f168201915b505050505081565b6112736123d5565b61127b61242f565b600081116112d65760405162461bcd60e51b815260206004820152602260248201527f616d6f756e742073686f756c642062652067726561746572207468616e207a65604482015261726f60f01b6064820152608401610886565b6001600160a01b038416600090815260d160209081526040918290208251606081018452905460ff808216151583526101008204811615159383019390935262010000900490911615159181018290529061136f5760405162461bcd60e51b8152602060048201526019602482015278556e737570706f7274656420746f6b656e206164647265737360381b6044820152606401610886565b80602001516113b35760405162461bcd60e51b815260206004820152601060248201526f1d1bdad95b881dd85cc81c185d5cd95960821b6044820152606401610886565b6113c86001600160a01b038616333085612591565b805115156001141561142f57604051630852cd8d60e31b8152600481018390526001600160a01b038616906342966c6890602401600060405180830381600087803b15801561141657600080fd5b505af115801561142a573d6000803e3d6000fd5b505050505b60cc5461143d906001612475565b60cc819055604080518581526020810185905290810191909152849033906001600160a01b038816907f034c5b22dd525a50d0a6b15549df0a6ac83b833a6c3da57ea16890832c72507c9060600160405180910390a45061149d60018055565b50505050565b60d081815481106114b357600080fd5b6000918252602090912001546001600160a01b0316905081565b6114d561237b565b6111db60006125c9565b6040516000906918da1958dadc1bda5b9d60b21b9061150a908490839087908a908a906020016133d8565b604051602081830303815290604052805190602001209150505b949350505050565b61153461237b565b61153c61242f565b6111db61261b565b61154c61237b565b604080518082019091526005808252640312e312e360dc1b60209092019182526115789160d291612a0d565b5060005b60d05481101561164a5760405180606001604052806000151581526020016001151581526020016001151581525060d1600060d084815481106115cf57634e487b7160e01b600052603260045260246000fd5b6000918252602080832091909101546001600160a01b0316835282810193909352604091820190208351815493850151949092015160ff199093169115159190911761ff001916610100931515939093029290921762ff0000191662010000911515919091021790558061164281613739565b91505061157c565b5060cb805460d0805460018181019092557fe89d44c8fd6a9bac8af33ce47f56337617d449bf7ff3956b618c646de829cbcb0180546001600160a01b0319166001600160a01b039384161790556040805160608101825282815260208181018481528284019485529554909416600090815260d1909452922091518254935191511515620100000262ff0000199215156101000261ff001992151560ff1990961695909517919091169390931716919091179055565b600061170a61237b565b6001600160a01b038216600090815260d1602052604090205462010000900460ff16151560011461177d5760405162461bcd60e51b815260206004820152601b60248201527f42726964676520746f6b656e20646f65736e27742065786973747300000000006044820152606401610886565b6001600160a01b038216600090815260d1602052604090205460ff6101009091041615156001146117f05760405162461bcd60e51b815260206004820152601b60248201527f42726964676520746f6b656e20616c72656164792070617573656400000000006044820152606401610886565b506001600160a01b0316600090815260d160205260409020805461ff0019169055600190565b600061182061237b565b60cb546001600160a01b03838116911614156118755760405162461bcd60e51b815260206004820152601460248201527324b73b30b634b210313934b233b2903a37b5b2b760611b6044820152606401610886565b60cb80546001600160a01b0319166001600160a01b03841617905560cc5461189e906001612475565b60cc81905550816001600160a01b03167ffbaa7af285fff024998c9265afef33fb4e87f832f053151022580ea67fde8417836001600160a01b03166306fdde036040518163ffffffff1660e01b815260040160006040518083038186803b15801561190857600080fd5b505afa15801561191c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261194491908101906131b4565b846001600160a01b03166395d89b416040518163ffffffff1660e01b815260040160006040518083038186803b15801561197d57600080fd5b505afa158015611991573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526119b991908101906131b4565b856001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b1580156119f257600080fd5b505afa158015611a06573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a2a919061325b565b60cc54604051611a3d94939291906134ab565b60405180910390a2816001600160a01b03167f2da8f37eaabc4d44ba4fcc438e404bbed3344322280d6c67497e9c668c87ec0f836001600160a01b03166306fdde036040518163ffffffff1660e01b815260040160006040518083038186803b158015611aa957600080fd5b505afa158015611abd573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611ae591908101906131b4565b846001600160a01b03166395d89b416040518163ffffffff1660e01b815260040160006040518083038186803b158015611b1e57600080fd5b505afa158015611b32573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611b5a91908101906131b4565b856001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b158015611b9357600080fd5b505afa158015611ba7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bcb919061325b565b60cc54604051611be194939291906000906134e7565b60405180910390a2506001919050565b600054610100900460ff1615808015611c115750600054600160ff909116105b80611c2b5750303b158015611c2b575060005460ff166001145b611c8e5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610886565b6000805460ff191660011790558015611cb1576000805461ff0019166101001790555b611cb9612658565b611cc1612687565b611cc96126b6565b8151835114611d1a5760405162461bcd60e51b815260206004820152601c60248201527f4d616c666f726d65642063757272656e74206f7261636c6520736574000000006044820152606401610886565b6000805b8351811015611d7b57838181518110611d4757634e487b7160e01b600052603260045260246000fd5b602002602001015182611d5a91906136ba565b915085821115611d6957611d7b565b80611d7381613739565b915050611d1e565b50848111611d9b5760405162461bcd60e51b81526004016108869061352d565b6000611daa858560008a6114df565b60c988905560ca87905560cd819055600060ce55600160cc55604080518082019091526005808252640312e302e360dc1b6020909201918252919250611df39160d29190612a0d565b5060ce547f36c6022aad02313069de85ca9645431c7dd5e8e7a21685586461c4b25e2374b360cc548787604051611e2c93929190613632565b60405180910390a250508015611e7c576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050505050565b6000611e8d61237b565b6001600160a01b038216600090815260d1602052604090205462010000900460ff161515600114611f005760405162461bcd60e51b815260206004820152601b60248201527f42726964676520746f6b656e20646f65736e27742065786973747300000000006044820152606401610886565b6001600160a01b038216600090815260d16020526040902054610100900460ff1615611f6e5760405162461bcd60e51b815260206004820152601c60248201527f42726964676520746f6b656e20616c72656164792061637469766564000000006044820152606401610886565b506001600160a01b0316600090815260d160205260409020805461ff001916610100179055600190565b6000611fa261237b565b6001600160a01b038416611ff05760405162461bcd60e51b8152602060048201526015602482015274496e76616c696420746f6b656e206164647265737360581b6044820152606401610886565b6001600160a01b038416600090815260d1602052604090205462010000900460ff161561205f5760405162461bcd60e51b815260206004820152601b60248201527f42726964676520746f6b656e20616c72656164792065786973747300000000006044820152606401610886565b61208b8460405180606001604052808515158152602001600115158152602001600115158152506126e5565b836001600160a01b03167f2da8f37eaabc4d44ba4fcc438e404bbed3344322280d6c67497e9c668c87ec0f856001600160a01b03166306fdde036040518163ffffffff1660e01b815260040160006040518083038186803b1580156120ef57600080fd5b505afa158015612103573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261212b91908101906131b4565b866001600160a01b03166395d89b416040518163ffffffff1660e01b815260040160006040518083038186803b15801561216457600080fd5b505afa158015612178573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526121a091908101906131b4565b876001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b1580156121d957600080fd5b505afa1580156121ed573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612211919061325b565b60cc54886040516122269594939291906134e7565b60405180910390a25060019392505050565b61224061237b565b6001600160a01b0381166122a55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610886565b6122ae816125c9565b50565b6040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c81018590526000908190605c0160408051601f1981840301815282825280516020918201206000845290830180835281905260ff8816918301919091526060820186905260808201859052915060019060a0016020604051602081039080840390855afa158015612351573d6000803e3d6000fd5b505050602060405103516001600160a01b0316876001600160a01b03161491505095945050505050565b6065546001600160a01b031633146111db5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610886565b600260015414156124285760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610886565b6002600155565b60975460ff16156111db5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610886565b600061248182846136ba565b9392505050565b6040516001600160a01b0383166024820152604481018290526124eb90849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152612791565b505050565b60018055565b60975460ff166111db5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610886565b6125476124f6565b6097805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6040516001600160a01b038085166024830152831660448201526064810182905261149d9085906323b872dd60e01b906084016124b4565b606580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61262361242f565b6097805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586125743390565b600054610100900460ff1661267f5760405162461bcd60e51b8152600401610886906135e7565b6111db612863565b600054610100900460ff166126ae5760405162461bcd60e51b8152600401610886906135e7565b6111db612896565b600054610100900460ff166126dd5760405162461bcd60e51b8152600401610886906135e7565b6111db6128c6565b60d0805460018082019092557fe89d44c8fd6a9bac8af33ce47f56337617d449bf7ff3956b618c646de829cbcb0180546001600160a01b0319166001600160a01b038516908117909155600090815260d1602090815260409182902084518154928601519386015160ff199093169015151761ff001916610100931515939093029290921762ff00001916620100009115159190910217905560cc5461278a91612475565b60cc555050565b60006127e6826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166128ed9092919063ffffffff16565b8051909150156124eb57808060200190518101906128049190613125565b6124eb5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610886565b600054610100900460ff1661288a5760405162461bcd60e51b8152600401610886906135e7565b6097805460ff19169055565b600054610100900460ff166128bd5760405162461bcd60e51b8152600401610886906135e7565b6111db336125c9565b600054610100900460ff166124f05760405162461bcd60e51b8152600401610886906135e7565b6060611524848460008585600080866001600160a01b031685876040516129149190613315565b60006040518083038185875af1925050503d8060008114612951576040519150601f19603f3d011682016040523d82523d6000602084013e612956565b606091505b509150915061296787838387612972565b979650505050505050565b606083156129de5782516129d7576001600160a01b0385163b6129d75760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610886565b5081611524565b61152483838151156129f35781518083602001fd5b8060405162461bcd60e51b81526004016108869190613498565b828054612a19906136fe565b90600052602060002090601f016020900481019282612a3b5760008555612a81565b82601f10612a5457805160ff1916838001178555612a81565b82800160010185558215612a81579182015b82811115612a81578251825591602001919060010190612a66565b50612a8d929150612a91565b5090565b5b80821115612a8d5760008155600101612a92565b80356001600160a01b038116811461049857600080fd5b600082601f830112612acd578081fd5b81356020612ae2612add83613697565b613667565b8281528181019085830183850287018401881015612afe578586fd5b855b85811015612b2357612b1182612aa6565b84529284019290840190600101612b00565b5090979650505050505050565b600082601f830112612b40578081fd5b81356020612b50612add83613697565b8281528181019085830183850287018401881015612b6c578586fd5b855b85811015612b2357813584529284019290840190600101612b6e565b600082601f830112612b9a578081fd5b612ba46040613667565b808385604086011115612bb5578384fd5b835b6002811015612bd6578135845260209384019390910190600101612bb7565b509095945050505050565b600082601f830112612bf1578081fd5b81356020612c01612add83613697565b8281528181019085830183850287018401881015612c1d578586fd5b855b85811015612b23578135612c328161378e565b84529284019290840190600101612c1f565b600060208284031215612c55578081fd5b61248182612aa6565b60008060408385031215612c70578081fd5b612c7983612aa6565b9150612c8760208401612aa6565b90509250929050565b600080600060608486031215612ca4578081fd5b612cad84612aa6565b9250602084013591506040840135612cc481613780565b809150509250925092565b60008060008060808587031215612ce4578081fd5b612ced85612aa6565b966020860135965060408601359560600135945092505050565b6000806000806000806000806000806000806101a08d8f031215612d2957898afd5b6001600160401b038d351115612d3d57898afd5b612d4a8e8e358f01612abd565b9b506001600160401b0360208e01351115612d6357898afd5b612d738e60208f01358f01612b30565b9a506001600160401b0360408e01351115612d8c57898afd5b612d9c8e60408f01358f01612be1565b99506001600160401b0360608e01351115612db5578788fd5b612dc58e60608f01358f01612b30565b98506001600160401b0360808e01351115612dde578788fd5b612dee8e60808f01358f01612b30565b97506001600160401b0360a08e01351115612e07578687fd5b612e178e60a08f01358f01612b30565b96506001600160401b0360c08e01351115612e30578586fd5b612e408e60c08f01358f01612abd565b95506001600160401b0360e08e01351115612e59578485fd5b612e698e60e08f01358f01612b30565b9450612e798e6101008f01612b8a565b9350612e886101408e01612aa6565b92506101608d01359150612e9f6101808e01612aa6565b90509295989b509295989b509295989b565b600080600080600080600060e0888a031215612ecb578081fd5b87356001600160401b0380821115612ee1578283fd5b612eed8b838c01612abd565b985060208a0135915080821115612f02578283fd5b612f0e8b838c01612b30565b975060408a0135915080821115612f23578283fd5b612f2f8b838c01612be1565b965060608a0135915080821115612f44578283fd5b612f508b838c01612b30565b955060808a0135915080821115612f65578283fd5b50612f728a828b01612b30565b93505060a0880135915060c0880135905092959891949750929550565b60008060008060008060008060006101208a8c031215612fad578283fd5b89356001600160401b0380821115612fc3578485fd5b612fcf8d838e01612abd565b9a5060208c0135915080821115612fe4578485fd5b612ff08d838e01612b30565b995060408c0135985060608c013591508082111561300c578485fd5b6130188d838e01612abd565b975060808c013591508082111561302d578485fd5b6130398d838e01612b30565b965060a08c0135955060c08c0135915080821115613055578485fd5b6130618d838e01612be1565b945060e08c0135915080821115613076578384fd5b6130828d838e01612b30565b93506101008c0135915080821115613098578283fd5b506130a58c828d01612b30565b9150509295985092959850929598565b600080600080608085870312156130ca578182fd5b84356001600160401b03808211156130e0578384fd5b6130ec88838901612abd565b95506020870135915080821115613101578384fd5b5061310e87828801612b30565b949794965050505060408301359260600135919050565b600060208284031215613136578081fd5b815161248181613780565b60008060008060808587031215613156578182fd5b843593506020850135925060408501356001600160401b038082111561317a578384fd5b61318688838901612abd565b9350606087013591508082111561319b578283fd5b506131a887828801612b30565b91505092959194509250565b6000602082840312156131c5578081fd5b81516001600160401b03808211156131db578283fd5b818401915084601f8301126131ee578283fd5b8151818111156132005761320061376a565b613213601f8201601f1916602001613667565b9150808252856020828501011115613229578384fd5b61323a8160208401602086016136d2565b50949350505050565b600060208284031215613254578081fd5b5035919050565b60006020828403121561326c578081fd5b81516124818161378e565b6000815180845260208085019450808401835b838110156132af5781516001600160a01b03168752958201959082019060010161328a565b509495945050505050565b6000815180845260208085019450808401835b838110156132af578151875295820195908201906001016132cd565b600081518084526133018160208601602086016136d2565b601f01601f19169290920160200192915050565b600082516133278184602087016136d2565b9190910192915050565b60208082528251828201819052600091906040908185019080840286018301878501865b838110156133ca57888303603f19018552815180516001600160a01b031684528781015160808986018190529061338e828701826132e9565b91505087820151858203898701526133a682826132e9565b60609384015160ff1696909301959095525094870194925090860190600101613355565b509098975050505050505050565b600086825285602083015284604083015260a060608301526133fd60a0830185613277565b828103608084015261340f81856132ba565b98975050505050505050565b60006101208b83528a602084015280604084015261343b8184018b6132ba565b9050828103606084015261344f818a613277565b9050828103608084015261346381896132ba565b60a084019790975250506001600160a01b0393841660c082015260e08101929092529091166101009091015295945050505050565b60006020825261248160208301846132e9565b6000608082526134be60808301876132e9565b82810360208401526134d081876132e9565b60ff95909516604084015250506060015292915050565b600060a082526134fa60a08301886132e9565b828103602084015261350c81886132e9565b60ff9690961660408401525050606081019290925260809091015292915050565b60208082526039908201527f5375626d6974746564206f7261636c6520736574207369676e6174757265732060408201527f646f206e6f74206861766520656e6f75676820706f7765722e00000000000000606082015260800190565b6020808252603c908201527f537570706c6965642063757272656e74206f7261636c657320616e6420706f7760408201527f65727320646f206e6f74206d6174636820636865636b706f696e742e00000000606082015260800190565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b60008482526060602083015261364b6060830185613277565b828103604084015261365d81856132ba565b9695505050505050565b604051601f8201601f191681016001600160401b038111828210171561368f5761368f61376a565b604052919050565b60006001600160401b038211156136b0576136b061376a565b5060209081020190565b600082198211156136cd576136cd613754565b500190565b60005b838110156136ed5781810151838201526020016136d5565b8381111561149d5750506000910152565b60028104600182168061371257607f821691505b6020821081141561373357634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561374d5761374d613754565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b80151581146122ae57600080fd5b60ff811681146122ae57600080fdfea2646970667358221220d5a5f5389753c29c08b77eb6068860cdc8bb2fa485639991662f5b156195509564736f6c63430008020033",
}

FxBridgeLogicETHMetaData contains all meta data concerning the FxBridgeLogicETH contract.

View Source
var FxBridgeLogicMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_tokenContract\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"_symbol\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"_decimals\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_eventNonce\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"_channelIBC\",\"type\":\"bytes32\"}],\"name\":\"AddBridgeTokenEvent\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"_newOracleSetNonce\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_eventNonce\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"_oracles\",\"type\":\"address[]\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"_powers\",\"type\":\"uint256[]\"}],\"name\":\"OracleSetUpdatedEvent\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Paused\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_tokenContract\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"_destination\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"_targetIBC\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_eventNonce\",\"type\":\"uint256\"}],\"name\":\"SendToFxEvent\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"_batchNonce\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_eventNonce\",\"type\":\"uint256\"}],\"name\":\"TransactionBatchExecutedEvent\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_newOwner\",\"type\":\"address\"}],\"name\":\"TransferOwnerEvent\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"Unpaused\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_tokenAddr\",\"type\":\"address\"}],\"name\":\"activeBridgeToken\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_tokenAddr\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"_channelIBC\",\"type\":\"bytes32\"},{\"internalType\":\"bool\",\"name\":\"_isOriginated\",\"type\":\"bool\"}],\"name\":\"addBridgeToken\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"bridgeTokens\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_tokenAddr\",\"type\":\"address\"}],\"name\":\"checkAssetStatus\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_currentOracles\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_currentPowers\",\"type\":\"uint256[]\"},{\"internalType\":\"uint8[]\",\"name\":\"_v\",\"type\":\"uint8[]\"},{\"internalType\":\"bytes32[]\",\"name\":\"_r\",\"type\":\"bytes32[]\"},{\"internalType\":\"bytes32[]\",\"name\":\"_s\",\"type\":\"bytes32[]\"},{\"internalType\":\"bytes32\",\"name\":\"_theHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_powerThreshold\",\"type\":\"uint256\"}],\"name\":\"checkOracleSignatures\",\"outputs\":[],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getBridgeTokenList\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"symbol\",\"type\":\"string\"},{\"internalType\":\"uint8\",\"name\":\"decimals\",\"type\":\"uint8\"}],\"internalType\":\"structFxBridgeLogic.BridgeToken[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_fxBridgeId\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_powerThreshold\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"_oracles\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_powers\",\"type\":\"uint256[]\"}],\"name\":\"init\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_erc20Address\",\"type\":\"address\"}],\"name\":\"lastBatchNonce\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_oracles\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_powers\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256\",\"name\":\"_oracleSetNonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"_fxBridgeId\",\"type\":\"bytes32\"}],\"name\":\"makeCheckpoint\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_tokenAddr\",\"type\":\"address\"}],\"name\":\"pauseBridgeToken\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_tokenContract\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"_destination\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_targetIBC\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"sendToFx\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"state_fxBridgeId\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"state_lastBatchNonces\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"state_lastEventNonce\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"state_lastOracleSetCheckpoint\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"state_lastOracleSetNonce\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"state_powerThreshold\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_currentOracles\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_currentPowers\",\"type\":\"uint256[]\"},{\"internalType\":\"uint8[]\",\"name\":\"_v\",\"type\":\"uint8[]\"},{\"internalType\":\"bytes32[]\",\"name\":\"_r\",\"type\":\"bytes32[]\"},{\"internalType\":\"bytes32[]\",\"name\":\"_s\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_amounts\",\"type\":\"uint256[]\"},{\"internalType\":\"address[]\",\"name\":\"_destinations\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_fees\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[2]\",\"name\":\"_nonceArray\",\"type\":\"uint256[2]\"},{\"internalType\":\"address\",\"name\":\"_tokenContract\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_batchTimeout\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_feeReceive\",\"type\":\"address\"}],\"name\":\"submitBatch\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"tokenStatus\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"isOriginated\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"isActive\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"isExist\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_newOwner\",\"type\":\"address\"}],\"name\":\"transferOwner\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unpause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_newOracles\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_newPowers\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256\",\"name\":\"_newOracleSetNonce\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"_currentOracles\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_currentPowers\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256\",\"name\":\"_currentOracleSetNonce\",\"type\":\"uint256\"},{\"internalType\":\"uint8[]\",\"name\":\"_v\",\"type\":\"uint8[]\"},{\"internalType\":\"bytes32[]\",\"name\":\"_r\",\"type\":\"bytes32[]\"},{\"internalType\":\"bytes32[]\",\"name\":\"_s\",\"type\":\"bytes32[]\"}],\"name\":\"updateOracleSet\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
	Bin: "0x608060405234801561001057600080fd5b506131b1806100206000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c8063715018a6116100f9578063bb83bf9611610097578063e5a2b5d211610071578063e5a2b5d2146103f7578063f1099f6114610400578063f2fde38b14610413578063f92367fd14610426576101c4565b8063bb83bf96146103bb578063dde65aea146103c4578063df97174b146103d7576101c4565b80638456cb59116100d35780638456cb591461037c5780638da5cb5b14610384578063a36a4ab014610395578063aa63a894146103a8576101c4565b8063715018a61461035857806371cbf3811461036057806373b2054714610373576101c4565b80633f4ba83a116101665780635c975abb116101405780635c975abb146103065780636189d1071461031157806370a0eb941461032457806370e5a8981461032d576101c4565b80633f4ba83a146102b7578063474d561c146102bf57806354fd4d50146102f1576101c4565b8063285a190a116101a2578063285a190a1461025957806331678cf61461026e578063332caa1f146102915780633a08e299146102a4576101c4565b8063011b2174146101c95780630acac942146101ef578063283040b414610244575b600080fd5b6101dc6101d736600461265e565b61042f565b6040519081526020015b60405180910390f35b6102256101fd36600461265e565b60d06020526000908152604090205460ff808216916101008104821691620100009091041683565b60408051931515845291151560208401521515908201526060016101e6565b61024c61044e565b6040516101e69190612d4b565b61026c6102673660046128cb565b610707565b005b61028161027c366004612678565b6108be565b60405190151581526020016101e6565b61026c61029f366004612721565b610970565b61026c6102b23660046129a9565b610f77565b61026c611174565b6102816102cd36600461265e565b6001600160a01b0316600090815260d0602052604090205462010000900460ff1690565b6102f961118e565b6040516101e69190612eb2565b60975460ff16610281565b61026c61031f3660046126e9565b61121c565b6101dc60cc5481565b61034061033b366004612c5d565b611454565b6040516001600160a01b0390911681526020016101e6565b61026c61147e565b6101dc61036e366004612acf565b611490565b6101dc60cb5481565b61026c6114dd565b6065546001600160a01b0316610340565b6102816103a336600461265e565b6114f5565b61026c6103b6366004612b5b565b61160b565b6101dc60cd5481565b6102816103d236600461265e565b61189d565b6101dc6103e536600461265e565b60ce6020526000908152604090205481565b6101dc60ca5481565b61028161040e3660046126aa565b6119b2565b61026c61042136600461265e565b611c52565b6101dc60c95481565b6001600160a01b038116600090815260ce60205260409020545b919050565b60cf546060906000906001600160401b0381111561047c57634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156104e457816020015b6104d1604051806080016040528060006001600160a01b031681526020016060815260200160608152602001600060ff1681525090565b81526020019060019003908161049a5790505b50905060005b60cf5481101561070157600060cf828154811061051757634e487b7160e01b600052603260045260246000fd5b9060005260206000200160009054906101000a90046001600160a01b0316905060006040518060800160405280836001600160a01b03168152602001836001600160a01b03166306fdde036040518163ffffffff1660e01b815260040160006040518083038186803b15801561058c57600080fd5b505afa1580156105a0573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526105c89190810190612bce565b8152602001836001600160a01b03166395d89b416040518163ffffffff1660e01b815260040160006040518083038186803b15801561060657600080fd5b505afa15801561061a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526106429190810190612bce565b8152602001836001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b15801561068057600080fd5b505afa158015610694573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b89190612c75565b60ff168152509050808484815181106106e157634e487b7160e01b600052603260045260246000fd5b6020026020010181905250505080806106f990613117565b9150506104ea565b50905090565b6000805b88518110156108945786818151811061073457634e487b7160e01b600052603260045260246000fd5b602002602001015160ff16600014610882576107ef89828151811061076957634e487b7160e01b600052603260045260246000fd5b60200260200101518589848151811061079257634e487b7160e01b600052603260045260246000fd5b60200260200101518985815181106107ba57634e487b7160e01b600052603260045260246000fd5b60200260200101518986815181106107e257634e487b7160e01b600052603260045260246000fd5b6020026020010151611ccb565b6108405760405162461bcd60e51b815260206004820181905260248201527f4f7261636c65207369676e617475726520646f6573206e6f74206d617463682e60448201526064015b60405180910390fd5b87818151811061086057634e487b7160e01b600052603260045260246000fd5b6020026020010151826108739190613098565b91508282111561088257610894565b8061088c81613117565b91505061070b565b508181116108b45760405162461bcd60e51b815260040161083790612f0b565b5050505050505050565b60006108c8611d95565b60405163f2fde38b60e01b81526001600160a01b03838116600483015284169063f2fde38b90602401600060405180830381600087803b15801561090b57600080fd5b505af115801561091f573d6000803e3d6000fd5b5050604080516001600160a01b038088168252861660208201527fb0f1bf050fff9d249d22389b0f2673295260c8deca341a2755d95318f9fbc699935001905060405180910390a150600192915050565b610978611def565b610980611e49565b6001600160a01b038316600090815260d060209081526040918290208251606081018452905460ff8082161515835261010082048116151593830193909352620100009004909116151591810182905290610a195760405162461bcd60e51b8152602060048201526019602482015278556e737570706f7274656420746f6b656e206164647265737360381b6044820152606401610837565b8060200151610a5d5760405162461bcd60e51b815260206004820152601060248201526f151bdad95b881dd85cc81c185d5cd95960821b6044820152606401610837565b6020808601516001600160a01b038616600090815260ce90925260409091205410610af05760405162461bcd60e51b815260206004820152603760248201527f4e6577206261746368206e6f6e6365206d75737420626520677265617465722060448201527f7468616e207468652063757272656e74206e6f6e63652e0000000000000000006064820152608401610837565b824310610b655760405162461bcd60e51b815260206004820152603c60248201527f42617463682074696d656f7574206d757374206265206772656174657220746860448201527f616e207468652063757272656e7420626c6f636b206865696768742e000000006064820152608401610837565b8b518d51148015610b7757508a518d51145b8015610b84575089518d51145b8015610b91575088518d51145b610bdd5760405162461bcd60e51b815260206004820152601d60248201527f4d616c666f726d65642063757272656e74206f7261636c65207365742e0000006044820152606401610837565b60cc54610bf58e8e886000602002015160c954611490565b14610c125760405162461bcd60e51b815260040161083790612f68565b86518851148015610c24575085518851145b610c705760405162461bcd60e51b815260206004820181905260248201527f4d616c666f726d6564206261746368206f66207472616e73616374696f6e732e6044820152606401610837565b610cf18d8d8d8d8d60c9546f0e8e4c2dce6c2c6e8d2dedc84c2e8c6d60831b8f8f8f8f600160028110610cb357634e487b7160e01b600052603260045260246000fd5b60200201518f8f8f604051602001610cd399989796959493929190612e35565b6040516020818303038152906040528051906020012060ca54610707565b6020808601516001600160a01b038616600090815260ce9092526040822055805b8951811015610e7e57610d55888281518110610d3e57634e487b7160e01b600052603260045260246000fd5b602002602001015183611e8f90919063ffffffff16565b8351909250151560011415610e0057856001600160a01b03166340c10f19308c8481518110610d9457634e487b7160e01b600052603260045260246000fd5b60200260200101516040518363ffffffff1660e01b8152600401610dcd9291906001600160a01b03929092168252602082015260400190565b600060405180830381600087803b158015610de757600080fd5b505af1158015610dfb573d6000803e3d6000fd5b505050505b610e6c898281518110610e2357634e487b7160e01b600052603260045260246000fd5b60200260200101518b8381518110610e4b57634e487b7160e01b600052603260045260246000fd5b6020026020010151886001600160a01b0316611ea29092919063ffffffff16565b80610e7681613117565b915050610d12565b508151151560011415610eec576040516340c10f1960e01b8152306004820152602481018290526001600160a01b038616906340c10f1990604401600060405180830381600087803b158015610ed357600080fd5b505af1158015610ee7573d6000803e3d6000fd5b505050505b610f006001600160a01b0386168483611ea2565b505060cb54610f10906001611e8f565b60cb556001600160a01b03831684600160200201517f02c7e81975f8edb86e2a0c038b7b86a49c744236abf0f6177ff5afc6986ab70860cb54604051610f5891815260200190565b60405180910390a3610f6960018055565b505050505050505050505050565b610f7f611e49565b838711610ff45760405162461bcd60e51b815260206004820152603b60248201527f4e6577206f7261636c6520736574206e6f6e6365206d7573742062652067726560448201527f61746572207468616e207468652063757272656e74206e6f6e636500000000006064820152608401610837565b87518951146110455760405162461bcd60e51b815260206004820152601860248201527f4d616c666f726d6564206e6577206f7261636c652073657400000000000000006044820152606401610837565b84518651148015611057575082518651145b8015611064575081518651145b8015611071575080518651145b6110bd5760405162461bcd60e51b815260206004820152601c60248201527f4d616c666f726d65642063757272656e74206f7261636c6520736574000000006044820152606401610837565b60cc546110ce87878760c954611490565b146110eb5760405162461bcd60e51b815260040161083790612f68565b60006110fb8a8a8a60c954611490565b905061110e87878686868660ca54610707565b60cc81905560cd88905560cb54611126906001611e8f565b60cb81905560405189917f36c6022aad02313069de85ca9645431c7dd5e8e7a21685586461c4b25e2374b39161116091908e908e90613010565b60405180910390a250505050505050505050565b61117c611d95565b611184611f10565b61118c611f59565b565b60d1805461119b906130dc565b80601f01602080910402602001604051908101604052809291908181526020018280546111c7906130dc565b80156112145780601f106111e957610100808354040283529160200191611214565b820191906000526020600020905b8154815290600101906020018083116111f757829003601f168201915b505050505081565b611224611def565b61122c611e49565b600081116112875760405162461bcd60e51b815260206004820152602260248201527f616d6f756e742073686f756c642062652067726561746572207468616e207a65604482015261726f60f01b6064820152608401610837565b6001600160a01b038416600090815260d060209081526040918290208251606081018452905460ff80821615158352610100820481161515938301939093526201000090049091161515918101829052906113205760405162461bcd60e51b8152602060048201526019602482015278556e737570706f7274656420746f6b656e206164647265737360381b6044820152606401610837565b80602001516113645760405162461bcd60e51b815260206004820152601060248201526f1d1bdad95b881dd85cc81c185d5cd95960821b6044820152606401610837565b6113796001600160a01b038616333085611fab565b80511515600114156113e057604051630852cd8d60e31b8152600481018390526001600160a01b038616906342966c6890602401600060405180830381600087803b1580156113c757600080fd5b505af11580156113db573d6000803e3d6000fd5b505050505b60cb546113ee906001611e8f565b60cb819055604080518581526020810185905290810191909152849033906001600160a01b038816907f034c5b22dd525a50d0a6b15549df0a6ac83b833a6c3da57ea16890832c72507c9060600160405180910390a45061144e60018055565b50505050565b60cf818154811061146457600080fd5b6000918252602090912001546001600160a01b0316905081565b611486611d95565b61118c6000611fe3565b6040516000906918da1958dadc1bda5b9d60b21b906114bb908490839087908a908a90602001612df2565b604051602081830303815290604052805190602001209150505b949350505050565b6114e5611d95565b6114ed611e49565b61118c612035565b60006114ff611d95565b6001600160a01b038216600090815260d0602052604090205462010000900460ff1615156001146115725760405162461bcd60e51b815260206004820152601b60248201527f42726964676520746f6b656e20646f65736e27742065786973747300000000006044820152606401610837565b6001600160a01b038216600090815260d0602052604090205460ff6101009091041615156001146115e55760405162461bcd60e51b815260206004820152601b60248201527f42726964676520746f6b656e20616c72656164792070617573656400000000006044820152606401610837565b506001600160a01b0316600090815260d060205260409020805461ff0019169055600190565b600054610100900460ff161580801561162b5750600054600160ff909116105b806116455750303b158015611645575060005460ff166001145b6116a85760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610837565b6000805460ff1916600117905580156116cb576000805461ff0019166101001790555b6116d3612072565b6116db6120a1565b6116e36120d0565b81518351146117345760405162461bcd60e51b815260206004820152601c60248201527f4d616c666f726d65642063757272656e74206f7261636c6520736574000000006044820152606401610837565b6000805b83518110156117955783818151811061176157634e487b7160e01b600052603260045260246000fd5b6020026020010151826117749190613098565b91508582111561178357611795565b8061178d81613117565b915050611738565b508481116117b55760405162461bcd60e51b815260040161083790612f0b565b60006117c4858560008a611490565b60c988905560ca87905560cc819055600060cd55600160cb55604080518082019091526005808252640312e302e360dc1b602090920191825291925061180d9160d19190612427565b5060cd547f36c6022aad02313069de85ca9645431c7dd5e8e7a21685586461c4b25e2374b360cb54878760405161184693929190613010565b60405180910390a250508015611896576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050505050565b60006118a7611d95565b6001600160a01b038216600090815260d0602052604090205462010000900460ff16151560011461191a5760405162461bcd60e51b815260206004820152601b60248201527f42726964676520746f6b656e20646f65736e27742065786973747300000000006044820152606401610837565b6001600160a01b038216600090815260d06020526040902054610100900460ff16156119885760405162461bcd60e51b815260206004820152601c60248201527f42726964676520746f6b656e20616c72656164792061637469766564000000006044820152606401610837565b506001600160a01b0316600090815260d060205260409020805461ff001916610100179055600190565b60006119bc611d95565b6001600160a01b038416611a0a5760405162461bcd60e51b8152602060048201526015602482015274496e76616c696420746f6b656e206164647265737360581b6044820152606401610837565b6001600160a01b038416600090815260d0602052604090205462010000900460ff1615611a795760405162461bcd60e51b815260206004820152601b60248201527f42726964676520746f6b656e20616c72656164792065786973747300000000006044820152606401610837565b611aa58460405180606001604052808515158152602001600115158152602001600115158152506120ff565b836001600160a01b03167f2da8f37eaabc4d44ba4fcc438e404bbed3344322280d6c67497e9c668c87ec0f856001600160a01b03166306fdde036040518163ffffffff1660e01b815260040160006040518083038186803b158015611b0957600080fd5b505afa158015611b1d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611b459190810190612bce565b866001600160a01b03166395d89b416040518163ffffffff1660e01b815260040160006040518083038186803b158015611b7e57600080fd5b505afa158015611b92573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611bba9190810190612bce565b876001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b158015611bf357600080fd5b505afa158015611c07573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c2b9190612c75565b60cb5488604051611c40959493929190612ec5565b60405180910390a25060019392505050565b611c5a611d95565b6001600160a01b038116611cbf5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610837565b611cc881611fe3565b50565b6040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c81018590526000908190605c0160408051601f1981840301815282825280516020918201206000845290830180835281905260ff8816918301919091526060820186905260808201859052915060019060a0016020604051602081039080840390855afa158015611d6b573d6000803e3d6000fd5b505050602060405103516001600160a01b0316876001600160a01b03161491505095945050505050565b6065546001600160a01b0316331461118c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610837565b60026001541415611e425760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610837565b6002600155565b60975460ff161561118c5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610837565b6000611e9b8284613098565b9392505050565b6040516001600160a01b038316602482015260448101829052611f0590849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526121ab565b505050565b60018055565b60975460ff1661118c5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610837565b611f61611f10565b6097805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6040516001600160a01b038085166024830152831660448201526064810182905261144e9085906323b872dd60e01b90608401611ece565b606580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61203d611e49565b6097805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611f8e3390565b600054610100900460ff166120995760405162461bcd60e51b815260040161083790612fc5565b61118c61227d565b600054610100900460ff166120c85760405162461bcd60e51b815260040161083790612fc5565b61118c6122b0565b600054610100900460ff166120f75760405162461bcd60e51b815260040161083790612fc5565b61118c6122e0565b60cf805460018082019092557facb8d954e2cfef495862221e91bd7523613cf8808827cb33edfe4904cc51bf290180546001600160a01b0319166001600160a01b038516908117909155600090815260d0602090815260409182902084518154928601519386015160ff199093169015151761ff001916610100931515939093029290921762ff00001916620100009115159190910217905560cb546121a491611e8f565b60cb555050565b6000612200826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166123079092919063ffffffff16565b805190915015611f05578080602001905181019061221e9190612b3f565b611f055760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610837565b600054610100900460ff166122a45760405162461bcd60e51b815260040161083790612fc5565b6097805460ff19169055565b600054610100900460ff166122d75760405162461bcd60e51b815260040161083790612fc5565b61118c33611fe3565b600054610100900460ff16611f0a5760405162461bcd60e51b815260040161083790612fc5565b60606114d5848460008585600080866001600160a01b0316858760405161232e9190612d2f565b60006040518083038185875af1925050503d806000811461236b576040519150601f19603f3d011682016040523d82523d6000602084013e612370565b606091505b50915091506123818783838761238c565b979650505050505050565b606083156123f85782516123f1576001600160a01b0385163b6123f15760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610837565b50816114d5565b6114d5838381511561240d5781518083602001fd5b8060405162461bcd60e51b81526004016108379190612eb2565b828054612433906130dc565b90600052602060002090601f016020900481019282612455576000855561249b565b82601f1061246e57805160ff191683800117855561249b565b8280016001018555821561249b579182015b8281111561249b578251825591602001919060010190612480565b506124a79291506124ab565b5090565b5b808211156124a757600081556001016124ac565b80356001600160a01b038116811461044957600080fd5b600082601f8301126124e7578081fd5b813560206124fc6124f783613075565b613045565b8281528181019085830183850287018401881015612518578586fd5b855b8581101561253d5761252b826124c0565b8452928401929084019060010161251a565b5090979650505050505050565b600082601f83011261255a578081fd5b8135602061256a6124f783613075565b8281528181019085830183850287018401881015612586578586fd5b855b8581101561253d57813584529284019290840190600101612588565b600082601f8301126125b4578081fd5b6125be6040613045565b8083856040860111156125cf578384fd5b835b60028110156125f05781358452602093840193909101906001016125d1565b509095945050505050565b600082601f83011261260b578081fd5b8135602061261b6124f783613075565b8281528181019085830183850287018401881015612637578586fd5b855b8581101561253d57813561264c8161316c565b84529284019290840190600101612639565b60006020828403121561266f578081fd5b611e9b826124c0565b6000806040838503121561268a578081fd5b612693836124c0565b91506126a1602084016124c0565b90509250929050565b6000806000606084860312156126be578081fd5b6126c7846124c0565b92506020840135915060408401356126de8161315e565b809150509250925092565b600080600080608085870312156126fe578081fd5b612707856124c0565b966020860135965060408601359560600135945092505050565b6000806000806000806000806000806000806101a08d8f03121561274357898afd5b6001600160401b038d35111561275757898afd5b6127648e8e358f016124d7565b9b506001600160401b0360208e0135111561277d57898afd5b61278d8e60208f01358f0161254a565b9a506001600160401b0360408e013511156127a657898afd5b6127b68e60408f01358f016125fb565b99506001600160401b0360608e013511156127cf578788fd5b6127df8e60608f01358f0161254a565b98506001600160401b0360808e013511156127f8578788fd5b6128088e60808f01358f0161254a565b97506001600160401b0360a08e01351115612821578687fd5b6128318e60a08f01358f0161254a565b96506001600160401b0360c08e0135111561284a578586fd5b61285a8e60c08f01358f016124d7565b95506001600160401b0360e08e01351115612873578485fd5b6128838e60e08f01358f0161254a565b94506128938e6101008f016125a4565b93506128a26101408e016124c0565b92506101608d013591506128b96101808e016124c0565b90509295989b509295989b509295989b565b600080600080600080600060e0888a0312156128e5578081fd5b87356001600160401b03808211156128fb578283fd5b6129078b838c016124d7565b985060208a013591508082111561291c578283fd5b6129288b838c0161254a565b975060408a013591508082111561293d578283fd5b6129498b838c016125fb565b965060608a013591508082111561295e578283fd5b61296a8b838c0161254a565b955060808a013591508082111561297f578283fd5b5061298c8a828b0161254a565b93505060a0880135915060c0880135905092959891949750929550565b60008060008060008060008060006101208a8c0312156129c7578283fd5b89356001600160401b03808211156129dd578485fd5b6129e98d838e016124d7565b9a5060208c01359150808211156129fe578485fd5b612a0a8d838e0161254a565b995060408c0135985060608c0135915080821115612a26578485fd5b612a328d838e016124d7565b975060808c0135915080821115612a47578485fd5b612a538d838e0161254a565b965060a08c0135955060c08c0135915080821115612a6f578485fd5b612a7b8d838e016125fb565b945060e08c0135915080821115612a90578384fd5b612a9c8d838e0161254a565b93506101008c0135915080821115612ab2578283fd5b50612abf8c828d0161254a565b9150509295985092959850929598565b60008060008060808587031215612ae4578182fd5b84356001600160401b0380821115612afa578384fd5b612b06888389016124d7565b95506020870135915080821115612b1b578384fd5b50612b288782880161254a565b949794965050505060408301359260600135919050565b600060208284031215612b50578081fd5b8151611e9b8161315e565b60008060008060808587031215612b70578182fd5b843593506020850135925060408501356001600160401b0380821115612b94578384fd5b612ba0888389016124d7565b93506060870135915080821115612bb5578283fd5b50612bc28782880161254a565b91505092959194509250565b600060208284031215612bdf578081fd5b81516001600160401b0380821115612bf5578283fd5b818401915084601f830112612c08578283fd5b815181811115612c1a57612c1a613148565b612c2d601f8201601f1916602001613045565b9150808252856020828501011115612c43578384fd5b612c548160208401602086016130b0565b50949350505050565b600060208284031215612c6e578081fd5b5035919050565b600060208284031215612c86578081fd5b8151611e9b8161316c565b6000815180845260208085019450808401835b83811015612cc95781516001600160a01b031687529582019590820190600101612ca4565b509495945050505050565b6000815180845260208085019450808401835b83811015612cc957815187529582019590820190600101612ce7565b60008151808452612d1b8160208601602086016130b0565b601f01601f19169290920160200192915050565b60008251612d418184602087016130b0565b9190910192915050565b60208082528251828201819052600091906040908185019080840286018301878501865b83811015612de457888303603f19018552815180516001600160a01b0316845287810151608089860181905290612da882870182612d03565b9150508782015185820389870152612dc08282612d03565b60609384015160ff1696909301959095525094870194925090860190600101612d6f565b509098975050505050505050565b600086825285602083015284604083015260a06060830152612e1760a0830185612c91565b8281036080840152612e298185612cd4565b98975050505050505050565b60006101208b83528a6020840152806040840152612e558184018b612cd4565b90508281036060840152612e69818a612c91565b90508281036080840152612e7d8189612cd4565b60a084019790975250506001600160a01b0393841660c082015260e08101929092529091166101009091015295945050505050565b600060208252611e9b6020830184612d03565b600060a08252612ed860a0830188612d03565b8281036020840152612eea8188612d03565b60ff9690961660408401525050606081019290925260809091015292915050565b60208082526039908201527f5375626d6974746564206f7261636c6520736574207369676e6174757265732060408201527f646f206e6f74206861766520656e6f75676820706f7765722e00000000000000606082015260800190565b6020808252603c908201527f537570706c6965642063757272656e74206f7261636c657320616e6420706f7760408201527f65727320646f206e6f74206d6174636820636865636b706f696e742e00000000606082015260800190565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b6000848252606060208301526130296060830185612c91565b828103604084015261303b8185612cd4565b9695505050505050565b604051601f8201601f191681016001600160401b038111828210171561306d5761306d613148565b604052919050565b60006001600160401b0382111561308e5761308e613148565b5060209081020190565b600082198211156130ab576130ab613132565b500190565b60005b838110156130cb5781810151838201526020016130b3565b8381111561144e5750506000910152565b6002810460018216806130f057607f821691505b6020821081141561311157634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561312b5761312b613132565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b8015158114611cc857600080fd5b60ff81168114611cc857600080fdfea264697066735822122027fe8b6f8f9eb5ac90494399a3717ca737b111834f8ab5c408958c0e549ef96464736f6c63430008020033",
}

FxBridgeLogicMetaData contains all meta data concerning the FxBridgeLogic contract.

View Source
var ICrossChainABI = ICrossChainMetaData.ABI

ICrossChainABI is the input ABI used to generate the binding from. Deprecated: Use ICrossChainMetaData.ABI instead.

View Source
var ICrossChainMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"chain\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"txID\",\"type\":\"uint256\"}],\"name\":\"CancelSendToExternal\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"denom\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"receipt\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"fee\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"target\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"memo\",\"type\":\"string\"}],\"name\":\"CrossChain\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"chain\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"txID\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"fee\",\"type\":\"uint256\"}],\"name\":\"IncreaseBridgeFee\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"_target\",\"type\":\"bytes32\"}],\"name\":\"bridgeCoinAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_chain\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"_txID\",\"type\":\"uint256\"}],\"name\":\"cancelSendToExternal\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"_result\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"_receipt\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_fee\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"_target\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"_memo\",\"type\":\"string\"}],\"name\":\"crossChain\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"_result\",\"type\":\"bool\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_sender\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"_receipt\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_fee\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"_target\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"_memo\",\"type\":\"string\"}],\"name\":\"fip20CrossChain\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"_result\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_chain\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"_txID\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_fee\",\"type\":\"uint256\"}],\"name\":\"increaseBridgeFee\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"_result\",\"type\":\"bool\"}],\"stateMutability\":\"payable\",\"type\":\"function\"}]",
}

ICrossChainMetaData contains all meta data concerning the ICrossChain contract.

View Source
var IStakingABI = IStakingMetaData.ABI

IStakingABI is the input ABI used to generate the binding from. Deprecated: Use IStakingMetaData.ABI instead.

View Source
var IStakingMetaData = &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\":\"string\",\"name\":\"validator\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"name\":\"ApproveShares\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"delegator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"validator\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"name\":\"Delegate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"validator\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"token\",\"type\":\"uint256\"}],\"name\":\"TransferShares\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"validator\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"completionTime\",\"type\":\"uint256\"}],\"name\":\"Undelegate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"validator\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"reward\",\"type\":\"uint256\"}],\"name\":\"Withdraw\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_val\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_spender\",\"type\":\"address\"}],\"name\":\"allowanceShares\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"_shares\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_val\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"_spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_shares\",\"type\":\"uint256\"}],\"name\":\"approveShares\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"_result\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_val\",\"type\":\"string\"}],\"name\":\"delegate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"_shares\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_reward\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_val\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"_del\",\"type\":\"address\"}],\"name\":\"delegation\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"_shares\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_delegateAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_val\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"_del\",\"type\":\"address\"}],\"name\":\"delegationRewards\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"_reward\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_val\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"_from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_shares\",\"type\":\"uint256\"}],\"name\":\"transferFromShares\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"_token\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_reward\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_val\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_shares\",\"type\":\"uint256\"}],\"name\":\"transferShares\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"_token\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_reward\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_val\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"_shares\",\"type\":\"uint256\"}],\"name\":\"undelegate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_reward\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_completionTime\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_val\",\"type\":\"string\"}],\"name\":\"withdraw\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"_reward\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

IStakingMetaData contains all meta data concerning the IStaking contract.

View Source
var WFXUpgradableABI = WFXUpgradableMetaData.ABI

WFXUpgradableABI is the input ABI used to generate the binding from. Deprecated: Use WFXUpgradableMetaData.ABI instead.

View Source
var WFXUpgradableBin = WFXUpgradableMetaData.Bin

WFXUpgradableBin is the compiled bytecode used for deploying new contracts. Deprecated: Use WFXUpgradableMetaData.Bin instead.

View Source
var WFXUpgradableMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"previousAdmin\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newAdmin\",\"type\":\"address\"}],\"name\":\"AdminChanged\",\"type\":\"event\"},{\"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\":\"beacon\",\"type\":\"address\"}],\"name\":\"BeaconUpgraded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Deposit\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"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\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"recipient\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"fee\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"target\",\"type\":\"bytes32\"}],\"name\":\"TransferCrossChain\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"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\":\"Withdraw\",\"type\":\"event\"},{\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"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\":\"amount\",\"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\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"deposit\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"name_\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"symbol_\",\"type\":\"string\"},{\"internalType\":\"uint8\",\"name\":\"decimals_\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"module_\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"module\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"proxiableUUID\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"recipient\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"fee\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"target\",\"type\":\"bytes32\"}],\"name\":\"transferCrossChain\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"}],\"name\":\"upgradeTo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"upgradeToAndCall\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"addresspayable\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
	Bin: "0x60a06040526d100200000000000000000000000060805234801561002257600080fd5b5060805160601c611f2861005d6000396000818161060001528181610640015281816106f60152818161073601526107c50152611f286000f3fe6080604052600436106101395760003560e01c80638da5cb5b116100ab578063c5cb9b511161006f578063c5cb9b5114610364578063d0e30db014610148578063dd62ed3e14610377578063de7ea79d146103bd578063f2fde38b146103dd578063f3fef3a3146103fd57610148565b80638da5cb5b146102bf57806395d89b41146102f15780639dc29fac14610306578063a9059cbb14610326578063b86d52981461034657610148565b80633659cfe6116100fd5780633659cfe61461020c57806340c10f191461022c5780634f1ef2861461024c57806352d1902d1461025f57806370a0823114610274578063715018a6146102aa57610148565b806306fdde0314610150578063095ea7b31461017b57806318160ddd146101ab57806323b872dd146101ca578063313ce567146101ea57610148565b366101485761014661041d565b005b61014661041d565b34801561015c57600080fd5b5061016561045e565b6040516101729190611c56565b60405180910390f35b34801561018757600080fd5b5061019b6101963660046119f8565b6104f0565b6040519015158152602001610172565b3480156101b757600080fd5b5060cc545b604051908152602001610172565b3480156101d657600080fd5b5061019b6101e5366004611957565b610546565b3480156101f657600080fd5b5060cb5460405160ff9091168152602001610172565b34801561021857600080fd5b506101466102273660046118d8565b6105f5565b34801561023857600080fd5b506101466102473660046119f8565b6106d5565b61014661025a366004611997565b6106eb565b34801561026b57600080fd5b506101bc6107b8565b34801561028057600080fd5b506101bc61028f3660046118d8565b6001600160a01b0316600090815260cd602052604090205490565b3480156102b657600080fd5b5061014661086b565b3480156102cb57600080fd5b506097546001600160a01b03165b6040516001600160a01b039091168152602001610172565b3480156102fd57600080fd5b5061016561087f565b34801561031257600080fd5b506101466103213660046119f8565b61088e565b34801561033257600080fd5b5061019b6103413660046119f8565b6108a0565b34801561035257600080fd5b5060cf546001600160a01b03166102d9565b61019b610372366004611b37565b6108b6565b34801561038357600080fd5b506101bc61039236600461191f565b6001600160a01b03918216600090815260ce6020908152604080832093909416825291909152205490565b3480156103c957600080fd5b506101466103d8366004611aac565b61097a565b3480156103e957600080fd5b506101466103f83660046118d8565b610ae9565b34801561040957600080fd5b506101466104183660046118f4565b610b5f565b6104273334610be5565b60405134815233907fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c9060200160405180910390a2565b606060c9805461046d90611e2f565b80601f016020809104026020016040519081016040528092919081815260200182805461049990611e2f565b80156104e65780601f106104bb576101008083540402835291602001916104e6565b820191906000526020600020905b8154815290600101906020018083116104c957829003601f168201915b5050505050905090565b60006104fd338484610cbd565b6040518281526001600160a01b0384169033907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259060200160405180910390a350600192915050565b6001600160a01b038316600090815260ce60209081526040808320338452909152812054828110156105c95760405162461bcd60e51b815260206004820152602160248201527f7472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636044820152606560f81b60648201526084015b60405180910390fd5b6105dd85336105d88685611dec565b610cbd565b6105e8858585610d3f565b60019150505b9392505050565b306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016141561063e5760405162461bcd60e51b81526004016105c090611c98565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610687600080516020611eac833981519152546001600160a01b031690565b6001600160a01b0316146106ad5760405162461bcd60e51b81526004016105c090611ce4565b6106b681610eee565b604080516000808252602082019092526106d291839190610ef6565b50565b6106dd61107a565b6106e78282610be5565b5050565b306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614156107345760405162461bcd60e51b81526004016105c090611c98565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031661077d600080516020611eac833981519152546001600160a01b031690565b6001600160a01b0316146107a35760405162461bcd60e51b81526004016105c090611ce4565b6107ac82610eee565b6106e782826001610ef6565b6000306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146108585760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c60448201527f6c6564207468726f7567682064656c656761746563616c6c000000000000000060648201526084016105c0565b50600080516020611eac83398151915290565b61087361107a565b61087d60006110d4565b565b606060ca805461046d90611e2f565b61089661107a565b6106e78282611126565b60006108ad338484610d3f565b50600192915050565b600063ffffffff333b161561090d5760405162461bcd60e51b815260206004820152601960248201527f63616c6c65722063616e6e6f7420626520636f6e74726163740000000000000060448201526064016105c0565b341561091b5761091b61041d565b6109283386868686611268565b336001600160a01b03167f282dd1817b996776123a00596764d4d54cc16460c9854f7a23f6be020ba0463d868686866040516109679493929190611c69565b60405180910390a2506001949350505050565b600054610100900460ff161580801561099a5750600054600160ff909116105b806109b45750303b1580156109b4575060005460ff166001145b610a175760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016105c0565b6000805460ff191660011790558015610a3a576000805461ff0019166101001790555b8451610a4d9060c99060208801906117e2565b508351610a619060ca9060208701906117e2565b5060cb805460ff191660ff851617905560cf80546001600160a01b0319166001600160a01b038416179055610a94611387565b610a9c6113b6565b8015610ae2576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050505050565b610af161107a565b6001600160a01b038116610b565760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105c0565b6106d2816110d4565b610b693382611126565b6040516001600160a01b0383169082156108fc029083906000818181858888f19350505050158015610b9f573d6000803e3d6000fd5b506040518181526001600160a01b0383169033907f9b1bfa7fa9ee420a16e124f794c35ac9f90472acc99140eb2f6447c714cad8eb906020015b60405180910390a35050565b6001600160a01b038216610c3b5760405162461bcd60e51b815260206004820152601860248201527f6d696e7420746f20746865207a65726f2061646472657373000000000000000060448201526064016105c0565b8060cc6000828254610c4d9190611dd4565b90915550506001600160a01b038216600090815260cd602052604081208054839290610c7a908490611dd4565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610bd9565b6001600160a01b038316610d135760405162461bcd60e51b815260206004820152601d60248201527f617070726f76652066726f6d20746865207a65726f206164647265737300000060448201526064016105c0565b6001600160a01b03928316600090815260ce602090815260408083209490951682529290925291902055565b6001600160a01b038316610d955760405162461bcd60e51b815260206004820152601e60248201527f7472616e736665722066726f6d20746865207a65726f2061646472657373000060448201526064016105c0565b6001600160a01b038216610deb5760405162461bcd60e51b815260206004820152601c60248201527f7472616e7366657220746f20746865207a65726f20616464726573730000000060448201526064016105c0565b6001600160a01b038316600090815260cd602052604090205481811015610e545760405162461bcd60e51b815260206004820152601f60248201527f7472616e7366657220616d6f756e7420657863656564732062616c616e63650060448201526064016105c0565b610e5e8282611dec565b6001600160a01b03808616600090815260cd60205260408082209390935590851681529081208054849290610e94908490611dd4565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610ee091815260200190565b60405180910390a350505050565b6106d261107a565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff1615610f2e57610f29836113dd565b611075565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b815260040160206040518083038186803b158015610f6757600080fd5b505afa925050508015610f97575060408051601f3d908101601f19168201909252610f9491810190611a2a565b60015b610ffa5760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b60648201526084016105c0565b600080516020611eac83398151915281146110695760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b60648201526084016105c0565b50611075838383611479565b505050565b6097546001600160a01b0316331461087d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105c0565b609780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03821661117c5760405162461bcd60e51b815260206004820152601a60248201527f6275726e2066726f6d20746865207a65726f206164647265737300000000000060448201526064016105c0565b6001600160a01b038216600090815260cd6020526040902054818110156111e55760405162461bcd60e51b815260206004820152601b60248201527f6275726e20616d6f756e7420657863656564732062616c616e6365000000000060448201526064016105c0565b6111ef8282611dec565b6001600160a01b038416600090815260cd602052604081209190915560cc805484929061121d908490611dec565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b6001600160a01b0385166112be5760405162461bcd60e51b815260206004820152601e60248201527f7472616e736665722066726f6d20746865207a65726f2061646472657373000060448201526064016105c0565b60008451116113035760405162461bcd60e51b81526020600482015260116024820152701a5b9d985b1a59081c9958da5c1a595b9d607a1b60448201526064016105c0565b806113415760405162461bcd60e51b815260206004820152600e60248201526d1a5b9d985b1a59081d185c99d95d60921b60448201526064016105c0565b60cf546113629086906001600160a01b031661135d8587611dd4565b610d3f565b61137f8585858585604051806020016040528060008152506114a4565b505050505050565b600054610100900460ff166113ae5760405162461bcd60e51b81526004016105c090611d30565b61087d61155c565b600054610100900460ff1661087d5760405162461bcd60e51b81526004016105c090611d30565b6001600160a01b0381163b61144a5760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b60648201526084016105c0565b600080516020611eac83398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b6114828361158c565b60008251118061148f5750805b156110755761149e83836115cc565b50505050565b600080806110046114b98a8a8a8a8a8a6116c0565b6040516114c69190611bb5565b6000604051808303816000865af19150503d8060008114611503576040519150601f19603f3d011682016040523d82523d6000602084013e611508565b606091505b5091509150611546828260405180604001604052806016815260200175199a5c0b58dc9bdcdccb58da185a5b8819985a5b195960521b815250611713565b61154f8161178d565b9998505050505050505050565b600054610100900460ff166115835760405162461bcd60e51b81526004016105c090611d30565b61087d336110d4565b611595816113dd565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606001600160a01b0383163b6116345760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b60648201526084016105c0565b600080846001600160a01b03168460405161164f9190611bb5565b600060405180830381855af49150503d806000811461168a576040519150601f19603f3d011682016040523d82523d6000602084013e61168f565b606091505b50915091506116b78282604051806060016040528060278152602001611ecc602791396117a4565b95945050505050565b60608686868686866040516024016116dd96959493929190611c0e565b60408051601f198184030181529190526020810180516001600160e01b0316633c3e7d7760e01b17905290509695505050505050565b826110755760008280602001905181019061172e9190611a42565b9050600182511015611754578060405162461bcd60e51b81526004016105c09190611c56565b8181604051602001611767929190611bd1565b60408051601f198184030181529082905262461bcd60e51b82526105c091600401611c56565b600080828060200190518101906105ee9190611a0a565b606083156117b35750816105ee565b6105ee83838151156117c85781518083602001fd5b8060405162461bcd60e51b81526004016105c09190611c56565b8280546117ee90611e2f565b90600052602060002090601f0160209004810192826118105760008555611856565b82601f1061182957805160ff1916838001178555611856565b82800160010185558215611856579182015b8281111561185657825182559160200191906001019061183b565b50611862929150611866565b5090565b5b808211156118625760008155600101611867565b600061188e61188984611dac565b611d7b565b90508281528383830111156118a257600080fd5b828260208301376000602084830101529392505050565b600082601f8301126118c9578081fd5b6105ee8383356020850161187b565b6000602082840312156118e9578081fd5b81356105ee81611e96565b60008060408385031215611906578081fd5b823561191181611e96565b946020939093013593505050565b60008060408385031215611931578182fd5b823561193c81611e96565b9150602083013561194c81611e96565b809150509250929050565b60008060006060848603121561196b578081fd5b833561197681611e96565b9250602084013561198681611e96565b929592945050506040919091013590565b600080604083850312156119a9578182fd5b82356119b481611e96565b9150602083013567ffffffffffffffff8111156119cf578182fd5b8301601f810185136119df578182fd5b6119ee8582356020840161187b565b9150509250929050565b60008060408385031215611906578182fd5b600060208284031215611a1b578081fd5b815180151581146105ee578182fd5b600060208284031215611a3b578081fd5b5051919050565b600060208284031215611a53578081fd5b815167ffffffffffffffff811115611a69578182fd5b8201601f81018413611a79578182fd5b8051611a8761188982611dac565b818152856020838501011115611a9b578384fd5b6116b7826020830160208601611e03565b60008060008060808587031215611ac1578081fd5b843567ffffffffffffffff80821115611ad8578283fd5b611ae4888389016118b9565b95506020870135915080821115611af9578283fd5b50611b06878288016118b9565b935050604085013560ff81168114611b1c578182fd5b91506060850135611b2c81611e96565b939692955090935050565b60008060008060808587031215611b4c578384fd5b843567ffffffffffffffff811115611b62578485fd5b611b6e878288016118b9565b97602087013597506040870135966060013595509350505050565b60008151808452611ba1816020860160208601611e03565b601f01601f19169290920160200192915050565b60008251611bc7818460208701611e03565b9190910192915050565b60008351611be3818460208801611e03565b6101d160f51b9083019081528351611c02816002840160208801611e03565b01600201949350505050565b6001600160a01b038716815260c060208201819052600090611c3290830188611b89565b86604084015285606084015284608084015282810360a084015261154f8185611b89565b6000602082526105ee6020830184611b89565b600060808252611c7c6080830187611b89565b6020830195909552506040810192909252606090910152919050565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b6163746976652070726f787960a01b606082015260800190565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff81118282101715611da457611da4611e80565b604052919050565b600067ffffffffffffffff821115611dc657611dc6611e80565b50601f01601f191660200190565b60008219821115611de757611de7611e6a565b500190565b600082821015611dfe57611dfe611e6a565b500390565b60005b83811015611e1e578181015183820152602001611e06565b8381111561149e5750506000910152565b600281046001821680611e4357607f821691505b60208210811415611e6457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146106d257600080fdfe360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a26469706673582212203507a3906cfc30be8c2a4f8308f41ad4797330c08a156e37c4f9450f60bb1f3a64736f6c63430008020033",
}

WFXUpgradableMetaData contains all meta data concerning the WFXUpgradable contract.

Functions

This section is empty.

Types

type ERC1967Proxy

type ERC1967Proxy struct {
	ERC1967ProxyCaller     // Read-only binding to the contract
	ERC1967ProxyTransactor // Write-only binding to the contract
	ERC1967ProxyFilterer   // Log filterer for contract events
}

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

func DeployERC1967Proxy

func DeployERC1967Proxy(auth *bind.TransactOpts, backend bind.ContractBackend, _logic common.Address, _data []byte) (common.Address, *types.Transaction, *ERC1967Proxy, error)

DeployERC1967Proxy deploys a new Ethereum contract, binding an instance of ERC1967Proxy to it.

func NewERC1967Proxy

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

NewERC1967Proxy creates a new instance of ERC1967Proxy, bound to a specific deployed contract.

type ERC1967ProxyAdminChanged

type ERC1967ProxyAdminChanged struct {
	PreviousAdmin common.Address
	NewAdmin      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

ERC1967ProxyAdminChanged represents a AdminChanged event raised by the ERC1967Proxy contract.

type ERC1967ProxyAdminChangedIterator

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

ERC1967ProxyAdminChangedIterator is returned from FilterAdminChanged and is used to iterate over the raw logs and unpacked data for AdminChanged events raised by the ERC1967Proxy contract.

func (*ERC1967ProxyAdminChangedIterator) Close

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

func (*ERC1967ProxyAdminChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC1967ProxyAdminChangedIterator) 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 ERC1967ProxyBeaconUpgraded

type ERC1967ProxyBeaconUpgraded struct {
	Beacon common.Address
	Raw    types.Log // Blockchain specific contextual infos
}

ERC1967ProxyBeaconUpgraded represents a BeaconUpgraded event raised by the ERC1967Proxy contract.

type ERC1967ProxyBeaconUpgradedIterator

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

ERC1967ProxyBeaconUpgradedIterator is returned from FilterBeaconUpgraded and is used to iterate over the raw logs and unpacked data for BeaconUpgraded events raised by the ERC1967Proxy contract.

func (*ERC1967ProxyBeaconUpgradedIterator) Close

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

func (*ERC1967ProxyBeaconUpgradedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC1967ProxyBeaconUpgradedIterator) 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 ERC1967ProxyCaller

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

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

func NewERC1967ProxyCaller

func NewERC1967ProxyCaller(address common.Address, caller bind.ContractCaller) (*ERC1967ProxyCaller, error)

NewERC1967ProxyCaller creates a new read-only instance of ERC1967Proxy, bound to a specific deployed contract.

type ERC1967ProxyCallerRaw

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

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

func (*ERC1967ProxyCallerRaw) Call

func (_ERC1967Proxy *ERC1967ProxyCallerRaw) 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 ERC1967ProxyCallerSession

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

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

type ERC1967ProxyFilterer

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

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

func NewERC1967ProxyFilterer

func NewERC1967ProxyFilterer(address common.Address, filterer bind.ContractFilterer) (*ERC1967ProxyFilterer, error)

NewERC1967ProxyFilterer creates a new log filterer instance of ERC1967Proxy, bound to a specific deployed contract.

func (*ERC1967ProxyFilterer) FilterAdminChanged

func (_ERC1967Proxy *ERC1967ProxyFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*ERC1967ProxyAdminChangedIterator, error)

FilterAdminChanged is a free log retrieval operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*ERC1967ProxyFilterer) FilterBeaconUpgraded

func (_ERC1967Proxy *ERC1967ProxyFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*ERC1967ProxyBeaconUpgradedIterator, error)

FilterBeaconUpgraded is a free log retrieval operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.

Solidity: event BeaconUpgraded(address indexed beacon)

func (*ERC1967ProxyFilterer) FilterUpgraded

func (_ERC1967Proxy *ERC1967ProxyFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*ERC1967ProxyUpgradedIterator, error)

FilterUpgraded is a free log retrieval operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.

Solidity: event Upgraded(address indexed implementation)

func (*ERC1967ProxyFilterer) ParseAdminChanged

func (_ERC1967Proxy *ERC1967ProxyFilterer) ParseAdminChanged(log types.Log) (*ERC1967ProxyAdminChanged, error)

ParseAdminChanged is a log parse operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*ERC1967ProxyFilterer) ParseBeaconUpgraded

func (_ERC1967Proxy *ERC1967ProxyFilterer) ParseBeaconUpgraded(log types.Log) (*ERC1967ProxyBeaconUpgraded, error)

ParseBeaconUpgraded is a log parse operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.

Solidity: event BeaconUpgraded(address indexed beacon)

func (*ERC1967ProxyFilterer) ParseUpgraded

func (_ERC1967Proxy *ERC1967ProxyFilterer) ParseUpgraded(log types.Log) (*ERC1967ProxyUpgraded, error)

ParseUpgraded is a log parse operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.

Solidity: event Upgraded(address indexed implementation)

func (*ERC1967ProxyFilterer) WatchAdminChanged

func (_ERC1967Proxy *ERC1967ProxyFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *ERC1967ProxyAdminChanged) (event.Subscription, error)

WatchAdminChanged is a free log subscription operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*ERC1967ProxyFilterer) WatchBeaconUpgraded

func (_ERC1967Proxy *ERC1967ProxyFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *ERC1967ProxyBeaconUpgraded, beacon []common.Address) (event.Subscription, error)

WatchBeaconUpgraded is a free log subscription operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.

Solidity: event BeaconUpgraded(address indexed beacon)

func (*ERC1967ProxyFilterer) WatchUpgraded

func (_ERC1967Proxy *ERC1967ProxyFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *ERC1967ProxyUpgraded, implementation []common.Address) (event.Subscription, error)

WatchUpgraded is a free log subscription operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.

Solidity: event Upgraded(address indexed implementation)

type ERC1967ProxyRaw

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

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

func (*ERC1967ProxyRaw) Call

func (_ERC1967Proxy *ERC1967ProxyRaw) 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 (*ERC1967ProxyRaw) Transact

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

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

func (*ERC1967ProxyRaw) Transfer

func (_ERC1967Proxy *ERC1967ProxyRaw) 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 ERC1967ProxySession

type ERC1967ProxySession struct {
	Contract     *ERC1967Proxy     // 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
}

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

func (*ERC1967ProxySession) Fallback

func (_ERC1967Proxy *ERC1967ProxySession) Fallback(calldata []byte) (*types.Transaction, error)

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

Solidity: fallback() payable returns()

func (*ERC1967ProxySession) Receive

func (_ERC1967Proxy *ERC1967ProxySession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

type ERC1967ProxyTransactor

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

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

func NewERC1967ProxyTransactor

func NewERC1967ProxyTransactor(address common.Address, transactor bind.ContractTransactor) (*ERC1967ProxyTransactor, error)

NewERC1967ProxyTransactor creates a new write-only instance of ERC1967Proxy, bound to a specific deployed contract.

func (*ERC1967ProxyTransactor) Fallback

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

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

Solidity: fallback() payable returns()

func (*ERC1967ProxyTransactor) Receive

func (_ERC1967Proxy *ERC1967ProxyTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

type ERC1967ProxyTransactorRaw

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

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

func (*ERC1967ProxyTransactorRaw) Transact

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

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

func (*ERC1967ProxyTransactorRaw) Transfer

func (_ERC1967Proxy *ERC1967ProxyTransactorRaw) 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 ERC1967ProxyTransactorSession

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

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

func (*ERC1967ProxyTransactorSession) Fallback

func (_ERC1967Proxy *ERC1967ProxyTransactorSession) Fallback(calldata []byte) (*types.Transaction, error)

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

Solidity: fallback() payable returns()

func (*ERC1967ProxyTransactorSession) Receive

func (_ERC1967Proxy *ERC1967ProxyTransactorSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

type ERC1967ProxyUpgraded

type ERC1967ProxyUpgraded struct {
	Implementation common.Address
	Raw            types.Log // Blockchain specific contextual infos
}

ERC1967ProxyUpgraded represents a Upgraded event raised by the ERC1967Proxy contract.

type ERC1967ProxyUpgradedIterator

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

ERC1967ProxyUpgradedIterator is returned from FilterUpgraded and is used to iterate over the raw logs and unpacked data for Upgraded events raised by the ERC1967Proxy contract.

func (*ERC1967ProxyUpgradedIterator) Close

func (it *ERC1967ProxyUpgradedIterator) Close() error

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

func (*ERC1967ProxyUpgradedIterator) Error

func (it *ERC1967ProxyUpgradedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ERC1967ProxyUpgradedIterator) 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 FIP20Upgradable

type FIP20Upgradable struct {
	FIP20UpgradableCaller     // Read-only binding to the contract
	FIP20UpgradableTransactor // Write-only binding to the contract
	FIP20UpgradableFilterer   // Log filterer for contract events
}

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

func DeployFIP20Upgradable

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

DeployFIP20Upgradable deploys a new Ethereum contract, binding an instance of FIP20Upgradable to it.

func NewFIP20Upgradable

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

NewFIP20Upgradable creates a new instance of FIP20Upgradable, bound to a specific deployed contract.

type FIP20UpgradableAdminChanged

type FIP20UpgradableAdminChanged struct {
	PreviousAdmin common.Address
	NewAdmin      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

FIP20UpgradableAdminChanged represents a AdminChanged event raised by the FIP20Upgradable contract.

type FIP20UpgradableAdminChangedIterator

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

FIP20UpgradableAdminChangedIterator is returned from FilterAdminChanged and is used to iterate over the raw logs and unpacked data for AdminChanged events raised by the FIP20Upgradable contract.

func (*FIP20UpgradableAdminChangedIterator) Close

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

func (*FIP20UpgradableAdminChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FIP20UpgradableAdminChangedIterator) 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 FIP20UpgradableApproval

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

FIP20UpgradableApproval represents a Approval event raised by the FIP20Upgradable contract.

type FIP20UpgradableApprovalIterator

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

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

func (*FIP20UpgradableApprovalIterator) Close

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

func (*FIP20UpgradableApprovalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FIP20UpgradableApprovalIterator) 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 FIP20UpgradableBeaconUpgraded

type FIP20UpgradableBeaconUpgraded struct {
	Beacon common.Address
	Raw    types.Log // Blockchain specific contextual infos
}

FIP20UpgradableBeaconUpgraded represents a BeaconUpgraded event raised by the FIP20Upgradable contract.

type FIP20UpgradableBeaconUpgradedIterator

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

FIP20UpgradableBeaconUpgradedIterator is returned from FilterBeaconUpgraded and is used to iterate over the raw logs and unpacked data for BeaconUpgraded events raised by the FIP20Upgradable contract.

func (*FIP20UpgradableBeaconUpgradedIterator) Close

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

func (*FIP20UpgradableBeaconUpgradedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FIP20UpgradableBeaconUpgradedIterator) 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 FIP20UpgradableCaller

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

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

func NewFIP20UpgradableCaller

func NewFIP20UpgradableCaller(address common.Address, caller bind.ContractCaller) (*FIP20UpgradableCaller, error)

NewFIP20UpgradableCaller creates a new read-only instance of FIP20Upgradable, bound to a specific deployed contract.

func (*FIP20UpgradableCaller) Allowance

func (_FIP20Upgradable *FIP20UpgradableCaller) 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 (*FIP20UpgradableCaller) BalanceOf

func (_FIP20Upgradable *FIP20UpgradableCaller) 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 (*FIP20UpgradableCaller) Decimals

func (_FIP20Upgradable *FIP20UpgradableCaller) Decimals(opts *bind.CallOpts) (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*FIP20UpgradableCaller) Module

func (_FIP20Upgradable *FIP20UpgradableCaller) Module(opts *bind.CallOpts) (common.Address, error)

Module is a free data retrieval call binding the contract method 0xb86d5298.

Solidity: function module() view returns(address)

func (*FIP20UpgradableCaller) Name

func (_FIP20Upgradable *FIP20UpgradableCaller) Name(opts *bind.CallOpts) (string, error)

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

Solidity: function name() view returns(string)

func (*FIP20UpgradableCaller) Owner

func (_FIP20Upgradable *FIP20UpgradableCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*FIP20UpgradableCaller) ProxiableUUID

func (_FIP20Upgradable *FIP20UpgradableCaller) ProxiableUUID(opts *bind.CallOpts) ([32]byte, error)

ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.

Solidity: function proxiableUUID() view returns(bytes32)

func (*FIP20UpgradableCaller) Symbol

func (_FIP20Upgradable *FIP20UpgradableCaller) Symbol(opts *bind.CallOpts) (string, error)

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

Solidity: function symbol() view returns(string)

func (*FIP20UpgradableCaller) TotalSupply

func (_FIP20Upgradable *FIP20UpgradableCaller) 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 FIP20UpgradableCallerRaw

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

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

func (*FIP20UpgradableCallerRaw) Call

func (_FIP20Upgradable *FIP20UpgradableCallerRaw) 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 FIP20UpgradableCallerSession

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

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

func (*FIP20UpgradableCallerSession) Allowance

func (_FIP20Upgradable *FIP20UpgradableCallerSession) 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 (*FIP20UpgradableCallerSession) BalanceOf

func (_FIP20Upgradable *FIP20UpgradableCallerSession) 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 (*FIP20UpgradableCallerSession) Decimals

func (_FIP20Upgradable *FIP20UpgradableCallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*FIP20UpgradableCallerSession) Module

func (_FIP20Upgradable *FIP20UpgradableCallerSession) Module() (common.Address, error)

Module is a free data retrieval call binding the contract method 0xb86d5298.

Solidity: function module() view returns(address)

func (*FIP20UpgradableCallerSession) Name

func (_FIP20Upgradable *FIP20UpgradableCallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*FIP20UpgradableCallerSession) Owner

func (_FIP20Upgradable *FIP20UpgradableCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*FIP20UpgradableCallerSession) ProxiableUUID

func (_FIP20Upgradable *FIP20UpgradableCallerSession) ProxiableUUID() ([32]byte, error)

ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.

Solidity: function proxiableUUID() view returns(bytes32)

func (*FIP20UpgradableCallerSession) Symbol

func (_FIP20Upgradable *FIP20UpgradableCallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*FIP20UpgradableCallerSession) TotalSupply

func (_FIP20Upgradable *FIP20UpgradableCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type FIP20UpgradableFilterer

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

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

func NewFIP20UpgradableFilterer

func NewFIP20UpgradableFilterer(address common.Address, filterer bind.ContractFilterer) (*FIP20UpgradableFilterer, error)

NewFIP20UpgradableFilterer creates a new log filterer instance of FIP20Upgradable, bound to a specific deployed contract.

func (*FIP20UpgradableFilterer) FilterAdminChanged

func (_FIP20Upgradable *FIP20UpgradableFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*FIP20UpgradableAdminChangedIterator, error)

FilterAdminChanged is a free log retrieval operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*FIP20UpgradableFilterer) FilterApproval

func (_FIP20Upgradable *FIP20UpgradableFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*FIP20UpgradableApprovalIterator, 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 (*FIP20UpgradableFilterer) FilterBeaconUpgraded

func (_FIP20Upgradable *FIP20UpgradableFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*FIP20UpgradableBeaconUpgradedIterator, error)

FilterBeaconUpgraded is a free log retrieval operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.

Solidity: event BeaconUpgraded(address indexed beacon)

func (*FIP20UpgradableFilterer) FilterInitialized

func (_FIP20Upgradable *FIP20UpgradableFilterer) FilterInitialized(opts *bind.FilterOpts) (*FIP20UpgradableInitializedIterator, error)

FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*FIP20UpgradableFilterer) FilterOwnershipTransferred

func (_FIP20Upgradable *FIP20UpgradableFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*FIP20UpgradableOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*FIP20UpgradableFilterer) FilterTransfer

func (_FIP20Upgradable *FIP20UpgradableFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*FIP20UpgradableTransferIterator, 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 (*FIP20UpgradableFilterer) FilterTransferCrossChain

func (_FIP20Upgradable *FIP20UpgradableFilterer) FilterTransferCrossChain(opts *bind.FilterOpts, from []common.Address) (*FIP20UpgradableTransferCrossChainIterator, error)

FilterTransferCrossChain is a free log retrieval operation binding the contract event 0x282dd1817b996776123a00596764d4d54cc16460c9854f7a23f6be020ba0463d.

Solidity: event TransferCrossChain(address indexed from, string recipient, uint256 amount, uint256 fee, bytes32 target)

func (*FIP20UpgradableFilterer) FilterUpgraded

func (_FIP20Upgradable *FIP20UpgradableFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*FIP20UpgradableUpgradedIterator, error)

FilterUpgraded is a free log retrieval operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.

Solidity: event Upgraded(address indexed implementation)

func (*FIP20UpgradableFilterer) ParseAdminChanged

func (_FIP20Upgradable *FIP20UpgradableFilterer) ParseAdminChanged(log types.Log) (*FIP20UpgradableAdminChanged, error)

ParseAdminChanged is a log parse operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*FIP20UpgradableFilterer) ParseApproval

func (_FIP20Upgradable *FIP20UpgradableFilterer) ParseApproval(log types.Log) (*FIP20UpgradableApproval, error)

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

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

func (*FIP20UpgradableFilterer) ParseBeaconUpgraded

func (_FIP20Upgradable *FIP20UpgradableFilterer) ParseBeaconUpgraded(log types.Log) (*FIP20UpgradableBeaconUpgraded, error)

ParseBeaconUpgraded is a log parse operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.

Solidity: event BeaconUpgraded(address indexed beacon)

func (*FIP20UpgradableFilterer) ParseInitialized

func (_FIP20Upgradable *FIP20UpgradableFilterer) ParseInitialized(log types.Log) (*FIP20UpgradableInitialized, error)

ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*FIP20UpgradableFilterer) ParseOwnershipTransferred

func (_FIP20Upgradable *FIP20UpgradableFilterer) ParseOwnershipTransferred(log types.Log) (*FIP20UpgradableOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*FIP20UpgradableFilterer) ParseTransfer

func (_FIP20Upgradable *FIP20UpgradableFilterer) ParseTransfer(log types.Log) (*FIP20UpgradableTransfer, error)

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

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

func (*FIP20UpgradableFilterer) ParseTransferCrossChain

func (_FIP20Upgradable *FIP20UpgradableFilterer) ParseTransferCrossChain(log types.Log) (*FIP20UpgradableTransferCrossChain, error)

ParseTransferCrossChain is a log parse operation binding the contract event 0x282dd1817b996776123a00596764d4d54cc16460c9854f7a23f6be020ba0463d.

Solidity: event TransferCrossChain(address indexed from, string recipient, uint256 amount, uint256 fee, bytes32 target)

func (*FIP20UpgradableFilterer) ParseUpgraded

func (_FIP20Upgradable *FIP20UpgradableFilterer) ParseUpgraded(log types.Log) (*FIP20UpgradableUpgraded, error)

ParseUpgraded is a log parse operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.

Solidity: event Upgraded(address indexed implementation)

func (*FIP20UpgradableFilterer) WatchAdminChanged

func (_FIP20Upgradable *FIP20UpgradableFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *FIP20UpgradableAdminChanged) (event.Subscription, error)

WatchAdminChanged is a free log subscription operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*FIP20UpgradableFilterer) WatchApproval

func (_FIP20Upgradable *FIP20UpgradableFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *FIP20UpgradableApproval, 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 (*FIP20UpgradableFilterer) WatchBeaconUpgraded

func (_FIP20Upgradable *FIP20UpgradableFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *FIP20UpgradableBeaconUpgraded, beacon []common.Address) (event.Subscription, error)

WatchBeaconUpgraded is a free log subscription operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.

Solidity: event BeaconUpgraded(address indexed beacon)

func (*FIP20UpgradableFilterer) WatchInitialized

func (_FIP20Upgradable *FIP20UpgradableFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *FIP20UpgradableInitialized) (event.Subscription, error)

WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*FIP20UpgradableFilterer) WatchOwnershipTransferred

func (_FIP20Upgradable *FIP20UpgradableFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *FIP20UpgradableOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*FIP20UpgradableFilterer) WatchTransfer

func (_FIP20Upgradable *FIP20UpgradableFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *FIP20UpgradableTransfer, 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)

func (*FIP20UpgradableFilterer) WatchTransferCrossChain

func (_FIP20Upgradable *FIP20UpgradableFilterer) WatchTransferCrossChain(opts *bind.WatchOpts, sink chan<- *FIP20UpgradableTransferCrossChain, from []common.Address) (event.Subscription, error)

WatchTransferCrossChain is a free log subscription operation binding the contract event 0x282dd1817b996776123a00596764d4d54cc16460c9854f7a23f6be020ba0463d.

Solidity: event TransferCrossChain(address indexed from, string recipient, uint256 amount, uint256 fee, bytes32 target)

func (*FIP20UpgradableFilterer) WatchUpgraded

func (_FIP20Upgradable *FIP20UpgradableFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *FIP20UpgradableUpgraded, implementation []common.Address) (event.Subscription, error)

WatchUpgraded is a free log subscription operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.

Solidity: event Upgraded(address indexed implementation)

type FIP20UpgradableInitialized

type FIP20UpgradableInitialized struct {
	Version uint8
	Raw     types.Log // Blockchain specific contextual infos
}

FIP20UpgradableInitialized represents a Initialized event raised by the FIP20Upgradable contract.

type FIP20UpgradableInitializedIterator

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

FIP20UpgradableInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the FIP20Upgradable contract.

func (*FIP20UpgradableInitializedIterator) Close

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

func (*FIP20UpgradableInitializedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FIP20UpgradableInitializedIterator) 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 FIP20UpgradableOwnershipTransferred

type FIP20UpgradableOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

FIP20UpgradableOwnershipTransferred represents a OwnershipTransferred event raised by the FIP20Upgradable contract.

type FIP20UpgradableOwnershipTransferredIterator

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

FIP20UpgradableOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the FIP20Upgradable contract.

func (*FIP20UpgradableOwnershipTransferredIterator) Close

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

func (*FIP20UpgradableOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FIP20UpgradableOwnershipTransferredIterator) 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 FIP20UpgradableRaw

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

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

func (*FIP20UpgradableRaw) Call

func (_FIP20Upgradable *FIP20UpgradableRaw) 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 (*FIP20UpgradableRaw) Transact

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

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

func (*FIP20UpgradableRaw) Transfer

func (_FIP20Upgradable *FIP20UpgradableRaw) 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 FIP20UpgradableSession

type FIP20UpgradableSession struct {
	Contract     *FIP20Upgradable  // 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
}

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

func (*FIP20UpgradableSession) Allowance

func (_FIP20Upgradable *FIP20UpgradableSession) 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 (*FIP20UpgradableSession) Approve

func (_FIP20Upgradable *FIP20UpgradableSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*FIP20UpgradableSession) BalanceOf

func (_FIP20Upgradable *FIP20UpgradableSession) 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 (*FIP20UpgradableSession) Burn

func (_FIP20Upgradable *FIP20UpgradableSession) Burn(account common.Address, amount *big.Int) (*types.Transaction, error)

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

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

func (*FIP20UpgradableSession) Decimals

func (_FIP20Upgradable *FIP20UpgradableSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*FIP20UpgradableSession) Initialize

func (_FIP20Upgradable *FIP20UpgradableSession) Initialize(name_ string, symbol_ string, decimals_ uint8, module_ common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xde7ea79d.

Solidity: function initialize(string name_, string symbol_, uint8 decimals_, address module_) returns()

func (*FIP20UpgradableSession) Mint

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

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

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

func (*FIP20UpgradableSession) Module

func (_FIP20Upgradable *FIP20UpgradableSession) Module() (common.Address, error)

Module is a free data retrieval call binding the contract method 0xb86d5298.

Solidity: function module() view returns(address)

func (*FIP20UpgradableSession) Name

func (_FIP20Upgradable *FIP20UpgradableSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*FIP20UpgradableSession) Owner

func (_FIP20Upgradable *FIP20UpgradableSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*FIP20UpgradableSession) ProxiableUUID

func (_FIP20Upgradable *FIP20UpgradableSession) ProxiableUUID() ([32]byte, error)

ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.

Solidity: function proxiableUUID() view returns(bytes32)

func (*FIP20UpgradableSession) RenounceOwnership

func (_FIP20Upgradable *FIP20UpgradableSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*FIP20UpgradableSession) Symbol

func (_FIP20Upgradable *FIP20UpgradableSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*FIP20UpgradableSession) TotalSupply

func (_FIP20Upgradable *FIP20UpgradableSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*FIP20UpgradableSession) Transfer

func (_FIP20Upgradable *FIP20UpgradableSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address recipient, uint256 amount) returns(bool)

func (*FIP20UpgradableSession) TransferCrossChain

func (_FIP20Upgradable *FIP20UpgradableSession) TransferCrossChain(recipient string, amount *big.Int, fee *big.Int, target [32]byte) (*types.Transaction, error)

TransferCrossChain is a paid mutator transaction binding the contract method 0xc5cb9b51.

Solidity: function transferCrossChain(string recipient, uint256 amount, uint256 fee, bytes32 target) returns(bool)

func (*FIP20UpgradableSession) TransferFrom

func (_FIP20Upgradable *FIP20UpgradableSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

func (*FIP20UpgradableSession) TransferOwnership

func (_FIP20Upgradable *FIP20UpgradableSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*FIP20UpgradableSession) UpgradeTo

func (_FIP20Upgradable *FIP20UpgradableSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)

UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.

Solidity: function upgradeTo(address newImplementation) returns()

func (*FIP20UpgradableSession) UpgradeToAndCall

func (_FIP20Upgradable *FIP20UpgradableSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)

UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.

Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()

type FIP20UpgradableTransactor

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

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

func NewFIP20UpgradableTransactor

func NewFIP20UpgradableTransactor(address common.Address, transactor bind.ContractTransactor) (*FIP20UpgradableTransactor, error)

NewFIP20UpgradableTransactor creates a new write-only instance of FIP20Upgradable, bound to a specific deployed contract.

func (*FIP20UpgradableTransactor) Approve

func (_FIP20Upgradable *FIP20UpgradableTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*FIP20UpgradableTransactor) Burn

func (_FIP20Upgradable *FIP20UpgradableTransactor) Burn(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error)

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

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

func (*FIP20UpgradableTransactor) Initialize

func (_FIP20Upgradable *FIP20UpgradableTransactor) Initialize(opts *bind.TransactOpts, name_ string, symbol_ string, decimals_ uint8, module_ common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xde7ea79d.

Solidity: function initialize(string name_, string symbol_, uint8 decimals_, address module_) returns()

func (*FIP20UpgradableTransactor) Mint

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

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

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

func (*FIP20UpgradableTransactor) RenounceOwnership

func (_FIP20Upgradable *FIP20UpgradableTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*FIP20UpgradableTransactor) Transfer

func (_FIP20Upgradable *FIP20UpgradableTransactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address recipient, uint256 amount) returns(bool)

func (*FIP20UpgradableTransactor) TransferCrossChain

func (_FIP20Upgradable *FIP20UpgradableTransactor) TransferCrossChain(opts *bind.TransactOpts, recipient string, amount *big.Int, fee *big.Int, target [32]byte) (*types.Transaction, error)

TransferCrossChain is a paid mutator transaction binding the contract method 0xc5cb9b51.

Solidity: function transferCrossChain(string recipient, uint256 amount, uint256 fee, bytes32 target) returns(bool)

func (*FIP20UpgradableTransactor) TransferFrom

func (_FIP20Upgradable *FIP20UpgradableTransactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

func (*FIP20UpgradableTransactor) TransferOwnership

func (_FIP20Upgradable *FIP20UpgradableTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*FIP20UpgradableTransactor) UpgradeTo

func (_FIP20Upgradable *FIP20UpgradableTransactor) UpgradeTo(opts *bind.TransactOpts, newImplementation common.Address) (*types.Transaction, error)

UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.

Solidity: function upgradeTo(address newImplementation) returns()

func (*FIP20UpgradableTransactor) UpgradeToAndCall

func (_FIP20Upgradable *FIP20UpgradableTransactor) UpgradeToAndCall(opts *bind.TransactOpts, newImplementation common.Address, data []byte) (*types.Transaction, error)

UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.

Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()

type FIP20UpgradableTransactorRaw

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

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

func (*FIP20UpgradableTransactorRaw) Transact

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

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

func (*FIP20UpgradableTransactorRaw) Transfer

func (_FIP20Upgradable *FIP20UpgradableTransactorRaw) 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 FIP20UpgradableTransactorSession

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

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

func (*FIP20UpgradableTransactorSession) Approve

func (_FIP20Upgradable *FIP20UpgradableTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*FIP20UpgradableTransactorSession) Burn

func (_FIP20Upgradable *FIP20UpgradableTransactorSession) Burn(account common.Address, amount *big.Int) (*types.Transaction, error)

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

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

func (*FIP20UpgradableTransactorSession) Initialize

func (_FIP20Upgradable *FIP20UpgradableTransactorSession) Initialize(name_ string, symbol_ string, decimals_ uint8, module_ common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xde7ea79d.

Solidity: function initialize(string name_, string symbol_, uint8 decimals_, address module_) returns()

func (*FIP20UpgradableTransactorSession) Mint

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

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

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

func (*FIP20UpgradableTransactorSession) RenounceOwnership

func (_FIP20Upgradable *FIP20UpgradableTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*FIP20UpgradableTransactorSession) Transfer

func (_FIP20Upgradable *FIP20UpgradableTransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address recipient, uint256 amount) returns(bool)

func (*FIP20UpgradableTransactorSession) TransferCrossChain

func (_FIP20Upgradable *FIP20UpgradableTransactorSession) TransferCrossChain(recipient string, amount *big.Int, fee *big.Int, target [32]byte) (*types.Transaction, error)

TransferCrossChain is a paid mutator transaction binding the contract method 0xc5cb9b51.

Solidity: function transferCrossChain(string recipient, uint256 amount, uint256 fee, bytes32 target) returns(bool)

func (*FIP20UpgradableTransactorSession) TransferFrom

func (_FIP20Upgradable *FIP20UpgradableTransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

func (*FIP20UpgradableTransactorSession) TransferOwnership

func (_FIP20Upgradable *FIP20UpgradableTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*FIP20UpgradableTransactorSession) UpgradeTo

func (_FIP20Upgradable *FIP20UpgradableTransactorSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)

UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.

Solidity: function upgradeTo(address newImplementation) returns()

func (*FIP20UpgradableTransactorSession) UpgradeToAndCall

func (_FIP20Upgradable *FIP20UpgradableTransactorSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)

UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.

Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()

type FIP20UpgradableTransfer

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

FIP20UpgradableTransfer represents a Transfer event raised by the FIP20Upgradable contract.

type FIP20UpgradableTransferCrossChain

type FIP20UpgradableTransferCrossChain struct {
	From      common.Address
	Recipient string
	Amount    *big.Int
	Fee       *big.Int
	Target    [32]byte
	Raw       types.Log // Blockchain specific contextual infos
}

FIP20UpgradableTransferCrossChain represents a TransferCrossChain event raised by the FIP20Upgradable contract.

type FIP20UpgradableTransferCrossChainIterator

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

FIP20UpgradableTransferCrossChainIterator is returned from FilterTransferCrossChain and is used to iterate over the raw logs and unpacked data for TransferCrossChain events raised by the FIP20Upgradable contract.

func (*FIP20UpgradableTransferCrossChainIterator) Close

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

func (*FIP20UpgradableTransferCrossChainIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FIP20UpgradableTransferCrossChainIterator) 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 FIP20UpgradableTransferIterator

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

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

func (*FIP20UpgradableTransferIterator) Close

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

func (*FIP20UpgradableTransferIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FIP20UpgradableTransferIterator) 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 FIP20UpgradableUpgraded

type FIP20UpgradableUpgraded struct {
	Implementation common.Address
	Raw            types.Log // Blockchain specific contextual infos
}

FIP20UpgradableUpgraded represents a Upgraded event raised by the FIP20Upgradable contract.

type FIP20UpgradableUpgradedIterator

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

FIP20UpgradableUpgradedIterator is returned from FilterUpgraded and is used to iterate over the raw logs and unpacked data for Upgraded events raised by the FIP20Upgradable contract.

func (*FIP20UpgradableUpgradedIterator) Close

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

func (*FIP20UpgradableUpgradedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FIP20UpgradableUpgradedIterator) 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 FxBridgeLogic

type FxBridgeLogic struct {
	FxBridgeLogicCaller     // Read-only binding to the contract
	FxBridgeLogicTransactor // Write-only binding to the contract
	FxBridgeLogicFilterer   // Log filterer for contract events
}

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

func DeployFxBridgeLogic

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

DeployFxBridgeLogic deploys a new Ethereum contract, binding an instance of FxBridgeLogic to it.

func NewFxBridgeLogic

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

NewFxBridgeLogic creates a new instance of FxBridgeLogic, bound to a specific deployed contract.

type FxBridgeLogicAddBridgeTokenEvent

type FxBridgeLogicAddBridgeTokenEvent struct {
	TokenContract common.Address
	Name          string
	Symbol        string
	Decimals      uint8
	EventNonce    *big.Int
	ChannelIBC    [32]byte
	Raw           types.Log // Blockchain specific contextual infos
}

FxBridgeLogicAddBridgeTokenEvent represents a AddBridgeTokenEvent event raised by the FxBridgeLogic contract.

type FxBridgeLogicAddBridgeTokenEventIterator

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

FxBridgeLogicAddBridgeTokenEventIterator is returned from FilterAddBridgeTokenEvent and is used to iterate over the raw logs and unpacked data for AddBridgeTokenEvent events raised by the FxBridgeLogic contract.

func (*FxBridgeLogicAddBridgeTokenEventIterator) Close

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

func (*FxBridgeLogicAddBridgeTokenEventIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FxBridgeLogicAddBridgeTokenEventIterator) 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 FxBridgeLogicBSC

type FxBridgeLogicBSC struct {
	FxBridgeLogicBSCCaller     // Read-only binding to the contract
	FxBridgeLogicBSCTransactor // Write-only binding to the contract
	FxBridgeLogicBSCFilterer   // Log filterer for contract events
}

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

func DeployFxBridgeLogicBSC

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

DeployFxBridgeLogicBSC deploys a new Ethereum contract, binding an instance of FxBridgeLogicBSC to it.

func NewFxBridgeLogicBSC

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

NewFxBridgeLogicBSC creates a new instance of FxBridgeLogicBSC, bound to a specific deployed contract.

type FxBridgeLogicBSCAddBridgeTokenEvent

type FxBridgeLogicBSCAddBridgeTokenEvent struct {
	TokenContract common.Address
	Name          string
	Symbol        string
	Decimals      uint8
	EventNonce    *big.Int
	ChannelIBC    [32]byte
	Raw           types.Log // Blockchain specific contextual infos
}

FxBridgeLogicBSCAddBridgeTokenEvent represents a AddBridgeTokenEvent event raised by the FxBridgeLogicBSC contract.

type FxBridgeLogicBSCAddBridgeTokenEventIterator

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

FxBridgeLogicBSCAddBridgeTokenEventIterator is returned from FilterAddBridgeTokenEvent and is used to iterate over the raw logs and unpacked data for AddBridgeTokenEvent events raised by the FxBridgeLogicBSC contract.

func (*FxBridgeLogicBSCAddBridgeTokenEventIterator) Close

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

func (*FxBridgeLogicBSCAddBridgeTokenEventIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FxBridgeLogicBSCAddBridgeTokenEventIterator) 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 FxBridgeLogicBSCBridgeToken

type FxBridgeLogicBSCBridgeToken struct {
	Addr     common.Address
	Name     string
	Symbol   string
	Decimals uint8
}

FxBridgeLogicBSCBridgeToken is an auto generated low-level Go binding around an user-defined struct.

type FxBridgeLogicBSCCaller

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

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

func NewFxBridgeLogicBSCCaller

func NewFxBridgeLogicBSCCaller(address common.Address, caller bind.ContractCaller) (*FxBridgeLogicBSCCaller, error)

NewFxBridgeLogicBSCCaller creates a new read-only instance of FxBridgeLogicBSC, bound to a specific deployed contract.

func (*FxBridgeLogicBSCCaller) BridgeTokens

func (_FxBridgeLogicBSC *FxBridgeLogicBSCCaller) BridgeTokens(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

BridgeTokens is a free data retrieval call binding the contract method 0x70e5a898.

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

func (*FxBridgeLogicBSCCaller) CheckAssetStatus

func (_FxBridgeLogicBSC *FxBridgeLogicBSCCaller) CheckAssetStatus(opts *bind.CallOpts, _tokenAddr common.Address) (bool, error)

CheckAssetStatus is a free data retrieval call binding the contract method 0x474d561c.

Solidity: function checkAssetStatus(address _tokenAddr) view returns(bool)

func (*FxBridgeLogicBSCCaller) CheckOracleSignatures

func (_FxBridgeLogicBSC *FxBridgeLogicBSCCaller) CheckOracleSignatures(opts *bind.CallOpts, _currentOracles []common.Address, _currentPowers []*big.Int, _v []uint8, _r [][32]byte, _s [][32]byte, _theHash [32]byte, _powerThreshold *big.Int) error

CheckOracleSignatures is a free data retrieval call binding the contract method 0x285a190a.

Solidity: function checkOracleSignatures(address[] _currentOracles, uint256[] _currentPowers, uint8[] _v, bytes32[] _r, bytes32[] _s, bytes32 _theHash, uint256 _powerThreshold) pure returns()

func (*FxBridgeLogicBSCCaller) ConvertDecimals

func (_FxBridgeLogicBSC *FxBridgeLogicBSCCaller) ConvertDecimals(opts *bind.CallOpts, arg0 common.Address) (uint8, error)

ConvertDecimals is a free data retrieval call binding the contract method 0x7d9a8ea6.

Solidity: function convert_decimals(address ) view returns(uint8)

func (*FxBridgeLogicBSCCaller) GetBridgeTokenList

func (_FxBridgeLogicBSC *FxBridgeLogicBSCCaller) GetBridgeTokenList(opts *bind.CallOpts) ([]FxBridgeLogicBSCBridgeToken, error)

GetBridgeTokenList is a free data retrieval call binding the contract method 0x283040b4.

Solidity: function getBridgeTokenList() view returns((address,string,string,uint8)[])

func (*FxBridgeLogicBSCCaller) LastBatchNonce

func (_FxBridgeLogicBSC *FxBridgeLogicBSCCaller) LastBatchNonce(opts *bind.CallOpts, _erc20Address common.Address) (*big.Int, error)

LastBatchNonce is a free data retrieval call binding the contract method 0x011b2174.

Solidity: function lastBatchNonce(address _erc20Address) view returns(uint256)

func (*FxBridgeLogicBSCCaller) MakeCheckpoint

func (_FxBridgeLogicBSC *FxBridgeLogicBSCCaller) MakeCheckpoint(opts *bind.CallOpts, _oracles []common.Address, _powers []*big.Int, _oracleSetNonce *big.Int, _fxBridgeId [32]byte) ([32]byte, error)

MakeCheckpoint is a free data retrieval call binding the contract method 0x71cbf381.

Solidity: function makeCheckpoint(address[] _oracles, uint256[] _powers, uint256 _oracleSetNonce, bytes32 _fxBridgeId) pure returns(bytes32)

func (*FxBridgeLogicBSCCaller) Owner

func (_FxBridgeLogicBSC *FxBridgeLogicBSCCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*FxBridgeLogicBSCCaller) Paused

func (_FxBridgeLogicBSC *FxBridgeLogicBSCCaller) Paused(opts *bind.CallOpts) (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*FxBridgeLogicBSCCaller) StateFxBridgeId

func (_FxBridgeLogicBSC *FxBridgeLogicBSCCaller) StateFxBridgeId(opts *bind.CallOpts) ([32]byte, error)

StateFxBridgeId is a free data retrieval call binding the contract method 0xf92367fd.

Solidity: function state_fxBridgeId() view returns(bytes32)

func (*FxBridgeLogicBSCCaller) StateLastBatchNonces

func (_FxBridgeLogicBSC *FxBridgeLogicBSCCaller) StateLastBatchNonces(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

StateLastBatchNonces is a free data retrieval call binding the contract method 0xdf97174b.

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

func (*FxBridgeLogicBSCCaller) StateLastEventNonce

func (_FxBridgeLogicBSC *FxBridgeLogicBSCCaller) StateLastEventNonce(opts *bind.CallOpts) (*big.Int, error)

StateLastEventNonce is a free data retrieval call binding the contract method 0x73b20547.

Solidity: function state_lastEventNonce() view returns(uint256)

func (*FxBridgeLogicBSCCaller) StateLastOracleSetCheckpoint

func (_FxBridgeLogicBSC *FxBridgeLogicBSCCaller) StateLastOracleSetCheckpoint(opts *bind.CallOpts) ([32]byte, error)

StateLastOracleSetCheckpoint is a free data retrieval call binding the contract method 0x70a0eb94.

Solidity: function state_lastOracleSetCheckpoint() view returns(bytes32)

func (*FxBridgeLogicBSCCaller) StateLastOracleSetNonce

func (_FxBridgeLogicBSC *FxBridgeLogicBSCCaller) StateLastOracleSetNonce(opts *bind.CallOpts) (*big.Int, error)

StateLastOracleSetNonce is a free data retrieval call binding the contract method 0xbb83bf96.

Solidity: function state_lastOracleSetNonce() view returns(uint256)

func (*FxBridgeLogicBSCCaller) StatePowerThreshold

func (_FxBridgeLogicBSC *FxBridgeLogicBSCCaller) StatePowerThreshold(opts *bind.CallOpts) (*big.Int, error)

StatePowerThreshold is a free data retrieval call binding the contract method 0xe5a2b5d2.

Solidity: function state_powerThreshold() view returns(uint256)

func (*FxBridgeLogicBSCCaller) TokenStatus

func (_FxBridgeLogicBSC *FxBridgeLogicBSCCaller) TokenStatus(opts *bind.CallOpts, arg0 common.Address) (struct {
	IsOriginated bool
	IsActive     bool
	IsExist      bool
}, error)

TokenStatus is a free data retrieval call binding the contract method 0x0acac942.

Solidity: function tokenStatus(address ) view returns(bool isOriginated, bool isActive, bool isExist)

func (*FxBridgeLogicBSCCaller) Version

func (_FxBridgeLogicBSC *FxBridgeLogicBSCCaller) Version(opts *bind.CallOpts) (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string)

type FxBridgeLogicBSCCallerRaw

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

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

func (*FxBridgeLogicBSCCallerRaw) Call

func (_FxBridgeLogicBSC *FxBridgeLogicBSCCallerRaw) 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 FxBridgeLogicBSCCallerSession

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

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

func (*FxBridgeLogicBSCCallerSession) BridgeTokens

func (_FxBridgeLogicBSC *FxBridgeLogicBSCCallerSession) BridgeTokens(arg0 *big.Int) (common.Address, error)

BridgeTokens is a free data retrieval call binding the contract method 0x70e5a898.

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

func (*FxBridgeLogicBSCCallerSession) CheckAssetStatus

func (_FxBridgeLogicBSC *FxBridgeLogicBSCCallerSession) CheckAssetStatus(_tokenAddr common.Address) (bool, error)

CheckAssetStatus is a free data retrieval call binding the contract method 0x474d561c.

Solidity: function checkAssetStatus(address _tokenAddr) view returns(bool)

func (*FxBridgeLogicBSCCallerSession) CheckOracleSignatures

func (_FxBridgeLogicBSC *FxBridgeLogicBSCCallerSession) CheckOracleSignatures(_currentOracles []common.Address, _currentPowers []*big.Int, _v []uint8, _r [][32]byte, _s [][32]byte, _theHash [32]byte, _powerThreshold *big.Int) error

CheckOracleSignatures is a free data retrieval call binding the contract method 0x285a190a.

Solidity: function checkOracleSignatures(address[] _currentOracles, uint256[] _currentPowers, uint8[] _v, bytes32[] _r, bytes32[] _s, bytes32 _theHash, uint256 _powerThreshold) pure returns()

func (*FxBridgeLogicBSCCallerSession) ConvertDecimals

func (_FxBridgeLogicBSC *FxBridgeLogicBSCCallerSession) ConvertDecimals(arg0 common.Address) (uint8, error)

ConvertDecimals is a free data retrieval call binding the contract method 0x7d9a8ea6.

Solidity: function convert_decimals(address ) view returns(uint8)

func (*FxBridgeLogicBSCCallerSession) GetBridgeTokenList

func (_FxBridgeLogicBSC *FxBridgeLogicBSCCallerSession) GetBridgeTokenList() ([]FxBridgeLogicBSCBridgeToken, error)

GetBridgeTokenList is a free data retrieval call binding the contract method 0x283040b4.

Solidity: function getBridgeTokenList() view returns((address,string,string,uint8)[])

func (*FxBridgeLogicBSCCallerSession) LastBatchNonce

func (_FxBridgeLogicBSC *FxBridgeLogicBSCCallerSession) LastBatchNonce(_erc20Address common.Address) (*big.Int, error)

LastBatchNonce is a free data retrieval call binding the contract method 0x011b2174.

Solidity: function lastBatchNonce(address _erc20Address) view returns(uint256)

func (*FxBridgeLogicBSCCallerSession) MakeCheckpoint

func (_FxBridgeLogicBSC *FxBridgeLogicBSCCallerSession) MakeCheckpoint(_oracles []common.Address, _powers []*big.Int, _oracleSetNonce *big.Int, _fxBridgeId [32]byte) ([32]byte, error)

MakeCheckpoint is a free data retrieval call binding the contract method 0x71cbf381.

Solidity: function makeCheckpoint(address[] _oracles, uint256[] _powers, uint256 _oracleSetNonce, bytes32 _fxBridgeId) pure returns(bytes32)

func (*FxBridgeLogicBSCCallerSession) Owner

func (_FxBridgeLogicBSC *FxBridgeLogicBSCCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*FxBridgeLogicBSCCallerSession) Paused

func (_FxBridgeLogicBSC *FxBridgeLogicBSCCallerSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*FxBridgeLogicBSCCallerSession) StateFxBridgeId

func (_FxBridgeLogicBSC *FxBridgeLogicBSCCallerSession) StateFxBridgeId() ([32]byte, error)

StateFxBridgeId is a free data retrieval call binding the contract method 0xf92367fd.

Solidity: function state_fxBridgeId() view returns(bytes32)

func (*FxBridgeLogicBSCCallerSession) StateLastBatchNonces

func (_FxBridgeLogicBSC *FxBridgeLogicBSCCallerSession) StateLastBatchNonces(arg0 common.Address) (*big.Int, error)

StateLastBatchNonces is a free data retrieval call binding the contract method 0xdf97174b.

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

func (*FxBridgeLogicBSCCallerSession) StateLastEventNonce

func (_FxBridgeLogicBSC *FxBridgeLogicBSCCallerSession) StateLastEventNonce() (*big.Int, error)

StateLastEventNonce is a free data retrieval call binding the contract method 0x73b20547.

Solidity: function state_lastEventNonce() view returns(uint256)

func (*FxBridgeLogicBSCCallerSession) StateLastOracleSetCheckpoint

func (_FxBridgeLogicBSC *FxBridgeLogicBSCCallerSession) StateLastOracleSetCheckpoint() ([32]byte, error)

StateLastOracleSetCheckpoint is a free data retrieval call binding the contract method 0x70a0eb94.

Solidity: function state_lastOracleSetCheckpoint() view returns(bytes32)

func (*FxBridgeLogicBSCCallerSession) StateLastOracleSetNonce

func (_FxBridgeLogicBSC *FxBridgeLogicBSCCallerSession) StateLastOracleSetNonce() (*big.Int, error)

StateLastOracleSetNonce is a free data retrieval call binding the contract method 0xbb83bf96.

Solidity: function state_lastOracleSetNonce() view returns(uint256)

func (*FxBridgeLogicBSCCallerSession) StatePowerThreshold

func (_FxBridgeLogicBSC *FxBridgeLogicBSCCallerSession) StatePowerThreshold() (*big.Int, error)

StatePowerThreshold is a free data retrieval call binding the contract method 0xe5a2b5d2.

Solidity: function state_powerThreshold() view returns(uint256)

func (*FxBridgeLogicBSCCallerSession) TokenStatus

func (_FxBridgeLogicBSC *FxBridgeLogicBSCCallerSession) TokenStatus(arg0 common.Address) (struct {
	IsOriginated bool
	IsActive     bool
	IsExist      bool
}, error)

TokenStatus is a free data retrieval call binding the contract method 0x0acac942.

Solidity: function tokenStatus(address ) view returns(bool isOriginated, bool isActive, bool isExist)

func (*FxBridgeLogicBSCCallerSession) Version

func (_FxBridgeLogicBSC *FxBridgeLogicBSCCallerSession) Version() (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string)

type FxBridgeLogicBSCFilterer

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

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

func NewFxBridgeLogicBSCFilterer

func NewFxBridgeLogicBSCFilterer(address common.Address, filterer bind.ContractFilterer) (*FxBridgeLogicBSCFilterer, error)

NewFxBridgeLogicBSCFilterer creates a new log filterer instance of FxBridgeLogicBSC, bound to a specific deployed contract.

func (*FxBridgeLogicBSCFilterer) FilterAddBridgeTokenEvent

func (_FxBridgeLogicBSC *FxBridgeLogicBSCFilterer) FilterAddBridgeTokenEvent(opts *bind.FilterOpts, _tokenContract []common.Address) (*FxBridgeLogicBSCAddBridgeTokenEventIterator, error)

FilterAddBridgeTokenEvent is a free log retrieval operation binding the contract event 0x2da8f37eaabc4d44ba4fcc438e404bbed3344322280d6c67497e9c668c87ec0f.

Solidity: event AddBridgeTokenEvent(address indexed _tokenContract, string _name, string _symbol, uint8 _decimals, uint256 _eventNonce, bytes32 _channelIBC)

func (*FxBridgeLogicBSCFilterer) FilterInitialized

func (_FxBridgeLogicBSC *FxBridgeLogicBSCFilterer) FilterInitialized(opts *bind.FilterOpts) (*FxBridgeLogicBSCInitializedIterator, error)

FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*FxBridgeLogicBSCFilterer) FilterOracleSetUpdatedEvent

func (_FxBridgeLogicBSC *FxBridgeLogicBSCFilterer) FilterOracleSetUpdatedEvent(opts *bind.FilterOpts, _newOracleSetNonce []*big.Int) (*FxBridgeLogicBSCOracleSetUpdatedEventIterator, error)

FilterOracleSetUpdatedEvent is a free log retrieval operation binding the contract event 0x36c6022aad02313069de85ca9645431c7dd5e8e7a21685586461c4b25e2374b3.

Solidity: event OracleSetUpdatedEvent(uint256 indexed _newOracleSetNonce, uint256 _eventNonce, address[] _oracles, uint256[] _powers)

func (*FxBridgeLogicBSCFilterer) FilterOwnershipTransferred

func (_FxBridgeLogicBSC *FxBridgeLogicBSCFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*FxBridgeLogicBSCOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*FxBridgeLogicBSCFilterer) FilterPaused

func (_FxBridgeLogicBSC *FxBridgeLogicBSCFilterer) FilterPaused(opts *bind.FilterOpts) (*FxBridgeLogicBSCPausedIterator, error)

FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*FxBridgeLogicBSCFilterer) FilterSendToFxEvent

func (_FxBridgeLogicBSC *FxBridgeLogicBSCFilterer) FilterSendToFxEvent(opts *bind.FilterOpts, _tokenContract []common.Address, _sender []common.Address, _destination [][32]byte) (*FxBridgeLogicBSCSendToFxEventIterator, error)

FilterSendToFxEvent is a free log retrieval operation binding the contract event 0x034c5b22dd525a50d0a6b15549df0a6ac83b833a6c3da57ea16890832c72507c.

Solidity: event SendToFxEvent(address indexed _tokenContract, address indexed _sender, bytes32 indexed _destination, bytes32 _targetIBC, uint256 _amount, uint256 _eventNonce)

func (*FxBridgeLogicBSCFilterer) FilterTransactionBatchExecutedEvent

func (_FxBridgeLogicBSC *FxBridgeLogicBSCFilterer) FilterTransactionBatchExecutedEvent(opts *bind.FilterOpts, _batchNonce []*big.Int, _token []common.Address) (*FxBridgeLogicBSCTransactionBatchExecutedEventIterator, error)

FilterTransactionBatchExecutedEvent is a free log retrieval operation binding the contract event 0x02c7e81975f8edb86e2a0c038b7b86a49c744236abf0f6177ff5afc6986ab708.

Solidity: event TransactionBatchExecutedEvent(uint256 indexed _batchNonce, address indexed _token, uint256 _eventNonce)

func (*FxBridgeLogicBSCFilterer) FilterTransferOwnerEvent

func (_FxBridgeLogicBSC *FxBridgeLogicBSCFilterer) FilterTransferOwnerEvent(opts *bind.FilterOpts) (*FxBridgeLogicBSCTransferOwnerEventIterator, error)

FilterTransferOwnerEvent is a free log retrieval operation binding the contract event 0xb0f1bf050fff9d249d22389b0f2673295260c8deca341a2755d95318f9fbc699.

Solidity: event TransferOwnerEvent(address _token, address _newOwner)

func (*FxBridgeLogicBSCFilterer) FilterUnpaused

func (_FxBridgeLogicBSC *FxBridgeLogicBSCFilterer) FilterUnpaused(opts *bind.FilterOpts) (*FxBridgeLogicBSCUnpausedIterator, error)

FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*FxBridgeLogicBSCFilterer) ParseAddBridgeTokenEvent

func (_FxBridgeLogicBSC *FxBridgeLogicBSCFilterer) ParseAddBridgeTokenEvent(log types.Log) (*FxBridgeLogicBSCAddBridgeTokenEvent, error)

ParseAddBridgeTokenEvent is a log parse operation binding the contract event 0x2da8f37eaabc4d44ba4fcc438e404bbed3344322280d6c67497e9c668c87ec0f.

Solidity: event AddBridgeTokenEvent(address indexed _tokenContract, string _name, string _symbol, uint8 _decimals, uint256 _eventNonce, bytes32 _channelIBC)

func (*FxBridgeLogicBSCFilterer) ParseInitialized

func (_FxBridgeLogicBSC *FxBridgeLogicBSCFilterer) ParseInitialized(log types.Log) (*FxBridgeLogicBSCInitialized, error)

ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*FxBridgeLogicBSCFilterer) ParseOracleSetUpdatedEvent

func (_FxBridgeLogicBSC *FxBridgeLogicBSCFilterer) ParseOracleSetUpdatedEvent(log types.Log) (*FxBridgeLogicBSCOracleSetUpdatedEvent, error)

ParseOracleSetUpdatedEvent is a log parse operation binding the contract event 0x36c6022aad02313069de85ca9645431c7dd5e8e7a21685586461c4b25e2374b3.

Solidity: event OracleSetUpdatedEvent(uint256 indexed _newOracleSetNonce, uint256 _eventNonce, address[] _oracles, uint256[] _powers)

func (*FxBridgeLogicBSCFilterer) ParseOwnershipTransferred

func (_FxBridgeLogicBSC *FxBridgeLogicBSCFilterer) ParseOwnershipTransferred(log types.Log) (*FxBridgeLogicBSCOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*FxBridgeLogicBSCFilterer) ParsePaused

func (_FxBridgeLogicBSC *FxBridgeLogicBSCFilterer) ParsePaused(log types.Log) (*FxBridgeLogicBSCPaused, error)

ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*FxBridgeLogicBSCFilterer) ParseSendToFxEvent

func (_FxBridgeLogicBSC *FxBridgeLogicBSCFilterer) ParseSendToFxEvent(log types.Log) (*FxBridgeLogicBSCSendToFxEvent, error)

ParseSendToFxEvent is a log parse operation binding the contract event 0x034c5b22dd525a50d0a6b15549df0a6ac83b833a6c3da57ea16890832c72507c.

Solidity: event SendToFxEvent(address indexed _tokenContract, address indexed _sender, bytes32 indexed _destination, bytes32 _targetIBC, uint256 _amount, uint256 _eventNonce)

func (*FxBridgeLogicBSCFilterer) ParseTransactionBatchExecutedEvent

func (_FxBridgeLogicBSC *FxBridgeLogicBSCFilterer) ParseTransactionBatchExecutedEvent(log types.Log) (*FxBridgeLogicBSCTransactionBatchExecutedEvent, error)

ParseTransactionBatchExecutedEvent is a log parse operation binding the contract event 0x02c7e81975f8edb86e2a0c038b7b86a49c744236abf0f6177ff5afc6986ab708.

Solidity: event TransactionBatchExecutedEvent(uint256 indexed _batchNonce, address indexed _token, uint256 _eventNonce)

func (*FxBridgeLogicBSCFilterer) ParseTransferOwnerEvent

func (_FxBridgeLogicBSC *FxBridgeLogicBSCFilterer) ParseTransferOwnerEvent(log types.Log) (*FxBridgeLogicBSCTransferOwnerEvent, error)

ParseTransferOwnerEvent is a log parse operation binding the contract event 0xb0f1bf050fff9d249d22389b0f2673295260c8deca341a2755d95318f9fbc699.

Solidity: event TransferOwnerEvent(address _token, address _newOwner)

func (*FxBridgeLogicBSCFilterer) ParseUnpaused

func (_FxBridgeLogicBSC *FxBridgeLogicBSCFilterer) ParseUnpaused(log types.Log) (*FxBridgeLogicBSCUnpaused, error)

ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*FxBridgeLogicBSCFilterer) WatchAddBridgeTokenEvent

func (_FxBridgeLogicBSC *FxBridgeLogicBSCFilterer) WatchAddBridgeTokenEvent(opts *bind.WatchOpts, sink chan<- *FxBridgeLogicBSCAddBridgeTokenEvent, _tokenContract []common.Address) (event.Subscription, error)

WatchAddBridgeTokenEvent is a free log subscription operation binding the contract event 0x2da8f37eaabc4d44ba4fcc438e404bbed3344322280d6c67497e9c668c87ec0f.

Solidity: event AddBridgeTokenEvent(address indexed _tokenContract, string _name, string _symbol, uint8 _decimals, uint256 _eventNonce, bytes32 _channelIBC)

func (*FxBridgeLogicBSCFilterer) WatchInitialized

func (_FxBridgeLogicBSC *FxBridgeLogicBSCFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *FxBridgeLogicBSCInitialized) (event.Subscription, error)

WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*FxBridgeLogicBSCFilterer) WatchOracleSetUpdatedEvent

func (_FxBridgeLogicBSC *FxBridgeLogicBSCFilterer) WatchOracleSetUpdatedEvent(opts *bind.WatchOpts, sink chan<- *FxBridgeLogicBSCOracleSetUpdatedEvent, _newOracleSetNonce []*big.Int) (event.Subscription, error)

WatchOracleSetUpdatedEvent is a free log subscription operation binding the contract event 0x36c6022aad02313069de85ca9645431c7dd5e8e7a21685586461c4b25e2374b3.

Solidity: event OracleSetUpdatedEvent(uint256 indexed _newOracleSetNonce, uint256 _eventNonce, address[] _oracles, uint256[] _powers)

func (*FxBridgeLogicBSCFilterer) WatchOwnershipTransferred

func (_FxBridgeLogicBSC *FxBridgeLogicBSCFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *FxBridgeLogicBSCOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*FxBridgeLogicBSCFilterer) WatchPaused

func (_FxBridgeLogicBSC *FxBridgeLogicBSCFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *FxBridgeLogicBSCPaused) (event.Subscription, error)

WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*FxBridgeLogicBSCFilterer) WatchSendToFxEvent

func (_FxBridgeLogicBSC *FxBridgeLogicBSCFilterer) WatchSendToFxEvent(opts *bind.WatchOpts, sink chan<- *FxBridgeLogicBSCSendToFxEvent, _tokenContract []common.Address, _sender []common.Address, _destination [][32]byte) (event.Subscription, error)

WatchSendToFxEvent is a free log subscription operation binding the contract event 0x034c5b22dd525a50d0a6b15549df0a6ac83b833a6c3da57ea16890832c72507c.

Solidity: event SendToFxEvent(address indexed _tokenContract, address indexed _sender, bytes32 indexed _destination, bytes32 _targetIBC, uint256 _amount, uint256 _eventNonce)

func (*FxBridgeLogicBSCFilterer) WatchTransactionBatchExecutedEvent

func (_FxBridgeLogicBSC *FxBridgeLogicBSCFilterer) WatchTransactionBatchExecutedEvent(opts *bind.WatchOpts, sink chan<- *FxBridgeLogicBSCTransactionBatchExecutedEvent, _batchNonce []*big.Int, _token []common.Address) (event.Subscription, error)

WatchTransactionBatchExecutedEvent is a free log subscription operation binding the contract event 0x02c7e81975f8edb86e2a0c038b7b86a49c744236abf0f6177ff5afc6986ab708.

Solidity: event TransactionBatchExecutedEvent(uint256 indexed _batchNonce, address indexed _token, uint256 _eventNonce)

func (*FxBridgeLogicBSCFilterer) WatchTransferOwnerEvent

func (_FxBridgeLogicBSC *FxBridgeLogicBSCFilterer) WatchTransferOwnerEvent(opts *bind.WatchOpts, sink chan<- *FxBridgeLogicBSCTransferOwnerEvent) (event.Subscription, error)

WatchTransferOwnerEvent is a free log subscription operation binding the contract event 0xb0f1bf050fff9d249d22389b0f2673295260c8deca341a2755d95318f9fbc699.

Solidity: event TransferOwnerEvent(address _token, address _newOwner)

func (*FxBridgeLogicBSCFilterer) WatchUnpaused

func (_FxBridgeLogicBSC *FxBridgeLogicBSCFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *FxBridgeLogicBSCUnpaused) (event.Subscription, error)

WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

type FxBridgeLogicBSCInitialized

type FxBridgeLogicBSCInitialized struct {
	Version uint8
	Raw     types.Log // Blockchain specific contextual infos
}

FxBridgeLogicBSCInitialized represents a Initialized event raised by the FxBridgeLogicBSC contract.

type FxBridgeLogicBSCInitializedIterator

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

FxBridgeLogicBSCInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the FxBridgeLogicBSC contract.

func (*FxBridgeLogicBSCInitializedIterator) Close

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

func (*FxBridgeLogicBSCInitializedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FxBridgeLogicBSCInitializedIterator) 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 FxBridgeLogicBSCOracleSetUpdatedEvent

type FxBridgeLogicBSCOracleSetUpdatedEvent struct {
	NewOracleSetNonce *big.Int
	EventNonce        *big.Int
	Oracles           []common.Address
	Powers            []*big.Int
	Raw               types.Log // Blockchain specific contextual infos
}

FxBridgeLogicBSCOracleSetUpdatedEvent represents a OracleSetUpdatedEvent event raised by the FxBridgeLogicBSC contract.

type FxBridgeLogicBSCOracleSetUpdatedEventIterator

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

FxBridgeLogicBSCOracleSetUpdatedEventIterator is returned from FilterOracleSetUpdatedEvent and is used to iterate over the raw logs and unpacked data for OracleSetUpdatedEvent events raised by the FxBridgeLogicBSC contract.

func (*FxBridgeLogicBSCOracleSetUpdatedEventIterator) Close

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

func (*FxBridgeLogicBSCOracleSetUpdatedEventIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FxBridgeLogicBSCOracleSetUpdatedEventIterator) 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 FxBridgeLogicBSCOwnershipTransferred

type FxBridgeLogicBSCOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

FxBridgeLogicBSCOwnershipTransferred represents a OwnershipTransferred event raised by the FxBridgeLogicBSC contract.

type FxBridgeLogicBSCOwnershipTransferredIterator

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

FxBridgeLogicBSCOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the FxBridgeLogicBSC contract.

func (*FxBridgeLogicBSCOwnershipTransferredIterator) Close

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

func (*FxBridgeLogicBSCOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FxBridgeLogicBSCOwnershipTransferredIterator) 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 FxBridgeLogicBSCPaused

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

FxBridgeLogicBSCPaused represents a Paused event raised by the FxBridgeLogicBSC contract.

type FxBridgeLogicBSCPausedIterator

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

FxBridgeLogicBSCPausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the FxBridgeLogicBSC contract.

func (*FxBridgeLogicBSCPausedIterator) Close

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

func (*FxBridgeLogicBSCPausedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FxBridgeLogicBSCPausedIterator) 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 FxBridgeLogicBSCRaw

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

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

func (*FxBridgeLogicBSCRaw) Call

func (_FxBridgeLogicBSC *FxBridgeLogicBSCRaw) 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 (*FxBridgeLogicBSCRaw) Transact

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

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

func (*FxBridgeLogicBSCRaw) Transfer

func (_FxBridgeLogicBSC *FxBridgeLogicBSCRaw) 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 FxBridgeLogicBSCSendToFxEvent

type FxBridgeLogicBSCSendToFxEvent struct {
	TokenContract common.Address
	Sender        common.Address
	Destination   [32]byte
	TargetIBC     [32]byte
	Amount        *big.Int
	EventNonce    *big.Int
	Raw           types.Log // Blockchain specific contextual infos
}

FxBridgeLogicBSCSendToFxEvent represents a SendToFxEvent event raised by the FxBridgeLogicBSC contract.

type FxBridgeLogicBSCSendToFxEventIterator

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

FxBridgeLogicBSCSendToFxEventIterator is returned from FilterSendToFxEvent and is used to iterate over the raw logs and unpacked data for SendToFxEvent events raised by the FxBridgeLogicBSC contract.

func (*FxBridgeLogicBSCSendToFxEventIterator) Close

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

func (*FxBridgeLogicBSCSendToFxEventIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FxBridgeLogicBSCSendToFxEventIterator) 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 FxBridgeLogicBSCSession

type FxBridgeLogicBSCSession struct {
	Contract     *FxBridgeLogicBSC // 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
}

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

func (*FxBridgeLogicBSCSession) ActiveBridgeToken

func (_FxBridgeLogicBSC *FxBridgeLogicBSCSession) ActiveBridgeToken(_tokenAddr common.Address) (*types.Transaction, error)

ActiveBridgeToken is a paid mutator transaction binding the contract method 0xdde65aea.

Solidity: function activeBridgeToken(address _tokenAddr) returns(bool)

func (*FxBridgeLogicBSCSession) AddBridgeToken

func (_FxBridgeLogicBSC *FxBridgeLogicBSCSession) AddBridgeToken(_tokenAddr common.Address, _channelIBC [32]byte, _isOriginated bool) (*types.Transaction, error)

AddBridgeToken is a paid mutator transaction binding the contract method 0xf1099f61.

Solidity: function addBridgeToken(address _tokenAddr, bytes32 _channelIBC, bool _isOriginated) returns(bool)

func (*FxBridgeLogicBSCSession) BridgeTokens

func (_FxBridgeLogicBSC *FxBridgeLogicBSCSession) BridgeTokens(arg0 *big.Int) (common.Address, error)

BridgeTokens is a free data retrieval call binding the contract method 0x70e5a898.

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

func (*FxBridgeLogicBSCSession) CheckAssetStatus

func (_FxBridgeLogicBSC *FxBridgeLogicBSCSession) CheckAssetStatus(_tokenAddr common.Address) (bool, error)

CheckAssetStatus is a free data retrieval call binding the contract method 0x474d561c.

Solidity: function checkAssetStatus(address _tokenAddr) view returns(bool)

func (*FxBridgeLogicBSCSession) CheckOracleSignatures

func (_FxBridgeLogicBSC *FxBridgeLogicBSCSession) CheckOracleSignatures(_currentOracles []common.Address, _currentPowers []*big.Int, _v []uint8, _r [][32]byte, _s [][32]byte, _theHash [32]byte, _powerThreshold *big.Int) error

CheckOracleSignatures is a free data retrieval call binding the contract method 0x285a190a.

Solidity: function checkOracleSignatures(address[] _currentOracles, uint256[] _currentPowers, uint8[] _v, bytes32[] _r, bytes32[] _s, bytes32 _theHash, uint256 _powerThreshold) pure returns()

func (*FxBridgeLogicBSCSession) ConvertDecimals

func (_FxBridgeLogicBSC *FxBridgeLogicBSCSession) ConvertDecimals(arg0 common.Address) (uint8, error)

ConvertDecimals is a free data retrieval call binding the contract method 0x7d9a8ea6.

Solidity: function convert_decimals(address ) view returns(uint8)

func (*FxBridgeLogicBSCSession) GetBridgeTokenList

func (_FxBridgeLogicBSC *FxBridgeLogicBSCSession) GetBridgeTokenList() ([]FxBridgeLogicBSCBridgeToken, error)

GetBridgeTokenList is a free data retrieval call binding the contract method 0x283040b4.

Solidity: function getBridgeTokenList() view returns((address,string,string,uint8)[])

func (*FxBridgeLogicBSCSession) Init

func (_FxBridgeLogicBSC *FxBridgeLogicBSCSession) Init(_fxBridgeId [32]byte, _powerThreshold *big.Int, _oracles []common.Address, _powers []*big.Int) (*types.Transaction, error)

Init is a paid mutator transaction binding the contract method 0xaa63a894.

Solidity: function init(bytes32 _fxBridgeId, uint256 _powerThreshold, address[] _oracles, uint256[] _powers) returns()

func (*FxBridgeLogicBSCSession) LastBatchNonce

func (_FxBridgeLogicBSC *FxBridgeLogicBSCSession) LastBatchNonce(_erc20Address common.Address) (*big.Int, error)

LastBatchNonce is a free data retrieval call binding the contract method 0x011b2174.

Solidity: function lastBatchNonce(address _erc20Address) view returns(uint256)

func (*FxBridgeLogicBSCSession) MakeCheckpoint

func (_FxBridgeLogicBSC *FxBridgeLogicBSCSession) MakeCheckpoint(_oracles []common.Address, _powers []*big.Int, _oracleSetNonce *big.Int, _fxBridgeId [32]byte) ([32]byte, error)

MakeCheckpoint is a free data retrieval call binding the contract method 0x71cbf381.

Solidity: function makeCheckpoint(address[] _oracles, uint256[] _powers, uint256 _oracleSetNonce, bytes32 _fxBridgeId) pure returns(bytes32)

func (*FxBridgeLogicBSCSession) Owner

func (_FxBridgeLogicBSC *FxBridgeLogicBSCSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*FxBridgeLogicBSCSession) Pause

func (_FxBridgeLogicBSC *FxBridgeLogicBSCSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*FxBridgeLogicBSCSession) PauseBridgeToken

func (_FxBridgeLogicBSC *FxBridgeLogicBSCSession) PauseBridgeToken(_tokenAddr common.Address) (*types.Transaction, error)

PauseBridgeToken is a paid mutator transaction binding the contract method 0xa36a4ab0.

Solidity: function pauseBridgeToken(address _tokenAddr) returns(bool)

func (*FxBridgeLogicBSCSession) Paused

func (_FxBridgeLogicBSC *FxBridgeLogicBSCSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*FxBridgeLogicBSCSession) RenounceOwnership

func (_FxBridgeLogicBSC *FxBridgeLogicBSCSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*FxBridgeLogicBSCSession) SendToFx

func (_FxBridgeLogicBSC *FxBridgeLogicBSCSession) SendToFx(_tokenContract common.Address, _destination [32]byte, _targetIBC [32]byte, _amount *big.Int) (*types.Transaction, error)

SendToFx is a paid mutator transaction binding the contract method 0x6189d107.

Solidity: function sendToFx(address _tokenContract, bytes32 _destination, bytes32 _targetIBC, uint256 _amount) payable returns()

func (*FxBridgeLogicBSCSession) StateFxBridgeId

func (_FxBridgeLogicBSC *FxBridgeLogicBSCSession) StateFxBridgeId() ([32]byte, error)

StateFxBridgeId is a free data retrieval call binding the contract method 0xf92367fd.

Solidity: function state_fxBridgeId() view returns(bytes32)

func (*FxBridgeLogicBSCSession) StateLastBatchNonces

func (_FxBridgeLogicBSC *FxBridgeLogicBSCSession) StateLastBatchNonces(arg0 common.Address) (*big.Int, error)

StateLastBatchNonces is a free data retrieval call binding the contract method 0xdf97174b.

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

func (*FxBridgeLogicBSCSession) StateLastEventNonce

func (_FxBridgeLogicBSC *FxBridgeLogicBSCSession) StateLastEventNonce() (*big.Int, error)

StateLastEventNonce is a free data retrieval call binding the contract method 0x73b20547.

Solidity: function state_lastEventNonce() view returns(uint256)

func (*FxBridgeLogicBSCSession) StateLastOracleSetCheckpoint

func (_FxBridgeLogicBSC *FxBridgeLogicBSCSession) StateLastOracleSetCheckpoint() ([32]byte, error)

StateLastOracleSetCheckpoint is a free data retrieval call binding the contract method 0x70a0eb94.

Solidity: function state_lastOracleSetCheckpoint() view returns(bytes32)

func (*FxBridgeLogicBSCSession) StateLastOracleSetNonce

func (_FxBridgeLogicBSC *FxBridgeLogicBSCSession) StateLastOracleSetNonce() (*big.Int, error)

StateLastOracleSetNonce is a free data retrieval call binding the contract method 0xbb83bf96.

Solidity: function state_lastOracleSetNonce() view returns(uint256)

func (*FxBridgeLogicBSCSession) StatePowerThreshold

func (_FxBridgeLogicBSC *FxBridgeLogicBSCSession) StatePowerThreshold() (*big.Int, error)

StatePowerThreshold is a free data retrieval call binding the contract method 0xe5a2b5d2.

Solidity: function state_powerThreshold() view returns(uint256)

func (*FxBridgeLogicBSCSession) SubmitBatch

func (_FxBridgeLogicBSC *FxBridgeLogicBSCSession) SubmitBatch(_currentOracles []common.Address, _currentPowers []*big.Int, _v []uint8, _r [][32]byte, _s [][32]byte, _amounts []*big.Int, _destinations []common.Address, _fees []*big.Int, _nonceArray [2]*big.Int, _tokenContract common.Address, _batchTimeout *big.Int, _feeReceive common.Address) (*types.Transaction, error)

SubmitBatch is a paid mutator transaction binding the contract method 0x332caa1f.

Solidity: function submitBatch(address[] _currentOracles, uint256[] _currentPowers, uint8[] _v, bytes32[] _r, bytes32[] _s, uint256[] _amounts, address[] _destinations, uint256[] _fees, uint256[2] _nonceArray, address _tokenContract, uint256 _batchTimeout, address _feeReceive) returns()

func (*FxBridgeLogicBSCSession) TokenStatus

func (_FxBridgeLogicBSC *FxBridgeLogicBSCSession) TokenStatus(arg0 common.Address) (struct {
	IsOriginated bool
	IsActive     bool
	IsExist      bool
}, error)

TokenStatus is a free data retrieval call binding the contract method 0x0acac942.

Solidity: function tokenStatus(address ) view returns(bool isOriginated, bool isActive, bool isExist)

func (*FxBridgeLogicBSCSession) TransferOwner

func (_FxBridgeLogicBSC *FxBridgeLogicBSCSession) TransferOwner(_token common.Address, _newOwner common.Address) (*types.Transaction, error)

TransferOwner is a paid mutator transaction binding the contract method 0x31678cf6.

Solidity: function transferOwner(address _token, address _newOwner) returns(bool)

func (*FxBridgeLogicBSCSession) TransferOwnership

func (_FxBridgeLogicBSC *FxBridgeLogicBSCSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*FxBridgeLogicBSCSession) Unpause

func (_FxBridgeLogicBSC *FxBridgeLogicBSCSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*FxBridgeLogicBSCSession) UpdateOracleSet

func (_FxBridgeLogicBSC *FxBridgeLogicBSCSession) UpdateOracleSet(_newOracles []common.Address, _newPowers []*big.Int, _newOracleSetNonce *big.Int, _currentOracles []common.Address, _currentPowers []*big.Int, _currentOracleSetNonce *big.Int, _v []uint8, _r [][32]byte, _s [][32]byte) (*types.Transaction, error)

UpdateOracleSet is a paid mutator transaction binding the contract method 0x3a08e299.

Solidity: function updateOracleSet(address[] _newOracles, uint256[] _newPowers, uint256 _newOracleSetNonce, address[] _currentOracles, uint256[] _currentPowers, uint256 _currentOracleSetNonce, uint8[] _v, bytes32[] _r, bytes32[] _s) returns()

func (*FxBridgeLogicBSCSession) UpdateTokenDecimalsConvert

func (_FxBridgeLogicBSC *FxBridgeLogicBSCSession) UpdateTokenDecimalsConvert(_token common.Address, _to uint8) (*types.Transaction, error)

UpdateTokenDecimalsConvert is a paid mutator transaction binding the contract method 0x5ab3716c.

Solidity: function updateTokenDecimalsConvert(address _token, uint8 _to) returns(bool)

func (*FxBridgeLogicBSCSession) Version

func (_FxBridgeLogicBSC *FxBridgeLogicBSCSession) Version() (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string)

type FxBridgeLogicBSCTransactionBatchExecutedEvent

type FxBridgeLogicBSCTransactionBatchExecutedEvent struct {
	BatchNonce *big.Int
	Token      common.Address
	EventNonce *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

FxBridgeLogicBSCTransactionBatchExecutedEvent represents a TransactionBatchExecutedEvent event raised by the FxBridgeLogicBSC contract.

type FxBridgeLogicBSCTransactionBatchExecutedEventIterator

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

FxBridgeLogicBSCTransactionBatchExecutedEventIterator is returned from FilterTransactionBatchExecutedEvent and is used to iterate over the raw logs and unpacked data for TransactionBatchExecutedEvent events raised by the FxBridgeLogicBSC contract.

func (*FxBridgeLogicBSCTransactionBatchExecutedEventIterator) Close

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

func (*FxBridgeLogicBSCTransactionBatchExecutedEventIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FxBridgeLogicBSCTransactionBatchExecutedEventIterator) 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 FxBridgeLogicBSCTransactor

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

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

func NewFxBridgeLogicBSCTransactor

func NewFxBridgeLogicBSCTransactor(address common.Address, transactor bind.ContractTransactor) (*FxBridgeLogicBSCTransactor, error)

NewFxBridgeLogicBSCTransactor creates a new write-only instance of FxBridgeLogicBSC, bound to a specific deployed contract.

func (*FxBridgeLogicBSCTransactor) ActiveBridgeToken

func (_FxBridgeLogicBSC *FxBridgeLogicBSCTransactor) ActiveBridgeToken(opts *bind.TransactOpts, _tokenAddr common.Address) (*types.Transaction, error)

ActiveBridgeToken is a paid mutator transaction binding the contract method 0xdde65aea.

Solidity: function activeBridgeToken(address _tokenAddr) returns(bool)

func (*FxBridgeLogicBSCTransactor) AddBridgeToken

func (_FxBridgeLogicBSC *FxBridgeLogicBSCTransactor) AddBridgeToken(opts *bind.TransactOpts, _tokenAddr common.Address, _channelIBC [32]byte, _isOriginated bool) (*types.Transaction, error)

AddBridgeToken is a paid mutator transaction binding the contract method 0xf1099f61.

Solidity: function addBridgeToken(address _tokenAddr, bytes32 _channelIBC, bool _isOriginated) returns(bool)

func (*FxBridgeLogicBSCTransactor) Init

func (_FxBridgeLogicBSC *FxBridgeLogicBSCTransactor) Init(opts *bind.TransactOpts, _fxBridgeId [32]byte, _powerThreshold *big.Int, _oracles []common.Address, _powers []*big.Int) (*types.Transaction, error)

Init is a paid mutator transaction binding the contract method 0xaa63a894.

Solidity: function init(bytes32 _fxBridgeId, uint256 _powerThreshold, address[] _oracles, uint256[] _powers) returns()

func (*FxBridgeLogicBSCTransactor) Pause

func (_FxBridgeLogicBSC *FxBridgeLogicBSCTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*FxBridgeLogicBSCTransactor) PauseBridgeToken

func (_FxBridgeLogicBSC *FxBridgeLogicBSCTransactor) PauseBridgeToken(opts *bind.TransactOpts, _tokenAddr common.Address) (*types.Transaction, error)

PauseBridgeToken is a paid mutator transaction binding the contract method 0xa36a4ab0.

Solidity: function pauseBridgeToken(address _tokenAddr) returns(bool)

func (*FxBridgeLogicBSCTransactor) RenounceOwnership

func (_FxBridgeLogicBSC *FxBridgeLogicBSCTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*FxBridgeLogicBSCTransactor) SendToFx

func (_FxBridgeLogicBSC *FxBridgeLogicBSCTransactor) SendToFx(opts *bind.TransactOpts, _tokenContract common.Address, _destination [32]byte, _targetIBC [32]byte, _amount *big.Int) (*types.Transaction, error)

SendToFx is a paid mutator transaction binding the contract method 0x6189d107.

Solidity: function sendToFx(address _tokenContract, bytes32 _destination, bytes32 _targetIBC, uint256 _amount) payable returns()

func (*FxBridgeLogicBSCTransactor) SubmitBatch

func (_FxBridgeLogicBSC *FxBridgeLogicBSCTransactor) SubmitBatch(opts *bind.TransactOpts, _currentOracles []common.Address, _currentPowers []*big.Int, _v []uint8, _r [][32]byte, _s [][32]byte, _amounts []*big.Int, _destinations []common.Address, _fees []*big.Int, _nonceArray [2]*big.Int, _tokenContract common.Address, _batchTimeout *big.Int, _feeReceive common.Address) (*types.Transaction, error)

SubmitBatch is a paid mutator transaction binding the contract method 0x332caa1f.

Solidity: function submitBatch(address[] _currentOracles, uint256[] _currentPowers, uint8[] _v, bytes32[] _r, bytes32[] _s, uint256[] _amounts, address[] _destinations, uint256[] _fees, uint256[2] _nonceArray, address _tokenContract, uint256 _batchTimeout, address _feeReceive) returns()

func (*FxBridgeLogicBSCTransactor) TransferOwner

func (_FxBridgeLogicBSC *FxBridgeLogicBSCTransactor) TransferOwner(opts *bind.TransactOpts, _token common.Address, _newOwner common.Address) (*types.Transaction, error)

TransferOwner is a paid mutator transaction binding the contract method 0x31678cf6.

Solidity: function transferOwner(address _token, address _newOwner) returns(bool)

func (*FxBridgeLogicBSCTransactor) TransferOwnership

func (_FxBridgeLogicBSC *FxBridgeLogicBSCTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*FxBridgeLogicBSCTransactor) Unpause

func (_FxBridgeLogicBSC *FxBridgeLogicBSCTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*FxBridgeLogicBSCTransactor) UpdateOracleSet

func (_FxBridgeLogicBSC *FxBridgeLogicBSCTransactor) UpdateOracleSet(opts *bind.TransactOpts, _newOracles []common.Address, _newPowers []*big.Int, _newOracleSetNonce *big.Int, _currentOracles []common.Address, _currentPowers []*big.Int, _currentOracleSetNonce *big.Int, _v []uint8, _r [][32]byte, _s [][32]byte) (*types.Transaction, error)

UpdateOracleSet is a paid mutator transaction binding the contract method 0x3a08e299.

Solidity: function updateOracleSet(address[] _newOracles, uint256[] _newPowers, uint256 _newOracleSetNonce, address[] _currentOracles, uint256[] _currentPowers, uint256 _currentOracleSetNonce, uint8[] _v, bytes32[] _r, bytes32[] _s) returns()

func (*FxBridgeLogicBSCTransactor) UpdateTokenDecimalsConvert

func (_FxBridgeLogicBSC *FxBridgeLogicBSCTransactor) UpdateTokenDecimalsConvert(opts *bind.TransactOpts, _token common.Address, _to uint8) (*types.Transaction, error)

UpdateTokenDecimalsConvert is a paid mutator transaction binding the contract method 0x5ab3716c.

Solidity: function updateTokenDecimalsConvert(address _token, uint8 _to) returns(bool)

type FxBridgeLogicBSCTransactorRaw

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

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

func (*FxBridgeLogicBSCTransactorRaw) Transact

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

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

func (*FxBridgeLogicBSCTransactorRaw) Transfer

func (_FxBridgeLogicBSC *FxBridgeLogicBSCTransactorRaw) 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 FxBridgeLogicBSCTransactorSession

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

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

func (*FxBridgeLogicBSCTransactorSession) ActiveBridgeToken

func (_FxBridgeLogicBSC *FxBridgeLogicBSCTransactorSession) ActiveBridgeToken(_tokenAddr common.Address) (*types.Transaction, error)

ActiveBridgeToken is a paid mutator transaction binding the contract method 0xdde65aea.

Solidity: function activeBridgeToken(address _tokenAddr) returns(bool)

func (*FxBridgeLogicBSCTransactorSession) AddBridgeToken

func (_FxBridgeLogicBSC *FxBridgeLogicBSCTransactorSession) AddBridgeToken(_tokenAddr common.Address, _channelIBC [32]byte, _isOriginated bool) (*types.Transaction, error)

AddBridgeToken is a paid mutator transaction binding the contract method 0xf1099f61.

Solidity: function addBridgeToken(address _tokenAddr, bytes32 _channelIBC, bool _isOriginated) returns(bool)

func (*FxBridgeLogicBSCTransactorSession) Init

func (_FxBridgeLogicBSC *FxBridgeLogicBSCTransactorSession) Init(_fxBridgeId [32]byte, _powerThreshold *big.Int, _oracles []common.Address, _powers []*big.Int) (*types.Transaction, error)

Init is a paid mutator transaction binding the contract method 0xaa63a894.

Solidity: function init(bytes32 _fxBridgeId, uint256 _powerThreshold, address[] _oracles, uint256[] _powers) returns()

func (*FxBridgeLogicBSCTransactorSession) Pause

func (_FxBridgeLogicBSC *FxBridgeLogicBSCTransactorSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*FxBridgeLogicBSCTransactorSession) PauseBridgeToken

func (_FxBridgeLogicBSC *FxBridgeLogicBSCTransactorSession) PauseBridgeToken(_tokenAddr common.Address) (*types.Transaction, error)

PauseBridgeToken is a paid mutator transaction binding the contract method 0xa36a4ab0.

Solidity: function pauseBridgeToken(address _tokenAddr) returns(bool)

func (*FxBridgeLogicBSCTransactorSession) RenounceOwnership

func (_FxBridgeLogicBSC *FxBridgeLogicBSCTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*FxBridgeLogicBSCTransactorSession) SendToFx

func (_FxBridgeLogicBSC *FxBridgeLogicBSCTransactorSession) SendToFx(_tokenContract common.Address, _destination [32]byte, _targetIBC [32]byte, _amount *big.Int) (*types.Transaction, error)

SendToFx is a paid mutator transaction binding the contract method 0x6189d107.

Solidity: function sendToFx(address _tokenContract, bytes32 _destination, bytes32 _targetIBC, uint256 _amount) payable returns()

func (*FxBridgeLogicBSCTransactorSession) SubmitBatch

func (_FxBridgeLogicBSC *FxBridgeLogicBSCTransactorSession) SubmitBatch(_currentOracles []common.Address, _currentPowers []*big.Int, _v []uint8, _r [][32]byte, _s [][32]byte, _amounts []*big.Int, _destinations []common.Address, _fees []*big.Int, _nonceArray [2]*big.Int, _tokenContract common.Address, _batchTimeout *big.Int, _feeReceive common.Address) (*types.Transaction, error)

SubmitBatch is a paid mutator transaction binding the contract method 0x332caa1f.

Solidity: function submitBatch(address[] _currentOracles, uint256[] _currentPowers, uint8[] _v, bytes32[] _r, bytes32[] _s, uint256[] _amounts, address[] _destinations, uint256[] _fees, uint256[2] _nonceArray, address _tokenContract, uint256 _batchTimeout, address _feeReceive) returns()

func (*FxBridgeLogicBSCTransactorSession) TransferOwner

func (_FxBridgeLogicBSC *FxBridgeLogicBSCTransactorSession) TransferOwner(_token common.Address, _newOwner common.Address) (*types.Transaction, error)

TransferOwner is a paid mutator transaction binding the contract method 0x31678cf6.

Solidity: function transferOwner(address _token, address _newOwner) returns(bool)

func (*FxBridgeLogicBSCTransactorSession) TransferOwnership

func (_FxBridgeLogicBSC *FxBridgeLogicBSCTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*FxBridgeLogicBSCTransactorSession) Unpause

func (_FxBridgeLogicBSC *FxBridgeLogicBSCTransactorSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*FxBridgeLogicBSCTransactorSession) UpdateOracleSet

func (_FxBridgeLogicBSC *FxBridgeLogicBSCTransactorSession) UpdateOracleSet(_newOracles []common.Address, _newPowers []*big.Int, _newOracleSetNonce *big.Int, _currentOracles []common.Address, _currentPowers []*big.Int, _currentOracleSetNonce *big.Int, _v []uint8, _r [][32]byte, _s [][32]byte) (*types.Transaction, error)

UpdateOracleSet is a paid mutator transaction binding the contract method 0x3a08e299.

Solidity: function updateOracleSet(address[] _newOracles, uint256[] _newPowers, uint256 _newOracleSetNonce, address[] _currentOracles, uint256[] _currentPowers, uint256 _currentOracleSetNonce, uint8[] _v, bytes32[] _r, bytes32[] _s) returns()

func (*FxBridgeLogicBSCTransactorSession) UpdateTokenDecimalsConvert

func (_FxBridgeLogicBSC *FxBridgeLogicBSCTransactorSession) UpdateTokenDecimalsConvert(_token common.Address, _to uint8) (*types.Transaction, error)

UpdateTokenDecimalsConvert is a paid mutator transaction binding the contract method 0x5ab3716c.

Solidity: function updateTokenDecimalsConvert(address _token, uint8 _to) returns(bool)

type FxBridgeLogicBSCTransferOwnerEvent

type FxBridgeLogicBSCTransferOwnerEvent struct {
	Token    common.Address
	NewOwner common.Address
	Raw      types.Log // Blockchain specific contextual infos
}

FxBridgeLogicBSCTransferOwnerEvent represents a TransferOwnerEvent event raised by the FxBridgeLogicBSC contract.

type FxBridgeLogicBSCTransferOwnerEventIterator

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

FxBridgeLogicBSCTransferOwnerEventIterator is returned from FilterTransferOwnerEvent and is used to iterate over the raw logs and unpacked data for TransferOwnerEvent events raised by the FxBridgeLogicBSC contract.

func (*FxBridgeLogicBSCTransferOwnerEventIterator) Close

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

func (*FxBridgeLogicBSCTransferOwnerEventIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FxBridgeLogicBSCTransferOwnerEventIterator) 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 FxBridgeLogicBSCUnpaused

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

FxBridgeLogicBSCUnpaused represents a Unpaused event raised by the FxBridgeLogicBSC contract.

type FxBridgeLogicBSCUnpausedIterator

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

FxBridgeLogicBSCUnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the FxBridgeLogicBSC contract.

func (*FxBridgeLogicBSCUnpausedIterator) Close

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

func (*FxBridgeLogicBSCUnpausedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FxBridgeLogicBSCUnpausedIterator) 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 FxBridgeLogicBridgeToken

type FxBridgeLogicBridgeToken struct {
	Addr     common.Address
	Name     string
	Symbol   string
	Decimals uint8
}

FxBridgeLogicBridgeToken is an auto generated low-level Go binding around an user-defined struct.

type FxBridgeLogicCaller

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

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

func NewFxBridgeLogicCaller

func NewFxBridgeLogicCaller(address common.Address, caller bind.ContractCaller) (*FxBridgeLogicCaller, error)

NewFxBridgeLogicCaller creates a new read-only instance of FxBridgeLogic, bound to a specific deployed contract.

func (*FxBridgeLogicCaller) BridgeTokens

func (_FxBridgeLogic *FxBridgeLogicCaller) BridgeTokens(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

BridgeTokens is a free data retrieval call binding the contract method 0x70e5a898.

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

func (*FxBridgeLogicCaller) CheckAssetStatus

func (_FxBridgeLogic *FxBridgeLogicCaller) CheckAssetStatus(opts *bind.CallOpts, _tokenAddr common.Address) (bool, error)

CheckAssetStatus is a free data retrieval call binding the contract method 0x474d561c.

Solidity: function checkAssetStatus(address _tokenAddr) view returns(bool)

func (*FxBridgeLogicCaller) CheckOracleSignatures

func (_FxBridgeLogic *FxBridgeLogicCaller) CheckOracleSignatures(opts *bind.CallOpts, _currentOracles []common.Address, _currentPowers []*big.Int, _v []uint8, _r [][32]byte, _s [][32]byte, _theHash [32]byte, _powerThreshold *big.Int) error

CheckOracleSignatures is a free data retrieval call binding the contract method 0x285a190a.

Solidity: function checkOracleSignatures(address[] _currentOracles, uint256[] _currentPowers, uint8[] _v, bytes32[] _r, bytes32[] _s, bytes32 _theHash, uint256 _powerThreshold) pure returns()

func (*FxBridgeLogicCaller) GetBridgeTokenList

func (_FxBridgeLogic *FxBridgeLogicCaller) GetBridgeTokenList(opts *bind.CallOpts) ([]FxBridgeLogicBridgeToken, error)

GetBridgeTokenList is a free data retrieval call binding the contract method 0x283040b4.

Solidity: function getBridgeTokenList() view returns((address,string,string,uint8)[])

func (*FxBridgeLogicCaller) LastBatchNonce

func (_FxBridgeLogic *FxBridgeLogicCaller) LastBatchNonce(opts *bind.CallOpts, _erc20Address common.Address) (*big.Int, error)

LastBatchNonce is a free data retrieval call binding the contract method 0x011b2174.

Solidity: function lastBatchNonce(address _erc20Address) view returns(uint256)

func (*FxBridgeLogicCaller) MakeCheckpoint

func (_FxBridgeLogic *FxBridgeLogicCaller) MakeCheckpoint(opts *bind.CallOpts, _oracles []common.Address, _powers []*big.Int, _oracleSetNonce *big.Int, _fxBridgeId [32]byte) ([32]byte, error)

MakeCheckpoint is a free data retrieval call binding the contract method 0x71cbf381.

Solidity: function makeCheckpoint(address[] _oracles, uint256[] _powers, uint256 _oracleSetNonce, bytes32 _fxBridgeId) pure returns(bytes32)

func (*FxBridgeLogicCaller) Owner

func (_FxBridgeLogic *FxBridgeLogicCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*FxBridgeLogicCaller) Paused

func (_FxBridgeLogic *FxBridgeLogicCaller) Paused(opts *bind.CallOpts) (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*FxBridgeLogicCaller) StateFxBridgeId

func (_FxBridgeLogic *FxBridgeLogicCaller) StateFxBridgeId(opts *bind.CallOpts) ([32]byte, error)

StateFxBridgeId is a free data retrieval call binding the contract method 0xf92367fd.

Solidity: function state_fxBridgeId() view returns(bytes32)

func (*FxBridgeLogicCaller) StateLastBatchNonces

func (_FxBridgeLogic *FxBridgeLogicCaller) StateLastBatchNonces(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

StateLastBatchNonces is a free data retrieval call binding the contract method 0xdf97174b.

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

func (*FxBridgeLogicCaller) StateLastEventNonce

func (_FxBridgeLogic *FxBridgeLogicCaller) StateLastEventNonce(opts *bind.CallOpts) (*big.Int, error)

StateLastEventNonce is a free data retrieval call binding the contract method 0x73b20547.

Solidity: function state_lastEventNonce() view returns(uint256)

func (*FxBridgeLogicCaller) StateLastOracleSetCheckpoint

func (_FxBridgeLogic *FxBridgeLogicCaller) StateLastOracleSetCheckpoint(opts *bind.CallOpts) ([32]byte, error)

StateLastOracleSetCheckpoint is a free data retrieval call binding the contract method 0x70a0eb94.

Solidity: function state_lastOracleSetCheckpoint() view returns(bytes32)

func (*FxBridgeLogicCaller) StateLastOracleSetNonce

func (_FxBridgeLogic *FxBridgeLogicCaller) StateLastOracleSetNonce(opts *bind.CallOpts) (*big.Int, error)

StateLastOracleSetNonce is a free data retrieval call binding the contract method 0xbb83bf96.

Solidity: function state_lastOracleSetNonce() view returns(uint256)

func (*FxBridgeLogicCaller) StatePowerThreshold

func (_FxBridgeLogic *FxBridgeLogicCaller) StatePowerThreshold(opts *bind.CallOpts) (*big.Int, error)

StatePowerThreshold is a free data retrieval call binding the contract method 0xe5a2b5d2.

Solidity: function state_powerThreshold() view returns(uint256)

func (*FxBridgeLogicCaller) TokenStatus

func (_FxBridgeLogic *FxBridgeLogicCaller) TokenStatus(opts *bind.CallOpts, arg0 common.Address) (struct {
	IsOriginated bool
	IsActive     bool
	IsExist      bool
}, error)

TokenStatus is a free data retrieval call binding the contract method 0x0acac942.

Solidity: function tokenStatus(address ) view returns(bool isOriginated, bool isActive, bool isExist)

func (*FxBridgeLogicCaller) Version

func (_FxBridgeLogic *FxBridgeLogicCaller) Version(opts *bind.CallOpts) (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string)

type FxBridgeLogicCallerRaw

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

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

func (*FxBridgeLogicCallerRaw) Call

func (_FxBridgeLogic *FxBridgeLogicCallerRaw) 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 FxBridgeLogicCallerSession

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

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

func (*FxBridgeLogicCallerSession) BridgeTokens

func (_FxBridgeLogic *FxBridgeLogicCallerSession) BridgeTokens(arg0 *big.Int) (common.Address, error)

BridgeTokens is a free data retrieval call binding the contract method 0x70e5a898.

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

func (*FxBridgeLogicCallerSession) CheckAssetStatus

func (_FxBridgeLogic *FxBridgeLogicCallerSession) CheckAssetStatus(_tokenAddr common.Address) (bool, error)

CheckAssetStatus is a free data retrieval call binding the contract method 0x474d561c.

Solidity: function checkAssetStatus(address _tokenAddr) view returns(bool)

func (*FxBridgeLogicCallerSession) CheckOracleSignatures

func (_FxBridgeLogic *FxBridgeLogicCallerSession) CheckOracleSignatures(_currentOracles []common.Address, _currentPowers []*big.Int, _v []uint8, _r [][32]byte, _s [][32]byte, _theHash [32]byte, _powerThreshold *big.Int) error

CheckOracleSignatures is a free data retrieval call binding the contract method 0x285a190a.

Solidity: function checkOracleSignatures(address[] _currentOracles, uint256[] _currentPowers, uint8[] _v, bytes32[] _r, bytes32[] _s, bytes32 _theHash, uint256 _powerThreshold) pure returns()

func (*FxBridgeLogicCallerSession) GetBridgeTokenList

func (_FxBridgeLogic *FxBridgeLogicCallerSession) GetBridgeTokenList() ([]FxBridgeLogicBridgeToken, error)

GetBridgeTokenList is a free data retrieval call binding the contract method 0x283040b4.

Solidity: function getBridgeTokenList() view returns((address,string,string,uint8)[])

func (*FxBridgeLogicCallerSession) LastBatchNonce

func (_FxBridgeLogic *FxBridgeLogicCallerSession) LastBatchNonce(_erc20Address common.Address) (*big.Int, error)

LastBatchNonce is a free data retrieval call binding the contract method 0x011b2174.

Solidity: function lastBatchNonce(address _erc20Address) view returns(uint256)

func (*FxBridgeLogicCallerSession) MakeCheckpoint

func (_FxBridgeLogic *FxBridgeLogicCallerSession) MakeCheckpoint(_oracles []common.Address, _powers []*big.Int, _oracleSetNonce *big.Int, _fxBridgeId [32]byte) ([32]byte, error)

MakeCheckpoint is a free data retrieval call binding the contract method 0x71cbf381.

Solidity: function makeCheckpoint(address[] _oracles, uint256[] _powers, uint256 _oracleSetNonce, bytes32 _fxBridgeId) pure returns(bytes32)

func (*FxBridgeLogicCallerSession) Owner

func (_FxBridgeLogic *FxBridgeLogicCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*FxBridgeLogicCallerSession) Paused

func (_FxBridgeLogic *FxBridgeLogicCallerSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*FxBridgeLogicCallerSession) StateFxBridgeId

func (_FxBridgeLogic *FxBridgeLogicCallerSession) StateFxBridgeId() ([32]byte, error)

StateFxBridgeId is a free data retrieval call binding the contract method 0xf92367fd.

Solidity: function state_fxBridgeId() view returns(bytes32)

func (*FxBridgeLogicCallerSession) StateLastBatchNonces

func (_FxBridgeLogic *FxBridgeLogicCallerSession) StateLastBatchNonces(arg0 common.Address) (*big.Int, error)

StateLastBatchNonces is a free data retrieval call binding the contract method 0xdf97174b.

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

func (*FxBridgeLogicCallerSession) StateLastEventNonce

func (_FxBridgeLogic *FxBridgeLogicCallerSession) StateLastEventNonce() (*big.Int, error)

StateLastEventNonce is a free data retrieval call binding the contract method 0x73b20547.

Solidity: function state_lastEventNonce() view returns(uint256)

func (*FxBridgeLogicCallerSession) StateLastOracleSetCheckpoint

func (_FxBridgeLogic *FxBridgeLogicCallerSession) StateLastOracleSetCheckpoint() ([32]byte, error)

StateLastOracleSetCheckpoint is a free data retrieval call binding the contract method 0x70a0eb94.

Solidity: function state_lastOracleSetCheckpoint() view returns(bytes32)

func (*FxBridgeLogicCallerSession) StateLastOracleSetNonce

func (_FxBridgeLogic *FxBridgeLogicCallerSession) StateLastOracleSetNonce() (*big.Int, error)

StateLastOracleSetNonce is a free data retrieval call binding the contract method 0xbb83bf96.

Solidity: function state_lastOracleSetNonce() view returns(uint256)

func (*FxBridgeLogicCallerSession) StatePowerThreshold

func (_FxBridgeLogic *FxBridgeLogicCallerSession) StatePowerThreshold() (*big.Int, error)

StatePowerThreshold is a free data retrieval call binding the contract method 0xe5a2b5d2.

Solidity: function state_powerThreshold() view returns(uint256)

func (*FxBridgeLogicCallerSession) TokenStatus

func (_FxBridgeLogic *FxBridgeLogicCallerSession) TokenStatus(arg0 common.Address) (struct {
	IsOriginated bool
	IsActive     bool
	IsExist      bool
}, error)

TokenStatus is a free data retrieval call binding the contract method 0x0acac942.

Solidity: function tokenStatus(address ) view returns(bool isOriginated, bool isActive, bool isExist)

func (*FxBridgeLogicCallerSession) Version

func (_FxBridgeLogic *FxBridgeLogicCallerSession) Version() (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string)

type FxBridgeLogicETH

type FxBridgeLogicETH struct {
	FxBridgeLogicETHCaller     // Read-only binding to the contract
	FxBridgeLogicETHTransactor // Write-only binding to the contract
	FxBridgeLogicETHFilterer   // Log filterer for contract events
}

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

func DeployFxBridgeLogicETH

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

DeployFxBridgeLogicETH deploys a new Ethereum contract, binding an instance of FxBridgeLogicETH to it.

func NewFxBridgeLogicETH

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

NewFxBridgeLogicETH creates a new instance of FxBridgeLogicETH, bound to a specific deployed contract.

type FxBridgeLogicETHAddBridgeTokenEvent

type FxBridgeLogicETHAddBridgeTokenEvent struct {
	TokenContract common.Address
	Name          string
	Symbol        string
	Decimals      uint8
	EventNonce    *big.Int
	ChannelIBC    [32]byte
	Raw           types.Log // Blockchain specific contextual infos
}

FxBridgeLogicETHAddBridgeTokenEvent represents a AddBridgeTokenEvent event raised by the FxBridgeLogicETH contract.

type FxBridgeLogicETHAddBridgeTokenEventIterator

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

FxBridgeLogicETHAddBridgeTokenEventIterator is returned from FilterAddBridgeTokenEvent and is used to iterate over the raw logs and unpacked data for AddBridgeTokenEvent events raised by the FxBridgeLogicETH contract.

func (*FxBridgeLogicETHAddBridgeTokenEventIterator) Close

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

func (*FxBridgeLogicETHAddBridgeTokenEventIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FxBridgeLogicETHAddBridgeTokenEventIterator) 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 FxBridgeLogicETHBridgeToken

type FxBridgeLogicETHBridgeToken struct {
	Addr     common.Address
	Name     string
	Symbol   string
	Decimals uint8
}

FxBridgeLogicETHBridgeToken is an auto generated low-level Go binding around an user-defined struct.

type FxBridgeLogicETHCaller

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

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

func NewFxBridgeLogicETHCaller

func NewFxBridgeLogicETHCaller(address common.Address, caller bind.ContractCaller) (*FxBridgeLogicETHCaller, error)

NewFxBridgeLogicETHCaller creates a new read-only instance of FxBridgeLogicETH, bound to a specific deployed contract.

func (*FxBridgeLogicETHCaller) BridgeTokens

func (_FxBridgeLogicETH *FxBridgeLogicETHCaller) BridgeTokens(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

BridgeTokens is a free data retrieval call binding the contract method 0x70e5a898.

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

func (*FxBridgeLogicETHCaller) CheckAssetStatus

func (_FxBridgeLogicETH *FxBridgeLogicETHCaller) CheckAssetStatus(opts *bind.CallOpts, _tokenAddr common.Address) (bool, error)

CheckAssetStatus is a free data retrieval call binding the contract method 0x474d561c.

Solidity: function checkAssetStatus(address _tokenAddr) view returns(bool)

func (*FxBridgeLogicETHCaller) CheckOracleSignatures

func (_FxBridgeLogicETH *FxBridgeLogicETHCaller) CheckOracleSignatures(opts *bind.CallOpts, _currentOracles []common.Address, _currentPowers []*big.Int, _v []uint8, _r [][32]byte, _s [][32]byte, _theHash [32]byte, _powerThreshold *big.Int) error

CheckOracleSignatures is a free data retrieval call binding the contract method 0x285a190a.

Solidity: function checkOracleSignatures(address[] _currentOracles, uint256[] _currentPowers, uint8[] _v, bytes32[] _r, bytes32[] _s, bytes32 _theHash, uint256 _powerThreshold) pure returns()

func (*FxBridgeLogicETHCaller) GetBridgeTokenList

func (_FxBridgeLogicETH *FxBridgeLogicETHCaller) GetBridgeTokenList(opts *bind.CallOpts) ([]FxBridgeLogicETHBridgeToken, error)

GetBridgeTokenList is a free data retrieval call binding the contract method 0x283040b4.

Solidity: function getBridgeTokenList() view returns((address,string,string,uint8)[])

func (*FxBridgeLogicETHCaller) LastBatchNonce

func (_FxBridgeLogicETH *FxBridgeLogicETHCaller) LastBatchNonce(opts *bind.CallOpts, _erc20Address common.Address) (*big.Int, error)

LastBatchNonce is a free data retrieval call binding the contract method 0x011b2174.

Solidity: function lastBatchNonce(address _erc20Address) view returns(uint256)

func (*FxBridgeLogicETHCaller) MakeCheckpoint

func (_FxBridgeLogicETH *FxBridgeLogicETHCaller) MakeCheckpoint(opts *bind.CallOpts, _oracles []common.Address, _powers []*big.Int, _oracleSetNonce *big.Int, _fxBridgeId [32]byte) ([32]byte, error)

MakeCheckpoint is a free data retrieval call binding the contract method 0x71cbf381.

Solidity: function makeCheckpoint(address[] _oracles, uint256[] _powers, uint256 _oracleSetNonce, bytes32 _fxBridgeId) pure returns(bytes32)

func (*FxBridgeLogicETHCaller) Owner

func (_FxBridgeLogicETH *FxBridgeLogicETHCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*FxBridgeLogicETHCaller) Paused

func (_FxBridgeLogicETH *FxBridgeLogicETHCaller) Paused(opts *bind.CallOpts) (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*FxBridgeLogicETHCaller) StateFxBridgeId

func (_FxBridgeLogicETH *FxBridgeLogicETHCaller) StateFxBridgeId(opts *bind.CallOpts) ([32]byte, error)

StateFxBridgeId is a free data retrieval call binding the contract method 0xf92367fd.

Solidity: function state_fxBridgeId() view returns(bytes32)

func (*FxBridgeLogicETHCaller) StateFxOriginatedToken

func (_FxBridgeLogicETH *FxBridgeLogicETHCaller) StateFxOriginatedToken(opts *bind.CallOpts) (common.Address, error)

StateFxOriginatedToken is a free data retrieval call binding the contract method 0xfd9791bb.

Solidity: function state_fxOriginatedToken() view returns(address)

func (*FxBridgeLogicETHCaller) StateLastBatchNonces

func (_FxBridgeLogicETH *FxBridgeLogicETHCaller) StateLastBatchNonces(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

StateLastBatchNonces is a free data retrieval call binding the contract method 0xdf97174b.

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

func (*FxBridgeLogicETHCaller) StateLastEventNonce

func (_FxBridgeLogicETH *FxBridgeLogicETHCaller) StateLastEventNonce(opts *bind.CallOpts) (*big.Int, error)

StateLastEventNonce is a free data retrieval call binding the contract method 0x73b20547.

Solidity: function state_lastEventNonce() view returns(uint256)

func (*FxBridgeLogicETHCaller) StateLastOracleSetCheckpoint

func (_FxBridgeLogicETH *FxBridgeLogicETHCaller) StateLastOracleSetCheckpoint(opts *bind.CallOpts) ([32]byte, error)

StateLastOracleSetCheckpoint is a free data retrieval call binding the contract method 0x70a0eb94.

Solidity: function state_lastOracleSetCheckpoint() view returns(bytes32)

func (*FxBridgeLogicETHCaller) StateLastOracleSetNonce

func (_FxBridgeLogicETH *FxBridgeLogicETHCaller) StateLastOracleSetNonce(opts *bind.CallOpts) (*big.Int, error)

StateLastOracleSetNonce is a free data retrieval call binding the contract method 0xbb83bf96.

Solidity: function state_lastOracleSetNonce() view returns(uint256)

func (*FxBridgeLogicETHCaller) StatePowerThreshold

func (_FxBridgeLogicETH *FxBridgeLogicETHCaller) StatePowerThreshold(opts *bind.CallOpts) (*big.Int, error)

StatePowerThreshold is a free data retrieval call binding the contract method 0xe5a2b5d2.

Solidity: function state_powerThreshold() view returns(uint256)

func (*FxBridgeLogicETHCaller) TokenStatus

func (_FxBridgeLogicETH *FxBridgeLogicETHCaller) TokenStatus(opts *bind.CallOpts, arg0 common.Address) (struct {
	IsOriginated bool
	IsActive     bool
	IsExist      bool
}, error)

TokenStatus is a free data retrieval call binding the contract method 0x0acac942.

Solidity: function tokenStatus(address ) view returns(bool isOriginated, bool isActive, bool isExist)

func (*FxBridgeLogicETHCaller) Version

func (_FxBridgeLogicETH *FxBridgeLogicETHCaller) Version(opts *bind.CallOpts) (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string)

type FxBridgeLogicETHCallerRaw

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

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

func (*FxBridgeLogicETHCallerRaw) Call

func (_FxBridgeLogicETH *FxBridgeLogicETHCallerRaw) 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 FxBridgeLogicETHCallerSession

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

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

func (*FxBridgeLogicETHCallerSession) BridgeTokens

func (_FxBridgeLogicETH *FxBridgeLogicETHCallerSession) BridgeTokens(arg0 *big.Int) (common.Address, error)

BridgeTokens is a free data retrieval call binding the contract method 0x70e5a898.

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

func (*FxBridgeLogicETHCallerSession) CheckAssetStatus

func (_FxBridgeLogicETH *FxBridgeLogicETHCallerSession) CheckAssetStatus(_tokenAddr common.Address) (bool, error)

CheckAssetStatus is a free data retrieval call binding the contract method 0x474d561c.

Solidity: function checkAssetStatus(address _tokenAddr) view returns(bool)

func (*FxBridgeLogicETHCallerSession) CheckOracleSignatures

func (_FxBridgeLogicETH *FxBridgeLogicETHCallerSession) CheckOracleSignatures(_currentOracles []common.Address, _currentPowers []*big.Int, _v []uint8, _r [][32]byte, _s [][32]byte, _theHash [32]byte, _powerThreshold *big.Int) error

CheckOracleSignatures is a free data retrieval call binding the contract method 0x285a190a.

Solidity: function checkOracleSignatures(address[] _currentOracles, uint256[] _currentPowers, uint8[] _v, bytes32[] _r, bytes32[] _s, bytes32 _theHash, uint256 _powerThreshold) pure returns()

func (*FxBridgeLogicETHCallerSession) GetBridgeTokenList

func (_FxBridgeLogicETH *FxBridgeLogicETHCallerSession) GetBridgeTokenList() ([]FxBridgeLogicETHBridgeToken, error)

GetBridgeTokenList is a free data retrieval call binding the contract method 0x283040b4.

Solidity: function getBridgeTokenList() view returns((address,string,string,uint8)[])

func (*FxBridgeLogicETHCallerSession) LastBatchNonce

func (_FxBridgeLogicETH *FxBridgeLogicETHCallerSession) LastBatchNonce(_erc20Address common.Address) (*big.Int, error)

LastBatchNonce is a free data retrieval call binding the contract method 0x011b2174.

Solidity: function lastBatchNonce(address _erc20Address) view returns(uint256)

func (*FxBridgeLogicETHCallerSession) MakeCheckpoint

func (_FxBridgeLogicETH *FxBridgeLogicETHCallerSession) MakeCheckpoint(_oracles []common.Address, _powers []*big.Int, _oracleSetNonce *big.Int, _fxBridgeId [32]byte) ([32]byte, error)

MakeCheckpoint is a free data retrieval call binding the contract method 0x71cbf381.

Solidity: function makeCheckpoint(address[] _oracles, uint256[] _powers, uint256 _oracleSetNonce, bytes32 _fxBridgeId) pure returns(bytes32)

func (*FxBridgeLogicETHCallerSession) Owner

func (_FxBridgeLogicETH *FxBridgeLogicETHCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*FxBridgeLogicETHCallerSession) Paused

func (_FxBridgeLogicETH *FxBridgeLogicETHCallerSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*FxBridgeLogicETHCallerSession) StateFxBridgeId

func (_FxBridgeLogicETH *FxBridgeLogicETHCallerSession) StateFxBridgeId() ([32]byte, error)

StateFxBridgeId is a free data retrieval call binding the contract method 0xf92367fd.

Solidity: function state_fxBridgeId() view returns(bytes32)

func (*FxBridgeLogicETHCallerSession) StateFxOriginatedToken

func (_FxBridgeLogicETH *FxBridgeLogicETHCallerSession) StateFxOriginatedToken() (common.Address, error)

StateFxOriginatedToken is a free data retrieval call binding the contract method 0xfd9791bb.

Solidity: function state_fxOriginatedToken() view returns(address)

func (*FxBridgeLogicETHCallerSession) StateLastBatchNonces

func (_FxBridgeLogicETH *FxBridgeLogicETHCallerSession) StateLastBatchNonces(arg0 common.Address) (*big.Int, error)

StateLastBatchNonces is a free data retrieval call binding the contract method 0xdf97174b.

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

func (*FxBridgeLogicETHCallerSession) StateLastEventNonce

func (_FxBridgeLogicETH *FxBridgeLogicETHCallerSession) StateLastEventNonce() (*big.Int, error)

StateLastEventNonce is a free data retrieval call binding the contract method 0x73b20547.

Solidity: function state_lastEventNonce() view returns(uint256)

func (*FxBridgeLogicETHCallerSession) StateLastOracleSetCheckpoint

func (_FxBridgeLogicETH *FxBridgeLogicETHCallerSession) StateLastOracleSetCheckpoint() ([32]byte, error)

StateLastOracleSetCheckpoint is a free data retrieval call binding the contract method 0x70a0eb94.

Solidity: function state_lastOracleSetCheckpoint() view returns(bytes32)

func (*FxBridgeLogicETHCallerSession) StateLastOracleSetNonce

func (_FxBridgeLogicETH *FxBridgeLogicETHCallerSession) StateLastOracleSetNonce() (*big.Int, error)

StateLastOracleSetNonce is a free data retrieval call binding the contract method 0xbb83bf96.

Solidity: function state_lastOracleSetNonce() view returns(uint256)

func (*FxBridgeLogicETHCallerSession) StatePowerThreshold

func (_FxBridgeLogicETH *FxBridgeLogicETHCallerSession) StatePowerThreshold() (*big.Int, error)

StatePowerThreshold is a free data retrieval call binding the contract method 0xe5a2b5d2.

Solidity: function state_powerThreshold() view returns(uint256)

func (*FxBridgeLogicETHCallerSession) TokenStatus

func (_FxBridgeLogicETH *FxBridgeLogicETHCallerSession) TokenStatus(arg0 common.Address) (struct {
	IsOriginated bool
	IsActive     bool
	IsExist      bool
}, error)

TokenStatus is a free data retrieval call binding the contract method 0x0acac942.

Solidity: function tokenStatus(address ) view returns(bool isOriginated, bool isActive, bool isExist)

func (*FxBridgeLogicETHCallerSession) Version

func (_FxBridgeLogicETH *FxBridgeLogicETHCallerSession) Version() (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string)

type FxBridgeLogicETHFilterer

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

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

func NewFxBridgeLogicETHFilterer

func NewFxBridgeLogicETHFilterer(address common.Address, filterer bind.ContractFilterer) (*FxBridgeLogicETHFilterer, error)

NewFxBridgeLogicETHFilterer creates a new log filterer instance of FxBridgeLogicETH, bound to a specific deployed contract.

func (*FxBridgeLogicETHFilterer) FilterAddBridgeTokenEvent

func (_FxBridgeLogicETH *FxBridgeLogicETHFilterer) FilterAddBridgeTokenEvent(opts *bind.FilterOpts, _tokenContract []common.Address) (*FxBridgeLogicETHAddBridgeTokenEventIterator, error)

FilterAddBridgeTokenEvent is a free log retrieval operation binding the contract event 0x2da8f37eaabc4d44ba4fcc438e404bbed3344322280d6c67497e9c668c87ec0f.

Solidity: event AddBridgeTokenEvent(address indexed _tokenContract, string _name, string _symbol, uint8 _decimals, uint256 _eventNonce, bytes32 _channelIBC)

func (*FxBridgeLogicETHFilterer) FilterFxOriginatedTokenEvent

func (_FxBridgeLogicETH *FxBridgeLogicETHFilterer) FilterFxOriginatedTokenEvent(opts *bind.FilterOpts, _tokenContract []common.Address) (*FxBridgeLogicETHFxOriginatedTokenEventIterator, error)

FilterFxOriginatedTokenEvent is a free log retrieval operation binding the contract event 0xfbaa7af285fff024998c9265afef33fb4e87f832f053151022580ea67fde8417.

Solidity: event FxOriginatedTokenEvent(address indexed _tokenContract, string _name, string _symbol, uint8 _decimals, uint256 _eventNonce)

func (*FxBridgeLogicETHFilterer) FilterInitialized

func (_FxBridgeLogicETH *FxBridgeLogicETHFilterer) FilterInitialized(opts *bind.FilterOpts) (*FxBridgeLogicETHInitializedIterator, error)

FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*FxBridgeLogicETHFilterer) FilterOracleSetUpdatedEvent

func (_FxBridgeLogicETH *FxBridgeLogicETHFilterer) FilterOracleSetUpdatedEvent(opts *bind.FilterOpts, _newOracleSetNonce []*big.Int) (*FxBridgeLogicETHOracleSetUpdatedEventIterator, error)

FilterOracleSetUpdatedEvent is a free log retrieval operation binding the contract event 0x36c6022aad02313069de85ca9645431c7dd5e8e7a21685586461c4b25e2374b3.

Solidity: event OracleSetUpdatedEvent(uint256 indexed _newOracleSetNonce, uint256 _eventNonce, address[] _oracles, uint256[] _powers)

func (*FxBridgeLogicETHFilterer) FilterOwnershipTransferred

func (_FxBridgeLogicETH *FxBridgeLogicETHFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*FxBridgeLogicETHOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*FxBridgeLogicETHFilterer) FilterPaused

func (_FxBridgeLogicETH *FxBridgeLogicETHFilterer) FilterPaused(opts *bind.FilterOpts) (*FxBridgeLogicETHPausedIterator, error)

FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*FxBridgeLogicETHFilterer) FilterSendToFxEvent

func (_FxBridgeLogicETH *FxBridgeLogicETHFilterer) FilterSendToFxEvent(opts *bind.FilterOpts, _tokenContract []common.Address, _sender []common.Address, _destination [][32]byte) (*FxBridgeLogicETHSendToFxEventIterator, error)

FilterSendToFxEvent is a free log retrieval operation binding the contract event 0x034c5b22dd525a50d0a6b15549df0a6ac83b833a6c3da57ea16890832c72507c.

Solidity: event SendToFxEvent(address indexed _tokenContract, address indexed _sender, bytes32 indexed _destination, bytes32 _targetIBC, uint256 _amount, uint256 _eventNonce)

func (*FxBridgeLogicETHFilterer) FilterTransactionBatchExecutedEvent

func (_FxBridgeLogicETH *FxBridgeLogicETHFilterer) FilterTransactionBatchExecutedEvent(opts *bind.FilterOpts, _batchNonce []*big.Int, _token []common.Address) (*FxBridgeLogicETHTransactionBatchExecutedEventIterator, error)

FilterTransactionBatchExecutedEvent is a free log retrieval operation binding the contract event 0x02c7e81975f8edb86e2a0c038b7b86a49c744236abf0f6177ff5afc6986ab708.

Solidity: event TransactionBatchExecutedEvent(uint256 indexed _batchNonce, address indexed _token, uint256 _eventNonce)

func (*FxBridgeLogicETHFilterer) FilterTransferOwnerEvent

func (_FxBridgeLogicETH *FxBridgeLogicETHFilterer) FilterTransferOwnerEvent(opts *bind.FilterOpts) (*FxBridgeLogicETHTransferOwnerEventIterator, error)

FilterTransferOwnerEvent is a free log retrieval operation binding the contract event 0xb0f1bf050fff9d249d22389b0f2673295260c8deca341a2755d95318f9fbc699.

Solidity: event TransferOwnerEvent(address _token, address _newOwner)

func (*FxBridgeLogicETHFilterer) FilterUnpaused

func (_FxBridgeLogicETH *FxBridgeLogicETHFilterer) FilterUnpaused(opts *bind.FilterOpts) (*FxBridgeLogicETHUnpausedIterator, error)

FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*FxBridgeLogicETHFilterer) ParseAddBridgeTokenEvent

func (_FxBridgeLogicETH *FxBridgeLogicETHFilterer) ParseAddBridgeTokenEvent(log types.Log) (*FxBridgeLogicETHAddBridgeTokenEvent, error)

ParseAddBridgeTokenEvent is a log parse operation binding the contract event 0x2da8f37eaabc4d44ba4fcc438e404bbed3344322280d6c67497e9c668c87ec0f.

Solidity: event AddBridgeTokenEvent(address indexed _tokenContract, string _name, string _symbol, uint8 _decimals, uint256 _eventNonce, bytes32 _channelIBC)

func (*FxBridgeLogicETHFilterer) ParseFxOriginatedTokenEvent

func (_FxBridgeLogicETH *FxBridgeLogicETHFilterer) ParseFxOriginatedTokenEvent(log types.Log) (*FxBridgeLogicETHFxOriginatedTokenEvent, error)

ParseFxOriginatedTokenEvent is a log parse operation binding the contract event 0xfbaa7af285fff024998c9265afef33fb4e87f832f053151022580ea67fde8417.

Solidity: event FxOriginatedTokenEvent(address indexed _tokenContract, string _name, string _symbol, uint8 _decimals, uint256 _eventNonce)

func (*FxBridgeLogicETHFilterer) ParseInitialized

func (_FxBridgeLogicETH *FxBridgeLogicETHFilterer) ParseInitialized(log types.Log) (*FxBridgeLogicETHInitialized, error)

ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*FxBridgeLogicETHFilterer) ParseOracleSetUpdatedEvent

func (_FxBridgeLogicETH *FxBridgeLogicETHFilterer) ParseOracleSetUpdatedEvent(log types.Log) (*FxBridgeLogicETHOracleSetUpdatedEvent, error)

ParseOracleSetUpdatedEvent is a log parse operation binding the contract event 0x36c6022aad02313069de85ca9645431c7dd5e8e7a21685586461c4b25e2374b3.

Solidity: event OracleSetUpdatedEvent(uint256 indexed _newOracleSetNonce, uint256 _eventNonce, address[] _oracles, uint256[] _powers)

func (*FxBridgeLogicETHFilterer) ParseOwnershipTransferred

func (_FxBridgeLogicETH *FxBridgeLogicETHFilterer) ParseOwnershipTransferred(log types.Log) (*FxBridgeLogicETHOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*FxBridgeLogicETHFilterer) ParsePaused

func (_FxBridgeLogicETH *FxBridgeLogicETHFilterer) ParsePaused(log types.Log) (*FxBridgeLogicETHPaused, error)

ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*FxBridgeLogicETHFilterer) ParseSendToFxEvent

func (_FxBridgeLogicETH *FxBridgeLogicETHFilterer) ParseSendToFxEvent(log types.Log) (*FxBridgeLogicETHSendToFxEvent, error)

ParseSendToFxEvent is a log parse operation binding the contract event 0x034c5b22dd525a50d0a6b15549df0a6ac83b833a6c3da57ea16890832c72507c.

Solidity: event SendToFxEvent(address indexed _tokenContract, address indexed _sender, bytes32 indexed _destination, bytes32 _targetIBC, uint256 _amount, uint256 _eventNonce)

func (*FxBridgeLogicETHFilterer) ParseTransactionBatchExecutedEvent

func (_FxBridgeLogicETH *FxBridgeLogicETHFilterer) ParseTransactionBatchExecutedEvent(log types.Log) (*FxBridgeLogicETHTransactionBatchExecutedEvent, error)

ParseTransactionBatchExecutedEvent is a log parse operation binding the contract event 0x02c7e81975f8edb86e2a0c038b7b86a49c744236abf0f6177ff5afc6986ab708.

Solidity: event TransactionBatchExecutedEvent(uint256 indexed _batchNonce, address indexed _token, uint256 _eventNonce)

func (*FxBridgeLogicETHFilterer) ParseTransferOwnerEvent

func (_FxBridgeLogicETH *FxBridgeLogicETHFilterer) ParseTransferOwnerEvent(log types.Log) (*FxBridgeLogicETHTransferOwnerEvent, error)

ParseTransferOwnerEvent is a log parse operation binding the contract event 0xb0f1bf050fff9d249d22389b0f2673295260c8deca341a2755d95318f9fbc699.

Solidity: event TransferOwnerEvent(address _token, address _newOwner)

func (*FxBridgeLogicETHFilterer) ParseUnpaused

func (_FxBridgeLogicETH *FxBridgeLogicETHFilterer) ParseUnpaused(log types.Log) (*FxBridgeLogicETHUnpaused, error)

ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*FxBridgeLogicETHFilterer) WatchAddBridgeTokenEvent

func (_FxBridgeLogicETH *FxBridgeLogicETHFilterer) WatchAddBridgeTokenEvent(opts *bind.WatchOpts, sink chan<- *FxBridgeLogicETHAddBridgeTokenEvent, _tokenContract []common.Address) (event.Subscription, error)

WatchAddBridgeTokenEvent is a free log subscription operation binding the contract event 0x2da8f37eaabc4d44ba4fcc438e404bbed3344322280d6c67497e9c668c87ec0f.

Solidity: event AddBridgeTokenEvent(address indexed _tokenContract, string _name, string _symbol, uint8 _decimals, uint256 _eventNonce, bytes32 _channelIBC)

func (*FxBridgeLogicETHFilterer) WatchFxOriginatedTokenEvent

func (_FxBridgeLogicETH *FxBridgeLogicETHFilterer) WatchFxOriginatedTokenEvent(opts *bind.WatchOpts, sink chan<- *FxBridgeLogicETHFxOriginatedTokenEvent, _tokenContract []common.Address) (event.Subscription, error)

WatchFxOriginatedTokenEvent is a free log subscription operation binding the contract event 0xfbaa7af285fff024998c9265afef33fb4e87f832f053151022580ea67fde8417.

Solidity: event FxOriginatedTokenEvent(address indexed _tokenContract, string _name, string _symbol, uint8 _decimals, uint256 _eventNonce)

func (*FxBridgeLogicETHFilterer) WatchInitialized

func (_FxBridgeLogicETH *FxBridgeLogicETHFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *FxBridgeLogicETHInitialized) (event.Subscription, error)

WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*FxBridgeLogicETHFilterer) WatchOracleSetUpdatedEvent

func (_FxBridgeLogicETH *FxBridgeLogicETHFilterer) WatchOracleSetUpdatedEvent(opts *bind.WatchOpts, sink chan<- *FxBridgeLogicETHOracleSetUpdatedEvent, _newOracleSetNonce []*big.Int) (event.Subscription, error)

WatchOracleSetUpdatedEvent is a free log subscription operation binding the contract event 0x36c6022aad02313069de85ca9645431c7dd5e8e7a21685586461c4b25e2374b3.

Solidity: event OracleSetUpdatedEvent(uint256 indexed _newOracleSetNonce, uint256 _eventNonce, address[] _oracles, uint256[] _powers)

func (*FxBridgeLogicETHFilterer) WatchOwnershipTransferred

func (_FxBridgeLogicETH *FxBridgeLogicETHFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *FxBridgeLogicETHOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*FxBridgeLogicETHFilterer) WatchPaused

func (_FxBridgeLogicETH *FxBridgeLogicETHFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *FxBridgeLogicETHPaused) (event.Subscription, error)

WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*FxBridgeLogicETHFilterer) WatchSendToFxEvent

func (_FxBridgeLogicETH *FxBridgeLogicETHFilterer) WatchSendToFxEvent(opts *bind.WatchOpts, sink chan<- *FxBridgeLogicETHSendToFxEvent, _tokenContract []common.Address, _sender []common.Address, _destination [][32]byte) (event.Subscription, error)

WatchSendToFxEvent is a free log subscription operation binding the contract event 0x034c5b22dd525a50d0a6b15549df0a6ac83b833a6c3da57ea16890832c72507c.

Solidity: event SendToFxEvent(address indexed _tokenContract, address indexed _sender, bytes32 indexed _destination, bytes32 _targetIBC, uint256 _amount, uint256 _eventNonce)

func (*FxBridgeLogicETHFilterer) WatchTransactionBatchExecutedEvent

func (_FxBridgeLogicETH *FxBridgeLogicETHFilterer) WatchTransactionBatchExecutedEvent(opts *bind.WatchOpts, sink chan<- *FxBridgeLogicETHTransactionBatchExecutedEvent, _batchNonce []*big.Int, _token []common.Address) (event.Subscription, error)

WatchTransactionBatchExecutedEvent is a free log subscription operation binding the contract event 0x02c7e81975f8edb86e2a0c038b7b86a49c744236abf0f6177ff5afc6986ab708.

Solidity: event TransactionBatchExecutedEvent(uint256 indexed _batchNonce, address indexed _token, uint256 _eventNonce)

func (*FxBridgeLogicETHFilterer) WatchTransferOwnerEvent

func (_FxBridgeLogicETH *FxBridgeLogicETHFilterer) WatchTransferOwnerEvent(opts *bind.WatchOpts, sink chan<- *FxBridgeLogicETHTransferOwnerEvent) (event.Subscription, error)

WatchTransferOwnerEvent is a free log subscription operation binding the contract event 0xb0f1bf050fff9d249d22389b0f2673295260c8deca341a2755d95318f9fbc699.

Solidity: event TransferOwnerEvent(address _token, address _newOwner)

func (*FxBridgeLogicETHFilterer) WatchUnpaused

func (_FxBridgeLogicETH *FxBridgeLogicETHFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *FxBridgeLogicETHUnpaused) (event.Subscription, error)

WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

type FxBridgeLogicETHFxOriginatedTokenEvent

type FxBridgeLogicETHFxOriginatedTokenEvent struct {
	TokenContract common.Address
	Name          string
	Symbol        string
	Decimals      uint8
	EventNonce    *big.Int
	Raw           types.Log // Blockchain specific contextual infos
}

FxBridgeLogicETHFxOriginatedTokenEvent represents a FxOriginatedTokenEvent event raised by the FxBridgeLogicETH contract.

type FxBridgeLogicETHFxOriginatedTokenEventIterator

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

FxBridgeLogicETHFxOriginatedTokenEventIterator is returned from FilterFxOriginatedTokenEvent and is used to iterate over the raw logs and unpacked data for FxOriginatedTokenEvent events raised by the FxBridgeLogicETH contract.

func (*FxBridgeLogicETHFxOriginatedTokenEventIterator) Close

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

func (*FxBridgeLogicETHFxOriginatedTokenEventIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FxBridgeLogicETHFxOriginatedTokenEventIterator) 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 FxBridgeLogicETHInitialized

type FxBridgeLogicETHInitialized struct {
	Version uint8
	Raw     types.Log // Blockchain specific contextual infos
}

FxBridgeLogicETHInitialized represents a Initialized event raised by the FxBridgeLogicETH contract.

type FxBridgeLogicETHInitializedIterator

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

FxBridgeLogicETHInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the FxBridgeLogicETH contract.

func (*FxBridgeLogicETHInitializedIterator) Close

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

func (*FxBridgeLogicETHInitializedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FxBridgeLogicETHInitializedIterator) 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 FxBridgeLogicETHOracleSetUpdatedEvent

type FxBridgeLogicETHOracleSetUpdatedEvent struct {
	NewOracleSetNonce *big.Int
	EventNonce        *big.Int
	Oracles           []common.Address
	Powers            []*big.Int
	Raw               types.Log // Blockchain specific contextual infos
}

FxBridgeLogicETHOracleSetUpdatedEvent represents a OracleSetUpdatedEvent event raised by the FxBridgeLogicETH contract.

type FxBridgeLogicETHOracleSetUpdatedEventIterator

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

FxBridgeLogicETHOracleSetUpdatedEventIterator is returned from FilterOracleSetUpdatedEvent and is used to iterate over the raw logs and unpacked data for OracleSetUpdatedEvent events raised by the FxBridgeLogicETH contract.

func (*FxBridgeLogicETHOracleSetUpdatedEventIterator) Close

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

func (*FxBridgeLogicETHOracleSetUpdatedEventIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FxBridgeLogicETHOracleSetUpdatedEventIterator) 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 FxBridgeLogicETHOwnershipTransferred

type FxBridgeLogicETHOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

FxBridgeLogicETHOwnershipTransferred represents a OwnershipTransferred event raised by the FxBridgeLogicETH contract.

type FxBridgeLogicETHOwnershipTransferredIterator

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

FxBridgeLogicETHOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the FxBridgeLogicETH contract.

func (*FxBridgeLogicETHOwnershipTransferredIterator) Close

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

func (*FxBridgeLogicETHOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FxBridgeLogicETHOwnershipTransferredIterator) 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 FxBridgeLogicETHPaused

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

FxBridgeLogicETHPaused represents a Paused event raised by the FxBridgeLogicETH contract.

type FxBridgeLogicETHPausedIterator

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

FxBridgeLogicETHPausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the FxBridgeLogicETH contract.

func (*FxBridgeLogicETHPausedIterator) Close

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

func (*FxBridgeLogicETHPausedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FxBridgeLogicETHPausedIterator) 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 FxBridgeLogicETHRaw

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

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

func (*FxBridgeLogicETHRaw) Call

func (_FxBridgeLogicETH *FxBridgeLogicETHRaw) 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 (*FxBridgeLogicETHRaw) Transact

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

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

func (*FxBridgeLogicETHRaw) Transfer

func (_FxBridgeLogicETH *FxBridgeLogicETHRaw) 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 FxBridgeLogicETHSendToFxEvent

type FxBridgeLogicETHSendToFxEvent struct {
	TokenContract common.Address
	Sender        common.Address
	Destination   [32]byte
	TargetIBC     [32]byte
	Amount        *big.Int
	EventNonce    *big.Int
	Raw           types.Log // Blockchain specific contextual infos
}

FxBridgeLogicETHSendToFxEvent represents a SendToFxEvent event raised by the FxBridgeLogicETH contract.

type FxBridgeLogicETHSendToFxEventIterator

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

FxBridgeLogicETHSendToFxEventIterator is returned from FilterSendToFxEvent and is used to iterate over the raw logs and unpacked data for SendToFxEvent events raised by the FxBridgeLogicETH contract.

func (*FxBridgeLogicETHSendToFxEventIterator) Close

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

func (*FxBridgeLogicETHSendToFxEventIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FxBridgeLogicETHSendToFxEventIterator) 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 FxBridgeLogicETHSession

type FxBridgeLogicETHSession struct {
	Contract     *FxBridgeLogicETH // 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
}

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

func (*FxBridgeLogicETHSession) ActiveBridgeToken

func (_FxBridgeLogicETH *FxBridgeLogicETHSession) ActiveBridgeToken(_tokenAddr common.Address) (*types.Transaction, error)

ActiveBridgeToken is a paid mutator transaction binding the contract method 0xdde65aea.

Solidity: function activeBridgeToken(address _tokenAddr) returns(bool)

func (*FxBridgeLogicETHSession) AddBridgeToken

func (_FxBridgeLogicETH *FxBridgeLogicETHSession) AddBridgeToken(_tokenAddr common.Address, _channelIBC [32]byte, _isOriginated bool) (*types.Transaction, error)

AddBridgeToken is a paid mutator transaction binding the contract method 0xf1099f61.

Solidity: function addBridgeToken(address _tokenAddr, bytes32 _channelIBC, bool _isOriginated) returns(bool)

func (*FxBridgeLogicETHSession) BridgeTokens

func (_FxBridgeLogicETH *FxBridgeLogicETHSession) BridgeTokens(arg0 *big.Int) (common.Address, error)

BridgeTokens is a free data retrieval call binding the contract method 0x70e5a898.

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

func (*FxBridgeLogicETHSession) CheckAssetStatus

func (_FxBridgeLogicETH *FxBridgeLogicETHSession) CheckAssetStatus(_tokenAddr common.Address) (bool, error)

CheckAssetStatus is a free data retrieval call binding the contract method 0x474d561c.

Solidity: function checkAssetStatus(address _tokenAddr) view returns(bool)

func (*FxBridgeLogicETHSession) CheckOracleSignatures

func (_FxBridgeLogicETH *FxBridgeLogicETHSession) CheckOracleSignatures(_currentOracles []common.Address, _currentPowers []*big.Int, _v []uint8, _r [][32]byte, _s [][32]byte, _theHash [32]byte, _powerThreshold *big.Int) error

CheckOracleSignatures is a free data retrieval call binding the contract method 0x285a190a.

Solidity: function checkOracleSignatures(address[] _currentOracles, uint256[] _currentPowers, uint8[] _v, bytes32[] _r, bytes32[] _s, bytes32 _theHash, uint256 _powerThreshold) pure returns()

func (*FxBridgeLogicETHSession) GetBridgeTokenList

func (_FxBridgeLogicETH *FxBridgeLogicETHSession) GetBridgeTokenList() ([]FxBridgeLogicETHBridgeToken, error)

GetBridgeTokenList is a free data retrieval call binding the contract method 0x283040b4.

Solidity: function getBridgeTokenList() view returns((address,string,string,uint8)[])

func (*FxBridgeLogicETHSession) Init

func (_FxBridgeLogicETH *FxBridgeLogicETHSession) Init(_fxBridgeId [32]byte, _powerThreshold *big.Int, _oracles []common.Address, _powers []*big.Int) (*types.Transaction, error)

Init is a paid mutator transaction binding the contract method 0xaa63a894.

Solidity: function init(bytes32 _fxBridgeId, uint256 _powerThreshold, address[] _oracles, uint256[] _powers) returns()

func (*FxBridgeLogicETHSession) LastBatchNonce

func (_FxBridgeLogicETH *FxBridgeLogicETHSession) LastBatchNonce(_erc20Address common.Address) (*big.Int, error)

LastBatchNonce is a free data retrieval call binding the contract method 0x011b2174.

Solidity: function lastBatchNonce(address _erc20Address) view returns(uint256)

func (*FxBridgeLogicETHSession) MakeCheckpoint

func (_FxBridgeLogicETH *FxBridgeLogicETHSession) MakeCheckpoint(_oracles []common.Address, _powers []*big.Int, _oracleSetNonce *big.Int, _fxBridgeId [32]byte) ([32]byte, error)

MakeCheckpoint is a free data retrieval call binding the contract method 0x71cbf381.

Solidity: function makeCheckpoint(address[] _oracles, uint256[] _powers, uint256 _oracleSetNonce, bytes32 _fxBridgeId) pure returns(bytes32)

func (*FxBridgeLogicETHSession) Migrate

func (_FxBridgeLogicETH *FxBridgeLogicETHSession) Migrate() (*types.Transaction, error)

Migrate is a paid mutator transaction binding the contract method 0x8fd3ab80.

Solidity: function migrate() returns()

func (*FxBridgeLogicETHSession) Owner

func (_FxBridgeLogicETH *FxBridgeLogicETHSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*FxBridgeLogicETHSession) Pause

func (_FxBridgeLogicETH *FxBridgeLogicETHSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*FxBridgeLogicETHSession) PauseBridgeToken

func (_FxBridgeLogicETH *FxBridgeLogicETHSession) PauseBridgeToken(_tokenAddr common.Address) (*types.Transaction, error)

PauseBridgeToken is a paid mutator transaction binding the contract method 0xa36a4ab0.

Solidity: function pauseBridgeToken(address _tokenAddr) returns(bool)

func (*FxBridgeLogicETHSession) Paused

func (_FxBridgeLogicETH *FxBridgeLogicETHSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*FxBridgeLogicETHSession) RenounceOwnership

func (_FxBridgeLogicETH *FxBridgeLogicETHSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*FxBridgeLogicETHSession) SendToFx

func (_FxBridgeLogicETH *FxBridgeLogicETHSession) SendToFx(_tokenContract common.Address, _destination [32]byte, _targetIBC [32]byte, _amount *big.Int) (*types.Transaction, error)

SendToFx is a paid mutator transaction binding the contract method 0x6189d107.

Solidity: function sendToFx(address _tokenContract, bytes32 _destination, bytes32 _targetIBC, uint256 _amount) returns()

func (*FxBridgeLogicETHSession) SetFxOriginatedToken

func (_FxBridgeLogicETH *FxBridgeLogicETHSession) SetFxOriginatedToken(_tokenAddr common.Address) (*types.Transaction, error)

SetFxOriginatedToken is a paid mutator transaction binding the contract method 0xa4f37efd.

Solidity: function setFxOriginatedToken(address _tokenAddr) returns(bool)

func (*FxBridgeLogicETHSession) StateFxBridgeId

func (_FxBridgeLogicETH *FxBridgeLogicETHSession) StateFxBridgeId() ([32]byte, error)

StateFxBridgeId is a free data retrieval call binding the contract method 0xf92367fd.

Solidity: function state_fxBridgeId() view returns(bytes32)

func (*FxBridgeLogicETHSession) StateFxOriginatedToken

func (_FxBridgeLogicETH *FxBridgeLogicETHSession) StateFxOriginatedToken() (common.Address, error)

StateFxOriginatedToken is a free data retrieval call binding the contract method 0xfd9791bb.

Solidity: function state_fxOriginatedToken() view returns(address)

func (*FxBridgeLogicETHSession) StateLastBatchNonces

func (_FxBridgeLogicETH *FxBridgeLogicETHSession) StateLastBatchNonces(arg0 common.Address) (*big.Int, error)

StateLastBatchNonces is a free data retrieval call binding the contract method 0xdf97174b.

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

func (*FxBridgeLogicETHSession) StateLastEventNonce

func (_FxBridgeLogicETH *FxBridgeLogicETHSession) StateLastEventNonce() (*big.Int, error)

StateLastEventNonce is a free data retrieval call binding the contract method 0x73b20547.

Solidity: function state_lastEventNonce() view returns(uint256)

func (*FxBridgeLogicETHSession) StateLastOracleSetCheckpoint

func (_FxBridgeLogicETH *FxBridgeLogicETHSession) StateLastOracleSetCheckpoint() ([32]byte, error)

StateLastOracleSetCheckpoint is a free data retrieval call binding the contract method 0x70a0eb94.

Solidity: function state_lastOracleSetCheckpoint() view returns(bytes32)

func (*FxBridgeLogicETHSession) StateLastOracleSetNonce

func (_FxBridgeLogicETH *FxBridgeLogicETHSession) StateLastOracleSetNonce() (*big.Int, error)

StateLastOracleSetNonce is a free data retrieval call binding the contract method 0xbb83bf96.

Solidity: function state_lastOracleSetNonce() view returns(uint256)

func (*FxBridgeLogicETHSession) StatePowerThreshold

func (_FxBridgeLogicETH *FxBridgeLogicETHSession) StatePowerThreshold() (*big.Int, error)

StatePowerThreshold is a free data retrieval call binding the contract method 0xe5a2b5d2.

Solidity: function state_powerThreshold() view returns(uint256)

func (*FxBridgeLogicETHSession) SubmitBatch

func (_FxBridgeLogicETH *FxBridgeLogicETHSession) SubmitBatch(_currentOracles []common.Address, _currentPowers []*big.Int, _v []uint8, _r [][32]byte, _s [][32]byte, _amounts []*big.Int, _destinations []common.Address, _fees []*big.Int, _nonceArray [2]*big.Int, _tokenContract common.Address, _batchTimeout *big.Int, _feeReceive common.Address) (*types.Transaction, error)

SubmitBatch is a paid mutator transaction binding the contract method 0x332caa1f.

Solidity: function submitBatch(address[] _currentOracles, uint256[] _currentPowers, uint8[] _v, bytes32[] _r, bytes32[] _s, uint256[] _amounts, address[] _destinations, uint256[] _fees, uint256[2] _nonceArray, address _tokenContract, uint256 _batchTimeout, address _feeReceive) returns()

func (*FxBridgeLogicETHSession) TokenStatus

func (_FxBridgeLogicETH *FxBridgeLogicETHSession) TokenStatus(arg0 common.Address) (struct {
	IsOriginated bool
	IsActive     bool
	IsExist      bool
}, error)

TokenStatus is a free data retrieval call binding the contract method 0x0acac942.

Solidity: function tokenStatus(address ) view returns(bool isOriginated, bool isActive, bool isExist)

func (*FxBridgeLogicETHSession) TransferOwner

func (_FxBridgeLogicETH *FxBridgeLogicETHSession) TransferOwner(_token common.Address, _newOwner common.Address) (*types.Transaction, error)

TransferOwner is a paid mutator transaction binding the contract method 0x31678cf6.

Solidity: function transferOwner(address _token, address _newOwner) returns(bool)

func (*FxBridgeLogicETHSession) TransferOwnership

func (_FxBridgeLogicETH *FxBridgeLogicETHSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*FxBridgeLogicETHSession) Unpause

func (_FxBridgeLogicETH *FxBridgeLogicETHSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*FxBridgeLogicETHSession) UpdateOracleSet

func (_FxBridgeLogicETH *FxBridgeLogicETHSession) UpdateOracleSet(_newOracles []common.Address, _newPowers []*big.Int, _newOracleSetNonce *big.Int, _currentOracles []common.Address, _currentPowers []*big.Int, _currentOracleSetNonce *big.Int, _v []uint8, _r [][32]byte, _s [][32]byte) (*types.Transaction, error)

UpdateOracleSet is a paid mutator transaction binding the contract method 0x3a08e299.

Solidity: function updateOracleSet(address[] _newOracles, uint256[] _newPowers, uint256 _newOracleSetNonce, address[] _currentOracles, uint256[] _currentPowers, uint256 _currentOracleSetNonce, uint8[] _v, bytes32[] _r, bytes32[] _s) returns()

func (*FxBridgeLogicETHSession) Version

func (_FxBridgeLogicETH *FxBridgeLogicETHSession) Version() (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string)

type FxBridgeLogicETHTransactionBatchExecutedEvent

type FxBridgeLogicETHTransactionBatchExecutedEvent struct {
	BatchNonce *big.Int
	Token      common.Address
	EventNonce *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

FxBridgeLogicETHTransactionBatchExecutedEvent represents a TransactionBatchExecutedEvent event raised by the FxBridgeLogicETH contract.

type FxBridgeLogicETHTransactionBatchExecutedEventIterator

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

FxBridgeLogicETHTransactionBatchExecutedEventIterator is returned from FilterTransactionBatchExecutedEvent and is used to iterate over the raw logs and unpacked data for TransactionBatchExecutedEvent events raised by the FxBridgeLogicETH contract.

func (*FxBridgeLogicETHTransactionBatchExecutedEventIterator) Close

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

func (*FxBridgeLogicETHTransactionBatchExecutedEventIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FxBridgeLogicETHTransactionBatchExecutedEventIterator) 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 FxBridgeLogicETHTransactor

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

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

func NewFxBridgeLogicETHTransactor

func NewFxBridgeLogicETHTransactor(address common.Address, transactor bind.ContractTransactor) (*FxBridgeLogicETHTransactor, error)

NewFxBridgeLogicETHTransactor creates a new write-only instance of FxBridgeLogicETH, bound to a specific deployed contract.

func (*FxBridgeLogicETHTransactor) ActiveBridgeToken

func (_FxBridgeLogicETH *FxBridgeLogicETHTransactor) ActiveBridgeToken(opts *bind.TransactOpts, _tokenAddr common.Address) (*types.Transaction, error)

ActiveBridgeToken is a paid mutator transaction binding the contract method 0xdde65aea.

Solidity: function activeBridgeToken(address _tokenAddr) returns(bool)

func (*FxBridgeLogicETHTransactor) AddBridgeToken

func (_FxBridgeLogicETH *FxBridgeLogicETHTransactor) AddBridgeToken(opts *bind.TransactOpts, _tokenAddr common.Address, _channelIBC [32]byte, _isOriginated bool) (*types.Transaction, error)

AddBridgeToken is a paid mutator transaction binding the contract method 0xf1099f61.

Solidity: function addBridgeToken(address _tokenAddr, bytes32 _channelIBC, bool _isOriginated) returns(bool)

func (*FxBridgeLogicETHTransactor) Init

func (_FxBridgeLogicETH *FxBridgeLogicETHTransactor) Init(opts *bind.TransactOpts, _fxBridgeId [32]byte, _powerThreshold *big.Int, _oracles []common.Address, _powers []*big.Int) (*types.Transaction, error)

Init is a paid mutator transaction binding the contract method 0xaa63a894.

Solidity: function init(bytes32 _fxBridgeId, uint256 _powerThreshold, address[] _oracles, uint256[] _powers) returns()

func (*FxBridgeLogicETHTransactor) Migrate

func (_FxBridgeLogicETH *FxBridgeLogicETHTransactor) Migrate(opts *bind.TransactOpts) (*types.Transaction, error)

Migrate is a paid mutator transaction binding the contract method 0x8fd3ab80.

Solidity: function migrate() returns()

func (*FxBridgeLogicETHTransactor) Pause

func (_FxBridgeLogicETH *FxBridgeLogicETHTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*FxBridgeLogicETHTransactor) PauseBridgeToken

func (_FxBridgeLogicETH *FxBridgeLogicETHTransactor) PauseBridgeToken(opts *bind.TransactOpts, _tokenAddr common.Address) (*types.Transaction, error)

PauseBridgeToken is a paid mutator transaction binding the contract method 0xa36a4ab0.

Solidity: function pauseBridgeToken(address _tokenAddr) returns(bool)

func (*FxBridgeLogicETHTransactor) RenounceOwnership

func (_FxBridgeLogicETH *FxBridgeLogicETHTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*FxBridgeLogicETHTransactor) SendToFx

func (_FxBridgeLogicETH *FxBridgeLogicETHTransactor) SendToFx(opts *bind.TransactOpts, _tokenContract common.Address, _destination [32]byte, _targetIBC [32]byte, _amount *big.Int) (*types.Transaction, error)

SendToFx is a paid mutator transaction binding the contract method 0x6189d107.

Solidity: function sendToFx(address _tokenContract, bytes32 _destination, bytes32 _targetIBC, uint256 _amount) returns()

func (*FxBridgeLogicETHTransactor) SetFxOriginatedToken

func (_FxBridgeLogicETH *FxBridgeLogicETHTransactor) SetFxOriginatedToken(opts *bind.TransactOpts, _tokenAddr common.Address) (*types.Transaction, error)

SetFxOriginatedToken is a paid mutator transaction binding the contract method 0xa4f37efd.

Solidity: function setFxOriginatedToken(address _tokenAddr) returns(bool)

func (*FxBridgeLogicETHTransactor) SubmitBatch

func (_FxBridgeLogicETH *FxBridgeLogicETHTransactor) SubmitBatch(opts *bind.TransactOpts, _currentOracles []common.Address, _currentPowers []*big.Int, _v []uint8, _r [][32]byte, _s [][32]byte, _amounts []*big.Int, _destinations []common.Address, _fees []*big.Int, _nonceArray [2]*big.Int, _tokenContract common.Address, _batchTimeout *big.Int, _feeReceive common.Address) (*types.Transaction, error)

SubmitBatch is a paid mutator transaction binding the contract method 0x332caa1f.

Solidity: function submitBatch(address[] _currentOracles, uint256[] _currentPowers, uint8[] _v, bytes32[] _r, bytes32[] _s, uint256[] _amounts, address[] _destinations, uint256[] _fees, uint256[2] _nonceArray, address _tokenContract, uint256 _batchTimeout, address _feeReceive) returns()

func (*FxBridgeLogicETHTransactor) TransferOwner

func (_FxBridgeLogicETH *FxBridgeLogicETHTransactor) TransferOwner(opts *bind.TransactOpts, _token common.Address, _newOwner common.Address) (*types.Transaction, error)

TransferOwner is a paid mutator transaction binding the contract method 0x31678cf6.

Solidity: function transferOwner(address _token, address _newOwner) returns(bool)

func (*FxBridgeLogicETHTransactor) TransferOwnership

func (_FxBridgeLogicETH *FxBridgeLogicETHTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*FxBridgeLogicETHTransactor) Unpause

func (_FxBridgeLogicETH *FxBridgeLogicETHTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*FxBridgeLogicETHTransactor) UpdateOracleSet

func (_FxBridgeLogicETH *FxBridgeLogicETHTransactor) UpdateOracleSet(opts *bind.TransactOpts, _newOracles []common.Address, _newPowers []*big.Int, _newOracleSetNonce *big.Int, _currentOracles []common.Address, _currentPowers []*big.Int, _currentOracleSetNonce *big.Int, _v []uint8, _r [][32]byte, _s [][32]byte) (*types.Transaction, error)

UpdateOracleSet is a paid mutator transaction binding the contract method 0x3a08e299.

Solidity: function updateOracleSet(address[] _newOracles, uint256[] _newPowers, uint256 _newOracleSetNonce, address[] _currentOracles, uint256[] _currentPowers, uint256 _currentOracleSetNonce, uint8[] _v, bytes32[] _r, bytes32[] _s) returns()

type FxBridgeLogicETHTransactorRaw

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

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

func (*FxBridgeLogicETHTransactorRaw) Transact

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

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

func (*FxBridgeLogicETHTransactorRaw) Transfer

func (_FxBridgeLogicETH *FxBridgeLogicETHTransactorRaw) 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 FxBridgeLogicETHTransactorSession

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

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

func (*FxBridgeLogicETHTransactorSession) ActiveBridgeToken

func (_FxBridgeLogicETH *FxBridgeLogicETHTransactorSession) ActiveBridgeToken(_tokenAddr common.Address) (*types.Transaction, error)

ActiveBridgeToken is a paid mutator transaction binding the contract method 0xdde65aea.

Solidity: function activeBridgeToken(address _tokenAddr) returns(bool)

func (*FxBridgeLogicETHTransactorSession) AddBridgeToken

func (_FxBridgeLogicETH *FxBridgeLogicETHTransactorSession) AddBridgeToken(_tokenAddr common.Address, _channelIBC [32]byte, _isOriginated bool) (*types.Transaction, error)

AddBridgeToken is a paid mutator transaction binding the contract method 0xf1099f61.

Solidity: function addBridgeToken(address _tokenAddr, bytes32 _channelIBC, bool _isOriginated) returns(bool)

func (*FxBridgeLogicETHTransactorSession) Init

func (_FxBridgeLogicETH *FxBridgeLogicETHTransactorSession) Init(_fxBridgeId [32]byte, _powerThreshold *big.Int, _oracles []common.Address, _powers []*big.Int) (*types.Transaction, error)

Init is a paid mutator transaction binding the contract method 0xaa63a894.

Solidity: function init(bytes32 _fxBridgeId, uint256 _powerThreshold, address[] _oracles, uint256[] _powers) returns()

func (*FxBridgeLogicETHTransactorSession) Migrate

func (_FxBridgeLogicETH *FxBridgeLogicETHTransactorSession) Migrate() (*types.Transaction, error)

Migrate is a paid mutator transaction binding the contract method 0x8fd3ab80.

Solidity: function migrate() returns()

func (*FxBridgeLogicETHTransactorSession) Pause

func (_FxBridgeLogicETH *FxBridgeLogicETHTransactorSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*FxBridgeLogicETHTransactorSession) PauseBridgeToken

func (_FxBridgeLogicETH *FxBridgeLogicETHTransactorSession) PauseBridgeToken(_tokenAddr common.Address) (*types.Transaction, error)

PauseBridgeToken is a paid mutator transaction binding the contract method 0xa36a4ab0.

Solidity: function pauseBridgeToken(address _tokenAddr) returns(bool)

func (*FxBridgeLogicETHTransactorSession) RenounceOwnership

func (_FxBridgeLogicETH *FxBridgeLogicETHTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*FxBridgeLogicETHTransactorSession) SendToFx

func (_FxBridgeLogicETH *FxBridgeLogicETHTransactorSession) SendToFx(_tokenContract common.Address, _destination [32]byte, _targetIBC [32]byte, _amount *big.Int) (*types.Transaction, error)

SendToFx is a paid mutator transaction binding the contract method 0x6189d107.

Solidity: function sendToFx(address _tokenContract, bytes32 _destination, bytes32 _targetIBC, uint256 _amount) returns()

func (*FxBridgeLogicETHTransactorSession) SetFxOriginatedToken

func (_FxBridgeLogicETH *FxBridgeLogicETHTransactorSession) SetFxOriginatedToken(_tokenAddr common.Address) (*types.Transaction, error)

SetFxOriginatedToken is a paid mutator transaction binding the contract method 0xa4f37efd.

Solidity: function setFxOriginatedToken(address _tokenAddr) returns(bool)

func (*FxBridgeLogicETHTransactorSession) SubmitBatch

func (_FxBridgeLogicETH *FxBridgeLogicETHTransactorSession) SubmitBatch(_currentOracles []common.Address, _currentPowers []*big.Int, _v []uint8, _r [][32]byte, _s [][32]byte, _amounts []*big.Int, _destinations []common.Address, _fees []*big.Int, _nonceArray [2]*big.Int, _tokenContract common.Address, _batchTimeout *big.Int, _feeReceive common.Address) (*types.Transaction, error)

SubmitBatch is a paid mutator transaction binding the contract method 0x332caa1f.

Solidity: function submitBatch(address[] _currentOracles, uint256[] _currentPowers, uint8[] _v, bytes32[] _r, bytes32[] _s, uint256[] _amounts, address[] _destinations, uint256[] _fees, uint256[2] _nonceArray, address _tokenContract, uint256 _batchTimeout, address _feeReceive) returns()

func (*FxBridgeLogicETHTransactorSession) TransferOwner

func (_FxBridgeLogicETH *FxBridgeLogicETHTransactorSession) TransferOwner(_token common.Address, _newOwner common.Address) (*types.Transaction, error)

TransferOwner is a paid mutator transaction binding the contract method 0x31678cf6.

Solidity: function transferOwner(address _token, address _newOwner) returns(bool)

func (*FxBridgeLogicETHTransactorSession) TransferOwnership

func (_FxBridgeLogicETH *FxBridgeLogicETHTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*FxBridgeLogicETHTransactorSession) Unpause

func (_FxBridgeLogicETH *FxBridgeLogicETHTransactorSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*FxBridgeLogicETHTransactorSession) UpdateOracleSet

func (_FxBridgeLogicETH *FxBridgeLogicETHTransactorSession) UpdateOracleSet(_newOracles []common.Address, _newPowers []*big.Int, _newOracleSetNonce *big.Int, _currentOracles []common.Address, _currentPowers []*big.Int, _currentOracleSetNonce *big.Int, _v []uint8, _r [][32]byte, _s [][32]byte) (*types.Transaction, error)

UpdateOracleSet is a paid mutator transaction binding the contract method 0x3a08e299.

Solidity: function updateOracleSet(address[] _newOracles, uint256[] _newPowers, uint256 _newOracleSetNonce, address[] _currentOracles, uint256[] _currentPowers, uint256 _currentOracleSetNonce, uint8[] _v, bytes32[] _r, bytes32[] _s) returns()

type FxBridgeLogicETHTransferOwnerEvent

type FxBridgeLogicETHTransferOwnerEvent struct {
	Token    common.Address
	NewOwner common.Address
	Raw      types.Log // Blockchain specific contextual infos
}

FxBridgeLogicETHTransferOwnerEvent represents a TransferOwnerEvent event raised by the FxBridgeLogicETH contract.

type FxBridgeLogicETHTransferOwnerEventIterator

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

FxBridgeLogicETHTransferOwnerEventIterator is returned from FilterTransferOwnerEvent and is used to iterate over the raw logs and unpacked data for TransferOwnerEvent events raised by the FxBridgeLogicETH contract.

func (*FxBridgeLogicETHTransferOwnerEventIterator) Close

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

func (*FxBridgeLogicETHTransferOwnerEventIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FxBridgeLogicETHTransferOwnerEventIterator) 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 FxBridgeLogicETHUnpaused

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

FxBridgeLogicETHUnpaused represents a Unpaused event raised by the FxBridgeLogicETH contract.

type FxBridgeLogicETHUnpausedIterator

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

FxBridgeLogicETHUnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the FxBridgeLogicETH contract.

func (*FxBridgeLogicETHUnpausedIterator) Close

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

func (*FxBridgeLogicETHUnpausedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FxBridgeLogicETHUnpausedIterator) 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 FxBridgeLogicFilterer

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

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

func NewFxBridgeLogicFilterer

func NewFxBridgeLogicFilterer(address common.Address, filterer bind.ContractFilterer) (*FxBridgeLogicFilterer, error)

NewFxBridgeLogicFilterer creates a new log filterer instance of FxBridgeLogic, bound to a specific deployed contract.

func (*FxBridgeLogicFilterer) FilterAddBridgeTokenEvent

func (_FxBridgeLogic *FxBridgeLogicFilterer) FilterAddBridgeTokenEvent(opts *bind.FilterOpts, _tokenContract []common.Address) (*FxBridgeLogicAddBridgeTokenEventIterator, error)

FilterAddBridgeTokenEvent is a free log retrieval operation binding the contract event 0x2da8f37eaabc4d44ba4fcc438e404bbed3344322280d6c67497e9c668c87ec0f.

Solidity: event AddBridgeTokenEvent(address indexed _tokenContract, string _name, string _symbol, uint8 _decimals, uint256 _eventNonce, bytes32 _channelIBC)

func (*FxBridgeLogicFilterer) FilterInitialized

func (_FxBridgeLogic *FxBridgeLogicFilterer) FilterInitialized(opts *bind.FilterOpts) (*FxBridgeLogicInitializedIterator, error)

FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*FxBridgeLogicFilterer) FilterOracleSetUpdatedEvent

func (_FxBridgeLogic *FxBridgeLogicFilterer) FilterOracleSetUpdatedEvent(opts *bind.FilterOpts, _newOracleSetNonce []*big.Int) (*FxBridgeLogicOracleSetUpdatedEventIterator, error)

FilterOracleSetUpdatedEvent is a free log retrieval operation binding the contract event 0x36c6022aad02313069de85ca9645431c7dd5e8e7a21685586461c4b25e2374b3.

Solidity: event OracleSetUpdatedEvent(uint256 indexed _newOracleSetNonce, uint256 _eventNonce, address[] _oracles, uint256[] _powers)

func (*FxBridgeLogicFilterer) FilterOwnershipTransferred

func (_FxBridgeLogic *FxBridgeLogicFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*FxBridgeLogicOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*FxBridgeLogicFilterer) FilterPaused

func (_FxBridgeLogic *FxBridgeLogicFilterer) FilterPaused(opts *bind.FilterOpts) (*FxBridgeLogicPausedIterator, error)

FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*FxBridgeLogicFilterer) FilterSendToFxEvent

func (_FxBridgeLogic *FxBridgeLogicFilterer) FilterSendToFxEvent(opts *bind.FilterOpts, _tokenContract []common.Address, _sender []common.Address, _destination [][32]byte) (*FxBridgeLogicSendToFxEventIterator, error)

FilterSendToFxEvent is a free log retrieval operation binding the contract event 0x034c5b22dd525a50d0a6b15549df0a6ac83b833a6c3da57ea16890832c72507c.

Solidity: event SendToFxEvent(address indexed _tokenContract, address indexed _sender, bytes32 indexed _destination, bytes32 _targetIBC, uint256 _amount, uint256 _eventNonce)

func (*FxBridgeLogicFilterer) FilterTransactionBatchExecutedEvent

func (_FxBridgeLogic *FxBridgeLogicFilterer) FilterTransactionBatchExecutedEvent(opts *bind.FilterOpts, _batchNonce []*big.Int, _token []common.Address) (*FxBridgeLogicTransactionBatchExecutedEventIterator, error)

FilterTransactionBatchExecutedEvent is a free log retrieval operation binding the contract event 0x02c7e81975f8edb86e2a0c038b7b86a49c744236abf0f6177ff5afc6986ab708.

Solidity: event TransactionBatchExecutedEvent(uint256 indexed _batchNonce, address indexed _token, uint256 _eventNonce)

func (*FxBridgeLogicFilterer) FilterTransferOwnerEvent

func (_FxBridgeLogic *FxBridgeLogicFilterer) FilterTransferOwnerEvent(opts *bind.FilterOpts) (*FxBridgeLogicTransferOwnerEventIterator, error)

FilterTransferOwnerEvent is a free log retrieval operation binding the contract event 0xb0f1bf050fff9d249d22389b0f2673295260c8deca341a2755d95318f9fbc699.

Solidity: event TransferOwnerEvent(address _token, address _newOwner)

func (*FxBridgeLogicFilterer) FilterUnpaused

func (_FxBridgeLogic *FxBridgeLogicFilterer) FilterUnpaused(opts *bind.FilterOpts) (*FxBridgeLogicUnpausedIterator, error)

FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*FxBridgeLogicFilterer) ParseAddBridgeTokenEvent

func (_FxBridgeLogic *FxBridgeLogicFilterer) ParseAddBridgeTokenEvent(log types.Log) (*FxBridgeLogicAddBridgeTokenEvent, error)

ParseAddBridgeTokenEvent is a log parse operation binding the contract event 0x2da8f37eaabc4d44ba4fcc438e404bbed3344322280d6c67497e9c668c87ec0f.

Solidity: event AddBridgeTokenEvent(address indexed _tokenContract, string _name, string _symbol, uint8 _decimals, uint256 _eventNonce, bytes32 _channelIBC)

func (*FxBridgeLogicFilterer) ParseInitialized

func (_FxBridgeLogic *FxBridgeLogicFilterer) ParseInitialized(log types.Log) (*FxBridgeLogicInitialized, error)

ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*FxBridgeLogicFilterer) ParseOracleSetUpdatedEvent

func (_FxBridgeLogic *FxBridgeLogicFilterer) ParseOracleSetUpdatedEvent(log types.Log) (*FxBridgeLogicOracleSetUpdatedEvent, error)

ParseOracleSetUpdatedEvent is a log parse operation binding the contract event 0x36c6022aad02313069de85ca9645431c7dd5e8e7a21685586461c4b25e2374b3.

Solidity: event OracleSetUpdatedEvent(uint256 indexed _newOracleSetNonce, uint256 _eventNonce, address[] _oracles, uint256[] _powers)

func (*FxBridgeLogicFilterer) ParseOwnershipTransferred

func (_FxBridgeLogic *FxBridgeLogicFilterer) ParseOwnershipTransferred(log types.Log) (*FxBridgeLogicOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*FxBridgeLogicFilterer) ParsePaused

func (_FxBridgeLogic *FxBridgeLogicFilterer) ParsePaused(log types.Log) (*FxBridgeLogicPaused, error)

ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*FxBridgeLogicFilterer) ParseSendToFxEvent

func (_FxBridgeLogic *FxBridgeLogicFilterer) ParseSendToFxEvent(log types.Log) (*FxBridgeLogicSendToFxEvent, error)

ParseSendToFxEvent is a log parse operation binding the contract event 0x034c5b22dd525a50d0a6b15549df0a6ac83b833a6c3da57ea16890832c72507c.

Solidity: event SendToFxEvent(address indexed _tokenContract, address indexed _sender, bytes32 indexed _destination, bytes32 _targetIBC, uint256 _amount, uint256 _eventNonce)

func (*FxBridgeLogicFilterer) ParseTransactionBatchExecutedEvent

func (_FxBridgeLogic *FxBridgeLogicFilterer) ParseTransactionBatchExecutedEvent(log types.Log) (*FxBridgeLogicTransactionBatchExecutedEvent, error)

ParseTransactionBatchExecutedEvent is a log parse operation binding the contract event 0x02c7e81975f8edb86e2a0c038b7b86a49c744236abf0f6177ff5afc6986ab708.

Solidity: event TransactionBatchExecutedEvent(uint256 indexed _batchNonce, address indexed _token, uint256 _eventNonce)

func (*FxBridgeLogicFilterer) ParseTransferOwnerEvent

func (_FxBridgeLogic *FxBridgeLogicFilterer) ParseTransferOwnerEvent(log types.Log) (*FxBridgeLogicTransferOwnerEvent, error)

ParseTransferOwnerEvent is a log parse operation binding the contract event 0xb0f1bf050fff9d249d22389b0f2673295260c8deca341a2755d95318f9fbc699.

Solidity: event TransferOwnerEvent(address _token, address _newOwner)

func (*FxBridgeLogicFilterer) ParseUnpaused

func (_FxBridgeLogic *FxBridgeLogicFilterer) ParseUnpaused(log types.Log) (*FxBridgeLogicUnpaused, error)

ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*FxBridgeLogicFilterer) WatchAddBridgeTokenEvent

func (_FxBridgeLogic *FxBridgeLogicFilterer) WatchAddBridgeTokenEvent(opts *bind.WatchOpts, sink chan<- *FxBridgeLogicAddBridgeTokenEvent, _tokenContract []common.Address) (event.Subscription, error)

WatchAddBridgeTokenEvent is a free log subscription operation binding the contract event 0x2da8f37eaabc4d44ba4fcc438e404bbed3344322280d6c67497e9c668c87ec0f.

Solidity: event AddBridgeTokenEvent(address indexed _tokenContract, string _name, string _symbol, uint8 _decimals, uint256 _eventNonce, bytes32 _channelIBC)

func (*FxBridgeLogicFilterer) WatchInitialized

func (_FxBridgeLogic *FxBridgeLogicFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *FxBridgeLogicInitialized) (event.Subscription, error)

WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*FxBridgeLogicFilterer) WatchOracleSetUpdatedEvent

func (_FxBridgeLogic *FxBridgeLogicFilterer) WatchOracleSetUpdatedEvent(opts *bind.WatchOpts, sink chan<- *FxBridgeLogicOracleSetUpdatedEvent, _newOracleSetNonce []*big.Int) (event.Subscription, error)

WatchOracleSetUpdatedEvent is a free log subscription operation binding the contract event 0x36c6022aad02313069de85ca9645431c7dd5e8e7a21685586461c4b25e2374b3.

Solidity: event OracleSetUpdatedEvent(uint256 indexed _newOracleSetNonce, uint256 _eventNonce, address[] _oracles, uint256[] _powers)

func (*FxBridgeLogicFilterer) WatchOwnershipTransferred

func (_FxBridgeLogic *FxBridgeLogicFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *FxBridgeLogicOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*FxBridgeLogicFilterer) WatchPaused

func (_FxBridgeLogic *FxBridgeLogicFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *FxBridgeLogicPaused) (event.Subscription, error)

WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*FxBridgeLogicFilterer) WatchSendToFxEvent

func (_FxBridgeLogic *FxBridgeLogicFilterer) WatchSendToFxEvent(opts *bind.WatchOpts, sink chan<- *FxBridgeLogicSendToFxEvent, _tokenContract []common.Address, _sender []common.Address, _destination [][32]byte) (event.Subscription, error)

WatchSendToFxEvent is a free log subscription operation binding the contract event 0x034c5b22dd525a50d0a6b15549df0a6ac83b833a6c3da57ea16890832c72507c.

Solidity: event SendToFxEvent(address indexed _tokenContract, address indexed _sender, bytes32 indexed _destination, bytes32 _targetIBC, uint256 _amount, uint256 _eventNonce)

func (*FxBridgeLogicFilterer) WatchTransactionBatchExecutedEvent

func (_FxBridgeLogic *FxBridgeLogicFilterer) WatchTransactionBatchExecutedEvent(opts *bind.WatchOpts, sink chan<- *FxBridgeLogicTransactionBatchExecutedEvent, _batchNonce []*big.Int, _token []common.Address) (event.Subscription, error)

WatchTransactionBatchExecutedEvent is a free log subscription operation binding the contract event 0x02c7e81975f8edb86e2a0c038b7b86a49c744236abf0f6177ff5afc6986ab708.

Solidity: event TransactionBatchExecutedEvent(uint256 indexed _batchNonce, address indexed _token, uint256 _eventNonce)

func (*FxBridgeLogicFilterer) WatchTransferOwnerEvent

func (_FxBridgeLogic *FxBridgeLogicFilterer) WatchTransferOwnerEvent(opts *bind.WatchOpts, sink chan<- *FxBridgeLogicTransferOwnerEvent) (event.Subscription, error)

WatchTransferOwnerEvent is a free log subscription operation binding the contract event 0xb0f1bf050fff9d249d22389b0f2673295260c8deca341a2755d95318f9fbc699.

Solidity: event TransferOwnerEvent(address _token, address _newOwner)

func (*FxBridgeLogicFilterer) WatchUnpaused

func (_FxBridgeLogic *FxBridgeLogicFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *FxBridgeLogicUnpaused) (event.Subscription, error)

WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

type FxBridgeLogicInitialized

type FxBridgeLogicInitialized struct {
	Version uint8
	Raw     types.Log // Blockchain specific contextual infos
}

FxBridgeLogicInitialized represents a Initialized event raised by the FxBridgeLogic contract.

type FxBridgeLogicInitializedIterator

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

FxBridgeLogicInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the FxBridgeLogic contract.

func (*FxBridgeLogicInitializedIterator) Close

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

func (*FxBridgeLogicInitializedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FxBridgeLogicInitializedIterator) 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 FxBridgeLogicOracleSetUpdatedEvent

type FxBridgeLogicOracleSetUpdatedEvent struct {
	NewOracleSetNonce *big.Int
	EventNonce        *big.Int
	Oracles           []common.Address
	Powers            []*big.Int
	Raw               types.Log // Blockchain specific contextual infos
}

FxBridgeLogicOracleSetUpdatedEvent represents a OracleSetUpdatedEvent event raised by the FxBridgeLogic contract.

type FxBridgeLogicOracleSetUpdatedEventIterator

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

FxBridgeLogicOracleSetUpdatedEventIterator is returned from FilterOracleSetUpdatedEvent and is used to iterate over the raw logs and unpacked data for OracleSetUpdatedEvent events raised by the FxBridgeLogic contract.

func (*FxBridgeLogicOracleSetUpdatedEventIterator) Close

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

func (*FxBridgeLogicOracleSetUpdatedEventIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FxBridgeLogicOracleSetUpdatedEventIterator) 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 FxBridgeLogicOwnershipTransferred

type FxBridgeLogicOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

FxBridgeLogicOwnershipTransferred represents a OwnershipTransferred event raised by the FxBridgeLogic contract.

type FxBridgeLogicOwnershipTransferredIterator

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

FxBridgeLogicOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the FxBridgeLogic contract.

func (*FxBridgeLogicOwnershipTransferredIterator) Close

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

func (*FxBridgeLogicOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FxBridgeLogicOwnershipTransferredIterator) 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 FxBridgeLogicPaused

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

FxBridgeLogicPaused represents a Paused event raised by the FxBridgeLogic contract.

type FxBridgeLogicPausedIterator

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

FxBridgeLogicPausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the FxBridgeLogic contract.

func (*FxBridgeLogicPausedIterator) Close

func (it *FxBridgeLogicPausedIterator) Close() error

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

func (*FxBridgeLogicPausedIterator) Error

func (it *FxBridgeLogicPausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*FxBridgeLogicPausedIterator) Next

func (it *FxBridgeLogicPausedIterator) 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 FxBridgeLogicRaw

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

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

func (*FxBridgeLogicRaw) Call

func (_FxBridgeLogic *FxBridgeLogicRaw) 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 (*FxBridgeLogicRaw) Transact

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

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

func (*FxBridgeLogicRaw) Transfer

func (_FxBridgeLogic *FxBridgeLogicRaw) 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 FxBridgeLogicSendToFxEvent

type FxBridgeLogicSendToFxEvent struct {
	TokenContract common.Address
	Sender        common.Address
	Destination   [32]byte
	TargetIBC     [32]byte
	Amount        *big.Int
	EventNonce    *big.Int
	Raw           types.Log // Blockchain specific contextual infos
}

FxBridgeLogicSendToFxEvent represents a SendToFxEvent event raised by the FxBridgeLogic contract.

type FxBridgeLogicSendToFxEventIterator

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

FxBridgeLogicSendToFxEventIterator is returned from FilterSendToFxEvent and is used to iterate over the raw logs and unpacked data for SendToFxEvent events raised by the FxBridgeLogic contract.

func (*FxBridgeLogicSendToFxEventIterator) Close

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

func (*FxBridgeLogicSendToFxEventIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FxBridgeLogicSendToFxEventIterator) 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 FxBridgeLogicSession

type FxBridgeLogicSession struct {
	Contract     *FxBridgeLogic    // 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
}

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

func (*FxBridgeLogicSession) ActiveBridgeToken

func (_FxBridgeLogic *FxBridgeLogicSession) ActiveBridgeToken(_tokenAddr common.Address) (*types.Transaction, error)

ActiveBridgeToken is a paid mutator transaction binding the contract method 0xdde65aea.

Solidity: function activeBridgeToken(address _tokenAddr) returns(bool)

func (*FxBridgeLogicSession) AddBridgeToken

func (_FxBridgeLogic *FxBridgeLogicSession) AddBridgeToken(_tokenAddr common.Address, _channelIBC [32]byte, _isOriginated bool) (*types.Transaction, error)

AddBridgeToken is a paid mutator transaction binding the contract method 0xf1099f61.

Solidity: function addBridgeToken(address _tokenAddr, bytes32 _channelIBC, bool _isOriginated) returns(bool)

func (*FxBridgeLogicSession) BridgeTokens

func (_FxBridgeLogic *FxBridgeLogicSession) BridgeTokens(arg0 *big.Int) (common.Address, error)

BridgeTokens is a free data retrieval call binding the contract method 0x70e5a898.

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

func (*FxBridgeLogicSession) CheckAssetStatus

func (_FxBridgeLogic *FxBridgeLogicSession) CheckAssetStatus(_tokenAddr common.Address) (bool, error)

CheckAssetStatus is a free data retrieval call binding the contract method 0x474d561c.

Solidity: function checkAssetStatus(address _tokenAddr) view returns(bool)

func (*FxBridgeLogicSession) CheckOracleSignatures

func (_FxBridgeLogic *FxBridgeLogicSession) CheckOracleSignatures(_currentOracles []common.Address, _currentPowers []*big.Int, _v []uint8, _r [][32]byte, _s [][32]byte, _theHash [32]byte, _powerThreshold *big.Int) error

CheckOracleSignatures is a free data retrieval call binding the contract method 0x285a190a.

Solidity: function checkOracleSignatures(address[] _currentOracles, uint256[] _currentPowers, uint8[] _v, bytes32[] _r, bytes32[] _s, bytes32 _theHash, uint256 _powerThreshold) pure returns()

func (*FxBridgeLogicSession) GetBridgeTokenList

func (_FxBridgeLogic *FxBridgeLogicSession) GetBridgeTokenList() ([]FxBridgeLogicBridgeToken, error)

GetBridgeTokenList is a free data retrieval call binding the contract method 0x283040b4.

Solidity: function getBridgeTokenList() view returns((address,string,string,uint8)[])

func (*FxBridgeLogicSession) Init

func (_FxBridgeLogic *FxBridgeLogicSession) Init(_fxBridgeId [32]byte, _powerThreshold *big.Int, _oracles []common.Address, _powers []*big.Int) (*types.Transaction, error)

Init is a paid mutator transaction binding the contract method 0xaa63a894.

Solidity: function init(bytes32 _fxBridgeId, uint256 _powerThreshold, address[] _oracles, uint256[] _powers) returns()

func (*FxBridgeLogicSession) LastBatchNonce

func (_FxBridgeLogic *FxBridgeLogicSession) LastBatchNonce(_erc20Address common.Address) (*big.Int, error)

LastBatchNonce is a free data retrieval call binding the contract method 0x011b2174.

Solidity: function lastBatchNonce(address _erc20Address) view returns(uint256)

func (*FxBridgeLogicSession) MakeCheckpoint

func (_FxBridgeLogic *FxBridgeLogicSession) MakeCheckpoint(_oracles []common.Address, _powers []*big.Int, _oracleSetNonce *big.Int, _fxBridgeId [32]byte) ([32]byte, error)

MakeCheckpoint is a free data retrieval call binding the contract method 0x71cbf381.

Solidity: function makeCheckpoint(address[] _oracles, uint256[] _powers, uint256 _oracleSetNonce, bytes32 _fxBridgeId) pure returns(bytes32)

func (*FxBridgeLogicSession) Owner

func (_FxBridgeLogic *FxBridgeLogicSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*FxBridgeLogicSession) Pause

func (_FxBridgeLogic *FxBridgeLogicSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*FxBridgeLogicSession) PauseBridgeToken

func (_FxBridgeLogic *FxBridgeLogicSession) PauseBridgeToken(_tokenAddr common.Address) (*types.Transaction, error)

PauseBridgeToken is a paid mutator transaction binding the contract method 0xa36a4ab0.

Solidity: function pauseBridgeToken(address _tokenAddr) returns(bool)

func (*FxBridgeLogicSession) Paused

func (_FxBridgeLogic *FxBridgeLogicSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*FxBridgeLogicSession) RenounceOwnership

func (_FxBridgeLogic *FxBridgeLogicSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*FxBridgeLogicSession) SendToFx

func (_FxBridgeLogic *FxBridgeLogicSession) SendToFx(_tokenContract common.Address, _destination [32]byte, _targetIBC [32]byte, _amount *big.Int) (*types.Transaction, error)

SendToFx is a paid mutator transaction binding the contract method 0x6189d107.

Solidity: function sendToFx(address _tokenContract, bytes32 _destination, bytes32 _targetIBC, uint256 _amount) returns()

func (*FxBridgeLogicSession) StateFxBridgeId

func (_FxBridgeLogic *FxBridgeLogicSession) StateFxBridgeId() ([32]byte, error)

StateFxBridgeId is a free data retrieval call binding the contract method 0xf92367fd.

Solidity: function state_fxBridgeId() view returns(bytes32)

func (*FxBridgeLogicSession) StateLastBatchNonces

func (_FxBridgeLogic *FxBridgeLogicSession) StateLastBatchNonces(arg0 common.Address) (*big.Int, error)

StateLastBatchNonces is a free data retrieval call binding the contract method 0xdf97174b.

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

func (*FxBridgeLogicSession) StateLastEventNonce

func (_FxBridgeLogic *FxBridgeLogicSession) StateLastEventNonce() (*big.Int, error)

StateLastEventNonce is a free data retrieval call binding the contract method 0x73b20547.

Solidity: function state_lastEventNonce() view returns(uint256)

func (*FxBridgeLogicSession) StateLastOracleSetCheckpoint

func (_FxBridgeLogic *FxBridgeLogicSession) StateLastOracleSetCheckpoint() ([32]byte, error)

StateLastOracleSetCheckpoint is a free data retrieval call binding the contract method 0x70a0eb94.

Solidity: function state_lastOracleSetCheckpoint() view returns(bytes32)

func (*FxBridgeLogicSession) StateLastOracleSetNonce

func (_FxBridgeLogic *FxBridgeLogicSession) StateLastOracleSetNonce() (*big.Int, error)

StateLastOracleSetNonce is a free data retrieval call binding the contract method 0xbb83bf96.

Solidity: function state_lastOracleSetNonce() view returns(uint256)

func (*FxBridgeLogicSession) StatePowerThreshold

func (_FxBridgeLogic *FxBridgeLogicSession) StatePowerThreshold() (*big.Int, error)

StatePowerThreshold is a free data retrieval call binding the contract method 0xe5a2b5d2.

Solidity: function state_powerThreshold() view returns(uint256)

func (*FxBridgeLogicSession) SubmitBatch

func (_FxBridgeLogic *FxBridgeLogicSession) SubmitBatch(_currentOracles []common.Address, _currentPowers []*big.Int, _v []uint8, _r [][32]byte, _s [][32]byte, _amounts []*big.Int, _destinations []common.Address, _fees []*big.Int, _nonceArray [2]*big.Int, _tokenContract common.Address, _batchTimeout *big.Int, _feeReceive common.Address) (*types.Transaction, error)

SubmitBatch is a paid mutator transaction binding the contract method 0x332caa1f.

Solidity: function submitBatch(address[] _currentOracles, uint256[] _currentPowers, uint8[] _v, bytes32[] _r, bytes32[] _s, uint256[] _amounts, address[] _destinations, uint256[] _fees, uint256[2] _nonceArray, address _tokenContract, uint256 _batchTimeout, address _feeReceive) returns()

func (*FxBridgeLogicSession) TokenStatus

func (_FxBridgeLogic *FxBridgeLogicSession) TokenStatus(arg0 common.Address) (struct {
	IsOriginated bool
	IsActive     bool
	IsExist      bool
}, error)

TokenStatus is a free data retrieval call binding the contract method 0x0acac942.

Solidity: function tokenStatus(address ) view returns(bool isOriginated, bool isActive, bool isExist)

func (*FxBridgeLogicSession) TransferOwner

func (_FxBridgeLogic *FxBridgeLogicSession) TransferOwner(_token common.Address, _newOwner common.Address) (*types.Transaction, error)

TransferOwner is a paid mutator transaction binding the contract method 0x31678cf6.

Solidity: function transferOwner(address _token, address _newOwner) returns(bool)

func (*FxBridgeLogicSession) TransferOwnership

func (_FxBridgeLogic *FxBridgeLogicSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*FxBridgeLogicSession) Unpause

func (_FxBridgeLogic *FxBridgeLogicSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*FxBridgeLogicSession) UpdateOracleSet

func (_FxBridgeLogic *FxBridgeLogicSession) UpdateOracleSet(_newOracles []common.Address, _newPowers []*big.Int, _newOracleSetNonce *big.Int, _currentOracles []common.Address, _currentPowers []*big.Int, _currentOracleSetNonce *big.Int, _v []uint8, _r [][32]byte, _s [][32]byte) (*types.Transaction, error)

UpdateOracleSet is a paid mutator transaction binding the contract method 0x3a08e299.

Solidity: function updateOracleSet(address[] _newOracles, uint256[] _newPowers, uint256 _newOracleSetNonce, address[] _currentOracles, uint256[] _currentPowers, uint256 _currentOracleSetNonce, uint8[] _v, bytes32[] _r, bytes32[] _s) returns()

func (*FxBridgeLogicSession) Version

func (_FxBridgeLogic *FxBridgeLogicSession) Version() (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string)

type FxBridgeLogicTransactionBatchExecutedEvent

type FxBridgeLogicTransactionBatchExecutedEvent struct {
	BatchNonce *big.Int
	Token      common.Address
	EventNonce *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

FxBridgeLogicTransactionBatchExecutedEvent represents a TransactionBatchExecutedEvent event raised by the FxBridgeLogic contract.

type FxBridgeLogicTransactionBatchExecutedEventIterator

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

FxBridgeLogicTransactionBatchExecutedEventIterator is returned from FilterTransactionBatchExecutedEvent and is used to iterate over the raw logs and unpacked data for TransactionBatchExecutedEvent events raised by the FxBridgeLogic contract.

func (*FxBridgeLogicTransactionBatchExecutedEventIterator) Close

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

func (*FxBridgeLogicTransactionBatchExecutedEventIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FxBridgeLogicTransactionBatchExecutedEventIterator) 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 FxBridgeLogicTransactor

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

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

func NewFxBridgeLogicTransactor

func NewFxBridgeLogicTransactor(address common.Address, transactor bind.ContractTransactor) (*FxBridgeLogicTransactor, error)

NewFxBridgeLogicTransactor creates a new write-only instance of FxBridgeLogic, bound to a specific deployed contract.

func (*FxBridgeLogicTransactor) ActiveBridgeToken

func (_FxBridgeLogic *FxBridgeLogicTransactor) ActiveBridgeToken(opts *bind.TransactOpts, _tokenAddr common.Address) (*types.Transaction, error)

ActiveBridgeToken is a paid mutator transaction binding the contract method 0xdde65aea.

Solidity: function activeBridgeToken(address _tokenAddr) returns(bool)

func (*FxBridgeLogicTransactor) AddBridgeToken

func (_FxBridgeLogic *FxBridgeLogicTransactor) AddBridgeToken(opts *bind.TransactOpts, _tokenAddr common.Address, _channelIBC [32]byte, _isOriginated bool) (*types.Transaction, error)

AddBridgeToken is a paid mutator transaction binding the contract method 0xf1099f61.

Solidity: function addBridgeToken(address _tokenAddr, bytes32 _channelIBC, bool _isOriginated) returns(bool)

func (*FxBridgeLogicTransactor) Init

func (_FxBridgeLogic *FxBridgeLogicTransactor) Init(opts *bind.TransactOpts, _fxBridgeId [32]byte, _powerThreshold *big.Int, _oracles []common.Address, _powers []*big.Int) (*types.Transaction, error)

Init is a paid mutator transaction binding the contract method 0xaa63a894.

Solidity: function init(bytes32 _fxBridgeId, uint256 _powerThreshold, address[] _oracles, uint256[] _powers) returns()

func (*FxBridgeLogicTransactor) Pause

func (_FxBridgeLogic *FxBridgeLogicTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*FxBridgeLogicTransactor) PauseBridgeToken

func (_FxBridgeLogic *FxBridgeLogicTransactor) PauseBridgeToken(opts *bind.TransactOpts, _tokenAddr common.Address) (*types.Transaction, error)

PauseBridgeToken is a paid mutator transaction binding the contract method 0xa36a4ab0.

Solidity: function pauseBridgeToken(address _tokenAddr) returns(bool)

func (*FxBridgeLogicTransactor) RenounceOwnership

func (_FxBridgeLogic *FxBridgeLogicTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*FxBridgeLogicTransactor) SendToFx

func (_FxBridgeLogic *FxBridgeLogicTransactor) SendToFx(opts *bind.TransactOpts, _tokenContract common.Address, _destination [32]byte, _targetIBC [32]byte, _amount *big.Int) (*types.Transaction, error)

SendToFx is a paid mutator transaction binding the contract method 0x6189d107.

Solidity: function sendToFx(address _tokenContract, bytes32 _destination, bytes32 _targetIBC, uint256 _amount) returns()

func (*FxBridgeLogicTransactor) SubmitBatch

func (_FxBridgeLogic *FxBridgeLogicTransactor) SubmitBatch(opts *bind.TransactOpts, _currentOracles []common.Address, _currentPowers []*big.Int, _v []uint8, _r [][32]byte, _s [][32]byte, _amounts []*big.Int, _destinations []common.Address, _fees []*big.Int, _nonceArray [2]*big.Int, _tokenContract common.Address, _batchTimeout *big.Int, _feeReceive common.Address) (*types.Transaction, error)

SubmitBatch is a paid mutator transaction binding the contract method 0x332caa1f.

Solidity: function submitBatch(address[] _currentOracles, uint256[] _currentPowers, uint8[] _v, bytes32[] _r, bytes32[] _s, uint256[] _amounts, address[] _destinations, uint256[] _fees, uint256[2] _nonceArray, address _tokenContract, uint256 _batchTimeout, address _feeReceive) returns()

func (*FxBridgeLogicTransactor) TransferOwner

func (_FxBridgeLogic *FxBridgeLogicTransactor) TransferOwner(opts *bind.TransactOpts, _token common.Address, _newOwner common.Address) (*types.Transaction, error)

TransferOwner is a paid mutator transaction binding the contract method 0x31678cf6.

Solidity: function transferOwner(address _token, address _newOwner) returns(bool)

func (*FxBridgeLogicTransactor) TransferOwnership

func (_FxBridgeLogic *FxBridgeLogicTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*FxBridgeLogicTransactor) Unpause

func (_FxBridgeLogic *FxBridgeLogicTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*FxBridgeLogicTransactor) UpdateOracleSet

func (_FxBridgeLogic *FxBridgeLogicTransactor) UpdateOracleSet(opts *bind.TransactOpts, _newOracles []common.Address, _newPowers []*big.Int, _newOracleSetNonce *big.Int, _currentOracles []common.Address, _currentPowers []*big.Int, _currentOracleSetNonce *big.Int, _v []uint8, _r [][32]byte, _s [][32]byte) (*types.Transaction, error)

UpdateOracleSet is a paid mutator transaction binding the contract method 0x3a08e299.

Solidity: function updateOracleSet(address[] _newOracles, uint256[] _newPowers, uint256 _newOracleSetNonce, address[] _currentOracles, uint256[] _currentPowers, uint256 _currentOracleSetNonce, uint8[] _v, bytes32[] _r, bytes32[] _s) returns()

type FxBridgeLogicTransactorRaw

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

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

func (*FxBridgeLogicTransactorRaw) Transact

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

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

func (*FxBridgeLogicTransactorRaw) Transfer

func (_FxBridgeLogic *FxBridgeLogicTransactorRaw) 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 FxBridgeLogicTransactorSession

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

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

func (*FxBridgeLogicTransactorSession) ActiveBridgeToken

func (_FxBridgeLogic *FxBridgeLogicTransactorSession) ActiveBridgeToken(_tokenAddr common.Address) (*types.Transaction, error)

ActiveBridgeToken is a paid mutator transaction binding the contract method 0xdde65aea.

Solidity: function activeBridgeToken(address _tokenAddr) returns(bool)

func (*FxBridgeLogicTransactorSession) AddBridgeToken

func (_FxBridgeLogic *FxBridgeLogicTransactorSession) AddBridgeToken(_tokenAddr common.Address, _channelIBC [32]byte, _isOriginated bool) (*types.Transaction, error)

AddBridgeToken is a paid mutator transaction binding the contract method 0xf1099f61.

Solidity: function addBridgeToken(address _tokenAddr, bytes32 _channelIBC, bool _isOriginated) returns(bool)

func (*FxBridgeLogicTransactorSession) Init

func (_FxBridgeLogic *FxBridgeLogicTransactorSession) Init(_fxBridgeId [32]byte, _powerThreshold *big.Int, _oracles []common.Address, _powers []*big.Int) (*types.Transaction, error)

Init is a paid mutator transaction binding the contract method 0xaa63a894.

Solidity: function init(bytes32 _fxBridgeId, uint256 _powerThreshold, address[] _oracles, uint256[] _powers) returns()

func (*FxBridgeLogicTransactorSession) Pause

func (_FxBridgeLogic *FxBridgeLogicTransactorSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*FxBridgeLogicTransactorSession) PauseBridgeToken

func (_FxBridgeLogic *FxBridgeLogicTransactorSession) PauseBridgeToken(_tokenAddr common.Address) (*types.Transaction, error)

PauseBridgeToken is a paid mutator transaction binding the contract method 0xa36a4ab0.

Solidity: function pauseBridgeToken(address _tokenAddr) returns(bool)

func (*FxBridgeLogicTransactorSession) RenounceOwnership

func (_FxBridgeLogic *FxBridgeLogicTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*FxBridgeLogicTransactorSession) SendToFx

func (_FxBridgeLogic *FxBridgeLogicTransactorSession) SendToFx(_tokenContract common.Address, _destination [32]byte, _targetIBC [32]byte, _amount *big.Int) (*types.Transaction, error)

SendToFx is a paid mutator transaction binding the contract method 0x6189d107.

Solidity: function sendToFx(address _tokenContract, bytes32 _destination, bytes32 _targetIBC, uint256 _amount) returns()

func (*FxBridgeLogicTransactorSession) SubmitBatch

func (_FxBridgeLogic *FxBridgeLogicTransactorSession) SubmitBatch(_currentOracles []common.Address, _currentPowers []*big.Int, _v []uint8, _r [][32]byte, _s [][32]byte, _amounts []*big.Int, _destinations []common.Address, _fees []*big.Int, _nonceArray [2]*big.Int, _tokenContract common.Address, _batchTimeout *big.Int, _feeReceive common.Address) (*types.Transaction, error)

SubmitBatch is a paid mutator transaction binding the contract method 0x332caa1f.

Solidity: function submitBatch(address[] _currentOracles, uint256[] _currentPowers, uint8[] _v, bytes32[] _r, bytes32[] _s, uint256[] _amounts, address[] _destinations, uint256[] _fees, uint256[2] _nonceArray, address _tokenContract, uint256 _batchTimeout, address _feeReceive) returns()

func (*FxBridgeLogicTransactorSession) TransferOwner

func (_FxBridgeLogic *FxBridgeLogicTransactorSession) TransferOwner(_token common.Address, _newOwner common.Address) (*types.Transaction, error)

TransferOwner is a paid mutator transaction binding the contract method 0x31678cf6.

Solidity: function transferOwner(address _token, address _newOwner) returns(bool)

func (*FxBridgeLogicTransactorSession) TransferOwnership

func (_FxBridgeLogic *FxBridgeLogicTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*FxBridgeLogicTransactorSession) Unpause

func (_FxBridgeLogic *FxBridgeLogicTransactorSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*FxBridgeLogicTransactorSession) UpdateOracleSet

func (_FxBridgeLogic *FxBridgeLogicTransactorSession) UpdateOracleSet(_newOracles []common.Address, _newPowers []*big.Int, _newOracleSetNonce *big.Int, _currentOracles []common.Address, _currentPowers []*big.Int, _currentOracleSetNonce *big.Int, _v []uint8, _r [][32]byte, _s [][32]byte) (*types.Transaction, error)

UpdateOracleSet is a paid mutator transaction binding the contract method 0x3a08e299.

Solidity: function updateOracleSet(address[] _newOracles, uint256[] _newPowers, uint256 _newOracleSetNonce, address[] _currentOracles, uint256[] _currentPowers, uint256 _currentOracleSetNonce, uint8[] _v, bytes32[] _r, bytes32[] _s) returns()

type FxBridgeLogicTransferOwnerEvent

type FxBridgeLogicTransferOwnerEvent struct {
	Token    common.Address
	NewOwner common.Address
	Raw      types.Log // Blockchain specific contextual infos
}

FxBridgeLogicTransferOwnerEvent represents a TransferOwnerEvent event raised by the FxBridgeLogic contract.

type FxBridgeLogicTransferOwnerEventIterator

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

FxBridgeLogicTransferOwnerEventIterator is returned from FilterTransferOwnerEvent and is used to iterate over the raw logs and unpacked data for TransferOwnerEvent events raised by the FxBridgeLogic contract.

func (*FxBridgeLogicTransferOwnerEventIterator) Close

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

func (*FxBridgeLogicTransferOwnerEventIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FxBridgeLogicTransferOwnerEventIterator) 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 FxBridgeLogicUnpaused

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

FxBridgeLogicUnpaused represents a Unpaused event raised by the FxBridgeLogic contract.

type FxBridgeLogicUnpausedIterator

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

FxBridgeLogicUnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the FxBridgeLogic contract.

func (*FxBridgeLogicUnpausedIterator) Close

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

func (*FxBridgeLogicUnpausedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*FxBridgeLogicUnpausedIterator) 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 ICrossChain

type ICrossChain struct {
	ICrossChainCaller     // Read-only binding to the contract
	ICrossChainTransactor // Write-only binding to the contract
	ICrossChainFilterer   // Log filterer for contract events
}

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

func NewICrossChain

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

NewICrossChain creates a new instance of ICrossChain, bound to a specific deployed contract.

type ICrossChainCaller

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

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

func NewICrossChainCaller

func NewICrossChainCaller(address common.Address, caller bind.ContractCaller) (*ICrossChainCaller, error)

NewICrossChainCaller creates a new read-only instance of ICrossChain, bound to a specific deployed contract.

func (*ICrossChainCaller) BridgeCoinAmount

func (_ICrossChain *ICrossChainCaller) BridgeCoinAmount(opts *bind.CallOpts, _token common.Address, _target [32]byte) (*big.Int, error)

BridgeCoinAmount is a free data retrieval call binding the contract method 0x8fefb765.

Solidity: function bridgeCoinAmount(address _token, bytes32 _target) view returns(uint256 _amount)

type ICrossChainCallerRaw

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

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

func (*ICrossChainCallerRaw) Call

func (_ICrossChain *ICrossChainCallerRaw) 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 ICrossChainCallerSession

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

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

func (*ICrossChainCallerSession) BridgeCoinAmount

func (_ICrossChain *ICrossChainCallerSession) BridgeCoinAmount(_token common.Address, _target [32]byte) (*big.Int, error)

BridgeCoinAmount is a free data retrieval call binding the contract method 0x8fefb765.

Solidity: function bridgeCoinAmount(address _token, bytes32 _target) view returns(uint256 _amount)

type ICrossChainCancelSendToExternal

type ICrossChainCancelSendToExternal struct {
	Sender common.Address
	Chain  string
	TxID   *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

ICrossChainCancelSendToExternal represents a CancelSendToExternal event raised by the ICrossChain contract.

type ICrossChainCancelSendToExternalIterator

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

ICrossChainCancelSendToExternalIterator is returned from FilterCancelSendToExternal and is used to iterate over the raw logs and unpacked data for CancelSendToExternal events raised by the ICrossChain contract.

func (*ICrossChainCancelSendToExternalIterator) Close

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

func (*ICrossChainCancelSendToExternalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ICrossChainCancelSendToExternalIterator) 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 ICrossChainCrossChain

type ICrossChainCrossChain struct {
	Sender  common.Address
	Token   common.Address
	Denom   string
	Receipt string
	Amount  *big.Int
	Fee     *big.Int
	Target  [32]byte
	Memo    string
	Raw     types.Log // Blockchain specific contextual infos
}

ICrossChainCrossChain represents a CrossChain event raised by the ICrossChain contract.

type ICrossChainCrossChainIterator

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

ICrossChainCrossChainIterator is returned from FilterCrossChain and is used to iterate over the raw logs and unpacked data for CrossChain events raised by the ICrossChain contract.

func (*ICrossChainCrossChainIterator) Close

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

func (*ICrossChainCrossChainIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ICrossChainCrossChainIterator) 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 ICrossChainFilterer

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

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

func NewICrossChainFilterer

func NewICrossChainFilterer(address common.Address, filterer bind.ContractFilterer) (*ICrossChainFilterer, error)

NewICrossChainFilterer creates a new log filterer instance of ICrossChain, bound to a specific deployed contract.

func (*ICrossChainFilterer) FilterCancelSendToExternal

func (_ICrossChain *ICrossChainFilterer) FilterCancelSendToExternal(opts *bind.FilterOpts, sender []common.Address) (*ICrossChainCancelSendToExternalIterator, error)

FilterCancelSendToExternal is a free log retrieval operation binding the contract event 0xe2ae965fb5b8e4c7da962424292951c18e0e9c1905b87c78cf0186fa70382535.

Solidity: event CancelSendToExternal(address indexed sender, string chain, uint256 txID)

func (*ICrossChainFilterer) FilterCrossChain

func (_ICrossChain *ICrossChainFilterer) FilterCrossChain(opts *bind.FilterOpts, sender []common.Address, token []common.Address) (*ICrossChainCrossChainIterator, error)

FilterCrossChain is a free log retrieval operation binding the contract event 0xb783df819ac99ca709650d67d9237a00b553c6ef941dceabeed6f4bc990d31ba.

Solidity: event CrossChain(address indexed sender, address indexed token, string denom, string receipt, uint256 amount, uint256 fee, bytes32 target, string memo)

func (*ICrossChainFilterer) FilterIncreaseBridgeFee

func (_ICrossChain *ICrossChainFilterer) FilterIncreaseBridgeFee(opts *bind.FilterOpts, sender []common.Address, token []common.Address) (*ICrossChainIncreaseBridgeFeeIterator, error)

FilterIncreaseBridgeFee is a free log retrieval operation binding the contract event 0x4b4d0e64eb77c0f61892107908295f09b3e381c50c655f4a73a4ad61c07350a0.

Solidity: event IncreaseBridgeFee(address indexed sender, address indexed token, string chain, uint256 txID, uint256 fee)

func (*ICrossChainFilterer) ParseCancelSendToExternal

func (_ICrossChain *ICrossChainFilterer) ParseCancelSendToExternal(log types.Log) (*ICrossChainCancelSendToExternal, error)

ParseCancelSendToExternal is a log parse operation binding the contract event 0xe2ae965fb5b8e4c7da962424292951c18e0e9c1905b87c78cf0186fa70382535.

Solidity: event CancelSendToExternal(address indexed sender, string chain, uint256 txID)

func (*ICrossChainFilterer) ParseCrossChain

func (_ICrossChain *ICrossChainFilterer) ParseCrossChain(log types.Log) (*ICrossChainCrossChain, error)

ParseCrossChain is a log parse operation binding the contract event 0xb783df819ac99ca709650d67d9237a00b553c6ef941dceabeed6f4bc990d31ba.

Solidity: event CrossChain(address indexed sender, address indexed token, string denom, string receipt, uint256 amount, uint256 fee, bytes32 target, string memo)

func (*ICrossChainFilterer) ParseIncreaseBridgeFee

func (_ICrossChain *ICrossChainFilterer) ParseIncreaseBridgeFee(log types.Log) (*ICrossChainIncreaseBridgeFee, error)

ParseIncreaseBridgeFee is a log parse operation binding the contract event 0x4b4d0e64eb77c0f61892107908295f09b3e381c50c655f4a73a4ad61c07350a0.

Solidity: event IncreaseBridgeFee(address indexed sender, address indexed token, string chain, uint256 txID, uint256 fee)

func (*ICrossChainFilterer) WatchCancelSendToExternal

func (_ICrossChain *ICrossChainFilterer) WatchCancelSendToExternal(opts *bind.WatchOpts, sink chan<- *ICrossChainCancelSendToExternal, sender []common.Address) (event.Subscription, error)

WatchCancelSendToExternal is a free log subscription operation binding the contract event 0xe2ae965fb5b8e4c7da962424292951c18e0e9c1905b87c78cf0186fa70382535.

Solidity: event CancelSendToExternal(address indexed sender, string chain, uint256 txID)

func (*ICrossChainFilterer) WatchCrossChain

func (_ICrossChain *ICrossChainFilterer) WatchCrossChain(opts *bind.WatchOpts, sink chan<- *ICrossChainCrossChain, sender []common.Address, token []common.Address) (event.Subscription, error)

WatchCrossChain is a free log subscription operation binding the contract event 0xb783df819ac99ca709650d67d9237a00b553c6ef941dceabeed6f4bc990d31ba.

Solidity: event CrossChain(address indexed sender, address indexed token, string denom, string receipt, uint256 amount, uint256 fee, bytes32 target, string memo)

func (*ICrossChainFilterer) WatchIncreaseBridgeFee

func (_ICrossChain *ICrossChainFilterer) WatchIncreaseBridgeFee(opts *bind.WatchOpts, sink chan<- *ICrossChainIncreaseBridgeFee, sender []common.Address, token []common.Address) (event.Subscription, error)

WatchIncreaseBridgeFee is a free log subscription operation binding the contract event 0x4b4d0e64eb77c0f61892107908295f09b3e381c50c655f4a73a4ad61c07350a0.

Solidity: event IncreaseBridgeFee(address indexed sender, address indexed token, string chain, uint256 txID, uint256 fee)

type ICrossChainIncreaseBridgeFee

type ICrossChainIncreaseBridgeFee struct {
	Sender common.Address
	Token  common.Address
	Chain  string
	TxID   *big.Int
	Fee    *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

ICrossChainIncreaseBridgeFee represents a IncreaseBridgeFee event raised by the ICrossChain contract.

type ICrossChainIncreaseBridgeFeeIterator

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

ICrossChainIncreaseBridgeFeeIterator is returned from FilterIncreaseBridgeFee and is used to iterate over the raw logs and unpacked data for IncreaseBridgeFee events raised by the ICrossChain contract.

func (*ICrossChainIncreaseBridgeFeeIterator) Close

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

func (*ICrossChainIncreaseBridgeFeeIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ICrossChainIncreaseBridgeFeeIterator) 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 ICrossChainRaw

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

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

func (*ICrossChainRaw) Call

func (_ICrossChain *ICrossChainRaw) 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 (*ICrossChainRaw) Transact

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

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

func (*ICrossChainRaw) Transfer

func (_ICrossChain *ICrossChainRaw) 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 ICrossChainSession

type ICrossChainSession struct {
	Contract     *ICrossChain      // 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
}

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

func (*ICrossChainSession) BridgeCoinAmount

func (_ICrossChain *ICrossChainSession) BridgeCoinAmount(_token common.Address, _target [32]byte) (*big.Int, error)

BridgeCoinAmount is a free data retrieval call binding the contract method 0x8fefb765.

Solidity: function bridgeCoinAmount(address _token, bytes32 _target) view returns(uint256 _amount)

func (*ICrossChainSession) CancelSendToExternal

func (_ICrossChain *ICrossChainSession) CancelSendToExternal(_chain string, _txID *big.Int) (*types.Transaction, error)

CancelSendToExternal is a paid mutator transaction binding the contract method 0x0b56c190.

Solidity: function cancelSendToExternal(string _chain, uint256 _txID) returns(bool _result)

func (*ICrossChainSession) CrossChain

func (_ICrossChain *ICrossChainSession) CrossChain(_token common.Address, _receipt string, _amount *big.Int, _fee *big.Int, _target [32]byte, _memo string) (*types.Transaction, error)

CrossChain is a paid mutator transaction binding the contract method 0x160d7c73.

Solidity: function crossChain(address _token, string _receipt, uint256 _amount, uint256 _fee, bytes32 _target, string _memo) payable returns(bool _result)

func (*ICrossChainSession) Fip20CrossChain

func (_ICrossChain *ICrossChainSession) Fip20CrossChain(_sender common.Address, _receipt string, _amount *big.Int, _fee *big.Int, _target [32]byte, _memo string) (*types.Transaction, error)

Fip20CrossChain is a paid mutator transaction binding the contract method 0x3c3e7d77.

Solidity: function fip20CrossChain(address _sender, string _receipt, uint256 _amount, uint256 _fee, bytes32 _target, string _memo) returns(bool _result)

func (*ICrossChainSession) IncreaseBridgeFee

func (_ICrossChain *ICrossChainSession) IncreaseBridgeFee(_chain string, _txID *big.Int, _token common.Address, _fee *big.Int) (*types.Transaction, error)

IncreaseBridgeFee is a paid mutator transaction binding the contract method 0xc79a6b7b.

Solidity: function increaseBridgeFee(string _chain, uint256 _txID, address _token, uint256 _fee) payable returns(bool _result)

type ICrossChainTransactor

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

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

func NewICrossChainTransactor

func NewICrossChainTransactor(address common.Address, transactor bind.ContractTransactor) (*ICrossChainTransactor, error)

NewICrossChainTransactor creates a new write-only instance of ICrossChain, bound to a specific deployed contract.

func (*ICrossChainTransactor) CancelSendToExternal

func (_ICrossChain *ICrossChainTransactor) CancelSendToExternal(opts *bind.TransactOpts, _chain string, _txID *big.Int) (*types.Transaction, error)

CancelSendToExternal is a paid mutator transaction binding the contract method 0x0b56c190.

Solidity: function cancelSendToExternal(string _chain, uint256 _txID) returns(bool _result)

func (*ICrossChainTransactor) CrossChain

func (_ICrossChain *ICrossChainTransactor) CrossChain(opts *bind.TransactOpts, _token common.Address, _receipt string, _amount *big.Int, _fee *big.Int, _target [32]byte, _memo string) (*types.Transaction, error)

CrossChain is a paid mutator transaction binding the contract method 0x160d7c73.

Solidity: function crossChain(address _token, string _receipt, uint256 _amount, uint256 _fee, bytes32 _target, string _memo) payable returns(bool _result)

func (*ICrossChainTransactor) Fip20CrossChain

func (_ICrossChain *ICrossChainTransactor) Fip20CrossChain(opts *bind.TransactOpts, _sender common.Address, _receipt string, _amount *big.Int, _fee *big.Int, _target [32]byte, _memo string) (*types.Transaction, error)

Fip20CrossChain is a paid mutator transaction binding the contract method 0x3c3e7d77.

Solidity: function fip20CrossChain(address _sender, string _receipt, uint256 _amount, uint256 _fee, bytes32 _target, string _memo) returns(bool _result)

func (*ICrossChainTransactor) IncreaseBridgeFee

func (_ICrossChain *ICrossChainTransactor) IncreaseBridgeFee(opts *bind.TransactOpts, _chain string, _txID *big.Int, _token common.Address, _fee *big.Int) (*types.Transaction, error)

IncreaseBridgeFee is a paid mutator transaction binding the contract method 0xc79a6b7b.

Solidity: function increaseBridgeFee(string _chain, uint256 _txID, address _token, uint256 _fee) payable returns(bool _result)

type ICrossChainTransactorRaw

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

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

func (*ICrossChainTransactorRaw) Transact

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

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

func (*ICrossChainTransactorRaw) Transfer

func (_ICrossChain *ICrossChainTransactorRaw) 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 ICrossChainTransactorSession

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

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

func (*ICrossChainTransactorSession) CancelSendToExternal

func (_ICrossChain *ICrossChainTransactorSession) CancelSendToExternal(_chain string, _txID *big.Int) (*types.Transaction, error)

CancelSendToExternal is a paid mutator transaction binding the contract method 0x0b56c190.

Solidity: function cancelSendToExternal(string _chain, uint256 _txID) returns(bool _result)

func (*ICrossChainTransactorSession) CrossChain

func (_ICrossChain *ICrossChainTransactorSession) CrossChain(_token common.Address, _receipt string, _amount *big.Int, _fee *big.Int, _target [32]byte, _memo string) (*types.Transaction, error)

CrossChain is a paid mutator transaction binding the contract method 0x160d7c73.

Solidity: function crossChain(address _token, string _receipt, uint256 _amount, uint256 _fee, bytes32 _target, string _memo) payable returns(bool _result)

func (*ICrossChainTransactorSession) Fip20CrossChain

func (_ICrossChain *ICrossChainTransactorSession) Fip20CrossChain(_sender common.Address, _receipt string, _amount *big.Int, _fee *big.Int, _target [32]byte, _memo string) (*types.Transaction, error)

Fip20CrossChain is a paid mutator transaction binding the contract method 0x3c3e7d77.

Solidity: function fip20CrossChain(address _sender, string _receipt, uint256 _amount, uint256 _fee, bytes32 _target, string _memo) returns(bool _result)

func (*ICrossChainTransactorSession) IncreaseBridgeFee

func (_ICrossChain *ICrossChainTransactorSession) IncreaseBridgeFee(_chain string, _txID *big.Int, _token common.Address, _fee *big.Int) (*types.Transaction, error)

IncreaseBridgeFee is a paid mutator transaction binding the contract method 0xc79a6b7b.

Solidity: function increaseBridgeFee(string _chain, uint256 _txID, address _token, uint256 _fee) payable returns(bool _result)

type IStaking

type IStaking struct {
	IStakingCaller     // Read-only binding to the contract
	IStakingTransactor // Write-only binding to the contract
	IStakingFilterer   // Log filterer for contract events
}

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

func NewIStaking

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

NewIStaking creates a new instance of IStaking, bound to a specific deployed contract.

type IStakingApproveShares

type IStakingApproveShares struct {
	Owner     common.Address
	Spender   common.Address
	Validator string
	Shares    *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

IStakingApproveShares represents a ApproveShares event raised by the IStaking contract.

type IStakingApproveSharesIterator

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

IStakingApproveSharesIterator is returned from FilterApproveShares and is used to iterate over the raw logs and unpacked data for ApproveShares events raised by the IStaking contract.

func (*IStakingApproveSharesIterator) Close

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

func (*IStakingApproveSharesIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IStakingApproveSharesIterator) 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 IStakingCaller

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

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

func NewIStakingCaller

func NewIStakingCaller(address common.Address, caller bind.ContractCaller) (*IStakingCaller, error)

NewIStakingCaller creates a new read-only instance of IStaking, bound to a specific deployed contract.

func (*IStakingCaller) AllowanceShares

func (_IStaking *IStakingCaller) AllowanceShares(opts *bind.CallOpts, _val string, _owner common.Address, _spender common.Address) (*big.Int, error)

AllowanceShares is a free data retrieval call binding the contract method 0x7b625c0f.

Solidity: function allowanceShares(string _val, address _owner, address _spender) view returns(uint256 _shares)

func (*IStakingCaller) Delegation

func (_IStaking *IStakingCaller) Delegation(opts *bind.CallOpts, _val string, _del common.Address) (struct {
	Shares         *big.Int
	DelegateAmount *big.Int
}, error)

Delegation is a free data retrieval call binding the contract method 0xd5c498eb.

Solidity: function delegation(string _val, address _del) view returns(uint256 _shares, uint256 _delegateAmount)

func (*IStakingCaller) DelegationRewards

func (_IStaking *IStakingCaller) DelegationRewards(opts *bind.CallOpts, _val string, _del common.Address) (*big.Int, error)

DelegationRewards is a free data retrieval call binding the contract method 0x51af513a.

Solidity: function delegationRewards(string _val, address _del) view returns(uint256 _reward)

type IStakingCallerRaw

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

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

func (*IStakingCallerRaw) Call

func (_IStaking *IStakingCallerRaw) 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 IStakingCallerSession

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

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

func (*IStakingCallerSession) AllowanceShares

func (_IStaking *IStakingCallerSession) AllowanceShares(_val string, _owner common.Address, _spender common.Address) (*big.Int, error)

AllowanceShares is a free data retrieval call binding the contract method 0x7b625c0f.

Solidity: function allowanceShares(string _val, address _owner, address _spender) view returns(uint256 _shares)

func (*IStakingCallerSession) Delegation

func (_IStaking *IStakingCallerSession) Delegation(_val string, _del common.Address) (struct {
	Shares         *big.Int
	DelegateAmount *big.Int
}, error)

Delegation is a free data retrieval call binding the contract method 0xd5c498eb.

Solidity: function delegation(string _val, address _del) view returns(uint256 _shares, uint256 _delegateAmount)

func (*IStakingCallerSession) DelegationRewards

func (_IStaking *IStakingCallerSession) DelegationRewards(_val string, _del common.Address) (*big.Int, error)

DelegationRewards is a free data retrieval call binding the contract method 0x51af513a.

Solidity: function delegationRewards(string _val, address _del) view returns(uint256 _reward)

type IStakingDelegate

type IStakingDelegate struct {
	Delegator common.Address
	Validator string
	Amount    *big.Int
	Shares    *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

IStakingDelegate represents a Delegate event raised by the IStaking contract.

type IStakingDelegateIterator

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

IStakingDelegateIterator is returned from FilterDelegate and is used to iterate over the raw logs and unpacked data for Delegate events raised by the IStaking contract.

func (*IStakingDelegateIterator) Close

func (it *IStakingDelegateIterator) Close() error

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

func (*IStakingDelegateIterator) Error

func (it *IStakingDelegateIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IStakingDelegateIterator) Next

func (it *IStakingDelegateIterator) 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 IStakingFilterer

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

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

func NewIStakingFilterer

func NewIStakingFilterer(address common.Address, filterer bind.ContractFilterer) (*IStakingFilterer, error)

NewIStakingFilterer creates a new log filterer instance of IStaking, bound to a specific deployed contract.

func (*IStakingFilterer) FilterApproveShares

func (_IStaking *IStakingFilterer) FilterApproveShares(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*IStakingApproveSharesIterator, error)

FilterApproveShares is a free log retrieval operation binding the contract event 0xbd99ef1c86c593a90a79f794ca07759c5a04cf54bf800cfb77bb0b9fdb9bc04a.

Solidity: event ApproveShares(address indexed owner, address indexed spender, string validator, uint256 shares)

func (*IStakingFilterer) FilterDelegate

func (_IStaking *IStakingFilterer) FilterDelegate(opts *bind.FilterOpts, delegator []common.Address) (*IStakingDelegateIterator, error)

FilterDelegate is a free log retrieval operation binding the contract event 0x5a5adf903ba232ef17ed8be4ef872e1f60d17c5ba26a1ecbf44e388a672b118a.

Solidity: event Delegate(address indexed delegator, string validator, uint256 amount, uint256 shares)

func (*IStakingFilterer) FilterTransferShares

func (_IStaking *IStakingFilterer) FilterTransferShares(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*IStakingTransferSharesIterator, error)

FilterTransferShares is a free log retrieval operation binding the contract event 0x77a2ac7846d05ab9937faf9bf901529bef4b499a2939e632f99b3fab92448344.

Solidity: event TransferShares(address indexed from, address indexed to, string validator, uint256 shares, uint256 token)

func (*IStakingFilterer) FilterUndelegate

func (_IStaking *IStakingFilterer) FilterUndelegate(opts *bind.FilterOpts, sender []common.Address) (*IStakingUndelegateIterator, error)

FilterUndelegate is a free log retrieval operation binding the contract event 0xadff14cd34035a6bbb90fbe80979f36398f244f1885f7612e6e33a05a0b90d0f.

Solidity: event Undelegate(address indexed sender, string validator, uint256 shares, uint256 amount, uint256 completionTime)

func (*IStakingFilterer) FilterWithdraw

func (_IStaking *IStakingFilterer) FilterWithdraw(opts *bind.FilterOpts, sender []common.Address) (*IStakingWithdrawIterator, error)

FilterWithdraw is a free log retrieval operation binding the contract event 0x901c03da5d88eb3d62ab4617e7b7d17d86db16356823a7971127d5181a842fef.

Solidity: event Withdraw(address indexed sender, string validator, uint256 reward)

func (*IStakingFilterer) ParseApproveShares

func (_IStaking *IStakingFilterer) ParseApproveShares(log types.Log) (*IStakingApproveShares, error)

ParseApproveShares is a log parse operation binding the contract event 0xbd99ef1c86c593a90a79f794ca07759c5a04cf54bf800cfb77bb0b9fdb9bc04a.

Solidity: event ApproveShares(address indexed owner, address indexed spender, string validator, uint256 shares)

func (*IStakingFilterer) ParseDelegate

func (_IStaking *IStakingFilterer) ParseDelegate(log types.Log) (*IStakingDelegate, error)

ParseDelegate is a log parse operation binding the contract event 0x5a5adf903ba232ef17ed8be4ef872e1f60d17c5ba26a1ecbf44e388a672b118a.

Solidity: event Delegate(address indexed delegator, string validator, uint256 amount, uint256 shares)

func (*IStakingFilterer) ParseTransferShares

func (_IStaking *IStakingFilterer) ParseTransferShares(log types.Log) (*IStakingTransferShares, error)

ParseTransferShares is a log parse operation binding the contract event 0x77a2ac7846d05ab9937faf9bf901529bef4b499a2939e632f99b3fab92448344.

Solidity: event TransferShares(address indexed from, address indexed to, string validator, uint256 shares, uint256 token)

func (*IStakingFilterer) ParseUndelegate

func (_IStaking *IStakingFilterer) ParseUndelegate(log types.Log) (*IStakingUndelegate, error)

ParseUndelegate is a log parse operation binding the contract event 0xadff14cd34035a6bbb90fbe80979f36398f244f1885f7612e6e33a05a0b90d0f.

Solidity: event Undelegate(address indexed sender, string validator, uint256 shares, uint256 amount, uint256 completionTime)

func (*IStakingFilterer) ParseWithdraw

func (_IStaking *IStakingFilterer) ParseWithdraw(log types.Log) (*IStakingWithdraw, error)

ParseWithdraw is a log parse operation binding the contract event 0x901c03da5d88eb3d62ab4617e7b7d17d86db16356823a7971127d5181a842fef.

Solidity: event Withdraw(address indexed sender, string validator, uint256 reward)

func (*IStakingFilterer) WatchApproveShares

func (_IStaking *IStakingFilterer) WatchApproveShares(opts *bind.WatchOpts, sink chan<- *IStakingApproveShares, owner []common.Address, spender []common.Address) (event.Subscription, error)

WatchApproveShares is a free log subscription operation binding the contract event 0xbd99ef1c86c593a90a79f794ca07759c5a04cf54bf800cfb77bb0b9fdb9bc04a.

Solidity: event ApproveShares(address indexed owner, address indexed spender, string validator, uint256 shares)

func (*IStakingFilterer) WatchDelegate

func (_IStaking *IStakingFilterer) WatchDelegate(opts *bind.WatchOpts, sink chan<- *IStakingDelegate, delegator []common.Address) (event.Subscription, error)

WatchDelegate is a free log subscription operation binding the contract event 0x5a5adf903ba232ef17ed8be4ef872e1f60d17c5ba26a1ecbf44e388a672b118a.

Solidity: event Delegate(address indexed delegator, string validator, uint256 amount, uint256 shares)

func (*IStakingFilterer) WatchTransferShares

func (_IStaking *IStakingFilterer) WatchTransferShares(opts *bind.WatchOpts, sink chan<- *IStakingTransferShares, from []common.Address, to []common.Address) (event.Subscription, error)

WatchTransferShares is a free log subscription operation binding the contract event 0x77a2ac7846d05ab9937faf9bf901529bef4b499a2939e632f99b3fab92448344.

Solidity: event TransferShares(address indexed from, address indexed to, string validator, uint256 shares, uint256 token)

func (*IStakingFilterer) WatchUndelegate

func (_IStaking *IStakingFilterer) WatchUndelegate(opts *bind.WatchOpts, sink chan<- *IStakingUndelegate, sender []common.Address) (event.Subscription, error)

WatchUndelegate is a free log subscription operation binding the contract event 0xadff14cd34035a6bbb90fbe80979f36398f244f1885f7612e6e33a05a0b90d0f.

Solidity: event Undelegate(address indexed sender, string validator, uint256 shares, uint256 amount, uint256 completionTime)

func (*IStakingFilterer) WatchWithdraw

func (_IStaking *IStakingFilterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *IStakingWithdraw, sender []common.Address) (event.Subscription, error)

WatchWithdraw is a free log subscription operation binding the contract event 0x901c03da5d88eb3d62ab4617e7b7d17d86db16356823a7971127d5181a842fef.

Solidity: event Withdraw(address indexed sender, string validator, uint256 reward)

type IStakingRaw

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

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

func (*IStakingRaw) Call

func (_IStaking *IStakingRaw) 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 (*IStakingRaw) Transact

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

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

func (*IStakingRaw) Transfer

func (_IStaking *IStakingRaw) 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 IStakingSession

type IStakingSession struct {
	Contract     *IStaking         // 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
}

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

func (*IStakingSession) AllowanceShares

func (_IStaking *IStakingSession) AllowanceShares(_val string, _owner common.Address, _spender common.Address) (*big.Int, error)

AllowanceShares is a free data retrieval call binding the contract method 0x7b625c0f.

Solidity: function allowanceShares(string _val, address _owner, address _spender) view returns(uint256 _shares)

func (*IStakingSession) ApproveShares

func (_IStaking *IStakingSession) ApproveShares(_val string, _spender common.Address, _shares *big.Int) (*types.Transaction, error)

ApproveShares is a paid mutator transaction binding the contract method 0x49da433e.

Solidity: function approveShares(string _val, address _spender, uint256 _shares) returns(bool _result)

func (*IStakingSession) Delegate

func (_IStaking *IStakingSession) Delegate(_val string) (*types.Transaction, error)

Delegate is a paid mutator transaction binding the contract method 0x9ddb511a.

Solidity: function delegate(string _val) payable returns(uint256 _shares, uint256 _reward)

func (*IStakingSession) Delegation

func (_IStaking *IStakingSession) Delegation(_val string, _del common.Address) (struct {
	Shares         *big.Int
	DelegateAmount *big.Int
}, error)

Delegation is a free data retrieval call binding the contract method 0xd5c498eb.

Solidity: function delegation(string _val, address _del) view returns(uint256 _shares, uint256 _delegateAmount)

func (*IStakingSession) DelegationRewards

func (_IStaking *IStakingSession) DelegationRewards(_val string, _del common.Address) (*big.Int, error)

DelegationRewards is a free data retrieval call binding the contract method 0x51af513a.

Solidity: function delegationRewards(string _val, address _del) view returns(uint256 _reward)

func (*IStakingSession) TransferFromShares

func (_IStaking *IStakingSession) TransferFromShares(_val string, _from common.Address, _to common.Address, _shares *big.Int) (*types.Transaction, error)

TransferFromShares is a paid mutator transaction binding the contract method 0xdc6ffc7d.

Solidity: function transferFromShares(string _val, address _from, address _to, uint256 _shares) returns(uint256 _token, uint256 _reward)

func (*IStakingSession) TransferShares

func (_IStaking *IStakingSession) TransferShares(_val string, _to common.Address, _shares *big.Int) (*types.Transaction, error)

TransferShares is a paid mutator transaction binding the contract method 0x161298c1.

Solidity: function transferShares(string _val, address _to, uint256 _shares) returns(uint256 _token, uint256 _reward)

func (*IStakingSession) Undelegate

func (_IStaking *IStakingSession) Undelegate(_val string, _shares *big.Int) (*types.Transaction, error)

Undelegate is a paid mutator transaction binding the contract method 0x8dfc8897.

Solidity: function undelegate(string _val, uint256 _shares) returns(uint256 _amount, uint256 _reward, uint256 _completionTime)

func (*IStakingSession) Withdraw

func (_IStaking *IStakingSession) Withdraw(_val string) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x31fb67c2.

Solidity: function withdraw(string _val) returns(uint256 _reward)

type IStakingTransactor

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

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

func NewIStakingTransactor

func NewIStakingTransactor(address common.Address, transactor bind.ContractTransactor) (*IStakingTransactor, error)

NewIStakingTransactor creates a new write-only instance of IStaking, bound to a specific deployed contract.

func (*IStakingTransactor) ApproveShares

func (_IStaking *IStakingTransactor) ApproveShares(opts *bind.TransactOpts, _val string, _spender common.Address, _shares *big.Int) (*types.Transaction, error)

ApproveShares is a paid mutator transaction binding the contract method 0x49da433e.

Solidity: function approveShares(string _val, address _spender, uint256 _shares) returns(bool _result)

func (*IStakingTransactor) Delegate

func (_IStaking *IStakingTransactor) Delegate(opts *bind.TransactOpts, _val string) (*types.Transaction, error)

Delegate is a paid mutator transaction binding the contract method 0x9ddb511a.

Solidity: function delegate(string _val) payable returns(uint256 _shares, uint256 _reward)

func (*IStakingTransactor) TransferFromShares

func (_IStaking *IStakingTransactor) TransferFromShares(opts *bind.TransactOpts, _val string, _from common.Address, _to common.Address, _shares *big.Int) (*types.Transaction, error)

TransferFromShares is a paid mutator transaction binding the contract method 0xdc6ffc7d.

Solidity: function transferFromShares(string _val, address _from, address _to, uint256 _shares) returns(uint256 _token, uint256 _reward)

func (*IStakingTransactor) TransferShares

func (_IStaking *IStakingTransactor) TransferShares(opts *bind.TransactOpts, _val string, _to common.Address, _shares *big.Int) (*types.Transaction, error)

TransferShares is a paid mutator transaction binding the contract method 0x161298c1.

Solidity: function transferShares(string _val, address _to, uint256 _shares) returns(uint256 _token, uint256 _reward)

func (*IStakingTransactor) Undelegate

func (_IStaking *IStakingTransactor) Undelegate(opts *bind.TransactOpts, _val string, _shares *big.Int) (*types.Transaction, error)

Undelegate is a paid mutator transaction binding the contract method 0x8dfc8897.

Solidity: function undelegate(string _val, uint256 _shares) returns(uint256 _amount, uint256 _reward, uint256 _completionTime)

func (*IStakingTransactor) Withdraw

func (_IStaking *IStakingTransactor) Withdraw(opts *bind.TransactOpts, _val string) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x31fb67c2.

Solidity: function withdraw(string _val) returns(uint256 _reward)

type IStakingTransactorRaw

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

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

func (*IStakingTransactorRaw) Transact

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

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

func (*IStakingTransactorRaw) Transfer

func (_IStaking *IStakingTransactorRaw) 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 IStakingTransactorSession

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

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

func (*IStakingTransactorSession) ApproveShares

func (_IStaking *IStakingTransactorSession) ApproveShares(_val string, _spender common.Address, _shares *big.Int) (*types.Transaction, error)

ApproveShares is a paid mutator transaction binding the contract method 0x49da433e.

Solidity: function approveShares(string _val, address _spender, uint256 _shares) returns(bool _result)

func (*IStakingTransactorSession) Delegate

func (_IStaking *IStakingTransactorSession) Delegate(_val string) (*types.Transaction, error)

Delegate is a paid mutator transaction binding the contract method 0x9ddb511a.

Solidity: function delegate(string _val) payable returns(uint256 _shares, uint256 _reward)

func (*IStakingTransactorSession) TransferFromShares

func (_IStaking *IStakingTransactorSession) TransferFromShares(_val string, _from common.Address, _to common.Address, _shares *big.Int) (*types.Transaction, error)

TransferFromShares is a paid mutator transaction binding the contract method 0xdc6ffc7d.

Solidity: function transferFromShares(string _val, address _from, address _to, uint256 _shares) returns(uint256 _token, uint256 _reward)

func (*IStakingTransactorSession) TransferShares

func (_IStaking *IStakingTransactorSession) TransferShares(_val string, _to common.Address, _shares *big.Int) (*types.Transaction, error)

TransferShares is a paid mutator transaction binding the contract method 0x161298c1.

Solidity: function transferShares(string _val, address _to, uint256 _shares) returns(uint256 _token, uint256 _reward)

func (*IStakingTransactorSession) Undelegate

func (_IStaking *IStakingTransactorSession) Undelegate(_val string, _shares *big.Int) (*types.Transaction, error)

Undelegate is a paid mutator transaction binding the contract method 0x8dfc8897.

Solidity: function undelegate(string _val, uint256 _shares) returns(uint256 _amount, uint256 _reward, uint256 _completionTime)

func (*IStakingTransactorSession) Withdraw

func (_IStaking *IStakingTransactorSession) Withdraw(_val string) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x31fb67c2.

Solidity: function withdraw(string _val) returns(uint256 _reward)

type IStakingTransferShares

type IStakingTransferShares struct {
	From      common.Address
	To        common.Address
	Validator string
	Shares    *big.Int
	Token     *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

IStakingTransferShares represents a TransferShares event raised by the IStaking contract.

type IStakingTransferSharesIterator

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

IStakingTransferSharesIterator is returned from FilterTransferShares and is used to iterate over the raw logs and unpacked data for TransferShares events raised by the IStaking contract.

func (*IStakingTransferSharesIterator) Close

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

func (*IStakingTransferSharesIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IStakingTransferSharesIterator) 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 IStakingUndelegate

type IStakingUndelegate struct {
	Sender         common.Address
	Validator      string
	Shares         *big.Int
	Amount         *big.Int
	CompletionTime *big.Int
	Raw            types.Log // Blockchain specific contextual infos
}

IStakingUndelegate represents a Undelegate event raised by the IStaking contract.

type IStakingUndelegateIterator

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

IStakingUndelegateIterator is returned from FilterUndelegate and is used to iterate over the raw logs and unpacked data for Undelegate events raised by the IStaking contract.

func (*IStakingUndelegateIterator) Close

func (it *IStakingUndelegateIterator) Close() error

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

func (*IStakingUndelegateIterator) Error

func (it *IStakingUndelegateIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IStakingUndelegateIterator) Next

func (it *IStakingUndelegateIterator) 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 IStakingWithdraw

type IStakingWithdraw struct {
	Sender    common.Address
	Validator string
	Reward    *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

IStakingWithdraw represents a Withdraw event raised by the IStaking contract.

type IStakingWithdrawIterator

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

IStakingWithdrawIterator is returned from FilterWithdraw and is used to iterate over the raw logs and unpacked data for Withdraw events raised by the IStaking contract.

func (*IStakingWithdrawIterator) Close

func (it *IStakingWithdrawIterator) Close() error

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

func (*IStakingWithdrawIterator) Error

func (it *IStakingWithdrawIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IStakingWithdrawIterator) Next

func (it *IStakingWithdrawIterator) 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 WFXUpgradable

type WFXUpgradable struct {
	WFXUpgradableCaller     // Read-only binding to the contract
	WFXUpgradableTransactor // Write-only binding to the contract
	WFXUpgradableFilterer   // Log filterer for contract events
}

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

func DeployWFXUpgradable

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

DeployWFXUpgradable deploys a new Ethereum contract, binding an instance of WFXUpgradable to it.

func NewWFXUpgradable

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

NewWFXUpgradable creates a new instance of WFXUpgradable, bound to a specific deployed contract.

type WFXUpgradableAdminChanged

type WFXUpgradableAdminChanged struct {
	PreviousAdmin common.Address
	NewAdmin      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

WFXUpgradableAdminChanged represents a AdminChanged event raised by the WFXUpgradable contract.

type WFXUpgradableAdminChangedIterator

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

WFXUpgradableAdminChangedIterator is returned from FilterAdminChanged and is used to iterate over the raw logs and unpacked data for AdminChanged events raised by the WFXUpgradable contract.

func (*WFXUpgradableAdminChangedIterator) Close

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

func (*WFXUpgradableAdminChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*WFXUpgradableAdminChangedIterator) 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 WFXUpgradableApproval

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

WFXUpgradableApproval represents a Approval event raised by the WFXUpgradable contract.

type WFXUpgradableApprovalIterator

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

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

func (*WFXUpgradableApprovalIterator) Close

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

func (*WFXUpgradableApprovalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*WFXUpgradableApprovalIterator) 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 WFXUpgradableBeaconUpgraded

type WFXUpgradableBeaconUpgraded struct {
	Beacon common.Address
	Raw    types.Log // Blockchain specific contextual infos
}

WFXUpgradableBeaconUpgraded represents a BeaconUpgraded event raised by the WFXUpgradable contract.

type WFXUpgradableBeaconUpgradedIterator

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

WFXUpgradableBeaconUpgradedIterator is returned from FilterBeaconUpgraded and is used to iterate over the raw logs and unpacked data for BeaconUpgraded events raised by the WFXUpgradable contract.

func (*WFXUpgradableBeaconUpgradedIterator) Close

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

func (*WFXUpgradableBeaconUpgradedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*WFXUpgradableBeaconUpgradedIterator) 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 WFXUpgradableCaller

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

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

func NewWFXUpgradableCaller

func NewWFXUpgradableCaller(address common.Address, caller bind.ContractCaller) (*WFXUpgradableCaller, error)

NewWFXUpgradableCaller creates a new read-only instance of WFXUpgradable, bound to a specific deployed contract.

func (*WFXUpgradableCaller) Allowance

func (_WFXUpgradable *WFXUpgradableCaller) 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 (*WFXUpgradableCaller) BalanceOf

func (_WFXUpgradable *WFXUpgradableCaller) 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 (*WFXUpgradableCaller) Decimals

func (_WFXUpgradable *WFXUpgradableCaller) Decimals(opts *bind.CallOpts) (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*WFXUpgradableCaller) Module

func (_WFXUpgradable *WFXUpgradableCaller) Module(opts *bind.CallOpts) (common.Address, error)

Module is a free data retrieval call binding the contract method 0xb86d5298.

Solidity: function module() view returns(address)

func (*WFXUpgradableCaller) Name

func (_WFXUpgradable *WFXUpgradableCaller) Name(opts *bind.CallOpts) (string, error)

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

Solidity: function name() view returns(string)

func (*WFXUpgradableCaller) Owner

func (_WFXUpgradable *WFXUpgradableCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*WFXUpgradableCaller) ProxiableUUID

func (_WFXUpgradable *WFXUpgradableCaller) ProxiableUUID(opts *bind.CallOpts) ([32]byte, error)

ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.

Solidity: function proxiableUUID() view returns(bytes32)

func (*WFXUpgradableCaller) Symbol

func (_WFXUpgradable *WFXUpgradableCaller) Symbol(opts *bind.CallOpts) (string, error)

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

Solidity: function symbol() view returns(string)

func (*WFXUpgradableCaller) TotalSupply

func (_WFXUpgradable *WFXUpgradableCaller) 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 WFXUpgradableCallerRaw

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

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

func (*WFXUpgradableCallerRaw) Call

func (_WFXUpgradable *WFXUpgradableCallerRaw) 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 WFXUpgradableCallerSession

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

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

func (*WFXUpgradableCallerSession) Allowance

func (_WFXUpgradable *WFXUpgradableCallerSession) 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 (*WFXUpgradableCallerSession) BalanceOf

func (_WFXUpgradable *WFXUpgradableCallerSession) 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 (*WFXUpgradableCallerSession) Decimals

func (_WFXUpgradable *WFXUpgradableCallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*WFXUpgradableCallerSession) Module

func (_WFXUpgradable *WFXUpgradableCallerSession) Module() (common.Address, error)

Module is a free data retrieval call binding the contract method 0xb86d5298.

Solidity: function module() view returns(address)

func (*WFXUpgradableCallerSession) Name

func (_WFXUpgradable *WFXUpgradableCallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*WFXUpgradableCallerSession) Owner

func (_WFXUpgradable *WFXUpgradableCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*WFXUpgradableCallerSession) ProxiableUUID

func (_WFXUpgradable *WFXUpgradableCallerSession) ProxiableUUID() ([32]byte, error)

ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.

Solidity: function proxiableUUID() view returns(bytes32)

func (*WFXUpgradableCallerSession) Symbol

func (_WFXUpgradable *WFXUpgradableCallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*WFXUpgradableCallerSession) TotalSupply

func (_WFXUpgradable *WFXUpgradableCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type WFXUpgradableDeposit

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

WFXUpgradableDeposit represents a Deposit event raised by the WFXUpgradable contract.

type WFXUpgradableDepositIterator

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

WFXUpgradableDepositIterator is returned from FilterDeposit and is used to iterate over the raw logs and unpacked data for Deposit events raised by the WFXUpgradable contract.

func (*WFXUpgradableDepositIterator) Close

func (it *WFXUpgradableDepositIterator) Close() error

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

func (*WFXUpgradableDepositIterator) Error

func (it *WFXUpgradableDepositIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*WFXUpgradableDepositIterator) 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 WFXUpgradableFilterer

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

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

func NewWFXUpgradableFilterer

func NewWFXUpgradableFilterer(address common.Address, filterer bind.ContractFilterer) (*WFXUpgradableFilterer, error)

NewWFXUpgradableFilterer creates a new log filterer instance of WFXUpgradable, bound to a specific deployed contract.

func (*WFXUpgradableFilterer) FilterAdminChanged

func (_WFXUpgradable *WFXUpgradableFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*WFXUpgradableAdminChangedIterator, error)

FilterAdminChanged is a free log retrieval operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*WFXUpgradableFilterer) FilterApproval

func (_WFXUpgradable *WFXUpgradableFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*WFXUpgradableApprovalIterator, 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 (*WFXUpgradableFilterer) FilterBeaconUpgraded

func (_WFXUpgradable *WFXUpgradableFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*WFXUpgradableBeaconUpgradedIterator, error)

FilterBeaconUpgraded is a free log retrieval operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.

Solidity: event BeaconUpgraded(address indexed beacon)

func (*WFXUpgradableFilterer) FilterDeposit

func (_WFXUpgradable *WFXUpgradableFilterer) FilterDeposit(opts *bind.FilterOpts, from []common.Address) (*WFXUpgradableDepositIterator, error)

FilterDeposit is a free log retrieval operation binding the contract event 0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c.

Solidity: event Deposit(address indexed from, uint256 value)

func (*WFXUpgradableFilterer) FilterInitialized

func (_WFXUpgradable *WFXUpgradableFilterer) FilterInitialized(opts *bind.FilterOpts) (*WFXUpgradableInitializedIterator, error)

FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*WFXUpgradableFilterer) FilterOwnershipTransferred

func (_WFXUpgradable *WFXUpgradableFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*WFXUpgradableOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*WFXUpgradableFilterer) FilterTransfer

func (_WFXUpgradable *WFXUpgradableFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*WFXUpgradableTransferIterator, 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 (*WFXUpgradableFilterer) FilterTransferCrossChain

func (_WFXUpgradable *WFXUpgradableFilterer) FilterTransferCrossChain(opts *bind.FilterOpts, from []common.Address) (*WFXUpgradableTransferCrossChainIterator, error)

FilterTransferCrossChain is a free log retrieval operation binding the contract event 0x282dd1817b996776123a00596764d4d54cc16460c9854f7a23f6be020ba0463d.

Solidity: event TransferCrossChain(address indexed from, string recipient, uint256 amount, uint256 fee, bytes32 target)

func (*WFXUpgradableFilterer) FilterUpgraded

func (_WFXUpgradable *WFXUpgradableFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*WFXUpgradableUpgradedIterator, error)

FilterUpgraded is a free log retrieval operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.

Solidity: event Upgraded(address indexed implementation)

func (*WFXUpgradableFilterer) FilterWithdraw

func (_WFXUpgradable *WFXUpgradableFilterer) FilterWithdraw(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*WFXUpgradableWithdrawIterator, error)

FilterWithdraw is a free log retrieval operation binding the contract event 0x9b1bfa7fa9ee420a16e124f794c35ac9f90472acc99140eb2f6447c714cad8eb.

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

func (*WFXUpgradableFilterer) ParseAdminChanged

func (_WFXUpgradable *WFXUpgradableFilterer) ParseAdminChanged(log types.Log) (*WFXUpgradableAdminChanged, error)

ParseAdminChanged is a log parse operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*WFXUpgradableFilterer) ParseApproval

func (_WFXUpgradable *WFXUpgradableFilterer) ParseApproval(log types.Log) (*WFXUpgradableApproval, error)

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

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

func (*WFXUpgradableFilterer) ParseBeaconUpgraded

func (_WFXUpgradable *WFXUpgradableFilterer) ParseBeaconUpgraded(log types.Log) (*WFXUpgradableBeaconUpgraded, error)

ParseBeaconUpgraded is a log parse operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.

Solidity: event BeaconUpgraded(address indexed beacon)

func (*WFXUpgradableFilterer) ParseDeposit

func (_WFXUpgradable *WFXUpgradableFilterer) ParseDeposit(log types.Log) (*WFXUpgradableDeposit, error)

ParseDeposit is a log parse operation binding the contract event 0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c.

Solidity: event Deposit(address indexed from, uint256 value)

func (*WFXUpgradableFilterer) ParseInitialized

func (_WFXUpgradable *WFXUpgradableFilterer) ParseInitialized(log types.Log) (*WFXUpgradableInitialized, error)

ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*WFXUpgradableFilterer) ParseOwnershipTransferred

func (_WFXUpgradable *WFXUpgradableFilterer) ParseOwnershipTransferred(log types.Log) (*WFXUpgradableOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*WFXUpgradableFilterer) ParseTransfer

func (_WFXUpgradable *WFXUpgradableFilterer) ParseTransfer(log types.Log) (*WFXUpgradableTransfer, error)

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

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

func (*WFXUpgradableFilterer) ParseTransferCrossChain

func (_WFXUpgradable *WFXUpgradableFilterer) ParseTransferCrossChain(log types.Log) (*WFXUpgradableTransferCrossChain, error)

ParseTransferCrossChain is a log parse operation binding the contract event 0x282dd1817b996776123a00596764d4d54cc16460c9854f7a23f6be020ba0463d.

Solidity: event TransferCrossChain(address indexed from, string recipient, uint256 amount, uint256 fee, bytes32 target)

func (*WFXUpgradableFilterer) ParseUpgraded

func (_WFXUpgradable *WFXUpgradableFilterer) ParseUpgraded(log types.Log) (*WFXUpgradableUpgraded, error)

ParseUpgraded is a log parse operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.

Solidity: event Upgraded(address indexed implementation)

func (*WFXUpgradableFilterer) ParseWithdraw

func (_WFXUpgradable *WFXUpgradableFilterer) ParseWithdraw(log types.Log) (*WFXUpgradableWithdraw, error)

ParseWithdraw is a log parse operation binding the contract event 0x9b1bfa7fa9ee420a16e124f794c35ac9f90472acc99140eb2f6447c714cad8eb.

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

func (*WFXUpgradableFilterer) WatchAdminChanged

func (_WFXUpgradable *WFXUpgradableFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *WFXUpgradableAdminChanged) (event.Subscription, error)

WatchAdminChanged is a free log subscription operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*WFXUpgradableFilterer) WatchApproval

func (_WFXUpgradable *WFXUpgradableFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *WFXUpgradableApproval, 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 (*WFXUpgradableFilterer) WatchBeaconUpgraded

func (_WFXUpgradable *WFXUpgradableFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *WFXUpgradableBeaconUpgraded, beacon []common.Address) (event.Subscription, error)

WatchBeaconUpgraded is a free log subscription operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.

Solidity: event BeaconUpgraded(address indexed beacon)

func (*WFXUpgradableFilterer) WatchDeposit

func (_WFXUpgradable *WFXUpgradableFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *WFXUpgradableDeposit, from []common.Address) (event.Subscription, error)

WatchDeposit is a free log subscription operation binding the contract event 0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c.

Solidity: event Deposit(address indexed from, uint256 value)

func (*WFXUpgradableFilterer) WatchInitialized

func (_WFXUpgradable *WFXUpgradableFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *WFXUpgradableInitialized) (event.Subscription, error)

WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*WFXUpgradableFilterer) WatchOwnershipTransferred

func (_WFXUpgradable *WFXUpgradableFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *WFXUpgradableOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*WFXUpgradableFilterer) WatchTransfer

func (_WFXUpgradable *WFXUpgradableFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *WFXUpgradableTransfer, 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)

func (*WFXUpgradableFilterer) WatchTransferCrossChain

func (_WFXUpgradable *WFXUpgradableFilterer) WatchTransferCrossChain(opts *bind.WatchOpts, sink chan<- *WFXUpgradableTransferCrossChain, from []common.Address) (event.Subscription, error)

WatchTransferCrossChain is a free log subscription operation binding the contract event 0x282dd1817b996776123a00596764d4d54cc16460c9854f7a23f6be020ba0463d.

Solidity: event TransferCrossChain(address indexed from, string recipient, uint256 amount, uint256 fee, bytes32 target)

func (*WFXUpgradableFilterer) WatchUpgraded

func (_WFXUpgradable *WFXUpgradableFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *WFXUpgradableUpgraded, implementation []common.Address) (event.Subscription, error)

WatchUpgraded is a free log subscription operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.

Solidity: event Upgraded(address indexed implementation)

func (*WFXUpgradableFilterer) WatchWithdraw

func (_WFXUpgradable *WFXUpgradableFilterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *WFXUpgradableWithdraw, from []common.Address, to []common.Address) (event.Subscription, error)

WatchWithdraw is a free log subscription operation binding the contract event 0x9b1bfa7fa9ee420a16e124f794c35ac9f90472acc99140eb2f6447c714cad8eb.

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

type WFXUpgradableInitialized

type WFXUpgradableInitialized struct {
	Version uint8
	Raw     types.Log // Blockchain specific contextual infos
}

WFXUpgradableInitialized represents a Initialized event raised by the WFXUpgradable contract.

type WFXUpgradableInitializedIterator

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

WFXUpgradableInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the WFXUpgradable contract.

func (*WFXUpgradableInitializedIterator) Close

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

func (*WFXUpgradableInitializedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*WFXUpgradableInitializedIterator) 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 WFXUpgradableOwnershipTransferred

type WFXUpgradableOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

WFXUpgradableOwnershipTransferred represents a OwnershipTransferred event raised by the WFXUpgradable contract.

type WFXUpgradableOwnershipTransferredIterator

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

WFXUpgradableOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the WFXUpgradable contract.

func (*WFXUpgradableOwnershipTransferredIterator) Close

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

func (*WFXUpgradableOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*WFXUpgradableOwnershipTransferredIterator) 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 WFXUpgradableRaw

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

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

func (*WFXUpgradableRaw) Call

func (_WFXUpgradable *WFXUpgradableRaw) 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 (*WFXUpgradableRaw) Transact

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

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

func (*WFXUpgradableRaw) Transfer

func (_WFXUpgradable *WFXUpgradableRaw) 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 WFXUpgradableSession

type WFXUpgradableSession struct {
	Contract     *WFXUpgradable    // 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
}

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

func (*WFXUpgradableSession) Allowance

func (_WFXUpgradable *WFXUpgradableSession) 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 (*WFXUpgradableSession) Approve

func (_WFXUpgradable *WFXUpgradableSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*WFXUpgradableSession) BalanceOf

func (_WFXUpgradable *WFXUpgradableSession) 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 (*WFXUpgradableSession) Burn

func (_WFXUpgradable *WFXUpgradableSession) Burn(account common.Address, amount *big.Int) (*types.Transaction, error)

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

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

func (*WFXUpgradableSession) Decimals

func (_WFXUpgradable *WFXUpgradableSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*WFXUpgradableSession) Deposit

func (_WFXUpgradable *WFXUpgradableSession) Deposit() (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0xd0e30db0.

Solidity: function deposit() payable returns()

func (*WFXUpgradableSession) Fallback

func (_WFXUpgradable *WFXUpgradableSession) Fallback(calldata []byte) (*types.Transaction, error)

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

Solidity: fallback() payable returns()

func (*WFXUpgradableSession) Initialize

func (_WFXUpgradable *WFXUpgradableSession) Initialize(name_ string, symbol_ string, decimals_ uint8, module_ common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xde7ea79d.

Solidity: function initialize(string name_, string symbol_, uint8 decimals_, address module_) returns()

func (*WFXUpgradableSession) Mint

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

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

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

func (*WFXUpgradableSession) Module

func (_WFXUpgradable *WFXUpgradableSession) Module() (common.Address, error)

Module is a free data retrieval call binding the contract method 0xb86d5298.

Solidity: function module() view returns(address)

func (*WFXUpgradableSession) Name

func (_WFXUpgradable *WFXUpgradableSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*WFXUpgradableSession) Owner

func (_WFXUpgradable *WFXUpgradableSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*WFXUpgradableSession) ProxiableUUID

func (_WFXUpgradable *WFXUpgradableSession) ProxiableUUID() ([32]byte, error)

ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.

Solidity: function proxiableUUID() view returns(bytes32)

func (*WFXUpgradableSession) Receive

func (_WFXUpgradable *WFXUpgradableSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*WFXUpgradableSession) RenounceOwnership

func (_WFXUpgradable *WFXUpgradableSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*WFXUpgradableSession) Symbol

func (_WFXUpgradable *WFXUpgradableSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*WFXUpgradableSession) TotalSupply

func (_WFXUpgradable *WFXUpgradableSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*WFXUpgradableSession) Transfer

func (_WFXUpgradable *WFXUpgradableSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address recipient, uint256 amount) returns(bool)

func (*WFXUpgradableSession) TransferCrossChain

func (_WFXUpgradable *WFXUpgradableSession) TransferCrossChain(recipient string, amount *big.Int, fee *big.Int, target [32]byte) (*types.Transaction, error)

TransferCrossChain is a paid mutator transaction binding the contract method 0xc5cb9b51.

Solidity: function transferCrossChain(string recipient, uint256 amount, uint256 fee, bytes32 target) payable returns(bool)

func (*WFXUpgradableSession) TransferFrom

func (_WFXUpgradable *WFXUpgradableSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

func (*WFXUpgradableSession) TransferOwnership

func (_WFXUpgradable *WFXUpgradableSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*WFXUpgradableSession) UpgradeTo

func (_WFXUpgradable *WFXUpgradableSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)

UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.

Solidity: function upgradeTo(address newImplementation) returns()

func (*WFXUpgradableSession) UpgradeToAndCall

func (_WFXUpgradable *WFXUpgradableSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)

UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.

Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()

func (*WFXUpgradableSession) Withdraw

func (_WFXUpgradable *WFXUpgradableSession) Withdraw(to common.Address, value *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0xf3fef3a3.

Solidity: function withdraw(address to, uint256 value) returns()

type WFXUpgradableTransactor

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

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

func NewWFXUpgradableTransactor

func NewWFXUpgradableTransactor(address common.Address, transactor bind.ContractTransactor) (*WFXUpgradableTransactor, error)

NewWFXUpgradableTransactor creates a new write-only instance of WFXUpgradable, bound to a specific deployed contract.

func (*WFXUpgradableTransactor) Approve

func (_WFXUpgradable *WFXUpgradableTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*WFXUpgradableTransactor) Burn

func (_WFXUpgradable *WFXUpgradableTransactor) Burn(opts *bind.TransactOpts, account common.Address, amount *big.Int) (*types.Transaction, error)

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

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

func (*WFXUpgradableTransactor) Deposit

func (_WFXUpgradable *WFXUpgradableTransactor) Deposit(opts *bind.TransactOpts) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0xd0e30db0.

Solidity: function deposit() payable returns()

func (*WFXUpgradableTransactor) Fallback

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

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

Solidity: fallback() payable returns()

func (*WFXUpgradableTransactor) Initialize

func (_WFXUpgradable *WFXUpgradableTransactor) Initialize(opts *bind.TransactOpts, name_ string, symbol_ string, decimals_ uint8, module_ common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xde7ea79d.

Solidity: function initialize(string name_, string symbol_, uint8 decimals_, address module_) returns()

func (*WFXUpgradableTransactor) Mint

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

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

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

func (*WFXUpgradableTransactor) Receive

func (_WFXUpgradable *WFXUpgradableTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*WFXUpgradableTransactor) RenounceOwnership

func (_WFXUpgradable *WFXUpgradableTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*WFXUpgradableTransactor) Transfer

func (_WFXUpgradable *WFXUpgradableTransactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address recipient, uint256 amount) returns(bool)

func (*WFXUpgradableTransactor) TransferCrossChain

func (_WFXUpgradable *WFXUpgradableTransactor) TransferCrossChain(opts *bind.TransactOpts, recipient string, amount *big.Int, fee *big.Int, target [32]byte) (*types.Transaction, error)

TransferCrossChain is a paid mutator transaction binding the contract method 0xc5cb9b51.

Solidity: function transferCrossChain(string recipient, uint256 amount, uint256 fee, bytes32 target) payable returns(bool)

func (*WFXUpgradableTransactor) TransferFrom

func (_WFXUpgradable *WFXUpgradableTransactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

func (*WFXUpgradableTransactor) TransferOwnership

func (_WFXUpgradable *WFXUpgradableTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*WFXUpgradableTransactor) UpgradeTo

func (_WFXUpgradable *WFXUpgradableTransactor) UpgradeTo(opts *bind.TransactOpts, newImplementation common.Address) (*types.Transaction, error)

UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.

Solidity: function upgradeTo(address newImplementation) returns()

func (*WFXUpgradableTransactor) UpgradeToAndCall

func (_WFXUpgradable *WFXUpgradableTransactor) UpgradeToAndCall(opts *bind.TransactOpts, newImplementation common.Address, data []byte) (*types.Transaction, error)

UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.

Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()

func (*WFXUpgradableTransactor) Withdraw

func (_WFXUpgradable *WFXUpgradableTransactor) Withdraw(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0xf3fef3a3.

Solidity: function withdraw(address to, uint256 value) returns()

type WFXUpgradableTransactorRaw

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

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

func (*WFXUpgradableTransactorRaw) Transact

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

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

func (*WFXUpgradableTransactorRaw) Transfer

func (_WFXUpgradable *WFXUpgradableTransactorRaw) 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 WFXUpgradableTransactorSession

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

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

func (*WFXUpgradableTransactorSession) Approve

func (_WFXUpgradable *WFXUpgradableTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*WFXUpgradableTransactorSession) Burn

func (_WFXUpgradable *WFXUpgradableTransactorSession) Burn(account common.Address, amount *big.Int) (*types.Transaction, error)

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

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

func (*WFXUpgradableTransactorSession) Deposit

func (_WFXUpgradable *WFXUpgradableTransactorSession) Deposit() (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0xd0e30db0.

Solidity: function deposit() payable returns()

func (*WFXUpgradableTransactorSession) Fallback

func (_WFXUpgradable *WFXUpgradableTransactorSession) Fallback(calldata []byte) (*types.Transaction, error)

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

Solidity: fallback() payable returns()

func (*WFXUpgradableTransactorSession) Initialize

func (_WFXUpgradable *WFXUpgradableTransactorSession) Initialize(name_ string, symbol_ string, decimals_ uint8, module_ common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xde7ea79d.

Solidity: function initialize(string name_, string symbol_, uint8 decimals_, address module_) returns()

func (*WFXUpgradableTransactorSession) Mint

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

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

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

func (*WFXUpgradableTransactorSession) Receive

func (_WFXUpgradable *WFXUpgradableTransactorSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*WFXUpgradableTransactorSession) RenounceOwnership

func (_WFXUpgradable *WFXUpgradableTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*WFXUpgradableTransactorSession) Transfer

func (_WFXUpgradable *WFXUpgradableTransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address recipient, uint256 amount) returns(bool)

func (*WFXUpgradableTransactorSession) TransferCrossChain

func (_WFXUpgradable *WFXUpgradableTransactorSession) TransferCrossChain(recipient string, amount *big.Int, fee *big.Int, target [32]byte) (*types.Transaction, error)

TransferCrossChain is a paid mutator transaction binding the contract method 0xc5cb9b51.

Solidity: function transferCrossChain(string recipient, uint256 amount, uint256 fee, bytes32 target) payable returns(bool)

func (*WFXUpgradableTransactorSession) TransferFrom

func (_WFXUpgradable *WFXUpgradableTransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

func (*WFXUpgradableTransactorSession) TransferOwnership

func (_WFXUpgradable *WFXUpgradableTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*WFXUpgradableTransactorSession) UpgradeTo

func (_WFXUpgradable *WFXUpgradableTransactorSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)

UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.

Solidity: function upgradeTo(address newImplementation) returns()

func (*WFXUpgradableTransactorSession) UpgradeToAndCall

func (_WFXUpgradable *WFXUpgradableTransactorSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)

UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.

Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()

func (*WFXUpgradableTransactorSession) Withdraw

func (_WFXUpgradable *WFXUpgradableTransactorSession) Withdraw(to common.Address, value *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0xf3fef3a3.

Solidity: function withdraw(address to, uint256 value) returns()

type WFXUpgradableTransfer

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

WFXUpgradableTransfer represents a Transfer event raised by the WFXUpgradable contract.

type WFXUpgradableTransferCrossChain

type WFXUpgradableTransferCrossChain struct {
	From      common.Address
	Recipient string
	Amount    *big.Int
	Fee       *big.Int
	Target    [32]byte
	Raw       types.Log // Blockchain specific contextual infos
}

WFXUpgradableTransferCrossChain represents a TransferCrossChain event raised by the WFXUpgradable contract.

type WFXUpgradableTransferCrossChainIterator

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

WFXUpgradableTransferCrossChainIterator is returned from FilterTransferCrossChain and is used to iterate over the raw logs and unpacked data for TransferCrossChain events raised by the WFXUpgradable contract.

func (*WFXUpgradableTransferCrossChainIterator) Close

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

func (*WFXUpgradableTransferCrossChainIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*WFXUpgradableTransferCrossChainIterator) 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 WFXUpgradableTransferIterator

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

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

func (*WFXUpgradableTransferIterator) Close

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

func (*WFXUpgradableTransferIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*WFXUpgradableTransferIterator) 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 WFXUpgradableUpgraded

type WFXUpgradableUpgraded struct {
	Implementation common.Address
	Raw            types.Log // Blockchain specific contextual infos
}

WFXUpgradableUpgraded represents a Upgraded event raised by the WFXUpgradable contract.

type WFXUpgradableUpgradedIterator

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

WFXUpgradableUpgradedIterator is returned from FilterUpgraded and is used to iterate over the raw logs and unpacked data for Upgraded events raised by the WFXUpgradable contract.

func (*WFXUpgradableUpgradedIterator) Close

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

func (*WFXUpgradableUpgradedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*WFXUpgradableUpgradedIterator) 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 WFXUpgradableWithdraw

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

WFXUpgradableWithdraw represents a Withdraw event raised by the WFXUpgradable contract.

type WFXUpgradableWithdrawIterator

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

WFXUpgradableWithdrawIterator is returned from FilterWithdraw and is used to iterate over the raw logs and unpacked data for Withdraw events raised by the WFXUpgradable contract.

func (*WFXUpgradableWithdrawIterator) Close

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

func (*WFXUpgradableWithdrawIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*WFXUpgradableWithdrawIterator) 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL