Documentation ¶
Index ¶
- Constants
- Variables
- type Approval
- func (*Approval) Descriptor() ([]byte, []int)deprecated
- func (x *Approval) GetOwner() []byte
- func (x *Approval) GetSpender() []byte
- func (x *Approval) GetTs() *timestamppb.Timestamp
- func (x *Approval) GetValue() []byte
- func (*Approval) ProtoMessage()
- func (x *Approval) ProtoReflect() protoreflect.Message
- func (x *Approval) Reset()
- func (x *Approval) String() string
- type Burn
- type Mint
- type MintFinished
- type OwnershipRenounced
- func (*OwnershipRenounced) Descriptor() ([]byte, []int)deprecated
- func (x *OwnershipRenounced) GetPreviousOwner() []byte
- func (x *OwnershipRenounced) GetTs() *timestamppb.Timestamp
- func (*OwnershipRenounced) ProtoMessage()
- func (x *OwnershipRenounced) ProtoReflect() protoreflect.Message
- func (x *OwnershipRenounced) Reset()
- func (x *OwnershipRenounced) String() string
- type OwnershipTransferred
- func (*OwnershipTransferred) Descriptor() ([]byte, []int)deprecated
- func (x *OwnershipTransferred) GetNewOwner() []byte
- func (x *OwnershipTransferred) GetPreviousOwner() []byte
- func (x *OwnershipTransferred) GetTs() *timestamppb.Timestamp
- func (*OwnershipTransferred) ProtoMessage()
- func (x *OwnershipTransferred) ProtoReflect() protoreflect.Message
- func (x *OwnershipTransferred) Reset()
- func (x *OwnershipTransferred) String() string
- type Pause
- type SmartContract
- type Transfer
- func (*Transfer) Descriptor() ([]byte, []int)deprecated
- func (x *Transfer) GetFrom() []byte
- func (x *Transfer) GetTo() []byte
- func (x *Transfer) GetTs() *timestamppb.Timestamp
- func (x *Transfer) GetValue() []byte
- func (*Transfer) ProtoMessage()
- func (x *Transfer) ProtoReflect() protoreflect.Message
- func (x *Transfer) Reset()
- func (x *Transfer) String() string
- type Unpause
- type WBTC
- type WBTCApproval
- type WBTCApprovalIterator
- type WBTCBurn
- type WBTCBurnIterator
- type WBTCCaller
- func (_WBTC *WBTCCaller) Allowance(opts *bind.CallOpts, _owner common.Address, _spender common.Address) (*big.Int, error)
- func (_WBTC *WBTCCaller) BalanceOf(opts *bind.CallOpts, _owner common.Address) (*big.Int, error)
- func (_WBTC *WBTCCaller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_WBTC *WBTCCaller) MintingFinished(opts *bind.CallOpts) (bool, error)
- func (_WBTC *WBTCCaller) Name(opts *bind.CallOpts) (string, error)
- func (_WBTC *WBTCCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_WBTC *WBTCCaller) Paused(opts *bind.CallOpts) (bool, error)
- func (_WBTC *WBTCCaller) PendingOwner(opts *bind.CallOpts) (common.Address, error)
- func (_WBTC *WBTCCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_WBTC *WBTCCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type WBTCCallerRaw
- type WBTCCallerSession
- func (_WBTC *WBTCCallerSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
- func (_WBTC *WBTCCallerSession) BalanceOf(_owner common.Address) (*big.Int, error)
- func (_WBTC *WBTCCallerSession) Decimals() (uint8, error)
- func (_WBTC *WBTCCallerSession) MintingFinished() (bool, error)
- func (_WBTC *WBTCCallerSession) Name() (string, error)
- func (_WBTC *WBTCCallerSession) Owner() (common.Address, error)
- func (_WBTC *WBTCCallerSession) Paused() (bool, error)
- func (_WBTC *WBTCCallerSession) PendingOwner() (common.Address, error)
- func (_WBTC *WBTCCallerSession) Symbol() (string, error)
- func (_WBTC *WBTCCallerSession) TotalSupply() (*big.Int, error)
- type WBTCFilterer
- func (_WBTC *WBTCFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*WBTCApprovalIterator, error)
- func (_WBTC *WBTCFilterer) FilterBurn(opts *bind.FilterOpts, burner []common.Address) (*WBTCBurnIterator, error)
- func (_WBTC *WBTCFilterer) FilterMint(opts *bind.FilterOpts, to []common.Address) (*WBTCMintIterator, error)
- func (_WBTC *WBTCFilterer) FilterMintFinished(opts *bind.FilterOpts) (*WBTCMintFinishedIterator, error)
- func (_WBTC *WBTCFilterer) FilterOwnershipRenounced(opts *bind.FilterOpts, previousOwner []common.Address) (*WBTCOwnershipRenouncedIterator, error)
- func (_WBTC *WBTCFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*WBTCOwnershipTransferredIterator, error)
- func (_WBTC *WBTCFilterer) FilterPause(opts *bind.FilterOpts) (*WBTCPauseIterator, error)
- func (_WBTC *WBTCFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*WBTCTransferIterator, error)
- func (_WBTC *WBTCFilterer) FilterUnpause(opts *bind.FilterOpts) (*WBTCUnpauseIterator, error)
- func (_WBTC *WBTCFilterer) ParseApproval(log types.Log) (*WBTCApproval, error)
- func (_WBTC *WBTCFilterer) ParseBurn(log types.Log) (*WBTCBurn, error)
- func (_WBTC *WBTCFilterer) ParseMint(log types.Log) (*WBTCMint, error)
- func (_WBTC *WBTCFilterer) ParseMintFinished(log types.Log) (*WBTCMintFinished, error)
- func (_WBTC *WBTCFilterer) ParseOwnershipRenounced(log types.Log) (*WBTCOwnershipRenounced, error)
- func (_WBTC *WBTCFilterer) ParseOwnershipTransferred(log types.Log) (*WBTCOwnershipTransferred, error)
- func (_WBTC *WBTCFilterer) ParsePause(log types.Log) (*WBTCPause, error)
- func (_WBTC *WBTCFilterer) ParseTransfer(log types.Log) (*WBTCTransfer, error)
- func (_WBTC *WBTCFilterer) ParseUnpause(log types.Log) (*WBTCUnpause, error)
- func (_WBTC *WBTCFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *WBTCApproval, owner []common.Address, ...) (event.Subscription, error)
- func (_WBTC *WBTCFilterer) WatchBurn(opts *bind.WatchOpts, sink chan<- *WBTCBurn, burner []common.Address) (event.Subscription, error)
- func (_WBTC *WBTCFilterer) WatchMint(opts *bind.WatchOpts, sink chan<- *WBTCMint, to []common.Address) (event.Subscription, error)
- func (_WBTC *WBTCFilterer) WatchMintFinished(opts *bind.WatchOpts, sink chan<- *WBTCMintFinished) (event.Subscription, error)
- func (_WBTC *WBTCFilterer) WatchOwnershipRenounced(opts *bind.WatchOpts, sink chan<- *WBTCOwnershipRenounced, ...) (event.Subscription, error)
- func (_WBTC *WBTCFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *WBTCOwnershipTransferred, ...) (event.Subscription, error)
- func (_WBTC *WBTCFilterer) WatchPause(opts *bind.WatchOpts, sink chan<- *WBTCPause) (event.Subscription, error)
- func (_WBTC *WBTCFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *WBTCTransfer, from []common.Address, ...) (event.Subscription, error)
- func (_WBTC *WBTCFilterer) WatchUnpause(opts *bind.WatchOpts, sink chan<- *WBTCUnpause) (event.Subscription, error)
- type WBTCMint
- type WBTCMintFinished
- type WBTCMintFinishedIterator
- type WBTCMintIterator
- type WBTCOwnershipRenounced
- type WBTCOwnershipRenouncedIterator
- type WBTCOwnershipTransferred
- type WBTCOwnershipTransferredIterator
- type WBTCPause
- type WBTCPauseIterator
- type WBTCRaw
- func (_WBTC *WBTCRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_WBTC *WBTCRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_WBTC *WBTCRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type WBTCSession
- func (_WBTC *WBTCSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
- func (_WBTC *WBTCSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_WBTC *WBTCSession) BalanceOf(_owner common.Address) (*big.Int, error)
- func (_WBTC *WBTCSession) Burn(value *big.Int) (*types.Transaction, error)
- func (_WBTC *WBTCSession) ClaimOwnership() (*types.Transaction, error)
- func (_WBTC *WBTCSession) Decimals() (uint8, error)
- func (_WBTC *WBTCSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
- func (_WBTC *WBTCSession) FinishMinting() (*types.Transaction, error)
- func (_WBTC *WBTCSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
- func (_WBTC *WBTCSession) Mint(_to common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_WBTC *WBTCSession) MintingFinished() (bool, error)
- func (_WBTC *WBTCSession) Name() (string, error)
- func (_WBTC *WBTCSession) Owner() (common.Address, error)
- func (_WBTC *WBTCSession) Pause() (*types.Transaction, error)
- func (_WBTC *WBTCSession) Paused() (bool, error)
- func (_WBTC *WBTCSession) PendingOwner() (common.Address, error)
- func (_WBTC *WBTCSession) ReclaimToken(_token common.Address) (*types.Transaction, error)
- func (_WBTC *WBTCSession) RenounceOwnership() (*types.Transaction, error)
- func (_WBTC *WBTCSession) Symbol() (string, error)
- func (_WBTC *WBTCSession) TotalSupply() (*big.Int, error)
- func (_WBTC *WBTCSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_WBTC *WBTCSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_WBTC *WBTCSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_WBTC *WBTCSession) Unpause() (*types.Transaction, error)
- type WBTCTransactor
- func (_WBTC *WBTCTransactor) Approve(opts *bind.TransactOpts, _spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_WBTC *WBTCTransactor) Burn(opts *bind.TransactOpts, value *big.Int) (*types.Transaction, error)
- func (_WBTC *WBTCTransactor) ClaimOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_WBTC *WBTCTransactor) DecreaseApproval(opts *bind.TransactOpts, _spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
- func (_WBTC *WBTCTransactor) FinishMinting(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_WBTC *WBTCTransactor) IncreaseApproval(opts *bind.TransactOpts, _spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
- func (_WBTC *WBTCTransactor) Mint(opts *bind.TransactOpts, _to common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_WBTC *WBTCTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_WBTC *WBTCTransactor) ReclaimToken(opts *bind.TransactOpts, _token common.Address) (*types.Transaction, error)
- func (_WBTC *WBTCTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_WBTC *WBTCTransactor) Transfer(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_WBTC *WBTCTransactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, ...) (*types.Transaction, error)
- func (_WBTC *WBTCTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_WBTC *WBTCTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)
- type WBTCTransactorRaw
- type WBTCTransactorSession
- func (_WBTC *WBTCTransactorSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_WBTC *WBTCTransactorSession) Burn(value *big.Int) (*types.Transaction, error)
- func (_WBTC *WBTCTransactorSession) ClaimOwnership() (*types.Transaction, error)
- func (_WBTC *WBTCTransactorSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
- func (_WBTC *WBTCTransactorSession) FinishMinting() (*types.Transaction, error)
- func (_WBTC *WBTCTransactorSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
- func (_WBTC *WBTCTransactorSession) Mint(_to common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_WBTC *WBTCTransactorSession) Pause() (*types.Transaction, error)
- func (_WBTC *WBTCTransactorSession) ReclaimToken(_token common.Address) (*types.Transaction, error)
- func (_WBTC *WBTCTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_WBTC *WBTCTransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_WBTC *WBTCTransactorSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_WBTC *WBTCTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_WBTC *WBTCTransactorSession) Unpause() (*types.Transaction, error)
- type WBTCTransfer
- type WBTCTransferIterator
- type WBTCUnpause
- type WBTCUnpauseIterator
Constants ¶
const WBTCABI = "" /* 6408-byte string literal not displayed */
WBTCABI is the input ABI used to generate the binding from.
Variables ¶
var File_WBTC_WBTC_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Approval ¶
type Approval struct { Ts *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"` Owner []byte `protobuf:"bytes,2,opt,name=Owner,proto3" json:"Owner,omitempty"` // address Spender []byte `protobuf:"bytes,3,opt,name=Spender,proto3" json:"Spender,omitempty"` // address Value []byte `protobuf:"bytes,4,opt,name=Value,proto3" json:"Value,omitempty"` // uint256 // contains filtered or unexported fields }
func (*Approval) Descriptor
deprecated
func (*Approval) GetSpender ¶
func (*Approval) GetTs ¶
func (x *Approval) GetTs() *timestamppb.Timestamp
func (*Approval) ProtoMessage ¶
func (*Approval) ProtoMessage()
func (*Approval) ProtoReflect ¶
func (x *Approval) ProtoReflect() protoreflect.Message
type Burn ¶
type Burn struct { Ts *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"` Burner []byte `protobuf:"bytes,2,opt,name=Burner,proto3" json:"Burner,omitempty"` // address Value []byte `protobuf:"bytes,3,opt,name=Value,proto3" json:"Value,omitempty"` // uint256 // contains filtered or unexported fields }
func (*Burn) Descriptor
deprecated
func (*Burn) GetTs ¶
func (x *Burn) GetTs() *timestamppb.Timestamp
func (*Burn) ProtoMessage ¶
func (*Burn) ProtoMessage()
func (*Burn) ProtoReflect ¶
func (x *Burn) ProtoReflect() protoreflect.Message
type Mint ¶
type Mint struct { Ts *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"` To []byte `protobuf:"bytes,2,opt,name=To,proto3" json:"To,omitempty"` // address Amount []byte `protobuf:"bytes,3,opt,name=Amount,proto3" json:"Amount,omitempty"` // uint256 // contains filtered or unexported fields }
func (*Mint) Descriptor
deprecated
func (*Mint) GetTs ¶
func (x *Mint) GetTs() *timestamppb.Timestamp
func (*Mint) ProtoMessage ¶
func (*Mint) ProtoMessage()
func (*Mint) ProtoReflect ¶
func (x *Mint) ProtoReflect() protoreflect.Message
type MintFinished ¶
type MintFinished struct { Ts *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"` // contains filtered or unexported fields }
func (*MintFinished) Descriptor
deprecated
func (*MintFinished) Descriptor() ([]byte, []int)
Deprecated: Use MintFinished.ProtoReflect.Descriptor instead.
func (*MintFinished) GetTs ¶
func (x *MintFinished) GetTs() *timestamppb.Timestamp
func (*MintFinished) ProtoMessage ¶
func (*MintFinished) ProtoMessage()
func (*MintFinished) ProtoReflect ¶
func (x *MintFinished) ProtoReflect() protoreflect.Message
func (*MintFinished) Reset ¶
func (x *MintFinished) Reset()
func (*MintFinished) String ¶
func (x *MintFinished) String() string
type OwnershipRenounced ¶
type OwnershipRenounced struct { Ts *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"` PreviousOwner []byte `protobuf:"bytes,2,opt,name=PreviousOwner,proto3" json:"PreviousOwner,omitempty"` // address // contains filtered or unexported fields }
func (*OwnershipRenounced) Descriptor
deprecated
func (*OwnershipRenounced) Descriptor() ([]byte, []int)
Deprecated: Use OwnershipRenounced.ProtoReflect.Descriptor instead.
func (*OwnershipRenounced) GetPreviousOwner ¶
func (x *OwnershipRenounced) GetPreviousOwner() []byte
func (*OwnershipRenounced) GetTs ¶
func (x *OwnershipRenounced) GetTs() *timestamppb.Timestamp
func (*OwnershipRenounced) ProtoMessage ¶
func (*OwnershipRenounced) ProtoMessage()
func (*OwnershipRenounced) ProtoReflect ¶
func (x *OwnershipRenounced) ProtoReflect() protoreflect.Message
func (*OwnershipRenounced) Reset ¶
func (x *OwnershipRenounced) Reset()
func (*OwnershipRenounced) String ¶
func (x *OwnershipRenounced) String() string
type OwnershipTransferred ¶
type OwnershipTransferred struct { Ts *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"` PreviousOwner []byte `protobuf:"bytes,2,opt,name=PreviousOwner,proto3" json:"PreviousOwner,omitempty"` // address NewOwner []byte `protobuf:"bytes,3,opt,name=NewOwner,proto3" json:"NewOwner,omitempty"` // address // contains filtered or unexported fields }
func (*OwnershipTransferred) Descriptor
deprecated
func (*OwnershipTransferred) Descriptor() ([]byte, []int)
Deprecated: Use OwnershipTransferred.ProtoReflect.Descriptor instead.
func (*OwnershipTransferred) GetNewOwner ¶
func (x *OwnershipTransferred) GetNewOwner() []byte
func (*OwnershipTransferred) GetPreviousOwner ¶
func (x *OwnershipTransferred) GetPreviousOwner() []byte
func (*OwnershipTransferred) GetTs ¶
func (x *OwnershipTransferred) GetTs() *timestamppb.Timestamp
func (*OwnershipTransferred) ProtoMessage ¶
func (*OwnershipTransferred) ProtoMessage()
func (*OwnershipTransferred) ProtoReflect ¶
func (x *OwnershipTransferred) ProtoReflect() protoreflect.Message
func (*OwnershipTransferred) Reset ¶
func (x *OwnershipTransferred) Reset()
func (*OwnershipTransferred) String ¶
func (x *OwnershipTransferred) String() string
type Pause ¶
type Pause struct { Ts *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"` // contains filtered or unexported fields }
func (*Pause) Descriptor
deprecated
func (*Pause) GetTs ¶
func (x *Pause) GetTs() *timestamppb.Timestamp
func (*Pause) ProtoMessage ¶
func (*Pause) ProtoMessage()
func (*Pause) ProtoReflect ¶
func (x *Pause) ProtoReflect() protoreflect.Message
type SmartContract ¶
type SmartContract struct{}
func (*SmartContract) Message ¶
func (sc *SmartContract) Message(eventName string, contractAbi *abi.ABI, vLog types.Log, timestamp *timestamppb.Timestamp) protoreflect.ProtoMessage
type Transfer ¶
type Transfer struct { Ts *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"` From []byte `protobuf:"bytes,2,opt,name=From,proto3" json:"From,omitempty"` // address To []byte `protobuf:"bytes,3,opt,name=To,proto3" json:"To,omitempty"` // address Value []byte `protobuf:"bytes,4,opt,name=Value,proto3" json:"Value,omitempty"` // uint256 // contains filtered or unexported fields }
func (*Transfer) Descriptor
deprecated
func (*Transfer) GetTs ¶
func (x *Transfer) GetTs() *timestamppb.Timestamp
func (*Transfer) ProtoMessage ¶
func (*Transfer) ProtoMessage()
func (*Transfer) ProtoReflect ¶
func (x *Transfer) ProtoReflect() protoreflect.Message
type Unpause ¶
type Unpause struct { Ts *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"` // contains filtered or unexported fields }
func (*Unpause) Descriptor
deprecated
func (*Unpause) GetTs ¶
func (x *Unpause) GetTs() *timestamppb.Timestamp
func (*Unpause) ProtoMessage ¶
func (*Unpause) ProtoMessage()
func (*Unpause) ProtoReflect ¶
func (x *Unpause) ProtoReflect() protoreflect.Message
type WBTC ¶
type WBTC struct { WBTCCaller // Read-only binding to the contract WBTCTransactor // Write-only binding to the contract WBTCFilterer // Log filterer for contract events }
WBTC is an auto generated Go binding around an Ethereum contract.
type WBTCApproval ¶
type WBTCApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
WBTCApproval represents a Approval event raised by the WBTC contract.
type WBTCApprovalIterator ¶
type WBTCApprovalIterator struct { Event *WBTCApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
WBTCApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the WBTC contract.
func (*WBTCApprovalIterator) Close ¶
func (it *WBTCApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*WBTCApprovalIterator) Error ¶
func (it *WBTCApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*WBTCApprovalIterator) Next ¶
func (it *WBTCApprovalIterator) 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 WBTCBurn ¶
type WBTCBurn struct { Burner common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
WBTCBurn represents a Burn event raised by the WBTC contract.
type WBTCBurnIterator ¶
type WBTCBurnIterator struct { Event *WBTCBurn // Event containing the contract specifics and raw log // contains filtered or unexported fields }
WBTCBurnIterator is returned from FilterBurn and is used to iterate over the raw logs and unpacked data for Burn events raised by the WBTC contract.
func (*WBTCBurnIterator) Close ¶
func (it *WBTCBurnIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*WBTCBurnIterator) Error ¶
func (it *WBTCBurnIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*WBTCBurnIterator) Next ¶
func (it *WBTCBurnIterator) 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 WBTCCaller ¶
type WBTCCaller struct {
// contains filtered or unexported fields
}
WBTCCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewWBTCCaller ¶
func NewWBTCCaller(address common.Address, caller bind.ContractCaller) (*WBTCCaller, error)
NewWBTCCaller creates a new read-only instance of WBTC, bound to a specific deployed contract.
func (*WBTCCaller) Allowance ¶
func (_WBTC *WBTCCaller) 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 (*WBTCCaller) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _owner) view returns(uint256)
func (*WBTCCaller) Decimals ¶
func (_WBTC *WBTCCaller) 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 (*WBTCCaller) MintingFinished ¶
func (_WBTC *WBTCCaller) MintingFinished(opts *bind.CallOpts) (bool, error)
MintingFinished is a free data retrieval call binding the contract method 0x05d2035b.
Solidity: function mintingFinished() view returns(bool)
func (*WBTCCaller) Name ¶
func (_WBTC *WBTCCaller) 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 (*WBTCCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*WBTCCaller) Paused ¶
func (_WBTC *WBTCCaller) Paused(opts *bind.CallOpts) (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*WBTCCaller) PendingOwner ¶
PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.
Solidity: function pendingOwner() view returns(address)
func (*WBTCCaller) Symbol ¶
func (_WBTC *WBTCCaller) 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 (*WBTCCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type WBTCCallerRaw ¶
type WBTCCallerRaw struct {
Contract *WBTCCaller // Generic read-only contract binding to access the raw methods on
}
WBTCCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*WBTCCallerRaw) Call ¶
func (_WBTC *WBTCCallerRaw) 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 WBTCCallerSession ¶
type WBTCCallerSession struct { Contract *WBTCCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
WBTCCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*WBTCCallerSession) Allowance ¶
func (_WBTC *WBTCCallerSession) 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 (*WBTCCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _owner) view returns(uint256)
func (*WBTCCallerSession) Decimals ¶
func (_WBTC *WBTCCallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*WBTCCallerSession) MintingFinished ¶
func (_WBTC *WBTCCallerSession) MintingFinished() (bool, error)
MintingFinished is a free data retrieval call binding the contract method 0x05d2035b.
Solidity: function mintingFinished() view returns(bool)
func (*WBTCCallerSession) Name ¶
func (_WBTC *WBTCCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*WBTCCallerSession) Owner ¶
func (_WBTC *WBTCCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*WBTCCallerSession) Paused ¶
func (_WBTC *WBTCCallerSession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*WBTCCallerSession) PendingOwner ¶
func (_WBTC *WBTCCallerSession) PendingOwner() (common.Address, error)
PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.
Solidity: function pendingOwner() view returns(address)
func (*WBTCCallerSession) Symbol ¶
func (_WBTC *WBTCCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*WBTCCallerSession) TotalSupply ¶
func (_WBTC *WBTCCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type WBTCFilterer ¶
type WBTCFilterer struct {
// contains filtered or unexported fields
}
WBTCFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewWBTCFilterer ¶
func NewWBTCFilterer(address common.Address, filterer bind.ContractFilterer) (*WBTCFilterer, error)
NewWBTCFilterer creates a new log filterer instance of WBTC, bound to a specific deployed contract.
func (*WBTCFilterer) FilterApproval ¶
func (_WBTC *WBTCFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*WBTCApprovalIterator, error)
FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*WBTCFilterer) FilterBurn ¶
func (_WBTC *WBTCFilterer) FilterBurn(opts *bind.FilterOpts, burner []common.Address) (*WBTCBurnIterator, error)
FilterBurn is a free log retrieval operation binding the contract event 0xcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5.
Solidity: event Burn(address indexed burner, uint256 value)
func (*WBTCFilterer) FilterMint ¶
func (_WBTC *WBTCFilterer) FilterMint(opts *bind.FilterOpts, to []common.Address) (*WBTCMintIterator, error)
FilterMint is a free log retrieval operation binding the contract event 0x0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885.
Solidity: event Mint(address indexed to, uint256 amount)
func (*WBTCFilterer) FilterMintFinished ¶
func (_WBTC *WBTCFilterer) FilterMintFinished(opts *bind.FilterOpts) (*WBTCMintFinishedIterator, error)
FilterMintFinished is a free log retrieval operation binding the contract event 0xae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa08.
Solidity: event MintFinished()
func (*WBTCFilterer) FilterOwnershipRenounced ¶
func (_WBTC *WBTCFilterer) FilterOwnershipRenounced(opts *bind.FilterOpts, previousOwner []common.Address) (*WBTCOwnershipRenouncedIterator, error)
FilterOwnershipRenounced is a free log retrieval operation binding the contract event 0xf8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c64820.
Solidity: event OwnershipRenounced(address indexed previousOwner)
func (*WBTCFilterer) FilterOwnershipTransferred ¶
func (_WBTC *WBTCFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*WBTCOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*WBTCFilterer) FilterPause ¶
func (_WBTC *WBTCFilterer) FilterPause(opts *bind.FilterOpts) (*WBTCPauseIterator, error)
FilterPause is a free log retrieval operation binding the contract event 0x6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff625.
Solidity: event Pause()
func (*WBTCFilterer) FilterTransfer ¶
func (_WBTC *WBTCFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*WBTCTransferIterator, error)
FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*WBTCFilterer) FilterUnpause ¶
func (_WBTC *WBTCFilterer) FilterUnpause(opts *bind.FilterOpts) (*WBTCUnpauseIterator, error)
FilterUnpause is a free log retrieval operation binding the contract event 0x7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b33.
Solidity: event Unpause()
func (*WBTCFilterer) ParseApproval ¶
func (_WBTC *WBTCFilterer) ParseApproval(log types.Log) (*WBTCApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*WBTCFilterer) ParseBurn ¶
func (_WBTC *WBTCFilterer) ParseBurn(log types.Log) (*WBTCBurn, error)
ParseBurn is a log parse operation binding the contract event 0xcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5.
Solidity: event Burn(address indexed burner, uint256 value)
func (*WBTCFilterer) ParseMint ¶
func (_WBTC *WBTCFilterer) ParseMint(log types.Log) (*WBTCMint, error)
ParseMint is a log parse operation binding the contract event 0x0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885.
Solidity: event Mint(address indexed to, uint256 amount)
func (*WBTCFilterer) ParseMintFinished ¶
func (_WBTC *WBTCFilterer) ParseMintFinished(log types.Log) (*WBTCMintFinished, error)
ParseMintFinished is a log parse operation binding the contract event 0xae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa08.
Solidity: event MintFinished()
func (*WBTCFilterer) ParseOwnershipRenounced ¶
func (_WBTC *WBTCFilterer) ParseOwnershipRenounced(log types.Log) (*WBTCOwnershipRenounced, error)
ParseOwnershipRenounced is a log parse operation binding the contract event 0xf8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c64820.
Solidity: event OwnershipRenounced(address indexed previousOwner)
func (*WBTCFilterer) ParseOwnershipTransferred ¶
func (_WBTC *WBTCFilterer) ParseOwnershipTransferred(log types.Log) (*WBTCOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*WBTCFilterer) ParsePause ¶
func (_WBTC *WBTCFilterer) ParsePause(log types.Log) (*WBTCPause, error)
ParsePause is a log parse operation binding the contract event 0x6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff625.
Solidity: event Pause()
func (*WBTCFilterer) ParseTransfer ¶
func (_WBTC *WBTCFilterer) ParseTransfer(log types.Log) (*WBTCTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*WBTCFilterer) ParseUnpause ¶
func (_WBTC *WBTCFilterer) ParseUnpause(log types.Log) (*WBTCUnpause, error)
ParseUnpause is a log parse operation binding the contract event 0x7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b33.
Solidity: event Unpause()
func (*WBTCFilterer) WatchApproval ¶
func (_WBTC *WBTCFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *WBTCApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)
WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*WBTCFilterer) WatchBurn ¶
func (_WBTC *WBTCFilterer) WatchBurn(opts *bind.WatchOpts, sink chan<- *WBTCBurn, burner []common.Address) (event.Subscription, error)
WatchBurn is a free log subscription operation binding the contract event 0xcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5.
Solidity: event Burn(address indexed burner, uint256 value)
func (*WBTCFilterer) WatchMint ¶
func (_WBTC *WBTCFilterer) WatchMint(opts *bind.WatchOpts, sink chan<- *WBTCMint, to []common.Address) (event.Subscription, error)
WatchMint is a free log subscription operation binding the contract event 0x0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885.
Solidity: event Mint(address indexed to, uint256 amount)
func (*WBTCFilterer) WatchMintFinished ¶
func (_WBTC *WBTCFilterer) WatchMintFinished(opts *bind.WatchOpts, sink chan<- *WBTCMintFinished) (event.Subscription, error)
WatchMintFinished is a free log subscription operation binding the contract event 0xae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa08.
Solidity: event MintFinished()
func (*WBTCFilterer) WatchOwnershipRenounced ¶
func (_WBTC *WBTCFilterer) WatchOwnershipRenounced(opts *bind.WatchOpts, sink chan<- *WBTCOwnershipRenounced, previousOwner []common.Address) (event.Subscription, error)
WatchOwnershipRenounced is a free log subscription operation binding the contract event 0xf8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c64820.
Solidity: event OwnershipRenounced(address indexed previousOwner)
func (*WBTCFilterer) WatchOwnershipTransferred ¶
func (_WBTC *WBTCFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *WBTCOwnershipTransferred, 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 (*WBTCFilterer) WatchPause ¶
func (_WBTC *WBTCFilterer) WatchPause(opts *bind.WatchOpts, sink chan<- *WBTCPause) (event.Subscription, error)
WatchPause is a free log subscription operation binding the contract event 0x6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff625.
Solidity: event Pause()
func (*WBTCFilterer) WatchTransfer ¶
func (_WBTC *WBTCFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *WBTCTransfer, from []common.Address, to []common.Address) (event.Subscription, error)
WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*WBTCFilterer) WatchUnpause ¶
func (_WBTC *WBTCFilterer) WatchUnpause(opts *bind.WatchOpts, sink chan<- *WBTCUnpause) (event.Subscription, error)
WatchUnpause is a free log subscription operation binding the contract event 0x7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b33.
Solidity: event Unpause()
type WBTCMint ¶
type WBTCMint struct { To common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
WBTCMint represents a Mint event raised by the WBTC contract.
type WBTCMintFinished ¶
WBTCMintFinished represents a MintFinished event raised by the WBTC contract.
type WBTCMintFinishedIterator ¶
type WBTCMintFinishedIterator struct { Event *WBTCMintFinished // Event containing the contract specifics and raw log // contains filtered or unexported fields }
WBTCMintFinishedIterator is returned from FilterMintFinished and is used to iterate over the raw logs and unpacked data for MintFinished events raised by the WBTC contract.
func (*WBTCMintFinishedIterator) Close ¶
func (it *WBTCMintFinishedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*WBTCMintFinishedIterator) Error ¶
func (it *WBTCMintFinishedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*WBTCMintFinishedIterator) Next ¶
func (it *WBTCMintFinishedIterator) 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 WBTCMintIterator ¶
type WBTCMintIterator struct { Event *WBTCMint // Event containing the contract specifics and raw log // contains filtered or unexported fields }
WBTCMintIterator is returned from FilterMint and is used to iterate over the raw logs and unpacked data for Mint events raised by the WBTC contract.
func (*WBTCMintIterator) Close ¶
func (it *WBTCMintIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*WBTCMintIterator) Error ¶
func (it *WBTCMintIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*WBTCMintIterator) Next ¶
func (it *WBTCMintIterator) 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 WBTCOwnershipRenounced ¶
type WBTCOwnershipRenounced struct { PreviousOwner common.Address Raw types.Log // Blockchain specific contextual infos }
WBTCOwnershipRenounced represents a OwnershipRenounced event raised by the WBTC contract.
type WBTCOwnershipRenouncedIterator ¶
type WBTCOwnershipRenouncedIterator struct { Event *WBTCOwnershipRenounced // Event containing the contract specifics and raw log // contains filtered or unexported fields }
WBTCOwnershipRenouncedIterator is returned from FilterOwnershipRenounced and is used to iterate over the raw logs and unpacked data for OwnershipRenounced events raised by the WBTC contract.
func (*WBTCOwnershipRenouncedIterator) Close ¶
func (it *WBTCOwnershipRenouncedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*WBTCOwnershipRenouncedIterator) Error ¶
func (it *WBTCOwnershipRenouncedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*WBTCOwnershipRenouncedIterator) Next ¶
func (it *WBTCOwnershipRenouncedIterator) 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 WBTCOwnershipTransferred ¶
type WBTCOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
WBTCOwnershipTransferred represents a OwnershipTransferred event raised by the WBTC contract.
type WBTCOwnershipTransferredIterator ¶
type WBTCOwnershipTransferredIterator struct { Event *WBTCOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
WBTCOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the WBTC contract.
func (*WBTCOwnershipTransferredIterator) Close ¶
func (it *WBTCOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*WBTCOwnershipTransferredIterator) Error ¶
func (it *WBTCOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*WBTCOwnershipTransferredIterator) Next ¶
func (it *WBTCOwnershipTransferredIterator) 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 WBTCPauseIterator ¶
type WBTCPauseIterator struct { Event *WBTCPause // Event containing the contract specifics and raw log // contains filtered or unexported fields }
WBTCPauseIterator is returned from FilterPause and is used to iterate over the raw logs and unpacked data for Pause events raised by the WBTC contract.
func (*WBTCPauseIterator) Close ¶
func (it *WBTCPauseIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*WBTCPauseIterator) Error ¶
func (it *WBTCPauseIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*WBTCPauseIterator) Next ¶
func (it *WBTCPauseIterator) 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 WBTCRaw ¶
type WBTCRaw struct {
Contract *WBTC // Generic contract binding to access the raw methods on
}
WBTCRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*WBTCRaw) Call ¶
func (_WBTC *WBTCRaw) 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 (*WBTCRaw) Transact ¶
func (_WBTC *WBTCRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*WBTCRaw) Transfer ¶
func (_WBTC *WBTCRaw) 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 WBTCSession ¶
type WBTCSession struct { Contract *WBTC // 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 }
WBTCSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*WBTCSession) Allowance ¶
func (_WBTC *WBTCSession) 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 (*WBTCSession) Approve ¶
func (_WBTC *WBTCSession) 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 (*WBTCSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _owner) view returns(uint256)
func (*WBTCSession) Burn ¶
func (_WBTC *WBTCSession) Burn(value *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 value) returns()
func (*WBTCSession) ClaimOwnership ¶
func (_WBTC *WBTCSession) ClaimOwnership() (*types.Transaction, error)
ClaimOwnership is a paid mutator transaction binding the contract method 0x4e71e0c8.
Solidity: function claimOwnership() returns()
func (*WBTCSession) Decimals ¶
func (_WBTC *WBTCSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*WBTCSession) DecreaseApproval ¶
func (_WBTC *WBTCSession) 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 success)
func (*WBTCSession) FinishMinting ¶
func (_WBTC *WBTCSession) FinishMinting() (*types.Transaction, error)
FinishMinting is a paid mutator transaction binding the contract method 0x7d64bcb4.
Solidity: function finishMinting() returns(bool)
func (*WBTCSession) IncreaseApproval ¶
func (_WBTC *WBTCSession) 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 success)
func (*WBTCSession) Mint ¶
func (_WBTC *WBTCSession) Mint(_to common.Address, _amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address _to, uint256 _amount) returns(bool)
func (*WBTCSession) MintingFinished ¶
func (_WBTC *WBTCSession) MintingFinished() (bool, error)
MintingFinished is a free data retrieval call binding the contract method 0x05d2035b.
Solidity: function mintingFinished() view returns(bool)
func (*WBTCSession) Name ¶
func (_WBTC *WBTCSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*WBTCSession) Owner ¶
func (_WBTC *WBTCSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*WBTCSession) Pause ¶
func (_WBTC *WBTCSession) Pause() (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*WBTCSession) Paused ¶
func (_WBTC *WBTCSession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*WBTCSession) PendingOwner ¶
func (_WBTC *WBTCSession) PendingOwner() (common.Address, error)
PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.
Solidity: function pendingOwner() view returns(address)
func (*WBTCSession) ReclaimToken ¶
func (_WBTC *WBTCSession) ReclaimToken(_token common.Address) (*types.Transaction, error)
ReclaimToken is a paid mutator transaction binding the contract method 0x17ffc320.
Solidity: function reclaimToken(address _token) returns()
func (*WBTCSession) RenounceOwnership ¶
func (_WBTC *WBTCSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*WBTCSession) Symbol ¶
func (_WBTC *WBTCSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*WBTCSession) TotalSupply ¶
func (_WBTC *WBTCSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*WBTCSession) Transfer ¶
func (_WBTC *WBTCSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address _to, uint256 _value) returns(bool)
func (*WBTCSession) TransferFrom ¶
func (_WBTC *WBTCSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool)
func (*WBTCSession) TransferOwnership ¶
func (_WBTC *WBTCSession) 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 (*WBTCSession) Unpause ¶
func (_WBTC *WBTCSession) Unpause() (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
type WBTCTransactor ¶
type WBTCTransactor struct {
// contains filtered or unexported fields
}
WBTCTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewWBTCTransactor ¶
func NewWBTCTransactor(address common.Address, transactor bind.ContractTransactor) (*WBTCTransactor, error)
NewWBTCTransactor creates a new write-only instance of WBTC, bound to a specific deployed contract.
func (*WBTCTransactor) Approve ¶
func (_WBTC *WBTCTransactor) 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 (*WBTCTransactor) Burn ¶
func (_WBTC *WBTCTransactor) Burn(opts *bind.TransactOpts, value *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 value) returns()
func (*WBTCTransactor) ClaimOwnership ¶
func (_WBTC *WBTCTransactor) ClaimOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
ClaimOwnership is a paid mutator transaction binding the contract method 0x4e71e0c8.
Solidity: function claimOwnership() returns()
func (*WBTCTransactor) DecreaseApproval ¶
func (_WBTC *WBTCTransactor) 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 success)
func (*WBTCTransactor) FinishMinting ¶
func (_WBTC *WBTCTransactor) FinishMinting(opts *bind.TransactOpts) (*types.Transaction, error)
FinishMinting is a paid mutator transaction binding the contract method 0x7d64bcb4.
Solidity: function finishMinting() returns(bool)
func (*WBTCTransactor) IncreaseApproval ¶
func (_WBTC *WBTCTransactor) 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 success)
func (*WBTCTransactor) Mint ¶
func (_WBTC *WBTCTransactor) Mint(opts *bind.TransactOpts, _to common.Address, _amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address _to, uint256 _amount) returns(bool)
func (*WBTCTransactor) Pause ¶
func (_WBTC *WBTCTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*WBTCTransactor) ReclaimToken ¶
func (_WBTC *WBTCTransactor) ReclaimToken(opts *bind.TransactOpts, _token common.Address) (*types.Transaction, error)
ReclaimToken is a paid mutator transaction binding the contract method 0x17ffc320.
Solidity: function reclaimToken(address _token) returns()
func (*WBTCTransactor) RenounceOwnership ¶
func (_WBTC *WBTCTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*WBTCTransactor) Transfer ¶
func (_WBTC *WBTCTransactor) Transfer(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address _to, uint256 _value) returns(bool)
func (*WBTCTransactor) TransferFrom ¶
func (_WBTC *WBTCTransactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool)
func (*WBTCTransactor) TransferOwnership ¶
func (_WBTC *WBTCTransactor) 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 (*WBTCTransactor) Unpause ¶
func (_WBTC *WBTCTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
type WBTCTransactorRaw ¶
type WBTCTransactorRaw struct {
Contract *WBTCTransactor // Generic write-only contract binding to access the raw methods on
}
WBTCTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*WBTCTransactorRaw) Transact ¶
func (_WBTC *WBTCTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*WBTCTransactorRaw) Transfer ¶
func (_WBTC *WBTCTransactorRaw) 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 WBTCTransactorSession ¶
type WBTCTransactorSession struct { Contract *WBTCTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
WBTCTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*WBTCTransactorSession) Approve ¶
func (_WBTC *WBTCTransactorSession) 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 (*WBTCTransactorSession) Burn ¶
func (_WBTC *WBTCTransactorSession) Burn(value *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 value) returns()
func (*WBTCTransactorSession) ClaimOwnership ¶
func (_WBTC *WBTCTransactorSession) ClaimOwnership() (*types.Transaction, error)
ClaimOwnership is a paid mutator transaction binding the contract method 0x4e71e0c8.
Solidity: function claimOwnership() returns()
func (*WBTCTransactorSession) DecreaseApproval ¶
func (_WBTC *WBTCTransactorSession) 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 success)
func (*WBTCTransactorSession) FinishMinting ¶
func (_WBTC *WBTCTransactorSession) FinishMinting() (*types.Transaction, error)
FinishMinting is a paid mutator transaction binding the contract method 0x7d64bcb4.
Solidity: function finishMinting() returns(bool)
func (*WBTCTransactorSession) IncreaseApproval ¶
func (_WBTC *WBTCTransactorSession) 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 success)
func (*WBTCTransactorSession) Mint ¶
func (_WBTC *WBTCTransactorSession) Mint(_to common.Address, _amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address _to, uint256 _amount) returns(bool)
func (*WBTCTransactorSession) Pause ¶
func (_WBTC *WBTCTransactorSession) Pause() (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*WBTCTransactorSession) ReclaimToken ¶
func (_WBTC *WBTCTransactorSession) ReclaimToken(_token common.Address) (*types.Transaction, error)
ReclaimToken is a paid mutator transaction binding the contract method 0x17ffc320.
Solidity: function reclaimToken(address _token) returns()
func (*WBTCTransactorSession) RenounceOwnership ¶
func (_WBTC *WBTCTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*WBTCTransactorSession) Transfer ¶
func (_WBTC *WBTCTransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address _to, uint256 _value) returns(bool)
func (*WBTCTransactorSession) TransferFrom ¶
func (_WBTC *WBTCTransactorSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool)
func (*WBTCTransactorSession) TransferOwnership ¶
func (_WBTC *WBTCTransactorSession) 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 (*WBTCTransactorSession) Unpause ¶
func (_WBTC *WBTCTransactorSession) Unpause() (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
type WBTCTransfer ¶
type WBTCTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
WBTCTransfer represents a Transfer event raised by the WBTC contract.
type WBTCTransferIterator ¶
type WBTCTransferIterator struct { Event *WBTCTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
WBTCTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the WBTC contract.
func (*WBTCTransferIterator) Close ¶
func (it *WBTCTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*WBTCTransferIterator) Error ¶
func (it *WBTCTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*WBTCTransferIterator) Next ¶
func (it *WBTCTransferIterator) 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 WBTCUnpause ¶
WBTCUnpause represents a Unpause event raised by the WBTC contract.
type WBTCUnpauseIterator ¶
type WBTCUnpauseIterator struct { Event *WBTCUnpause // Event containing the contract specifics and raw log // contains filtered or unexported fields }
WBTCUnpauseIterator is returned from FilterUnpause and is used to iterate over the raw logs and unpacked data for Unpause events raised by the WBTC contract.
func (*WBTCUnpauseIterator) Close ¶
func (it *WBTCUnpauseIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*WBTCUnpauseIterator) Error ¶
func (it *WBTCUnpauseIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*WBTCUnpauseIterator) Next ¶
func (it *WBTCUnpauseIterator) 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.