contract

package
v8.0.0-...-6878cbe Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FIP20LogicAddress = "0x0000000000000000000000000000000000001001"
	WFXLogicAddress   = "0x0000000000000000000000000000000000001002"

	StakingAddress         = "0x0000000000000000000000000000000000001003"
	CrosschainAddress      = "0x0000000000000000000000000000000000001004"
	BridgeFeeAddress       = "0x0000000000000000000000000000000000001005"
	BridgeFeeOracleAddress = "0x0000000000000000000000000000000000001006"
)
View Source
const DefaultGasCap uint64 = 30000000
View Source
const DefaultMaxQuoteIndex = 3
View Source
const EthereumContractAddressLen = 42

EthereumContractAddressLen is the length of contract address strings

Variables

View Source
var BridgeFeeOracleABI = BridgeFeeOracleMetaData.ABI

BridgeFeeOracleABI is the input ABI used to generate the binding from. Deprecated: Use BridgeFeeOracleMetaData.ABI instead.

View Source
var BridgeFeeOracleBin = BridgeFeeOracleMetaData.Bin

BridgeFeeOracleBin is the compiled bytecode used for deploying new contracts. Deprecated: Use BridgeFeeOracleMetaData.Bin instead.

View Source
var BridgeFeeOracleMetaData = &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\":\"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\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"OWNER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"QUOTE_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"UPGRADE_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_oracle\",\"type\":\"address\"}],\"name\":\"blackOracle\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"crosschainContract\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"defaultOracle\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getOracleList\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_crosschain\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_chainName\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"_oracle\",\"type\":\"address\"}],\"name\":\"isOnline\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"oracleStatus\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"isBlacklisted\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"isActive\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"proxiableUUID\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_defaultOracle\",\"type\":\"address\"}],\"name\":\"setDefaultOracle\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"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: "0x60a06040523060805234801561001457600080fd5b50608051611c7f61004c6000396000818161054601528181610586015281816106260152818161066601526107070152611c7f6000f3fe60806040526004361061012a5760003560e01c806380dce169116100ab578063c4d66de81161006f578063c4d66de814610363578063d10c106114610383578063d547741f146103a3578063e58378bb146103c3578063e863f6a7146103e5578063ec331b2b1461043657600080fd5b806380dce169146102a157806391d14854146102da578063a217fddf146102fa578063b908afa81461030f578063c44014d21461034357600080fd5b80634f1ef286116100f25780634f1ef28614610204578063510c27ad1461021757806352d1902d146102395780635bca74db1461024e5780637c90c9a91461028157600080fd5b806301ffc9a71461012f578063248a9ca3146101645780632f2ff15d146101a257806336568abe146101c45780633659cfe6146101e4575b600080fd5b34801561013b57600080fd5b5061014f61014a3660046116bd565b610457565b60405190151581526020015b60405180910390f35b34801561017057600080fd5b5061019461017f3660046116e7565b600090815260c9602052604090206001015490565b60405190815260200161015b565b3480156101ae57600080fd5b506101c26101bd36600461171c565b61048e565b005b3480156101d057600080fd5b506101c26101df36600461171c565b6104b8565b3480156101f057600080fd5b506101c26101ff366004611748565b61053b565b6101c26102123660046117ef565b61061b565b34801561022357600080fd5b5061022c6106e8565b60405161015b9190611851565b34801561024557600080fd5b506101946106fa565b34801561025a57600080fd5b506101947e0caaa0e08f624de190c2474175cd13784c8c75bbdd1b63ae5fab5540967b3c81565b34801561028d57600080fd5b506101c261029c366004611748565b6107ad565b3480156102ad57600080fd5b5061012e546102c2906001600160a01b031681565b6040516001600160a01b03909116815260200161015b565b3480156102e657600080fd5b5061014f6102f536600461171c565b61087a565b34801561030657600080fd5b50610194600081565b34801561031b57600080fd5b506101947f88aa719609f728b0c5e7fb8dd3608d5c25d497efbb3b9dd64e9251ebba10150881565b34801561034f57600080fd5b506101c261035e366004611748565b6108a5565b34801561036f57600080fd5b506101c261037e366004611748565b610951565b34801561038f57600080fd5b5061014f61039e36600461189e565b610adb565b3480156103af57600080fd5b506101c26103be36600461171c565b610ce0565b3480156103cf57600080fd5b50610194600080516020611be383398151915281565b3480156103f157600080fd5b5061041f610400366004611748565b6101316020526000908152604090205460ff8082169161010090041682565b60408051921515835290151560208301520161015b565b34801561044257600080fd5b5061012d546102c2906001600160a01b031681565b60006001600160e01b03198216637965db0b60e01b148061048857506301ffc9a760e01b6001600160e01b03198316145b92915050565b600082815260c960205260409020600101546104a981610d05565b6104b38383610d0f565b505050565b6001600160a01b038116331461052d5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b6105378282610d95565b5050565b306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614156105845760405162461bcd60e51b8152600401610524906118f7565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166105cd600080516020611c03833981519152546001600160a01b031690565b6001600160a01b0316146105f35760405162461bcd60e51b815260040161052490611943565b6105fc81610dfc565b6040805160008082526020820190925261061891839190610e26565b50565b306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614156106645760405162461bcd60e51b8152600401610524906118f7565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166106ad600080516020611c03833981519152546001600160a01b031690565b6001600160a01b0316146106d35760405162461bcd60e51b815260040161052490611943565b6106dc82610dfc565b61053782826001610e26565b60606106f561012f610f91565b905090565b6000306001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461079a5760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c60448201527f6c6564207468726f7567682064656c656761746563616c6c00000000000000006064820152608401610524565b50600080516020611c0383398151915290565b600080516020611be38339815191526107c581610d05565b6107cd610fa5565b6001600160a01b0382166000908152610131602052604090205460ff16156107f457610870565b6001600160a01b03821660009081526101316020526040902054610100900460ff161561084b576001600160a01b038216600090815261013160205260409020805461ff001916905561084961012f83610fff565b505b6001600160a01b038216600090815261013160205260409020805460ff191660011790555b610537600160fb55565b600091825260c9602090815260408084206001600160a01b0393909316845291905290205460ff1690565b600080516020611be38339815191526108bd81610d05565b6108c961012f8361101b565b61092d576040805180820182526000808252600160208084019182526001600160a01b0387168352610131905292902090518154925161ffff1990931690151561ff001916176101009215159290920291909117905561092b61012f8361103d565b505b5061012e80546001600160a01b0319166001600160a01b0392909216919091179055565b600054610100900460ff16158080156109715750600054600160ff909116105b8061098b5750303b15801561098b575060005460ff166001145b6109ee5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610524565b6000805460ff191660011790558015610a11576000805461ff0019166101001790555b61012d80546001600160a01b0319166001600160a01b038416179055610a35611052565b610a3d611052565b610a4561107b565b610a50600033610d0f565b610a7a7f88aa719609f728b0c5e7fb8dd3608d5c25d497efbb3b9dd64e9251ebba10150833610d0f565b610a92600080516020611be383398151915233610d0f565b8015610537576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15050565b60007e0caaa0e08f624de190c2474175cd13784c8c75bbdd1b63ae5fab5540967b3c610b0681610d05565b610b0e610fa5565b6001600160a01b03831660009081526101316020526040902054610100900460ff1615610b3e5760019150610ccf565b6001600160a01b0383166000908152610131602052604090205460ff1615610b695760009150610ccf565b61012d546040516333e7eceb60e11b81526001600160a01b03909116906367cfd9d690610b9c90879087906004016119e7565b602060405180830381865afa158015610bb9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bdd9190611a11565b610bea5760009150610ccf565b61012d54604051630b63ae7d60e11b81526001600160a01b03909116906316c75cfa90610c1d90879087906004016119e7565b602060405180830381865afa158015610c3a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c5e9190611a11565b610c6b5760009150610ccf565b6040805180820182526000808252600160208084019182526001600160a01b0388168352610131905292902090518154925161ffff1990931690151561ff0019161761010092151592909202919091179055610cc961012f8461103d565b50600191505b610cd9600160fb55565b5092915050565b600082815260c96020526040902060010154610cfb81610d05565b6104b38383610d95565b61061881336110aa565b610d19828261087a565b61053757600082815260c9602090815260408083206001600160a01b03851684529091529020805460ff19166001179055610d513390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b610d9f828261087a565b1561053757600082815260c9602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b7f88aa719609f728b0c5e7fb8dd3608d5c25d497efbb3b9dd64e9251ebba10150861053781610d05565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff1615610e59576104b383611103565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610eb3575060408051601f3d908101601f19168201909252610eb091810190611a33565b60015b610f165760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b6064820152608401610524565b600080516020611c038339815191528114610f855760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b6064820152608401610524565b506104b383838361119f565b60606000610f9e836111ca565b9392505050565b600260fb541415610ff85760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610524565b600260fb55565b6000610f9e836001600160a01b038416611226565b600160fb55565b6001600160a01b03811660009081526001830160205260408120541515610f9e565b6000610f9e836001600160a01b038416611319565b600054610100900460ff166110795760405162461bcd60e51b815260040161052490611a4c565b565b600054610100900460ff166110a25760405162461bcd60e51b815260040161052490611a4c565b611079611368565b6110b4828261087a565b610537576110c18161138f565b6110cc8360206113a1565b6040516020016110dd929190611a97565b60408051601f198184030181529082905262461bcd60e51b825261052491600401611b0c565b6001600160a01b0381163b6111705760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b6064820152608401610524565b600080516020611c0383398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b6111a88361153d565b6000825111806111b55750805b156104b3576111c4838361157d565b50505050565b60608160000180548060200260200160405190810160405280929190818152602001828054801561121a57602002820191906000526020600020905b815481526020019060010190808311611206575b50505050509050919050565b6000818152600183016020526040812054801561130f57600061124a600183611b35565b855490915060009061125e90600190611b35565b90508181146112c357600086600001828154811061127e5761127e611b4c565b90600052602060002001549050808760000184815481106112a1576112a1611b4c565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806112d4576112d4611b62565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610488565b6000915050610488565b600081815260018301602052604081205461136057508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610488565b506000610488565b600054610100900460ff166110145760405162461bcd60e51b815260040161052490611a4c565b60606104886001600160a01b03831660145b606060006113b0836002611b78565b6113bb906002611b97565b67ffffffffffffffff8111156113d3576113d3611763565b6040519080825280601f01601f1916602001820160405280156113fd576020820181803683370190505b509050600360fc1b8160008151811061141857611418611b4c565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061144757611447611b4c565b60200101906001600160f81b031916908160001a905350600061146b846002611b78565b611476906001611b97565b90505b60018111156114ee576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106114aa576114aa611b4c565b1a60f81b8282815181106114c0576114c0611b4c565b60200101906001600160f81b031916908160001a90535060049490941c936114e781611baf565b9050611479565b508315610f9e5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610524565b61154681611103565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b6060610f9e8383604051806060016040528060278152602001611c23602791396060600080856001600160a01b0316856040516115ba9190611bc6565b600060405180830381855af49150503d80600081146115f5576040519150601f19603f3d011682016040523d82523d6000602084013e6115fa565b606091505b509150915061160b86838387611615565b9695505050505050565b6060831561168157825161167a576001600160a01b0385163b61167a5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610524565b508161168b565b61168b8383611693565b949350505050565b8151156116a35781518083602001fd5b8060405162461bcd60e51b81526004016105249190611b0c565b6000602082840312156116cf57600080fd5b81356001600160e01b031981168114610f9e57600080fd5b6000602082840312156116f957600080fd5b5035919050565b80356001600160a01b038116811461171757600080fd5b919050565b6000806040838503121561172f57600080fd5b8235915061173f60208401611700565b90509250929050565b60006020828403121561175a57600080fd5b610f9e82611700565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561179457611794611763565b604051601f8501601f19908116603f011681019082821181831017156117bc576117bc611763565b816040528093508581528686860111156117d557600080fd5b858560208301376000602087830101525050509392505050565b6000806040838503121561180257600080fd5b61180b83611700565b9150602083013567ffffffffffffffff81111561182757600080fd5b8301601f8101851361183857600080fd5b61184785823560208401611779565b9150509250929050565b6020808252825182820181905260009190848201906040850190845b818110156118925783516001600160a01b03168352928401929184019160010161186d565b50909695505050505050565b600080604083850312156118b157600080fd5b823567ffffffffffffffff8111156118c857600080fd5b8301601f810185136118d957600080fd5b6118e885823560208401611779565b92505061173f60208401611700565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b6163746976652070726f787960a01b606082015260800190565b60005b838110156119aa578181015183820152602001611992565b838111156111c45750506000910152565b600081518084526119d381602086016020860161198f565b601f01601f19169290920160200192915050565b6040815260006119fa60408301856119bb565b905060018060a01b03831660208301529392505050565b600060208284031215611a2357600080fd5b81518015158114610f9e57600080fd5b600060208284031215611a4557600080fd5b5051919050565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351611acf81601785016020880161198f565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351611b0081602884016020880161198f565b01602801949350505050565b602081526000610f9e60208301846119bb565b634e487b7160e01b600052601160045260246000fd5b600082821015611b4757611b47611b1f565b500390565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b6000816000190483118215151615611b9257611b92611b1f565b500290565b60008219821115611baa57611baa611b1f565b500190565b600081611bbe57611bbe611b1f565b506000190190565b60008251611bd881846020870161198f565b919091019291505056feb19546dff01e856fb3f010c267a7b1c60363cf8a4664e21cc89c26224620214e360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220d13c7294882759e3dd174728107e8ea9d03fb2c90d0dab9aa8f97675a9dac6a164736f6c634300080a0033",
}

BridgeFeeOracleMetaData contains all meta data concerning the BridgeFeeOracle contract.

View Source
var BridgeFeeQuoteABI = BridgeFeeQuoteMetaData.ABI

BridgeFeeQuoteABI is the input ABI used to generate the binding from. Deprecated: Use BridgeFeeQuoteMetaData.ABI instead.

View Source
var BridgeFeeQuoteBin = BridgeFeeQuoteMetaData.Bin

BridgeFeeQuoteBin is the compiled bytecode used for deploying new contracts. Deprecated: Use BridgeFeeQuoteMetaData.Bin instead.

View Source
var BridgeFeeQuoteMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"name\":\"ChainNameAlreadyExists\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ChainNameInvalid\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OracleInvalid\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"QuoteExpired\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"QuoteIndexInvalid\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"QuoteNotFound\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TokenNameAlreadyExists\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TokenNameInvalid\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"VerifySignatureFailed\",\"type\":\"error\"},{\"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\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oracle\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"string\",\"name\":\"chainName\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"tokenName\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"fee\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"gasLimit\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"expiry\",\"type\":\"uint256\"}],\"name\":\"NewQuote\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"OWNER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"UPGRADE_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_chainName\",\"type\":\"string\"}],\"name\":\"activeTokenNames\",\"outputs\":[{\"internalType\":\"string[]\",\"name\":\"\",\"type\":\"string[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"assets\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"isActive\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"chainNames\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_chainName\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_tokenName\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"_oracle\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_index\",\"type\":\"uint256\"}],\"name\":\"getQuote\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"chainName\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"tokenName\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"oracle\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"fee\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"gasLimit\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expiry\",\"type\":\"uint256\"}],\"internalType\":\"structIBridgeFeeQuote.QuoteInfo\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_id\",\"type\":\"uint256\"}],\"name\":\"getQuoteById\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"chainName\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"tokenName\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"oracle\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"fee\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"gasLimit\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expiry\",\"type\":\"uint256\"}],\"internalType\":\"structIBridgeFeeQuote.QuoteInfo\",\"name\":\"q\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_chainName\",\"type\":\"string\"}],\"name\":\"getQuoteList\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"chainName\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"tokenName\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"oracle\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"fee\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"gasLimit\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expiry\",\"type\":\"uint256\"}],\"internalType\":\"structIBridgeFeeQuote.QuoteInfo[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_chainName\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_tokenName\",\"type\":\"string\"}],\"name\":\"getQuotesByToken\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"chainName\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"tokenName\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"oracle\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"fee\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"gasLimit\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expiry\",\"type\":\"uint256\"}],\"internalType\":\"structIBridgeFeeQuote.QuoteInfo[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_oracleContract\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_maxQuoteIndex\",\"type\":\"uint256\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_chainName\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_tokenName\",\"type\":\"string\"}],\"name\":\"isActiveTokenName\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_chainName\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_tokenName\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"_fee\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_gasLimit\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_expiry\",\"type\":\"uint256\"}],\"name\":\"makeMessageHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"maxQuoteIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"oracleContract\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"proxiableUUID\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"string\",\"name\":\"chainName\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"tokenName\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"oracle\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"quoteIndex\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"fee\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"gasLimit\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expiry\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"signature\",\"type\":\"bytes\"}],\"internalType\":\"structIBridgeFeeQuote.QuoteInput[]\",\"name\":\"_inputs\",\"type\":\"tuple[]\"}],\"name\":\"quote\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"quoteNonce\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_chainName\",\"type\":\"string\"},{\"internalType\":\"string[]\",\"name\":\"_tokenNames\",\"type\":\"string[]\"}],\"name\":\"registerChain\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_chainName\",\"type\":\"string\"},{\"internalType\":\"string[]\",\"name\":\"_tokenNames\",\"type\":\"string[]\"}],\"name\":\"registerTokenName\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_chainName\",\"type\":\"string\"}],\"name\":\"supportAssets\",\"outputs\":[{\"components\":[{\"internalType\":\"bool\",\"name\":\"isActive\",\"type\":\"bool\"},{\"internalType\":\"string[]\",\"name\":\"tokenNames\",\"type\":\"string[]\"}],\"internalType\":\"structIBridgeFeeQuote.Asset\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"supportChainNames\",\"outputs\":[{\"internalType\":\"string[]\",\"name\":\"\",\"type\":\"string[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_maxQuoteIndex\",\"type\":\"uint256\"}],\"name\":\"updateMaxQuoteIndex\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_oracleContract\",\"type\":\"address\"}],\"name\":\"updateOracleContract\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"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\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
	Bin: "0x60a06040523060805234801561001457600080fd5b50608051613ddc61004c60003960008181610961015281816109a1015281816111350152818161117501526112040152613ddc6000f3fe6080604052600436106101e75760003560e01c806391d1485411610102578063cd6dc68711610095578063d547741f11610064578063d547741f146105fb578063db2231941461061b578063e58378bb1461063b578063ec5af5861461065d57600080fd5b8063cd6dc6871461057b578063d3bab58f1461059b578063d43e62c0146105bb578063d4b8c24f146105db57600080fd5b8063a8541c17116100d1578063a8541c17146104c1578063b908afa8146104ee578063bece753214610522578063c994e71a1461055b57600080fd5b806391d148541461044c578063976646b91461046c578063a217fddf1461048c578063a59f39c7146104a157600080fd5b8063398a0e6b1161017a57806352d1902d1161014957806352d1902d146103ae5780637223c6ba146103c357806385936228146103f05780638b2b25e01461042c57600080fd5b8063398a0e6b1461032e5780633dd7c98c1461035b5780633fc57c3d1461037b5780634f1ef2861461039b57600080fd5b80632c189169116101b65780632c189169146102b55780632f2ff15d146102cc57806336568abe146102ee5780633659cfe61461030e57600080fd5b806301ffc9a7146101f35780630a1d133c146102285780631b826a1b1461024a578063248a9ca31461027757600080fd5b366101ee57005b600080fd5b3480156101ff57600080fd5b5061021361020e366004613067565b610674565b60405190151581526020015b60405180910390f35b34801561023457600080fd5b5061023d6106ab565b60405161021f9190613141565b34801561025657600080fd5b5061026a610265366004613240565b610785565b60405161021f9190613274565b34801561028357600080fd5b506102a761029236600461329b565b600090815260c9602052604090206001015490565b60405190815260200161021f565b3480156102c157600080fd5b506102a761012f5481565b3480156102d857600080fd5b506102ec6102e73660046132d4565b6108a9565b005b3480156102fa57600080fd5b506102ec6103093660046132d4565b6108d3565b34801561031a57600080fd5b506102ec610329366004613304565b610956565b34801561033a57600080fd5b5061034e610349366004613240565b610a36565b60405161021f9190613396565b34801561036757600080fd5b5061034e6103763660046133f8565b610ec6565b34801561038757600080fd5b506102a761039636600461345b565b6110ee565b6102ec6103a93660046134d9565b61112a565b3480156103ba57600080fd5b506102a76111f7565b3480156103cf57600080fd5b506103e36103de36600461329b565b6112aa565b60405161021f919061351e565b3480156103fc57600080fd5b5061021361040b366004613240565b80516020818301810180516101318252928201919093012091525460ff1681565b34801561043857600080fd5b5061023d610447366004613240565b611357565b34801561045857600080fd5b506102136104673660046132d4565b611452565b34801561047857600080fd5b5061021361048736600461329b565b61147d565b34801561049857600080fd5b506102a7600081565b3480156104ad57600080fd5b506102136104bc366004613554565b6114a8565b3480156104cd57600080fd5b506104e16104dc36600461329b565b61160a565b60405161021f9190613628565b3480156104fa57600080fd5b506102a77f88aa719609f728b0c5e7fb8dd3608d5c25d497efbb3b9dd64e9251ebba10150881565b34801561052e57600080fd5b5061012d54610543906001600160a01b031681565b6040516001600160a01b03909116815260200161021f565b34801561056757600080fd5b5061021361057636600461363b565b611790565b34801561058757600080fd5b506102ec6105963660046137b1565b611b05565b3480156105a757600080fd5b506102136105b6366004613304565b611c96565b3480156105c757600080fd5b506102136105d6366004613554565b611cd8565b3480156105e757600080fd5b506102136105f63660046133f8565b611e51565b34801561060757600080fd5b506102ec6106163660046132d4565b611fb4565b34801561062757600080fd5b506104e16106363660046137dd565b611fd9565b34801561064757600080fd5b506102a7600080516020613d4083398151915281565b34801561066957600080fd5b506102a761012e5481565b60006001600160e01b03198216637965db0b60e01b14806106a557506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060610130805480602002602001604051908101604052809291908181526020016000905b8282101561077c5783829060005260206000200180546106ef9061385a565b80601f016020809104026020016040519081016040528092919081815260200182805461071b9061385a565b80156107685780601f1061073d57610100808354040283529160200191610768565b820191906000526020600020905b81548152906001019060200180831161074b57829003601f168201915b5050505050815260200190600101906106d0565b50505050905090565b604080518082019091526000815260606020820152610131826040516107ab919061388f565b9081526040805191829003602090810183208383018352805460ff161515845260018101805484518185028101850190955280855291938584019390929060009084015b8282101561089b57838290600052602060002001805461080e9061385a565b80601f016020809104026020016040519081016040528092919081815260200182805461083a9061385a565b80156108875780601f1061085c57610100808354040283529160200191610887565b820191906000526020600020905b81548152906001019060200180831161086a57829003601f168201915b5050505050815260200190600101906107ef565b505050915250909392505050565b600082815260c960205260409020600101546108c4816120c1565b6108ce83836120cb565b505050565b6001600160a01b03811633146109485760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084015b60405180910390fd5b6109528282612151565b5050565b306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016141561099f5760405162461bcd60e51b815260040161093f906138ab565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166109e8600080516020613d60833981519152546001600160a01b031690565b6001600160a01b031614610a0e5760405162461bcd60e51b815260040161093f906138f7565b610a17816121b8565b60408051600080825260208201909252610a33918391906121e2565b50565b606061013182604051610a49919061388f565b9081526040519081900360200190205460ff16610a785760405162b9a46560e61b815260040160405180910390fd5b6000610a838361234d565b6001600160401b03811115610a9a57610a9a613154565b604051908082528060200260200182016040528015610ad357816020015b610ac0612ed8565b815260200190600190039081610ab85790505b50905060008061012d60009054906101000a90046001600160a01b03166001600160a01b031663510c27ad6040518163ffffffff1660e01b8152600401600060405180830381865afa158015610b2d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610b559190810190613943565b905060005b8151811015610ebc5760005b61013187604051610b77919061388f565b90815260405190819003602001902060010154811015610ea95760005b61012e54811015610e96576000610c8b896101318b604051610bb6919061388f565b90815260200160405180910390206001018581548110610bd857610bd86139dc565b906000526020600020018054610bed9061385a565b80601f0160208091040260200160405190810160405280929190818152602001828054610c199061385a565b8015610c665780601f10610c3b57610100808354040283529160200191610c66565b820191906000526020600020905b815481529060010190602001808311610c4957829003601f168201915b5050505050878781518110610c7d57610c7d6139dc565b6020026020010151856124ae565b90504261013282604051610c9f919061388f565b90815260200160405180910390206003015410610e83576040518060e0016040528061013283604051610cd2919061388f565b90815260200160405180910390206000015481526020018a81526020016101318b604051610d00919061388f565b90815260200160405180910390206001018581548110610d2257610d226139dc565b906000526020600020018054610d379061385a565b80601f0160208091040260200160405190810160405280929190818152602001828054610d639061385a565b8015610db05780601f10610d8557610100808354040283529160200191610db0565b820191906000526020600020905b815481529060010190602001808311610d9357829003601f168201915b50505050508152602001868681518110610dcc57610dcc6139dc565b60200260200101516001600160a01b0316815260200161013283604051610df3919061388f565b908152602001604051809103902060010154815260200161013283604051610e1b919061388f565b908152602001604051809103902060020154815260200161013283604051610e43919061388f565b908152602001604051809103902060030154815250878781518110610e6a57610e6a6139dc565b6020908102919091010152610e80600187613a08565b95505b5080610e8e81613a20565b915050610b94565b5080610ea181613a20565b915050610b66565b5080610eb481613a20565b915050610b5a565b5091949350505050565b606061013183604051610ed9919061388f565b9081526040519081900360200190205460ff16610f085760405162b9a46560e61b815260040160405180910390fd5b61012d54604080516380dce16960e01b815290516000926001600160a01b0316916380dce1699160048083019260209291908290030181865afa158015610f53573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f779190613a3b565b9050600061012e546001600160401b03811115610f9657610f96613154565b604051908082528060200260200182016040528015610fcf57816020015b610fbc612ed8565b815260200190600190039081610fb45790505b50905060005b61012e548110156110e5576000610fee878786856124ae565b90506040518060e001604052806101328360405161100c919061388f565b9081526020016040518091039020600001548152602001888152602001878152602001856001600160a01b031681526020016101328360405161104f919061388f565b908152602001604051809103902060010154815260200161013283604051611077919061388f565b90815260200160405180910390206002015481526020016101328360405161109f919061388f565b9081526020016040518091039020600301548152508383815181106110c6576110c66139dc565b60200260200101819052505080806110dd90613a20565b915050610fd5565b50949350505050565b60008585858585604051602001611109959493929190613a58565b60405160208183030381529060405280519060200120905095945050505050565b306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614156111735760405162461bcd60e51b815260040161093f906138ab565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166111bc600080516020613d60833981519152546001600160a01b031690565b6001600160a01b0316146111e25760405162461bcd60e51b815260040161093f906138f7565b6111eb826121b8565b610952828260016121e2565b6000306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146112975760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c60448201527f6c6564207468726f7567682064656c656761746563616c6c0000000000000000606482015260840161093f565b50600080516020613d6083398151915290565b61013081815481106112bb57600080fd5b9060005260206000200160009150905080546112d69061385a565b80601f01602080910402602001604051908101604052809291908181526020018280546113029061385a565b801561134f5780601f106113245761010080835404028352916020019161134f565b820191906000526020600020905b81548152906001019060200180831161133257829003601f168201915b505050505081565b60606101318260405161136a919061388f565b9081526020016040518091039020600101805480602002602001604051908101604052809291908181526020016000905b828210156114475783829060005260206000200180546113ba9061385a565b80601f01602080910402602001604051908101604052809291908181526020018280546113e69061385a565b80156114335780601f1061140857610100808354040283529160200191611433565b820191906000526020600020905b81548152906001019060200180831161141657829003601f168201915b50505050508152602001906001019061139b565b505050509050919050565b600091825260c9602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6000600080516020613d40833981519152611497816120c1565b61012e839055600191505b50919050565b6000600080516020613d408339815191526114c2816120c1565b610131846040516114d3919061388f565b9081526040519081900360200190205460ff161561150457604051630bb9107160e11b815260040160405180910390fd5b604080516020808201909252600090528451908501207fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47014156115595760405162b9a46560e61b815260040160405180910390fd5b604080518082018252600181526020810185905290516101319061157e90879061388f565b908152604051602091819003820190208251815460ff191690151517815582820151805191926115b692600185019290910190612f1e565b5050610130805460018101825560009190915285516115ff92507f2f605e086faac1d93117bbfbc18835d434e9405fadc1ca66faf4b864746daf34909101906020870190612f7b565b506001949350505050565b611612612ed8565b600082815261013360205260408120805461162c9061385a565b80601f01602080910402602001604051908101604052809291908181526020018280546116589061385a565b80156116a55780601f1061167a576101008083540402835291602001916116a5565b820191906000526020600020905b81548152906001019060200180831161168857829003601f168201915b505050505090508051600014156116cf5760405163cf533f4960e01b815260040160405180910390fd5b60008060006116dd846124f6565b509250925092506040518060e00160405280878152602001848152602001838152602001826001600160a01b0316815260200161013286604051611721919061388f565b908152602001604051809103902060010154815260200161013286604051611749919061388f565b908152602001604051809103902060020154815260200161013286604051611771919061388f565b9081526040519081900360200190206003015490529695505050505050565b600061179a61251f565b60005b8251811015611af1576117c88382815181106117bb576117bb6139dc565b6020026020010151612579565b6117ea8382815181106117dd576117dd6139dc565b60200260200101516126cd565b600061186c848381518110611801576118016139dc565b60200260200101516000015185848151811061181f5761181f6139dc565b60200260200101516020015186858151811061183d5761183d6139dc565b60200260200101516040015187868151811061185b5761185b6139dc565b6020026020010151606001516124ae565b9050600061013282604051611881919061388f565b9081526040519081900360200190205411156118d9576101336000610132836040516118ad919061388f565b908152602001604051809103902060000154815260200190815260200160002060006118d99190612ffb565b604051806080016040528061012f5481526020018584815181106118ff576118ff6139dc565b6020026020010151608001518152602001858481518110611922576119226139dc565b602002602001015160a001518152602001858481518110611945576119456139dc565b602002602001015160c0015181525061013282604051611965919061388f565b90815260408051602092819003830190208351815583830151600182015583820151600282015560609093015160039093019290925561012f54600090815261013382529190912082516119bb92840190612f7b565b508382815181106119ce576119ce6139dc565b6020026020010151600001516040516119e7919061388f565b6040518091039020848381518110611a0157611a016139dc565b6020026020010151604001516001600160a01b031661012f547f0b48a34dfbe17b8e2330b80c7d240dd45b1cdb6aee27ebaaee4edb666318e4d6878681518110611a4d57611a4d6139dc565b602002602001015160200151888781518110611a6b57611a6b6139dc565b602002602001015160800151898881518110611a8957611a896139dc565b602002602001015160a001518a8981518110611aa757611aa76139dc565b602002602001015160c00151604051611ac39493929190613a9b565b60405180910390a461012f54611ada906001613a08565b61012f555080611ae981613a20565b91505061179d565b5060019050611b00600160fb55565b919050565b600054610100900460ff1615808015611b255750600054600160ff909116105b80611b3f5750303b158015611b3f575060005460ff166001145b611ba25760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840161093f565b6000805460ff191660011790558015611bc5576000805461ff0019166101001790555b61012d80546001600160a01b0319166001600160a01b03851617905561012e829055611bef612791565b611bf7612791565b611bff6127ba565b611c0a6000336120cb565b611c347f88aa719609f728b0c5e7fb8dd3608d5c25d497efbb3b9dd64e9251ebba101508336120cb565b611c4c600080516020613d40833981519152336120cb565b80156108ce576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a1505050565b6000600080516020613d40833981519152611cb0816120c1565b61012d80546001600160a01b0385166001600160a01b03199091161790556001915050919050565b6000600080516020613d40833981519152611cf2816120c1565b61013184604051611d03919061388f565b9081526040519081900360200190205460ff16611d325760405162b9a46560e61b815260040160405180910390fd5b60005b83518110156115ff57611d7960405180602001604052806000815250858381518110611d6357611d636139dc565b60200260200101516124e090919063ffffffff16565b15611d9757604051637557bb2f60e11b815260040160405180910390fd5b611dba85858381518110611dad57611dad6139dc565b6020026020010151611e51565b15611dd857604051634234cba560e01b815260040160405180910390fd5b61013185604051611de9919061388f565b9081526020016040518091039020600101848281518110611e0c57611e0c6139dc565b60209081029190910181015182546001810184556000938452928290208151611e3e9491909101929190910190612f7b565b5080611e4981613a20565b915050611d35565b60008061013184604051611e65919061388f565b9081526040805191829003602090810183208383018352805460ff161515845260018101805484518185028101850190955280855291938584019390929060009084015b82821015611f55578382906000526020600020018054611ec89061385a565b80601f0160208091040260200160405190810160405280929190818152602001828054611ef49061385a565b8015611f415780601f10611f1657610100808354040283529160200191611f41565b820191906000526020600020905b815481529060010190602001808311611f2457829003601f168201915b505050505081526020019060010190611ea9565b5050505081525050905060005b816020015151811015611fa957611f898483602001518381518110611d6357611d636139dc565b15611f9757505190506106a5565b80611fa181613a20565b915050611f62565b506000949350505050565b600082815260c96020526040902060010154611fcf816120c1565b6108ce8383612151565b611fe1612ed8565b6000611fef868686866124ae565b90506040518060e001604052806101328360405161200d919061388f565b9081526020016040518091039020600001548152602001878152602001868152602001856001600160a01b0316815260200161013283604051612050919061388f565b908152602001604051809103902060010154815260200161013283604051612078919061388f565b9081526020016040518091039020600201548152602001610132836040516120a0919061388f565b9081526020016040518091039020600301548152509150505b949350505050565b610a3381336127e9565b6120d58282611452565b61095257600082815260c9602090815260408083206001600160a01b03851684529091529020805460ff1916600117905561210d3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b61215b8282611452565b1561095257600082815260c9602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b7f88aa719609f728b0c5e7fb8dd3608d5c25d497efbb3b9dd64e9251ebba101508610952816120c1565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff1615612215576108ce83612842565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa92505050801561226f575060408051601f3d908101601f1916820190925261226c91810190613aca565b60015b6122d25760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b606482015260840161093f565b600080516020613d6083398151915281146123415760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b606482015260840161093f565b506108ce8383836128de565b60008060009050600061012d60009054906101000a90046001600160a01b03166001600160a01b031663510c27ad6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156123aa573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526123d29190810190613943565b905060005b81518110156124a55760005b610131866040516123f4919061388f565b908152604051908190036020019020600101548110156124925760005b61012e5481101561247f576000612433886101318a604051610bb6919061388f565b90504261013282604051612447919061388f565b9081526020016040518091039020600301541061246c57612469600187613a08565b95505b508061247781613a20565b915050612411565b508061248a81613a20565b9150506123e3565b508061249d81613a20565b9150506123d7565b50909392505050565b6060848484846040516020016124c79493929190613ae3565b6040516020818303038152906040529050949350505050565b8051602091820120825192909101919091201490565b606080600080848060200190518101906125109190613b6a565b92989197509550909350915050565b600260fb5414156125725760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161093f565b600260fb55565b80516040516101319161258b9161388f565b9081526040519081900360200190205460ff166125ba5760405162b9a46560e61b815260040160405180910390fd5b6125cc81600001518260200151611e51565b6125e957604051637557bb2f60e11b815260040160405180910390fd5b61012d548151604080840151905163d10c106160e01b81526001600160a01b039093169263d10c106192612621929091600401613be7565b6020604051808303816000875af1158015612640573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126649190613c11565b61268157604051635a10f29160e11b815260040160405180910390fd5b61012e548160600151106126a85760405163336662f360e21b815260040160405180910390fd5b428160c001511015610a3357604051638727a7f960e01b815260040160405180910390fd5b60006126f08260000151836020015184608001518560a001518660c001516110ee565b905060006127398360e00151612733847f19457468657265756d205369676e6564204d6573736167653a0a3332000000006000908152601c91909152603c902090565b90612909565b9050806001600160a01b031683604001516001600160a01b0316146108ce57604080840151905163ea575af760e01b81526001600160a01b039182166004820152908216602482015260440161093f565b600160fb55565b600054610100900460ff166127b85760405162461bcd60e51b815260040161093f90613c33565b565b600054610100900460ff166127e15760405162461bcd60e51b815260040161093f90613c33565b6127b861292d565b6127f38282611452565b6109525761280081612954565b61280b836020612966565b60405160200161281c929190613c7e565b60408051601f198184030181529082905262461bcd60e51b825261093f9160040161351e565b6001600160a01b0381163b6128af5760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b606482015260840161093f565b600080516020613d6083398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b6128e783612b08565b6000825111806128f45750805b156108ce576129038383612b48565b50505050565b60008060006129188585612b6d565b9150915061292581612bb3565b509392505050565b600054610100900460ff1661278a5760405162461bcd60e51b815260040161093f90613c33565b60606106a56001600160a01b03831660145b60606000612975836002613cf3565b612980906002613a08565b6001600160401b0381111561299757612997613154565b6040519080825280601f01601f1916602001820160405280156129c1576020820181803683370190505b509050600360fc1b816000815181106129dc576129dc6139dc565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110612a0b57612a0b6139dc565b60200101906001600160f81b031916908160001a9053506000612a2f846002613cf3565b612a3a906001613a08565b90505b6001811115612ab2576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110612a6e57612a6e6139dc565b1a60f81b828281518110612a8457612a846139dc565b60200101906001600160f81b031916908160001a90535060049490941c93612aab81613d12565b9050612a3d565b508315612b015760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640161093f565b9392505050565b612b1181612842565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b6060612b018383604051806060016040528060278152602001613d8060279139612d01565b600080825160411415612ba45760208301516040840151606085015160001a612b9887828585612d79565b94509450505050612bac565b506000905060025b9250929050565b6000816004811115612bc757612bc7613d29565b1415612bd05750565b6001816004811115612be457612be4613d29565b1415612c325760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604482015260640161093f565b6002816004811115612c4657612c46613d29565b1415612c945760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604482015260640161093f565b6003816004811115612ca857612ca8613d29565b1415610a335760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b606482015260840161093f565b6060600080856001600160a01b031685604051612d1e919061388f565b600060405180830381855af49150503d8060008114612d59576040519150601f19603f3d011682016040523d82523d6000602084013e612d5e565b606091505b5091509150612d6f86838387612e3d565b9695505050505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115612db05750600090506003612e34565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612e04573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116612e2d57600060019250925050612e34565b9150600090505b94509492505050565b60608315612ea9578251612ea2576001600160a01b0385163b612ea25760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161093f565b50816120b9565b6120b98383815115612ebe5781518083602001fd5b8060405162461bcd60e51b815260040161093f919061351e565b6040518060e0016040528060008152602001606081526020016060815260200160006001600160a01b031681526020016000815260200160008152602001600081525090565b828054828255906000526020600020908101928215612f6b579160200282015b82811115612f6b5782518051612f5b918491602090910190612f7b565b5091602001919060010190612f3e565b50612f77929150613035565b5090565b828054612f879061385a565b90600052602060002090601f016020900481019282612fa95760008555612fef565b82601f10612fc257805160ff1916838001178555612fef565b82800160010185558215612fef579182015b82811115612fef578251825591602001919060010190612fd4565b50612f77929150613052565b5080546130079061385a565b6000825580601f10613017575050565b601f016020900490600052602060002090810190610a339190613052565b80821115612f775760006130498282612ffb565b50600101613035565b5b80821115612f775760008155600101613053565b60006020828403121561307957600080fd5b81356001600160e01b031981168114612b0157600080fd5b60005b838110156130ac578181015183820152602001613094565b838111156129035750506000910152565b600081518084526130d5816020860160208601613091565b601f01601f19169290920160200192915050565b600082825180855260208086019550808260051b84010181860160005b8481101561313457601f198684030189526131228383516130bd565b98840198925090830190600101613106565b5090979650505050505050565b602081526000612b0160208301846130e9565b634e487b7160e01b600052604160045260246000fd5b60405161010081016001600160401b038111828210171561318d5761318d613154565b60405290565b604051601f8201601f191681016001600160401b03811182821017156131bb576131bb613154565b604052919050565b60006001600160401b038211156131dc576131dc613154565b50601f01601f191660200190565b600082601f8301126131fb57600080fd5b813561320e613209826131c3565b613193565b81815284602083860101111561322357600080fd5b816020850160208301376000918101602001919091529392505050565b60006020828403121561325257600080fd5b81356001600160401b0381111561326857600080fd5b6120b9848285016131ea565b60208152815115156020820152600060208301516040808401526120b960608401826130e9565b6000602082840312156132ad57600080fd5b5035919050565b6001600160a01b0381168114610a3357600080fd5b8035611b00816132b4565b600080604083850312156132e757600080fd5b8235915060208301356132f9816132b4565b809150509250929050565b60006020828403121561331657600080fd5b8135612b01816132b4565b805182526000602082015160e0602085015261334060e08501826130bd565b90506040830151848203604086015261335982826130bd565b6060858101516001600160a01b0316908701526080808601519087015260a0858101519087015260c0948501519490950193909352509192915050565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b828110156133eb57603f198886030184526133d9858351613321565b945092850192908501906001016133bd565b5092979650505050505050565b6000806040838503121561340b57600080fd5b82356001600160401b038082111561342257600080fd5b61342e868387016131ea565b9350602085013591508082111561344457600080fd5b50613451858286016131ea565b9150509250929050565b600080600080600060a0868803121561347357600080fd5b85356001600160401b038082111561348a57600080fd5b61349689838a016131ea565b965060208801359150808211156134ac57600080fd5b506134b9888289016131ea565b959895975050505060408401359360608101359360809091013592509050565b600080604083850312156134ec57600080fd5b82356134f7816132b4565b915060208301356001600160401b0381111561351257600080fd5b613451858286016131ea565b602081526000612b0160208301846130bd565b60006001600160401b0382111561354a5761354a613154565b5060051b60200190565b6000806040838503121561356757600080fd5b82356001600160401b038082111561357e57600080fd5b61358a868387016131ea565b93506020915081850135818111156135a157600080fd5b8501601f810187136135b257600080fd5b80356135c061320982613531565b81815260059190911b820184019084810190898311156135df57600080fd5b8584015b83811015613617578035868111156135fb5760008081fd5b6136098c89838901016131ea565b8452509186019186016135e3565b508096505050505050509250929050565b602081526000612b016020830184613321565b6000602080838503121561364e57600080fd5b82356001600160401b038082111561366557600080fd5b818501915085601f83011261367957600080fd5b813561368761320982613531565b81815260059190911b830184019084810190888311156136a657600080fd5b8585015b838110156137a4578035858111156136c25760008081fd5b8601610100818c03601f19018113156136db5760008081fd5b6136e361316a565b89830135888111156136f55760008081fd5b6137038e8c838701016131ea565b8252506040808401358981111561371a5760008081fd5b6137288f8d838801016131ea565b8c84015250606061373a8186016132c9565b828401526080915081850135818401525060a0808501358284015260c0915081850135818401525060e080850135828401528385013593508984111561378257600091508182fd5b6137908f8d868801016131ea565b9083015250855250509186019186016136aa565b5098975050505050505050565b600080604083850312156137c457600080fd5b82356137cf816132b4565b946020939093013593505050565b600080600080608085870312156137f357600080fd5b84356001600160401b038082111561380a57600080fd5b613816888389016131ea565b9550602087013591508082111561382c57600080fd5b50613839878288016131ea565b935050604085013561384a816132b4565b9396929550929360600135925050565b600181811c9082168061386e57607f821691505b602082108114156114a257634e487b7160e01b600052602260045260246000fd5b600082516138a1818460208701613091565b9190910192915050565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b6163746976652070726f787960a01b606082015260800190565b6000602080838503121561395657600080fd5b82516001600160401b0381111561396c57600080fd5b8301601f8101851361397d57600080fd5b805161398b61320982613531565b81815260059190911b820183019083810190878311156139aa57600080fd5b928401925b828410156139d15783516139c2816132b4565b825292840192908401906139af565b979650505050505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60008219821115613a1b57613a1b6139f2565b500190565b6000600019821415613a3457613a346139f2565b5060010190565b600060208284031215613a4d57600080fd5b8151612b01816132b4565b60a081526000613a6b60a08301886130bd565b8281036020840152613a7d81886130bd565b60408401969096525050606081019290925260809091015292915050565b608081526000613aae60808301876130bd565b6020830195909552506040810192909252606090910152919050565b600060208284031215613adc57600080fd5b5051919050565b608081526000613af660808301876130bd565b8281036020840152613b0881876130bd565b6001600160a01b0395909516604084015250506060015292915050565b600082601f830112613b3657600080fd5b8151613b44613209826131c3565b818152846020838601011115613b5957600080fd5b6120b9826020830160208701613091565b60008060008060808587031215613b8057600080fd5b84516001600160401b0380821115613b9757600080fd5b613ba388838901613b25565b95506020870151915080821115613bb957600080fd5b50613bc687828801613b25565b9350506040850151613bd7816132b4565b6060959095015193969295505050565b604081526000613bfa60408301856130bd565b905060018060a01b03831660208301529392505050565b600060208284031215613c2357600080fd5b81518015158114612b0157600080fd5b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351613cb6816017850160208801613091565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351613ce7816028840160208801613091565b01602801949350505050565b6000816000190483118215151615613d0d57613d0d6139f2565b500290565b600081613d2157613d216139f2565b506000190190565b634e487b7160e01b600052602160045260246000fdfeb19546dff01e856fb3f010c267a7b1c60363cf8a4664e21cc89c26224620214e360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220f6669836a8af07faaa193198bb3ffa530de5fd1dc7a633291aef62dfa423305164736f6c634300080a0033",
}

BridgeFeeQuoteMetaData contains all meta data concerning the BridgeFeeQuote contract.

View Source
var BridgeProxyABI = BridgeProxyMetaData.ABI

BridgeProxyABI is the input ABI used to generate the binding from. Deprecated: Use BridgeProxyMetaData.ABI instead.

View Source
var BridgeProxyBin = BridgeProxyMetaData.Bin

BridgeProxyBin is the compiled bytecode used for deploying new contracts. Deprecated: Use BridgeProxyMetaData.Bin instead.

View Source
var BridgeProxyMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"name\":\"AlreadyInitialized\",\"type\":\"error\"},{\"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\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_logic\",\"type\":\"address\"}],\"name\":\"init\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
	Bin: "0x608060405234801561001057600080fd5b50610284806100206000396000f3fe6080604052600436106100225760003560e01c806319ab453c1461003957610031565b366100315761002f610059565b005b61002f610059565b34801561004557600080fd5b5061002f61005436600461021e565b61006b565b6100696100646100d0565b610108565b565b600061009e7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b6001600160a01b0316146100c45760405162dc149f60e41b815260040160405180910390fd5b6100cd8161012c565b50565b60006101037f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b905090565b3660008037600080366000845af43d6000803e808015610127573d6000f35b3d6000fd5b6101358161016c565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b6001600160a01b0381163b6101dd5760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b606482015260840160405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b60006020828403121561023057600080fd5b81356001600160a01b038116811461024757600080fd5b939250505056fea2646970667358221220f5fd2c6b493d2d8c8fccb10ef0e5ed3a7f4f1914bae22833db4f76dbce6da4fe64736f6c634300080a0033",
}

BridgeProxyMetaData contains all meta data concerning the BridgeProxy contract.

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: "0x60806040526040516107353803806107358339810160408190526100229161031e565b61002e82826000610035565b505061043b565b61003e8361006b565b60008251118061004b5750805b156100665761006483836100ab60201b6100291760201c565b505b505050565b610074816100d7565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606100d0838360405180606001604052806027815260200161070e602791396101a9565b9392505050565b6100ea8161022260201b6100551760201c565b6101515760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b60648201526084015b60405180910390fd5b806101887f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b61023160201b6100641760201c565b80546001600160a01b0319166001600160a01b039290921691909117905550565b6060600080856001600160a01b0316856040516101c691906103ec565b600060405180830381855af49150503d8060008114610201576040519150601f19603f3d011682016040523d82523d6000602084013e610206565b606091505b50909250905061021886838387610234565b9695505050505050565b6001600160a01b03163b151590565b90565b606083156102a0578251610299576001600160a01b0385163b6102995760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610148565b50816102aa565b6102aa83836102b2565b949350505050565b8151156102c25781518083602001fd5b8060405162461bcd60e51b81526004016101489190610408565b634e487b7160e01b600052604160045260246000fd5b60005b8381101561030d5781810151838201526020016102f5565b838111156100645750506000910152565b6000806040838503121561033157600080fd5b82516001600160a01b038116811461034857600080fd5b60208401519092506001600160401b038082111561036557600080fd5b818501915085601f83011261037957600080fd5b81518181111561038b5761038b6102dc565b604051601f8201601f19908116603f011681019083821181831017156103b3576103b36102dc565b816040528281528860208487010111156103cc57600080fd5b6103dd8360208301602088016102f2565b80955050505050509250929050565b600082516103fe8184602087016102f2565b9190910192915050565b60208152600082518060208401526104278160408501602087016102f2565b601f01601f19169190910160400192915050565b6102c48061044a6000396000f3fe60806040523661001357610011610017565b005b6100115b610027610022610067565b61009f565b565b606061004e8383604051806060016040528060278152602001610268602791396100c3565b9392505050565b6001600160a01b03163b151590565b90565b600061009a7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b905090565b3660008037600080366000845af43d6000803e8080156100be573d6000f35b3d6000fd5b6060600080856001600160a01b0316856040516100e09190610218565b600060405180830381855af49150503d806000811461011b576040519150601f19603f3d011682016040523d82523d6000602084013e610120565b606091505b50915091506101318683838761013b565b9695505050505050565b606083156101ac5782516101a5576001600160a01b0385163b6101a55760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064015b60405180910390fd5b50816101b6565b6101b683836101be565b949350505050565b8151156101ce5781518083602001fd5b8060405162461bcd60e51b815260040161019c9190610234565b60005b838110156102035781810151838201526020016101eb565b83811115610212576000848401525b50505050565b6000825161022a8184602087016101e8565b9190910192915050565b60208152600082518060208401526102538160408501602087016101e8565b601f01601f1916919091016040019291505056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220475ced644e06a248756d0e037350d1462b7729c2c9d4d3d195ec7463a01673af64736f6c634300080a0033416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564",
}

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\":\"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\":\"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\":\"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: "0x60a060405261100160805234801561001657600080fd5b5060805161188461004e6000396000818161052201528181610562015281816106180152818161065801526106e701526118846000f3fe6080604052600436106101095760003560e01c806370a08231116100955780639dc29fac116100645780639dc29fac146102bc578063a9059cbb146102dc578063dd62ed3e146102fc578063de7ea79d14610342578063f2fde38b1461036257600080fd5b806370a0823114610234578063715018a61461026a5780638da5cb5b1461027f57806395d89b41146102a757600080fd5b8063313ce567116100dc578063313ce567146101a85780633659cfe6146101ca57806340c10f19146101ec5780634f1ef2861461020c57806352d1902d1461021f57600080fd5b806306fdde031461010e578063095ea7b31461013957806318160ddd1461016957806323b872dd14610188575b600080fd5b34801561011a57600080fd5b50610123610382565b60405161013091906113d1565b60405180910390f35b34801561014557600080fd5b50610159610154366004611420565b610414565b6040519015158152602001610130565b34801561017557600080fd5b5060cc545b604051908152602001610130565b34801561019457600080fd5b506101596101a336600461144a565b61046a565b3480156101b457600080fd5b5060cb5460405160ff9091168152602001610130565b3480156101d657600080fd5b506101ea6101e5366004611486565b610517565b005b3480156101f857600080fd5b506101ea610207366004611420565b6105f7565b6101ea61021a36600461152d565b61060d565b34801561022b57600080fd5b5061017a6106da565b34801561024057600080fd5b5061017a61024f366004611486565b6001600160a01b0316600090815260cd602052604090205490565b34801561027657600080fd5b506101ea61078d565b34801561028b57600080fd5b506097546040516001600160a01b039091168152602001610130565b3480156102b357600080fd5b506101236107a1565b3480156102c857600080fd5b506101ea6102d7366004611420565b6107b0565b3480156102e857600080fd5b506101596102f7366004611420565b6107c2565b34801561030857600080fd5b5061017a61031736600461158f565b6001600160a01b03918216600090815260ce6020908152604080832093909416825291909152205490565b34801561034e57600080fd5b506101ea61035d3660046115e2565b6107d8565b34801561036e57600080fd5b506101ea61037d366004611486565b610947565b606060c980546103919061166f565b80601f01602080910402602001604051908101604052809291908181526020018280546103bd9061166f565b801561040a5780601f106103df5761010080835404028352916020019161040a565b820191906000526020600020905b8154815290600101906020018083116103ed57829003601f168201915b5050505050905090565b60006104213384846109bd565b6040518281526001600160a01b0384169033907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259060200160405180910390a350600192915050565b6001600160a01b038316600090815260ce60209081526040808320338452909152812054828110156104ed5760405162461bcd60e51b815260206004820152602160248201527f7472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636044820152606560f81b60648201526084015b60405180910390fd5b61050185336104fc86856116c0565b6109bd565b61050c858585610a3f565b506001949350505050565b306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614156105605760405162461bcd60e51b81526004016104e4906116d7565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166105a9600080516020611808833981519152546001600160a01b031690565b6001600160a01b0316146105cf5760405162461bcd60e51b81526004016104e490611723565b6105d881610bee565b604080516000808252602082019092526105f491839190610bf6565b50565b6105ff610d66565b6106098282610dc0565b5050565b306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614156106565760405162461bcd60e51b81526004016104e4906116d7565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031661069f600080516020611808833981519152546001600160a01b031690565b6001600160a01b0316146106c55760405162461bcd60e51b81526004016104e490611723565b6106ce82610bee565b61060982826001610bf6565b6000306001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461077a5760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c60448201527f6c6564207468726f7567682064656c656761746563616c6c000000000000000060648201526084016104e4565b5060008051602061180883398151915290565b610795610d66565b61079f6000610e9f565b565b606060ca80546103919061166f565b6107b8610d66565b6106098282610ef1565b60006107cf338484610a3f565b50600192915050565b600054610100900460ff16158080156107f85750600054600160ff909116105b806108125750303b158015610812575060005460ff166001145b6108755760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016104e4565b6000805460ff191660011790558015610898576000805461ff0019166101001790555b84516108ab9060c990602088019061130c565b5083516108bf9060ca90602087019061130c565b5060cb805460ff191660ff851617905560cf80546001600160a01b0319166001600160a01b0384161790556108f2611033565b6108fa611062565b8015610940576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050505050565b61094f610d66565b6001600160a01b0381166109b45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104e4565b6105f481610e9f565b6001600160a01b038316610a135760405162461bcd60e51b815260206004820152601d60248201527f617070726f76652066726f6d20746865207a65726f206164647265737300000060448201526064016104e4565b6001600160a01b03928316600090815260ce602090815260408083209490951682529290925291902055565b6001600160a01b038316610a955760405162461bcd60e51b815260206004820152601e60248201527f7472616e736665722066726f6d20746865207a65726f2061646472657373000060448201526064016104e4565b6001600160a01b038216610aeb5760405162461bcd60e51b815260206004820152601c60248201527f7472616e7366657220746f20746865207a65726f20616464726573730000000060448201526064016104e4565b6001600160a01b038316600090815260cd602052604090205481811015610b545760405162461bcd60e51b815260206004820152601f60248201527f7472616e7366657220616d6f756e7420657863656564732062616c616e63650060448201526064016104e4565b610b5e82826116c0565b6001600160a01b03808616600090815260cd60205260408082209390935590851681529081208054849290610b9490849061176f565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610be091815260200190565b60405180910390a350505050565b6105f4610d66565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff1615610c2e57610c2983611089565b505050565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610c88575060408051601f3d908101601f19168201909252610c8591810190611787565b60015b610ceb5760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b60648201526084016104e4565b6000805160206118088339815191528114610d5a5760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b60648201526084016104e4565b50610c29838383611125565b6097546001600160a01b0316331461079f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104e4565b6001600160a01b038216610e165760405162461bcd60e51b815260206004820152601860248201527f6d696e7420746f20746865207a65726f2061646472657373000000000000000060448201526064016104e4565b8060cc6000828254610e28919061176f565b90915550506001600160a01b038216600090815260cd602052604081208054839290610e5590849061176f565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b609780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216610f475760405162461bcd60e51b815260206004820152601a60248201527f6275726e2066726f6d20746865207a65726f206164647265737300000000000060448201526064016104e4565b6001600160a01b038216600090815260cd602052604090205481811015610fb05760405162461bcd60e51b815260206004820152601b60248201527f6275726e20616d6f756e7420657863656564732062616c616e6365000000000060448201526064016104e4565b610fba82826116c0565b6001600160a01b038416600090815260cd602052604081209190915560cc8054849290610fe89084906116c0565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b600054610100900460ff1661105a5760405162461bcd60e51b81526004016104e4906117a0565b61079f611150565b600054610100900460ff1661079f5760405162461bcd60e51b81526004016104e4906117a0565b6001600160a01b0381163b6110f65760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b60648201526084016104e4565b60008051602061180883398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b61112e83611180565b60008251118061113b5750805b15610c295761114a83836111c0565b50505050565b600054610100900460ff166111775760405162461bcd60e51b81526004016104e4906117a0565b61079f33610e9f565b61118981611089565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606111e58383604051806060016040528060278152602001611828602791396111ec565b9392505050565b6060600080856001600160a01b03168560405161120991906117eb565b600060405180830381855af49150503d8060008114611244576040519150601f19603f3d011682016040523d82523d6000602084013e611249565b606091505b509150915061125a86838387611264565b9695505050505050565b606083156112d05782516112c9576001600160a01b0385163b6112c95760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016104e4565b50816112da565b6112da83836112e2565b949350505050565b8151156112f25781518083602001fd5b8060405162461bcd60e51b81526004016104e491906113d1565b8280546113189061166f565b90600052602060002090601f01602090048101928261133a5760008555611380565b82601f1061135357805160ff1916838001178555611380565b82800160010185558215611380579182015b82811115611380578251825591602001919060010190611365565b5061138c929150611390565b5090565b5b8082111561138c5760008155600101611391565b60005b838110156113c05781810151838201526020016113a8565b8381111561114a5750506000910152565b60208152600082518060208401526113f08160408501602087016113a5565b601f01601f19169190910160400192915050565b80356001600160a01b038116811461141b57600080fd5b919050565b6000806040838503121561143357600080fd5b61143c83611404565b946020939093013593505050565b60008060006060848603121561145f57600080fd5b61146884611404565b925061147660208501611404565b9150604084013590509250925092565b60006020828403121561149857600080fd5b6111e582611404565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156114d2576114d26114a1565b604051601f8501601f19908116603f011681019082821181831017156114fa576114fa6114a1565b8160405280935085815286868601111561151357600080fd5b858560208301376000602087830101525050509392505050565b6000806040838503121561154057600080fd5b61154983611404565b9150602083013567ffffffffffffffff81111561156557600080fd5b8301601f8101851361157657600080fd5b611585858235602084016114b7565b9150509250929050565b600080604083850312156115a257600080fd5b6115ab83611404565b91506115b960208401611404565b90509250929050565b600082601f8301126115d357600080fd5b6111e5838335602085016114b7565b600080600080608085870312156115f857600080fd5b843567ffffffffffffffff8082111561161057600080fd5b61161c888389016115c2565b9550602087013591508082111561163257600080fd5b5061163f878288016115c2565b935050604085013560ff8116811461165657600080fd5b915061166460608601611404565b905092959194509250565b600181811c9082168061168357607f821691505b602082108114156116a457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000828210156116d2576116d26116aa565b500390565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b6163746976652070726f787960a01b606082015260800190565b60008219821115611782576117826116aa565b500190565b60006020828403121561179957600080fd5b5051919050565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b600082516117fd8184602087016113a5565b919091019291505056fe360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220c24d636966a60df9636041ea92ff12a963fc67961fabb8564b1631506b7785e864736f6c634300080a0033",
}

FIP20UpgradableMetaData contains all meta data concerning the FIP20Upgradable contract.

View Source
var IBridgeCallContextABI = IBridgeCallContextMetaData.ABI

IBridgeCallContextABI is the input ABI used to generate the binding from. Deprecated: Use IBridgeCallContextMetaData.ABI instead.

View Source
var IBridgeCallContextMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_refund\",\"type\":\"address\"},{\"internalType\":\"address[]\",\"name\":\"_tokens\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_amounts\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"_memo\",\"type\":\"bytes\"}],\"name\":\"onBridgeCall\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_msg\",\"type\":\"bytes\"}],\"name\":\"onRevert\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

IBridgeCallContextMetaData contains all meta data concerning the IBridgeCallContext 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\":true,\"internalType\":\"address\",\"name\":\"_receiver\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_txOrigin\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_eventNonce\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"_dstChain\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"_tokens\",\"type\":\"address[]\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"_amounts\",\"type\":\"uint256[]\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_quoteId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"_memo\",\"type\":\"bytes\"}],\"name\":\"BridgeCallEvent\",\"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\":false,\"internalType\":\"uint256\",\"name\":\"_eventNonce\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"_chain\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"_errReason\",\"type\":\"string\"}],\"name\":\"ExecuteClaimEvent\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_dstChain\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"_refund\",\"type\":\"address\"},{\"internalType\":\"address[]\",\"name\":\"_tokens\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_amounts\",\"type\":\"uint256[]\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"_quoteId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_memo\",\"type\":\"bytes\"}],\"name\":\"bridgeCall\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"_eventNonce\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"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\":\"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\":\"string\",\"name\":\"_chain\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"_eventNonce\",\"type\":\"uint256\"}],\"name\":\"executeClaim\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"_result\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_chain\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"_externalAddress\",\"type\":\"address\"}],\"name\":\"hasOracle\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"_result\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_chain\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"_externalAddress\",\"type\":\"address\"}],\"name\":\"isOracleOnline\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"_result\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

ICrosschainMetaData contains all meta data concerning the ICrosschain contract.

View Source
var IErrorABI = IErrorMetaData.ABI

IErrorABI is the input ABI used to generate the binding from. Deprecated: Use IErrorMetaData.ABI instead.

View Source
var IErrorMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"Error\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

IErrorMetaData contains all meta data concerning the IError contract.

View Source
var IFxBridgeLogicABI = IFxBridgeLogicMetaData.ABI

IFxBridgeLogicABI is the input ABI used to generate the binding from. Deprecated: Use IFxBridgeLogicMetaData.ABI instead.

View Source
var IFxBridgeLogicMetaData = &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\":\"_sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_refund\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_txOrigin\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_eventNonce\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"_dstChain\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"_tokens\",\"type\":\"address[]\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"_amounts\",\"type\":\"uint256[]\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_quoteId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"_memo\",\"type\":\"bytes\"}],\"name\":\"BridgeCallEvent\",\"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\":\"_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\":\"address\",\"name\":\"_txOrigin\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_nonce\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_eventNonce\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"_success\",\"type\":\"bool\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"_cause\",\"type\":\"bytes\"}],\"name\":\"SubmitBridgeCallEvent\",\"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\"},{\"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\":\"string\",\"name\":\"_dstChain\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"_refund\",\"type\":\"address\"},{\"internalType\":\"address[]\",\"name\":\"_tokens\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_amounts\",\"type\":\"uint256[]\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"_quoteId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_memo\",\"type\":\"bytes\"}],\"name\":\"bridgeCall\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"_eventNonce\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_fxbridgeId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_methodName\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"_sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_refund\",\"type\":\"address\"},{\"internalType\":\"address[]\",\"name\":\"_tokens\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_amounts\",\"type\":\"uint256[]\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"_memo\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"_nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_timeout\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_eventNonce\",\"type\":\"uint256\"}],\"name\":\"bridgeCallCheckpoint\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_index\",\"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\":\"_erc20Address\",\"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\":\"structIFxBridgeLogic.BridgeToken[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"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\":[{\"internalType\":\"bytes32\",\"name\":\"_fxbridgeId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_methodName\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_oracleSetNonce\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"_oracles\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_powers\",\"type\":\"uint256[]\"}],\"name\":\"oracleSetCheckpoint\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"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\":[{\"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\":\"_erc20Address\",\"type\":\"address\"}],\"name\":\"state_lastBatchNonces\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_index\",\"type\":\"uint256\"}],\"name\":\"state_lastBridgeCallNonces\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"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\":\"bytes32\",\"name\":\"_fxbridgeId\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"_methodName\",\"type\":\"bytes32\"},{\"internalType\":\"uint256[]\",\"name\":\"_amounts\",\"type\":\"uint256[]\"},{\"internalType\":\"address[]\",\"name\":\"_destinations\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_fees\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256\",\"name\":\"_batchNonce\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_tokenContract\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_batchTimeout\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_feeReceive\",\"type\":\"address\"}],\"name\":\"submitBatchCheckpoint\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"nonpayable\",\"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[2]\",\"name\":\"_nonceArray\",\"type\":\"uint256[2]\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"refund\",\"type\":\"address\"},{\"internalType\":\"address[]\",\"name\":\"tokens\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"memo\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"timeout\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"eventNonce\",\"type\":\"uint256\"}],\"internalType\":\"structIFxBridgeLogic.BridgeCallData\",\"name\":\"_input\",\"type\":\"tuple\"}],\"name\":\"submitBridgeCall\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_tokenAddr\",\"type\":\"address\"}],\"name\":\"tokenStatus\",\"outputs\":[{\"components\":[{\"internalType\":\"bool\",\"name\":\"isOriginated\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"isActive\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"isExist\",\"type\":\"bool\"}],\"internalType\":\"structIFxBridgeLogic.TokenStatus\",\"name\":\"\",\"type\":\"tuple\"}],\"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\":[],\"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\"}]",
}

IFxBridgeLogicMetaData contains all meta data concerning the IFxBridgeLogic 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\"}],\"name\":\"DelegateV2\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"valSrc\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"valDst\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"completionTime\",\"type\":\"uint256\"}],\"name\":\"RedelegateV2\",\"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\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"completionTime\",\"type\":\"uint256\"}],\"name\":\"UndelegateV2\",\"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\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"delegateV2\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"_result\",\"type\":\"bool\"}],\"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\":\"_valSrc\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_valDst\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"redelegateV2\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"_result\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_val\",\"type\":\"string\"}],\"name\":\"slashingInfo\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"_jailed\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"_missed\",\"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\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"undelegateV2\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"_result\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"enumIStaking.ValidatorSortBy\",\"name\":\"_sortBy\",\"type\":\"uint8\"}],\"name\":\"validatorList\",\"outputs\":[{\"internalType\":\"string[]\",\"name\":\"\",\"type\":\"string[]\"}],\"stateMutability\":\"view\",\"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\":\"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\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"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\":\"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\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"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: "0x60a060405261100260805234801561001657600080fd5b50608051611a8161004e6000396000818161067c015281816106bc01528181610772015281816107b201526108410152611a816000f3fe6080604052600436106101395760003560e01c8063715018a6116100ab578063b86d52981161006f578063b86d529814610366578063d0e30db014610148578063dd62ed3e14610384578063de7ea79d146103ca578063f2fde38b146103ea578063f3fef3a31461040a57610148565b8063715018a6146102ca5780638da5cb5b146102df57806395d89b41146103115780639dc29fac14610326578063a9059cbb1461034657610148565b8063313ce567116100fd578063313ce5671461020a5780633659cfe61461022c57806340c10f191461024c5780634f1ef2861461026c57806352d1902d1461027f57806370a082311461029457610148565b806306fdde0314610150578063095ea7b31461017b57806318160ddd146101ab57806323b872dd146101ca5780632e1a7d4d146101ea57610148565b366101485761014661042a565b005b61014661042a565b34801561015c57600080fd5b5061016561046b565b60405161017291906115a9565b60405180910390f35b34801561018757600080fd5b5061019b6101963660046115f1565b6104fd565b6040519015158152602001610172565b3480156101b757600080fd5b5060cc545b604051908152602001610172565b3480156101d657600080fd5b5061019b6101e536600461161d565b610553565b3480156101f657600080fd5b5061014661020536600461165e565b610600565b34801561021657600080fd5b5060cb5460405160ff9091168152602001610172565b34801561023857600080fd5b50610146610247366004611677565b610671565b34801561025857600080fd5b506101466102673660046115f1565b610751565b61014661027a366004611720565b610767565b34801561028b57600080fd5b506101bc610834565b3480156102a057600080fd5b506101bc6102af366004611677565b6001600160a01b0316600090815260cd602052604090205490565b3480156102d657600080fd5b506101466108e7565b3480156102eb57600080fd5b506097546001600160a01b03165b6040516001600160a01b039091168152602001610172565b34801561031d57600080fd5b506101656108fb565b34801561033257600080fd5b506101466103413660046115f1565b61090a565b34801561035257600080fd5b5061019b6103613660046115f1565b61091c565b34801561037257600080fd5b5060cf546001600160a01b03166102f9565b34801561039057600080fd5b506101bc61039f366004611784565b6001600160a01b03918216600090815260ce6020908152604080832093909416825291909152205490565b3480156103d657600080fd5b506101466103e53660046117dd565b610932565b3480156103f657600080fd5b50610146610405366004611677565b610aa1565b34801561041657600080fd5b506101466104253660046115f1565b610b17565b6104343334610b9c565b60405134815233907fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c9060200160405180910390a2565b606060c9805461047a9061186c565b80601f01602080910402602001604051908101604052809291908181526020018280546104a69061186c565b80156104f35780601f106104c8576101008083540402835291602001916104f3565b820191906000526020600020905b8154815290600101906020018083116104d657829003601f168201915b5050505050905090565b600061050a338484610c74565b6040518281526001600160a01b0384169033907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259060200160405180910390a350600192915050565b6001600160a01b038316600090815260ce60209081526040808320338452909152812054828110156105d65760405162461bcd60e51b815260206004820152602160248201527f7472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636044820152606560f81b60648201526084015b60405180910390fd5b6105ea85336105e586856118bd565b610c74565b6105f5858585610cf6565b506001949350505050565b61060b335b82610ea5565b604051339082156108fc029083906000818181858888f19350505050158015610638573d6000803e3d6000fd5b5060405181815233907f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a94243649060200160405180910390a250565b306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614156106ba5760405162461bcd60e51b81526004016105cd906118d4565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610703600080516020611a05833981519152546001600160a01b031690565b6001600160a01b0316146107295760405162461bcd60e51b81526004016105cd90611920565b61073281610fe7565b6040805160008082526020820190925261074e91839190610fef565b50565b61075961115f565b6107638282610b9c565b5050565b306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614156107b05760405162461bcd60e51b81526004016105cd906118d4565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166107f9600080516020611a05833981519152546001600160a01b031690565b6001600160a01b03161461081f5760405162461bcd60e51b81526004016105cd90611920565b61082882610fe7565b61076382826001610fef565b6000306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146108d45760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c60448201527f6c6564207468726f7567682064656c656761746563616c6c000000000000000060648201526084016105cd565b50600080516020611a0583398151915290565b6108ef61115f565b6108f960006111b9565b565b606060ca805461047a9061186c565b61091261115f565b6107638282610ea5565b6000610929338484610cf6565b50600192915050565b600054610100900460ff16158080156109525750600054600160ff909116105b8061096c5750303b15801561096c575060005460ff166001145b6109cf5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016105cd565b6000805460ff1916600117905580156109f2576000805461ff0019166101001790555b8451610a059060c99060208801906114e4565b508351610a199060ca9060208701906114e4565b5060cb805460ff191660ff851617905560cf80546001600160a01b0319166001600160a01b038416179055610a4c61120b565b610a5461123a565b8015610a9a576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050505050565b610aa961115f565b6001600160a01b038116610b0e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105cd565b61074e816111b9565b610b2033610605565b6040516001600160a01b0383169082156108fc029083906000818181858888f19350505050158015610b56573d6000803e3d6000fd5b506040518181526001600160a01b0383169033907f9b1bfa7fa9ee420a16e124f794c35ac9f90472acc99140eb2f6447c714cad8eb906020015b60405180910390a35050565b6001600160a01b038216610bf25760405162461bcd60e51b815260206004820152601860248201527f6d696e7420746f20746865207a65726f2061646472657373000000000000000060448201526064016105cd565b8060cc6000828254610c04919061196c565b90915550506001600160a01b038216600090815260cd602052604081208054839290610c3190849061196c565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610b90565b6001600160a01b038316610cca5760405162461bcd60e51b815260206004820152601d60248201527f617070726f76652066726f6d20746865207a65726f206164647265737300000060448201526064016105cd565b6001600160a01b03928316600090815260ce602090815260408083209490951682529290925291902055565b6001600160a01b038316610d4c5760405162461bcd60e51b815260206004820152601e60248201527f7472616e736665722066726f6d20746865207a65726f2061646472657373000060448201526064016105cd565b6001600160a01b038216610da25760405162461bcd60e51b815260206004820152601c60248201527f7472616e7366657220746f20746865207a65726f20616464726573730000000060448201526064016105cd565b6001600160a01b038316600090815260cd602052604090205481811015610e0b5760405162461bcd60e51b815260206004820152601f60248201527f7472616e7366657220616d6f756e7420657863656564732062616c616e63650060448201526064016105cd565b610e1582826118bd565b6001600160a01b03808616600090815260cd60205260408082209390935590851681529081208054849290610e4b90849061196c565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610e9791815260200190565b60405180910390a350505050565b6001600160a01b038216610efb5760405162461bcd60e51b815260206004820152601a60248201527f6275726e2066726f6d20746865207a65726f206164647265737300000000000060448201526064016105cd565b6001600160a01b038216600090815260cd602052604090205481811015610f645760405162461bcd60e51b815260206004820152601b60248201527f6275726e20616d6f756e7420657863656564732062616c616e6365000000000060448201526064016105cd565b610f6e82826118bd565b6001600160a01b038416600090815260cd602052604081209190915560cc8054849290610f9c9084906118bd565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b61074e61115f565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff16156110275761102283611261565b505050565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015611081575060408051601f3d908101601f1916820190925261107e91810190611984565b60015b6110e45760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b60648201526084016105cd565b600080516020611a0583398151915281146111535760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b60648201526084016105cd565b506110228383836112fd565b6097546001600160a01b031633146108f95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016105cd565b609780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054610100900460ff166112325760405162461bcd60e51b81526004016105cd9061199d565b6108f9611328565b600054610100900460ff166108f95760405162461bcd60e51b81526004016105cd9061199d565b6001600160a01b0381163b6112ce5760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b60648201526084016105cd565b600080516020611a0583398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b61130683611358565b6000825111806113135750805b15611022576113228383611398565b50505050565b600054610100900460ff1661134f5760405162461bcd60e51b81526004016105cd9061199d565b6108f9336111b9565b61136181611261565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606113bd8383604051806060016040528060278152602001611a25602791396113c4565b9392505050565b6060600080856001600160a01b0316856040516113e191906119e8565b600060405180830381855af49150503d806000811461141c576040519150601f19603f3d011682016040523d82523d6000602084013e611421565b606091505b50915091506114328683838761143c565b9695505050505050565b606083156114a85782516114a1576001600160a01b0385163b6114a15760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016105cd565b50816114b2565b6114b283836114ba565b949350505050565b8151156114ca5781518083602001fd5b8060405162461bcd60e51b81526004016105cd91906115a9565b8280546114f09061186c565b90600052602060002090601f0160209004810192826115125760008555611558565b82601f1061152b57805160ff1916838001178555611558565b82800160010185558215611558579182015b8281111561155857825182559160200191906001019061153d565b50611564929150611568565b5090565b5b808211156115645760008155600101611569565b60005b83811015611598578181015183820152602001611580565b838111156113225750506000910152565b60208152600082518060208401526115c881604085016020870161157d565b601f01601f19169190910160400192915050565b6001600160a01b038116811461074e57600080fd5b6000806040838503121561160457600080fd5b823561160f816115dc565b946020939093013593505050565b60008060006060848603121561163257600080fd5b833561163d816115dc565b9250602084013561164d816115dc565b929592945050506040919091013590565b60006020828403121561167057600080fd5b5035919050565b60006020828403121561168957600080fd5b81356113bd816115dc565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156116c5576116c5611694565b604051601f8501601f19908116603f011681019082821181831017156116ed576116ed611694565b8160405280935085815286868601111561170657600080fd5b858560208301376000602087830101525050509392505050565b6000806040838503121561173357600080fd5b823561173e816115dc565b9150602083013567ffffffffffffffff81111561175a57600080fd5b8301601f8101851361176b57600080fd5b61177a858235602084016116aa565b9150509250929050565b6000806040838503121561179757600080fd5b82356117a2816115dc565b915060208301356117b2816115dc565b809150509250929050565b600082601f8301126117ce57600080fd5b6113bd838335602085016116aa565b600080600080608085870312156117f357600080fd5b843567ffffffffffffffff8082111561180b57600080fd5b611817888389016117bd565b9550602087013591508082111561182d57600080fd5b5061183a878288016117bd565b935050604085013560ff8116811461185157600080fd5b91506060850135611861816115dc565b939692955090935050565b600181811c9082168061188057607f821691505b602082108114156118a157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000828210156118cf576118cf6118a7565b500390565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b6163746976652070726f787960a01b606082015260800190565b6000821982111561197f5761197f6118a7565b500190565b60006020828403121561199657600080fd5b5051919050565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b600082516119fa81846020870161157d565b919091019291505056fe360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a26469706673582212203491f4b9433597e502b7d2b2ea2025687fa17dcc511ea87b77ea73cb9c0109d464736f6c634300080a0033",
}

WFXUpgradableMetaData contains all meta data concerning the WFXUpgradable contract.

Functions

func DeployBridgeFeeContract

func DeployBridgeFeeContract(
	ctx sdk.Context,
	evmKeeper EvmKeeper,
	bridgeFeeQuoteKeeper BridgeFeeQuoteKeeper,
	bridgeFeeOracleKeeper BridgeFeeOracleKeeper,
	bridgeDenoms []BridgeDenoms,
	evmModuleAddress, owner, defaultOracleAddress common.Address,
) error

func EmitEvent

func EmitEvent(evm *vm.EVM, address common.Address, data []byte, topics []common.Hash)

func IsEmptyHash

func IsEmptyHash(hash common.Hash) bool

IsEmptyHash returns true if the hash corresponds to an empty ethereum hex hash.

func IsZeroEthAddress

func IsZeroEthAddress(address common.Address) bool

IsZeroEthAddress returns true if the address corresponds to an empty ethereum address.

func MustABIJson

func MustABIJson(str string) abi.ABI

func MustDecodeHex

func MustDecodeHex(str string) []byte

func PackBridgeCallCheckpoint

func PackBridgeCallCheckpoint(gravityID, methodName [32]byte, sender, refund common.Address, tokens []common.Address, amounts []*big.Int, to common.Address, data, memo []byte, nonce, timeout, eventNonce *big.Int) ([]byte, error)

func PackOnBridgeCall

func PackOnBridgeCall(sender, receiver common.Address, tokens []common.Address, amounts []*big.Int, data, memo []byte) ([]byte, error)

func PackOracleSetCheckpoint

func PackOracleSetCheckpoint(gravityID, methodName [32]byte, nonce *big.Int, memberAddresses []common.Address, convertedPowers []*big.Int) ([]byte, error)

func PackRetErrV2

func PackRetErrV2(err error) ([]byte, error)

func PackSubmitBatchCheckpoint

func PackSubmitBatchCheckpoint(gravityID, methodName [32]byte, amounts []*big.Int, destinations []common.Address, fees []*big.Int, batchNonce *big.Int, tokenContract common.Address, batchTimeout *big.Int, feeReceive common.Address) ([]byte, error)

func ValidateEthereumAddress

func ValidateEthereumAddress(address string) error

ValidateEthereumAddress validates the ethereum address strings

Types

type AccountKeeper

type AccountKeeper interface {
	GetModuleAddress(moduleName string) sdk.AccAddress
}

type AllowanceSharesArgs

type AllowanceSharesArgs struct {
	Validator string         `abi:"_val"`
	Owner     common.Address `abi:"_owner"`
	Spender   common.Address `abi:"_spender"`
}

func (*AllowanceSharesArgs) GetValidator

func (args *AllowanceSharesArgs) GetValidator() sdk.ValAddress

GetValidator returns the validator address, caller must ensure the validator address is valid

func (*AllowanceSharesArgs) Validate

func (args *AllowanceSharesArgs) Validate() error

Validate validates the args

type ApproveSharesArgs

type ApproveSharesArgs struct {
	Validator string         `abi:"_val"`
	Spender   common.Address `abi:"_spender"`
	Shares    *big.Int       `abi:"_shares"`
}

func (*ApproveSharesArgs) GetValidator

func (args *ApproveSharesArgs) GetValidator() sdk.ValAddress

GetValidator returns the validator address, caller must ensure the validator address is valid

func (*ApproveSharesArgs) Validate

func (args *ApproveSharesArgs) Validate() error

Validate validates the args

type BridgeCallArgs

type BridgeCallArgs struct {
	DstChain string           `abi:"_dstChain"`
	Refund   common.Address   `abi:"_refund"`
	Tokens   []common.Address `abi:"_tokens"`
	Amounts  []*big.Int       `abi:"_amounts"`
	To       common.Address   `abi:"_to"`
	Data     []byte           `abi:"_data"`
	QuoteId  *big.Int         `abi:"_quoteId"`
	Memo     []byte           `abi:"_memo"`
}

func (*BridgeCallArgs) Validate

func (args *BridgeCallArgs) Validate() error

type BridgeCoinAmountArgs

type BridgeCoinAmountArgs struct {
	Token  common.Address `abi:"_token"`
	Target [32]byte       `abi:"_target"`
}

func (*BridgeCoinAmountArgs) Validate

func (args *BridgeCoinAmountArgs) Validate() error

type BridgeDenoms

type BridgeDenoms struct {
	ChainName string
	Denoms    []string
}

type BridgeFeeOracle

type BridgeFeeOracle struct {
	BridgeFeeOracleCaller     // Read-only binding to the contract
	BridgeFeeOracleTransactor // Write-only binding to the contract
	BridgeFeeOracleFilterer   // Log filterer for contract events
}

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

func DeployBridgeFeeOracle

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

DeployBridgeFeeOracle deploys a new Ethereum contract, binding an instance of BridgeFeeOracle to it.

func NewBridgeFeeOracle

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

NewBridgeFeeOracle creates a new instance of BridgeFeeOracle, bound to a specific deployed contract.

type BridgeFeeOracleAdminChanged

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

BridgeFeeOracleAdminChanged represents a AdminChanged event raised by the BridgeFeeOracle contract.

type BridgeFeeOracleAdminChangedIterator

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

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

func (*BridgeFeeOracleAdminChangedIterator) Close

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

func (*BridgeFeeOracleAdminChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgeFeeOracleAdminChangedIterator) 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 BridgeFeeOracleBeaconUpgraded

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

BridgeFeeOracleBeaconUpgraded represents a BeaconUpgraded event raised by the BridgeFeeOracle contract.

type BridgeFeeOracleBeaconUpgradedIterator

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

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

func (*BridgeFeeOracleBeaconUpgradedIterator) Close

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

func (*BridgeFeeOracleBeaconUpgradedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgeFeeOracleBeaconUpgradedIterator) 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 BridgeFeeOracleCaller

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

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

func NewBridgeFeeOracleCaller

func NewBridgeFeeOracleCaller(address common.Address, caller bind.ContractCaller) (*BridgeFeeOracleCaller, error)

NewBridgeFeeOracleCaller creates a new read-only instance of BridgeFeeOracle, bound to a specific deployed contract.

func (*BridgeFeeOracleCaller) CrosschainContract

func (_BridgeFeeOracle *BridgeFeeOracleCaller) CrosschainContract(opts *bind.CallOpts) (common.Address, error)

CrosschainContract is a free data retrieval call binding the contract method 0xec331b2b.

Solidity: function crosschainContract() view returns(address)

func (*BridgeFeeOracleCaller) DEFAULTADMINROLE

func (_BridgeFeeOracle *BridgeFeeOracleCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)

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

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*BridgeFeeOracleCaller) DefaultOracle

func (_BridgeFeeOracle *BridgeFeeOracleCaller) DefaultOracle(opts *bind.CallOpts) (common.Address, error)

DefaultOracle is a free data retrieval call binding the contract method 0x80dce169.

Solidity: function defaultOracle() view returns(address)

func (*BridgeFeeOracleCaller) GetOracleList

func (_BridgeFeeOracle *BridgeFeeOracleCaller) GetOracleList(opts *bind.CallOpts) ([]common.Address, error)

GetOracleList is a free data retrieval call binding the contract method 0x510c27ad.

Solidity: function getOracleList() view returns(address[])

func (*BridgeFeeOracleCaller) GetRoleAdmin

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

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

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

func (*BridgeFeeOracleCaller) HasRole

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

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

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

func (*BridgeFeeOracleCaller) OWNERROLE

func (_BridgeFeeOracle *BridgeFeeOracleCaller) OWNERROLE(opts *bind.CallOpts) ([32]byte, error)

OWNERROLE is a free data retrieval call binding the contract method 0xe58378bb.

Solidity: function OWNER_ROLE() view returns(bytes32)

func (*BridgeFeeOracleCaller) OracleStatus

func (_BridgeFeeOracle *BridgeFeeOracleCaller) OracleStatus(opts *bind.CallOpts, arg0 common.Address) (struct {
	IsBlacklisted bool
	IsActive      bool
}, error)

OracleStatus is a free data retrieval call binding the contract method 0xe863f6a7.

Solidity: function oracleStatus(address ) view returns(bool isBlacklisted, bool isActive)

func (*BridgeFeeOracleCaller) ProxiableUUID

func (_BridgeFeeOracle *BridgeFeeOracleCaller) 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 (*BridgeFeeOracleCaller) QUOTEROLE

func (_BridgeFeeOracle *BridgeFeeOracleCaller) QUOTEROLE(opts *bind.CallOpts) ([32]byte, error)

QUOTEROLE is a free data retrieval call binding the contract method 0x5bca74db.

Solidity: function QUOTE_ROLE() view returns(bytes32)

func (*BridgeFeeOracleCaller) SupportsInterface

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

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

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

func (*BridgeFeeOracleCaller) UPGRADEROLE

func (_BridgeFeeOracle *BridgeFeeOracleCaller) UPGRADEROLE(opts *bind.CallOpts) ([32]byte, error)

UPGRADEROLE is a free data retrieval call binding the contract method 0xb908afa8.

Solidity: function UPGRADE_ROLE() view returns(bytes32)

type BridgeFeeOracleCallerRaw

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

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

func (*BridgeFeeOracleCallerRaw) Call

func (_BridgeFeeOracle *BridgeFeeOracleCallerRaw) 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 BridgeFeeOracleCallerSession

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

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

func (*BridgeFeeOracleCallerSession) CrosschainContract

func (_BridgeFeeOracle *BridgeFeeOracleCallerSession) CrosschainContract() (common.Address, error)

CrosschainContract is a free data retrieval call binding the contract method 0xec331b2b.

Solidity: function crosschainContract() view returns(address)

func (*BridgeFeeOracleCallerSession) DEFAULTADMINROLE

func (_BridgeFeeOracle *BridgeFeeOracleCallerSession) DEFAULTADMINROLE() ([32]byte, error)

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

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*BridgeFeeOracleCallerSession) DefaultOracle

func (_BridgeFeeOracle *BridgeFeeOracleCallerSession) DefaultOracle() (common.Address, error)

DefaultOracle is a free data retrieval call binding the contract method 0x80dce169.

Solidity: function defaultOracle() view returns(address)

func (*BridgeFeeOracleCallerSession) GetOracleList

func (_BridgeFeeOracle *BridgeFeeOracleCallerSession) GetOracleList() ([]common.Address, error)

GetOracleList is a free data retrieval call binding the contract method 0x510c27ad.

Solidity: function getOracleList() view returns(address[])

func (*BridgeFeeOracleCallerSession) GetRoleAdmin

func (_BridgeFeeOracle *BridgeFeeOracleCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)

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

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

func (*BridgeFeeOracleCallerSession) HasRole

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

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

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

func (*BridgeFeeOracleCallerSession) OWNERROLE

func (_BridgeFeeOracle *BridgeFeeOracleCallerSession) OWNERROLE() ([32]byte, error)

OWNERROLE is a free data retrieval call binding the contract method 0xe58378bb.

Solidity: function OWNER_ROLE() view returns(bytes32)

func (*BridgeFeeOracleCallerSession) OracleStatus

func (_BridgeFeeOracle *BridgeFeeOracleCallerSession) OracleStatus(arg0 common.Address) (struct {
	IsBlacklisted bool
	IsActive      bool
}, error)

OracleStatus is a free data retrieval call binding the contract method 0xe863f6a7.

Solidity: function oracleStatus(address ) view returns(bool isBlacklisted, bool isActive)

func (*BridgeFeeOracleCallerSession) ProxiableUUID

func (_BridgeFeeOracle *BridgeFeeOracleCallerSession) ProxiableUUID() ([32]byte, error)

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

Solidity: function proxiableUUID() view returns(bytes32)

func (*BridgeFeeOracleCallerSession) QUOTEROLE

func (_BridgeFeeOracle *BridgeFeeOracleCallerSession) QUOTEROLE() ([32]byte, error)

QUOTEROLE is a free data retrieval call binding the contract method 0x5bca74db.

Solidity: function QUOTE_ROLE() view returns(bytes32)

func (*BridgeFeeOracleCallerSession) SupportsInterface

func (_BridgeFeeOracle *BridgeFeeOracleCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)

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

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

func (*BridgeFeeOracleCallerSession) UPGRADEROLE

func (_BridgeFeeOracle *BridgeFeeOracleCallerSession) UPGRADEROLE() ([32]byte, error)

UPGRADEROLE is a free data retrieval call binding the contract method 0xb908afa8.

Solidity: function UPGRADE_ROLE() view returns(bytes32)

type BridgeFeeOracleFilterer

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

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

func NewBridgeFeeOracleFilterer

func NewBridgeFeeOracleFilterer(address common.Address, filterer bind.ContractFilterer) (*BridgeFeeOracleFilterer, error)

NewBridgeFeeOracleFilterer creates a new log filterer instance of BridgeFeeOracle, bound to a specific deployed contract.

func (*BridgeFeeOracleFilterer) FilterAdminChanged

func (_BridgeFeeOracle *BridgeFeeOracleFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*BridgeFeeOracleAdminChangedIterator, error)

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

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*BridgeFeeOracleFilterer) FilterBeaconUpgraded

func (_BridgeFeeOracle *BridgeFeeOracleFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*BridgeFeeOracleBeaconUpgradedIterator, error)

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

Solidity: event BeaconUpgraded(address indexed beacon)

func (*BridgeFeeOracleFilterer) FilterInitialized

func (_BridgeFeeOracle *BridgeFeeOracleFilterer) FilterInitialized(opts *bind.FilterOpts) (*BridgeFeeOracleInitializedIterator, error)

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

Solidity: event Initialized(uint8 version)

func (*BridgeFeeOracleFilterer) FilterRoleAdminChanged

func (_BridgeFeeOracle *BridgeFeeOracleFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (*BridgeFeeOracleRoleAdminChangedIterator, error)

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

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

func (*BridgeFeeOracleFilterer) FilterRoleGranted

func (_BridgeFeeOracle *BridgeFeeOracleFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*BridgeFeeOracleRoleGrantedIterator, error)

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

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

func (*BridgeFeeOracleFilterer) FilterRoleRevoked

func (_BridgeFeeOracle *BridgeFeeOracleFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*BridgeFeeOracleRoleRevokedIterator, error)

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

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

func (*BridgeFeeOracleFilterer) FilterUpgraded

func (_BridgeFeeOracle *BridgeFeeOracleFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*BridgeFeeOracleUpgradedIterator, error)

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

Solidity: event Upgraded(address indexed implementation)

func (*BridgeFeeOracleFilterer) ParseAdminChanged

func (_BridgeFeeOracle *BridgeFeeOracleFilterer) ParseAdminChanged(log types.Log) (*BridgeFeeOracleAdminChanged, error)

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

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*BridgeFeeOracleFilterer) ParseBeaconUpgraded

func (_BridgeFeeOracle *BridgeFeeOracleFilterer) ParseBeaconUpgraded(log types.Log) (*BridgeFeeOracleBeaconUpgraded, error)

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

Solidity: event BeaconUpgraded(address indexed beacon)

func (*BridgeFeeOracleFilterer) ParseInitialized

func (_BridgeFeeOracle *BridgeFeeOracleFilterer) ParseInitialized(log types.Log) (*BridgeFeeOracleInitialized, error)

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

Solidity: event Initialized(uint8 version)

func (*BridgeFeeOracleFilterer) ParseRoleAdminChanged

func (_BridgeFeeOracle *BridgeFeeOracleFilterer) ParseRoleAdminChanged(log types.Log) (*BridgeFeeOracleRoleAdminChanged, error)

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

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

func (*BridgeFeeOracleFilterer) ParseRoleGranted

func (_BridgeFeeOracle *BridgeFeeOracleFilterer) ParseRoleGranted(log types.Log) (*BridgeFeeOracleRoleGranted, error)

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

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

func (*BridgeFeeOracleFilterer) ParseRoleRevoked

func (_BridgeFeeOracle *BridgeFeeOracleFilterer) ParseRoleRevoked(log types.Log) (*BridgeFeeOracleRoleRevoked, error)

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

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

func (*BridgeFeeOracleFilterer) ParseUpgraded

func (_BridgeFeeOracle *BridgeFeeOracleFilterer) ParseUpgraded(log types.Log) (*BridgeFeeOracleUpgraded, error)

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

Solidity: event Upgraded(address indexed implementation)

func (*BridgeFeeOracleFilterer) WatchAdminChanged

func (_BridgeFeeOracle *BridgeFeeOracleFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *BridgeFeeOracleAdminChanged) (event.Subscription, error)

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

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*BridgeFeeOracleFilterer) WatchBeaconUpgraded

func (_BridgeFeeOracle *BridgeFeeOracleFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *BridgeFeeOracleBeaconUpgraded, 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 (*BridgeFeeOracleFilterer) WatchInitialized

func (_BridgeFeeOracle *BridgeFeeOracleFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *BridgeFeeOracleInitialized) (event.Subscription, error)

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

Solidity: event Initialized(uint8 version)

func (*BridgeFeeOracleFilterer) WatchRoleAdminChanged

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

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

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

func (*BridgeFeeOracleFilterer) WatchRoleGranted

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

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

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

func (*BridgeFeeOracleFilterer) WatchRoleRevoked

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

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

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

func (*BridgeFeeOracleFilterer) WatchUpgraded

func (_BridgeFeeOracle *BridgeFeeOracleFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *BridgeFeeOracleUpgraded, 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 BridgeFeeOracleInitialized

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

BridgeFeeOracleInitialized represents a Initialized event raised by the BridgeFeeOracle contract.

type BridgeFeeOracleInitializedIterator

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

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

func (*BridgeFeeOracleInitializedIterator) Close

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

func (*BridgeFeeOracleInitializedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgeFeeOracleInitializedIterator) 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 BridgeFeeOracleKeeper

type BridgeFeeOracleKeeper struct {
	Caller
	// contains filtered or unexported fields
}

func NewBridgeFeeOracleKeeper

func NewBridgeFeeOracleKeeper(caller Caller, contract string) BridgeFeeOracleKeeper

func (BridgeFeeOracleKeeper) GetOwnerRole

func (k BridgeFeeOracleKeeper) GetOwnerRole(ctx context.Context) (common.Hash, error)

func (BridgeFeeOracleKeeper) GetQuoteRole

func (k BridgeFeeOracleKeeper) GetQuoteRole(ctx context.Context) (common.Hash, error)

func (BridgeFeeOracleKeeper) GetUpgradeRole

func (k BridgeFeeOracleKeeper) GetUpgradeRole(ctx context.Context) (common.Hash, error)

func (BridgeFeeOracleKeeper) GrantRole

func (BridgeFeeOracleKeeper) Initialize

func (BridgeFeeOracleKeeper) SetDefaultOracle

type BridgeFeeOracleRaw

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

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

func (*BridgeFeeOracleRaw) Call

func (_BridgeFeeOracle *BridgeFeeOracleRaw) 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 (*BridgeFeeOracleRaw) Transact

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

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

func (*BridgeFeeOracleRaw) Transfer

func (_BridgeFeeOracle *BridgeFeeOracleRaw) 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 BridgeFeeOracleRoleAdminChanged

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

BridgeFeeOracleRoleAdminChanged represents a RoleAdminChanged event raised by the BridgeFeeOracle contract.

type BridgeFeeOracleRoleAdminChangedIterator

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

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

func (*BridgeFeeOracleRoleAdminChangedIterator) Close

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

func (*BridgeFeeOracleRoleAdminChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgeFeeOracleRoleAdminChangedIterator) 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 BridgeFeeOracleRoleGranted

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

BridgeFeeOracleRoleGranted represents a RoleGranted event raised by the BridgeFeeOracle contract.

type BridgeFeeOracleRoleGrantedIterator

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

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

func (*BridgeFeeOracleRoleGrantedIterator) Close

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

func (*BridgeFeeOracleRoleGrantedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgeFeeOracleRoleGrantedIterator) 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 BridgeFeeOracleRoleRevoked

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

BridgeFeeOracleRoleRevoked represents a RoleRevoked event raised by the BridgeFeeOracle contract.

type BridgeFeeOracleRoleRevokedIterator

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

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

func (*BridgeFeeOracleRoleRevokedIterator) Close

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

func (*BridgeFeeOracleRoleRevokedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgeFeeOracleRoleRevokedIterator) 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 BridgeFeeOracleSession

type BridgeFeeOracleSession struct {
	Contract     *BridgeFeeOracle  // 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
}

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

func (*BridgeFeeOracleSession) BlackOracle

func (_BridgeFeeOracle *BridgeFeeOracleSession) BlackOracle(_oracle common.Address) (*types.Transaction, error)

BlackOracle is a paid mutator transaction binding the contract method 0x7c90c9a9.

Solidity: function blackOracle(address _oracle) returns()

func (*BridgeFeeOracleSession) CrosschainContract

func (_BridgeFeeOracle *BridgeFeeOracleSession) CrosschainContract() (common.Address, error)

CrosschainContract is a free data retrieval call binding the contract method 0xec331b2b.

Solidity: function crosschainContract() view returns(address)

func (*BridgeFeeOracleSession) DEFAULTADMINROLE

func (_BridgeFeeOracle *BridgeFeeOracleSession) DEFAULTADMINROLE() ([32]byte, error)

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

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*BridgeFeeOracleSession) DefaultOracle

func (_BridgeFeeOracle *BridgeFeeOracleSession) DefaultOracle() (common.Address, error)

DefaultOracle is a free data retrieval call binding the contract method 0x80dce169.

Solidity: function defaultOracle() view returns(address)

func (*BridgeFeeOracleSession) GetOracleList

func (_BridgeFeeOracle *BridgeFeeOracleSession) GetOracleList() ([]common.Address, error)

GetOracleList is a free data retrieval call binding the contract method 0x510c27ad.

Solidity: function getOracleList() view returns(address[])

func (*BridgeFeeOracleSession) GetRoleAdmin

func (_BridgeFeeOracle *BridgeFeeOracleSession) GetRoleAdmin(role [32]byte) ([32]byte, error)

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

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

func (*BridgeFeeOracleSession) GrantRole

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

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

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

func (*BridgeFeeOracleSession) HasRole

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

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

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

func (*BridgeFeeOracleSession) Initialize

func (_BridgeFeeOracle *BridgeFeeOracleSession) Initialize(_crosschain common.Address) (*types.Transaction, error)

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

Solidity: function initialize(address _crosschain) returns()

func (*BridgeFeeOracleSession) IsOnline

func (_BridgeFeeOracle *BridgeFeeOracleSession) IsOnline(_chainName string, _oracle common.Address) (*types.Transaction, error)

IsOnline is a paid mutator transaction binding the contract method 0xd10c1061.

Solidity: function isOnline(string _chainName, address _oracle) returns(bool)

func (*BridgeFeeOracleSession) OWNERROLE

func (_BridgeFeeOracle *BridgeFeeOracleSession) OWNERROLE() ([32]byte, error)

OWNERROLE is a free data retrieval call binding the contract method 0xe58378bb.

Solidity: function OWNER_ROLE() view returns(bytes32)

func (*BridgeFeeOracleSession) OracleStatus

func (_BridgeFeeOracle *BridgeFeeOracleSession) OracleStatus(arg0 common.Address) (struct {
	IsBlacklisted bool
	IsActive      bool
}, error)

OracleStatus is a free data retrieval call binding the contract method 0xe863f6a7.

Solidity: function oracleStatus(address ) view returns(bool isBlacklisted, bool isActive)

func (*BridgeFeeOracleSession) ProxiableUUID

func (_BridgeFeeOracle *BridgeFeeOracleSession) ProxiableUUID() ([32]byte, error)

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

Solidity: function proxiableUUID() view returns(bytes32)

func (*BridgeFeeOracleSession) QUOTEROLE

func (_BridgeFeeOracle *BridgeFeeOracleSession) QUOTEROLE() ([32]byte, error)

QUOTEROLE is a free data retrieval call binding the contract method 0x5bca74db.

Solidity: function QUOTE_ROLE() view returns(bytes32)

func (*BridgeFeeOracleSession) RenounceRole

func (_BridgeFeeOracle *BridgeFeeOracleSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)

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

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

func (*BridgeFeeOracleSession) RevokeRole

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

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

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

func (*BridgeFeeOracleSession) SetDefaultOracle

func (_BridgeFeeOracle *BridgeFeeOracleSession) SetDefaultOracle(_defaultOracle common.Address) (*types.Transaction, error)

SetDefaultOracle is a paid mutator transaction binding the contract method 0xc44014d2.

Solidity: function setDefaultOracle(address _defaultOracle) returns()

func (*BridgeFeeOracleSession) SupportsInterface

func (_BridgeFeeOracle *BridgeFeeOracleSession) SupportsInterface(interfaceId [4]byte) (bool, error)

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

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

func (*BridgeFeeOracleSession) UPGRADEROLE

func (_BridgeFeeOracle *BridgeFeeOracleSession) UPGRADEROLE() ([32]byte, error)

UPGRADEROLE is a free data retrieval call binding the contract method 0xb908afa8.

Solidity: function UPGRADE_ROLE() view returns(bytes32)

func (*BridgeFeeOracleSession) UpgradeTo

func (_BridgeFeeOracle *BridgeFeeOracleSession) 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 (*BridgeFeeOracleSession) UpgradeToAndCall

func (_BridgeFeeOracle *BridgeFeeOracleSession) 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 BridgeFeeOracleTransactor

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

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

func NewBridgeFeeOracleTransactor

func NewBridgeFeeOracleTransactor(address common.Address, transactor bind.ContractTransactor) (*BridgeFeeOracleTransactor, error)

NewBridgeFeeOracleTransactor creates a new write-only instance of BridgeFeeOracle, bound to a specific deployed contract.

func (*BridgeFeeOracleTransactor) BlackOracle

func (_BridgeFeeOracle *BridgeFeeOracleTransactor) BlackOracle(opts *bind.TransactOpts, _oracle common.Address) (*types.Transaction, error)

BlackOracle is a paid mutator transaction binding the contract method 0x7c90c9a9.

Solidity: function blackOracle(address _oracle) returns()

func (*BridgeFeeOracleTransactor) GrantRole

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

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

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

func (*BridgeFeeOracleTransactor) Initialize

func (_BridgeFeeOracle *BridgeFeeOracleTransactor) Initialize(opts *bind.TransactOpts, _crosschain common.Address) (*types.Transaction, error)

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

Solidity: function initialize(address _crosschain) returns()

func (*BridgeFeeOracleTransactor) IsOnline

func (_BridgeFeeOracle *BridgeFeeOracleTransactor) IsOnline(opts *bind.TransactOpts, _chainName string, _oracle common.Address) (*types.Transaction, error)

IsOnline is a paid mutator transaction binding the contract method 0xd10c1061.

Solidity: function isOnline(string _chainName, address _oracle) returns(bool)

func (*BridgeFeeOracleTransactor) RenounceRole

func (_BridgeFeeOracle *BridgeFeeOracleTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

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

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

func (*BridgeFeeOracleTransactor) RevokeRole

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

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

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

func (*BridgeFeeOracleTransactor) SetDefaultOracle

func (_BridgeFeeOracle *BridgeFeeOracleTransactor) SetDefaultOracle(opts *bind.TransactOpts, _defaultOracle common.Address) (*types.Transaction, error)

SetDefaultOracle is a paid mutator transaction binding the contract method 0xc44014d2.

Solidity: function setDefaultOracle(address _defaultOracle) returns()

func (*BridgeFeeOracleTransactor) UpgradeTo

func (_BridgeFeeOracle *BridgeFeeOracleTransactor) 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 (*BridgeFeeOracleTransactor) UpgradeToAndCall

func (_BridgeFeeOracle *BridgeFeeOracleTransactor) 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 BridgeFeeOracleTransactorRaw

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

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

func (*BridgeFeeOracleTransactorRaw) Transact

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

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

func (*BridgeFeeOracleTransactorRaw) Transfer

func (_BridgeFeeOracle *BridgeFeeOracleTransactorRaw) 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 BridgeFeeOracleTransactorSession

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

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

func (*BridgeFeeOracleTransactorSession) BlackOracle

func (_BridgeFeeOracle *BridgeFeeOracleTransactorSession) BlackOracle(_oracle common.Address) (*types.Transaction, error)

BlackOracle is a paid mutator transaction binding the contract method 0x7c90c9a9.

Solidity: function blackOracle(address _oracle) returns()

func (*BridgeFeeOracleTransactorSession) GrantRole

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

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

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

func (*BridgeFeeOracleTransactorSession) Initialize

func (_BridgeFeeOracle *BridgeFeeOracleTransactorSession) Initialize(_crosschain common.Address) (*types.Transaction, error)

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

Solidity: function initialize(address _crosschain) returns()

func (*BridgeFeeOracleTransactorSession) IsOnline

func (_BridgeFeeOracle *BridgeFeeOracleTransactorSession) IsOnline(_chainName string, _oracle common.Address) (*types.Transaction, error)

IsOnline is a paid mutator transaction binding the contract method 0xd10c1061.

Solidity: function isOnline(string _chainName, address _oracle) returns(bool)

func (*BridgeFeeOracleTransactorSession) RenounceRole

func (_BridgeFeeOracle *BridgeFeeOracleTransactorSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)

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

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

func (*BridgeFeeOracleTransactorSession) RevokeRole

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

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

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

func (*BridgeFeeOracleTransactorSession) SetDefaultOracle

func (_BridgeFeeOracle *BridgeFeeOracleTransactorSession) SetDefaultOracle(_defaultOracle common.Address) (*types.Transaction, error)

SetDefaultOracle is a paid mutator transaction binding the contract method 0xc44014d2.

Solidity: function setDefaultOracle(address _defaultOracle) returns()

func (*BridgeFeeOracleTransactorSession) UpgradeTo

func (_BridgeFeeOracle *BridgeFeeOracleTransactorSession) 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 (*BridgeFeeOracleTransactorSession) UpgradeToAndCall

func (_BridgeFeeOracle *BridgeFeeOracleTransactorSession) 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 BridgeFeeOracleUpgraded

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

BridgeFeeOracleUpgraded represents a Upgraded event raised by the BridgeFeeOracle contract.

type BridgeFeeOracleUpgradedIterator

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

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

func (*BridgeFeeOracleUpgradedIterator) Close

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

func (*BridgeFeeOracleUpgradedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgeFeeOracleUpgradedIterator) 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 BridgeFeeQuote

type BridgeFeeQuote struct {
	BridgeFeeQuoteCaller     // Read-only binding to the contract
	BridgeFeeQuoteTransactor // Write-only binding to the contract
	BridgeFeeQuoteFilterer   // Log filterer for contract events
}

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

func DeployBridgeFeeQuote

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

DeployBridgeFeeQuote deploys a new Ethereum contract, binding an instance of BridgeFeeQuote to it.

func NewBridgeFeeQuote

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

NewBridgeFeeQuote creates a new instance of BridgeFeeQuote, bound to a specific deployed contract.

type BridgeFeeQuoteAdminChanged

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

BridgeFeeQuoteAdminChanged represents a AdminChanged event raised by the BridgeFeeQuote contract.

type BridgeFeeQuoteAdminChangedIterator

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

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

func (*BridgeFeeQuoteAdminChangedIterator) Close

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

func (*BridgeFeeQuoteAdminChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgeFeeQuoteAdminChangedIterator) 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 BridgeFeeQuoteBeaconUpgraded

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

BridgeFeeQuoteBeaconUpgraded represents a BeaconUpgraded event raised by the BridgeFeeQuote contract.

type BridgeFeeQuoteBeaconUpgradedIterator

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

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

func (*BridgeFeeQuoteBeaconUpgradedIterator) Close

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

func (*BridgeFeeQuoteBeaconUpgradedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgeFeeQuoteBeaconUpgradedIterator) 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 BridgeFeeQuoteCaller

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

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

func NewBridgeFeeQuoteCaller

func NewBridgeFeeQuoteCaller(address common.Address, caller bind.ContractCaller) (*BridgeFeeQuoteCaller, error)

NewBridgeFeeQuoteCaller creates a new read-only instance of BridgeFeeQuote, bound to a specific deployed contract.

func (*BridgeFeeQuoteCaller) ActiveTokenNames

func (_BridgeFeeQuote *BridgeFeeQuoteCaller) ActiveTokenNames(opts *bind.CallOpts, _chainName string) ([]string, error)

ActiveTokenNames is a free data retrieval call binding the contract method 0x8b2b25e0.

Solidity: function activeTokenNames(string _chainName) view returns(string[])

func (*BridgeFeeQuoteCaller) Assets

func (_BridgeFeeQuote *BridgeFeeQuoteCaller) Assets(opts *bind.CallOpts, arg0 string) (bool, error)

Assets is a free data retrieval call binding the contract method 0x85936228.

Solidity: function assets(string ) view returns(bool isActive)

func (*BridgeFeeQuoteCaller) ChainNames

func (_BridgeFeeQuote *BridgeFeeQuoteCaller) ChainNames(opts *bind.CallOpts, arg0 *big.Int) (string, error)

ChainNames is a free data retrieval call binding the contract method 0x7223c6ba.

Solidity: function chainNames(uint256 ) view returns(string)

func (*BridgeFeeQuoteCaller) DEFAULTADMINROLE

func (_BridgeFeeQuote *BridgeFeeQuoteCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)

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

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*BridgeFeeQuoteCaller) GetQuote

func (_BridgeFeeQuote *BridgeFeeQuoteCaller) GetQuote(opts *bind.CallOpts, _chainName string, _tokenName string, _oracle common.Address, _index *big.Int) (IBridgeFeeQuoteQuoteInfo, error)

GetQuote is a free data retrieval call binding the contract method 0xdb223194.

Solidity: function getQuote(string _chainName, string _tokenName, address _oracle, uint256 _index) view returns((uint256,string,string,address,uint256,uint256,uint256))

func (*BridgeFeeQuoteCaller) GetQuoteById

func (_BridgeFeeQuote *BridgeFeeQuoteCaller) GetQuoteById(opts *bind.CallOpts, _id *big.Int) (IBridgeFeeQuoteQuoteInfo, error)

GetQuoteById is a free data retrieval call binding the contract method 0xa8541c17.

Solidity: function getQuoteById(uint256 _id) view returns((uint256,string,string,address,uint256,uint256,uint256) q)

func (*BridgeFeeQuoteCaller) GetQuoteList

func (_BridgeFeeQuote *BridgeFeeQuoteCaller) GetQuoteList(opts *bind.CallOpts, _chainName string) ([]IBridgeFeeQuoteQuoteInfo, error)

GetQuoteList is a free data retrieval call binding the contract method 0x398a0e6b.

Solidity: function getQuoteList(string _chainName) view returns((uint256,string,string,address,uint256,uint256,uint256)[])

func (*BridgeFeeQuoteCaller) GetQuotesByToken

func (_BridgeFeeQuote *BridgeFeeQuoteCaller) GetQuotesByToken(opts *bind.CallOpts, _chainName string, _tokenName string) ([]IBridgeFeeQuoteQuoteInfo, error)

GetQuotesByToken is a free data retrieval call binding the contract method 0x3dd7c98c.

Solidity: function getQuotesByToken(string _chainName, string _tokenName) view returns((uint256,string,string,address,uint256,uint256,uint256)[])

func (*BridgeFeeQuoteCaller) GetRoleAdmin

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

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

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

func (*BridgeFeeQuoteCaller) HasRole

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

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

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

func (*BridgeFeeQuoteCaller) IsActiveTokenName

func (_BridgeFeeQuote *BridgeFeeQuoteCaller) IsActiveTokenName(opts *bind.CallOpts, _chainName string, _tokenName string) (bool, error)

IsActiveTokenName is a free data retrieval call binding the contract method 0xd4b8c24f.

Solidity: function isActiveTokenName(string _chainName, string _tokenName) view returns(bool)

func (*BridgeFeeQuoteCaller) MakeMessageHash

func (_BridgeFeeQuote *BridgeFeeQuoteCaller) MakeMessageHash(opts *bind.CallOpts, _chainName string, _tokenName string, _fee *big.Int, _gasLimit *big.Int, _expiry *big.Int) ([32]byte, error)

MakeMessageHash is a free data retrieval call binding the contract method 0x3fc57c3d.

Solidity: function makeMessageHash(string _chainName, string _tokenName, uint256 _fee, uint256 _gasLimit, uint256 _expiry) pure returns(bytes32)

func (*BridgeFeeQuoteCaller) MaxQuoteIndex

func (_BridgeFeeQuote *BridgeFeeQuoteCaller) MaxQuoteIndex(opts *bind.CallOpts) (*big.Int, error)

MaxQuoteIndex is a free data retrieval call binding the contract method 0xec5af586.

Solidity: function maxQuoteIndex() view returns(uint256)

func (*BridgeFeeQuoteCaller) OWNERROLE

func (_BridgeFeeQuote *BridgeFeeQuoteCaller) OWNERROLE(opts *bind.CallOpts) ([32]byte, error)

OWNERROLE is a free data retrieval call binding the contract method 0xe58378bb.

Solidity: function OWNER_ROLE() view returns(bytes32)

func (*BridgeFeeQuoteCaller) OracleContract

func (_BridgeFeeQuote *BridgeFeeQuoteCaller) OracleContract(opts *bind.CallOpts) (common.Address, error)

OracleContract is a free data retrieval call binding the contract method 0xbece7532.

Solidity: function oracleContract() view returns(address)

func (*BridgeFeeQuoteCaller) ProxiableUUID

func (_BridgeFeeQuote *BridgeFeeQuoteCaller) 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 (*BridgeFeeQuoteCaller) QuoteNonce

func (_BridgeFeeQuote *BridgeFeeQuoteCaller) QuoteNonce(opts *bind.CallOpts) (*big.Int, error)

QuoteNonce is a free data retrieval call binding the contract method 0x2c189169.

Solidity: function quoteNonce() view returns(uint256)

func (*BridgeFeeQuoteCaller) SupportAssets

func (_BridgeFeeQuote *BridgeFeeQuoteCaller) SupportAssets(opts *bind.CallOpts, _chainName string) (IBridgeFeeQuoteAsset, error)

SupportAssets is a free data retrieval call binding the contract method 0x1b826a1b.

Solidity: function supportAssets(string _chainName) view returns((bool,string[]))

func (*BridgeFeeQuoteCaller) SupportChainNames

func (_BridgeFeeQuote *BridgeFeeQuoteCaller) SupportChainNames(opts *bind.CallOpts) ([]string, error)

SupportChainNames is a free data retrieval call binding the contract method 0x0a1d133c.

Solidity: function supportChainNames() view returns(string[])

func (*BridgeFeeQuoteCaller) SupportsInterface

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

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

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

func (*BridgeFeeQuoteCaller) UPGRADEROLE

func (_BridgeFeeQuote *BridgeFeeQuoteCaller) UPGRADEROLE(opts *bind.CallOpts) ([32]byte, error)

UPGRADEROLE is a free data retrieval call binding the contract method 0xb908afa8.

Solidity: function UPGRADE_ROLE() view returns(bytes32)

type BridgeFeeQuoteCallerRaw

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

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

func (*BridgeFeeQuoteCallerRaw) Call

func (_BridgeFeeQuote *BridgeFeeQuoteCallerRaw) 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 BridgeFeeQuoteCallerSession

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

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

func (*BridgeFeeQuoteCallerSession) ActiveTokenNames

func (_BridgeFeeQuote *BridgeFeeQuoteCallerSession) ActiveTokenNames(_chainName string) ([]string, error)

ActiveTokenNames is a free data retrieval call binding the contract method 0x8b2b25e0.

Solidity: function activeTokenNames(string _chainName) view returns(string[])

func (*BridgeFeeQuoteCallerSession) Assets

func (_BridgeFeeQuote *BridgeFeeQuoteCallerSession) Assets(arg0 string) (bool, error)

Assets is a free data retrieval call binding the contract method 0x85936228.

Solidity: function assets(string ) view returns(bool isActive)

func (*BridgeFeeQuoteCallerSession) ChainNames

func (_BridgeFeeQuote *BridgeFeeQuoteCallerSession) ChainNames(arg0 *big.Int) (string, error)

ChainNames is a free data retrieval call binding the contract method 0x7223c6ba.

Solidity: function chainNames(uint256 ) view returns(string)

func (*BridgeFeeQuoteCallerSession) DEFAULTADMINROLE

func (_BridgeFeeQuote *BridgeFeeQuoteCallerSession) DEFAULTADMINROLE() ([32]byte, error)

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

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*BridgeFeeQuoteCallerSession) GetQuote

func (_BridgeFeeQuote *BridgeFeeQuoteCallerSession) GetQuote(_chainName string, _tokenName string, _oracle common.Address, _index *big.Int) (IBridgeFeeQuoteQuoteInfo, error)

GetQuote is a free data retrieval call binding the contract method 0xdb223194.

Solidity: function getQuote(string _chainName, string _tokenName, address _oracle, uint256 _index) view returns((uint256,string,string,address,uint256,uint256,uint256))

func (*BridgeFeeQuoteCallerSession) GetQuoteById

func (_BridgeFeeQuote *BridgeFeeQuoteCallerSession) GetQuoteById(_id *big.Int) (IBridgeFeeQuoteQuoteInfo, error)

GetQuoteById is a free data retrieval call binding the contract method 0xa8541c17.

Solidity: function getQuoteById(uint256 _id) view returns((uint256,string,string,address,uint256,uint256,uint256) q)

func (*BridgeFeeQuoteCallerSession) GetQuoteList

func (_BridgeFeeQuote *BridgeFeeQuoteCallerSession) GetQuoteList(_chainName string) ([]IBridgeFeeQuoteQuoteInfo, error)

GetQuoteList is a free data retrieval call binding the contract method 0x398a0e6b.

Solidity: function getQuoteList(string _chainName) view returns((uint256,string,string,address,uint256,uint256,uint256)[])

func (*BridgeFeeQuoteCallerSession) GetQuotesByToken

func (_BridgeFeeQuote *BridgeFeeQuoteCallerSession) GetQuotesByToken(_chainName string, _tokenName string) ([]IBridgeFeeQuoteQuoteInfo, error)

GetQuotesByToken is a free data retrieval call binding the contract method 0x3dd7c98c.

Solidity: function getQuotesByToken(string _chainName, string _tokenName) view returns((uint256,string,string,address,uint256,uint256,uint256)[])

func (*BridgeFeeQuoteCallerSession) GetRoleAdmin

func (_BridgeFeeQuote *BridgeFeeQuoteCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)

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

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

func (*BridgeFeeQuoteCallerSession) HasRole

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

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

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

func (*BridgeFeeQuoteCallerSession) IsActiveTokenName

func (_BridgeFeeQuote *BridgeFeeQuoteCallerSession) IsActiveTokenName(_chainName string, _tokenName string) (bool, error)

IsActiveTokenName is a free data retrieval call binding the contract method 0xd4b8c24f.

Solidity: function isActiveTokenName(string _chainName, string _tokenName) view returns(bool)

func (*BridgeFeeQuoteCallerSession) MakeMessageHash

func (_BridgeFeeQuote *BridgeFeeQuoteCallerSession) MakeMessageHash(_chainName string, _tokenName string, _fee *big.Int, _gasLimit *big.Int, _expiry *big.Int) ([32]byte, error)

MakeMessageHash is a free data retrieval call binding the contract method 0x3fc57c3d.

Solidity: function makeMessageHash(string _chainName, string _tokenName, uint256 _fee, uint256 _gasLimit, uint256 _expiry) pure returns(bytes32)

func (*BridgeFeeQuoteCallerSession) MaxQuoteIndex

func (_BridgeFeeQuote *BridgeFeeQuoteCallerSession) MaxQuoteIndex() (*big.Int, error)

MaxQuoteIndex is a free data retrieval call binding the contract method 0xec5af586.

Solidity: function maxQuoteIndex() view returns(uint256)

func (*BridgeFeeQuoteCallerSession) OWNERROLE

func (_BridgeFeeQuote *BridgeFeeQuoteCallerSession) OWNERROLE() ([32]byte, error)

OWNERROLE is a free data retrieval call binding the contract method 0xe58378bb.

Solidity: function OWNER_ROLE() view returns(bytes32)

func (*BridgeFeeQuoteCallerSession) OracleContract

func (_BridgeFeeQuote *BridgeFeeQuoteCallerSession) OracleContract() (common.Address, error)

OracleContract is a free data retrieval call binding the contract method 0xbece7532.

Solidity: function oracleContract() view returns(address)

func (*BridgeFeeQuoteCallerSession) ProxiableUUID

func (_BridgeFeeQuote *BridgeFeeQuoteCallerSession) ProxiableUUID() ([32]byte, error)

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

Solidity: function proxiableUUID() view returns(bytes32)

func (*BridgeFeeQuoteCallerSession) QuoteNonce

func (_BridgeFeeQuote *BridgeFeeQuoteCallerSession) QuoteNonce() (*big.Int, error)

QuoteNonce is a free data retrieval call binding the contract method 0x2c189169.

Solidity: function quoteNonce() view returns(uint256)

func (*BridgeFeeQuoteCallerSession) SupportAssets

func (_BridgeFeeQuote *BridgeFeeQuoteCallerSession) SupportAssets(_chainName string) (IBridgeFeeQuoteAsset, error)

SupportAssets is a free data retrieval call binding the contract method 0x1b826a1b.

Solidity: function supportAssets(string _chainName) view returns((bool,string[]))

func (*BridgeFeeQuoteCallerSession) SupportChainNames

func (_BridgeFeeQuote *BridgeFeeQuoteCallerSession) SupportChainNames() ([]string, error)

SupportChainNames is a free data retrieval call binding the contract method 0x0a1d133c.

Solidity: function supportChainNames() view returns(string[])

func (*BridgeFeeQuoteCallerSession) SupportsInterface

func (_BridgeFeeQuote *BridgeFeeQuoteCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)

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

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

func (*BridgeFeeQuoteCallerSession) UPGRADEROLE

func (_BridgeFeeQuote *BridgeFeeQuoteCallerSession) UPGRADEROLE() ([32]byte, error)

UPGRADEROLE is a free data retrieval call binding the contract method 0xb908afa8.

Solidity: function UPGRADE_ROLE() view returns(bytes32)

type BridgeFeeQuoteFilterer

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

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

func NewBridgeFeeQuoteFilterer

func NewBridgeFeeQuoteFilterer(address common.Address, filterer bind.ContractFilterer) (*BridgeFeeQuoteFilterer, error)

NewBridgeFeeQuoteFilterer creates a new log filterer instance of BridgeFeeQuote, bound to a specific deployed contract.

func (*BridgeFeeQuoteFilterer) FilterAdminChanged

func (_BridgeFeeQuote *BridgeFeeQuoteFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*BridgeFeeQuoteAdminChangedIterator, error)

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

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*BridgeFeeQuoteFilterer) FilterBeaconUpgraded

func (_BridgeFeeQuote *BridgeFeeQuoteFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*BridgeFeeQuoteBeaconUpgradedIterator, error)

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

Solidity: event BeaconUpgraded(address indexed beacon)

func (*BridgeFeeQuoteFilterer) FilterInitialized

func (_BridgeFeeQuote *BridgeFeeQuoteFilterer) FilterInitialized(opts *bind.FilterOpts) (*BridgeFeeQuoteInitializedIterator, error)

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

Solidity: event Initialized(uint8 version)

func (*BridgeFeeQuoteFilterer) FilterNewQuote

func (_BridgeFeeQuote *BridgeFeeQuoteFilterer) FilterNewQuote(opts *bind.FilterOpts, id []*big.Int, oracle []common.Address, chainName []string) (*BridgeFeeQuoteNewQuoteIterator, error)

FilterNewQuote is a free log retrieval operation binding the contract event 0x0b48a34dfbe17b8e2330b80c7d240dd45b1cdb6aee27ebaaee4edb666318e4d6.

Solidity: event NewQuote(uint256 indexed id, address indexed oracle, string indexed chainName, string tokenName, uint256 fee, uint256 gasLimit, uint256 expiry)

func (*BridgeFeeQuoteFilterer) FilterRoleAdminChanged

func (_BridgeFeeQuote *BridgeFeeQuoteFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (*BridgeFeeQuoteRoleAdminChangedIterator, error)

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

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

func (*BridgeFeeQuoteFilterer) FilterRoleGranted

func (_BridgeFeeQuote *BridgeFeeQuoteFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*BridgeFeeQuoteRoleGrantedIterator, error)

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

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

func (*BridgeFeeQuoteFilterer) FilterRoleRevoked

func (_BridgeFeeQuote *BridgeFeeQuoteFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*BridgeFeeQuoteRoleRevokedIterator, error)

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

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

func (*BridgeFeeQuoteFilterer) FilterUpgraded

func (_BridgeFeeQuote *BridgeFeeQuoteFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*BridgeFeeQuoteUpgradedIterator, error)

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

Solidity: event Upgraded(address indexed implementation)

func (*BridgeFeeQuoteFilterer) ParseAdminChanged

func (_BridgeFeeQuote *BridgeFeeQuoteFilterer) ParseAdminChanged(log types.Log) (*BridgeFeeQuoteAdminChanged, error)

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

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*BridgeFeeQuoteFilterer) ParseBeaconUpgraded

func (_BridgeFeeQuote *BridgeFeeQuoteFilterer) ParseBeaconUpgraded(log types.Log) (*BridgeFeeQuoteBeaconUpgraded, error)

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

Solidity: event BeaconUpgraded(address indexed beacon)

func (*BridgeFeeQuoteFilterer) ParseInitialized

func (_BridgeFeeQuote *BridgeFeeQuoteFilterer) ParseInitialized(log types.Log) (*BridgeFeeQuoteInitialized, error)

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

Solidity: event Initialized(uint8 version)

func (*BridgeFeeQuoteFilterer) ParseNewQuote

func (_BridgeFeeQuote *BridgeFeeQuoteFilterer) ParseNewQuote(log types.Log) (*BridgeFeeQuoteNewQuote, error)

ParseNewQuote is a log parse operation binding the contract event 0x0b48a34dfbe17b8e2330b80c7d240dd45b1cdb6aee27ebaaee4edb666318e4d6.

Solidity: event NewQuote(uint256 indexed id, address indexed oracle, string indexed chainName, string tokenName, uint256 fee, uint256 gasLimit, uint256 expiry)

func (*BridgeFeeQuoteFilterer) ParseRoleAdminChanged

func (_BridgeFeeQuote *BridgeFeeQuoteFilterer) ParseRoleAdminChanged(log types.Log) (*BridgeFeeQuoteRoleAdminChanged, error)

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

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

func (*BridgeFeeQuoteFilterer) ParseRoleGranted

func (_BridgeFeeQuote *BridgeFeeQuoteFilterer) ParseRoleGranted(log types.Log) (*BridgeFeeQuoteRoleGranted, error)

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

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

func (*BridgeFeeQuoteFilterer) ParseRoleRevoked

func (_BridgeFeeQuote *BridgeFeeQuoteFilterer) ParseRoleRevoked(log types.Log) (*BridgeFeeQuoteRoleRevoked, error)

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

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

func (*BridgeFeeQuoteFilterer) ParseUpgraded

func (_BridgeFeeQuote *BridgeFeeQuoteFilterer) ParseUpgraded(log types.Log) (*BridgeFeeQuoteUpgraded, error)

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

Solidity: event Upgraded(address indexed implementation)

func (*BridgeFeeQuoteFilterer) WatchAdminChanged

func (_BridgeFeeQuote *BridgeFeeQuoteFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *BridgeFeeQuoteAdminChanged) (event.Subscription, error)

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

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*BridgeFeeQuoteFilterer) WatchBeaconUpgraded

func (_BridgeFeeQuote *BridgeFeeQuoteFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *BridgeFeeQuoteBeaconUpgraded, 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 (*BridgeFeeQuoteFilterer) WatchInitialized

func (_BridgeFeeQuote *BridgeFeeQuoteFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *BridgeFeeQuoteInitialized) (event.Subscription, error)

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

Solidity: event Initialized(uint8 version)

func (*BridgeFeeQuoteFilterer) WatchNewQuote

func (_BridgeFeeQuote *BridgeFeeQuoteFilterer) WatchNewQuote(opts *bind.WatchOpts, sink chan<- *BridgeFeeQuoteNewQuote, id []*big.Int, oracle []common.Address, chainName []string) (event.Subscription, error)

WatchNewQuote is a free log subscription operation binding the contract event 0x0b48a34dfbe17b8e2330b80c7d240dd45b1cdb6aee27ebaaee4edb666318e4d6.

Solidity: event NewQuote(uint256 indexed id, address indexed oracle, string indexed chainName, string tokenName, uint256 fee, uint256 gasLimit, uint256 expiry)

func (*BridgeFeeQuoteFilterer) WatchRoleAdminChanged

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

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

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

func (*BridgeFeeQuoteFilterer) WatchRoleGranted

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

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

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

func (*BridgeFeeQuoteFilterer) WatchRoleRevoked

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

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

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

func (*BridgeFeeQuoteFilterer) WatchUpgraded

func (_BridgeFeeQuote *BridgeFeeQuoteFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *BridgeFeeQuoteUpgraded, 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 BridgeFeeQuoteInitialized

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

BridgeFeeQuoteInitialized represents a Initialized event raised by the BridgeFeeQuote contract.

type BridgeFeeQuoteInitializedIterator

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

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

func (*BridgeFeeQuoteInitializedIterator) Close

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

func (*BridgeFeeQuoteInitializedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgeFeeQuoteInitializedIterator) 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 BridgeFeeQuoteKeeper

type BridgeFeeQuoteKeeper struct {
	Caller
	// contains filtered or unexported fields
}

func NewBridgeFeeQuoteKeeper

func NewBridgeFeeQuoteKeeper(caller Caller, contract string) BridgeFeeQuoteKeeper

func (BridgeFeeQuoteKeeper) GetOwnerRole

func (k BridgeFeeQuoteKeeper) GetOwnerRole(ctx context.Context) (common.Hash, error)

func (BridgeFeeQuoteKeeper) GetQuoteById

func (BridgeFeeQuoteKeeper) GetQuotesByToken

func (k BridgeFeeQuoteKeeper) GetQuotesByToken(ctx context.Context, chainName, tokenName string) ([]IBridgeFeeQuoteQuoteInfo, error)

func (BridgeFeeQuoteKeeper) GetUpgradeRole

func (k BridgeFeeQuoteKeeper) GetUpgradeRole(ctx context.Context) (common.Hash, error)

func (BridgeFeeQuoteKeeper) GrantRole

func (BridgeFeeQuoteKeeper) Initialize

func (k BridgeFeeQuoteKeeper) Initialize(ctx context.Context, oracle common.Address, maxQuoteIndex *big.Int) (*types.MsgEthereumTxResponse, error)

func (BridgeFeeQuoteKeeper) RegisterChain

func (k BridgeFeeQuoteKeeper) RegisterChain(ctx context.Context, chainName string, tokenNames ...string) (*types.MsgEthereumTxResponse, error)

func (BridgeFeeQuoteKeeper) RegisterTokenName

func (k BridgeFeeQuoteKeeper) RegisterTokenName(ctx context.Context, chainName string, tokenNames []string) (*types.MsgEthereumTxResponse, error)

type BridgeFeeQuoteNewQuote

type BridgeFeeQuoteNewQuote struct {
	Id        *big.Int
	Oracle    common.Address
	ChainName common.Hash
	TokenName string
	Fee       *big.Int
	GasLimit  *big.Int
	Expiry    *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

BridgeFeeQuoteNewQuote represents a NewQuote event raised by the BridgeFeeQuote contract.

type BridgeFeeQuoteNewQuoteIterator

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

BridgeFeeQuoteNewQuoteIterator is returned from FilterNewQuote and is used to iterate over the raw logs and unpacked data for NewQuote events raised by the BridgeFeeQuote contract.

func (*BridgeFeeQuoteNewQuoteIterator) Close

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

func (*BridgeFeeQuoteNewQuoteIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgeFeeQuoteNewQuoteIterator) 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 BridgeFeeQuoteRaw

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

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

func (*BridgeFeeQuoteRaw) Call

func (_BridgeFeeQuote *BridgeFeeQuoteRaw) 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 (*BridgeFeeQuoteRaw) Transact

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

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

func (*BridgeFeeQuoteRaw) Transfer

func (_BridgeFeeQuote *BridgeFeeQuoteRaw) 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 BridgeFeeQuoteRoleAdminChanged

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

BridgeFeeQuoteRoleAdminChanged represents a RoleAdminChanged event raised by the BridgeFeeQuote contract.

type BridgeFeeQuoteRoleAdminChangedIterator

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

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

func (*BridgeFeeQuoteRoleAdminChangedIterator) Close

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

func (*BridgeFeeQuoteRoleAdminChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgeFeeQuoteRoleAdminChangedIterator) 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 BridgeFeeQuoteRoleGranted

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

BridgeFeeQuoteRoleGranted represents a RoleGranted event raised by the BridgeFeeQuote contract.

type BridgeFeeQuoteRoleGrantedIterator

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

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

func (*BridgeFeeQuoteRoleGrantedIterator) Close

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

func (*BridgeFeeQuoteRoleGrantedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgeFeeQuoteRoleGrantedIterator) 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 BridgeFeeQuoteRoleRevoked

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

BridgeFeeQuoteRoleRevoked represents a RoleRevoked event raised by the BridgeFeeQuote contract.

type BridgeFeeQuoteRoleRevokedIterator

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

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

func (*BridgeFeeQuoteRoleRevokedIterator) Close

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

func (*BridgeFeeQuoteRoleRevokedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgeFeeQuoteRoleRevokedIterator) 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 BridgeFeeQuoteSession

type BridgeFeeQuoteSession struct {
	Contract     *BridgeFeeQuote   // 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
}

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

func (*BridgeFeeQuoteSession) ActiveTokenNames

func (_BridgeFeeQuote *BridgeFeeQuoteSession) ActiveTokenNames(_chainName string) ([]string, error)

ActiveTokenNames is a free data retrieval call binding the contract method 0x8b2b25e0.

Solidity: function activeTokenNames(string _chainName) view returns(string[])

func (*BridgeFeeQuoteSession) Assets

func (_BridgeFeeQuote *BridgeFeeQuoteSession) Assets(arg0 string) (bool, error)

Assets is a free data retrieval call binding the contract method 0x85936228.

Solidity: function assets(string ) view returns(bool isActive)

func (*BridgeFeeQuoteSession) ChainNames

func (_BridgeFeeQuote *BridgeFeeQuoteSession) ChainNames(arg0 *big.Int) (string, error)

ChainNames is a free data retrieval call binding the contract method 0x7223c6ba.

Solidity: function chainNames(uint256 ) view returns(string)

func (*BridgeFeeQuoteSession) DEFAULTADMINROLE

func (_BridgeFeeQuote *BridgeFeeQuoteSession) DEFAULTADMINROLE() ([32]byte, error)

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

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*BridgeFeeQuoteSession) GetQuote

func (_BridgeFeeQuote *BridgeFeeQuoteSession) GetQuote(_chainName string, _tokenName string, _oracle common.Address, _index *big.Int) (IBridgeFeeQuoteQuoteInfo, error)

GetQuote is a free data retrieval call binding the contract method 0xdb223194.

Solidity: function getQuote(string _chainName, string _tokenName, address _oracle, uint256 _index) view returns((uint256,string,string,address,uint256,uint256,uint256))

func (*BridgeFeeQuoteSession) GetQuoteById

func (_BridgeFeeQuote *BridgeFeeQuoteSession) GetQuoteById(_id *big.Int) (IBridgeFeeQuoteQuoteInfo, error)

GetQuoteById is a free data retrieval call binding the contract method 0xa8541c17.

Solidity: function getQuoteById(uint256 _id) view returns((uint256,string,string,address,uint256,uint256,uint256) q)

func (*BridgeFeeQuoteSession) GetQuoteList

func (_BridgeFeeQuote *BridgeFeeQuoteSession) GetQuoteList(_chainName string) ([]IBridgeFeeQuoteQuoteInfo, error)

GetQuoteList is a free data retrieval call binding the contract method 0x398a0e6b.

Solidity: function getQuoteList(string _chainName) view returns((uint256,string,string,address,uint256,uint256,uint256)[])

func (*BridgeFeeQuoteSession) GetQuotesByToken

func (_BridgeFeeQuote *BridgeFeeQuoteSession) GetQuotesByToken(_chainName string, _tokenName string) ([]IBridgeFeeQuoteQuoteInfo, error)

GetQuotesByToken is a free data retrieval call binding the contract method 0x3dd7c98c.

Solidity: function getQuotesByToken(string _chainName, string _tokenName) view returns((uint256,string,string,address,uint256,uint256,uint256)[])

func (*BridgeFeeQuoteSession) GetRoleAdmin

func (_BridgeFeeQuote *BridgeFeeQuoteSession) GetRoleAdmin(role [32]byte) ([32]byte, error)

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

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

func (*BridgeFeeQuoteSession) GrantRole

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

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

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

func (*BridgeFeeQuoteSession) HasRole

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

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

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

func (*BridgeFeeQuoteSession) Initialize

func (_BridgeFeeQuote *BridgeFeeQuoteSession) Initialize(_oracleContract common.Address, _maxQuoteIndex *big.Int) (*types.Transaction, error)

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

Solidity: function initialize(address _oracleContract, uint256 _maxQuoteIndex) returns()

func (*BridgeFeeQuoteSession) IsActiveTokenName

func (_BridgeFeeQuote *BridgeFeeQuoteSession) IsActiveTokenName(_chainName string, _tokenName string) (bool, error)

IsActiveTokenName is a free data retrieval call binding the contract method 0xd4b8c24f.

Solidity: function isActiveTokenName(string _chainName, string _tokenName) view returns(bool)

func (*BridgeFeeQuoteSession) MakeMessageHash

func (_BridgeFeeQuote *BridgeFeeQuoteSession) MakeMessageHash(_chainName string, _tokenName string, _fee *big.Int, _gasLimit *big.Int, _expiry *big.Int) ([32]byte, error)

MakeMessageHash is a free data retrieval call binding the contract method 0x3fc57c3d.

Solidity: function makeMessageHash(string _chainName, string _tokenName, uint256 _fee, uint256 _gasLimit, uint256 _expiry) pure returns(bytes32)

func (*BridgeFeeQuoteSession) MaxQuoteIndex

func (_BridgeFeeQuote *BridgeFeeQuoteSession) MaxQuoteIndex() (*big.Int, error)

MaxQuoteIndex is a free data retrieval call binding the contract method 0xec5af586.

Solidity: function maxQuoteIndex() view returns(uint256)

func (*BridgeFeeQuoteSession) OWNERROLE

func (_BridgeFeeQuote *BridgeFeeQuoteSession) OWNERROLE() ([32]byte, error)

OWNERROLE is a free data retrieval call binding the contract method 0xe58378bb.

Solidity: function OWNER_ROLE() view returns(bytes32)

func (*BridgeFeeQuoteSession) OracleContract

func (_BridgeFeeQuote *BridgeFeeQuoteSession) OracleContract() (common.Address, error)

OracleContract is a free data retrieval call binding the contract method 0xbece7532.

Solidity: function oracleContract() view returns(address)

func (*BridgeFeeQuoteSession) ProxiableUUID

func (_BridgeFeeQuote *BridgeFeeQuoteSession) ProxiableUUID() ([32]byte, error)

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

Solidity: function proxiableUUID() view returns(bytes32)

func (*BridgeFeeQuoteSession) Quote

func (_BridgeFeeQuote *BridgeFeeQuoteSession) Quote(_inputs []IBridgeFeeQuoteQuoteInput) (*types.Transaction, error)

Quote is a paid mutator transaction binding the contract method 0xc994e71a.

Solidity: function quote((string,string,address,uint256,uint256,uint256,uint256,bytes)[] _inputs) returns(bool)

func (*BridgeFeeQuoteSession) QuoteNonce

func (_BridgeFeeQuote *BridgeFeeQuoteSession) QuoteNonce() (*big.Int, error)

QuoteNonce is a free data retrieval call binding the contract method 0x2c189169.

Solidity: function quoteNonce() view returns(uint256)

func (*BridgeFeeQuoteSession) Receive

func (_BridgeFeeQuote *BridgeFeeQuoteSession) Receive() (*types.Transaction, error)

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

Solidity: receive() payable returns()

func (*BridgeFeeQuoteSession) RegisterChain

func (_BridgeFeeQuote *BridgeFeeQuoteSession) RegisterChain(_chainName string, _tokenNames []string) (*types.Transaction, error)

RegisterChain is a paid mutator transaction binding the contract method 0xa59f39c7.

Solidity: function registerChain(string _chainName, string[] _tokenNames) returns(bool)

func (*BridgeFeeQuoteSession) RegisterTokenName

func (_BridgeFeeQuote *BridgeFeeQuoteSession) RegisterTokenName(_chainName string, _tokenNames []string) (*types.Transaction, error)

RegisterTokenName is a paid mutator transaction binding the contract method 0xd43e62c0.

Solidity: function registerTokenName(string _chainName, string[] _tokenNames) returns(bool)

func (*BridgeFeeQuoteSession) RenounceRole

func (_BridgeFeeQuote *BridgeFeeQuoteSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)

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

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

func (*BridgeFeeQuoteSession) RevokeRole

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

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

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

func (*BridgeFeeQuoteSession) SupportAssets

func (_BridgeFeeQuote *BridgeFeeQuoteSession) SupportAssets(_chainName string) (IBridgeFeeQuoteAsset, error)

SupportAssets is a free data retrieval call binding the contract method 0x1b826a1b.

Solidity: function supportAssets(string _chainName) view returns((bool,string[]))

func (*BridgeFeeQuoteSession) SupportChainNames

func (_BridgeFeeQuote *BridgeFeeQuoteSession) SupportChainNames() ([]string, error)

SupportChainNames is a free data retrieval call binding the contract method 0x0a1d133c.

Solidity: function supportChainNames() view returns(string[])

func (*BridgeFeeQuoteSession) SupportsInterface

func (_BridgeFeeQuote *BridgeFeeQuoteSession) SupportsInterface(interfaceId [4]byte) (bool, error)

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

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

func (*BridgeFeeQuoteSession) UPGRADEROLE

func (_BridgeFeeQuote *BridgeFeeQuoteSession) UPGRADEROLE() ([32]byte, error)

UPGRADEROLE is a free data retrieval call binding the contract method 0xb908afa8.

Solidity: function UPGRADE_ROLE() view returns(bytes32)

func (*BridgeFeeQuoteSession) UpdateMaxQuoteIndex

func (_BridgeFeeQuote *BridgeFeeQuoteSession) UpdateMaxQuoteIndex(_maxQuoteIndex *big.Int) (*types.Transaction, error)

UpdateMaxQuoteIndex is a paid mutator transaction binding the contract method 0x976646b9.

Solidity: function updateMaxQuoteIndex(uint256 _maxQuoteIndex) returns(bool)

func (*BridgeFeeQuoteSession) UpdateOracleContract

func (_BridgeFeeQuote *BridgeFeeQuoteSession) UpdateOracleContract(_oracleContract common.Address) (*types.Transaction, error)

UpdateOracleContract is a paid mutator transaction binding the contract method 0xd3bab58f.

Solidity: function updateOracleContract(address _oracleContract) returns(bool)

func (*BridgeFeeQuoteSession) UpgradeTo

func (_BridgeFeeQuote *BridgeFeeQuoteSession) 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 (*BridgeFeeQuoteSession) UpgradeToAndCall

func (_BridgeFeeQuote *BridgeFeeQuoteSession) 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 BridgeFeeQuoteTransactor

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

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

func NewBridgeFeeQuoteTransactor

func NewBridgeFeeQuoteTransactor(address common.Address, transactor bind.ContractTransactor) (*BridgeFeeQuoteTransactor, error)

NewBridgeFeeQuoteTransactor creates a new write-only instance of BridgeFeeQuote, bound to a specific deployed contract.

func (*BridgeFeeQuoteTransactor) GrantRole

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

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

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

func (*BridgeFeeQuoteTransactor) Initialize

func (_BridgeFeeQuote *BridgeFeeQuoteTransactor) Initialize(opts *bind.TransactOpts, _oracleContract common.Address, _maxQuoteIndex *big.Int) (*types.Transaction, error)

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

Solidity: function initialize(address _oracleContract, uint256 _maxQuoteIndex) returns()

func (*BridgeFeeQuoteTransactor) Quote

func (_BridgeFeeQuote *BridgeFeeQuoteTransactor) Quote(opts *bind.TransactOpts, _inputs []IBridgeFeeQuoteQuoteInput) (*types.Transaction, error)

Quote is a paid mutator transaction binding the contract method 0xc994e71a.

Solidity: function quote((string,string,address,uint256,uint256,uint256,uint256,bytes)[] _inputs) returns(bool)

func (*BridgeFeeQuoteTransactor) Receive

func (_BridgeFeeQuote *BridgeFeeQuoteTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: receive() payable returns()

func (*BridgeFeeQuoteTransactor) RegisterChain

func (_BridgeFeeQuote *BridgeFeeQuoteTransactor) RegisterChain(opts *bind.TransactOpts, _chainName string, _tokenNames []string) (*types.Transaction, error)

RegisterChain is a paid mutator transaction binding the contract method 0xa59f39c7.

Solidity: function registerChain(string _chainName, string[] _tokenNames) returns(bool)

func (*BridgeFeeQuoteTransactor) RegisterTokenName

func (_BridgeFeeQuote *BridgeFeeQuoteTransactor) RegisterTokenName(opts *bind.TransactOpts, _chainName string, _tokenNames []string) (*types.Transaction, error)

RegisterTokenName is a paid mutator transaction binding the contract method 0xd43e62c0.

Solidity: function registerTokenName(string _chainName, string[] _tokenNames) returns(bool)

func (*BridgeFeeQuoteTransactor) RenounceRole

func (_BridgeFeeQuote *BridgeFeeQuoteTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

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

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

func (*BridgeFeeQuoteTransactor) RevokeRole

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

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

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

func (*BridgeFeeQuoteTransactor) UpdateMaxQuoteIndex

func (_BridgeFeeQuote *BridgeFeeQuoteTransactor) UpdateMaxQuoteIndex(opts *bind.TransactOpts, _maxQuoteIndex *big.Int) (*types.Transaction, error)

UpdateMaxQuoteIndex is a paid mutator transaction binding the contract method 0x976646b9.

Solidity: function updateMaxQuoteIndex(uint256 _maxQuoteIndex) returns(bool)

func (*BridgeFeeQuoteTransactor) UpdateOracleContract

func (_BridgeFeeQuote *BridgeFeeQuoteTransactor) UpdateOracleContract(opts *bind.TransactOpts, _oracleContract common.Address) (*types.Transaction, error)

UpdateOracleContract is a paid mutator transaction binding the contract method 0xd3bab58f.

Solidity: function updateOracleContract(address _oracleContract) returns(bool)

func (*BridgeFeeQuoteTransactor) UpgradeTo

func (_BridgeFeeQuote *BridgeFeeQuoteTransactor) 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 (*BridgeFeeQuoteTransactor) UpgradeToAndCall

func (_BridgeFeeQuote *BridgeFeeQuoteTransactor) 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 BridgeFeeQuoteTransactorRaw

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

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

func (*BridgeFeeQuoteTransactorRaw) Transact

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

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

func (*BridgeFeeQuoteTransactorRaw) Transfer

func (_BridgeFeeQuote *BridgeFeeQuoteTransactorRaw) 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 BridgeFeeQuoteTransactorSession

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

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

func (*BridgeFeeQuoteTransactorSession) GrantRole

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

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

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

func (*BridgeFeeQuoteTransactorSession) Initialize

func (_BridgeFeeQuote *BridgeFeeQuoteTransactorSession) Initialize(_oracleContract common.Address, _maxQuoteIndex *big.Int) (*types.Transaction, error)

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

Solidity: function initialize(address _oracleContract, uint256 _maxQuoteIndex) returns()

func (*BridgeFeeQuoteTransactorSession) Quote

Quote is a paid mutator transaction binding the contract method 0xc994e71a.

Solidity: function quote((string,string,address,uint256,uint256,uint256,uint256,bytes)[] _inputs) returns(bool)

func (*BridgeFeeQuoteTransactorSession) Receive

func (_BridgeFeeQuote *BridgeFeeQuoteTransactorSession) Receive() (*types.Transaction, error)

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

Solidity: receive() payable returns()

func (*BridgeFeeQuoteTransactorSession) RegisterChain

func (_BridgeFeeQuote *BridgeFeeQuoteTransactorSession) RegisterChain(_chainName string, _tokenNames []string) (*types.Transaction, error)

RegisterChain is a paid mutator transaction binding the contract method 0xa59f39c7.

Solidity: function registerChain(string _chainName, string[] _tokenNames) returns(bool)

func (*BridgeFeeQuoteTransactorSession) RegisterTokenName

func (_BridgeFeeQuote *BridgeFeeQuoteTransactorSession) RegisterTokenName(_chainName string, _tokenNames []string) (*types.Transaction, error)

RegisterTokenName is a paid mutator transaction binding the contract method 0xd43e62c0.

Solidity: function registerTokenName(string _chainName, string[] _tokenNames) returns(bool)

func (*BridgeFeeQuoteTransactorSession) RenounceRole

func (_BridgeFeeQuote *BridgeFeeQuoteTransactorSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)

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

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

func (*BridgeFeeQuoteTransactorSession) RevokeRole

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

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

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

func (*BridgeFeeQuoteTransactorSession) UpdateMaxQuoteIndex

func (_BridgeFeeQuote *BridgeFeeQuoteTransactorSession) UpdateMaxQuoteIndex(_maxQuoteIndex *big.Int) (*types.Transaction, error)

UpdateMaxQuoteIndex is a paid mutator transaction binding the contract method 0x976646b9.

Solidity: function updateMaxQuoteIndex(uint256 _maxQuoteIndex) returns(bool)

func (*BridgeFeeQuoteTransactorSession) UpdateOracleContract

func (_BridgeFeeQuote *BridgeFeeQuoteTransactorSession) UpdateOracleContract(_oracleContract common.Address) (*types.Transaction, error)

UpdateOracleContract is a paid mutator transaction binding the contract method 0xd3bab58f.

Solidity: function updateOracleContract(address _oracleContract) returns(bool)

func (*BridgeFeeQuoteTransactorSession) UpgradeTo

func (_BridgeFeeQuote *BridgeFeeQuoteTransactorSession) 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 (*BridgeFeeQuoteTransactorSession) UpgradeToAndCall

func (_BridgeFeeQuote *BridgeFeeQuoteTransactorSession) 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 BridgeFeeQuoteUpgraded

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

BridgeFeeQuoteUpgraded represents a Upgraded event raised by the BridgeFeeQuote contract.

type BridgeFeeQuoteUpgradedIterator

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

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

func (*BridgeFeeQuoteUpgradedIterator) Close

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

func (*BridgeFeeQuoteUpgradedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgeFeeQuoteUpgradedIterator) 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 BridgeProxy

type BridgeProxy struct {
	BridgeProxyCaller     // Read-only binding to the contract
	BridgeProxyTransactor // Write-only binding to the contract
	BridgeProxyFilterer   // Log filterer for contract events
}

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

func DeployBridgeProxy

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

DeployBridgeProxy deploys a new Ethereum contract, binding an instance of BridgeProxy to it.

func NewBridgeProxy

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

NewBridgeProxy creates a new instance of BridgeProxy, bound to a specific deployed contract.

type BridgeProxyAdminChanged

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

BridgeProxyAdminChanged represents a AdminChanged event raised by the BridgeProxy contract.

type BridgeProxyAdminChangedIterator

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

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

func (*BridgeProxyAdminChangedIterator) Close

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

func (*BridgeProxyAdminChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgeProxyAdminChangedIterator) 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 BridgeProxyBeaconUpgraded

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

BridgeProxyBeaconUpgraded represents a BeaconUpgraded event raised by the BridgeProxy contract.

type BridgeProxyBeaconUpgradedIterator

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

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

func (*BridgeProxyBeaconUpgradedIterator) Close

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

func (*BridgeProxyBeaconUpgradedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgeProxyBeaconUpgradedIterator) 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 BridgeProxyCaller

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

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

func NewBridgeProxyCaller

func NewBridgeProxyCaller(address common.Address, caller bind.ContractCaller) (*BridgeProxyCaller, error)

NewBridgeProxyCaller creates a new read-only instance of BridgeProxy, bound to a specific deployed contract.

type BridgeProxyCallerRaw

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

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

func (*BridgeProxyCallerRaw) Call

func (_BridgeProxy *BridgeProxyCallerRaw) 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 BridgeProxyCallerSession

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

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

type BridgeProxyFilterer

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

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

func NewBridgeProxyFilterer

func NewBridgeProxyFilterer(address common.Address, filterer bind.ContractFilterer) (*BridgeProxyFilterer, error)

NewBridgeProxyFilterer creates a new log filterer instance of BridgeProxy, bound to a specific deployed contract.

func (*BridgeProxyFilterer) FilterAdminChanged

func (_BridgeProxy *BridgeProxyFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*BridgeProxyAdminChangedIterator, error)

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

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*BridgeProxyFilterer) FilterBeaconUpgraded

func (_BridgeProxy *BridgeProxyFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*BridgeProxyBeaconUpgradedIterator, error)

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

Solidity: event BeaconUpgraded(address indexed beacon)

func (*BridgeProxyFilterer) FilterUpgraded

func (_BridgeProxy *BridgeProxyFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*BridgeProxyUpgradedIterator, error)

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

Solidity: event Upgraded(address indexed implementation)

func (*BridgeProxyFilterer) ParseAdminChanged

func (_BridgeProxy *BridgeProxyFilterer) ParseAdminChanged(log types.Log) (*BridgeProxyAdminChanged, error)

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

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*BridgeProxyFilterer) ParseBeaconUpgraded

func (_BridgeProxy *BridgeProxyFilterer) ParseBeaconUpgraded(log types.Log) (*BridgeProxyBeaconUpgraded, error)

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

Solidity: event BeaconUpgraded(address indexed beacon)

func (*BridgeProxyFilterer) ParseUpgraded

func (_BridgeProxy *BridgeProxyFilterer) ParseUpgraded(log types.Log) (*BridgeProxyUpgraded, error)

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

Solidity: event Upgraded(address indexed implementation)

func (*BridgeProxyFilterer) WatchAdminChanged

func (_BridgeProxy *BridgeProxyFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *BridgeProxyAdminChanged) (event.Subscription, error)

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

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*BridgeProxyFilterer) WatchBeaconUpgraded

func (_BridgeProxy *BridgeProxyFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *BridgeProxyBeaconUpgraded, 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 (*BridgeProxyFilterer) WatchUpgraded

func (_BridgeProxy *BridgeProxyFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *BridgeProxyUpgraded, 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 BridgeProxyRaw

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

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

func (*BridgeProxyRaw) Call

func (_BridgeProxy *BridgeProxyRaw) 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 (*BridgeProxyRaw) Transact

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

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

func (*BridgeProxyRaw) Transfer

func (_BridgeProxy *BridgeProxyRaw) 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 BridgeProxySession

type BridgeProxySession struct {
	Contract     *BridgeProxy      // 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
}

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

func (*BridgeProxySession) Fallback

func (_BridgeProxy *BridgeProxySession) Fallback(calldata []byte) (*types.Transaction, error)

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

Solidity: fallback() payable returns()

func (*BridgeProxySession) Init

func (_BridgeProxy *BridgeProxySession) Init(_logic common.Address) (*types.Transaction, error)

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

Solidity: function init(address _logic) returns()

func (*BridgeProxySession) Receive

func (_BridgeProxy *BridgeProxySession) Receive() (*types.Transaction, error)

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

Solidity: receive() payable returns()

type BridgeProxyTransactor

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

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

func NewBridgeProxyTransactor

func NewBridgeProxyTransactor(address common.Address, transactor bind.ContractTransactor) (*BridgeProxyTransactor, error)

NewBridgeProxyTransactor creates a new write-only instance of BridgeProxy, bound to a specific deployed contract.

func (*BridgeProxyTransactor) Fallback

func (_BridgeProxy *BridgeProxyTransactor) 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 (*BridgeProxyTransactor) Init

func (_BridgeProxy *BridgeProxyTransactor) Init(opts *bind.TransactOpts, _logic common.Address) (*types.Transaction, error)

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

Solidity: function init(address _logic) returns()

func (*BridgeProxyTransactor) Receive

func (_BridgeProxy *BridgeProxyTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: receive() payable returns()

type BridgeProxyTransactorRaw

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

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

func (*BridgeProxyTransactorRaw) Transact

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

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

func (*BridgeProxyTransactorRaw) Transfer

func (_BridgeProxy *BridgeProxyTransactorRaw) 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 BridgeProxyTransactorSession

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

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

func (*BridgeProxyTransactorSession) Fallback

func (_BridgeProxy *BridgeProxyTransactorSession) Fallback(calldata []byte) (*types.Transaction, error)

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

Solidity: fallback() payable returns()

func (*BridgeProxyTransactorSession) Init

func (_BridgeProxy *BridgeProxyTransactorSession) Init(_logic common.Address) (*types.Transaction, error)

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

Solidity: function init(address _logic) returns()

func (*BridgeProxyTransactorSession) Receive

func (_BridgeProxy *BridgeProxyTransactorSession) Receive() (*types.Transaction, error)

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

Solidity: receive() payable returns()

type BridgeProxyUpgraded

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

BridgeProxyUpgraded represents a Upgraded event raised by the BridgeProxy contract.

type BridgeProxyUpgradedIterator

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

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

func (*BridgeProxyUpgradedIterator) Close

func (it *BridgeProxyUpgradedIterator) Close() error

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

func (*BridgeProxyUpgradedIterator) Error

func (it *BridgeProxyUpgradedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BridgeProxyUpgradedIterator) Next

func (it *BridgeProxyUpgradedIterator) 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 Caller

type Caller interface {
	QueryContract(ctx context.Context, from, contract common.Address, abi abi.ABI, method string, res interface{}, args ...interface{}) error
	ApplyContract(ctx context.Context, from, contract common.Address, value *big.Int, abi abi.ABI, method string, constructorData ...interface{}) (*evmtypes.MsgEthereumTxResponse, error)
}

type Contract

type Contract struct {
	Address common.Address
	ABI     abi.ABI
	Bin     []byte
	Code    []byte
}

func GetBridgeFeeOracle

func GetBridgeFeeOracle() Contract

func GetBridgeFeeQuote

func GetBridgeFeeQuote() Contract

func GetBridgeProxy

func GetBridgeProxy() Contract

func GetERC1967Proxy

func GetERC1967Proxy() Contract

func GetFIP20

func GetFIP20() Contract

func GetWFX

func GetWFX() Contract

func (Contract) CodeHash

func (c Contract) CodeHash() common.Hash

type CrosschainArgs deprecated

type CrosschainArgs struct {
	Token   common.Address `abi:"_token"`
	Receipt string         `abi:"_receipt"`
	Amount  *big.Int       `abi:"_amount"`
	Fee     *big.Int       `abi:"_fee"`
	Target  [32]byte       `abi:"_target"`
	Memo    string         `abi:"_memo"`
}

Deprecated: After the upgrade to v8

func (*CrosschainArgs) Validate

func (args *CrosschainArgs) Validate() error

type CrosschainPrecompileKeeper

type CrosschainPrecompileKeeper struct {
	Caller
	// contains filtered or unexported fields
}

func NewCrosschainPrecompileKeeper

func NewCrosschainPrecompileKeeper(caller Caller, contractAddr common.Address) CrosschainPrecompileKeeper

func (CrosschainPrecompileKeeper) BridgeCall

func (CrosschainPrecompileKeeper) BridgeCoinAmount

func (k CrosschainPrecompileKeeper) BridgeCoinAmount(ctx context.Context, args BridgeCoinAmountArgs) (*big.Int, error)

func (CrosschainPrecompileKeeper) ExecuteClaim

func (CrosschainPrecompileKeeper) HasOracle

func (CrosschainPrecompileKeeper) IsOracleOnline

func (k CrosschainPrecompileKeeper) IsOracleOnline(ctx context.Context, args IsOracleOnlineArgs) (bool, error)

type DelegateV2Args

type DelegateV2Args struct {
	Validator string   `abi:"_val"`
	Amount    *big.Int `abi:"_amount"`
}

func (*DelegateV2Args) GetValidator

func (args *DelegateV2Args) GetValidator() sdk.ValAddress

GetValidator returns the validator address, caller must ensure the validator address is valid

func (*DelegateV2Args) Validate

func (args *DelegateV2Args) Validate() error

Validate validates the args

type DelegationArgs

type DelegationArgs struct {
	Validator string         `abi:"_val"`
	Delegator common.Address `abi:"_del"`
}

func (*DelegationArgs) GetValidator

func (args *DelegationArgs) GetValidator() sdk.ValAddress

GetValidator returns the validator address, caller must ensure the validator address is valid

func (*DelegationArgs) Validate

func (args *DelegationArgs) Validate() error

Validate validates the args

type DelegationRewardsArgs

type DelegationRewardsArgs struct {
	Validator string         `abi:"_val"`
	Delegator common.Address `abi:"_del"`
}

func (*DelegationRewardsArgs) GetValidator

func (args *DelegationRewardsArgs) GetValidator() sdk.ValAddress

GetValidator returns the validator address, caller must ensure the validator address is valid

func (*DelegationRewardsArgs) Validate

func (args *DelegationRewardsArgs) Validate() error

Validate validates the args

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 ERC20Call

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

func NewERC20Call

func NewERC20Call(evm *vm.EVM, caller, contract common.Address, maxGas uint64) *ERC20Call

func (*ERC20Call) Burn

func (e *ERC20Call) Burn(account common.Address, amount *big.Int) error

func (*ERC20Call) TotalSupply

func (e *ERC20Call) TotalSupply() (*big.Int, error)

func (*ERC20Call) TransferFrom

func (e *ERC20Call) TransferFrom(from, to common.Address, amount *big.Int) error

type ERC20TokenKeeper

type ERC20TokenKeeper struct {
	Caller
	// contains filtered or unexported fields
}

func NewERC20TokenKeeper

func NewERC20TokenKeeper(caller Caller) ERC20TokenKeeper

func (ERC20TokenKeeper) Allowance

func (k ERC20TokenKeeper) Allowance(ctx context.Context, contractAddr, owner, spender common.Address) (*big.Int, error)

func (ERC20TokenKeeper) Approve

func (k ERC20TokenKeeper) Approve(ctx context.Context, contractAddr, from, spender common.Address, amount *big.Int) (*types.MsgEthereumTxResponse, error)

func (ERC20TokenKeeper) BalanceOf

func (k ERC20TokenKeeper) BalanceOf(ctx context.Context, contractAddr, addr common.Address) (*big.Int, error)

func (ERC20TokenKeeper) Burn

func (k ERC20TokenKeeper) Burn(ctx context.Context, contractAddr, from, account common.Address, amount *big.Int) (*types.MsgEthereumTxResponse, error)

func (ERC20TokenKeeper) Decimals

func (k ERC20TokenKeeper) Decimals(ctx context.Context, contractAddr common.Address) (uint8, error)

func (ERC20TokenKeeper) Deposit

func (k ERC20TokenKeeper) Deposit(ctx context.Context, contractAddr, from common.Address, amount *big.Int) (*types.MsgEthereumTxResponse, error)

func (ERC20TokenKeeper) Mint

func (k ERC20TokenKeeper) Mint(ctx context.Context, contractAddr, from, receiver common.Address, amount *big.Int) (*types.MsgEthereumTxResponse, error)

func (ERC20TokenKeeper) Name

func (k ERC20TokenKeeper) Name(ctx context.Context, contractAddr common.Address) (string, error)

func (ERC20TokenKeeper) Owner

func (k ERC20TokenKeeper) Owner(ctx context.Context, contractAddr common.Address) (common.Address, error)

func (ERC20TokenKeeper) Symbol

func (k ERC20TokenKeeper) Symbol(ctx context.Context, contractAddr common.Address) (string, error)

func (ERC20TokenKeeper) TotalSupply

func (k ERC20TokenKeeper) TotalSupply(ctx context.Context, contractAddr common.Address) (*big.Int, error)

func (ERC20TokenKeeper) Transfer

func (k ERC20TokenKeeper) Transfer(ctx context.Context, contractAddr, from, receiver common.Address, amount *big.Int) (*types.MsgEthereumTxResponse, error)

func (ERC20TokenKeeper) TransferFrom

func (k ERC20TokenKeeper) TransferFrom(ctx context.Context, contractAddr, from, sender, receiver common.Address, amount *big.Int) (*types.MsgEthereumTxResponse, error)

func (ERC20TokenKeeper) TransferOwnership

func (k ERC20TokenKeeper) TransferOwnership(ctx context.Context, contractAddr, owner, newOwner common.Address) (*types.MsgEthereumTxResponse, error)

func (ERC20TokenKeeper) Withdraw

func (k ERC20TokenKeeper) Withdraw(ctx context.Context, contractAddr, from, receiver common.Address, amount *big.Int) (*types.MsgEthereumTxResponse, error)

func (ERC20TokenKeeper) WithdrawToSelf

func (k ERC20TokenKeeper) WithdrawToSelf(ctx context.Context, contractAddr, from common.Address, amount *big.Int) (*types.MsgEthereumTxResponse, error)

type EvmKeeper

type EvmKeeper interface {
	DeployContract(ctx sdk.Context, from common.Address, abi abi.ABI, bin []byte, args ...interface{}) (common.Address, error)
	CreateContractWithCode(ctx sdk.Context, address common.Address, code []byte) error
	ApplyContract(ctx context.Context, from, contract common.Address, value *big.Int, abi abi.ABI, method string, constructorData ...interface{}) (*evmtypes.MsgEthereumTxResponse, error)
}

type ExecuteClaimArgs

type ExecuteClaimArgs struct {
	Chain      string   `abi:"_chain"`
	EventNonce *big.Int `abi:"_eventNonce"`
}

func (*ExecuteClaimArgs) Validate

func (args *ExecuteClaimArgs) Validate() error

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

type HasOracleArgs struct {
	Chain           string         `abi:"_chain"`
	ExternalAddress common.Address `abi:"_externalAddress"`
}

func (*HasOracleArgs) Validate

func (args *HasOracleArgs) Validate() error

type IBridgeCallContext

type IBridgeCallContext struct {
	IBridgeCallContextCaller     // Read-only binding to the contract
	IBridgeCallContextTransactor // Write-only binding to the contract
	IBridgeCallContextFilterer   // Log filterer for contract events
}

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

func NewIBridgeCallContext

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

NewIBridgeCallContext creates a new instance of IBridgeCallContext, bound to a specific deployed contract.

type IBridgeCallContextCaller

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

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

func NewIBridgeCallContextCaller

func NewIBridgeCallContextCaller(address common.Address, caller bind.ContractCaller) (*IBridgeCallContextCaller, error)

NewIBridgeCallContextCaller creates a new read-only instance of IBridgeCallContext, bound to a specific deployed contract.

type IBridgeCallContextCallerRaw

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

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

func (*IBridgeCallContextCallerRaw) Call

func (_IBridgeCallContext *IBridgeCallContextCallerRaw) 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 IBridgeCallContextCallerSession

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

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

type IBridgeCallContextFilterer

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

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

func NewIBridgeCallContextFilterer

func NewIBridgeCallContextFilterer(address common.Address, filterer bind.ContractFilterer) (*IBridgeCallContextFilterer, error)

NewIBridgeCallContextFilterer creates a new log filterer instance of IBridgeCallContext, bound to a specific deployed contract.

type IBridgeCallContextRaw

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

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

func (*IBridgeCallContextRaw) Call

func (_IBridgeCallContext *IBridgeCallContextRaw) 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 (*IBridgeCallContextRaw) Transact

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

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

func (*IBridgeCallContextRaw) Transfer

func (_IBridgeCallContext *IBridgeCallContextRaw) 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 IBridgeCallContextSession

type IBridgeCallContextSession struct {
	Contract     *IBridgeCallContext // 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
}

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

func (*IBridgeCallContextSession) OnBridgeCall

func (_IBridgeCallContext *IBridgeCallContextSession) OnBridgeCall(_sender common.Address, _refund common.Address, _tokens []common.Address, _amounts []*big.Int, _data []byte, _memo []byte) (*types.Transaction, error)

OnBridgeCall is a paid mutator transaction binding the contract method 0x57ffc092.

Solidity: function onBridgeCall(address _sender, address _refund, address[] _tokens, uint256[] _amounts, bytes _data, bytes _memo) returns()

func (*IBridgeCallContextSession) OnRevert

func (_IBridgeCallContext *IBridgeCallContextSession) OnRevert(_msg []byte) (*types.Transaction, error)

OnRevert is a paid mutator transaction binding the contract method 0x8fcaa0b5.

Solidity: function onRevert(bytes _msg) returns()

type IBridgeCallContextTransactor

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

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

func NewIBridgeCallContextTransactor

func NewIBridgeCallContextTransactor(address common.Address, transactor bind.ContractTransactor) (*IBridgeCallContextTransactor, error)

NewIBridgeCallContextTransactor creates a new write-only instance of IBridgeCallContext, bound to a specific deployed contract.

func (*IBridgeCallContextTransactor) OnBridgeCall

func (_IBridgeCallContext *IBridgeCallContextTransactor) OnBridgeCall(opts *bind.TransactOpts, _sender common.Address, _refund common.Address, _tokens []common.Address, _amounts []*big.Int, _data []byte, _memo []byte) (*types.Transaction, error)

OnBridgeCall is a paid mutator transaction binding the contract method 0x57ffc092.

Solidity: function onBridgeCall(address _sender, address _refund, address[] _tokens, uint256[] _amounts, bytes _data, bytes _memo) returns()

func (*IBridgeCallContextTransactor) OnRevert

func (_IBridgeCallContext *IBridgeCallContextTransactor) OnRevert(opts *bind.TransactOpts, _msg []byte) (*types.Transaction, error)

OnRevert is a paid mutator transaction binding the contract method 0x8fcaa0b5.

Solidity: function onRevert(bytes _msg) returns()

type IBridgeCallContextTransactorRaw

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

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

func (*IBridgeCallContextTransactorRaw) Transact

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

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

func (*IBridgeCallContextTransactorRaw) Transfer

func (_IBridgeCallContext *IBridgeCallContextTransactorRaw) 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 IBridgeCallContextTransactorSession

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

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

func (*IBridgeCallContextTransactorSession) OnBridgeCall

func (_IBridgeCallContext *IBridgeCallContextTransactorSession) OnBridgeCall(_sender common.Address, _refund common.Address, _tokens []common.Address, _amounts []*big.Int, _data []byte, _memo []byte) (*types.Transaction, error)

OnBridgeCall is a paid mutator transaction binding the contract method 0x57ffc092.

Solidity: function onBridgeCall(address _sender, address _refund, address[] _tokens, uint256[] _amounts, bytes _data, bytes _memo) returns()

func (*IBridgeCallContextTransactorSession) OnRevert

func (_IBridgeCallContext *IBridgeCallContextTransactorSession) OnRevert(_msg []byte) (*types.Transaction, error)

OnRevert is a paid mutator transaction binding the contract method 0x8fcaa0b5.

Solidity: function onRevert(bytes _msg) returns()

type IBridgeFeeQuoteAsset

type IBridgeFeeQuoteAsset struct {
	IsActive   bool
	TokenNames []string
}

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

type IBridgeFeeQuoteQuoteInfo

type IBridgeFeeQuoteQuoteInfo struct {
	Id        *big.Int
	ChainName string
	TokenName string
	Oracle    common.Address
	Fee       *big.Int
	GasLimit  *big.Int
	Expiry    *big.Int
}

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

func (IBridgeFeeQuoteQuoteInfo) IsTimeout

func (i IBridgeFeeQuoteQuoteInfo) IsTimeout(blockTime time.Time) bool

type IBridgeFeeQuoteQuoteInput

type IBridgeFeeQuoteQuoteInput struct {
	ChainName  string
	TokenName  string
	Oracle     common.Address
	QuoteIndex *big.Int
	Fee        *big.Int
	GasLimit   *big.Int
	Expiry     *big.Int
	Signature  []byte
}

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

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 ICrosschainBridgeCallEvent

type ICrosschainBridgeCallEvent struct {
	Sender     common.Address
	Receiver   common.Address
	To         common.Address
	TxOrigin   common.Address
	EventNonce *big.Int
	DstChain   string
	Tokens     []common.Address
	Amounts    []*big.Int
	Data       []byte
	QuoteId    *big.Int
	Memo       []byte
	Raw        types.Log // Blockchain specific contextual infos
}

ICrosschainBridgeCallEvent represents a BridgeCallEvent event raised by the ICrosschain contract.

type ICrosschainBridgeCallEventIterator

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

ICrosschainBridgeCallEventIterator is returned from FilterBridgeCallEvent and is used to iterate over the raw logs and unpacked data for BridgeCallEvent events raised by the ICrosschain contract.

func (*ICrosschainBridgeCallEventIterator) Close

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

func (*ICrosschainBridgeCallEventIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

func (*ICrosschainCaller) HasOracle

func (_ICrosschain *ICrosschainCaller) HasOracle(opts *bind.CallOpts, _chain string, _externalAddress common.Address) (bool, error)

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

Solidity: function hasOracle(string _chain, address _externalAddress) view returns(bool _result)

func (*ICrosschainCaller) IsOracleOnline

func (_ICrosschain *ICrosschainCaller) IsOracleOnline(opts *bind.CallOpts, _chain string, _externalAddress common.Address) (bool, error)

IsOracleOnline is a free data retrieval call binding the contract method 0x16c75cfa.

Solidity: function isOracleOnline(string _chain, address _externalAddress) view returns(bool _result)

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)

func (*ICrosschainCallerSession) HasOracle

func (_ICrosschain *ICrosschainCallerSession) HasOracle(_chain string, _externalAddress common.Address) (bool, error)

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

Solidity: function hasOracle(string _chain, address _externalAddress) view returns(bool _result)

func (*ICrosschainCallerSession) IsOracleOnline

func (_ICrosschain *ICrosschainCallerSession) IsOracleOnline(_chain string, _externalAddress common.Address) (bool, error)

IsOracleOnline is a free data retrieval call binding the contract method 0x16c75cfa.

Solidity: function isOracleOnline(string _chain, address _externalAddress) view returns(bool _result)

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 ICrosschainExecuteClaimEvent

type ICrosschainExecuteClaimEvent struct {
	Sender     common.Address
	EventNonce *big.Int
	Chain      string
	ErrReason  string
	Raw        types.Log // Blockchain specific contextual infos
}

ICrosschainExecuteClaimEvent represents a ExecuteClaimEvent event raised by the ICrosschain contract.

type ICrosschainExecuteClaimEventIterator

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

ICrosschainExecuteClaimEventIterator is returned from FilterExecuteClaimEvent and is used to iterate over the raw logs and unpacked data for ExecuteClaimEvent events raised by the ICrosschain contract.

func (*ICrosschainExecuteClaimEventIterator) Close

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

func (*ICrosschainExecuteClaimEventIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ICrosschainExecuteClaimEventIterator) 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) FilterBridgeCallEvent

func (_ICrosschain *ICrosschainFilterer) FilterBridgeCallEvent(opts *bind.FilterOpts, _sender []common.Address, _receiver []common.Address, _to []common.Address) (*ICrosschainBridgeCallEventIterator, error)

FilterBridgeCallEvent is a free log retrieval operation binding the contract event 0x96da1d63da4d424eb5848fc98c0361f8e970b1934ddc9c5529ba684171283a53.

Solidity: event BridgeCallEvent(address indexed _sender, address indexed _receiver, address indexed _to, address _txOrigin, uint256 _eventNonce, string _dstChain, address[] _tokens, uint256[] _amounts, bytes _data, uint256 _quoteId, bytes _memo)

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

func (_ICrosschain *ICrosschainFilterer) FilterExecuteClaimEvent(opts *bind.FilterOpts, _sender []common.Address) (*ICrosschainExecuteClaimEventIterator, error)

FilterExecuteClaimEvent is a free log retrieval operation binding the contract event 0x67ddf3796d30bb96cc50ccd9d322ab53317f5c6cac5860f3137894ee70ed0053.

Solidity: event ExecuteClaimEvent(address indexed _sender, uint256 _eventNonce, string _chain, string _errReason)

func (*ICrosschainFilterer) ParseBridgeCallEvent

func (_ICrosschain *ICrosschainFilterer) ParseBridgeCallEvent(log types.Log) (*ICrosschainBridgeCallEvent, error)

ParseBridgeCallEvent is a log parse operation binding the contract event 0x96da1d63da4d424eb5848fc98c0361f8e970b1934ddc9c5529ba684171283a53.

Solidity: event BridgeCallEvent(address indexed _sender, address indexed _receiver, address indexed _to, address _txOrigin, uint256 _eventNonce, string _dstChain, address[] _tokens, uint256[] _amounts, bytes _data, uint256 _quoteId, bytes _memo)

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

func (_ICrosschain *ICrosschainFilterer) ParseExecuteClaimEvent(log types.Log) (*ICrosschainExecuteClaimEvent, error)

ParseExecuteClaimEvent is a log parse operation binding the contract event 0x67ddf3796d30bb96cc50ccd9d322ab53317f5c6cac5860f3137894ee70ed0053.

Solidity: event ExecuteClaimEvent(address indexed _sender, uint256 _eventNonce, string _chain, string _errReason)

func (*ICrosschainFilterer) WatchBridgeCallEvent

func (_ICrosschain *ICrosschainFilterer) WatchBridgeCallEvent(opts *bind.WatchOpts, sink chan<- *ICrosschainBridgeCallEvent, _sender []common.Address, _receiver []common.Address, _to []common.Address) (event.Subscription, error)

WatchBridgeCallEvent is a free log subscription operation binding the contract event 0x96da1d63da4d424eb5848fc98c0361f8e970b1934ddc9c5529ba684171283a53.

Solidity: event BridgeCallEvent(address indexed _sender, address indexed _receiver, address indexed _to, address _txOrigin, uint256 _eventNonce, string _dstChain, address[] _tokens, uint256[] _amounts, bytes _data, uint256 _quoteId, bytes _memo)

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

func (_ICrosschain *ICrosschainFilterer) WatchExecuteClaimEvent(opts *bind.WatchOpts, sink chan<- *ICrosschainExecuteClaimEvent, _sender []common.Address) (event.Subscription, error)

WatchExecuteClaimEvent is a free log subscription operation binding the contract event 0x67ddf3796d30bb96cc50ccd9d322ab53317f5c6cac5860f3137894ee70ed0053.

Solidity: event ExecuteClaimEvent(address indexed _sender, uint256 _eventNonce, string _chain, string _errReason)

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

func (_ICrosschain *ICrosschainSession) BridgeCall(_dstChain string, _refund common.Address, _tokens []common.Address, _amounts []*big.Int, _to common.Address, _data []byte, _quoteId *big.Int, _memo []byte) (*types.Transaction, error)

BridgeCall is a paid mutator transaction binding the contract method 0x851c42ee.

Solidity: function bridgeCall(string _dstChain, address _refund, address[] _tokens, uint256[] _amounts, address _to, bytes _data, uint256 _quoteId, bytes _memo) payable returns(uint256 _eventNonce)

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

func (_ICrosschain *ICrosschainSession) ExecuteClaim(_chain string, _eventNonce *big.Int) (*types.Transaction, error)

ExecuteClaim is a paid mutator transaction binding the contract method 0x4ac3bdc3.

Solidity: function executeClaim(string _chain, uint256 _eventNonce) returns(bool _result)

func (*ICrosschainSession) HasOracle

func (_ICrosschain *ICrosschainSession) HasOracle(_chain string, _externalAddress common.Address) (bool, error)

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

Solidity: function hasOracle(string _chain, address _externalAddress) view returns(bool _result)

func (*ICrosschainSession) IsOracleOnline

func (_ICrosschain *ICrosschainSession) IsOracleOnline(_chain string, _externalAddress common.Address) (bool, error)

IsOracleOnline is a free data retrieval call binding the contract method 0x16c75cfa.

Solidity: function isOracleOnline(string _chain, address _externalAddress) view 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) BridgeCall

func (_ICrosschain *ICrosschainTransactor) BridgeCall(opts *bind.TransactOpts, _dstChain string, _refund common.Address, _tokens []common.Address, _amounts []*big.Int, _to common.Address, _data []byte, _quoteId *big.Int, _memo []byte) (*types.Transaction, error)

BridgeCall is a paid mutator transaction binding the contract method 0x851c42ee.

Solidity: function bridgeCall(string _dstChain, address _refund, address[] _tokens, uint256[] _amounts, address _to, bytes _data, uint256 _quoteId, bytes _memo) payable returns(uint256 _eventNonce)

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

func (_ICrosschain *ICrosschainTransactor) ExecuteClaim(opts *bind.TransactOpts, _chain string, _eventNonce *big.Int) (*types.Transaction, error)

ExecuteClaim is a paid mutator transaction binding the contract method 0x4ac3bdc3.

Solidity: function executeClaim(string _chain, uint256 _eventNonce) 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) BridgeCall

func (_ICrosschain *ICrosschainTransactorSession) BridgeCall(_dstChain string, _refund common.Address, _tokens []common.Address, _amounts []*big.Int, _to common.Address, _data []byte, _quoteId *big.Int, _memo []byte) (*types.Transaction, error)

BridgeCall is a paid mutator transaction binding the contract method 0x851c42ee.

Solidity: function bridgeCall(string _dstChain, address _refund, address[] _tokens, uint256[] _amounts, address _to, bytes _data, uint256 _quoteId, bytes _memo) payable returns(uint256 _eventNonce)

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

func (_ICrosschain *ICrosschainTransactorSession) ExecuteClaim(_chain string, _eventNonce *big.Int) (*types.Transaction, error)

ExecuteClaim is a paid mutator transaction binding the contract method 0x4ac3bdc3.

Solidity: function executeClaim(string _chain, uint256 _eventNonce) returns(bool _result)

type IError

type IError struct {
	IErrorCaller     // Read-only binding to the contract
	IErrorTransactor // Write-only binding to the contract
	IErrorFilterer   // Log filterer for contract events
}

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

func NewIError

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

NewIError creates a new instance of IError, bound to a specific deployed contract.

type IErrorCaller

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

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

func NewIErrorCaller

func NewIErrorCaller(address common.Address, caller bind.ContractCaller) (*IErrorCaller, error)

NewIErrorCaller creates a new read-only instance of IError, bound to a specific deployed contract.

type IErrorCallerRaw

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

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

func (*IErrorCallerRaw) Call

func (_IError *IErrorCallerRaw) 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 IErrorCallerSession

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

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

type IErrorFilterer

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

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

func NewIErrorFilterer

func NewIErrorFilterer(address common.Address, filterer bind.ContractFilterer) (*IErrorFilterer, error)

NewIErrorFilterer creates a new log filterer instance of IError, bound to a specific deployed contract.

type IErrorRaw

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

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

func (*IErrorRaw) Call

func (_IError *IErrorRaw) 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 (*IErrorRaw) Transact

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

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

func (*IErrorRaw) Transfer

func (_IError *IErrorRaw) 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 IErrorSession

type IErrorSession struct {
	Contract     *IError           // 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
}

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

func (*IErrorSession) Error

func (_IError *IErrorSession) Error(arg0 string) (*types.Transaction, error)

Error is a paid mutator transaction binding the contract method 0x08c379a0.

Solidity: function Error(string ) returns()

type IErrorTransactor

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

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

func NewIErrorTransactor

func NewIErrorTransactor(address common.Address, transactor bind.ContractTransactor) (*IErrorTransactor, error)

NewIErrorTransactor creates a new write-only instance of IError, bound to a specific deployed contract.

func (*IErrorTransactor) Error

func (_IError *IErrorTransactor) Error(opts *bind.TransactOpts, arg0 string) (*types.Transaction, error)

Error is a paid mutator transaction binding the contract method 0x08c379a0.

Solidity: function Error(string ) returns()

type IErrorTransactorRaw

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

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

func (*IErrorTransactorRaw) Transact

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

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

func (*IErrorTransactorRaw) Transfer

func (_IError *IErrorTransactorRaw) 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 IErrorTransactorSession

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

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

func (*IErrorTransactorSession) Error

func (_IError *IErrorTransactorSession) Error(arg0 string) (*types.Transaction, error)

Error is a paid mutator transaction binding the contract method 0x08c379a0.

Solidity: function Error(string ) returns()

type IFxBridgeLogic

type IFxBridgeLogic struct {
	IFxBridgeLogicCaller     // Read-only binding to the contract
	IFxBridgeLogicTransactor // Write-only binding to the contract
	IFxBridgeLogicFilterer   // Log filterer for contract events
}

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

func NewIFxBridgeLogic

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

NewIFxBridgeLogic creates a new instance of IFxBridgeLogic, bound to a specific deployed contract.

type IFxBridgeLogicAddBridgeTokenEvent

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

IFxBridgeLogicAddBridgeTokenEvent represents a AddBridgeTokenEvent event raised by the IFxBridgeLogic contract.

type IFxBridgeLogicAddBridgeTokenEventIterator

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

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

func (*IFxBridgeLogicAddBridgeTokenEventIterator) Close

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

func (*IFxBridgeLogicAddBridgeTokenEventIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IFxBridgeLogicAddBridgeTokenEventIterator) 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 IFxBridgeLogicBridgeCallData

type IFxBridgeLogicBridgeCallData struct {
	Sender     common.Address
	Refund     common.Address
	Tokens     []common.Address
	Amounts    []*big.Int
	To         common.Address
	Data       []byte
	Memo       []byte
	Timeout    *big.Int
	EventNonce *big.Int
}

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

type IFxBridgeLogicBridgeCallEvent

type IFxBridgeLogicBridgeCallEvent struct {
	Sender     common.Address
	Refund     common.Address
	To         common.Address
	TxOrigin   common.Address
	EventNonce *big.Int
	DstChain   string
	Tokens     []common.Address
	Amounts    []*big.Int
	Data       []byte
	QuoteId    *big.Int
	Memo       []byte
	Raw        types.Log // Blockchain specific contextual infos
}

IFxBridgeLogicBridgeCallEvent represents a BridgeCallEvent event raised by the IFxBridgeLogic contract.

type IFxBridgeLogicBridgeCallEventIterator

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

IFxBridgeLogicBridgeCallEventIterator is returned from FilterBridgeCallEvent and is used to iterate over the raw logs and unpacked data for BridgeCallEvent events raised by the IFxBridgeLogic contract.

func (*IFxBridgeLogicBridgeCallEventIterator) Close

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

func (*IFxBridgeLogicBridgeCallEventIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IFxBridgeLogicBridgeCallEventIterator) 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 IFxBridgeLogicBridgeToken

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

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

type IFxBridgeLogicCaller

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

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

func NewIFxBridgeLogicCaller

func NewIFxBridgeLogicCaller(address common.Address, caller bind.ContractCaller) (*IFxBridgeLogicCaller, error)

NewIFxBridgeLogicCaller creates a new read-only instance of IFxBridgeLogic, bound to a specific deployed contract.

func (*IFxBridgeLogicCaller) BridgeTokens

func (_IFxBridgeLogic *IFxBridgeLogicCaller) BridgeTokens(opts *bind.CallOpts, _index *big.Int) (common.Address, error)

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

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

func (*IFxBridgeLogicCaller) CheckAssetStatus

func (_IFxBridgeLogic *IFxBridgeLogicCaller) 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 (*IFxBridgeLogicCaller) CheckOracleSignatures

func (_IFxBridgeLogic *IFxBridgeLogicCaller) 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 (*IFxBridgeLogicCaller) ConvertDecimals

func (_IFxBridgeLogic *IFxBridgeLogicCaller) ConvertDecimals(opts *bind.CallOpts, _erc20Address common.Address) (uint8, error)

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

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

func (*IFxBridgeLogicCaller) GetBridgeTokenList

func (_IFxBridgeLogic *IFxBridgeLogicCaller) GetBridgeTokenList(opts *bind.CallOpts) ([]IFxBridgeLogicBridgeToken, error)

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

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

func (*IFxBridgeLogicCaller) LastBatchNonce

func (_IFxBridgeLogic *IFxBridgeLogicCaller) 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 (*IFxBridgeLogicCaller) MakeCheckpoint

func (_IFxBridgeLogic *IFxBridgeLogicCaller) 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 (*IFxBridgeLogicCaller) StateFxBridgeId

func (_IFxBridgeLogic *IFxBridgeLogicCaller) 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 (*IFxBridgeLogicCaller) StateLastBatchNonces

func (_IFxBridgeLogic *IFxBridgeLogicCaller) StateLastBatchNonces(opts *bind.CallOpts, _erc20Address common.Address) (*big.Int, error)

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

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

func (*IFxBridgeLogicCaller) StateLastBridgeCallNonces

func (_IFxBridgeLogic *IFxBridgeLogicCaller) StateLastBridgeCallNonces(opts *bind.CallOpts, _index *big.Int) (bool, error)

StateLastBridgeCallNonces is a free data retrieval call binding the contract method 0xed51dacf.

Solidity: function state_lastBridgeCallNonces(uint256 _index) view returns(bool)

func (*IFxBridgeLogicCaller) StateLastEventNonce

func (_IFxBridgeLogic *IFxBridgeLogicCaller) 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 (*IFxBridgeLogicCaller) StateLastOracleSetCheckpoint

func (_IFxBridgeLogic *IFxBridgeLogicCaller) 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 (*IFxBridgeLogicCaller) StateLastOracleSetNonce

func (_IFxBridgeLogic *IFxBridgeLogicCaller) 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 (*IFxBridgeLogicCaller) StatePowerThreshold

func (_IFxBridgeLogic *IFxBridgeLogicCaller) 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 (*IFxBridgeLogicCaller) TokenStatus

func (_IFxBridgeLogic *IFxBridgeLogicCaller) TokenStatus(opts *bind.CallOpts, _tokenAddr common.Address) (IFxBridgeLogicTokenStatus, error)

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

Solidity: function tokenStatus(address _tokenAddr) view returns((bool,bool,bool))

func (*IFxBridgeLogicCaller) Version

func (_IFxBridgeLogic *IFxBridgeLogicCaller) 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 IFxBridgeLogicCallerRaw

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

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

func (*IFxBridgeLogicCallerRaw) Call

func (_IFxBridgeLogic *IFxBridgeLogicCallerRaw) 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 IFxBridgeLogicCallerSession

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

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

func (*IFxBridgeLogicCallerSession) BridgeTokens

func (_IFxBridgeLogic *IFxBridgeLogicCallerSession) BridgeTokens(_index *big.Int) (common.Address, error)

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

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

func (*IFxBridgeLogicCallerSession) CheckAssetStatus

func (_IFxBridgeLogic *IFxBridgeLogicCallerSession) 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 (*IFxBridgeLogicCallerSession) CheckOracleSignatures

func (_IFxBridgeLogic *IFxBridgeLogicCallerSession) 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 (*IFxBridgeLogicCallerSession) ConvertDecimals

func (_IFxBridgeLogic *IFxBridgeLogicCallerSession) ConvertDecimals(_erc20Address common.Address) (uint8, error)

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

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

func (*IFxBridgeLogicCallerSession) GetBridgeTokenList

func (_IFxBridgeLogic *IFxBridgeLogicCallerSession) GetBridgeTokenList() ([]IFxBridgeLogicBridgeToken, error)

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

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

func (*IFxBridgeLogicCallerSession) LastBatchNonce

func (_IFxBridgeLogic *IFxBridgeLogicCallerSession) 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 (*IFxBridgeLogicCallerSession) MakeCheckpoint

func (_IFxBridgeLogic *IFxBridgeLogicCallerSession) 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 (*IFxBridgeLogicCallerSession) StateFxBridgeId

func (_IFxBridgeLogic *IFxBridgeLogicCallerSession) StateFxBridgeId() ([32]byte, error)

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

Solidity: function state_fxBridgeId() view returns(bytes32)

func (*IFxBridgeLogicCallerSession) StateLastBatchNonces

func (_IFxBridgeLogic *IFxBridgeLogicCallerSession) StateLastBatchNonces(_erc20Address common.Address) (*big.Int, error)

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

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

func (*IFxBridgeLogicCallerSession) StateLastBridgeCallNonces

func (_IFxBridgeLogic *IFxBridgeLogicCallerSession) StateLastBridgeCallNonces(_index *big.Int) (bool, error)

StateLastBridgeCallNonces is a free data retrieval call binding the contract method 0xed51dacf.

Solidity: function state_lastBridgeCallNonces(uint256 _index) view returns(bool)

func (*IFxBridgeLogicCallerSession) StateLastEventNonce

func (_IFxBridgeLogic *IFxBridgeLogicCallerSession) StateLastEventNonce() (*big.Int, error)

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

Solidity: function state_lastEventNonce() view returns(uint256)

func (*IFxBridgeLogicCallerSession) StateLastOracleSetCheckpoint

func (_IFxBridgeLogic *IFxBridgeLogicCallerSession) StateLastOracleSetCheckpoint() ([32]byte, error)

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

Solidity: function state_lastOracleSetCheckpoint() view returns(bytes32)

func (*IFxBridgeLogicCallerSession) StateLastOracleSetNonce

func (_IFxBridgeLogic *IFxBridgeLogicCallerSession) StateLastOracleSetNonce() (*big.Int, error)

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

Solidity: function state_lastOracleSetNonce() view returns(uint256)

func (*IFxBridgeLogicCallerSession) StatePowerThreshold

func (_IFxBridgeLogic *IFxBridgeLogicCallerSession) StatePowerThreshold() (*big.Int, error)

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

Solidity: function state_powerThreshold() view returns(uint256)

func (*IFxBridgeLogicCallerSession) TokenStatus

func (_IFxBridgeLogic *IFxBridgeLogicCallerSession) TokenStatus(_tokenAddr common.Address) (IFxBridgeLogicTokenStatus, error)

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

Solidity: function tokenStatus(address _tokenAddr) view returns((bool,bool,bool))

func (*IFxBridgeLogicCallerSession) Version

func (_IFxBridgeLogic *IFxBridgeLogicCallerSession) Version() (string, error)

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

Solidity: function version() view returns(string)

type IFxBridgeLogicFilterer

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

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

func NewIFxBridgeLogicFilterer

func NewIFxBridgeLogicFilterer(address common.Address, filterer bind.ContractFilterer) (*IFxBridgeLogicFilterer, error)

NewIFxBridgeLogicFilterer creates a new log filterer instance of IFxBridgeLogic, bound to a specific deployed contract.

func (*IFxBridgeLogicFilterer) FilterAddBridgeTokenEvent

func (_IFxBridgeLogic *IFxBridgeLogicFilterer) FilterAddBridgeTokenEvent(opts *bind.FilterOpts, _tokenContract []common.Address) (*IFxBridgeLogicAddBridgeTokenEventIterator, 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 (*IFxBridgeLogicFilterer) FilterBridgeCallEvent

func (_IFxBridgeLogic *IFxBridgeLogicFilterer) FilterBridgeCallEvent(opts *bind.FilterOpts, _sender []common.Address, _refund []common.Address, _to []common.Address) (*IFxBridgeLogicBridgeCallEventIterator, error)

FilterBridgeCallEvent is a free log retrieval operation binding the contract event 0x96da1d63da4d424eb5848fc98c0361f8e970b1934ddc9c5529ba684171283a53.

Solidity: event BridgeCallEvent(address indexed _sender, address indexed _refund, address indexed _to, address _txOrigin, uint256 _eventNonce, string _dstChain, address[] _tokens, uint256[] _amounts, bytes _data, uint256 _quoteId, bytes _memo)

func (*IFxBridgeLogicFilterer) FilterOracleSetUpdatedEvent

func (_IFxBridgeLogic *IFxBridgeLogicFilterer) FilterOracleSetUpdatedEvent(opts *bind.FilterOpts, _newOracleSetNonce []*big.Int) (*IFxBridgeLogicOracleSetUpdatedEventIterator, 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 (*IFxBridgeLogicFilterer) FilterSendToFxEvent

func (_IFxBridgeLogic *IFxBridgeLogicFilterer) FilterSendToFxEvent(opts *bind.FilterOpts, _tokenContract []common.Address, _sender []common.Address, _destination [][32]byte) (*IFxBridgeLogicSendToFxEventIterator, 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 (*IFxBridgeLogicFilterer) FilterSubmitBridgeCallEvent

func (_IFxBridgeLogic *IFxBridgeLogicFilterer) FilterSubmitBridgeCallEvent(opts *bind.FilterOpts, _txOrigin []common.Address) (*IFxBridgeLogicSubmitBridgeCallEventIterator, error)

FilterSubmitBridgeCallEvent is a free log retrieval operation binding the contract event 0xa274e2655558a3663f90b9ff4d5409974a0e79ba5f0fb41ec4d582d58ba70580.

Solidity: event SubmitBridgeCallEvent(address indexed _txOrigin, uint256 _nonce, uint256 _eventNonce, bool _success, bytes _cause)

func (*IFxBridgeLogicFilterer) FilterTransactionBatchExecutedEvent

func (_IFxBridgeLogic *IFxBridgeLogicFilterer) FilterTransactionBatchExecutedEvent(opts *bind.FilterOpts, _batchNonce []*big.Int, _token []common.Address) (*IFxBridgeLogicTransactionBatchExecutedEventIterator, 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 (*IFxBridgeLogicFilterer) FilterTransferOwnerEvent

func (_IFxBridgeLogic *IFxBridgeLogicFilterer) FilterTransferOwnerEvent(opts *bind.FilterOpts) (*IFxBridgeLogicTransferOwnerEventIterator, error)

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

Solidity: event TransferOwnerEvent(address _token, address _newOwner)

func (*IFxBridgeLogicFilterer) ParseAddBridgeTokenEvent

func (_IFxBridgeLogic *IFxBridgeLogicFilterer) ParseAddBridgeTokenEvent(log types.Log) (*IFxBridgeLogicAddBridgeTokenEvent, 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 (*IFxBridgeLogicFilterer) ParseBridgeCallEvent

func (_IFxBridgeLogic *IFxBridgeLogicFilterer) ParseBridgeCallEvent(log types.Log) (*IFxBridgeLogicBridgeCallEvent, error)

ParseBridgeCallEvent is a log parse operation binding the contract event 0x96da1d63da4d424eb5848fc98c0361f8e970b1934ddc9c5529ba684171283a53.

Solidity: event BridgeCallEvent(address indexed _sender, address indexed _refund, address indexed _to, address _txOrigin, uint256 _eventNonce, string _dstChain, address[] _tokens, uint256[] _amounts, bytes _data, uint256 _quoteId, bytes _memo)

func (*IFxBridgeLogicFilterer) ParseOracleSetUpdatedEvent

func (_IFxBridgeLogic *IFxBridgeLogicFilterer) ParseOracleSetUpdatedEvent(log types.Log) (*IFxBridgeLogicOracleSetUpdatedEvent, 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 (*IFxBridgeLogicFilterer) ParseSendToFxEvent

func (_IFxBridgeLogic *IFxBridgeLogicFilterer) ParseSendToFxEvent(log types.Log) (*IFxBridgeLogicSendToFxEvent, 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 (*IFxBridgeLogicFilterer) ParseSubmitBridgeCallEvent

func (_IFxBridgeLogic *IFxBridgeLogicFilterer) ParseSubmitBridgeCallEvent(log types.Log) (*IFxBridgeLogicSubmitBridgeCallEvent, error)

ParseSubmitBridgeCallEvent is a log parse operation binding the contract event 0xa274e2655558a3663f90b9ff4d5409974a0e79ba5f0fb41ec4d582d58ba70580.

Solidity: event SubmitBridgeCallEvent(address indexed _txOrigin, uint256 _nonce, uint256 _eventNonce, bool _success, bytes _cause)

func (*IFxBridgeLogicFilterer) ParseTransactionBatchExecutedEvent

func (_IFxBridgeLogic *IFxBridgeLogicFilterer) ParseTransactionBatchExecutedEvent(log types.Log) (*IFxBridgeLogicTransactionBatchExecutedEvent, error)

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

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

func (*IFxBridgeLogicFilterer) ParseTransferOwnerEvent

func (_IFxBridgeLogic *IFxBridgeLogicFilterer) ParseTransferOwnerEvent(log types.Log) (*IFxBridgeLogicTransferOwnerEvent, error)

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

Solidity: event TransferOwnerEvent(address _token, address _newOwner)

func (*IFxBridgeLogicFilterer) WatchAddBridgeTokenEvent

func (_IFxBridgeLogic *IFxBridgeLogicFilterer) WatchAddBridgeTokenEvent(opts *bind.WatchOpts, sink chan<- *IFxBridgeLogicAddBridgeTokenEvent, _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 (*IFxBridgeLogicFilterer) WatchBridgeCallEvent

func (_IFxBridgeLogic *IFxBridgeLogicFilterer) WatchBridgeCallEvent(opts *bind.WatchOpts, sink chan<- *IFxBridgeLogicBridgeCallEvent, _sender []common.Address, _refund []common.Address, _to []common.Address) (event.Subscription, error)

WatchBridgeCallEvent is a free log subscription operation binding the contract event 0x96da1d63da4d424eb5848fc98c0361f8e970b1934ddc9c5529ba684171283a53.

Solidity: event BridgeCallEvent(address indexed _sender, address indexed _refund, address indexed _to, address _txOrigin, uint256 _eventNonce, string _dstChain, address[] _tokens, uint256[] _amounts, bytes _data, uint256 _quoteId, bytes _memo)

func (*IFxBridgeLogicFilterer) WatchOracleSetUpdatedEvent

func (_IFxBridgeLogic *IFxBridgeLogicFilterer) WatchOracleSetUpdatedEvent(opts *bind.WatchOpts, sink chan<- *IFxBridgeLogicOracleSetUpdatedEvent, _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 (*IFxBridgeLogicFilterer) WatchSendToFxEvent

func (_IFxBridgeLogic *IFxBridgeLogicFilterer) WatchSendToFxEvent(opts *bind.WatchOpts, sink chan<- *IFxBridgeLogicSendToFxEvent, _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 (*IFxBridgeLogicFilterer) WatchSubmitBridgeCallEvent

func (_IFxBridgeLogic *IFxBridgeLogicFilterer) WatchSubmitBridgeCallEvent(opts *bind.WatchOpts, sink chan<- *IFxBridgeLogicSubmitBridgeCallEvent, _txOrigin []common.Address) (event.Subscription, error)

WatchSubmitBridgeCallEvent is a free log subscription operation binding the contract event 0xa274e2655558a3663f90b9ff4d5409974a0e79ba5f0fb41ec4d582d58ba70580.

Solidity: event SubmitBridgeCallEvent(address indexed _txOrigin, uint256 _nonce, uint256 _eventNonce, bool _success, bytes _cause)

func (*IFxBridgeLogicFilterer) WatchTransactionBatchExecutedEvent

func (_IFxBridgeLogic *IFxBridgeLogicFilterer) WatchTransactionBatchExecutedEvent(opts *bind.WatchOpts, sink chan<- *IFxBridgeLogicTransactionBatchExecutedEvent, _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 (*IFxBridgeLogicFilterer) WatchTransferOwnerEvent

func (_IFxBridgeLogic *IFxBridgeLogicFilterer) WatchTransferOwnerEvent(opts *bind.WatchOpts, sink chan<- *IFxBridgeLogicTransferOwnerEvent) (event.Subscription, error)

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

Solidity: event TransferOwnerEvent(address _token, address _newOwner)

type IFxBridgeLogicOracleSetUpdatedEvent

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

IFxBridgeLogicOracleSetUpdatedEvent represents a OracleSetUpdatedEvent event raised by the IFxBridgeLogic contract.

type IFxBridgeLogicOracleSetUpdatedEventIterator

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

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

func (*IFxBridgeLogicOracleSetUpdatedEventIterator) Close

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

func (*IFxBridgeLogicOracleSetUpdatedEventIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IFxBridgeLogicOracleSetUpdatedEventIterator) 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 IFxBridgeLogicRaw

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

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

func (*IFxBridgeLogicRaw) Call

func (_IFxBridgeLogic *IFxBridgeLogicRaw) 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 (*IFxBridgeLogicRaw) Transact

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

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

func (*IFxBridgeLogicRaw) Transfer

func (_IFxBridgeLogic *IFxBridgeLogicRaw) 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 IFxBridgeLogicSendToFxEvent

type IFxBridgeLogicSendToFxEvent 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
}

IFxBridgeLogicSendToFxEvent represents a SendToFxEvent event raised by the IFxBridgeLogic contract.

type IFxBridgeLogicSendToFxEventIterator

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

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

func (*IFxBridgeLogicSendToFxEventIterator) Close

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

func (*IFxBridgeLogicSendToFxEventIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IFxBridgeLogicSendToFxEventIterator) 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 IFxBridgeLogicSession

type IFxBridgeLogicSession struct {
	Contract     *IFxBridgeLogic   // 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
}

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

func (*IFxBridgeLogicSession) ActiveBridgeToken

func (_IFxBridgeLogic *IFxBridgeLogicSession) 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 (*IFxBridgeLogicSession) AddBridgeToken

func (_IFxBridgeLogic *IFxBridgeLogicSession) 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 (*IFxBridgeLogicSession) BridgeCall

func (_IFxBridgeLogic *IFxBridgeLogicSession) BridgeCall(_dstChain string, _refund common.Address, _tokens []common.Address, _amounts []*big.Int, _to common.Address, _data []byte, _quoteId *big.Int, _memo []byte) (*types.Transaction, error)

BridgeCall is a paid mutator transaction binding the contract method 0x851c42ee.

Solidity: function bridgeCall(string _dstChain, address _refund, address[] _tokens, uint256[] _amounts, address _to, bytes _data, uint256 _quoteId, bytes _memo) payable returns(uint256 _eventNonce)

func (*IFxBridgeLogicSession) BridgeCallCheckpoint

func (_IFxBridgeLogic *IFxBridgeLogicSession) BridgeCallCheckpoint(_fxbridgeId [32]byte, _methodName [32]byte, _sender common.Address, _refund common.Address, _tokens []common.Address, _amounts []*big.Int, _to common.Address, _data []byte, _memo []byte, _nonce *big.Int, _timeout *big.Int, _eventNonce *big.Int) (*types.Transaction, error)

BridgeCallCheckpoint is a paid mutator transaction binding the contract method 0x5aab9b15.

Solidity: function bridgeCallCheckpoint(bytes32 _fxbridgeId, bytes32 _methodName, address _sender, address _refund, address[] _tokens, uint256[] _amounts, address _to, bytes _data, bytes _memo, uint256 _nonce, uint256 _timeout, uint256 _eventNonce) returns(bytes32)

func (*IFxBridgeLogicSession) BridgeTokens

func (_IFxBridgeLogic *IFxBridgeLogicSession) BridgeTokens(_index *big.Int) (common.Address, error)

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

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

func (*IFxBridgeLogicSession) CheckAssetStatus

func (_IFxBridgeLogic *IFxBridgeLogicSession) 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 (*IFxBridgeLogicSession) CheckOracleSignatures

func (_IFxBridgeLogic *IFxBridgeLogicSession) 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 (*IFxBridgeLogicSession) ConvertDecimals

func (_IFxBridgeLogic *IFxBridgeLogicSession) ConvertDecimals(_erc20Address common.Address) (uint8, error)

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

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

func (*IFxBridgeLogicSession) GetBridgeTokenList

func (_IFxBridgeLogic *IFxBridgeLogicSession) GetBridgeTokenList() ([]IFxBridgeLogicBridgeToken, error)

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

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

func (*IFxBridgeLogicSession) LastBatchNonce

func (_IFxBridgeLogic *IFxBridgeLogicSession) 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 (*IFxBridgeLogicSession) MakeCheckpoint

func (_IFxBridgeLogic *IFxBridgeLogicSession) 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 (*IFxBridgeLogicSession) OracleSetCheckpoint

func (_IFxBridgeLogic *IFxBridgeLogicSession) OracleSetCheckpoint(_fxbridgeId [32]byte, _methodName [32]byte, _oracleSetNonce *big.Int, _oracles []common.Address, _powers []*big.Int) (*types.Transaction, error)

OracleSetCheckpoint is a paid mutator transaction binding the contract method 0xa955665f.

Solidity: function oracleSetCheckpoint(bytes32 _fxbridgeId, bytes32 _methodName, uint256 _oracleSetNonce, address[] _oracles, uint256[] _powers) returns(bytes32)

func (*IFxBridgeLogicSession) Pause

func (_IFxBridgeLogic *IFxBridgeLogicSession) Pause() (*types.Transaction, error)

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

Solidity: function pause() returns()

func (*IFxBridgeLogicSession) PauseBridgeToken

func (_IFxBridgeLogic *IFxBridgeLogicSession) 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 (*IFxBridgeLogicSession) SendToFx

func (_IFxBridgeLogic *IFxBridgeLogicSession) 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 (*IFxBridgeLogicSession) StateFxBridgeId

func (_IFxBridgeLogic *IFxBridgeLogicSession) StateFxBridgeId() ([32]byte, error)

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

Solidity: function state_fxBridgeId() view returns(bytes32)

func (*IFxBridgeLogicSession) StateLastBatchNonces

func (_IFxBridgeLogic *IFxBridgeLogicSession) StateLastBatchNonces(_erc20Address common.Address) (*big.Int, error)

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

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

func (*IFxBridgeLogicSession) StateLastBridgeCallNonces

func (_IFxBridgeLogic *IFxBridgeLogicSession) StateLastBridgeCallNonces(_index *big.Int) (bool, error)

StateLastBridgeCallNonces is a free data retrieval call binding the contract method 0xed51dacf.

Solidity: function state_lastBridgeCallNonces(uint256 _index) view returns(bool)

func (*IFxBridgeLogicSession) StateLastEventNonce

func (_IFxBridgeLogic *IFxBridgeLogicSession) StateLastEventNonce() (*big.Int, error)

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

Solidity: function state_lastEventNonce() view returns(uint256)

func (*IFxBridgeLogicSession) StateLastOracleSetCheckpoint

func (_IFxBridgeLogic *IFxBridgeLogicSession) StateLastOracleSetCheckpoint() ([32]byte, error)

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

Solidity: function state_lastOracleSetCheckpoint() view returns(bytes32)

func (*IFxBridgeLogicSession) StateLastOracleSetNonce

func (_IFxBridgeLogic *IFxBridgeLogicSession) StateLastOracleSetNonce() (*big.Int, error)

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

Solidity: function state_lastOracleSetNonce() view returns(uint256)

func (*IFxBridgeLogicSession) StatePowerThreshold

func (_IFxBridgeLogic *IFxBridgeLogicSession) StatePowerThreshold() (*big.Int, error)

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

Solidity: function state_powerThreshold() view returns(uint256)

func (*IFxBridgeLogicSession) SubmitBatch

func (_IFxBridgeLogic *IFxBridgeLogicSession) 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 (*IFxBridgeLogicSession) SubmitBatchCheckpoint

func (_IFxBridgeLogic *IFxBridgeLogicSession) SubmitBatchCheckpoint(_fxbridgeId [32]byte, _methodName [32]byte, _amounts []*big.Int, _destinations []common.Address, _fees []*big.Int, _batchNonce *big.Int, _tokenContract common.Address, _batchTimeout *big.Int, _feeReceive common.Address) (*types.Transaction, error)

SubmitBatchCheckpoint is a paid mutator transaction binding the contract method 0x3d1e51f9.

Solidity: function submitBatchCheckpoint(bytes32 _fxbridgeId, bytes32 _methodName, uint256[] _amounts, address[] _destinations, uint256[] _fees, uint256 _batchNonce, address _tokenContract, uint256 _batchTimeout, address _feeReceive) returns(bytes32)

func (*IFxBridgeLogicSession) SubmitBridgeCall

func (_IFxBridgeLogic *IFxBridgeLogicSession) SubmitBridgeCall(_currentOracles []common.Address, _currentPowers []*big.Int, _v []uint8, _r [][32]byte, _s [][32]byte, _nonceArray [2]*big.Int, _input IFxBridgeLogicBridgeCallData) (*types.Transaction, error)

SubmitBridgeCall is a paid mutator transaction binding the contract method 0x8b344574.

Solidity: function submitBridgeCall(address[] _currentOracles, uint256[] _currentPowers, uint8[] _v, bytes32[] _r, bytes32[] _s, uint256[2] _nonceArray, (address,address,address[],uint256[],address,bytes,bytes,uint256,uint256) _input) returns()

func (*IFxBridgeLogicSession) TokenStatus

func (_IFxBridgeLogic *IFxBridgeLogicSession) TokenStatus(_tokenAddr common.Address) (IFxBridgeLogicTokenStatus, error)

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

Solidity: function tokenStatus(address _tokenAddr) view returns((bool,bool,bool))

func (*IFxBridgeLogicSession) TransferOwner

func (_IFxBridgeLogic *IFxBridgeLogicSession) 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 (*IFxBridgeLogicSession) Unpause

func (_IFxBridgeLogic *IFxBridgeLogicSession) Unpause() (*types.Transaction, error)

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

Solidity: function unpause() returns()

func (*IFxBridgeLogicSession) UpdateOracleSet

func (_IFxBridgeLogic *IFxBridgeLogicSession) 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 (*IFxBridgeLogicSession) Version

func (_IFxBridgeLogic *IFxBridgeLogicSession) Version() (string, error)

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

Solidity: function version() view returns(string)

type IFxBridgeLogicSubmitBridgeCallEvent

type IFxBridgeLogicSubmitBridgeCallEvent struct {
	TxOrigin   common.Address
	Nonce      *big.Int
	EventNonce *big.Int
	Success    bool
	Cause      []byte
	Raw        types.Log // Blockchain specific contextual infos
}

IFxBridgeLogicSubmitBridgeCallEvent represents a SubmitBridgeCallEvent event raised by the IFxBridgeLogic contract.

type IFxBridgeLogicSubmitBridgeCallEventIterator

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

IFxBridgeLogicSubmitBridgeCallEventIterator is returned from FilterSubmitBridgeCallEvent and is used to iterate over the raw logs and unpacked data for SubmitBridgeCallEvent events raised by the IFxBridgeLogic contract.

func (*IFxBridgeLogicSubmitBridgeCallEventIterator) Close

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

func (*IFxBridgeLogicSubmitBridgeCallEventIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IFxBridgeLogicSubmitBridgeCallEventIterator) 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 IFxBridgeLogicTokenStatus

type IFxBridgeLogicTokenStatus struct {
	IsOriginated bool
	IsActive     bool
	IsExist      bool
}

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

type IFxBridgeLogicTransactionBatchExecutedEvent

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

IFxBridgeLogicTransactionBatchExecutedEvent represents a TransactionBatchExecutedEvent event raised by the IFxBridgeLogic contract.

type IFxBridgeLogicTransactionBatchExecutedEventIterator

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

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

func (*IFxBridgeLogicTransactionBatchExecutedEventIterator) Close

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

func (*IFxBridgeLogicTransactionBatchExecutedEventIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IFxBridgeLogicTransactionBatchExecutedEventIterator) 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 IFxBridgeLogicTransactor

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

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

func NewIFxBridgeLogicTransactor

func NewIFxBridgeLogicTransactor(address common.Address, transactor bind.ContractTransactor) (*IFxBridgeLogicTransactor, error)

NewIFxBridgeLogicTransactor creates a new write-only instance of IFxBridgeLogic, bound to a specific deployed contract.

func (*IFxBridgeLogicTransactor) ActiveBridgeToken

func (_IFxBridgeLogic *IFxBridgeLogicTransactor) 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 (*IFxBridgeLogicTransactor) AddBridgeToken

func (_IFxBridgeLogic *IFxBridgeLogicTransactor) 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 (*IFxBridgeLogicTransactor) BridgeCall

func (_IFxBridgeLogic *IFxBridgeLogicTransactor) BridgeCall(opts *bind.TransactOpts, _dstChain string, _refund common.Address, _tokens []common.Address, _amounts []*big.Int, _to common.Address, _data []byte, _quoteId *big.Int, _memo []byte) (*types.Transaction, error)

BridgeCall is a paid mutator transaction binding the contract method 0x851c42ee.

Solidity: function bridgeCall(string _dstChain, address _refund, address[] _tokens, uint256[] _amounts, address _to, bytes _data, uint256 _quoteId, bytes _memo) payable returns(uint256 _eventNonce)

func (*IFxBridgeLogicTransactor) BridgeCallCheckpoint

func (_IFxBridgeLogic *IFxBridgeLogicTransactor) BridgeCallCheckpoint(opts *bind.TransactOpts, _fxbridgeId [32]byte, _methodName [32]byte, _sender common.Address, _refund common.Address, _tokens []common.Address, _amounts []*big.Int, _to common.Address, _data []byte, _memo []byte, _nonce *big.Int, _timeout *big.Int, _eventNonce *big.Int) (*types.Transaction, error)

BridgeCallCheckpoint is a paid mutator transaction binding the contract method 0x5aab9b15.

Solidity: function bridgeCallCheckpoint(bytes32 _fxbridgeId, bytes32 _methodName, address _sender, address _refund, address[] _tokens, uint256[] _amounts, address _to, bytes _data, bytes _memo, uint256 _nonce, uint256 _timeout, uint256 _eventNonce) returns(bytes32)

func (*IFxBridgeLogicTransactor) OracleSetCheckpoint

func (_IFxBridgeLogic *IFxBridgeLogicTransactor) OracleSetCheckpoint(opts *bind.TransactOpts, _fxbridgeId [32]byte, _methodName [32]byte, _oracleSetNonce *big.Int, _oracles []common.Address, _powers []*big.Int) (*types.Transaction, error)

OracleSetCheckpoint is a paid mutator transaction binding the contract method 0xa955665f.

Solidity: function oracleSetCheckpoint(bytes32 _fxbridgeId, bytes32 _methodName, uint256 _oracleSetNonce, address[] _oracles, uint256[] _powers) returns(bytes32)

func (*IFxBridgeLogicTransactor) Pause

func (_IFxBridgeLogic *IFxBridgeLogicTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function pause() returns()

func (*IFxBridgeLogicTransactor) PauseBridgeToken

func (_IFxBridgeLogic *IFxBridgeLogicTransactor) 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 (*IFxBridgeLogicTransactor) SendToFx

func (_IFxBridgeLogic *IFxBridgeLogicTransactor) 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 (*IFxBridgeLogicTransactor) SubmitBatch

func (_IFxBridgeLogic *IFxBridgeLogicTransactor) 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 (*IFxBridgeLogicTransactor) SubmitBatchCheckpoint

func (_IFxBridgeLogic *IFxBridgeLogicTransactor) SubmitBatchCheckpoint(opts *bind.TransactOpts, _fxbridgeId [32]byte, _methodName [32]byte, _amounts []*big.Int, _destinations []common.Address, _fees []*big.Int, _batchNonce *big.Int, _tokenContract common.Address, _batchTimeout *big.Int, _feeReceive common.Address) (*types.Transaction, error)

SubmitBatchCheckpoint is a paid mutator transaction binding the contract method 0x3d1e51f9.

Solidity: function submitBatchCheckpoint(bytes32 _fxbridgeId, bytes32 _methodName, uint256[] _amounts, address[] _destinations, uint256[] _fees, uint256 _batchNonce, address _tokenContract, uint256 _batchTimeout, address _feeReceive) returns(bytes32)

func (*IFxBridgeLogicTransactor) SubmitBridgeCall

func (_IFxBridgeLogic *IFxBridgeLogicTransactor) SubmitBridgeCall(opts *bind.TransactOpts, _currentOracles []common.Address, _currentPowers []*big.Int, _v []uint8, _r [][32]byte, _s [][32]byte, _nonceArray [2]*big.Int, _input IFxBridgeLogicBridgeCallData) (*types.Transaction, error)

SubmitBridgeCall is a paid mutator transaction binding the contract method 0x8b344574.

Solidity: function submitBridgeCall(address[] _currentOracles, uint256[] _currentPowers, uint8[] _v, bytes32[] _r, bytes32[] _s, uint256[2] _nonceArray, (address,address,address[],uint256[],address,bytes,bytes,uint256,uint256) _input) returns()

func (*IFxBridgeLogicTransactor) TransferOwner

func (_IFxBridgeLogic *IFxBridgeLogicTransactor) 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 (*IFxBridgeLogicTransactor) Unpause

func (_IFxBridgeLogic *IFxBridgeLogicTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function unpause() returns()

func (*IFxBridgeLogicTransactor) UpdateOracleSet

func (_IFxBridgeLogic *IFxBridgeLogicTransactor) 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 IFxBridgeLogicTransactorRaw

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

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

func (*IFxBridgeLogicTransactorRaw) Transact

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

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

func (*IFxBridgeLogicTransactorRaw) Transfer

func (_IFxBridgeLogic *IFxBridgeLogicTransactorRaw) 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 IFxBridgeLogicTransactorSession

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

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

func (*IFxBridgeLogicTransactorSession) ActiveBridgeToken

func (_IFxBridgeLogic *IFxBridgeLogicTransactorSession) 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 (*IFxBridgeLogicTransactorSession) AddBridgeToken

func (_IFxBridgeLogic *IFxBridgeLogicTransactorSession) 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 (*IFxBridgeLogicTransactorSession) BridgeCall

func (_IFxBridgeLogic *IFxBridgeLogicTransactorSession) BridgeCall(_dstChain string, _refund common.Address, _tokens []common.Address, _amounts []*big.Int, _to common.Address, _data []byte, _quoteId *big.Int, _memo []byte) (*types.Transaction, error)

BridgeCall is a paid mutator transaction binding the contract method 0x851c42ee.

Solidity: function bridgeCall(string _dstChain, address _refund, address[] _tokens, uint256[] _amounts, address _to, bytes _data, uint256 _quoteId, bytes _memo) payable returns(uint256 _eventNonce)

func (*IFxBridgeLogicTransactorSession) BridgeCallCheckpoint

func (_IFxBridgeLogic *IFxBridgeLogicTransactorSession) BridgeCallCheckpoint(_fxbridgeId [32]byte, _methodName [32]byte, _sender common.Address, _refund common.Address, _tokens []common.Address, _amounts []*big.Int, _to common.Address, _data []byte, _memo []byte, _nonce *big.Int, _timeout *big.Int, _eventNonce *big.Int) (*types.Transaction, error)

BridgeCallCheckpoint is a paid mutator transaction binding the contract method 0x5aab9b15.

Solidity: function bridgeCallCheckpoint(bytes32 _fxbridgeId, bytes32 _methodName, address _sender, address _refund, address[] _tokens, uint256[] _amounts, address _to, bytes _data, bytes _memo, uint256 _nonce, uint256 _timeout, uint256 _eventNonce) returns(bytes32)

func (*IFxBridgeLogicTransactorSession) OracleSetCheckpoint

func (_IFxBridgeLogic *IFxBridgeLogicTransactorSession) OracleSetCheckpoint(_fxbridgeId [32]byte, _methodName [32]byte, _oracleSetNonce *big.Int, _oracles []common.Address, _powers []*big.Int) (*types.Transaction, error)

OracleSetCheckpoint is a paid mutator transaction binding the contract method 0xa955665f.

Solidity: function oracleSetCheckpoint(bytes32 _fxbridgeId, bytes32 _methodName, uint256 _oracleSetNonce, address[] _oracles, uint256[] _powers) returns(bytes32)

func (*IFxBridgeLogicTransactorSession) Pause

func (_IFxBridgeLogic *IFxBridgeLogicTransactorSession) Pause() (*types.Transaction, error)

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

Solidity: function pause() returns()

func (*IFxBridgeLogicTransactorSession) PauseBridgeToken

func (_IFxBridgeLogic *IFxBridgeLogicTransactorSession) 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 (*IFxBridgeLogicTransactorSession) SendToFx

func (_IFxBridgeLogic *IFxBridgeLogicTransactorSession) 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 (*IFxBridgeLogicTransactorSession) SubmitBatch

func (_IFxBridgeLogic *IFxBridgeLogicTransactorSession) 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 (*IFxBridgeLogicTransactorSession) SubmitBatchCheckpoint

func (_IFxBridgeLogic *IFxBridgeLogicTransactorSession) SubmitBatchCheckpoint(_fxbridgeId [32]byte, _methodName [32]byte, _amounts []*big.Int, _destinations []common.Address, _fees []*big.Int, _batchNonce *big.Int, _tokenContract common.Address, _batchTimeout *big.Int, _feeReceive common.Address) (*types.Transaction, error)

SubmitBatchCheckpoint is a paid mutator transaction binding the contract method 0x3d1e51f9.

Solidity: function submitBatchCheckpoint(bytes32 _fxbridgeId, bytes32 _methodName, uint256[] _amounts, address[] _destinations, uint256[] _fees, uint256 _batchNonce, address _tokenContract, uint256 _batchTimeout, address _feeReceive) returns(bytes32)

func (*IFxBridgeLogicTransactorSession) SubmitBridgeCall

func (_IFxBridgeLogic *IFxBridgeLogicTransactorSession) SubmitBridgeCall(_currentOracles []common.Address, _currentPowers []*big.Int, _v []uint8, _r [][32]byte, _s [][32]byte, _nonceArray [2]*big.Int, _input IFxBridgeLogicBridgeCallData) (*types.Transaction, error)

SubmitBridgeCall is a paid mutator transaction binding the contract method 0x8b344574.

Solidity: function submitBridgeCall(address[] _currentOracles, uint256[] _currentPowers, uint8[] _v, bytes32[] _r, bytes32[] _s, uint256[2] _nonceArray, (address,address,address[],uint256[],address,bytes,bytes,uint256,uint256) _input) returns()

func (*IFxBridgeLogicTransactorSession) TransferOwner

func (_IFxBridgeLogic *IFxBridgeLogicTransactorSession) 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 (*IFxBridgeLogicTransactorSession) Unpause

func (_IFxBridgeLogic *IFxBridgeLogicTransactorSession) Unpause() (*types.Transaction, error)

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

Solidity: function unpause() returns()

func (*IFxBridgeLogicTransactorSession) UpdateOracleSet

func (_IFxBridgeLogic *IFxBridgeLogicTransactorSession) 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 IFxBridgeLogicTransferOwnerEvent

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

IFxBridgeLogicTransferOwnerEvent represents a TransferOwnerEvent event raised by the IFxBridgeLogic contract.

type IFxBridgeLogicTransferOwnerEventIterator

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

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

func (*IFxBridgeLogicTransferOwnerEventIterator) Close

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

func (*IFxBridgeLogicTransferOwnerEventIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

func (*IStakingCaller) SlashingInfo

func (_IStaking *IStakingCaller) SlashingInfo(opts *bind.CallOpts, _val string) (struct {
	Jailed bool
	Missed *big.Int
}, error)

SlashingInfo is a free data retrieval call binding the contract method 0x4e94633a.

Solidity: function slashingInfo(string _val) view returns(bool _jailed, uint256 _missed)

func (*IStakingCaller) ValidatorList

func (_IStaking *IStakingCaller) ValidatorList(opts *bind.CallOpts, _sortBy uint8) ([]string, error)

ValidatorList is a free data retrieval call binding the contract method 0x029c0a51.

Solidity: function validatorList(uint8 _sortBy) view returns(string[])

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)

func (*IStakingCallerSession) SlashingInfo

func (_IStaking *IStakingCallerSession) SlashingInfo(_val string) (struct {
	Jailed bool
	Missed *big.Int
}, error)

SlashingInfo is a free data retrieval call binding the contract method 0x4e94633a.

Solidity: function slashingInfo(string _val) view returns(bool _jailed, uint256 _missed)

func (*IStakingCallerSession) ValidatorList

func (_IStaking *IStakingCallerSession) ValidatorList(_sortBy uint8) ([]string, error)

ValidatorList is a free data retrieval call binding the contract method 0x029c0a51.

Solidity: function validatorList(uint8 _sortBy) view returns(string[])

type IStakingDelegateV2

type IStakingDelegateV2 struct {
	Delegator common.Address
	Validator string
	Amount    *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

IStakingDelegateV2 represents a DelegateV2 event raised by the IStaking contract.

type IStakingDelegateV2Iterator

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

IStakingDelegateV2Iterator is returned from FilterDelegateV2 and is used to iterate over the raw logs and unpacked data for DelegateV2 events raised by the IStaking contract.

func (*IStakingDelegateV2Iterator) Close

func (it *IStakingDelegateV2Iterator) Close() error

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

func (*IStakingDelegateV2Iterator) Error

func (it *IStakingDelegateV2Iterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IStakingDelegateV2Iterator) Next

func (it *IStakingDelegateV2Iterator) 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) FilterDelegateV2

func (_IStaking *IStakingFilterer) FilterDelegateV2(opts *bind.FilterOpts, delegator []common.Address) (*IStakingDelegateV2Iterator, error)

FilterDelegateV2 is a free log retrieval operation binding the contract event 0x330852c9460e583c049d932477c038fca307363fa8c1083a332905a68b821f10.

Solidity: event DelegateV2(address indexed delegator, string validator, uint256 amount)

func (*IStakingFilterer) FilterRedelegateV2

func (_IStaking *IStakingFilterer) FilterRedelegateV2(opts *bind.FilterOpts, sender []common.Address) (*IStakingRedelegateV2Iterator, error)

FilterRedelegateV2 is a free log retrieval operation binding the contract event 0xdcf3a72a725100ce405b1ea62706114bec51d16536bf2cf868772ca440fe0da9.

Solidity: event RedelegateV2(address indexed sender, string valSrc, string valDst, uint256 amount, uint256 completionTime)

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

func (_IStaking *IStakingFilterer) FilterUndelegateV2(opts *bind.FilterOpts, sender []common.Address) (*IStakingUndelegateV2Iterator, error)

FilterUndelegateV2 is a free log retrieval operation binding the contract event 0x4d3e71c3e3ff90f64b7095a17eb6b6cdd1ca0f0563102ef30415f73cb64b866f.

Solidity: event UndelegateV2(address indexed sender, string validator, 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) ParseDelegateV2

func (_IStaking *IStakingFilterer) ParseDelegateV2(log types.Log) (*IStakingDelegateV2, error)

ParseDelegateV2 is a log parse operation binding the contract event 0x330852c9460e583c049d932477c038fca307363fa8c1083a332905a68b821f10.

Solidity: event DelegateV2(address indexed delegator, string validator, uint256 amount)

func (*IStakingFilterer) ParseRedelegateV2

func (_IStaking *IStakingFilterer) ParseRedelegateV2(log types.Log) (*IStakingRedelegateV2, error)

ParseRedelegateV2 is a log parse operation binding the contract event 0xdcf3a72a725100ce405b1ea62706114bec51d16536bf2cf868772ca440fe0da9.

Solidity: event RedelegateV2(address indexed sender, string valSrc, string valDst, uint256 amount, uint256 completionTime)

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

func (_IStaking *IStakingFilterer) ParseUndelegateV2(log types.Log) (*IStakingUndelegateV2, error)

ParseUndelegateV2 is a log parse operation binding the contract event 0x4d3e71c3e3ff90f64b7095a17eb6b6cdd1ca0f0563102ef30415f73cb64b866f.

Solidity: event UndelegateV2(address indexed sender, string validator, 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) WatchDelegateV2

func (_IStaking *IStakingFilterer) WatchDelegateV2(opts *bind.WatchOpts, sink chan<- *IStakingDelegateV2, delegator []common.Address) (event.Subscription, error)

WatchDelegateV2 is a free log subscription operation binding the contract event 0x330852c9460e583c049d932477c038fca307363fa8c1083a332905a68b821f10.

Solidity: event DelegateV2(address indexed delegator, string validator, uint256 amount)

func (*IStakingFilterer) WatchRedelegateV2

func (_IStaking *IStakingFilterer) WatchRedelegateV2(opts *bind.WatchOpts, sink chan<- *IStakingRedelegateV2, sender []common.Address) (event.Subscription, error)

WatchRedelegateV2 is a free log subscription operation binding the contract event 0xdcf3a72a725100ce405b1ea62706114bec51d16536bf2cf868772ca440fe0da9.

Solidity: event RedelegateV2(address indexed sender, string valSrc, string valDst, uint256 amount, uint256 completionTime)

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

func (_IStaking *IStakingFilterer) WatchUndelegateV2(opts *bind.WatchOpts, sink chan<- *IStakingUndelegateV2, sender []common.Address) (event.Subscription, error)

WatchUndelegateV2 is a free log subscription operation binding the contract event 0x4d3e71c3e3ff90f64b7095a17eb6b6cdd1ca0f0563102ef30415f73cb64b866f.

Solidity: event UndelegateV2(address indexed sender, string validator, 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 IStakingRedelegateV2

type IStakingRedelegateV2 struct {
	Sender         common.Address
	ValSrc         string
	ValDst         string
	Amount         *big.Int
	CompletionTime *big.Int
	Raw            types.Log // Blockchain specific contextual infos
}

IStakingRedelegateV2 represents a RedelegateV2 event raised by the IStaking contract.

type IStakingRedelegateV2Iterator

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

IStakingRedelegateV2Iterator is returned from FilterRedelegateV2 and is used to iterate over the raw logs and unpacked data for RedelegateV2 events raised by the IStaking contract.

func (*IStakingRedelegateV2Iterator) Close

func (it *IStakingRedelegateV2Iterator) Close() error

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

func (*IStakingRedelegateV2Iterator) Error

func (it *IStakingRedelegateV2Iterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IStakingRedelegateV2Iterator) 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 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) DelegateV2

func (_IStaking *IStakingSession) DelegateV2(_val string, _amount *big.Int) (*types.Transaction, error)

DelegateV2 is a paid mutator transaction binding the contract method 0x6d788035.

Solidity: function delegateV2(string _val, uint256 _amount) payable returns(bool _result)

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

func (_IStaking *IStakingSession) RedelegateV2(_valSrc string, _valDst string, _amount *big.Int) (*types.Transaction, error)

RedelegateV2 is a paid mutator transaction binding the contract method 0xee226c66.

Solidity: function redelegateV2(string _valSrc, string _valDst, uint256 _amount) returns(bool _result)

func (*IStakingSession) SlashingInfo

func (_IStaking *IStakingSession) SlashingInfo(_val string) (struct {
	Jailed bool
	Missed *big.Int
}, error)

SlashingInfo is a free data retrieval call binding the contract method 0x4e94633a.

Solidity: function slashingInfo(string _val) view returns(bool _jailed, uint256 _missed)

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

func (_IStaking *IStakingSession) UndelegateV2(_val string, _amount *big.Int) (*types.Transaction, error)

UndelegateV2 is a paid mutator transaction binding the contract method 0xde2b3451.

Solidity: function undelegateV2(string _val, uint256 _amount) returns(bool _result)

func (*IStakingSession) ValidatorList

func (_IStaking *IStakingSession) ValidatorList(_sortBy uint8) ([]string, error)

ValidatorList is a free data retrieval call binding the contract method 0x029c0a51.

Solidity: function validatorList(uint8 _sortBy) view returns(string[])

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

func (_IStaking *IStakingTransactor) DelegateV2(opts *bind.TransactOpts, _val string, _amount *big.Int) (*types.Transaction, error)

DelegateV2 is a paid mutator transaction binding the contract method 0x6d788035.

Solidity: function delegateV2(string _val, uint256 _amount) payable returns(bool _result)

func (*IStakingTransactor) RedelegateV2

func (_IStaking *IStakingTransactor) RedelegateV2(opts *bind.TransactOpts, _valSrc string, _valDst string, _amount *big.Int) (*types.Transaction, error)

RedelegateV2 is a paid mutator transaction binding the contract method 0xee226c66.

Solidity: function redelegateV2(string _valSrc, string _valDst, uint256 _amount) returns(bool _result)

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

func (_IStaking *IStakingTransactor) UndelegateV2(opts *bind.TransactOpts, _val string, _amount *big.Int) (*types.Transaction, error)

UndelegateV2 is a paid mutator transaction binding the contract method 0xde2b3451.

Solidity: function undelegateV2(string _val, uint256 _amount) returns(bool _result)

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

func (_IStaking *IStakingTransactorSession) DelegateV2(_val string, _amount *big.Int) (*types.Transaction, error)

DelegateV2 is a paid mutator transaction binding the contract method 0x6d788035.

Solidity: function delegateV2(string _val, uint256 _amount) payable returns(bool _result)

func (*IStakingTransactorSession) RedelegateV2

func (_IStaking *IStakingTransactorSession) RedelegateV2(_valSrc string, _valDst string, _amount *big.Int) (*types.Transaction, error)

RedelegateV2 is a paid mutator transaction binding the contract method 0xee226c66.

Solidity: function redelegateV2(string _valSrc, string _valDst, uint256 _amount) returns(bool _result)

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

func (_IStaking *IStakingTransactorSession) UndelegateV2(_val string, _amount *big.Int) (*types.Transaction, error)

UndelegateV2 is a paid mutator transaction binding the contract method 0xde2b3451.

Solidity: function undelegateV2(string _val, uint256 _amount) returns(bool _result)

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 IStakingUndelegateV2

type IStakingUndelegateV2 struct {
	Sender         common.Address
	Validator      string
	Amount         *big.Int
	CompletionTime *big.Int
	Raw            types.Log // Blockchain specific contextual infos
}

IStakingUndelegateV2 represents a UndelegateV2 event raised by the IStaking contract.

type IStakingUndelegateV2Iterator

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

IStakingUndelegateV2Iterator is returned from FilterUndelegateV2 and is used to iterate over the raw logs and unpacked data for UndelegateV2 events raised by the IStaking contract.

func (*IStakingUndelegateV2Iterator) Close

func (it *IStakingUndelegateV2Iterator) Close() error

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

func (*IStakingUndelegateV2Iterator) Error

func (it *IStakingUndelegateV2Iterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IStakingUndelegateV2Iterator) 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 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 IsOracleOnlineArgs

type IsOracleOnlineArgs struct {
	Chain           string         `abi:"_chain"`
	ExternalAddress common.Address `abi:"_externalAddress"`
}

func (*IsOracleOnlineArgs) Validate

func (args *IsOracleOnlineArgs) Validate() error

type PrecompileMethod

type PrecompileMethod interface {
	GetMethodId() []byte
	RequiredGas() uint64
	IsReadonly() bool
	Run(evm *vm.EVM, contract *vm.Contract) ([]byte, error)
}

type RedelegateV2Args

type RedelegateV2Args struct {
	ValidatorSrc string   `abi:"_valSrc"`
	ValidatorDst string   `abi:"_valDst"`
	Amount       *big.Int `abi:"_amount"`
}

func (*RedelegateV2Args) GetValidatorDst

func (args *RedelegateV2Args) GetValidatorDst() sdk.ValAddress

GetValidatorDst returns the validator dest address, caller must ensure the validator address is valid

func (*RedelegateV2Args) GetValidatorSrc

func (args *RedelegateV2Args) GetValidatorSrc() sdk.ValAddress

GetValidatorSrc returns the validator src address, caller must ensure the validator address is valid

func (*RedelegateV2Args) Validate

func (args *RedelegateV2Args) Validate() error

Validate validates the args

type SlashingInfoArgs

type SlashingInfoArgs struct {
	Validator string `abi:"_val"`
}

func (*SlashingInfoArgs) GetValidator

func (args *SlashingInfoArgs) GetValidator() sdk.ValAddress

GetValidator returns the validator address, caller must ensure the validator address is valid

func (*SlashingInfoArgs) Validate

func (args *SlashingInfoArgs) Validate() error

Validate validates the args

type StakingPrecompileKeeper

type StakingPrecompileKeeper struct {
	Caller
	// contains filtered or unexported fields
}

func NewStakingPrecompileKeeper

func NewStakingPrecompileKeeper(caller Caller, contractAddr common.Address) StakingPrecompileKeeper

func (StakingPrecompileKeeper) AllowanceShares

func (k StakingPrecompileKeeper) AllowanceShares(ctx context.Context, args AllowanceSharesArgs) (*big.Int, error)

func (StakingPrecompileKeeper) ApproveShares

func (StakingPrecompileKeeper) DelegateV2

func (StakingPrecompileKeeper) Delegation

func (k StakingPrecompileKeeper) Delegation(ctx context.Context, args DelegationArgs) (*big.Int, *big.Int, error)

func (StakingPrecompileKeeper) DelegationRewards

func (k StakingPrecompileKeeper) DelegationRewards(ctx context.Context, args DelegationRewardsArgs) (*big.Int, error)

func (StakingPrecompileKeeper) RedelegateV2

func (StakingPrecompileKeeper) SlashingInfo

func (k StakingPrecompileKeeper) SlashingInfo(ctx context.Context, args SlashingInfoArgs) (bool, *big.Int, error)

func (StakingPrecompileKeeper) TransferShares

func (StakingPrecompileKeeper) UndelegateV2

func (StakingPrecompileKeeper) ValidatorList

func (k StakingPrecompileKeeper) ValidatorList(ctx context.Context, args ValidatorListArgs) ([]string, error)

func (StakingPrecompileKeeper) WithContractAddr

func (StakingPrecompileKeeper) Withdraw

type TransferFromSharesArgs

type TransferFromSharesArgs struct {
	Validator string         `abi:"_val"`
	From      common.Address `abi:"_from"`
	To        common.Address `abi:"_to"`
	Shares    *big.Int       `abi:"_shares"`
}

func (*TransferFromSharesArgs) GetValidator

func (args *TransferFromSharesArgs) GetValidator() sdk.ValAddress

GetValidator returns the validator address, caller must ensure the validator address is valid

func (*TransferFromSharesArgs) Validate

func (args *TransferFromSharesArgs) Validate() error

Validate validates the args

type TransferFromSharesRet

type TransferFromSharesRet struct {
	Token  *big.Int
	Reward *big.Int
}

type TransferSharesArgs

type TransferSharesArgs struct {
	Validator string         `abi:"_val"`
	To        common.Address `abi:"_to"`
	Shares    *big.Int       `abi:"_shares"`
}

func (*TransferSharesArgs) GetValidator

func (args *TransferSharesArgs) GetValidator() sdk.ValAddress

GetValidator returns the validator address, caller must ensure the validator address is valid

func (*TransferSharesArgs) Validate

func (args *TransferSharesArgs) Validate() error

Validate validates the args

type TransferSharesRet

type TransferSharesRet struct {
	Token  *big.Int
	Reward *big.Int
}

type UndelegateV2Args

type UndelegateV2Args struct {
	Validator string   `abi:"_val"`
	Amount    *big.Int `abi:"_amount"`
}

func (*UndelegateV2Args) GetValidator

func (args *UndelegateV2Args) GetValidator() sdk.ValAddress

GetValidator returns the validator address, caller must ensure the validator address is valid

func (*UndelegateV2Args) Validate

func (args *UndelegateV2Args) Validate() error

Validate validates the args

type ValidatorListArgs

type ValidatorListArgs struct {
	SortBy uint8 `abi:"_val"`
}

func (*ValidatorListArgs) GetSortBy

func (args *ValidatorListArgs) GetSortBy() ValidatorSortBy

func (*ValidatorListArgs) Validate

func (args *ValidatorListArgs) Validate() error

Validate validates the args

type ValidatorSortBy

type ValidatorSortBy uint8
const (
	ValidatorSortByPower ValidatorSortBy = iota
	ValidatorSortByMissed
)

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

func (_WFXUpgradable *WFXUpgradableFilterer) FilterWithdraw0(opts *bind.FilterOpts, from []common.Address) (*WFXUpgradableWithdraw0Iterator, error)

FilterWithdraw0 is a free log retrieval operation binding the contract event 0x884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364.

Solidity: event Withdraw(address indexed from, 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) 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) ParseWithdraw0

func (_WFXUpgradable *WFXUpgradableFilterer) ParseWithdraw0(log types.Log) (*WFXUpgradableWithdraw0, error)

ParseWithdraw0 is a log parse operation binding the contract event 0x884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364.

Solidity: event Withdraw(address indexed from, 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) 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)

func (*WFXUpgradableFilterer) WatchWithdraw0

func (_WFXUpgradable *WFXUpgradableFilterer) WatchWithdraw0(opts *bind.WatchOpts, sink chan<- *WFXUpgradableWithdraw0, from []common.Address) (event.Subscription, error)

WatchWithdraw0 is a free log subscription operation binding the contract event 0x884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364.

Solidity: event Withdraw(address indexed from, 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) 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(value *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.

Solidity: function withdraw(uint256 value) returns()

func (*WFXUpgradableSession) Withdraw0

func (_WFXUpgradable *WFXUpgradableSession) Withdraw0(to common.Address, value *big.Int) (*types.Transaction, error)

Withdraw0 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) 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, value *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.

Solidity: function withdraw(uint256 value) returns()

func (*WFXUpgradableTransactor) Withdraw0

func (_WFXUpgradable *WFXUpgradableTransactor) Withdraw0(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)

Withdraw0 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) 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(value *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.

Solidity: function withdraw(uint256 value) returns()

func (*WFXUpgradableTransactorSession) Withdraw0

func (_WFXUpgradable *WFXUpgradableTransactorSession) Withdraw0(to common.Address, value *big.Int) (*types.Transaction, error)

Withdraw0 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 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 WFXUpgradableWithdraw0

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

WFXUpgradableWithdraw0 represents a Withdraw0 event raised by the WFXUpgradable contract.

type WFXUpgradableWithdraw0Iterator

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

WFXUpgradableWithdraw0Iterator is returned from FilterWithdraw0 and is used to iterate over the raw logs and unpacked data for Withdraw0 events raised by the WFXUpgradable contract.

func (*WFXUpgradableWithdraw0Iterator) Close

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

func (*WFXUpgradableWithdraw0Iterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*WFXUpgradableWithdraw0Iterator) 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 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.

type WithdrawArgs

type WithdrawArgs struct {
	Validator string `abi:"_val"`
}

func (*WithdrawArgs) GetValidator

func (args *WithdrawArgs) GetValidator() sdk.ValAddress

GetValidator returns the validator address, caller must ensure the validator address is valid

func (*WithdrawArgs) Validate

func (args *WithdrawArgs) Validate() error

Validate validates the args

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL