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 CustodianChangeConfirmed
- func (*CustodianChangeConfirmed) Descriptor() ([]byte, []int)deprecated
- func (x *CustodianChangeConfirmed) GetLockId() []byte
- func (x *CustodianChangeConfirmed) GetNewCustodian() []byte
- func (x *CustodianChangeConfirmed) GetTs() *timestamppb.Timestamp
- func (*CustodianChangeConfirmed) ProtoMessage()
- func (x *CustodianChangeConfirmed) ProtoReflect() protoreflect.Message
- func (x *CustodianChangeConfirmed) Reset()
- func (x *CustodianChangeConfirmed) String() string
- type CustodianChangeRequested
- func (*CustodianChangeRequested) Descriptor() ([]byte, []int)deprecated
- func (x *CustodianChangeRequested) GetLockId() []byte
- func (x *CustodianChangeRequested) GetMsgSender() []byte
- func (x *CustodianChangeRequested) GetProposedCustodian() []byte
- func (x *CustodianChangeRequested) GetTs() *timestamppb.Timestamp
- func (*CustodianChangeRequested) ProtoMessage()
- func (x *CustodianChangeRequested) ProtoReflect() protoreflect.Message
- func (x *CustodianChangeRequested) Reset()
- func (x *CustodianChangeRequested) String() string
- type GUSD
- type GUSDApproval
- type GUSDApprovalIterator
- type GUSDCaller
- func (_GUSD *GUSDCaller) Allowance(opts *bind.CallOpts, _owner common.Address, _spender common.Address) (*big.Int, error)
- func (_GUSD *GUSDCaller) BalanceOf(opts *bind.CallOpts, _owner common.Address) (*big.Int, error)
- func (_GUSD *GUSDCaller) Custodian(opts *bind.CallOpts) (common.Address, error)
- func (_GUSD *GUSDCaller) CustodianChangeReqs(opts *bind.CallOpts, arg0 [32]byte) (common.Address, error)
- func (_GUSD *GUSDCaller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_GUSD *GUSDCaller) Erc20Impl(opts *bind.CallOpts) (common.Address, error)
- func (_GUSD *GUSDCaller) ImplChangeReqs(opts *bind.CallOpts, arg0 [32]byte) (common.Address, error)
- func (_GUSD *GUSDCaller) LockRequestCount(opts *bind.CallOpts) (*big.Int, error)
- func (_GUSD *GUSDCaller) Name(opts *bind.CallOpts) (string, error)
- func (_GUSD *GUSDCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_GUSD *GUSDCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type GUSDCallerRaw
- type GUSDCallerSession
- func (_GUSD *GUSDCallerSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
- func (_GUSD *GUSDCallerSession) BalanceOf(_owner common.Address) (*big.Int, error)
- func (_GUSD *GUSDCallerSession) Custodian() (common.Address, error)
- func (_GUSD *GUSDCallerSession) CustodianChangeReqs(arg0 [32]byte) (common.Address, error)
- func (_GUSD *GUSDCallerSession) Decimals() (uint8, error)
- func (_GUSD *GUSDCallerSession) Erc20Impl() (common.Address, error)
- func (_GUSD *GUSDCallerSession) ImplChangeReqs(arg0 [32]byte) (common.Address, error)
- func (_GUSD *GUSDCallerSession) LockRequestCount() (*big.Int, error)
- func (_GUSD *GUSDCallerSession) Name() (string, error)
- func (_GUSD *GUSDCallerSession) Symbol() (string, error)
- func (_GUSD *GUSDCallerSession) TotalSupply() (*big.Int, error)
- type GUSDCustodianChangeConfirmed
- type GUSDCustodianChangeConfirmedIterator
- type GUSDCustodianChangeRequested
- type GUSDCustodianChangeRequestedIterator
- type GUSDFilterer
- func (_GUSD *GUSDFilterer) FilterApproval(opts *bind.FilterOpts, _owner []common.Address, _spender []common.Address) (*GUSDApprovalIterator, error)
- func (_GUSD *GUSDFilterer) FilterCustodianChangeConfirmed(opts *bind.FilterOpts) (*GUSDCustodianChangeConfirmedIterator, error)
- func (_GUSD *GUSDFilterer) FilterCustodianChangeRequested(opts *bind.FilterOpts) (*GUSDCustodianChangeRequestedIterator, error)
- func (_GUSD *GUSDFilterer) FilterImplChangeConfirmed(opts *bind.FilterOpts) (*GUSDImplChangeConfirmedIterator, error)
- func (_GUSD *GUSDFilterer) FilterImplChangeRequested(opts *bind.FilterOpts) (*GUSDImplChangeRequestedIterator, error)
- func (_GUSD *GUSDFilterer) FilterTransfer(opts *bind.FilterOpts, _from []common.Address, _to []common.Address) (*GUSDTransferIterator, error)
- func (_GUSD *GUSDFilterer) ParseApproval(log types.Log) (*GUSDApproval, error)
- func (_GUSD *GUSDFilterer) ParseCustodianChangeConfirmed(log types.Log) (*GUSDCustodianChangeConfirmed, error)
- func (_GUSD *GUSDFilterer) ParseCustodianChangeRequested(log types.Log) (*GUSDCustodianChangeRequested, error)
- func (_GUSD *GUSDFilterer) ParseImplChangeConfirmed(log types.Log) (*GUSDImplChangeConfirmed, error)
- func (_GUSD *GUSDFilterer) ParseImplChangeRequested(log types.Log) (*GUSDImplChangeRequested, error)
- func (_GUSD *GUSDFilterer) ParseTransfer(log types.Log) (*GUSDTransfer, error)
- func (_GUSD *GUSDFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *GUSDApproval, _owner []common.Address, ...) (event.Subscription, error)
- func (_GUSD *GUSDFilterer) WatchCustodianChangeConfirmed(opts *bind.WatchOpts, sink chan<- *GUSDCustodianChangeConfirmed) (event.Subscription, error)
- func (_GUSD *GUSDFilterer) WatchCustodianChangeRequested(opts *bind.WatchOpts, sink chan<- *GUSDCustodianChangeRequested) (event.Subscription, error)
- func (_GUSD *GUSDFilterer) WatchImplChangeConfirmed(opts *bind.WatchOpts, sink chan<- *GUSDImplChangeConfirmed) (event.Subscription, error)
- func (_GUSD *GUSDFilterer) WatchImplChangeRequested(opts *bind.WatchOpts, sink chan<- *GUSDImplChangeRequested) (event.Subscription, error)
- func (_GUSD *GUSDFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *GUSDTransfer, _from []common.Address, ...) (event.Subscription, error)
- type GUSDImplChangeConfirmed
- type GUSDImplChangeConfirmedIterator
- type GUSDImplChangeRequested
- type GUSDImplChangeRequestedIterator
- type GUSDRaw
- func (_GUSD *GUSDRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_GUSD *GUSDRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_GUSD *GUSDRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type GUSDSession
- func (_GUSD *GUSDSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
- func (_GUSD *GUSDSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_GUSD *GUSDSession) BalanceOf(_owner common.Address) (*big.Int, error)
- func (_GUSD *GUSDSession) ConfirmCustodianChange(_lockId [32]byte) (*types.Transaction, error)
- func (_GUSD *GUSDSession) ConfirmImplChange(_lockId [32]byte) (*types.Transaction, error)
- func (_GUSD *GUSDSession) Custodian() (common.Address, error)
- func (_GUSD *GUSDSession) CustodianChangeReqs(arg0 [32]byte) (common.Address, error)
- func (_GUSD *GUSDSession) Decimals() (uint8, error)
- func (_GUSD *GUSDSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
- func (_GUSD *GUSDSession) EmitApproval(_owner common.Address, _spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_GUSD *GUSDSession) EmitTransfer(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_GUSD *GUSDSession) Erc20Impl() (common.Address, error)
- func (_GUSD *GUSDSession) ImplChangeReqs(arg0 [32]byte) (common.Address, error)
- func (_GUSD *GUSDSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
- func (_GUSD *GUSDSession) LockRequestCount() (*big.Int, error)
- func (_GUSD *GUSDSession) Name() (string, error)
- func (_GUSD *GUSDSession) RequestCustodianChange(_proposedCustodian common.Address) (*types.Transaction, error)
- func (_GUSD *GUSDSession) RequestImplChange(_proposedImpl common.Address) (*types.Transaction, error)
- func (_GUSD *GUSDSession) Symbol() (string, error)
- func (_GUSD *GUSDSession) TotalSupply() (*big.Int, error)
- func (_GUSD *GUSDSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_GUSD *GUSDSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
- type GUSDTransactor
- func (_GUSD *GUSDTransactor) Approve(opts *bind.TransactOpts, _spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_GUSD *GUSDTransactor) ConfirmCustodianChange(opts *bind.TransactOpts, _lockId [32]byte) (*types.Transaction, error)
- func (_GUSD *GUSDTransactor) ConfirmImplChange(opts *bind.TransactOpts, _lockId [32]byte) (*types.Transaction, error)
- func (_GUSD *GUSDTransactor) DecreaseApproval(opts *bind.TransactOpts, _spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
- func (_GUSD *GUSDTransactor) EmitApproval(opts *bind.TransactOpts, _owner common.Address, _spender common.Address, ...) (*types.Transaction, error)
- func (_GUSD *GUSDTransactor) EmitTransfer(opts *bind.TransactOpts, _from common.Address, _to common.Address, ...) (*types.Transaction, error)
- func (_GUSD *GUSDTransactor) IncreaseApproval(opts *bind.TransactOpts, _spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
- func (_GUSD *GUSDTransactor) RequestCustodianChange(opts *bind.TransactOpts, _proposedCustodian common.Address) (*types.Transaction, error)
- func (_GUSD *GUSDTransactor) RequestImplChange(opts *bind.TransactOpts, _proposedImpl common.Address) (*types.Transaction, error)
- func (_GUSD *GUSDTransactor) Transfer(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_GUSD *GUSDTransactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, ...) (*types.Transaction, error)
- type GUSDTransactorRaw
- type GUSDTransactorSession
- func (_GUSD *GUSDTransactorSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_GUSD *GUSDTransactorSession) ConfirmCustodianChange(_lockId [32]byte) (*types.Transaction, error)
- func (_GUSD *GUSDTransactorSession) ConfirmImplChange(_lockId [32]byte) (*types.Transaction, error)
- func (_GUSD *GUSDTransactorSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
- func (_GUSD *GUSDTransactorSession) EmitApproval(_owner common.Address, _spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_GUSD *GUSDTransactorSession) EmitTransfer(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_GUSD *GUSDTransactorSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
- func (_GUSD *GUSDTransactorSession) RequestCustodianChange(_proposedCustodian common.Address) (*types.Transaction, error)
- func (_GUSD *GUSDTransactorSession) RequestImplChange(_proposedImpl common.Address) (*types.Transaction, error)
- func (_GUSD *GUSDTransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_GUSD *GUSDTransactorSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
- type GUSDTransfer
- type GUSDTransferIterator
- type ImplChangeConfirmed
- func (*ImplChangeConfirmed) Descriptor() ([]byte, []int)deprecated
- func (x *ImplChangeConfirmed) GetLockId() []byte
- func (x *ImplChangeConfirmed) GetNewImpl() []byte
- func (x *ImplChangeConfirmed) GetTs() *timestamppb.Timestamp
- func (*ImplChangeConfirmed) ProtoMessage()
- func (x *ImplChangeConfirmed) ProtoReflect() protoreflect.Message
- func (x *ImplChangeConfirmed) Reset()
- func (x *ImplChangeConfirmed) String() string
- type ImplChangeRequested
- func (*ImplChangeRequested) Descriptor() ([]byte, []int)deprecated
- func (x *ImplChangeRequested) GetLockId() []byte
- func (x *ImplChangeRequested) GetMsgSender() []byte
- func (x *ImplChangeRequested) GetProposedImpl() []byte
- func (x *ImplChangeRequested) GetTs() *timestamppb.Timestamp
- func (*ImplChangeRequested) ProtoMessage()
- func (x *ImplChangeRequested) ProtoReflect() protoreflect.Message
- func (x *ImplChangeRequested) Reset()
- func (x *ImplChangeRequested) String() string
- 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
Constants ¶
const GUSDABI = "" /* 6885-byte string literal not displayed */
GUSDABI is the input ABI used to generate the binding from.
Variables ¶
var File_GUSD_GUSD_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 CustodianChangeConfirmed ¶
type CustodianChangeConfirmed struct { Ts *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"` LockId []byte `protobuf:"bytes,2,opt,name=LockId,proto3" json:"LockId,omitempty"` // bytes32 NewCustodian []byte `protobuf:"bytes,3,opt,name=NewCustodian,proto3" json:"NewCustodian,omitempty"` // address // contains filtered or unexported fields }
func (*CustodianChangeConfirmed) Descriptor
deprecated
func (*CustodianChangeConfirmed) Descriptor() ([]byte, []int)
Deprecated: Use CustodianChangeConfirmed.ProtoReflect.Descriptor instead.
func (*CustodianChangeConfirmed) GetLockId ¶
func (x *CustodianChangeConfirmed) GetLockId() []byte
func (*CustodianChangeConfirmed) GetNewCustodian ¶
func (x *CustodianChangeConfirmed) GetNewCustodian() []byte
func (*CustodianChangeConfirmed) GetTs ¶
func (x *CustodianChangeConfirmed) GetTs() *timestamppb.Timestamp
func (*CustodianChangeConfirmed) ProtoMessage ¶
func (*CustodianChangeConfirmed) ProtoMessage()
func (*CustodianChangeConfirmed) ProtoReflect ¶
func (x *CustodianChangeConfirmed) ProtoReflect() protoreflect.Message
func (*CustodianChangeConfirmed) Reset ¶
func (x *CustodianChangeConfirmed) Reset()
func (*CustodianChangeConfirmed) String ¶
func (x *CustodianChangeConfirmed) String() string
type CustodianChangeRequested ¶
type CustodianChangeRequested struct { Ts *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"` LockId []byte `protobuf:"bytes,2,opt,name=LockId,proto3" json:"LockId,omitempty"` // bytes32 MsgSender []byte `protobuf:"bytes,3,opt,name=MsgSender,proto3" json:"MsgSender,omitempty"` // address ProposedCustodian []byte `protobuf:"bytes,4,opt,name=ProposedCustodian,proto3" json:"ProposedCustodian,omitempty"` // address // contains filtered or unexported fields }
func (*CustodianChangeRequested) Descriptor
deprecated
func (*CustodianChangeRequested) Descriptor() ([]byte, []int)
Deprecated: Use CustodianChangeRequested.ProtoReflect.Descriptor instead.
func (*CustodianChangeRequested) GetLockId ¶
func (x *CustodianChangeRequested) GetLockId() []byte
func (*CustodianChangeRequested) GetMsgSender ¶
func (x *CustodianChangeRequested) GetMsgSender() []byte
func (*CustodianChangeRequested) GetProposedCustodian ¶
func (x *CustodianChangeRequested) GetProposedCustodian() []byte
func (*CustodianChangeRequested) GetTs ¶
func (x *CustodianChangeRequested) GetTs() *timestamppb.Timestamp
func (*CustodianChangeRequested) ProtoMessage ¶
func (*CustodianChangeRequested) ProtoMessage()
func (*CustodianChangeRequested) ProtoReflect ¶
func (x *CustodianChangeRequested) ProtoReflect() protoreflect.Message
func (*CustodianChangeRequested) Reset ¶
func (x *CustodianChangeRequested) Reset()
func (*CustodianChangeRequested) String ¶
func (x *CustodianChangeRequested) String() string
type GUSD ¶
type GUSD struct { GUSDCaller // Read-only binding to the contract GUSDTransactor // Write-only binding to the contract GUSDFilterer // Log filterer for contract events }
GUSD is an auto generated Go binding around an Ethereum contract.
type GUSDApproval ¶
type GUSDApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
GUSDApproval represents a Approval event raised by the GUSD contract.
type GUSDApprovalIterator ¶
type GUSDApprovalIterator struct { Event *GUSDApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
GUSDApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the GUSD contract.
func (*GUSDApprovalIterator) Close ¶
func (it *GUSDApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*GUSDApprovalIterator) Error ¶
func (it *GUSDApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*GUSDApprovalIterator) Next ¶
func (it *GUSDApprovalIterator) 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 GUSDCaller ¶
type GUSDCaller struct {
// contains filtered or unexported fields
}
GUSDCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewGUSDCaller ¶
func NewGUSDCaller(address common.Address, caller bind.ContractCaller) (*GUSDCaller, error)
NewGUSDCaller creates a new read-only instance of GUSD, bound to a specific deployed contract.
func (*GUSDCaller) Allowance ¶
func (_GUSD *GUSDCaller) 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 remaining)
func (*GUSDCaller) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _owner) view returns(uint256 balance)
func (*GUSDCaller) Custodian ¶
Custodian is a free data retrieval call binding the contract method 0x375b74c3.
Solidity: function custodian() view returns(address)
func (*GUSDCaller) CustodianChangeReqs ¶
func (_GUSD *GUSDCaller) CustodianChangeReqs(opts *bind.CallOpts, arg0 [32]byte) (common.Address, error)
CustodianChangeReqs is a free data retrieval call binding the contract method 0xcf6e4488.
Solidity: function custodianChangeReqs(bytes32 ) view returns(address proposedNew)
func (*GUSDCaller) Decimals ¶
func (_GUSD *GUSDCaller) 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 (*GUSDCaller) Erc20Impl ¶
Erc20Impl is a free data retrieval call binding the contract method 0x3c389cc4.
Solidity: function erc20Impl() view returns(address)
func (*GUSDCaller) ImplChangeReqs ¶
ImplChangeReqs is a free data retrieval call binding the contract method 0xb508069b.
Solidity: function implChangeReqs(bytes32 ) view returns(address proposedNew)
func (*GUSDCaller) LockRequestCount ¶
LockRequestCount is a free data retrieval call binding the contract method 0xcb81fecf.
Solidity: function lockRequestCount() view returns(uint256)
func (*GUSDCaller) Name ¶
func (_GUSD *GUSDCaller) 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 (*GUSDCaller) Symbol ¶
func (_GUSD *GUSDCaller) 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 (*GUSDCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type GUSDCallerRaw ¶
type GUSDCallerRaw struct {
Contract *GUSDCaller // Generic read-only contract binding to access the raw methods on
}
GUSDCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*GUSDCallerRaw) Call ¶
func (_GUSD *GUSDCallerRaw) 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 GUSDCallerSession ¶
type GUSDCallerSession struct { Contract *GUSDCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
GUSDCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*GUSDCallerSession) Allowance ¶
func (_GUSD *GUSDCallerSession) 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 remaining)
func (*GUSDCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _owner) view returns(uint256 balance)
func (*GUSDCallerSession) Custodian ¶
func (_GUSD *GUSDCallerSession) Custodian() (common.Address, error)
Custodian is a free data retrieval call binding the contract method 0x375b74c3.
Solidity: function custodian() view returns(address)
func (*GUSDCallerSession) CustodianChangeReqs ¶
func (_GUSD *GUSDCallerSession) CustodianChangeReqs(arg0 [32]byte) (common.Address, error)
CustodianChangeReqs is a free data retrieval call binding the contract method 0xcf6e4488.
Solidity: function custodianChangeReqs(bytes32 ) view returns(address proposedNew)
func (*GUSDCallerSession) Decimals ¶
func (_GUSD *GUSDCallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*GUSDCallerSession) Erc20Impl ¶
func (_GUSD *GUSDCallerSession) Erc20Impl() (common.Address, error)
Erc20Impl is a free data retrieval call binding the contract method 0x3c389cc4.
Solidity: function erc20Impl() view returns(address)
func (*GUSDCallerSession) ImplChangeReqs ¶
func (_GUSD *GUSDCallerSession) ImplChangeReqs(arg0 [32]byte) (common.Address, error)
ImplChangeReqs is a free data retrieval call binding the contract method 0xb508069b.
Solidity: function implChangeReqs(bytes32 ) view returns(address proposedNew)
func (*GUSDCallerSession) LockRequestCount ¶
func (_GUSD *GUSDCallerSession) LockRequestCount() (*big.Int, error)
LockRequestCount is a free data retrieval call binding the contract method 0xcb81fecf.
Solidity: function lockRequestCount() view returns(uint256)
func (*GUSDCallerSession) Name ¶
func (_GUSD *GUSDCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*GUSDCallerSession) Symbol ¶
func (_GUSD *GUSDCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*GUSDCallerSession) TotalSupply ¶
func (_GUSD *GUSDCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type GUSDCustodianChangeConfirmed ¶
type GUSDCustodianChangeConfirmed struct { LockId [32]byte NewCustodian common.Address Raw types.Log // Blockchain specific contextual infos }
GUSDCustodianChangeConfirmed represents a CustodianChangeConfirmed event raised by the GUSD contract.
type GUSDCustodianChangeConfirmedIterator ¶
type GUSDCustodianChangeConfirmedIterator struct { Event *GUSDCustodianChangeConfirmed // Event containing the contract specifics and raw log // contains filtered or unexported fields }
GUSDCustodianChangeConfirmedIterator is returned from FilterCustodianChangeConfirmed and is used to iterate over the raw logs and unpacked data for CustodianChangeConfirmed events raised by the GUSD contract.
func (*GUSDCustodianChangeConfirmedIterator) Close ¶
func (it *GUSDCustodianChangeConfirmedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*GUSDCustodianChangeConfirmedIterator) Error ¶
func (it *GUSDCustodianChangeConfirmedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*GUSDCustodianChangeConfirmedIterator) Next ¶
func (it *GUSDCustodianChangeConfirmedIterator) 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 GUSDCustodianChangeRequested ¶
type GUSDCustodianChangeRequested struct { LockId [32]byte MsgSender common.Address ProposedCustodian common.Address Raw types.Log // Blockchain specific contextual infos }
GUSDCustodianChangeRequested represents a CustodianChangeRequested event raised by the GUSD contract.
type GUSDCustodianChangeRequestedIterator ¶
type GUSDCustodianChangeRequestedIterator struct { Event *GUSDCustodianChangeRequested // Event containing the contract specifics and raw log // contains filtered or unexported fields }
GUSDCustodianChangeRequestedIterator is returned from FilterCustodianChangeRequested and is used to iterate over the raw logs and unpacked data for CustodianChangeRequested events raised by the GUSD contract.
func (*GUSDCustodianChangeRequestedIterator) Close ¶
func (it *GUSDCustodianChangeRequestedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*GUSDCustodianChangeRequestedIterator) Error ¶
func (it *GUSDCustodianChangeRequestedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*GUSDCustodianChangeRequestedIterator) Next ¶
func (it *GUSDCustodianChangeRequestedIterator) 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 GUSDFilterer ¶
type GUSDFilterer struct {
// contains filtered or unexported fields
}
GUSDFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewGUSDFilterer ¶
func NewGUSDFilterer(address common.Address, filterer bind.ContractFilterer) (*GUSDFilterer, error)
NewGUSDFilterer creates a new log filterer instance of GUSD, bound to a specific deployed contract.
func (*GUSDFilterer) FilterApproval ¶
func (_GUSD *GUSDFilterer) FilterApproval(opts *bind.FilterOpts, _owner []common.Address, _spender []common.Address) (*GUSDApprovalIterator, 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 (*GUSDFilterer) FilterCustodianChangeConfirmed ¶
func (_GUSD *GUSDFilterer) FilterCustodianChangeConfirmed(opts *bind.FilterOpts) (*GUSDCustodianChangeConfirmedIterator, error)
FilterCustodianChangeConfirmed is a free log retrieval operation binding the contract event 0x9a99272c0f6b7a30ef9e76e684a7cd408bfd4f11a72f36a8e276253c920e442d.
Solidity: event CustodianChangeConfirmed(bytes32 _lockId, address _newCustodian)
func (*GUSDFilterer) FilterCustodianChangeRequested ¶
func (_GUSD *GUSDFilterer) FilterCustodianChangeRequested(opts *bind.FilterOpts) (*GUSDCustodianChangeRequestedIterator, error)
FilterCustodianChangeRequested is a free log retrieval operation binding the contract event 0xd76fc900a7e1a6fcf11d54b7ba943918df6c53a3128140658c389b3da1e997ba.
Solidity: event CustodianChangeRequested(bytes32 _lockId, address _msgSender, address _proposedCustodian)
func (*GUSDFilterer) FilterImplChangeConfirmed ¶
func (_GUSD *GUSDFilterer) FilterImplChangeConfirmed(opts *bind.FilterOpts) (*GUSDImplChangeConfirmedIterator, error)
FilterImplChangeConfirmed is a free log retrieval operation binding the contract event 0x9d55b0349a0a4c5b511f72228170bb91d45c9ac78dba8ab5b4175d3ed42f06b3.
Solidity: event ImplChangeConfirmed(bytes32 _lockId, address _newImpl)
func (*GUSDFilterer) FilterImplChangeRequested ¶
func (_GUSD *GUSDFilterer) FilterImplChangeRequested(opts *bind.FilterOpts) (*GUSDImplChangeRequestedIterator, error)
FilterImplChangeRequested is a free log retrieval operation binding the contract event 0x5df12834436b8dc248df3f7f1796a3e39f851d610be49cdcd92514fa821b9f97.
Solidity: event ImplChangeRequested(bytes32 _lockId, address _msgSender, address _proposedImpl)
func (*GUSDFilterer) FilterTransfer ¶
func (_GUSD *GUSDFilterer) FilterTransfer(opts *bind.FilterOpts, _from []common.Address, _to []common.Address) (*GUSDTransferIterator, 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 (*GUSDFilterer) ParseApproval ¶
func (_GUSD *GUSDFilterer) ParseApproval(log types.Log) (*GUSDApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed _owner, address indexed _spender, uint256 _value)
func (*GUSDFilterer) ParseCustodianChangeConfirmed ¶
func (_GUSD *GUSDFilterer) ParseCustodianChangeConfirmed(log types.Log) (*GUSDCustodianChangeConfirmed, error)
ParseCustodianChangeConfirmed is a log parse operation binding the contract event 0x9a99272c0f6b7a30ef9e76e684a7cd408bfd4f11a72f36a8e276253c920e442d.
Solidity: event CustodianChangeConfirmed(bytes32 _lockId, address _newCustodian)
func (*GUSDFilterer) ParseCustodianChangeRequested ¶
func (_GUSD *GUSDFilterer) ParseCustodianChangeRequested(log types.Log) (*GUSDCustodianChangeRequested, error)
ParseCustodianChangeRequested is a log parse operation binding the contract event 0xd76fc900a7e1a6fcf11d54b7ba943918df6c53a3128140658c389b3da1e997ba.
Solidity: event CustodianChangeRequested(bytes32 _lockId, address _msgSender, address _proposedCustodian)
func (*GUSDFilterer) ParseImplChangeConfirmed ¶
func (_GUSD *GUSDFilterer) ParseImplChangeConfirmed(log types.Log) (*GUSDImplChangeConfirmed, error)
ParseImplChangeConfirmed is a log parse operation binding the contract event 0x9d55b0349a0a4c5b511f72228170bb91d45c9ac78dba8ab5b4175d3ed42f06b3.
Solidity: event ImplChangeConfirmed(bytes32 _lockId, address _newImpl)
func (*GUSDFilterer) ParseImplChangeRequested ¶
func (_GUSD *GUSDFilterer) ParseImplChangeRequested(log types.Log) (*GUSDImplChangeRequested, error)
ParseImplChangeRequested is a log parse operation binding the contract event 0x5df12834436b8dc248df3f7f1796a3e39f851d610be49cdcd92514fa821b9f97.
Solidity: event ImplChangeRequested(bytes32 _lockId, address _msgSender, address _proposedImpl)
func (*GUSDFilterer) ParseTransfer ¶
func (_GUSD *GUSDFilterer) ParseTransfer(log types.Log) (*GUSDTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed _from, address indexed _to, uint256 _value)
func (*GUSDFilterer) WatchApproval ¶
func (_GUSD *GUSDFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *GUSDApproval, _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 (*GUSDFilterer) WatchCustodianChangeConfirmed ¶
func (_GUSD *GUSDFilterer) WatchCustodianChangeConfirmed(opts *bind.WatchOpts, sink chan<- *GUSDCustodianChangeConfirmed) (event.Subscription, error)
WatchCustodianChangeConfirmed is a free log subscription operation binding the contract event 0x9a99272c0f6b7a30ef9e76e684a7cd408bfd4f11a72f36a8e276253c920e442d.
Solidity: event CustodianChangeConfirmed(bytes32 _lockId, address _newCustodian)
func (*GUSDFilterer) WatchCustodianChangeRequested ¶
func (_GUSD *GUSDFilterer) WatchCustodianChangeRequested(opts *bind.WatchOpts, sink chan<- *GUSDCustodianChangeRequested) (event.Subscription, error)
WatchCustodianChangeRequested is a free log subscription operation binding the contract event 0xd76fc900a7e1a6fcf11d54b7ba943918df6c53a3128140658c389b3da1e997ba.
Solidity: event CustodianChangeRequested(bytes32 _lockId, address _msgSender, address _proposedCustodian)
func (*GUSDFilterer) WatchImplChangeConfirmed ¶
func (_GUSD *GUSDFilterer) WatchImplChangeConfirmed(opts *bind.WatchOpts, sink chan<- *GUSDImplChangeConfirmed) (event.Subscription, error)
WatchImplChangeConfirmed is a free log subscription operation binding the contract event 0x9d55b0349a0a4c5b511f72228170bb91d45c9ac78dba8ab5b4175d3ed42f06b3.
Solidity: event ImplChangeConfirmed(bytes32 _lockId, address _newImpl)
func (*GUSDFilterer) WatchImplChangeRequested ¶
func (_GUSD *GUSDFilterer) WatchImplChangeRequested(opts *bind.WatchOpts, sink chan<- *GUSDImplChangeRequested) (event.Subscription, error)
WatchImplChangeRequested is a free log subscription operation binding the contract event 0x5df12834436b8dc248df3f7f1796a3e39f851d610be49cdcd92514fa821b9f97.
Solidity: event ImplChangeRequested(bytes32 _lockId, address _msgSender, address _proposedImpl)
func (*GUSDFilterer) WatchTransfer ¶
func (_GUSD *GUSDFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *GUSDTransfer, _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)
type GUSDImplChangeConfirmed ¶
type GUSDImplChangeConfirmed struct { LockId [32]byte NewImpl common.Address Raw types.Log // Blockchain specific contextual infos }
GUSDImplChangeConfirmed represents a ImplChangeConfirmed event raised by the GUSD contract.
type GUSDImplChangeConfirmedIterator ¶
type GUSDImplChangeConfirmedIterator struct { Event *GUSDImplChangeConfirmed // Event containing the contract specifics and raw log // contains filtered or unexported fields }
GUSDImplChangeConfirmedIterator is returned from FilterImplChangeConfirmed and is used to iterate over the raw logs and unpacked data for ImplChangeConfirmed events raised by the GUSD contract.
func (*GUSDImplChangeConfirmedIterator) Close ¶
func (it *GUSDImplChangeConfirmedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*GUSDImplChangeConfirmedIterator) Error ¶
func (it *GUSDImplChangeConfirmedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*GUSDImplChangeConfirmedIterator) Next ¶
func (it *GUSDImplChangeConfirmedIterator) 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 GUSDImplChangeRequested ¶
type GUSDImplChangeRequested struct { LockId [32]byte MsgSender common.Address ProposedImpl common.Address Raw types.Log // Blockchain specific contextual infos }
GUSDImplChangeRequested represents a ImplChangeRequested event raised by the GUSD contract.
type GUSDImplChangeRequestedIterator ¶
type GUSDImplChangeRequestedIterator struct { Event *GUSDImplChangeRequested // Event containing the contract specifics and raw log // contains filtered or unexported fields }
GUSDImplChangeRequestedIterator is returned from FilterImplChangeRequested and is used to iterate over the raw logs and unpacked data for ImplChangeRequested events raised by the GUSD contract.
func (*GUSDImplChangeRequestedIterator) Close ¶
func (it *GUSDImplChangeRequestedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*GUSDImplChangeRequestedIterator) Error ¶
func (it *GUSDImplChangeRequestedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*GUSDImplChangeRequestedIterator) Next ¶
func (it *GUSDImplChangeRequestedIterator) 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 GUSDRaw ¶
type GUSDRaw struct {
Contract *GUSD // Generic contract binding to access the raw methods on
}
GUSDRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*GUSDRaw) Call ¶
func (_GUSD *GUSDRaw) 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 (*GUSDRaw) Transact ¶
func (_GUSD *GUSDRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*GUSDRaw) Transfer ¶
func (_GUSD *GUSDRaw) 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 GUSDSession ¶
type GUSDSession struct { Contract *GUSD // 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 }
GUSDSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*GUSDSession) Allowance ¶
func (_GUSD *GUSDSession) 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 remaining)
func (*GUSDSession) Approve ¶
func (_GUSD *GUSDSession) 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 success)
func (*GUSDSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _owner) view returns(uint256 balance)
func (*GUSDSession) ConfirmCustodianChange ¶
func (_GUSD *GUSDSession) ConfirmCustodianChange(_lockId [32]byte) (*types.Transaction, error)
ConfirmCustodianChange is a paid mutator transaction binding the contract method 0x3a8343ee.
Solidity: function confirmCustodianChange(bytes32 _lockId) returns()
func (*GUSDSession) ConfirmImplChange ¶
func (_GUSD *GUSDSession) ConfirmImplChange(_lockId [32]byte) (*types.Transaction, error)
ConfirmImplChange is a paid mutator transaction binding the contract method 0x8181b029.
Solidity: function confirmImplChange(bytes32 _lockId) returns()
func (*GUSDSession) Custodian ¶
func (_GUSD *GUSDSession) Custodian() (common.Address, error)
Custodian is a free data retrieval call binding the contract method 0x375b74c3.
Solidity: function custodian() view returns(address)
func (*GUSDSession) CustodianChangeReqs ¶
func (_GUSD *GUSDSession) CustodianChangeReqs(arg0 [32]byte) (common.Address, error)
CustodianChangeReqs is a free data retrieval call binding the contract method 0xcf6e4488.
Solidity: function custodianChangeReqs(bytes32 ) view returns(address proposedNew)
func (*GUSDSession) Decimals ¶
func (_GUSD *GUSDSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*GUSDSession) DecreaseApproval ¶
func (_GUSD *GUSDSession) 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 (*GUSDSession) EmitApproval ¶
func (_GUSD *GUSDSession) EmitApproval(_owner common.Address, _spender common.Address, _value *big.Int) (*types.Transaction, error)
EmitApproval is a paid mutator transaction binding the contract method 0x5687f2b8.
Solidity: function emitApproval(address _owner, address _spender, uint256 _value) returns()
func (*GUSDSession) EmitTransfer ¶
func (_GUSD *GUSDSession) EmitTransfer(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
EmitTransfer is a paid mutator transaction binding the contract method 0x23de6651.
Solidity: function emitTransfer(address _from, address _to, uint256 _value) returns()
func (*GUSDSession) Erc20Impl ¶
func (_GUSD *GUSDSession) Erc20Impl() (common.Address, error)
Erc20Impl is a free data retrieval call binding the contract method 0x3c389cc4.
Solidity: function erc20Impl() view returns(address)
func (*GUSDSession) ImplChangeReqs ¶
func (_GUSD *GUSDSession) ImplChangeReqs(arg0 [32]byte) (common.Address, error)
ImplChangeReqs is a free data retrieval call binding the contract method 0xb508069b.
Solidity: function implChangeReqs(bytes32 ) view returns(address proposedNew)
func (*GUSDSession) IncreaseApproval ¶
func (_GUSD *GUSDSession) 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 (*GUSDSession) LockRequestCount ¶
func (_GUSD *GUSDSession) LockRequestCount() (*big.Int, error)
LockRequestCount is a free data retrieval call binding the contract method 0xcb81fecf.
Solidity: function lockRequestCount() view returns(uint256)
func (*GUSDSession) Name ¶
func (_GUSD *GUSDSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*GUSDSession) RequestCustodianChange ¶
func (_GUSD *GUSDSession) RequestCustodianChange(_proposedCustodian common.Address) (*types.Transaction, error)
RequestCustodianChange is a paid mutator transaction binding the contract method 0x15b21082.
Solidity: function requestCustodianChange(address _proposedCustodian) returns(bytes32 lockId)
func (*GUSDSession) RequestImplChange ¶
func (_GUSD *GUSDSession) RequestImplChange(_proposedImpl common.Address) (*types.Transaction, error)
RequestImplChange is a paid mutator transaction binding the contract method 0x48f9e246.
Solidity: function requestImplChange(address _proposedImpl) returns(bytes32 lockId)
func (*GUSDSession) Symbol ¶
func (_GUSD *GUSDSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*GUSDSession) TotalSupply ¶
func (_GUSD *GUSDSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*GUSDSession) Transfer ¶
func (_GUSD *GUSDSession) 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 success)
func (*GUSDSession) TransferFrom ¶
func (_GUSD *GUSDSession) 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 success)
type GUSDTransactor ¶
type GUSDTransactor struct {
// contains filtered or unexported fields
}
GUSDTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewGUSDTransactor ¶
func NewGUSDTransactor(address common.Address, transactor bind.ContractTransactor) (*GUSDTransactor, error)
NewGUSDTransactor creates a new write-only instance of GUSD, bound to a specific deployed contract.
func (*GUSDTransactor) Approve ¶
func (_GUSD *GUSDTransactor) 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 success)
func (*GUSDTransactor) ConfirmCustodianChange ¶
func (_GUSD *GUSDTransactor) ConfirmCustodianChange(opts *bind.TransactOpts, _lockId [32]byte) (*types.Transaction, error)
ConfirmCustodianChange is a paid mutator transaction binding the contract method 0x3a8343ee.
Solidity: function confirmCustodianChange(bytes32 _lockId) returns()
func (*GUSDTransactor) ConfirmImplChange ¶
func (_GUSD *GUSDTransactor) ConfirmImplChange(opts *bind.TransactOpts, _lockId [32]byte) (*types.Transaction, error)
ConfirmImplChange is a paid mutator transaction binding the contract method 0x8181b029.
Solidity: function confirmImplChange(bytes32 _lockId) returns()
func (*GUSDTransactor) DecreaseApproval ¶
func (_GUSD *GUSDTransactor) 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 (*GUSDTransactor) EmitApproval ¶
func (_GUSD *GUSDTransactor) EmitApproval(opts *bind.TransactOpts, _owner common.Address, _spender common.Address, _value *big.Int) (*types.Transaction, error)
EmitApproval is a paid mutator transaction binding the contract method 0x5687f2b8.
Solidity: function emitApproval(address _owner, address _spender, uint256 _value) returns()
func (*GUSDTransactor) EmitTransfer ¶
func (_GUSD *GUSDTransactor) EmitTransfer(opts *bind.TransactOpts, _from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
EmitTransfer is a paid mutator transaction binding the contract method 0x23de6651.
Solidity: function emitTransfer(address _from, address _to, uint256 _value) returns()
func (*GUSDTransactor) IncreaseApproval ¶
func (_GUSD *GUSDTransactor) 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 (*GUSDTransactor) RequestCustodianChange ¶
func (_GUSD *GUSDTransactor) RequestCustodianChange(opts *bind.TransactOpts, _proposedCustodian common.Address) (*types.Transaction, error)
RequestCustodianChange is a paid mutator transaction binding the contract method 0x15b21082.
Solidity: function requestCustodianChange(address _proposedCustodian) returns(bytes32 lockId)
func (*GUSDTransactor) RequestImplChange ¶
func (_GUSD *GUSDTransactor) RequestImplChange(opts *bind.TransactOpts, _proposedImpl common.Address) (*types.Transaction, error)
RequestImplChange is a paid mutator transaction binding the contract method 0x48f9e246.
Solidity: function requestImplChange(address _proposedImpl) returns(bytes32 lockId)
func (*GUSDTransactor) Transfer ¶
func (_GUSD *GUSDTransactor) 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 success)
func (*GUSDTransactor) TransferFrom ¶
func (_GUSD *GUSDTransactor) 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 success)
type GUSDTransactorRaw ¶
type GUSDTransactorRaw struct {
Contract *GUSDTransactor // Generic write-only contract binding to access the raw methods on
}
GUSDTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*GUSDTransactorRaw) Transact ¶
func (_GUSD *GUSDTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*GUSDTransactorRaw) Transfer ¶
func (_GUSD *GUSDTransactorRaw) 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 GUSDTransactorSession ¶
type GUSDTransactorSession struct { Contract *GUSDTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
GUSDTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*GUSDTransactorSession) Approve ¶
func (_GUSD *GUSDTransactorSession) 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 success)
func (*GUSDTransactorSession) ConfirmCustodianChange ¶
func (_GUSD *GUSDTransactorSession) ConfirmCustodianChange(_lockId [32]byte) (*types.Transaction, error)
ConfirmCustodianChange is a paid mutator transaction binding the contract method 0x3a8343ee.
Solidity: function confirmCustodianChange(bytes32 _lockId) returns()
func (*GUSDTransactorSession) ConfirmImplChange ¶
func (_GUSD *GUSDTransactorSession) ConfirmImplChange(_lockId [32]byte) (*types.Transaction, error)
ConfirmImplChange is a paid mutator transaction binding the contract method 0x8181b029.
Solidity: function confirmImplChange(bytes32 _lockId) returns()
func (*GUSDTransactorSession) DecreaseApproval ¶
func (_GUSD *GUSDTransactorSession) 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 (*GUSDTransactorSession) EmitApproval ¶
func (_GUSD *GUSDTransactorSession) EmitApproval(_owner common.Address, _spender common.Address, _value *big.Int) (*types.Transaction, error)
EmitApproval is a paid mutator transaction binding the contract method 0x5687f2b8.
Solidity: function emitApproval(address _owner, address _spender, uint256 _value) returns()
func (*GUSDTransactorSession) EmitTransfer ¶
func (_GUSD *GUSDTransactorSession) EmitTransfer(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
EmitTransfer is a paid mutator transaction binding the contract method 0x23de6651.
Solidity: function emitTransfer(address _from, address _to, uint256 _value) returns()
func (*GUSDTransactorSession) IncreaseApproval ¶
func (_GUSD *GUSDTransactorSession) 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 (*GUSDTransactorSession) RequestCustodianChange ¶
func (_GUSD *GUSDTransactorSession) RequestCustodianChange(_proposedCustodian common.Address) (*types.Transaction, error)
RequestCustodianChange is a paid mutator transaction binding the contract method 0x15b21082.
Solidity: function requestCustodianChange(address _proposedCustodian) returns(bytes32 lockId)
func (*GUSDTransactorSession) RequestImplChange ¶
func (_GUSD *GUSDTransactorSession) RequestImplChange(_proposedImpl common.Address) (*types.Transaction, error)
RequestImplChange is a paid mutator transaction binding the contract method 0x48f9e246.
Solidity: function requestImplChange(address _proposedImpl) returns(bytes32 lockId)
func (*GUSDTransactorSession) Transfer ¶
func (_GUSD *GUSDTransactorSession) 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 success)
func (*GUSDTransactorSession) TransferFrom ¶
func (_GUSD *GUSDTransactorSession) 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 success)
type GUSDTransfer ¶
type GUSDTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
GUSDTransfer represents a Transfer event raised by the GUSD contract.
type GUSDTransferIterator ¶
type GUSDTransferIterator struct { Event *GUSDTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
GUSDTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the GUSD contract.
func (*GUSDTransferIterator) Close ¶
func (it *GUSDTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*GUSDTransferIterator) Error ¶
func (it *GUSDTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*GUSDTransferIterator) Next ¶
func (it *GUSDTransferIterator) 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 ImplChangeConfirmed ¶
type ImplChangeConfirmed struct { Ts *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"` LockId []byte `protobuf:"bytes,2,opt,name=LockId,proto3" json:"LockId,omitempty"` // bytes32 NewImpl []byte `protobuf:"bytes,3,opt,name=NewImpl,proto3" json:"NewImpl,omitempty"` // address // contains filtered or unexported fields }
func (*ImplChangeConfirmed) Descriptor
deprecated
func (*ImplChangeConfirmed) Descriptor() ([]byte, []int)
Deprecated: Use ImplChangeConfirmed.ProtoReflect.Descriptor instead.
func (*ImplChangeConfirmed) GetLockId ¶
func (x *ImplChangeConfirmed) GetLockId() []byte
func (*ImplChangeConfirmed) GetNewImpl ¶
func (x *ImplChangeConfirmed) GetNewImpl() []byte
func (*ImplChangeConfirmed) GetTs ¶
func (x *ImplChangeConfirmed) GetTs() *timestamppb.Timestamp
func (*ImplChangeConfirmed) ProtoMessage ¶
func (*ImplChangeConfirmed) ProtoMessage()
func (*ImplChangeConfirmed) ProtoReflect ¶
func (x *ImplChangeConfirmed) ProtoReflect() protoreflect.Message
func (*ImplChangeConfirmed) Reset ¶
func (x *ImplChangeConfirmed) Reset()
func (*ImplChangeConfirmed) String ¶
func (x *ImplChangeConfirmed) String() string
type ImplChangeRequested ¶
type ImplChangeRequested struct { Ts *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"` LockId []byte `protobuf:"bytes,2,opt,name=LockId,proto3" json:"LockId,omitempty"` // bytes32 MsgSender []byte `protobuf:"bytes,3,opt,name=MsgSender,proto3" json:"MsgSender,omitempty"` // address ProposedImpl []byte `protobuf:"bytes,4,opt,name=ProposedImpl,proto3" json:"ProposedImpl,omitempty"` // address // contains filtered or unexported fields }
func (*ImplChangeRequested) Descriptor
deprecated
func (*ImplChangeRequested) Descriptor() ([]byte, []int)
Deprecated: Use ImplChangeRequested.ProtoReflect.Descriptor instead.
func (*ImplChangeRequested) GetLockId ¶
func (x *ImplChangeRequested) GetLockId() []byte
func (*ImplChangeRequested) GetMsgSender ¶
func (x *ImplChangeRequested) GetMsgSender() []byte
func (*ImplChangeRequested) GetProposedImpl ¶
func (x *ImplChangeRequested) GetProposedImpl() []byte
func (*ImplChangeRequested) GetTs ¶
func (x *ImplChangeRequested) GetTs() *timestamppb.Timestamp
func (*ImplChangeRequested) ProtoMessage ¶
func (*ImplChangeRequested) ProtoMessage()
func (*ImplChangeRequested) ProtoReflect ¶
func (x *ImplChangeRequested) ProtoReflect() protoreflect.Message
func (*ImplChangeRequested) Reset ¶
func (x *ImplChangeRequested) Reset()
func (*ImplChangeRequested) String ¶
func (x *ImplChangeRequested) String() string
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