zerox

package
v0.0.0-...-bd3dd7f Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ZeroxVaultABI = ZeroxVaultMetaData.ABI

ZeroxVaultABI is the input ABI used to generate the binding from. Deprecated: Use ZeroxVaultMetaData.ABI instead.

View Source
var ZeroxVaultMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_zrxProxyAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_zrxTokenAddress\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"AuthorizedAddressAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"AuthorizedAddressRemoved\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"staker\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Deposit\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"InCatastrophicFailureMode\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"stakingProxyAddress\",\"type\":\"address\"}],\"name\":\"StakingProxySet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"staker\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Withdraw\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"zrxProxyAddress\",\"type\":\"address\"}],\"name\":\"ZrxProxySet\",\"type\":\"event\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"}],\"name\":\"addAuthorizedAddress\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"authorities\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"authorized\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"staker\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"balanceOfZrxVault\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"staker\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"depositFrom\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"enterCatastrophicFailure\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getAuthorizedAddresses\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"isInCatastrophicFailure\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"}],\"name\":\"removeAuthorizedAddress\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"removeAuthorizedAddressAtIndex\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_stakingProxyAddress\",\"type\":\"address\"}],\"name\":\"setStakingProxy\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_zrxProxyAddress\",\"type\":\"address\"}],\"name\":\"setZrxProxy\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"stakingProxyAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"staker\",\"type\":\"address\"}],\"name\":\"withdrawAllFrom\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"staker\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"withdrawFrom\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"zrxAssetProxy\",\"outputs\":[{\"internalType\":\"contractIAssetProxy\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

ZeroxVaultMetaData contains all meta data concerning the ZeroxVault contract.

Functions

This section is empty.

Types

type ZeroxVault

type ZeroxVault struct {
	ZeroxVaultCaller     // Read-only binding to the contract
	ZeroxVaultTransactor // Write-only binding to the contract
	ZeroxVaultFilterer   // Log filterer for contract events
}

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

func NewZeroxVault

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

NewZeroxVault creates a new instance of ZeroxVault, bound to a specific deployed contract.

type ZeroxVaultAuthorizedAddressAdded

type ZeroxVaultAuthorizedAddressAdded struct {
	Target common.Address
	Caller common.Address
	Raw    types.Log // Blockchain specific contextual infos
}

ZeroxVaultAuthorizedAddressAdded represents a AuthorizedAddressAdded event raised by the ZeroxVault contract.

type ZeroxVaultAuthorizedAddressAddedIterator

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

ZeroxVaultAuthorizedAddressAddedIterator is returned from FilterAuthorizedAddressAdded and is used to iterate over the raw logs and unpacked data for AuthorizedAddressAdded events raised by the ZeroxVault contract.

func (*ZeroxVaultAuthorizedAddressAddedIterator) Close

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

func (*ZeroxVaultAuthorizedAddressAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZeroxVaultAuthorizedAddressAddedIterator) 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 ZeroxVaultAuthorizedAddressRemoved

type ZeroxVaultAuthorizedAddressRemoved struct {
	Target common.Address
	Caller common.Address
	Raw    types.Log // Blockchain specific contextual infos
}

ZeroxVaultAuthorizedAddressRemoved represents a AuthorizedAddressRemoved event raised by the ZeroxVault contract.

type ZeroxVaultAuthorizedAddressRemovedIterator

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

ZeroxVaultAuthorizedAddressRemovedIterator is returned from FilterAuthorizedAddressRemoved and is used to iterate over the raw logs and unpacked data for AuthorizedAddressRemoved events raised by the ZeroxVault contract.

func (*ZeroxVaultAuthorizedAddressRemovedIterator) Close

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

func (*ZeroxVaultAuthorizedAddressRemovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZeroxVaultAuthorizedAddressRemovedIterator) 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 ZeroxVaultCaller

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

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

func NewZeroxVaultCaller

func NewZeroxVaultCaller(address common.Address, caller bind.ContractCaller) (*ZeroxVaultCaller, error)

NewZeroxVaultCaller creates a new read-only instance of ZeroxVault, bound to a specific deployed contract.

func (*ZeroxVaultCaller) Authorities

func (_ZeroxVault *ZeroxVaultCaller) Authorities(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

Authorities is a free data retrieval call binding the contract method 0x494503d4.

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

func (*ZeroxVaultCaller) Authorized

func (_ZeroxVault *ZeroxVaultCaller) Authorized(opts *bind.CallOpts, arg0 common.Address) (bool, error)

Authorized is a free data retrieval call binding the contract method 0xb9181611.

Solidity: function authorized(address ) view returns(bool)

func (*ZeroxVaultCaller) BalanceOf

func (_ZeroxVault *ZeroxVaultCaller) BalanceOf(opts *bind.CallOpts, staker common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address staker) view returns(uint256)

func (*ZeroxVaultCaller) BalanceOfZrxVault

func (_ZeroxVault *ZeroxVaultCaller) BalanceOfZrxVault(opts *bind.CallOpts) (*big.Int, error)

BalanceOfZrxVault is a free data retrieval call binding the contract method 0x9706e0c0.

Solidity: function balanceOfZrxVault() view returns(uint256)

func (*ZeroxVaultCaller) GetAuthorizedAddresses

func (_ZeroxVault *ZeroxVaultCaller) GetAuthorizedAddresses(opts *bind.CallOpts) ([]common.Address, error)

GetAuthorizedAddresses is a free data retrieval call binding the contract method 0xd39de6e9.

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

func (*ZeroxVaultCaller) IsInCatastrophicFailure

func (_ZeroxVault *ZeroxVaultCaller) IsInCatastrophicFailure(opts *bind.CallOpts) (bool, error)

IsInCatastrophicFailure is a free data retrieval call binding the contract method 0x266df27c.

Solidity: function isInCatastrophicFailure() view returns(bool)

func (*ZeroxVaultCaller) Owner

func (_ZeroxVault *ZeroxVaultCaller) 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 (*ZeroxVaultCaller) StakingProxyAddress

func (_ZeroxVault *ZeroxVaultCaller) StakingProxyAddress(opts *bind.CallOpts) (common.Address, error)

StakingProxyAddress is a free data retrieval call binding the contract method 0xc4d8f237.

Solidity: function stakingProxyAddress() view returns(address)

func (*ZeroxVaultCaller) ZrxAssetProxy

func (_ZeroxVault *ZeroxVaultCaller) ZrxAssetProxy(opts *bind.CallOpts) (common.Address, error)

ZrxAssetProxy is a free data retrieval call binding the contract method 0x4551ab31.

Solidity: function zrxAssetProxy() view returns(address)

type ZeroxVaultCallerRaw

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

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

func (*ZeroxVaultCallerRaw) Call

func (_ZeroxVault *ZeroxVaultCallerRaw) 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 ZeroxVaultCallerSession

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

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

func (*ZeroxVaultCallerSession) Authorities

func (_ZeroxVault *ZeroxVaultCallerSession) Authorities(arg0 *big.Int) (common.Address, error)

Authorities is a free data retrieval call binding the contract method 0x494503d4.

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

func (*ZeroxVaultCallerSession) Authorized

func (_ZeroxVault *ZeroxVaultCallerSession) Authorized(arg0 common.Address) (bool, error)

Authorized is a free data retrieval call binding the contract method 0xb9181611.

Solidity: function authorized(address ) view returns(bool)

func (*ZeroxVaultCallerSession) BalanceOf

func (_ZeroxVault *ZeroxVaultCallerSession) BalanceOf(staker common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address staker) view returns(uint256)

func (*ZeroxVaultCallerSession) BalanceOfZrxVault

func (_ZeroxVault *ZeroxVaultCallerSession) BalanceOfZrxVault() (*big.Int, error)

BalanceOfZrxVault is a free data retrieval call binding the contract method 0x9706e0c0.

Solidity: function balanceOfZrxVault() view returns(uint256)

func (*ZeroxVaultCallerSession) GetAuthorizedAddresses

func (_ZeroxVault *ZeroxVaultCallerSession) GetAuthorizedAddresses() ([]common.Address, error)

GetAuthorizedAddresses is a free data retrieval call binding the contract method 0xd39de6e9.

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

func (*ZeroxVaultCallerSession) IsInCatastrophicFailure

func (_ZeroxVault *ZeroxVaultCallerSession) IsInCatastrophicFailure() (bool, error)

IsInCatastrophicFailure is a free data retrieval call binding the contract method 0x266df27c.

Solidity: function isInCatastrophicFailure() view returns(bool)

func (*ZeroxVaultCallerSession) Owner

func (_ZeroxVault *ZeroxVaultCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*ZeroxVaultCallerSession) StakingProxyAddress

func (_ZeroxVault *ZeroxVaultCallerSession) StakingProxyAddress() (common.Address, error)

StakingProxyAddress is a free data retrieval call binding the contract method 0xc4d8f237.

Solidity: function stakingProxyAddress() view returns(address)

func (*ZeroxVaultCallerSession) ZrxAssetProxy

func (_ZeroxVault *ZeroxVaultCallerSession) ZrxAssetProxy() (common.Address, error)

ZrxAssetProxy is a free data retrieval call binding the contract method 0x4551ab31.

Solidity: function zrxAssetProxy() view returns(address)

type ZeroxVaultDeposit

type ZeroxVaultDeposit struct {
	Staker common.Address
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

ZeroxVaultDeposit represents a Deposit event raised by the ZeroxVault contract.

type ZeroxVaultDepositIterator

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

ZeroxVaultDepositIterator is returned from FilterDeposit and is used to iterate over the raw logs and unpacked data for Deposit events raised by the ZeroxVault contract.

func (*ZeroxVaultDepositIterator) Close

func (it *ZeroxVaultDepositIterator) Close() error

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

func (*ZeroxVaultDepositIterator) Error

func (it *ZeroxVaultDepositIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZeroxVaultDepositIterator) Next

func (it *ZeroxVaultDepositIterator) 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 ZeroxVaultFilterer

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

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

func NewZeroxVaultFilterer

func NewZeroxVaultFilterer(address common.Address, filterer bind.ContractFilterer) (*ZeroxVaultFilterer, error)

NewZeroxVaultFilterer creates a new log filterer instance of ZeroxVault, bound to a specific deployed contract.

func (*ZeroxVaultFilterer) FilterAuthorizedAddressAdded

func (_ZeroxVault *ZeroxVaultFilterer) FilterAuthorizedAddressAdded(opts *bind.FilterOpts, target []common.Address, caller []common.Address) (*ZeroxVaultAuthorizedAddressAddedIterator, error)

FilterAuthorizedAddressAdded is a free log retrieval operation binding the contract event 0x3147867c59d17e8fa9d522465651d44aae0a9e38f902f3475b97e58072f0ed4c.

Solidity: event AuthorizedAddressAdded(address indexed target, address indexed caller)

func (*ZeroxVaultFilterer) FilterAuthorizedAddressRemoved

func (_ZeroxVault *ZeroxVaultFilterer) FilterAuthorizedAddressRemoved(opts *bind.FilterOpts, target []common.Address, caller []common.Address) (*ZeroxVaultAuthorizedAddressRemovedIterator, error)

FilterAuthorizedAddressRemoved is a free log retrieval operation binding the contract event 0x1f32c1b084e2de0713b8fb16bd46bb9df710a3dbeae2f3ca93af46e016dcc6b0.

Solidity: event AuthorizedAddressRemoved(address indexed target, address indexed caller)

func (*ZeroxVaultFilterer) FilterDeposit

func (_ZeroxVault *ZeroxVaultFilterer) FilterDeposit(opts *bind.FilterOpts, staker []common.Address) (*ZeroxVaultDepositIterator, error)

FilterDeposit is a free log retrieval operation binding the contract event 0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c.

Solidity: event Deposit(address indexed staker, uint256 amount)

func (*ZeroxVaultFilterer) FilterInCatastrophicFailureMode

func (_ZeroxVault *ZeroxVaultFilterer) FilterInCatastrophicFailureMode(opts *bind.FilterOpts) (*ZeroxVaultInCatastrophicFailureModeIterator, error)

FilterInCatastrophicFailureMode is a free log retrieval operation binding the contract event 0xdc2ba7cd6b8e3bf6f27f665a737e34fb7f72f480a597b51686332c539fab0448.

Solidity: event InCatastrophicFailureMode(address sender)

func (*ZeroxVaultFilterer) FilterOwnershipTransferred

func (_ZeroxVault *ZeroxVaultFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*ZeroxVaultOwnershipTransferredIterator, error)

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

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

func (*ZeroxVaultFilterer) FilterStakingProxySet

func (_ZeroxVault *ZeroxVaultFilterer) FilterStakingProxySet(opts *bind.FilterOpts) (*ZeroxVaultStakingProxySetIterator, error)

FilterStakingProxySet is a free log retrieval operation binding the contract event 0xb72b2a9919ffd08bc0d415d8a38b1395a40377207a9867cac2e3c10b1aa560fc.

Solidity: event StakingProxySet(address stakingProxyAddress)

func (*ZeroxVaultFilterer) FilterWithdraw

func (_ZeroxVault *ZeroxVaultFilterer) FilterWithdraw(opts *bind.FilterOpts, staker []common.Address) (*ZeroxVaultWithdrawIterator, error)

FilterWithdraw is a free log retrieval operation binding the contract event 0x884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364.

Solidity: event Withdraw(address indexed staker, uint256 amount)

func (*ZeroxVaultFilterer) FilterZrxProxySet

func (_ZeroxVault *ZeroxVaultFilterer) FilterZrxProxySet(opts *bind.FilterOpts) (*ZeroxVaultZrxProxySetIterator, error)

FilterZrxProxySet is a free log retrieval operation binding the contract event 0xab1ca8eb645c27b1fa85b29ed92584109de7cc576a907cddaa0bf3f1f7f25310.

Solidity: event ZrxProxySet(address zrxProxyAddress)

func (*ZeroxVaultFilterer) ParseAuthorizedAddressAdded

func (_ZeroxVault *ZeroxVaultFilterer) ParseAuthorizedAddressAdded(log types.Log) (*ZeroxVaultAuthorizedAddressAdded, error)

ParseAuthorizedAddressAdded is a log parse operation binding the contract event 0x3147867c59d17e8fa9d522465651d44aae0a9e38f902f3475b97e58072f0ed4c.

Solidity: event AuthorizedAddressAdded(address indexed target, address indexed caller)

func (*ZeroxVaultFilterer) ParseAuthorizedAddressRemoved

func (_ZeroxVault *ZeroxVaultFilterer) ParseAuthorizedAddressRemoved(log types.Log) (*ZeroxVaultAuthorizedAddressRemoved, error)

ParseAuthorizedAddressRemoved is a log parse operation binding the contract event 0x1f32c1b084e2de0713b8fb16bd46bb9df710a3dbeae2f3ca93af46e016dcc6b0.

Solidity: event AuthorizedAddressRemoved(address indexed target, address indexed caller)

func (*ZeroxVaultFilterer) ParseDeposit

func (_ZeroxVault *ZeroxVaultFilterer) ParseDeposit(log types.Log) (*ZeroxVaultDeposit, error)

ParseDeposit is a log parse operation binding the contract event 0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c.

Solidity: event Deposit(address indexed staker, uint256 amount)

func (*ZeroxVaultFilterer) ParseInCatastrophicFailureMode

func (_ZeroxVault *ZeroxVaultFilterer) ParseInCatastrophicFailureMode(log types.Log) (*ZeroxVaultInCatastrophicFailureMode, error)

ParseInCatastrophicFailureMode is a log parse operation binding the contract event 0xdc2ba7cd6b8e3bf6f27f665a737e34fb7f72f480a597b51686332c539fab0448.

Solidity: event InCatastrophicFailureMode(address sender)

func (*ZeroxVaultFilterer) ParseOwnershipTransferred

func (_ZeroxVault *ZeroxVaultFilterer) ParseOwnershipTransferred(log types.Log) (*ZeroxVaultOwnershipTransferred, error)

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

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

func (*ZeroxVaultFilterer) ParseStakingProxySet

func (_ZeroxVault *ZeroxVaultFilterer) ParseStakingProxySet(log types.Log) (*ZeroxVaultStakingProxySet, error)

ParseStakingProxySet is a log parse operation binding the contract event 0xb72b2a9919ffd08bc0d415d8a38b1395a40377207a9867cac2e3c10b1aa560fc.

Solidity: event StakingProxySet(address stakingProxyAddress)

func (*ZeroxVaultFilterer) ParseWithdraw

func (_ZeroxVault *ZeroxVaultFilterer) ParseWithdraw(log types.Log) (*ZeroxVaultWithdraw, error)

ParseWithdraw is a log parse operation binding the contract event 0x884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364.

Solidity: event Withdraw(address indexed staker, uint256 amount)

func (*ZeroxVaultFilterer) ParseZrxProxySet

func (_ZeroxVault *ZeroxVaultFilterer) ParseZrxProxySet(log types.Log) (*ZeroxVaultZrxProxySet, error)

ParseZrxProxySet is a log parse operation binding the contract event 0xab1ca8eb645c27b1fa85b29ed92584109de7cc576a907cddaa0bf3f1f7f25310.

Solidity: event ZrxProxySet(address zrxProxyAddress)

func (*ZeroxVaultFilterer) WatchAuthorizedAddressAdded

func (_ZeroxVault *ZeroxVaultFilterer) WatchAuthorizedAddressAdded(opts *bind.WatchOpts, sink chan<- *ZeroxVaultAuthorizedAddressAdded, target []common.Address, caller []common.Address) (event.Subscription, error)

WatchAuthorizedAddressAdded is a free log subscription operation binding the contract event 0x3147867c59d17e8fa9d522465651d44aae0a9e38f902f3475b97e58072f0ed4c.

Solidity: event AuthorizedAddressAdded(address indexed target, address indexed caller)

func (*ZeroxVaultFilterer) WatchAuthorizedAddressRemoved

func (_ZeroxVault *ZeroxVaultFilterer) WatchAuthorizedAddressRemoved(opts *bind.WatchOpts, sink chan<- *ZeroxVaultAuthorizedAddressRemoved, target []common.Address, caller []common.Address) (event.Subscription, error)

WatchAuthorizedAddressRemoved is a free log subscription operation binding the contract event 0x1f32c1b084e2de0713b8fb16bd46bb9df710a3dbeae2f3ca93af46e016dcc6b0.

Solidity: event AuthorizedAddressRemoved(address indexed target, address indexed caller)

func (*ZeroxVaultFilterer) WatchDeposit

func (_ZeroxVault *ZeroxVaultFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *ZeroxVaultDeposit, staker []common.Address) (event.Subscription, error)

WatchDeposit is a free log subscription operation binding the contract event 0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c.

Solidity: event Deposit(address indexed staker, uint256 amount)

func (*ZeroxVaultFilterer) WatchInCatastrophicFailureMode

func (_ZeroxVault *ZeroxVaultFilterer) WatchInCatastrophicFailureMode(opts *bind.WatchOpts, sink chan<- *ZeroxVaultInCatastrophicFailureMode) (event.Subscription, error)

WatchInCatastrophicFailureMode is a free log subscription operation binding the contract event 0xdc2ba7cd6b8e3bf6f27f665a737e34fb7f72f480a597b51686332c539fab0448.

Solidity: event InCatastrophicFailureMode(address sender)

func (*ZeroxVaultFilterer) WatchOwnershipTransferred

func (_ZeroxVault *ZeroxVaultFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ZeroxVaultOwnershipTransferred, 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 (*ZeroxVaultFilterer) WatchStakingProxySet

func (_ZeroxVault *ZeroxVaultFilterer) WatchStakingProxySet(opts *bind.WatchOpts, sink chan<- *ZeroxVaultStakingProxySet) (event.Subscription, error)

WatchStakingProxySet is a free log subscription operation binding the contract event 0xb72b2a9919ffd08bc0d415d8a38b1395a40377207a9867cac2e3c10b1aa560fc.

Solidity: event StakingProxySet(address stakingProxyAddress)

func (*ZeroxVaultFilterer) WatchWithdraw

func (_ZeroxVault *ZeroxVaultFilterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *ZeroxVaultWithdraw, staker []common.Address) (event.Subscription, error)

WatchWithdraw is a free log subscription operation binding the contract event 0x884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364.

Solidity: event Withdraw(address indexed staker, uint256 amount)

func (*ZeroxVaultFilterer) WatchZrxProxySet

func (_ZeroxVault *ZeroxVaultFilterer) WatchZrxProxySet(opts *bind.WatchOpts, sink chan<- *ZeroxVaultZrxProxySet) (event.Subscription, error)

WatchZrxProxySet is a free log subscription operation binding the contract event 0xab1ca8eb645c27b1fa85b29ed92584109de7cc576a907cddaa0bf3f1f7f25310.

Solidity: event ZrxProxySet(address zrxProxyAddress)

type ZeroxVaultInCatastrophicFailureMode

type ZeroxVaultInCatastrophicFailureMode struct {
	Sender common.Address
	Raw    types.Log // Blockchain specific contextual infos
}

ZeroxVaultInCatastrophicFailureMode represents a InCatastrophicFailureMode event raised by the ZeroxVault contract.

type ZeroxVaultInCatastrophicFailureModeIterator

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

ZeroxVaultInCatastrophicFailureModeIterator is returned from FilterInCatastrophicFailureMode and is used to iterate over the raw logs and unpacked data for InCatastrophicFailureMode events raised by the ZeroxVault contract.

func (*ZeroxVaultInCatastrophicFailureModeIterator) Close

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

func (*ZeroxVaultInCatastrophicFailureModeIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZeroxVaultInCatastrophicFailureModeIterator) 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 ZeroxVaultOwnershipTransferred

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

ZeroxVaultOwnershipTransferred represents a OwnershipTransferred event raised by the ZeroxVault contract.

type ZeroxVaultOwnershipTransferredIterator

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

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

func (*ZeroxVaultOwnershipTransferredIterator) Close

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

func (*ZeroxVaultOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZeroxVaultOwnershipTransferredIterator) 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 ZeroxVaultRaw

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

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

func (*ZeroxVaultRaw) Call

func (_ZeroxVault *ZeroxVaultRaw) 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 (*ZeroxVaultRaw) Transact

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

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

func (*ZeroxVaultRaw) Transfer

func (_ZeroxVault *ZeroxVaultRaw) 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 ZeroxVaultSession

type ZeroxVaultSession struct {
	Contract     *ZeroxVault       // 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
}

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

func (*ZeroxVaultSession) AddAuthorizedAddress

func (_ZeroxVault *ZeroxVaultSession) AddAuthorizedAddress(target common.Address) (*types.Transaction, error)

AddAuthorizedAddress is a paid mutator transaction binding the contract method 0x42f1181e.

Solidity: function addAuthorizedAddress(address target) returns()

func (*ZeroxVaultSession) Authorities

func (_ZeroxVault *ZeroxVaultSession) Authorities(arg0 *big.Int) (common.Address, error)

Authorities is a free data retrieval call binding the contract method 0x494503d4.

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

func (*ZeroxVaultSession) Authorized

func (_ZeroxVault *ZeroxVaultSession) Authorized(arg0 common.Address) (bool, error)

Authorized is a free data retrieval call binding the contract method 0xb9181611.

Solidity: function authorized(address ) view returns(bool)

func (*ZeroxVaultSession) BalanceOf

func (_ZeroxVault *ZeroxVaultSession) BalanceOf(staker common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address staker) view returns(uint256)

func (*ZeroxVaultSession) BalanceOfZrxVault

func (_ZeroxVault *ZeroxVaultSession) BalanceOfZrxVault() (*big.Int, error)

BalanceOfZrxVault is a free data retrieval call binding the contract method 0x9706e0c0.

Solidity: function balanceOfZrxVault() view returns(uint256)

func (*ZeroxVaultSession) DepositFrom

func (_ZeroxVault *ZeroxVaultSession) DepositFrom(staker common.Address, amount *big.Int) (*types.Transaction, error)

DepositFrom is a paid mutator transaction binding the contract method 0x15cc36f2.

Solidity: function depositFrom(address staker, uint256 amount) returns()

func (*ZeroxVaultSession) EnterCatastrophicFailure

func (_ZeroxVault *ZeroxVaultSession) EnterCatastrophicFailure() (*types.Transaction, error)

EnterCatastrophicFailure is a paid mutator transaction binding the contract method 0xc02e5a7f.

Solidity: function enterCatastrophicFailure() returns()

func (*ZeroxVaultSession) GetAuthorizedAddresses

func (_ZeroxVault *ZeroxVaultSession) GetAuthorizedAddresses() ([]common.Address, error)

GetAuthorizedAddresses is a free data retrieval call binding the contract method 0xd39de6e9.

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

func (*ZeroxVaultSession) IsInCatastrophicFailure

func (_ZeroxVault *ZeroxVaultSession) IsInCatastrophicFailure() (bool, error)

IsInCatastrophicFailure is a free data retrieval call binding the contract method 0x266df27c.

Solidity: function isInCatastrophicFailure() view returns(bool)

func (*ZeroxVaultSession) Owner

func (_ZeroxVault *ZeroxVaultSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*ZeroxVaultSession) RemoveAuthorizedAddress

func (_ZeroxVault *ZeroxVaultSession) RemoveAuthorizedAddress(target common.Address) (*types.Transaction, error)

RemoveAuthorizedAddress is a paid mutator transaction binding the contract method 0x70712939.

Solidity: function removeAuthorizedAddress(address target) returns()

func (*ZeroxVaultSession) RemoveAuthorizedAddressAtIndex

func (_ZeroxVault *ZeroxVaultSession) RemoveAuthorizedAddressAtIndex(target common.Address, index *big.Int) (*types.Transaction, error)

RemoveAuthorizedAddressAtIndex is a paid mutator transaction binding the contract method 0x9ad26744.

Solidity: function removeAuthorizedAddressAtIndex(address target, uint256 index) returns()

func (*ZeroxVaultSession) SetStakingProxy

func (_ZeroxVault *ZeroxVaultSession) SetStakingProxy(_stakingProxyAddress common.Address) (*types.Transaction, error)

SetStakingProxy is a paid mutator transaction binding the contract method 0x6bf3f9e5.

Solidity: function setStakingProxy(address _stakingProxyAddress) returns()

func (*ZeroxVaultSession) SetZrxProxy

func (_ZeroxVault *ZeroxVaultSession) SetZrxProxy(_zrxProxyAddress common.Address) (*types.Transaction, error)

SetZrxProxy is a paid mutator transaction binding the contract method 0xca5b0218.

Solidity: function setZrxProxy(address _zrxProxyAddress) returns()

func (*ZeroxVaultSession) StakingProxyAddress

func (_ZeroxVault *ZeroxVaultSession) StakingProxyAddress() (common.Address, error)

StakingProxyAddress is a free data retrieval call binding the contract method 0xc4d8f237.

Solidity: function stakingProxyAddress() view returns(address)

func (*ZeroxVaultSession) TransferOwnership

func (_ZeroxVault *ZeroxVaultSession) 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 (*ZeroxVaultSession) WithdrawAllFrom

func (_ZeroxVault *ZeroxVaultSession) WithdrawAllFrom(staker common.Address) (*types.Transaction, error)

WithdrawAllFrom is a paid mutator transaction binding the contract method 0xf957ddba.

Solidity: function withdrawAllFrom(address staker) returns(uint256)

func (*ZeroxVaultSession) WithdrawFrom

func (_ZeroxVault *ZeroxVaultSession) WithdrawFrom(staker common.Address, amount *big.Int) (*types.Transaction, error)

WithdrawFrom is a paid mutator transaction binding the contract method 0x9470b0bd.

Solidity: function withdrawFrom(address staker, uint256 amount) returns()

func (*ZeroxVaultSession) ZrxAssetProxy

func (_ZeroxVault *ZeroxVaultSession) ZrxAssetProxy() (common.Address, error)

ZrxAssetProxy is a free data retrieval call binding the contract method 0x4551ab31.

Solidity: function zrxAssetProxy() view returns(address)

type ZeroxVaultStakingProxySet

type ZeroxVaultStakingProxySet struct {
	StakingProxyAddress common.Address
	Raw                 types.Log // Blockchain specific contextual infos
}

ZeroxVaultStakingProxySet represents a StakingProxySet event raised by the ZeroxVault contract.

type ZeroxVaultStakingProxySetIterator

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

ZeroxVaultStakingProxySetIterator is returned from FilterStakingProxySet and is used to iterate over the raw logs and unpacked data for StakingProxySet events raised by the ZeroxVault contract.

func (*ZeroxVaultStakingProxySetIterator) Close

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

func (*ZeroxVaultStakingProxySetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZeroxVaultStakingProxySetIterator) 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 ZeroxVaultTransactor

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

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

func NewZeroxVaultTransactor

func NewZeroxVaultTransactor(address common.Address, transactor bind.ContractTransactor) (*ZeroxVaultTransactor, error)

NewZeroxVaultTransactor creates a new write-only instance of ZeroxVault, bound to a specific deployed contract.

func (*ZeroxVaultTransactor) AddAuthorizedAddress

func (_ZeroxVault *ZeroxVaultTransactor) AddAuthorizedAddress(opts *bind.TransactOpts, target common.Address) (*types.Transaction, error)

AddAuthorizedAddress is a paid mutator transaction binding the contract method 0x42f1181e.

Solidity: function addAuthorizedAddress(address target) returns()

func (*ZeroxVaultTransactor) DepositFrom

func (_ZeroxVault *ZeroxVaultTransactor) DepositFrom(opts *bind.TransactOpts, staker common.Address, amount *big.Int) (*types.Transaction, error)

DepositFrom is a paid mutator transaction binding the contract method 0x15cc36f2.

Solidity: function depositFrom(address staker, uint256 amount) returns()

func (*ZeroxVaultTransactor) EnterCatastrophicFailure

func (_ZeroxVault *ZeroxVaultTransactor) EnterCatastrophicFailure(opts *bind.TransactOpts) (*types.Transaction, error)

EnterCatastrophicFailure is a paid mutator transaction binding the contract method 0xc02e5a7f.

Solidity: function enterCatastrophicFailure() returns()

func (*ZeroxVaultTransactor) RemoveAuthorizedAddress

func (_ZeroxVault *ZeroxVaultTransactor) RemoveAuthorizedAddress(opts *bind.TransactOpts, target common.Address) (*types.Transaction, error)

RemoveAuthorizedAddress is a paid mutator transaction binding the contract method 0x70712939.

Solidity: function removeAuthorizedAddress(address target) returns()

func (*ZeroxVaultTransactor) RemoveAuthorizedAddressAtIndex

func (_ZeroxVault *ZeroxVaultTransactor) RemoveAuthorizedAddressAtIndex(opts *bind.TransactOpts, target common.Address, index *big.Int) (*types.Transaction, error)

RemoveAuthorizedAddressAtIndex is a paid mutator transaction binding the contract method 0x9ad26744.

Solidity: function removeAuthorizedAddressAtIndex(address target, uint256 index) returns()

func (*ZeroxVaultTransactor) SetStakingProxy

func (_ZeroxVault *ZeroxVaultTransactor) SetStakingProxy(opts *bind.TransactOpts, _stakingProxyAddress common.Address) (*types.Transaction, error)

SetStakingProxy is a paid mutator transaction binding the contract method 0x6bf3f9e5.

Solidity: function setStakingProxy(address _stakingProxyAddress) returns()

func (*ZeroxVaultTransactor) SetZrxProxy

func (_ZeroxVault *ZeroxVaultTransactor) SetZrxProxy(opts *bind.TransactOpts, _zrxProxyAddress common.Address) (*types.Transaction, error)

SetZrxProxy is a paid mutator transaction binding the contract method 0xca5b0218.

Solidity: function setZrxProxy(address _zrxProxyAddress) returns()

func (*ZeroxVaultTransactor) TransferOwnership

func (_ZeroxVault *ZeroxVaultTransactor) 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 (*ZeroxVaultTransactor) WithdrawAllFrom

func (_ZeroxVault *ZeroxVaultTransactor) WithdrawAllFrom(opts *bind.TransactOpts, staker common.Address) (*types.Transaction, error)

WithdrawAllFrom is a paid mutator transaction binding the contract method 0xf957ddba.

Solidity: function withdrawAllFrom(address staker) returns(uint256)

func (*ZeroxVaultTransactor) WithdrawFrom

func (_ZeroxVault *ZeroxVaultTransactor) WithdrawFrom(opts *bind.TransactOpts, staker common.Address, amount *big.Int) (*types.Transaction, error)

WithdrawFrom is a paid mutator transaction binding the contract method 0x9470b0bd.

Solidity: function withdrawFrom(address staker, uint256 amount) returns()

type ZeroxVaultTransactorRaw

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

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

func (*ZeroxVaultTransactorRaw) Transact

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

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

func (*ZeroxVaultTransactorRaw) Transfer

func (_ZeroxVault *ZeroxVaultTransactorRaw) 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 ZeroxVaultTransactorSession

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

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

func (*ZeroxVaultTransactorSession) AddAuthorizedAddress

func (_ZeroxVault *ZeroxVaultTransactorSession) AddAuthorizedAddress(target common.Address) (*types.Transaction, error)

AddAuthorizedAddress is a paid mutator transaction binding the contract method 0x42f1181e.

Solidity: function addAuthorizedAddress(address target) returns()

func (*ZeroxVaultTransactorSession) DepositFrom

func (_ZeroxVault *ZeroxVaultTransactorSession) DepositFrom(staker common.Address, amount *big.Int) (*types.Transaction, error)

DepositFrom is a paid mutator transaction binding the contract method 0x15cc36f2.

Solidity: function depositFrom(address staker, uint256 amount) returns()

func (*ZeroxVaultTransactorSession) EnterCatastrophicFailure

func (_ZeroxVault *ZeroxVaultTransactorSession) EnterCatastrophicFailure() (*types.Transaction, error)

EnterCatastrophicFailure is a paid mutator transaction binding the contract method 0xc02e5a7f.

Solidity: function enterCatastrophicFailure() returns()

func (*ZeroxVaultTransactorSession) RemoveAuthorizedAddress

func (_ZeroxVault *ZeroxVaultTransactorSession) RemoveAuthorizedAddress(target common.Address) (*types.Transaction, error)

RemoveAuthorizedAddress is a paid mutator transaction binding the contract method 0x70712939.

Solidity: function removeAuthorizedAddress(address target) returns()

func (*ZeroxVaultTransactorSession) RemoveAuthorizedAddressAtIndex

func (_ZeroxVault *ZeroxVaultTransactorSession) RemoveAuthorizedAddressAtIndex(target common.Address, index *big.Int) (*types.Transaction, error)

RemoveAuthorizedAddressAtIndex is a paid mutator transaction binding the contract method 0x9ad26744.

Solidity: function removeAuthorizedAddressAtIndex(address target, uint256 index) returns()

func (*ZeroxVaultTransactorSession) SetStakingProxy

func (_ZeroxVault *ZeroxVaultTransactorSession) SetStakingProxy(_stakingProxyAddress common.Address) (*types.Transaction, error)

SetStakingProxy is a paid mutator transaction binding the contract method 0x6bf3f9e5.

Solidity: function setStakingProxy(address _stakingProxyAddress) returns()

func (*ZeroxVaultTransactorSession) SetZrxProxy

func (_ZeroxVault *ZeroxVaultTransactorSession) SetZrxProxy(_zrxProxyAddress common.Address) (*types.Transaction, error)

SetZrxProxy is a paid mutator transaction binding the contract method 0xca5b0218.

Solidity: function setZrxProxy(address _zrxProxyAddress) returns()

func (*ZeroxVaultTransactorSession) TransferOwnership

func (_ZeroxVault *ZeroxVaultTransactorSession) 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 (*ZeroxVaultTransactorSession) WithdrawAllFrom

func (_ZeroxVault *ZeroxVaultTransactorSession) WithdrawAllFrom(staker common.Address) (*types.Transaction, error)

WithdrawAllFrom is a paid mutator transaction binding the contract method 0xf957ddba.

Solidity: function withdrawAllFrom(address staker) returns(uint256)

func (*ZeroxVaultTransactorSession) WithdrawFrom

func (_ZeroxVault *ZeroxVaultTransactorSession) WithdrawFrom(staker common.Address, amount *big.Int) (*types.Transaction, error)

WithdrawFrom is a paid mutator transaction binding the contract method 0x9470b0bd.

Solidity: function withdrawFrom(address staker, uint256 amount) returns()

type ZeroxVaultWithdraw

type ZeroxVaultWithdraw struct {
	Staker common.Address
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

ZeroxVaultWithdraw represents a Withdraw event raised by the ZeroxVault contract.

type ZeroxVaultWithdrawIterator

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

ZeroxVaultWithdrawIterator is returned from FilterWithdraw and is used to iterate over the raw logs and unpacked data for Withdraw events raised by the ZeroxVault contract.

func (*ZeroxVaultWithdrawIterator) Close

func (it *ZeroxVaultWithdrawIterator) Close() error

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

func (*ZeroxVaultWithdrawIterator) Error

func (it *ZeroxVaultWithdrawIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZeroxVaultWithdrawIterator) Next

func (it *ZeroxVaultWithdrawIterator) 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 ZeroxVaultZrxProxySet

type ZeroxVaultZrxProxySet struct {
	ZrxProxyAddress common.Address
	Raw             types.Log // Blockchain specific contextual infos
}

ZeroxVaultZrxProxySet represents a ZrxProxySet event raised by the ZeroxVault contract.

type ZeroxVaultZrxProxySetIterator

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

ZeroxVaultZrxProxySetIterator is returned from FilterZrxProxySet and is used to iterate over the raw logs and unpacked data for ZrxProxySet events raised by the ZeroxVault contract.

func (*ZeroxVaultZrxProxySetIterator) Close

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

func (*ZeroxVaultZrxProxySetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ZeroxVaultZrxProxySetIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL