Documentation ¶
Index ¶
- Constants
- Variables
- type Reserve
- type ReserveAdminSet
- type ReserveAdminSetIterator
- type ReserveApproval
- type ReserveApprovalIterator
- type ReserveCaller
- func (_Reserve *ReserveCaller) Admin(opts *bind.CallOpts) (common.Address, error)
- func (_Reserve *ReserveCaller) Allowance(opts *bind.CallOpts, _owner common.Address, _spender common.Address) (*big.Int, error)
- func (_Reserve *ReserveCaller) BalanceOf(opts *bind.CallOpts, _holder common.Address) (*big.Int, error)
- func (_Reserve *ReserveCaller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_Reserve *ReserveCaller) ExchangeRateUSD(opts *bind.CallOpts) (*big.Int, error)
- func (_Reserve *ReserveCaller) LastProofHeight(opts *bind.CallOpts) (*big.Int, error)
- func (_Reserve *ReserveCaller) Name(opts *bind.CallOpts) (string, error)
- func (_Reserve *ReserveCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_Reserve *ReserveCaller) PriceFeed(opts *bind.CallOpts) (common.Address, error)
- func (_Reserve *ReserveCaller) Proofs(opts *bind.CallOpts, arg0 *big.Int) (struct{ ... }, error)
- func (_Reserve *ReserveCaller) ReserveAddress(opts *bind.CallOpts) ([]byte, error)
- func (_Reserve *ReserveCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_Reserve *ReserveCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type ReserveCallerRaw
- type ReserveCallerSession
- func (_Reserve *ReserveCallerSession) Admin() (common.Address, error)
- func (_Reserve *ReserveCallerSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
- func (_Reserve *ReserveCallerSession) BalanceOf(_holder common.Address) (*big.Int, error)
- func (_Reserve *ReserveCallerSession) Decimals() (uint8, error)
- func (_Reserve *ReserveCallerSession) ExchangeRateUSD() (*big.Int, error)
- func (_Reserve *ReserveCallerSession) LastProofHeight() (*big.Int, error)
- func (_Reserve *ReserveCallerSession) Name() (string, error)
- func (_Reserve *ReserveCallerSession) Owner() (common.Address, error)
- func (_Reserve *ReserveCallerSession) PriceFeed() (common.Address, error)
- func (_Reserve *ReserveCallerSession) Proofs(arg0 *big.Int) (struct{ ... }, error)
- func (_Reserve *ReserveCallerSession) ReserveAddress() ([]byte, error)
- func (_Reserve *ReserveCallerSession) Symbol() (string, error)
- func (_Reserve *ReserveCallerSession) TotalSupply() (*big.Int, error)
- type ReserveCoinsBurned
- type ReserveCoinsBurnedIterator
- type ReserveCoinsMinted
- type ReserveCoinsMintedIterator
- type ReserveFilterer
- func (_Reserve *ReserveFilterer) FilterAdminSet(opts *bind.FilterOpts) (*ReserveAdminSetIterator, error)
- func (_Reserve *ReserveFilterer) FilterApproval(opts *bind.FilterOpts, _owner []common.Address, _spender []common.Address) (*ReserveApprovalIterator, error)
- func (_Reserve *ReserveFilterer) FilterCoinsBurned(opts *bind.FilterOpts) (*ReserveCoinsBurnedIterator, error)
- func (_Reserve *ReserveFilterer) FilterCoinsMinted(opts *bind.FilterOpts, _recipient []common.Address) (*ReserveCoinsMintedIterator, error)
- func (_Reserve *ReserveFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts) (*ReserveOwnershipTransferredIterator, error)
- func (_Reserve *ReserveFilterer) FilterProofSubmitted(opts *bind.FilterOpts) (*ReserveProofSubmittedIterator, error)
- func (_Reserve *ReserveFilterer) FilterTransfer(opts *bind.FilterOpts, _sender []common.Address, _recipient []common.Address) (*ReserveTransferIterator, error)
- func (_Reserve *ReserveFilterer) ParseAdminSet(log types.Log) (*ReserveAdminSet, error)
- func (_Reserve *ReserveFilterer) ParseApproval(log types.Log) (*ReserveApproval, error)
- func (_Reserve *ReserveFilterer) ParseCoinsBurned(log types.Log) (*ReserveCoinsBurned, error)
- func (_Reserve *ReserveFilterer) ParseCoinsMinted(log types.Log) (*ReserveCoinsMinted, error)
- func (_Reserve *ReserveFilterer) ParseOwnershipTransferred(log types.Log) (*ReserveOwnershipTransferred, error)
- func (_Reserve *ReserveFilterer) ParseProofSubmitted(log types.Log) (*ReserveProofSubmitted, error)
- func (_Reserve *ReserveFilterer) ParseTransfer(log types.Log) (*ReserveTransfer, error)
- func (_Reserve *ReserveFilterer) WatchAdminSet(opts *bind.WatchOpts, sink chan<- *ReserveAdminSet) (event.Subscription, error)
- func (_Reserve *ReserveFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ReserveApproval, _owner []common.Address, ...) (event.Subscription, error)
- func (_Reserve *ReserveFilterer) WatchCoinsBurned(opts *bind.WatchOpts, sink chan<- *ReserveCoinsBurned) (event.Subscription, error)
- func (_Reserve *ReserveFilterer) WatchCoinsMinted(opts *bind.WatchOpts, sink chan<- *ReserveCoinsMinted, ...) (event.Subscription, error)
- func (_Reserve *ReserveFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ReserveOwnershipTransferred) (event.Subscription, error)
- func (_Reserve *ReserveFilterer) WatchProofSubmitted(opts *bind.WatchOpts, sink chan<- *ReserveProofSubmitted) (event.Subscription, error)
- func (_Reserve *ReserveFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ReserveTransfer, _sender []common.Address, ...) (event.Subscription, error)
- type ReserveOwnershipTransferred
- type ReserveOwnershipTransferredIterator
- type ReserveProofSubmitted
- type ReserveProofSubmittedIterator
- type ReserveRaw
- func (_Reserve *ReserveRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_Reserve *ReserveRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Reserve *ReserveRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ReserveSession
- func (_Reserve *ReserveSession) Admin() (common.Address, error)
- func (_Reserve *ReserveSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
- func (_Reserve *ReserveSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_Reserve *ReserveSession) BalanceOf(_holder common.Address) (*big.Int, error)
- func (_Reserve *ReserveSession) Burn(_amount *big.Int, _moneroAddressHash [32]byte) (*types.Transaction, error)
- func (_Reserve *ReserveSession) Decimals() (uint8, error)
- func (_Reserve *ReserveSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
- func (_Reserve *ReserveSession) ExchangeRateUSD() (*big.Int, error)
- func (_Reserve *ReserveSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
- func (_Reserve *ReserveSession) LastProofHeight() (*big.Int, error)
- func (_Reserve *ReserveSession) Mint(_recipient common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_Reserve *ReserveSession) Name() (string, error)
- func (_Reserve *ReserveSession) Owner() (common.Address, error)
- func (_Reserve *ReserveSession) PostReserveProof(_message []byte, _reserveAddress []byte, _signatureKeccakHash [32]byte, ...) (*types.Transaction, error)
- func (_Reserve *ReserveSession) PriceFeed() (common.Address, error)
- func (_Reserve *ReserveSession) Proofs(arg0 *big.Int) (struct{ ... }, error)
- func (_Reserve *ReserveSession) ReserveAddress() ([]byte, error)
- func (_Reserve *ReserveSession) SetAdmin(_newAdmin common.Address) (*types.Transaction, error)
- func (_Reserve *ReserveSession) SetExchangeRate(_rate *big.Int) (*types.Transaction, error)
- func (_Reserve *ReserveSession) Symbol() (string, error)
- func (_Reserve *ReserveSession) TotalSupply() (*big.Int, error)
- func (_Reserve *ReserveSession) Transfer(_recipient common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_Reserve *ReserveSession) TransferFrom(_owner common.Address, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_Reserve *ReserveSession) TransferOwnership(_newOwner common.Address) (*types.Transaction, error)
- type ReserveTransactor
- func (_Reserve *ReserveTransactor) Approve(opts *bind.TransactOpts, _spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_Reserve *ReserveTransactor) Burn(opts *bind.TransactOpts, _amount *big.Int, _moneroAddressHash [32]byte) (*types.Transaction, error)
- func (_Reserve *ReserveTransactor) DecreaseApproval(opts *bind.TransactOpts, _spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
- func (_Reserve *ReserveTransactor) IncreaseApproval(opts *bind.TransactOpts, _spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
- func (_Reserve *ReserveTransactor) Mint(opts *bind.TransactOpts, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_Reserve *ReserveTransactor) PostReserveProof(opts *bind.TransactOpts, _message []byte, _reserveAddress []byte, ...) (*types.Transaction, error)
- func (_Reserve *ReserveTransactor) SetAdmin(opts *bind.TransactOpts, _newAdmin common.Address) (*types.Transaction, error)
- func (_Reserve *ReserveTransactor) SetExchangeRate(opts *bind.TransactOpts, _rate *big.Int) (*types.Transaction, error)
- func (_Reserve *ReserveTransactor) Transfer(opts *bind.TransactOpts, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_Reserve *ReserveTransactor) TransferFrom(opts *bind.TransactOpts, _owner common.Address, _recipient common.Address, ...) (*types.Transaction, error)
- func (_Reserve *ReserveTransactor) TransferOwnership(opts *bind.TransactOpts, _newOwner common.Address) (*types.Transaction, error)
- type ReserveTransactorRaw
- type ReserveTransactorSession
- func (_Reserve *ReserveTransactorSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_Reserve *ReserveTransactorSession) Burn(_amount *big.Int, _moneroAddressHash [32]byte) (*types.Transaction, error)
- func (_Reserve *ReserveTransactorSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
- func (_Reserve *ReserveTransactorSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
- func (_Reserve *ReserveTransactorSession) Mint(_recipient common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_Reserve *ReserveTransactorSession) PostReserveProof(_message []byte, _reserveAddress []byte, _signatureKeccakHash [32]byte, ...) (*types.Transaction, error)
- func (_Reserve *ReserveTransactorSession) SetAdmin(_newAdmin common.Address) (*types.Transaction, error)
- func (_Reserve *ReserveTransactorSession) SetExchangeRate(_rate *big.Int) (*types.Transaction, error)
- func (_Reserve *ReserveTransactorSession) Transfer(_recipient common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_Reserve *ReserveTransactorSession) TransferFrom(_owner common.Address, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_Reserve *ReserveTransactorSession) TransferOwnership(_newOwner common.Address) (*types.Transaction, error)
- type ReserveTransfer
- type ReserveTransferIterator
Constants ¶
const ReserveABI = "" /* 8564-byte string literal not displayed */
ReserveABI is the input ABI used to generate the binding from.
Variables ¶
var ReserveBin = "" /* 11140-byte string literal not displayed */
ReserveBin is the compiled bytecode used for deploying new contracts.
Functions ¶
This section is empty.
Types ¶
type Reserve ¶
type Reserve struct { ReserveCaller // Read-only binding to the contract ReserveTransactor // Write-only binding to the contract ReserveFilterer // Log filterer for contract events }
Reserve is an auto generated Go binding around an Ethereum contract.
func DeployReserve ¶
func DeployReserve(auth *bind.TransactOpts, backend bind.ContractBackend, _reserveAddress []byte) (common.Address, *types.Transaction, *Reserve, error)
DeployReserve deploys a new Ethereum contract, binding an instance of Reserve to it.
func NewReserve ¶
NewReserve creates a new instance of Reserve, bound to a specific deployed contract.
type ReserveAdminSet ¶
type ReserveAdminSet struct { Admin common.Address Raw types.Log // Blockchain specific contextual infos }
ReserveAdminSet represents a AdminSet event raised by the Reserve contract.
type ReserveAdminSetIterator ¶
type ReserveAdminSetIterator struct { Event *ReserveAdminSet // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ReserveAdminSetIterator is returned from FilterAdminSet and is used to iterate over the raw logs and unpacked data for AdminSet events raised by the Reserve contract.
func (*ReserveAdminSetIterator) Close ¶
func (it *ReserveAdminSetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ReserveAdminSetIterator) Error ¶
func (it *ReserveAdminSetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ReserveAdminSetIterator) Next ¶
func (it *ReserveAdminSetIterator) 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 ReserveApproval ¶
type ReserveApproval struct { Owner common.Address Spender common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
ReserveApproval represents a Approval event raised by the Reserve contract.
type ReserveApprovalIterator ¶
type ReserveApprovalIterator struct { Event *ReserveApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ReserveApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the Reserve contract.
func (*ReserveApprovalIterator) Close ¶
func (it *ReserveApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ReserveApprovalIterator) Error ¶
func (it *ReserveApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ReserveApprovalIterator) Next ¶
func (it *ReserveApprovalIterator) 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 ReserveCaller ¶
type ReserveCaller struct {
// contains filtered or unexported fields
}
ReserveCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewReserveCaller ¶
func NewReserveCaller(address common.Address, caller bind.ContractCaller) (*ReserveCaller, error)
NewReserveCaller creates a new read-only instance of Reserve, bound to a specific deployed contract.
func (*ReserveCaller) Admin ¶
Admin is a free data retrieval call binding the contract method 0xf851a440.
Solidity: function admin() view returns(address)
func (*ReserveCaller) Allowance ¶
func (_Reserve *ReserveCaller) Allowance(opts *bind.CallOpts, _owner common.Address, _spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address _owner, address _spender) view returns(uint256)
func (*ReserveCaller) BalanceOf ¶
func (_Reserve *ReserveCaller) BalanceOf(opts *bind.CallOpts, _holder common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _holder) view returns(uint256)
func (*ReserveCaller) Decimals ¶
func (_Reserve *ReserveCaller) Decimals(opts *bind.CallOpts) (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*ReserveCaller) ExchangeRateUSD ¶
ExchangeRateUSD is a free data retrieval call binding the contract method 0x3385fdc3.
Solidity: function exchangeRateUSD() view returns(uint256)
func (*ReserveCaller) LastProofHeight ¶
LastProofHeight is a free data retrieval call binding the contract method 0x512bcb60.
Solidity: function lastProofHeight() view returns(uint256)
func (*ReserveCaller) Name ¶
func (_Reserve *ReserveCaller) Name(opts *bind.CallOpts) (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*ReserveCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*ReserveCaller) PriceFeed ¶
PriceFeed is a free data retrieval call binding the contract method 0x741bef1a.
Solidity: function priceFeed() view returns(address)
func (*ReserveCaller) Proofs ¶
func (_Reserve *ReserveCaller) Proofs(opts *bind.CallOpts, arg0 *big.Int) (struct { SignatureKeccakHash [32]byte Message []byte ReserveAddress []byte MoneroBlockHeight *big.Int TotalSupply *big.Int }, error)
Proofs is a free data retrieval call binding the contract method 0x9ddaf5aa.
Solidity: function proofs(uint256 ) view returns(bytes32 signatureKeccakHash, bytes message, bytes reserveAddress, uint256 moneroBlockHeight, uint256 totalSupply)
func (*ReserveCaller) ReserveAddress ¶
func (_Reserve *ReserveCaller) ReserveAddress(opts *bind.CallOpts) ([]byte, error)
ReserveAddress is a free data retrieval call binding the contract method 0xf79ed94b.
Solidity: function reserveAddress() view returns(bytes)
func (*ReserveCaller) Symbol ¶
func (_Reserve *ReserveCaller) Symbol(opts *bind.CallOpts) (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*ReserveCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type ReserveCallerRaw ¶
type ReserveCallerRaw struct {
Contract *ReserveCaller // Generic read-only contract binding to access the raw methods on
}
ReserveCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ReserveCallerRaw) Call ¶
func (_Reserve *ReserveCallerRaw) 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 ReserveCallerSession ¶
type ReserveCallerSession struct { Contract *ReserveCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ReserveCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ReserveCallerSession) Admin ¶
func (_Reserve *ReserveCallerSession) Admin() (common.Address, error)
Admin is a free data retrieval call binding the contract method 0xf851a440.
Solidity: function admin() view returns(address)
func (*ReserveCallerSession) Allowance ¶
func (_Reserve *ReserveCallerSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address _owner, address _spender) view returns(uint256)
func (*ReserveCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _holder) view returns(uint256)
func (*ReserveCallerSession) Decimals ¶
func (_Reserve *ReserveCallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*ReserveCallerSession) ExchangeRateUSD ¶
func (_Reserve *ReserveCallerSession) ExchangeRateUSD() (*big.Int, error)
ExchangeRateUSD is a free data retrieval call binding the contract method 0x3385fdc3.
Solidity: function exchangeRateUSD() view returns(uint256)
func (*ReserveCallerSession) LastProofHeight ¶
func (_Reserve *ReserveCallerSession) LastProofHeight() (*big.Int, error)
LastProofHeight is a free data retrieval call binding the contract method 0x512bcb60.
Solidity: function lastProofHeight() view returns(uint256)
func (*ReserveCallerSession) Name ¶
func (_Reserve *ReserveCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*ReserveCallerSession) Owner ¶
func (_Reserve *ReserveCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*ReserveCallerSession) PriceFeed ¶
func (_Reserve *ReserveCallerSession) PriceFeed() (common.Address, error)
PriceFeed is a free data retrieval call binding the contract method 0x741bef1a.
Solidity: function priceFeed() view returns(address)
func (*ReserveCallerSession) Proofs ¶
func (_Reserve *ReserveCallerSession) Proofs(arg0 *big.Int) (struct { SignatureKeccakHash [32]byte Message []byte ReserveAddress []byte MoneroBlockHeight *big.Int TotalSupply *big.Int }, error)
Proofs is a free data retrieval call binding the contract method 0x9ddaf5aa.
Solidity: function proofs(uint256 ) view returns(bytes32 signatureKeccakHash, bytes message, bytes reserveAddress, uint256 moneroBlockHeight, uint256 totalSupply)
func (*ReserveCallerSession) ReserveAddress ¶
func (_Reserve *ReserveCallerSession) ReserveAddress() ([]byte, error)
ReserveAddress is a free data retrieval call binding the contract method 0xf79ed94b.
Solidity: function reserveAddress() view returns(bytes)
func (*ReserveCallerSession) Symbol ¶
func (_Reserve *ReserveCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*ReserveCallerSession) TotalSupply ¶
func (_Reserve *ReserveCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type ReserveCoinsBurned ¶
type ReserveCoinsBurned struct { Burner common.Address BurnAmount *big.Int MoneroAddressHash [32]byte Raw types.Log // Blockchain specific contextual infos }
ReserveCoinsBurned represents a CoinsBurned event raised by the Reserve contract.
type ReserveCoinsBurnedIterator ¶
type ReserveCoinsBurnedIterator struct { Event *ReserveCoinsBurned // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ReserveCoinsBurnedIterator is returned from FilterCoinsBurned and is used to iterate over the raw logs and unpacked data for CoinsBurned events raised by the Reserve contract.
func (*ReserveCoinsBurnedIterator) Close ¶
func (it *ReserveCoinsBurnedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ReserveCoinsBurnedIterator) Error ¶
func (it *ReserveCoinsBurnedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ReserveCoinsBurnedIterator) Next ¶
func (it *ReserveCoinsBurnedIterator) 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 ReserveCoinsMinted ¶
type ReserveCoinsMinted struct { Recipient common.Address MintAmount *big.Int Raw types.Log // Blockchain specific contextual infos }
ReserveCoinsMinted represents a CoinsMinted event raised by the Reserve contract.
type ReserveCoinsMintedIterator ¶
type ReserveCoinsMintedIterator struct { Event *ReserveCoinsMinted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ReserveCoinsMintedIterator is returned from FilterCoinsMinted and is used to iterate over the raw logs and unpacked data for CoinsMinted events raised by the Reserve contract.
func (*ReserveCoinsMintedIterator) Close ¶
func (it *ReserveCoinsMintedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ReserveCoinsMintedIterator) Error ¶
func (it *ReserveCoinsMintedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ReserveCoinsMintedIterator) Next ¶
func (it *ReserveCoinsMintedIterator) 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 ReserveFilterer ¶
type ReserveFilterer struct {
// contains filtered or unexported fields
}
ReserveFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewReserveFilterer ¶
func NewReserveFilterer(address common.Address, filterer bind.ContractFilterer) (*ReserveFilterer, error)
NewReserveFilterer creates a new log filterer instance of Reserve, bound to a specific deployed contract.
func (*ReserveFilterer) FilterAdminSet ¶
func (_Reserve *ReserveFilterer) FilterAdminSet(opts *bind.FilterOpts) (*ReserveAdminSetIterator, error)
FilterAdminSet is a free log retrieval operation binding the contract event 0x8fe72c3e0020beb3234e76ae6676fa576fbfcae600af1c4fea44784cf0db329c.
Solidity: event AdminSet(address _admin)
func (*ReserveFilterer) FilterApproval ¶
func (_Reserve *ReserveFilterer) FilterApproval(opts *bind.FilterOpts, _owner []common.Address, _spender []common.Address) (*ReserveApprovalIterator, error)
FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed _owner, address indexed _spender, uint256 _amount)
func (*ReserveFilterer) FilterCoinsBurned ¶
func (_Reserve *ReserveFilterer) FilterCoinsBurned(opts *bind.FilterOpts) (*ReserveCoinsBurnedIterator, error)
FilterCoinsBurned is a free log retrieval operation binding the contract event 0xbfe5be076e85df6616ae2ba97cc602211875bbf1c4458fd10012104b899d8f90.
Solidity: event CoinsBurned(address _burner, uint256 _burnAmount, bytes32 _moneroAddressHash)
func (*ReserveFilterer) FilterCoinsMinted ¶
func (_Reserve *ReserveFilterer) FilterCoinsMinted(opts *bind.FilterOpts, _recipient []common.Address) (*ReserveCoinsMintedIterator, error)
FilterCoinsMinted is a free log retrieval operation binding the contract event 0xc9ac6f335722ba5012b311e37c325450961c6e224ea391135b78d95118e190c9.
Solidity: event CoinsMinted(address indexed _recipient, uint256 _mintAmount)
func (*ReserveFilterer) FilterOwnershipTransferred ¶
func (_Reserve *ReserveFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts) (*ReserveOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address _previousOwner, address _newOwner)
func (*ReserveFilterer) FilterProofSubmitted ¶
func (_Reserve *ReserveFilterer) FilterProofSubmitted(opts *bind.FilterOpts) (*ReserveProofSubmittedIterator, error)
FilterProofSubmitted is a free log retrieval operation binding the contract event 0x3c0e85acf452e867ee09c9151d2cf45fe6d6a729271347e89a9a6b91b081f31d.
Solidity: event ProofSubmitted(bytes32 _signatureKeccakHash, uint256 _blockNumber)
func (*ReserveFilterer) FilterTransfer ¶
func (_Reserve *ReserveFilterer) FilterTransfer(opts *bind.FilterOpts, _sender []common.Address, _recipient []common.Address) (*ReserveTransferIterator, error)
FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed _sender, address indexed _recipient, uint256 _amount)
func (*ReserveFilterer) ParseAdminSet ¶
func (_Reserve *ReserveFilterer) ParseAdminSet(log types.Log) (*ReserveAdminSet, error)
ParseAdminSet is a log parse operation binding the contract event 0x8fe72c3e0020beb3234e76ae6676fa576fbfcae600af1c4fea44784cf0db329c.
Solidity: event AdminSet(address _admin)
func (*ReserveFilterer) ParseApproval ¶
func (_Reserve *ReserveFilterer) ParseApproval(log types.Log) (*ReserveApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed _owner, address indexed _spender, uint256 _amount)
func (*ReserveFilterer) ParseCoinsBurned ¶
func (_Reserve *ReserveFilterer) ParseCoinsBurned(log types.Log) (*ReserveCoinsBurned, error)
ParseCoinsBurned is a log parse operation binding the contract event 0xbfe5be076e85df6616ae2ba97cc602211875bbf1c4458fd10012104b899d8f90.
Solidity: event CoinsBurned(address _burner, uint256 _burnAmount, bytes32 _moneroAddressHash)
func (*ReserveFilterer) ParseCoinsMinted ¶
func (_Reserve *ReserveFilterer) ParseCoinsMinted(log types.Log) (*ReserveCoinsMinted, error)
ParseCoinsMinted is a log parse operation binding the contract event 0xc9ac6f335722ba5012b311e37c325450961c6e224ea391135b78d95118e190c9.
Solidity: event CoinsMinted(address indexed _recipient, uint256 _mintAmount)
func (*ReserveFilterer) ParseOwnershipTransferred ¶
func (_Reserve *ReserveFilterer) ParseOwnershipTransferred(log types.Log) (*ReserveOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address _previousOwner, address _newOwner)
func (*ReserveFilterer) ParseProofSubmitted ¶
func (_Reserve *ReserveFilterer) ParseProofSubmitted(log types.Log) (*ReserveProofSubmitted, error)
ParseProofSubmitted is a log parse operation binding the contract event 0x3c0e85acf452e867ee09c9151d2cf45fe6d6a729271347e89a9a6b91b081f31d.
Solidity: event ProofSubmitted(bytes32 _signatureKeccakHash, uint256 _blockNumber)
func (*ReserveFilterer) ParseTransfer ¶
func (_Reserve *ReserveFilterer) ParseTransfer(log types.Log) (*ReserveTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed _sender, address indexed _recipient, uint256 _amount)
func (*ReserveFilterer) WatchAdminSet ¶
func (_Reserve *ReserveFilterer) WatchAdminSet(opts *bind.WatchOpts, sink chan<- *ReserveAdminSet) (event.Subscription, error)
WatchAdminSet is a free log subscription operation binding the contract event 0x8fe72c3e0020beb3234e76ae6676fa576fbfcae600af1c4fea44784cf0db329c.
Solidity: event AdminSet(address _admin)
func (*ReserveFilterer) WatchApproval ¶
func (_Reserve *ReserveFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ReserveApproval, _owner []common.Address, _spender []common.Address) (event.Subscription, error)
WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed _owner, address indexed _spender, uint256 _amount)
func (*ReserveFilterer) WatchCoinsBurned ¶
func (_Reserve *ReserveFilterer) WatchCoinsBurned(opts *bind.WatchOpts, sink chan<- *ReserveCoinsBurned) (event.Subscription, error)
WatchCoinsBurned is a free log subscription operation binding the contract event 0xbfe5be076e85df6616ae2ba97cc602211875bbf1c4458fd10012104b899d8f90.
Solidity: event CoinsBurned(address _burner, uint256 _burnAmount, bytes32 _moneroAddressHash)
func (*ReserveFilterer) WatchCoinsMinted ¶
func (_Reserve *ReserveFilterer) WatchCoinsMinted(opts *bind.WatchOpts, sink chan<- *ReserveCoinsMinted, _recipient []common.Address) (event.Subscription, error)
WatchCoinsMinted is a free log subscription operation binding the contract event 0xc9ac6f335722ba5012b311e37c325450961c6e224ea391135b78d95118e190c9.
Solidity: event CoinsMinted(address indexed _recipient, uint256 _mintAmount)
func (*ReserveFilterer) WatchOwnershipTransferred ¶
func (_Reserve *ReserveFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ReserveOwnershipTransferred) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address _previousOwner, address _newOwner)
func (*ReserveFilterer) WatchProofSubmitted ¶
func (_Reserve *ReserveFilterer) WatchProofSubmitted(opts *bind.WatchOpts, sink chan<- *ReserveProofSubmitted) (event.Subscription, error)
WatchProofSubmitted is a free log subscription operation binding the contract event 0x3c0e85acf452e867ee09c9151d2cf45fe6d6a729271347e89a9a6b91b081f31d.
Solidity: event ProofSubmitted(bytes32 _signatureKeccakHash, uint256 _blockNumber)
func (*ReserveFilterer) WatchTransfer ¶
func (_Reserve *ReserveFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ReserveTransfer, _sender []common.Address, _recipient []common.Address) (event.Subscription, error)
WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed _sender, address indexed _recipient, uint256 _amount)
type ReserveOwnershipTransferred ¶
type ReserveOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
ReserveOwnershipTransferred represents a OwnershipTransferred event raised by the Reserve contract.
type ReserveOwnershipTransferredIterator ¶
type ReserveOwnershipTransferredIterator struct { Event *ReserveOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ReserveOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Reserve contract.
func (*ReserveOwnershipTransferredIterator) Close ¶
func (it *ReserveOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ReserveOwnershipTransferredIterator) Error ¶
func (it *ReserveOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ReserveOwnershipTransferredIterator) Next ¶
func (it *ReserveOwnershipTransferredIterator) 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 ReserveProofSubmitted ¶
type ReserveProofSubmitted struct { SignatureKeccakHash [32]byte BlockNumber *big.Int Raw types.Log // Blockchain specific contextual infos }
ReserveProofSubmitted represents a ProofSubmitted event raised by the Reserve contract.
type ReserveProofSubmittedIterator ¶
type ReserveProofSubmittedIterator struct { Event *ReserveProofSubmitted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ReserveProofSubmittedIterator is returned from FilterProofSubmitted and is used to iterate over the raw logs and unpacked data for ProofSubmitted events raised by the Reserve contract.
func (*ReserveProofSubmittedIterator) Close ¶
func (it *ReserveProofSubmittedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ReserveProofSubmittedIterator) Error ¶
func (it *ReserveProofSubmittedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ReserveProofSubmittedIterator) Next ¶
func (it *ReserveProofSubmittedIterator) 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 ReserveRaw ¶
type ReserveRaw struct {
Contract *Reserve // Generic contract binding to access the raw methods on
}
ReserveRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ReserveRaw) Call ¶
func (_Reserve *ReserveRaw) 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 (*ReserveRaw) Transact ¶
func (_Reserve *ReserveRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ReserveRaw) Transfer ¶
func (_Reserve *ReserveRaw) 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 ReserveSession ¶
type ReserveSession struct { Contract *Reserve // 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 }
ReserveSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ReserveSession) Admin ¶
func (_Reserve *ReserveSession) Admin() (common.Address, error)
Admin is a free data retrieval call binding the contract method 0xf851a440.
Solidity: function admin() view returns(address)
func (*ReserveSession) Allowance ¶
func (_Reserve *ReserveSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address _owner, address _spender) view returns(uint256)
func (*ReserveSession) Approve ¶
func (_Reserve *ReserveSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address _spender, uint256 _value) returns(bool)
func (*ReserveSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _holder) view returns(uint256)
func (*ReserveSession) Burn ¶
func (_Reserve *ReserveSession) Burn(_amount *big.Int, _moneroAddressHash [32]byte) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0xbcf64e05.
Solidity: function burn(uint256 _amount, bytes32 _moneroAddressHash) returns(bool)
func (*ReserveSession) Decimals ¶
func (_Reserve *ReserveSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*ReserveSession) DecreaseApproval ¶
func (_Reserve *ReserveSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.
Solidity: function decreaseApproval(address _spender, uint256 _subtractedValue) returns(bool)
func (*ReserveSession) ExchangeRateUSD ¶
func (_Reserve *ReserveSession) ExchangeRateUSD() (*big.Int, error)
ExchangeRateUSD is a free data retrieval call binding the contract method 0x3385fdc3.
Solidity: function exchangeRateUSD() view returns(uint256)
func (*ReserveSession) IncreaseApproval ¶
func (_Reserve *ReserveSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.
Solidity: function increaseApproval(address _spender, uint256 _addedValue) returns(bool)
func (*ReserveSession) LastProofHeight ¶
func (_Reserve *ReserveSession) LastProofHeight() (*big.Int, error)
LastProofHeight is a free data retrieval call binding the contract method 0x512bcb60.
Solidity: function lastProofHeight() view returns(uint256)
func (*ReserveSession) Mint ¶
func (_Reserve *ReserveSession) Mint(_recipient common.Address, _amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address _recipient, uint256 _amount) returns(bool)
func (*ReserveSession) Name ¶
func (_Reserve *ReserveSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*ReserveSession) Owner ¶
func (_Reserve *ReserveSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*ReserveSession) PostReserveProof ¶
func (_Reserve *ReserveSession) PostReserveProof(_message []byte, _reserveAddress []byte, _signatureKeccakHash [32]byte, _moneroBlockHeight *big.Int) (*types.Transaction, error)
PostReserveProof is a paid mutator transaction binding the contract method 0x8522da07.
Solidity: function postReserveProof(bytes _message, bytes _reserveAddress, bytes32 _signatureKeccakHash, uint256 _moneroBlockHeight) returns(bool)
func (*ReserveSession) PriceFeed ¶
func (_Reserve *ReserveSession) PriceFeed() (common.Address, error)
PriceFeed is a free data retrieval call binding the contract method 0x741bef1a.
Solidity: function priceFeed() view returns(address)
func (*ReserveSession) Proofs ¶
func (_Reserve *ReserveSession) Proofs(arg0 *big.Int) (struct { SignatureKeccakHash [32]byte Message []byte ReserveAddress []byte MoneroBlockHeight *big.Int TotalSupply *big.Int }, error)
Proofs is a free data retrieval call binding the contract method 0x9ddaf5aa.
Solidity: function proofs(uint256 ) view returns(bytes32 signatureKeccakHash, bytes message, bytes reserveAddress, uint256 moneroBlockHeight, uint256 totalSupply)
func (*ReserveSession) ReserveAddress ¶
func (_Reserve *ReserveSession) ReserveAddress() ([]byte, error)
ReserveAddress is a free data retrieval call binding the contract method 0xf79ed94b.
Solidity: function reserveAddress() view returns(bytes)
func (*ReserveSession) SetAdmin ¶
func (_Reserve *ReserveSession) SetAdmin(_newAdmin common.Address) (*types.Transaction, error)
SetAdmin is a paid mutator transaction binding the contract method 0x704b6c02.
Solidity: function setAdmin(address _newAdmin) returns(bool)
func (*ReserveSession) SetExchangeRate ¶
func (_Reserve *ReserveSession) SetExchangeRate(_rate *big.Int) (*types.Transaction, error)
SetExchangeRate is a paid mutator transaction binding the contract method 0xdb068e0e.
Solidity: function setExchangeRate(uint256 _rate) returns(bool)
func (*ReserveSession) Symbol ¶
func (_Reserve *ReserveSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*ReserveSession) TotalSupply ¶
func (_Reserve *ReserveSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*ReserveSession) Transfer ¶
func (_Reserve *ReserveSession) Transfer(_recipient common.Address, _amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address _recipient, uint256 _amount) returns(bool)
func (*ReserveSession) TransferFrom ¶
func (_Reserve *ReserveSession) TransferFrom(_owner common.Address, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address _owner, address _recipient, uint256 _amount) returns(bool)
func (*ReserveSession) TransferOwnership ¶
func (_Reserve *ReserveSession) TransferOwnership(_newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address _newOwner) returns(bool)
type ReserveTransactor ¶
type ReserveTransactor struct {
// contains filtered or unexported fields
}
ReserveTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewReserveTransactor ¶
func NewReserveTransactor(address common.Address, transactor bind.ContractTransactor) (*ReserveTransactor, error)
NewReserveTransactor creates a new write-only instance of Reserve, bound to a specific deployed contract.
func (*ReserveTransactor) Approve ¶
func (_Reserve *ReserveTransactor) Approve(opts *bind.TransactOpts, _spender common.Address, _value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address _spender, uint256 _value) returns(bool)
func (*ReserveTransactor) Burn ¶
func (_Reserve *ReserveTransactor) Burn(opts *bind.TransactOpts, _amount *big.Int, _moneroAddressHash [32]byte) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0xbcf64e05.
Solidity: function burn(uint256 _amount, bytes32 _moneroAddressHash) returns(bool)
func (*ReserveTransactor) DecreaseApproval ¶
func (_Reserve *ReserveTransactor) DecreaseApproval(opts *bind.TransactOpts, _spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.
Solidity: function decreaseApproval(address _spender, uint256 _subtractedValue) returns(bool)
func (*ReserveTransactor) IncreaseApproval ¶
func (_Reserve *ReserveTransactor) IncreaseApproval(opts *bind.TransactOpts, _spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.
Solidity: function increaseApproval(address _spender, uint256 _addedValue) returns(bool)
func (*ReserveTransactor) Mint ¶
func (_Reserve *ReserveTransactor) Mint(opts *bind.TransactOpts, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address _recipient, uint256 _amount) returns(bool)
func (*ReserveTransactor) PostReserveProof ¶
func (_Reserve *ReserveTransactor) PostReserveProof(opts *bind.TransactOpts, _message []byte, _reserveAddress []byte, _signatureKeccakHash [32]byte, _moneroBlockHeight *big.Int) (*types.Transaction, error)
PostReserveProof is a paid mutator transaction binding the contract method 0x8522da07.
Solidity: function postReserveProof(bytes _message, bytes _reserveAddress, bytes32 _signatureKeccakHash, uint256 _moneroBlockHeight) returns(bool)
func (*ReserveTransactor) SetAdmin ¶
func (_Reserve *ReserveTransactor) SetAdmin(opts *bind.TransactOpts, _newAdmin common.Address) (*types.Transaction, error)
SetAdmin is a paid mutator transaction binding the contract method 0x704b6c02.
Solidity: function setAdmin(address _newAdmin) returns(bool)
func (*ReserveTransactor) SetExchangeRate ¶
func (_Reserve *ReserveTransactor) SetExchangeRate(opts *bind.TransactOpts, _rate *big.Int) (*types.Transaction, error)
SetExchangeRate is a paid mutator transaction binding the contract method 0xdb068e0e.
Solidity: function setExchangeRate(uint256 _rate) returns(bool)
func (*ReserveTransactor) Transfer ¶
func (_Reserve *ReserveTransactor) Transfer(opts *bind.TransactOpts, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address _recipient, uint256 _amount) returns(bool)
func (*ReserveTransactor) TransferFrom ¶
func (_Reserve *ReserveTransactor) TransferFrom(opts *bind.TransactOpts, _owner common.Address, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address _owner, address _recipient, uint256 _amount) returns(bool)
func (*ReserveTransactor) TransferOwnership ¶
func (_Reserve *ReserveTransactor) 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(bool)
type ReserveTransactorRaw ¶
type ReserveTransactorRaw struct {
Contract *ReserveTransactor // Generic write-only contract binding to access the raw methods on
}
ReserveTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ReserveTransactorRaw) Transact ¶
func (_Reserve *ReserveTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ReserveTransactorRaw) Transfer ¶
func (_Reserve *ReserveTransactorRaw) 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 ReserveTransactorSession ¶
type ReserveTransactorSession struct { Contract *ReserveTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ReserveTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ReserveTransactorSession) Approve ¶
func (_Reserve *ReserveTransactorSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address _spender, uint256 _value) returns(bool)
func (*ReserveTransactorSession) Burn ¶
func (_Reserve *ReserveTransactorSession) Burn(_amount *big.Int, _moneroAddressHash [32]byte) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0xbcf64e05.
Solidity: function burn(uint256 _amount, bytes32 _moneroAddressHash) returns(bool)
func (*ReserveTransactorSession) DecreaseApproval ¶
func (_Reserve *ReserveTransactorSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.
Solidity: function decreaseApproval(address _spender, uint256 _subtractedValue) returns(bool)
func (*ReserveTransactorSession) IncreaseApproval ¶
func (_Reserve *ReserveTransactorSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.
Solidity: function increaseApproval(address _spender, uint256 _addedValue) returns(bool)
func (*ReserveTransactorSession) Mint ¶
func (_Reserve *ReserveTransactorSession) Mint(_recipient common.Address, _amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address _recipient, uint256 _amount) returns(bool)
func (*ReserveTransactorSession) PostReserveProof ¶
func (_Reserve *ReserveTransactorSession) PostReserveProof(_message []byte, _reserveAddress []byte, _signatureKeccakHash [32]byte, _moneroBlockHeight *big.Int) (*types.Transaction, error)
PostReserveProof is a paid mutator transaction binding the contract method 0x8522da07.
Solidity: function postReserveProof(bytes _message, bytes _reserveAddress, bytes32 _signatureKeccakHash, uint256 _moneroBlockHeight) returns(bool)
func (*ReserveTransactorSession) SetAdmin ¶
func (_Reserve *ReserveTransactorSession) SetAdmin(_newAdmin common.Address) (*types.Transaction, error)
SetAdmin is a paid mutator transaction binding the contract method 0x704b6c02.
Solidity: function setAdmin(address _newAdmin) returns(bool)
func (*ReserveTransactorSession) SetExchangeRate ¶
func (_Reserve *ReserveTransactorSession) SetExchangeRate(_rate *big.Int) (*types.Transaction, error)
SetExchangeRate is a paid mutator transaction binding the contract method 0xdb068e0e.
Solidity: function setExchangeRate(uint256 _rate) returns(bool)
func (*ReserveTransactorSession) Transfer ¶
func (_Reserve *ReserveTransactorSession) Transfer(_recipient common.Address, _amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address _recipient, uint256 _amount) returns(bool)
func (*ReserveTransactorSession) TransferFrom ¶
func (_Reserve *ReserveTransactorSession) TransferFrom(_owner common.Address, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address _owner, address _recipient, uint256 _amount) returns(bool)
func (*ReserveTransactorSession) TransferOwnership ¶
func (_Reserve *ReserveTransactorSession) TransferOwnership(_newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address _newOwner) returns(bool)
type ReserveTransfer ¶
type ReserveTransfer struct { Sender common.Address Recipient common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
ReserveTransfer represents a Transfer event raised by the Reserve contract.
type ReserveTransferIterator ¶
type ReserveTransferIterator struct { Event *ReserveTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ReserveTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the Reserve contract.
func (*ReserveTransferIterator) Close ¶
func (it *ReserveTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ReserveTransferIterator) Error ¶
func (it *ReserveTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ReserveTransferIterator) Next ¶
func (it *ReserveTransferIterator) 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.