Documentation ¶
Index ¶
- Variables
- type ContractTriggerXStakeRegistry
- func DeployContractTriggerXStakeRegistry(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ContractTriggerXStakeRegistry, error)
- func NewContractTriggerXStakeRegistry(address common.Address, backend bind.ContractBackend) (*ContractTriggerXStakeRegistry, error)
- type ContractTriggerXStakeRegistryAdminChanged
- type ContractTriggerXStakeRegistryAdminChangedIterator
- type ContractTriggerXStakeRegistryBeaconUpgraded
- type ContractTriggerXStakeRegistryBeaconUpgradedIterator
- type ContractTriggerXStakeRegistryCaller
- func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryCaller) GetStake(opts *bind.CallOpts, user common.Address) (struct{ ... }, error)
- func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryCaller) ProxiableUUID(opts *bind.CallOpts) ([32]byte, error)
- func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryCaller) Stakes(opts *bind.CallOpts, arg0 common.Address) (struct{ ... }, error)
- type ContractTriggerXStakeRegistryCallerRaw
- type ContractTriggerXStakeRegistryCallerSession
- func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryCallerSession) GetStake(user common.Address) (struct{ ... }, error)
- func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryCallerSession) Owner() (common.Address, error)
- func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryCallerSession) ProxiableUUID() ([32]byte, error)
- func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryCallerSession) Stakes(arg0 common.Address) (struct{ ... }, error)
- type ContractTriggerXStakeRegistryCalls
- type ContractTriggerXStakeRegistryFilterer
- func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*ContractTriggerXStakeRegistryAdminChangedIterator, error)
- func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*ContractTriggerXStakeRegistryBeaconUpgradedIterator, error)
- func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryFilterer) FilterInitialized(opts *bind.FilterOpts) (*ContractTriggerXStakeRegistryInitializedIterator, error)
- func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*ContractTriggerXStakeRegistryOwnershipTransferredIterator, error)
- func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryFilterer) FilterStakeRemoved(opts *bind.FilterOpts, user []common.Address) (*ContractTriggerXStakeRegistryStakeRemovedIterator, error)
- func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryFilterer) FilterStaked(opts *bind.FilterOpts, user []common.Address) (*ContractTriggerXStakeRegistryStakedIterator, error)
- func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryFilterer) FilterUnstaked(opts *bind.FilterOpts, user []common.Address) (*ContractTriggerXStakeRegistryUnstakedIterator, error)
- func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*ContractTriggerXStakeRegistryUpgradedIterator, error)
- func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryFilterer) ParseAdminChanged(log types.Log) (*ContractTriggerXStakeRegistryAdminChanged, error)
- func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryFilterer) ParseBeaconUpgraded(log types.Log) (*ContractTriggerXStakeRegistryBeaconUpgraded, error)
- func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryFilterer) ParseInitialized(log types.Log) (*ContractTriggerXStakeRegistryInitialized, error)
- func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryFilterer) ParseOwnershipTransferred(log types.Log) (*ContractTriggerXStakeRegistryOwnershipTransferred, error)
- func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryFilterer) ParseStakeRemoved(log types.Log) (*ContractTriggerXStakeRegistryStakeRemoved, error)
- func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryFilterer) ParseStaked(log types.Log) (*ContractTriggerXStakeRegistryStaked, error)
- func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryFilterer) ParseUnstaked(log types.Log) (*ContractTriggerXStakeRegistryUnstaked, error)
- func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryFilterer) ParseUpgraded(log types.Log) (*ContractTriggerXStakeRegistryUpgraded, error)
- func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *ContractTriggerXStakeRegistryAdminChanged) (event.Subscription, error)
- func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *ContractTriggerXStakeRegistryBeaconUpgraded, ...) (event.Subscription, error)
- func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *ContractTriggerXStakeRegistryInitialized) (event.Subscription, error)
- func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, ...) (event.Subscription, error)
- func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryFilterer) WatchStakeRemoved(opts *bind.WatchOpts, sink chan<- *ContractTriggerXStakeRegistryStakeRemoved, ...) (event.Subscription, error)
- func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryFilterer) WatchStaked(opts *bind.WatchOpts, sink chan<- *ContractTriggerXStakeRegistryStaked, ...) (event.Subscription, error)
- func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryFilterer) WatchUnstaked(opts *bind.WatchOpts, sink chan<- *ContractTriggerXStakeRegistryUnstaked, ...) (event.Subscription, error)
- func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *ContractTriggerXStakeRegistryUpgraded, ...) (event.Subscription, error)
- type ContractTriggerXStakeRegistryFilters
- type ContractTriggerXStakeRegistryInitialized
- type ContractTriggerXStakeRegistryInitializedIterator
- type ContractTriggerXStakeRegistryMethods
- type ContractTriggerXStakeRegistryOwnershipTransferred
- type ContractTriggerXStakeRegistryOwnershipTransferredIterator
- type ContractTriggerXStakeRegistryRaw
- func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ContractTriggerXStakeRegistrySession
- func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistrySession) GetStake(user common.Address) (struct{ ... }, error)
- func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistrySession) Initialize() (*types.Transaction, error)
- func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistrySession) Owner() (common.Address, error)
- func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistrySession) ProxiableUUID() ([32]byte, error)
- func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistrySession) RemoveStake(user common.Address, amount *big.Int, reason string) (*types.Transaction, error)
- func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistrySession) RenounceOwnership() (*types.Transaction, error)
- func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistrySession) Stake(amount *big.Int) (*types.Transaction, error)
- func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistrySession) Stakes(arg0 common.Address) (struct{ ... }, error)
- func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistrySession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistrySession) Unstake(amount *big.Int) (*types.Transaction, error)
- func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistrySession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
- func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistrySession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
- type ContractTriggerXStakeRegistryStakeRemoved
- type ContractTriggerXStakeRegistryStakeRemovedIterator
- type ContractTriggerXStakeRegistryStaked
- type ContractTriggerXStakeRegistryStakedIterator
- type ContractTriggerXStakeRegistryTransactor
- func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryTransactor) Initialize(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryTransactor) RemoveStake(opts *bind.TransactOpts, user common.Address, amount *big.Int, reason string) (*types.Transaction, error)
- func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryTransactor) Stake(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
- func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryTransactor) Unstake(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
- func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryTransactor) UpgradeTo(opts *bind.TransactOpts, newImplementation common.Address) (*types.Transaction, error)
- func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryTransactor) UpgradeToAndCall(opts *bind.TransactOpts, newImplementation common.Address, data []byte) (*types.Transaction, error)
- type ContractTriggerXStakeRegistryTransactorRaw
- func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ContractTriggerXStakeRegistryTransactorSession
- func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryTransactorSession) Initialize() (*types.Transaction, error)
- func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryTransactorSession) RemoveStake(user common.Address, amount *big.Int, reason string) (*types.Transaction, error)
- func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryTransactorSession) Stake(amount *big.Int) (*types.Transaction, error)
- func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryTransactorSession) Unstake(amount *big.Int) (*types.Transaction, error)
- func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryTransactorSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
- func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryTransactorSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
- type ContractTriggerXStakeRegistryTransacts
- type ContractTriggerXStakeRegistryUnstaked
- type ContractTriggerXStakeRegistryUnstakedIterator
- type ContractTriggerXStakeRegistryUpgraded
- type ContractTriggerXStakeRegistryUpgradedIterator
Constants ¶
This section is empty.
Variables ¶
var ContractTriggerXStakeRegistryABI = ContractTriggerXStakeRegistryMetaData.ABI
ContractTriggerXStakeRegistryABI is the input ABI used to generate the binding from. Deprecated: Use ContractTriggerXStakeRegistryMetaData.ABI instead.
var ContractTriggerXStakeRegistryBin = ContractTriggerXStakeRegistryMetaData.Bin
ContractTriggerXStakeRegistryBin is the compiled bytecode used for deploying new contracts. Deprecated: Use ContractTriggerXStakeRegistryMetaData.Bin instead.
var ContractTriggerXStakeRegistryMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"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\":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\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"reason\",\"type\":\"string\"}],\"name\":\"StakeRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Staked\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Unstaked\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"getStake\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"exists\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"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\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"reason\",\"type\":\"string\"}],\"name\":\"removeStake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"stake\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"stakes\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"exists\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"unstake\",\"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: "0x6080604052600436101561001257600080fd5b60003560e01c80631238bf4e14610cd457806316934fc414610c7c5780632e17de7814610bb85780633659cfe6146108dd5780634f1ef286146105a657806352d1902d146104e2578063715018a6146104855780637a7664601461041e5780638129fc1c146102c25780638da5cb5b14610299578063a694fc3a146101345763f2fde38b146100a057600080fd5b3461012f57602036600319011261012f576100b9610e1a565b6100c16110ab565b6001600160a01b038116156100db576100d990611103565b005b60405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608490fd5b600080fd5b602036600319011261012f5760043561015260026001541415610ea0565b6002600155801561025f5780340361021a573360005260fb602052604060002060ff6001820154166000146101d8578054908282018092116101c257555b6040519081527f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d60203392a260018055005b634e487b7160e01b600052601160045260246000fd5b506040516101e581610e30565b818152600160208201918183523360005260fb602052604060002090518155019051151560ff80198354169116179055610190565b60405162461bcd60e51b815260206004820152601a60248201527f53656e7420455448206d757374206d6174636820616d6f756e740000000000006044820152606490fd5b60405162461bcd60e51b8152602060048201526012602482015271086c2dcdcdee840e6e8c2d6ca4060408aa8960731b6044820152606490fd5b3461012f57600036600319011261012f5760c9546040516001600160a01b039091168152602090f35b3461012f57600036600319011261012f5760005460ff8160081c161590818092610411575b80156103fa575b1561039e5760ff1981166001176000558161038c575b5061033560ff60005460081c1661031a8161114c565b6103238161114c565b600180556103308161114c565b61114c565b61033e33611103565b6000549061035160ff8360081c1661114c565b61035757005b61ff0019166000557f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498602060405160018152a1005b61ffff19166101011760005581610304565b60405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608490fd5b50303b1580156102ee5750600160ff8216146102ee565b50600160ff8216106102e7565b3461012f57602036600319011261012f576001600160a01b0361043f610e1a565b1660005260fb6020526020604060002060405161045b81610e30565b815480825260019092015460ff1615159201829052604080519182526020820192909252f35b0390f35b3461012f57600036600319011261012f5761049e6110ab565b60c980546001600160a01b031981169091556000906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a3005b3461012f57600036600319011261012f577f00000000000000000000000086b53eaa358468496914f20edfe11b7e9328f1006001600160a01b0316300361053b5760206040516000805160206112c28339815191528152f35b60405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c60448201527f6c6564207468726f7567682064656c656761746563616c6c00000000000000006064820152608490fd5b604036600319011261012f576105ba610e1a565b60243567ffffffffffffffff811161012f573660238201121561012f5780600401356105e581610e84565b906105f36040519283610e62565b8082526020820192366024838301011161012f578160009260246020930186378301015261066f7f00000000000000000000000086b53eaa358468496914f20edfe11b7e9328f1006001600160a01b031661065030821415610fe9565b6000805160206112c2833981519152546001600160a01b03161461104a565b6106776110ab565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff16156106ac5750506100d9906111ac565b6040516352d1902d60e01b81526001600160a01b03841690602081600481855afa600091816108a9575b506107375760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b6064820152608490fd5b6000805160206112c28339815191520361085257610754846111ac565b604051907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b600080a281511580159061084a575b61078e57005b833b156107f957506100d992600092839251915af46107ab610f77565b604051916107ba606084610e62565b602783527f416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c6020840152660819985a5b195960ca1b604084015261124a565b62461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b6064820152608490fd5b506001610788565b60405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b6064820152608490fd5b9091506020813d6020116108d5575b816108c560209383610e62565b8101031261012f575190866106d6565b3d91506108b8565b3461012f57602036600319011261012f576108f6610e1a565b61092f7f00000000000000000000000086b53eaa358468496914f20edfe11b7e9328f1006001600160a01b031661065030821415610fe9565b6109376110ab565b6020906040516109478382610e62565b6000815282810190601f1984013683377f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff161561098d5750506100d991506111ac565b6040516352d1902d60e01b81526001600160a01b038416908581600481855afa60009181610b89575b50610a175760405162461bcd60e51b815260048101879052602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b6064820152608490fd5b6000805160206112c283398151915203610b3257610a34846111ac565b604051907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b600080a2815115801590610b2a575b610a6e57005b833b15610ad957506100d99392600092839251915af4610a8c610f77565b907f416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c60405193610abd606086610e62565b60278552840152660819985a5b195960ca1b604084015261124a565b62461bcd60e51b815260048101859052602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b6064820152608490fd5b506000610a68565b60405162461bcd60e51b815260048101869052602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b6064820152608490fd5b9091508681813d8311610bb1575b610ba18183610e62565b8101031261012f575190876109b6565b503d610b97565b3461012f57602036600319011261012f57600435610bdb60026001541415610ea0565b60026001553360005260fb60205260406000206001810190815490610c0260ff8316610eec565b610c19848254610c1481831115610f29565b610f6a565b80915515610c6f575b82610c3d600080808085335af1610c37610f77565b50610fa7565b6040519081527f0f5bb82176feb1b5e747e28471aa92156a04d9f3ab9f45f28e2d704232b93f7560203392a260018055005b60ff191690558180610c22565b3461012f57602036600319011261012f576001600160a01b03610c9d610e1a565b1660005260fb602052604060002060ff60018254920154169061048160405192839283909291602090604083019483521515910152565b3461012f57606036600319011261012f57610ced610e1a565b60243560443567ffffffffffffffff811161012f573660238201121561012f5780600401359267ffffffffffffffff841161012f57366024858401011161012f577f10a70fabb79e2f945edb05c430e4487214db653fb7b327784d4095b6befc9ce692606091610d5b6110ab565b610d6a60026001541415610ea0565b600260015560018060a01b0316948560005260fb60205260406000206001810190815490610d9a60ff8316610eec565b610dac858254610c1481831115610f29565b80915515610e0d575b5050610dd560008080808660018060a01b0360c954165af1610c37610f77565b80602460405195869485526040602086015282604086015201848401376000828201840152601f01601f19168101030190a260018055005b60ff191690558680610db5565b600435906001600160a01b038216820361012f57565b6040810190811067ffffffffffffffff821117610e4c57604052565b634e487b7160e01b600052604160045260246000fd5b90601f8019910116810190811067ffffffffffffffff821117610e4c57604052565b67ffffffffffffffff8111610e4c57601f01601f191660200190565b15610ea757565b60405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606490fd5b15610ef357565b60405162461bcd60e51b815260206004820152600e60248201526d139bc81cdd185ad948199bdd5b9960921b6044820152606490fd5b15610f3057565b60405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e74207374616b6560701b6044820152606490fd5b919082039182116101c257565b3d15610fa2573d90610f8882610e84565b91610f966040519384610e62565b82523d6000602084013e565b606090565b15610fae57565b60405162461bcd60e51b8152602060048201526013602482015272115512081d1c985b9cd9995c8819985a5b1959606a1b6044820152606490fd5b15610ff057565b60405162461bcd60e51b815260206004820152602c60248201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060448201526b19195b1959d85d1958d85b1b60a21b6064820152608490fd5b1561105157565b60405162461bcd60e51b815260206004820152602c60248201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060448201526b6163746976652070726f787960a01b6064820152608490fd5b60c9546001600160a01b031633036110bf57565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b60c980546001600160a01b039283166001600160a01b0319821681179092559091167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a3565b1561115357565b60405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608490fd5b803b156111ef5760018060a01b03166bffffffffffffffffffffffff60a01b6000805160206112c28339815191525416176000805160206112c283398151915255565b60405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b6064820152608490fd5b90919015611256575090565b8151156112665750805190602001fd5b6040519062461bcd60e51b8252602060048301528181519182602483015260005b8381106112a95750508160006044809484010152601f80199101168101030190fd5b6020828201810151604487840101528593500161128756fe360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbca2646970667358221220e740a49c4a4b3d0a2f75f07c214f63685ecb1b0a39ddf17c74b7c2adcba53bf964736f6c634300081a0033",
}
ContractTriggerXStakeRegistryMetaData contains all meta data concerning the ContractTriggerXStakeRegistry contract.
Functions ¶
This section is empty.
Types ¶
type ContractTriggerXStakeRegistry ¶
type ContractTriggerXStakeRegistry struct { ContractTriggerXStakeRegistryCaller // Read-only binding to the contract ContractTriggerXStakeRegistryTransactor // Write-only binding to the contract ContractTriggerXStakeRegistryFilterer // Log filterer for contract events }
ContractTriggerXStakeRegistry is an auto generated Go binding around an Ethereum contract.
func DeployContractTriggerXStakeRegistry ¶
func DeployContractTriggerXStakeRegistry(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ContractTriggerXStakeRegistry, error)
DeployContractTriggerXStakeRegistry deploys a new Ethereum contract, binding an instance of ContractTriggerXStakeRegistry to it.
func NewContractTriggerXStakeRegistry ¶
func NewContractTriggerXStakeRegistry(address common.Address, backend bind.ContractBackend) (*ContractTriggerXStakeRegistry, error)
NewContractTriggerXStakeRegistry creates a new instance of ContractTriggerXStakeRegistry, bound to a specific deployed contract.
type ContractTriggerXStakeRegistryAdminChanged ¶
type ContractTriggerXStakeRegistryAdminChanged struct { PreviousAdmin common.Address NewAdmin common.Address Raw types.Log // Blockchain specific contextual infos }
ContractTriggerXStakeRegistryAdminChanged represents a AdminChanged event raised by the ContractTriggerXStakeRegistry contract.
type ContractTriggerXStakeRegistryAdminChangedIterator ¶
type ContractTriggerXStakeRegistryAdminChangedIterator struct { Event *ContractTriggerXStakeRegistryAdminChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractTriggerXStakeRegistryAdminChangedIterator is returned from FilterAdminChanged and is used to iterate over the raw logs and unpacked data for AdminChanged events raised by the ContractTriggerXStakeRegistry contract.
func (*ContractTriggerXStakeRegistryAdminChangedIterator) Close ¶
func (it *ContractTriggerXStakeRegistryAdminChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractTriggerXStakeRegistryAdminChangedIterator) Error ¶
func (it *ContractTriggerXStakeRegistryAdminChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractTriggerXStakeRegistryAdminChangedIterator) Next ¶
func (it *ContractTriggerXStakeRegistryAdminChangedIterator) 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 ContractTriggerXStakeRegistryBeaconUpgraded ¶
type ContractTriggerXStakeRegistryBeaconUpgraded struct { Beacon common.Address Raw types.Log // Blockchain specific contextual infos }
ContractTriggerXStakeRegistryBeaconUpgraded represents a BeaconUpgraded event raised by the ContractTriggerXStakeRegistry contract.
type ContractTriggerXStakeRegistryBeaconUpgradedIterator ¶
type ContractTriggerXStakeRegistryBeaconUpgradedIterator struct { Event *ContractTriggerXStakeRegistryBeaconUpgraded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractTriggerXStakeRegistryBeaconUpgradedIterator is returned from FilterBeaconUpgraded and is used to iterate over the raw logs and unpacked data for BeaconUpgraded events raised by the ContractTriggerXStakeRegistry contract.
func (*ContractTriggerXStakeRegistryBeaconUpgradedIterator) Close ¶
func (it *ContractTriggerXStakeRegistryBeaconUpgradedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractTriggerXStakeRegistryBeaconUpgradedIterator) Error ¶
func (it *ContractTriggerXStakeRegistryBeaconUpgradedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractTriggerXStakeRegistryBeaconUpgradedIterator) Next ¶
func (it *ContractTriggerXStakeRegistryBeaconUpgradedIterator) 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 ContractTriggerXStakeRegistryCaller ¶
type ContractTriggerXStakeRegistryCaller struct {
// contains filtered or unexported fields
}
ContractTriggerXStakeRegistryCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewContractTriggerXStakeRegistryCaller ¶
func NewContractTriggerXStakeRegistryCaller(address common.Address, caller bind.ContractCaller) (*ContractTriggerXStakeRegistryCaller, error)
NewContractTriggerXStakeRegistryCaller creates a new read-only instance of ContractTriggerXStakeRegistry, bound to a specific deployed contract.
func (*ContractTriggerXStakeRegistryCaller) GetStake ¶
func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryCaller) GetStake(opts *bind.CallOpts, user common.Address) (struct { Amount *big.Int Exists bool }, error)
GetStake is a free data retrieval call binding the contract method 0x7a766460.
Solidity: function getStake(address user) view returns(uint256 amount, bool exists)
func (*ContractTriggerXStakeRegistryCaller) Owner ¶
func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryCaller) 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 (*ContractTriggerXStakeRegistryCaller) ProxiableUUID ¶
func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryCaller) 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 (*ContractTriggerXStakeRegistryCaller) Stakes ¶
func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryCaller) Stakes(opts *bind.CallOpts, arg0 common.Address) (struct { Amount *big.Int Exists bool }, error)
Stakes is a free data retrieval call binding the contract method 0x16934fc4.
Solidity: function stakes(address ) view returns(uint256 amount, bool exists)
type ContractTriggerXStakeRegistryCallerRaw ¶
type ContractTriggerXStakeRegistryCallerRaw struct {
Contract *ContractTriggerXStakeRegistryCaller // Generic read-only contract binding to access the raw methods on
}
ContractTriggerXStakeRegistryCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ContractTriggerXStakeRegistryCallerRaw) Call ¶
func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryCallerRaw) 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 ContractTriggerXStakeRegistryCallerSession ¶
type ContractTriggerXStakeRegistryCallerSession struct { Contract *ContractTriggerXStakeRegistryCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ContractTriggerXStakeRegistryCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ContractTriggerXStakeRegistryCallerSession) GetStake ¶
func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryCallerSession) GetStake(user common.Address) (struct { Amount *big.Int Exists bool }, error)
GetStake is a free data retrieval call binding the contract method 0x7a766460.
Solidity: function getStake(address user) view returns(uint256 amount, bool exists)
func (*ContractTriggerXStakeRegistryCallerSession) Owner ¶
func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*ContractTriggerXStakeRegistryCallerSession) ProxiableUUID ¶
func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryCallerSession) ProxiableUUID() ([32]byte, error)
ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.
Solidity: function proxiableUUID() view returns(bytes32)
func (*ContractTriggerXStakeRegistryCallerSession) Stakes ¶
func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryCallerSession) Stakes(arg0 common.Address) (struct { Amount *big.Int Exists bool }, error)
Stakes is a free data retrieval call binding the contract method 0x16934fc4.
Solidity: function stakes(address ) view returns(uint256 amount, bool exists)
type ContractTriggerXStakeRegistryCalls ¶
type ContractTriggerXStakeRegistryCalls interface { GetStake(opts *bind.CallOpts, user common.Address) (struct { Amount *big.Int Exists bool }, error) Owner(opts *bind.CallOpts) (common.Address, error) ProxiableUUID(opts *bind.CallOpts) ([32]byte, error) Stakes(opts *bind.CallOpts, arg0 common.Address) (struct { Amount *big.Int Exists bool }, error) }
ContractTriggerXStakeRegistryCalls is an auto generated interface that defines the call methods available for an Ethereum contract.
type ContractTriggerXStakeRegistryFilterer ¶
type ContractTriggerXStakeRegistryFilterer struct {
// contains filtered or unexported fields
}
ContractTriggerXStakeRegistryFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewContractTriggerXStakeRegistryFilterer ¶
func NewContractTriggerXStakeRegistryFilterer(address common.Address, filterer bind.ContractFilterer) (*ContractTriggerXStakeRegistryFilterer, error)
NewContractTriggerXStakeRegistryFilterer creates a new log filterer instance of ContractTriggerXStakeRegistry, bound to a specific deployed contract.
func (*ContractTriggerXStakeRegistryFilterer) FilterAdminChanged ¶
func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*ContractTriggerXStakeRegistryAdminChangedIterator, error)
FilterAdminChanged is a free log retrieval operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address previousAdmin, address newAdmin)
func (*ContractTriggerXStakeRegistryFilterer) FilterBeaconUpgraded ¶
func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*ContractTriggerXStakeRegistryBeaconUpgradedIterator, error)
FilterBeaconUpgraded is a free log retrieval operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
Solidity: event BeaconUpgraded(address indexed beacon)
func (*ContractTriggerXStakeRegistryFilterer) FilterInitialized ¶
func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryFilterer) FilterInitialized(opts *bind.FilterOpts) (*ContractTriggerXStakeRegistryInitializedIterator, error)
FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*ContractTriggerXStakeRegistryFilterer) FilterOwnershipTransferred ¶
func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*ContractTriggerXStakeRegistryOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*ContractTriggerXStakeRegistryFilterer) FilterStakeRemoved ¶
func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryFilterer) FilterStakeRemoved(opts *bind.FilterOpts, user []common.Address) (*ContractTriggerXStakeRegistryStakeRemovedIterator, error)
FilterStakeRemoved is a free log retrieval operation binding the contract event 0x10a70fabb79e2f945edb05c430e4487214db653fb7b327784d4095b6befc9ce6.
Solidity: event StakeRemoved(address indexed user, uint256 amount, string reason)
func (*ContractTriggerXStakeRegistryFilterer) FilterStaked ¶
func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryFilterer) FilterStaked(opts *bind.FilterOpts, user []common.Address) (*ContractTriggerXStakeRegistryStakedIterator, error)
FilterStaked is a free log retrieval operation binding the contract event 0x9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d.
Solidity: event Staked(address indexed user, uint256 amount)
func (*ContractTriggerXStakeRegistryFilterer) FilterUnstaked ¶
func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryFilterer) FilterUnstaked(opts *bind.FilterOpts, user []common.Address) (*ContractTriggerXStakeRegistryUnstakedIterator, error)
FilterUnstaked is a free log retrieval operation binding the contract event 0x0f5bb82176feb1b5e747e28471aa92156a04d9f3ab9f45f28e2d704232b93f75.
Solidity: event Unstaked(address indexed user, uint256 amount)
func (*ContractTriggerXStakeRegistryFilterer) FilterUpgraded ¶
func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*ContractTriggerXStakeRegistryUpgradedIterator, error)
FilterUpgraded is a free log retrieval operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address indexed implementation)
func (*ContractTriggerXStakeRegistryFilterer) ParseAdminChanged ¶
func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryFilterer) ParseAdminChanged(log types.Log) (*ContractTriggerXStakeRegistryAdminChanged, error)
ParseAdminChanged is a log parse operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address previousAdmin, address newAdmin)
func (*ContractTriggerXStakeRegistryFilterer) ParseBeaconUpgraded ¶
func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryFilterer) ParseBeaconUpgraded(log types.Log) (*ContractTriggerXStakeRegistryBeaconUpgraded, error)
ParseBeaconUpgraded is a log parse operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
Solidity: event BeaconUpgraded(address indexed beacon)
func (*ContractTriggerXStakeRegistryFilterer) ParseInitialized ¶
func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryFilterer) ParseInitialized(log types.Log) (*ContractTriggerXStakeRegistryInitialized, error)
ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*ContractTriggerXStakeRegistryFilterer) ParseOwnershipTransferred ¶
func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryFilterer) ParseOwnershipTransferred(log types.Log) (*ContractTriggerXStakeRegistryOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*ContractTriggerXStakeRegistryFilterer) ParseStakeRemoved ¶
func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryFilterer) ParseStakeRemoved(log types.Log) (*ContractTriggerXStakeRegistryStakeRemoved, error)
ParseStakeRemoved is a log parse operation binding the contract event 0x10a70fabb79e2f945edb05c430e4487214db653fb7b327784d4095b6befc9ce6.
Solidity: event StakeRemoved(address indexed user, uint256 amount, string reason)
func (*ContractTriggerXStakeRegistryFilterer) ParseStaked ¶
func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryFilterer) ParseStaked(log types.Log) (*ContractTriggerXStakeRegistryStaked, error)
ParseStaked is a log parse operation binding the contract event 0x9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d.
Solidity: event Staked(address indexed user, uint256 amount)
func (*ContractTriggerXStakeRegistryFilterer) ParseUnstaked ¶
func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryFilterer) ParseUnstaked(log types.Log) (*ContractTriggerXStakeRegistryUnstaked, error)
ParseUnstaked is a log parse operation binding the contract event 0x0f5bb82176feb1b5e747e28471aa92156a04d9f3ab9f45f28e2d704232b93f75.
Solidity: event Unstaked(address indexed user, uint256 amount)
func (*ContractTriggerXStakeRegistryFilterer) ParseUpgraded ¶
func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryFilterer) ParseUpgraded(log types.Log) (*ContractTriggerXStakeRegistryUpgraded, error)
ParseUpgraded is a log parse operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address indexed implementation)
func (*ContractTriggerXStakeRegistryFilterer) WatchAdminChanged ¶
func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *ContractTriggerXStakeRegistryAdminChanged) (event.Subscription, error)
WatchAdminChanged is a free log subscription operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address previousAdmin, address newAdmin)
func (*ContractTriggerXStakeRegistryFilterer) WatchBeaconUpgraded ¶
func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *ContractTriggerXStakeRegistryBeaconUpgraded, 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 (*ContractTriggerXStakeRegistryFilterer) WatchInitialized ¶
func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *ContractTriggerXStakeRegistryInitialized) (event.Subscription, error)
WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*ContractTriggerXStakeRegistryFilterer) WatchOwnershipTransferred ¶
func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ContractTriggerXStakeRegistryOwnershipTransferred, 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 (*ContractTriggerXStakeRegistryFilterer) WatchStakeRemoved ¶
func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryFilterer) WatchStakeRemoved(opts *bind.WatchOpts, sink chan<- *ContractTriggerXStakeRegistryStakeRemoved, user []common.Address) (event.Subscription, error)
WatchStakeRemoved is a free log subscription operation binding the contract event 0x10a70fabb79e2f945edb05c430e4487214db653fb7b327784d4095b6befc9ce6.
Solidity: event StakeRemoved(address indexed user, uint256 amount, string reason)
func (*ContractTriggerXStakeRegistryFilterer) WatchStaked ¶
func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryFilterer) WatchStaked(opts *bind.WatchOpts, sink chan<- *ContractTriggerXStakeRegistryStaked, user []common.Address) (event.Subscription, error)
WatchStaked is a free log subscription operation binding the contract event 0x9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d.
Solidity: event Staked(address indexed user, uint256 amount)
func (*ContractTriggerXStakeRegistryFilterer) WatchUnstaked ¶
func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryFilterer) WatchUnstaked(opts *bind.WatchOpts, sink chan<- *ContractTriggerXStakeRegistryUnstaked, user []common.Address) (event.Subscription, error)
WatchUnstaked is a free log subscription operation binding the contract event 0x0f5bb82176feb1b5e747e28471aa92156a04d9f3ab9f45f28e2d704232b93f75.
Solidity: event Unstaked(address indexed user, uint256 amount)
func (*ContractTriggerXStakeRegistryFilterer) WatchUpgraded ¶
func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *ContractTriggerXStakeRegistryUpgraded, 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 ContractTriggerXStakeRegistryFilters ¶
type ContractTriggerXStakeRegistryFilters interface { FilterAdminChanged(opts *bind.FilterOpts) (*ContractTriggerXStakeRegistryAdminChangedIterator, error) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *ContractTriggerXStakeRegistryAdminChanged) (event.Subscription, error) ParseAdminChanged(log types.Log) (*ContractTriggerXStakeRegistryAdminChanged, error) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*ContractTriggerXStakeRegistryBeaconUpgradedIterator, error) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *ContractTriggerXStakeRegistryBeaconUpgraded, beacon []common.Address) (event.Subscription, error) ParseBeaconUpgraded(log types.Log) (*ContractTriggerXStakeRegistryBeaconUpgraded, error) FilterInitialized(opts *bind.FilterOpts) (*ContractTriggerXStakeRegistryInitializedIterator, error) WatchInitialized(opts *bind.WatchOpts, sink chan<- *ContractTriggerXStakeRegistryInitialized) (event.Subscription, error) ParseInitialized(log types.Log) (*ContractTriggerXStakeRegistryInitialized, error) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*ContractTriggerXStakeRegistryOwnershipTransferredIterator, error) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ContractTriggerXStakeRegistryOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error) ParseOwnershipTransferred(log types.Log) (*ContractTriggerXStakeRegistryOwnershipTransferred, error) FilterStakeRemoved(opts *bind.FilterOpts, user []common.Address) (*ContractTriggerXStakeRegistryStakeRemovedIterator, error) WatchStakeRemoved(opts *bind.WatchOpts, sink chan<- *ContractTriggerXStakeRegistryStakeRemoved, user []common.Address) (event.Subscription, error) ParseStakeRemoved(log types.Log) (*ContractTriggerXStakeRegistryStakeRemoved, error) FilterStaked(opts *bind.FilterOpts, user []common.Address) (*ContractTriggerXStakeRegistryStakedIterator, error) WatchStaked(opts *bind.WatchOpts, sink chan<- *ContractTriggerXStakeRegistryStaked, user []common.Address) (event.Subscription, error) ParseStaked(log types.Log) (*ContractTriggerXStakeRegistryStaked, error) FilterUnstaked(opts *bind.FilterOpts, user []common.Address) (*ContractTriggerXStakeRegistryUnstakedIterator, error) WatchUnstaked(opts *bind.WatchOpts, sink chan<- *ContractTriggerXStakeRegistryUnstaked, user []common.Address) (event.Subscription, error) ParseUnstaked(log types.Log) (*ContractTriggerXStakeRegistryUnstaked, error) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*ContractTriggerXStakeRegistryUpgradedIterator, error) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *ContractTriggerXStakeRegistryUpgraded, implementation []common.Address) (event.Subscription, error) ParseUpgraded(log types.Log) (*ContractTriggerXStakeRegistryUpgraded, error) }
ContractTriggerXStakeRegistryFilterer is an auto generated interface that defines the log filtering methods available for an Ethereum contract.
type ContractTriggerXStakeRegistryInitialized ¶
type ContractTriggerXStakeRegistryInitialized struct { Version uint8 Raw types.Log // Blockchain specific contextual infos }
ContractTriggerXStakeRegistryInitialized represents a Initialized event raised by the ContractTriggerXStakeRegistry contract.
type ContractTriggerXStakeRegistryInitializedIterator ¶
type ContractTriggerXStakeRegistryInitializedIterator struct { Event *ContractTriggerXStakeRegistryInitialized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractTriggerXStakeRegistryInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the ContractTriggerXStakeRegistry contract.
func (*ContractTriggerXStakeRegistryInitializedIterator) Close ¶
func (it *ContractTriggerXStakeRegistryInitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractTriggerXStakeRegistryInitializedIterator) Error ¶
func (it *ContractTriggerXStakeRegistryInitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractTriggerXStakeRegistryInitializedIterator) Next ¶
func (it *ContractTriggerXStakeRegistryInitializedIterator) 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 ContractTriggerXStakeRegistryMethods ¶
type ContractTriggerXStakeRegistryMethods interface { ContractTriggerXStakeRegistryCalls ContractTriggerXStakeRegistryTransacts ContractTriggerXStakeRegistryFilters }
ContractTriggerXStakeRegistryMethods is an auto generated interface around an Ethereum contract.
type ContractTriggerXStakeRegistryOwnershipTransferred ¶
type ContractTriggerXStakeRegistryOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
ContractTriggerXStakeRegistryOwnershipTransferred represents a OwnershipTransferred event raised by the ContractTriggerXStakeRegistry contract.
type ContractTriggerXStakeRegistryOwnershipTransferredIterator ¶
type ContractTriggerXStakeRegistryOwnershipTransferredIterator struct { Event *ContractTriggerXStakeRegistryOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractTriggerXStakeRegistryOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the ContractTriggerXStakeRegistry contract.
func (*ContractTriggerXStakeRegistryOwnershipTransferredIterator) Close ¶
func (it *ContractTriggerXStakeRegistryOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractTriggerXStakeRegistryOwnershipTransferredIterator) Error ¶
func (it *ContractTriggerXStakeRegistryOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractTriggerXStakeRegistryOwnershipTransferredIterator) Next ¶
func (it *ContractTriggerXStakeRegistryOwnershipTransferredIterator) 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 ContractTriggerXStakeRegistryRaw ¶
type ContractTriggerXStakeRegistryRaw struct {
Contract *ContractTriggerXStakeRegistry // Generic contract binding to access the raw methods on
}
ContractTriggerXStakeRegistryRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ContractTriggerXStakeRegistryRaw) Call ¶
func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryRaw) 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 (*ContractTriggerXStakeRegistryRaw) Transact ¶
func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ContractTriggerXStakeRegistryRaw) Transfer ¶
func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryRaw) 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 ContractTriggerXStakeRegistrySession ¶
type ContractTriggerXStakeRegistrySession struct { Contract *ContractTriggerXStakeRegistry // 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 }
ContractTriggerXStakeRegistrySession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ContractTriggerXStakeRegistrySession) GetStake ¶
func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistrySession) GetStake(user common.Address) (struct { Amount *big.Int Exists bool }, error)
GetStake is a free data retrieval call binding the contract method 0x7a766460.
Solidity: function getStake(address user) view returns(uint256 amount, bool exists)
func (*ContractTriggerXStakeRegistrySession) Initialize ¶
func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistrySession) Initialize() (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x8129fc1c.
Solidity: function initialize() returns()
func (*ContractTriggerXStakeRegistrySession) Owner ¶
func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistrySession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*ContractTriggerXStakeRegistrySession) ProxiableUUID ¶
func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistrySession) ProxiableUUID() ([32]byte, error)
ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.
Solidity: function proxiableUUID() view returns(bytes32)
func (*ContractTriggerXStakeRegistrySession) RemoveStake ¶
func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistrySession) RemoveStake(user common.Address, amount *big.Int, reason string) (*types.Transaction, error)
RemoveStake is a paid mutator transaction binding the contract method 0x1238bf4e.
Solidity: function removeStake(address user, uint256 amount, string reason) returns()
func (*ContractTriggerXStakeRegistrySession) RenounceOwnership ¶
func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistrySession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*ContractTriggerXStakeRegistrySession) Stake ¶
func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistrySession) Stake(amount *big.Int) (*types.Transaction, error)
Stake is a paid mutator transaction binding the contract method 0xa694fc3a.
Solidity: function stake(uint256 amount) payable returns()
func (*ContractTriggerXStakeRegistrySession) Stakes ¶
func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistrySession) Stakes(arg0 common.Address) (struct { Amount *big.Int Exists bool }, error)
Stakes is a free data retrieval call binding the contract method 0x16934fc4.
Solidity: function stakes(address ) view returns(uint256 amount, bool exists)
func (*ContractTriggerXStakeRegistrySession) TransferOwnership ¶
func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistrySession) 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 (*ContractTriggerXStakeRegistrySession) Unstake ¶
func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistrySession) Unstake(amount *big.Int) (*types.Transaction, error)
Unstake is a paid mutator transaction binding the contract method 0x2e17de78.
Solidity: function unstake(uint256 amount) returns()
func (*ContractTriggerXStakeRegistrySession) UpgradeTo ¶
func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistrySession) 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 (*ContractTriggerXStakeRegistrySession) UpgradeToAndCall ¶
func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistrySession) 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 ContractTriggerXStakeRegistryStakeRemoved ¶
type ContractTriggerXStakeRegistryStakeRemoved struct { User common.Address Amount *big.Int Reason string Raw types.Log // Blockchain specific contextual infos }
ContractTriggerXStakeRegistryStakeRemoved represents a StakeRemoved event raised by the ContractTriggerXStakeRegistry contract.
type ContractTriggerXStakeRegistryStakeRemovedIterator ¶
type ContractTriggerXStakeRegistryStakeRemovedIterator struct { Event *ContractTriggerXStakeRegistryStakeRemoved // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractTriggerXStakeRegistryStakeRemovedIterator is returned from FilterStakeRemoved and is used to iterate over the raw logs and unpacked data for StakeRemoved events raised by the ContractTriggerXStakeRegistry contract.
func (*ContractTriggerXStakeRegistryStakeRemovedIterator) Close ¶
func (it *ContractTriggerXStakeRegistryStakeRemovedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractTriggerXStakeRegistryStakeRemovedIterator) Error ¶
func (it *ContractTriggerXStakeRegistryStakeRemovedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractTriggerXStakeRegistryStakeRemovedIterator) Next ¶
func (it *ContractTriggerXStakeRegistryStakeRemovedIterator) 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 ContractTriggerXStakeRegistryStaked ¶
type ContractTriggerXStakeRegistryStaked struct { User common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
ContractTriggerXStakeRegistryStaked represents a Staked event raised by the ContractTriggerXStakeRegistry contract.
type ContractTriggerXStakeRegistryStakedIterator ¶
type ContractTriggerXStakeRegistryStakedIterator struct { Event *ContractTriggerXStakeRegistryStaked // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractTriggerXStakeRegistryStakedIterator is returned from FilterStaked and is used to iterate over the raw logs and unpacked data for Staked events raised by the ContractTriggerXStakeRegistry contract.
func (*ContractTriggerXStakeRegistryStakedIterator) Close ¶
func (it *ContractTriggerXStakeRegistryStakedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractTriggerXStakeRegistryStakedIterator) Error ¶
func (it *ContractTriggerXStakeRegistryStakedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractTriggerXStakeRegistryStakedIterator) Next ¶
func (it *ContractTriggerXStakeRegistryStakedIterator) 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 ContractTriggerXStakeRegistryTransactor ¶
type ContractTriggerXStakeRegistryTransactor struct {
// contains filtered or unexported fields
}
ContractTriggerXStakeRegistryTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewContractTriggerXStakeRegistryTransactor ¶
func NewContractTriggerXStakeRegistryTransactor(address common.Address, transactor bind.ContractTransactor) (*ContractTriggerXStakeRegistryTransactor, error)
NewContractTriggerXStakeRegistryTransactor creates a new write-only instance of ContractTriggerXStakeRegistry, bound to a specific deployed contract.
func (*ContractTriggerXStakeRegistryTransactor) Initialize ¶
func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryTransactor) Initialize(opts *bind.TransactOpts) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x8129fc1c.
Solidity: function initialize() returns()
func (*ContractTriggerXStakeRegistryTransactor) RemoveStake ¶
func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryTransactor) RemoveStake(opts *bind.TransactOpts, user common.Address, amount *big.Int, reason string) (*types.Transaction, error)
RemoveStake is a paid mutator transaction binding the contract method 0x1238bf4e.
Solidity: function removeStake(address user, uint256 amount, string reason) returns()
func (*ContractTriggerXStakeRegistryTransactor) RenounceOwnership ¶
func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*ContractTriggerXStakeRegistryTransactor) Stake ¶
func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryTransactor) Stake(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
Stake is a paid mutator transaction binding the contract method 0xa694fc3a.
Solidity: function stake(uint256 amount) payable returns()
func (*ContractTriggerXStakeRegistryTransactor) TransferOwnership ¶
func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryTransactor) 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 (*ContractTriggerXStakeRegistryTransactor) Unstake ¶
func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryTransactor) Unstake(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
Unstake is a paid mutator transaction binding the contract method 0x2e17de78.
Solidity: function unstake(uint256 amount) returns()
func (*ContractTriggerXStakeRegistryTransactor) UpgradeTo ¶
func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryTransactor) 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 (*ContractTriggerXStakeRegistryTransactor) UpgradeToAndCall ¶
func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryTransactor) 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 ContractTriggerXStakeRegistryTransactorRaw ¶
type ContractTriggerXStakeRegistryTransactorRaw struct {
Contract *ContractTriggerXStakeRegistryTransactor // Generic write-only contract binding to access the raw methods on
}
ContractTriggerXStakeRegistryTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ContractTriggerXStakeRegistryTransactorRaw) Transact ¶
func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ContractTriggerXStakeRegistryTransactorRaw) Transfer ¶
func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryTransactorRaw) 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 ContractTriggerXStakeRegistryTransactorSession ¶
type ContractTriggerXStakeRegistryTransactorSession struct { Contract *ContractTriggerXStakeRegistryTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ContractTriggerXStakeRegistryTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ContractTriggerXStakeRegistryTransactorSession) Initialize ¶
func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryTransactorSession) Initialize() (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x8129fc1c.
Solidity: function initialize() returns()
func (*ContractTriggerXStakeRegistryTransactorSession) RemoveStake ¶
func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryTransactorSession) RemoveStake(user common.Address, amount *big.Int, reason string) (*types.Transaction, error)
RemoveStake is a paid mutator transaction binding the contract method 0x1238bf4e.
Solidity: function removeStake(address user, uint256 amount, string reason) returns()
func (*ContractTriggerXStakeRegistryTransactorSession) RenounceOwnership ¶
func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*ContractTriggerXStakeRegistryTransactorSession) Stake ¶
func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryTransactorSession) Stake(amount *big.Int) (*types.Transaction, error)
Stake is a paid mutator transaction binding the contract method 0xa694fc3a.
Solidity: function stake(uint256 amount) payable returns()
func (*ContractTriggerXStakeRegistryTransactorSession) TransferOwnership ¶
func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryTransactorSession) 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 (*ContractTriggerXStakeRegistryTransactorSession) Unstake ¶
func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryTransactorSession) Unstake(amount *big.Int) (*types.Transaction, error)
Unstake is a paid mutator transaction binding the contract method 0x2e17de78.
Solidity: function unstake(uint256 amount) returns()
func (*ContractTriggerXStakeRegistryTransactorSession) UpgradeTo ¶
func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryTransactorSession) 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 (*ContractTriggerXStakeRegistryTransactorSession) UpgradeToAndCall ¶
func (_ContractTriggerXStakeRegistry *ContractTriggerXStakeRegistryTransactorSession) 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 ContractTriggerXStakeRegistryTransacts ¶
type ContractTriggerXStakeRegistryTransacts interface { Initialize(opts *bind.TransactOpts) (*types.Transaction, error) RemoveStake(opts *bind.TransactOpts, user common.Address, amount *big.Int, reason string) (*types.Transaction, error) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error) Stake(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error) Unstake(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error) UpgradeTo(opts *bind.TransactOpts, newImplementation common.Address) (*types.Transaction, error) UpgradeToAndCall(opts *bind.TransactOpts, newImplementation common.Address, data []byte) (*types.Transaction, error) }
ContractTriggerXStakeRegistryTransacts is an auto generated interface that defines the transact methods available for an Ethereum contract.
type ContractTriggerXStakeRegistryUnstaked ¶
type ContractTriggerXStakeRegistryUnstaked struct { User common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
ContractTriggerXStakeRegistryUnstaked represents a Unstaked event raised by the ContractTriggerXStakeRegistry contract.
type ContractTriggerXStakeRegistryUnstakedIterator ¶
type ContractTriggerXStakeRegistryUnstakedIterator struct { Event *ContractTriggerXStakeRegistryUnstaked // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractTriggerXStakeRegistryUnstakedIterator is returned from FilterUnstaked and is used to iterate over the raw logs and unpacked data for Unstaked events raised by the ContractTriggerXStakeRegistry contract.
func (*ContractTriggerXStakeRegistryUnstakedIterator) Close ¶
func (it *ContractTriggerXStakeRegistryUnstakedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractTriggerXStakeRegistryUnstakedIterator) Error ¶
func (it *ContractTriggerXStakeRegistryUnstakedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractTriggerXStakeRegistryUnstakedIterator) Next ¶
func (it *ContractTriggerXStakeRegistryUnstakedIterator) 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 ContractTriggerXStakeRegistryUpgraded ¶
type ContractTriggerXStakeRegistryUpgraded struct { Implementation common.Address Raw types.Log // Blockchain specific contextual infos }
ContractTriggerXStakeRegistryUpgraded represents a Upgraded event raised by the ContractTriggerXStakeRegistry contract.
type ContractTriggerXStakeRegistryUpgradedIterator ¶
type ContractTriggerXStakeRegistryUpgradedIterator struct { Event *ContractTriggerXStakeRegistryUpgraded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractTriggerXStakeRegistryUpgradedIterator is returned from FilterUpgraded and is used to iterate over the raw logs and unpacked data for Upgraded events raised by the ContractTriggerXStakeRegistry contract.
func (*ContractTriggerXStakeRegistryUpgradedIterator) Close ¶
func (it *ContractTriggerXStakeRegistryUpgradedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractTriggerXStakeRegistryUpgradedIterator) Error ¶
func (it *ContractTriggerXStakeRegistryUpgradedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractTriggerXStakeRegistryUpgradedIterator) Next ¶
func (it *ContractTriggerXStakeRegistryUpgradedIterator) 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.