Documentation ¶
Index ¶
- Constants
- Variables
- type BuyGem
- func (*BuyGem) Descriptor() ([]byte, []int)deprecated
- func (x *BuyGem) GetFee() []byte
- func (x *BuyGem) GetOwner() []byte
- func (x *BuyGem) GetTs() *timestamppb.Timestamp
- func (x *BuyGem) GetValue() []byte
- func (*BuyGem) ProtoMessage()
- func (x *BuyGem) ProtoReflect() protoreflect.Message
- func (x *BuyGem) Reset()
- func (x *BuyGem) String() string
- type Deny
- type File
- type MCDPSMGUSDA
- type MCDPSMGUSDABuyGem
- type MCDPSMGUSDABuyGemIterator
- type MCDPSMGUSDACaller
- func (_MCDPSMGUSDA *MCDPSMGUSDACaller) Dai(opts *bind.CallOpts) (common.Address, error)
- func (_MCDPSMGUSDA *MCDPSMGUSDACaller) DaiJoin(opts *bind.CallOpts) (common.Address, error)
- func (_MCDPSMGUSDA *MCDPSMGUSDACaller) GemJoin(opts *bind.CallOpts) (common.Address, error)
- func (_MCDPSMGUSDA *MCDPSMGUSDACaller) Ilk(opts *bind.CallOpts) ([32]byte, error)
- func (_MCDPSMGUSDA *MCDPSMGUSDACaller) Tin(opts *bind.CallOpts) (*big.Int, error)
- func (_MCDPSMGUSDA *MCDPSMGUSDACaller) Tout(opts *bind.CallOpts) (*big.Int, error)
- func (_MCDPSMGUSDA *MCDPSMGUSDACaller) Vat(opts *bind.CallOpts) (common.Address, error)
- func (_MCDPSMGUSDA *MCDPSMGUSDACaller) Vow(opts *bind.CallOpts) (common.Address, error)
- func (_MCDPSMGUSDA *MCDPSMGUSDACaller) Wards(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- type MCDPSMGUSDACallerRaw
- type MCDPSMGUSDACallerSession
- func (_MCDPSMGUSDA *MCDPSMGUSDACallerSession) Dai() (common.Address, error)
- func (_MCDPSMGUSDA *MCDPSMGUSDACallerSession) DaiJoin() (common.Address, error)
- func (_MCDPSMGUSDA *MCDPSMGUSDACallerSession) GemJoin() (common.Address, error)
- func (_MCDPSMGUSDA *MCDPSMGUSDACallerSession) Ilk() ([32]byte, error)
- func (_MCDPSMGUSDA *MCDPSMGUSDACallerSession) Tin() (*big.Int, error)
- func (_MCDPSMGUSDA *MCDPSMGUSDACallerSession) Tout() (*big.Int, error)
- func (_MCDPSMGUSDA *MCDPSMGUSDACallerSession) Vat() (common.Address, error)
- func (_MCDPSMGUSDA *MCDPSMGUSDACallerSession) Vow() (common.Address, error)
- func (_MCDPSMGUSDA *MCDPSMGUSDACallerSession) Wards(arg0 common.Address) (*big.Int, error)
- type MCDPSMGUSDADeny
- type MCDPSMGUSDADenyIterator
- type MCDPSMGUSDAFile
- type MCDPSMGUSDAFileIterator
- type MCDPSMGUSDAFilterer
- func (_MCDPSMGUSDA *MCDPSMGUSDAFilterer) FilterBuyGem(opts *bind.FilterOpts, owner []common.Address) (*MCDPSMGUSDABuyGemIterator, error)
- func (_MCDPSMGUSDA *MCDPSMGUSDAFilterer) FilterDeny(opts *bind.FilterOpts, usr []common.Address) (*MCDPSMGUSDADenyIterator, error)
- func (_MCDPSMGUSDA *MCDPSMGUSDAFilterer) FilterFile(opts *bind.FilterOpts, what [][32]byte) (*MCDPSMGUSDAFileIterator, error)
- func (_MCDPSMGUSDA *MCDPSMGUSDAFilterer) FilterRely(opts *bind.FilterOpts, usr []common.Address) (*MCDPSMGUSDARelyIterator, error)
- func (_MCDPSMGUSDA *MCDPSMGUSDAFilterer) FilterSellGem(opts *bind.FilterOpts, owner []common.Address) (*MCDPSMGUSDASellGemIterator, error)
- func (_MCDPSMGUSDA *MCDPSMGUSDAFilterer) ParseBuyGem(log types.Log) (*MCDPSMGUSDABuyGem, error)
- func (_MCDPSMGUSDA *MCDPSMGUSDAFilterer) ParseDeny(log types.Log) (*MCDPSMGUSDADeny, error)
- func (_MCDPSMGUSDA *MCDPSMGUSDAFilterer) ParseFile(log types.Log) (*MCDPSMGUSDAFile, error)
- func (_MCDPSMGUSDA *MCDPSMGUSDAFilterer) ParseRely(log types.Log) (*MCDPSMGUSDARely, error)
- func (_MCDPSMGUSDA *MCDPSMGUSDAFilterer) ParseSellGem(log types.Log) (*MCDPSMGUSDASellGem, error)
- func (_MCDPSMGUSDA *MCDPSMGUSDAFilterer) WatchBuyGem(opts *bind.WatchOpts, sink chan<- *MCDPSMGUSDABuyGem, owner []common.Address) (event.Subscription, error)
- func (_MCDPSMGUSDA *MCDPSMGUSDAFilterer) WatchDeny(opts *bind.WatchOpts, sink chan<- *MCDPSMGUSDADeny, usr []common.Address) (event.Subscription, error)
- func (_MCDPSMGUSDA *MCDPSMGUSDAFilterer) WatchFile(opts *bind.WatchOpts, sink chan<- *MCDPSMGUSDAFile, what [][32]byte) (event.Subscription, error)
- func (_MCDPSMGUSDA *MCDPSMGUSDAFilterer) WatchRely(opts *bind.WatchOpts, sink chan<- *MCDPSMGUSDARely, usr []common.Address) (event.Subscription, error)
- func (_MCDPSMGUSDA *MCDPSMGUSDAFilterer) WatchSellGem(opts *bind.WatchOpts, sink chan<- *MCDPSMGUSDASellGem, owner []common.Address) (event.Subscription, error)
- type MCDPSMGUSDARaw
- func (_MCDPSMGUSDA *MCDPSMGUSDARaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_MCDPSMGUSDA *MCDPSMGUSDARaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_MCDPSMGUSDA *MCDPSMGUSDARaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type MCDPSMGUSDARely
- type MCDPSMGUSDARelyIterator
- type MCDPSMGUSDASellGem
- type MCDPSMGUSDASellGemIterator
- type MCDPSMGUSDASession
- func (_MCDPSMGUSDA *MCDPSMGUSDASession) BuyGem(usr common.Address, gemAmt *big.Int) (*types.Transaction, error)
- func (_MCDPSMGUSDA *MCDPSMGUSDASession) Dai() (common.Address, error)
- func (_MCDPSMGUSDA *MCDPSMGUSDASession) DaiJoin() (common.Address, error)
- func (_MCDPSMGUSDA *MCDPSMGUSDASession) Deny(usr common.Address) (*types.Transaction, error)
- func (_MCDPSMGUSDA *MCDPSMGUSDASession) File(what [32]byte, data *big.Int) (*types.Transaction, error)
- func (_MCDPSMGUSDA *MCDPSMGUSDASession) GemJoin() (common.Address, error)
- func (_MCDPSMGUSDA *MCDPSMGUSDASession) Hope(usr common.Address) (*types.Transaction, error)
- func (_MCDPSMGUSDA *MCDPSMGUSDASession) Ilk() ([32]byte, error)
- func (_MCDPSMGUSDA *MCDPSMGUSDASession) Nope(usr common.Address) (*types.Transaction, error)
- func (_MCDPSMGUSDA *MCDPSMGUSDASession) Rely(usr common.Address) (*types.Transaction, error)
- func (_MCDPSMGUSDA *MCDPSMGUSDASession) SellGem(usr common.Address, gemAmt *big.Int) (*types.Transaction, error)
- func (_MCDPSMGUSDA *MCDPSMGUSDASession) Tin() (*big.Int, error)
- func (_MCDPSMGUSDA *MCDPSMGUSDASession) Tout() (*big.Int, error)
- func (_MCDPSMGUSDA *MCDPSMGUSDASession) Vat() (common.Address, error)
- func (_MCDPSMGUSDA *MCDPSMGUSDASession) Vow() (common.Address, error)
- func (_MCDPSMGUSDA *MCDPSMGUSDASession) Wards(arg0 common.Address) (*big.Int, error)
- type MCDPSMGUSDATransactor
- func (_MCDPSMGUSDA *MCDPSMGUSDATransactor) BuyGem(opts *bind.TransactOpts, usr common.Address, gemAmt *big.Int) (*types.Transaction, error)
- func (_MCDPSMGUSDA *MCDPSMGUSDATransactor) Deny(opts *bind.TransactOpts, usr common.Address) (*types.Transaction, error)
- func (_MCDPSMGUSDA *MCDPSMGUSDATransactor) File(opts *bind.TransactOpts, what [32]byte, data *big.Int) (*types.Transaction, error)
- func (_MCDPSMGUSDA *MCDPSMGUSDATransactor) Hope(opts *bind.TransactOpts, usr common.Address) (*types.Transaction, error)
- func (_MCDPSMGUSDA *MCDPSMGUSDATransactor) Nope(opts *bind.TransactOpts, usr common.Address) (*types.Transaction, error)
- func (_MCDPSMGUSDA *MCDPSMGUSDATransactor) Rely(opts *bind.TransactOpts, usr common.Address) (*types.Transaction, error)
- func (_MCDPSMGUSDA *MCDPSMGUSDATransactor) SellGem(opts *bind.TransactOpts, usr common.Address, gemAmt *big.Int) (*types.Transaction, error)
- type MCDPSMGUSDATransactorRaw
- type MCDPSMGUSDATransactorSession
- func (_MCDPSMGUSDA *MCDPSMGUSDATransactorSession) BuyGem(usr common.Address, gemAmt *big.Int) (*types.Transaction, error)
- func (_MCDPSMGUSDA *MCDPSMGUSDATransactorSession) Deny(usr common.Address) (*types.Transaction, error)
- func (_MCDPSMGUSDA *MCDPSMGUSDATransactorSession) File(what [32]byte, data *big.Int) (*types.Transaction, error)
- func (_MCDPSMGUSDA *MCDPSMGUSDATransactorSession) Hope(usr common.Address) (*types.Transaction, error)
- func (_MCDPSMGUSDA *MCDPSMGUSDATransactorSession) Nope(usr common.Address) (*types.Transaction, error)
- func (_MCDPSMGUSDA *MCDPSMGUSDATransactorSession) Rely(usr common.Address) (*types.Transaction, error)
- func (_MCDPSMGUSDA *MCDPSMGUSDATransactorSession) SellGem(usr common.Address, gemAmt *big.Int) (*types.Transaction, error)
- type Rely
- type SellGem
- func (*SellGem) Descriptor() ([]byte, []int)deprecated
- func (x *SellGem) GetFee() []byte
- func (x *SellGem) GetOwner() []byte
- func (x *SellGem) GetTs() *timestamppb.Timestamp
- func (x *SellGem) GetValue() []byte
- func (*SellGem) ProtoMessage()
- func (x *SellGem) ProtoReflect() protoreflect.Message
- func (x *SellGem) Reset()
- func (x *SellGem) String() string
- type SmartContract
Constants ¶
const MCDPSMGUSDAABI = "" /* 4584-byte string literal not displayed */
MCDPSMGUSDAABI is the input ABI used to generate the binding from.
Variables ¶
var File_MCDPSMGUSDA_MCDPSMGUSDA_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type BuyGem ¶
type BuyGem 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 Value []byte `protobuf:"bytes,3,opt,name=Value,proto3" json:"Value,omitempty"` // uint256 Fee []byte `protobuf:"bytes,4,opt,name=Fee,proto3" json:"Fee,omitempty"` // uint256 // contains filtered or unexported fields }
func (*BuyGem) Descriptor
deprecated
func (*BuyGem) GetTs ¶
func (x *BuyGem) GetTs() *timestamppb.Timestamp
func (*BuyGem) ProtoMessage ¶
func (*BuyGem) ProtoMessage()
func (*BuyGem) ProtoReflect ¶
func (x *BuyGem) ProtoReflect() protoreflect.Message
type Deny ¶
type Deny struct { Ts *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"` Usr []byte `protobuf:"bytes,2,opt,name=Usr,proto3" json:"Usr,omitempty"` // address // contains filtered or unexported fields }
func (*Deny) Descriptor
deprecated
func (*Deny) GetTs ¶
func (x *Deny) GetTs() *timestamppb.Timestamp
func (*Deny) ProtoMessage ¶
func (*Deny) ProtoMessage()
func (*Deny) ProtoReflect ¶
func (x *Deny) ProtoReflect() protoreflect.Message
type File ¶
type File struct { Ts *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"` What []byte `protobuf:"bytes,2,opt,name=What,proto3" json:"What,omitempty"` // bytes32 Data []byte `protobuf:"bytes,3,opt,name=Data,proto3" json:"Data,omitempty"` // uint256 // contains filtered or unexported fields }
func (*File) Descriptor
deprecated
func (*File) GetTs ¶
func (x *File) GetTs() *timestamppb.Timestamp
func (*File) ProtoMessage ¶
func (*File) ProtoMessage()
func (*File) ProtoReflect ¶
func (x *File) ProtoReflect() protoreflect.Message
type MCDPSMGUSDA ¶
type MCDPSMGUSDA struct { MCDPSMGUSDACaller // Read-only binding to the contract MCDPSMGUSDATransactor // Write-only binding to the contract MCDPSMGUSDAFilterer // Log filterer for contract events }
MCDPSMGUSDA is an auto generated Go binding around an Ethereum contract.
func NewMCDPSMGUSDA ¶
func NewMCDPSMGUSDA(address common.Address, backend bind.ContractBackend) (*MCDPSMGUSDA, error)
NewMCDPSMGUSDA creates a new instance of MCDPSMGUSDA, bound to a specific deployed contract.
type MCDPSMGUSDABuyGem ¶
type MCDPSMGUSDABuyGem struct { Owner common.Address Value *big.Int Fee *big.Int Raw types.Log // Blockchain specific contextual infos }
MCDPSMGUSDABuyGem represents a BuyGem event raised by the MCDPSMGUSDA contract.
type MCDPSMGUSDABuyGemIterator ¶
type MCDPSMGUSDABuyGemIterator struct { Event *MCDPSMGUSDABuyGem // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MCDPSMGUSDABuyGemIterator is returned from FilterBuyGem and is used to iterate over the raw logs and unpacked data for BuyGem events raised by the MCDPSMGUSDA contract.
func (*MCDPSMGUSDABuyGemIterator) Close ¶
func (it *MCDPSMGUSDABuyGemIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MCDPSMGUSDABuyGemIterator) Error ¶
func (it *MCDPSMGUSDABuyGemIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MCDPSMGUSDABuyGemIterator) Next ¶
func (it *MCDPSMGUSDABuyGemIterator) 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 MCDPSMGUSDACaller ¶
type MCDPSMGUSDACaller struct {
// contains filtered or unexported fields
}
MCDPSMGUSDACaller is an auto generated read-only Go binding around an Ethereum contract.
func NewMCDPSMGUSDACaller ¶
func NewMCDPSMGUSDACaller(address common.Address, caller bind.ContractCaller) (*MCDPSMGUSDACaller, error)
NewMCDPSMGUSDACaller creates a new read-only instance of MCDPSMGUSDA, bound to a specific deployed contract.
func (*MCDPSMGUSDACaller) Dai ¶
Dai is a free data retrieval call binding the contract method 0xf4b9fa75.
Solidity: function dai() view returns(address)
func (*MCDPSMGUSDACaller) DaiJoin ¶
DaiJoin is a free data retrieval call binding the contract method 0xc11645bc.
Solidity: function daiJoin() view returns(address)
func (*MCDPSMGUSDACaller) GemJoin ¶
GemJoin is a free data retrieval call binding the contract method 0x01664f66.
Solidity: function gemJoin() view returns(address)
func (*MCDPSMGUSDACaller) Ilk ¶
func (_MCDPSMGUSDA *MCDPSMGUSDACaller) Ilk(opts *bind.CallOpts) ([32]byte, error)
Ilk is a free data retrieval call binding the contract method 0xc5ce281e.
Solidity: function ilk() view returns(bytes32)
func (*MCDPSMGUSDACaller) Tin ¶
Tin is a free data retrieval call binding the contract method 0x568d4b6f.
Solidity: function tin() view returns(uint256)
func (*MCDPSMGUSDACaller) Tout ¶
Tout is a free data retrieval call binding the contract method 0xfae036d5.
Solidity: function tout() view returns(uint256)
func (*MCDPSMGUSDACaller) Vat ¶
Vat is a free data retrieval call binding the contract method 0x36569e77.
Solidity: function vat() view returns(address)
type MCDPSMGUSDACallerRaw ¶
type MCDPSMGUSDACallerRaw struct {
Contract *MCDPSMGUSDACaller // Generic read-only contract binding to access the raw methods on
}
MCDPSMGUSDACallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*MCDPSMGUSDACallerRaw) Call ¶
func (_MCDPSMGUSDA *MCDPSMGUSDACallerRaw) 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 MCDPSMGUSDACallerSession ¶
type MCDPSMGUSDACallerSession struct { Contract *MCDPSMGUSDACaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
MCDPSMGUSDACallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*MCDPSMGUSDACallerSession) Dai ¶
func (_MCDPSMGUSDA *MCDPSMGUSDACallerSession) Dai() (common.Address, error)
Dai is a free data retrieval call binding the contract method 0xf4b9fa75.
Solidity: function dai() view returns(address)
func (*MCDPSMGUSDACallerSession) DaiJoin ¶
func (_MCDPSMGUSDA *MCDPSMGUSDACallerSession) DaiJoin() (common.Address, error)
DaiJoin is a free data retrieval call binding the contract method 0xc11645bc.
Solidity: function daiJoin() view returns(address)
func (*MCDPSMGUSDACallerSession) GemJoin ¶
func (_MCDPSMGUSDA *MCDPSMGUSDACallerSession) GemJoin() (common.Address, error)
GemJoin is a free data retrieval call binding the contract method 0x01664f66.
Solidity: function gemJoin() view returns(address)
func (*MCDPSMGUSDACallerSession) Ilk ¶
func (_MCDPSMGUSDA *MCDPSMGUSDACallerSession) Ilk() ([32]byte, error)
Ilk is a free data retrieval call binding the contract method 0xc5ce281e.
Solidity: function ilk() view returns(bytes32)
func (*MCDPSMGUSDACallerSession) Tin ¶
func (_MCDPSMGUSDA *MCDPSMGUSDACallerSession) Tin() (*big.Int, error)
Tin is a free data retrieval call binding the contract method 0x568d4b6f.
Solidity: function tin() view returns(uint256)
func (*MCDPSMGUSDACallerSession) Tout ¶
func (_MCDPSMGUSDA *MCDPSMGUSDACallerSession) Tout() (*big.Int, error)
Tout is a free data retrieval call binding the contract method 0xfae036d5.
Solidity: function tout() view returns(uint256)
func (*MCDPSMGUSDACallerSession) Vat ¶
func (_MCDPSMGUSDA *MCDPSMGUSDACallerSession) Vat() (common.Address, error)
Vat is a free data retrieval call binding the contract method 0x36569e77.
Solidity: function vat() view returns(address)
type MCDPSMGUSDADeny ¶
type MCDPSMGUSDADeny struct { Usr common.Address Raw types.Log // Blockchain specific contextual infos }
MCDPSMGUSDADeny represents a Deny event raised by the MCDPSMGUSDA contract.
type MCDPSMGUSDADenyIterator ¶
type MCDPSMGUSDADenyIterator struct { Event *MCDPSMGUSDADeny // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MCDPSMGUSDADenyIterator is returned from FilterDeny and is used to iterate over the raw logs and unpacked data for Deny events raised by the MCDPSMGUSDA contract.
func (*MCDPSMGUSDADenyIterator) Close ¶
func (it *MCDPSMGUSDADenyIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MCDPSMGUSDADenyIterator) Error ¶
func (it *MCDPSMGUSDADenyIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MCDPSMGUSDADenyIterator) Next ¶
func (it *MCDPSMGUSDADenyIterator) 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 MCDPSMGUSDAFile ¶
type MCDPSMGUSDAFile struct { What [32]byte Data *big.Int Raw types.Log // Blockchain specific contextual infos }
MCDPSMGUSDAFile represents a File event raised by the MCDPSMGUSDA contract.
type MCDPSMGUSDAFileIterator ¶
type MCDPSMGUSDAFileIterator struct { Event *MCDPSMGUSDAFile // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MCDPSMGUSDAFileIterator is returned from FilterFile and is used to iterate over the raw logs and unpacked data for File events raised by the MCDPSMGUSDA contract.
func (*MCDPSMGUSDAFileIterator) Close ¶
func (it *MCDPSMGUSDAFileIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MCDPSMGUSDAFileIterator) Error ¶
func (it *MCDPSMGUSDAFileIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MCDPSMGUSDAFileIterator) Next ¶
func (it *MCDPSMGUSDAFileIterator) 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 MCDPSMGUSDAFilterer ¶
type MCDPSMGUSDAFilterer struct {
// contains filtered or unexported fields
}
MCDPSMGUSDAFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewMCDPSMGUSDAFilterer ¶
func NewMCDPSMGUSDAFilterer(address common.Address, filterer bind.ContractFilterer) (*MCDPSMGUSDAFilterer, error)
NewMCDPSMGUSDAFilterer creates a new log filterer instance of MCDPSMGUSDA, bound to a specific deployed contract.
func (*MCDPSMGUSDAFilterer) FilterBuyGem ¶
func (_MCDPSMGUSDA *MCDPSMGUSDAFilterer) FilterBuyGem(opts *bind.FilterOpts, owner []common.Address) (*MCDPSMGUSDABuyGemIterator, error)
FilterBuyGem is a free log retrieval operation binding the contract event 0x085d06ecf4c34b237767a31c0888e121d89546a77f186f1987c6b8715e1a8caa.
Solidity: event BuyGem(address indexed owner, uint256 value, uint256 fee)
func (*MCDPSMGUSDAFilterer) FilterDeny ¶
func (_MCDPSMGUSDA *MCDPSMGUSDAFilterer) FilterDeny(opts *bind.FilterOpts, usr []common.Address) (*MCDPSMGUSDADenyIterator, error)
FilterDeny is a free log retrieval operation binding the contract event 0x184450df2e323acec0ed3b5c7531b81f9b4cdef7914dfd4c0a4317416bb5251b.
Solidity: event Deny(address indexed usr)
func (*MCDPSMGUSDAFilterer) FilterFile ¶
func (_MCDPSMGUSDA *MCDPSMGUSDAFilterer) FilterFile(opts *bind.FilterOpts, what [][32]byte) (*MCDPSMGUSDAFileIterator, error)
FilterFile is a free log retrieval operation binding the contract event 0xe986e40cc8c151830d4f61050f4fb2e4add8567caad2d5f5496f9158e91fe4c7.
Solidity: event File(bytes32 indexed what, uint256 data)
func (*MCDPSMGUSDAFilterer) FilterRely ¶
func (_MCDPSMGUSDA *MCDPSMGUSDAFilterer) FilterRely(opts *bind.FilterOpts, usr []common.Address) (*MCDPSMGUSDARelyIterator, error)
FilterRely is a free log retrieval operation binding the contract event 0xdd0e34038ac38b2a1ce960229778ac48a8719bc900b6c4f8d0475c6e8b385a60.
Solidity: event Rely(address indexed usr)
func (*MCDPSMGUSDAFilterer) FilterSellGem ¶
func (_MCDPSMGUSDA *MCDPSMGUSDAFilterer) FilterSellGem(opts *bind.FilterOpts, owner []common.Address) (*MCDPSMGUSDASellGemIterator, error)
FilterSellGem is a free log retrieval operation binding the contract event 0xef75f5a47cc9a929968796ceb84f19e7541617b4577f2c228ea95200e1572081.
Solidity: event SellGem(address indexed owner, uint256 value, uint256 fee)
func (*MCDPSMGUSDAFilterer) ParseBuyGem ¶
func (_MCDPSMGUSDA *MCDPSMGUSDAFilterer) ParseBuyGem(log types.Log) (*MCDPSMGUSDABuyGem, error)
ParseBuyGem is a log parse operation binding the contract event 0x085d06ecf4c34b237767a31c0888e121d89546a77f186f1987c6b8715e1a8caa.
Solidity: event BuyGem(address indexed owner, uint256 value, uint256 fee)
func (*MCDPSMGUSDAFilterer) ParseDeny ¶
func (_MCDPSMGUSDA *MCDPSMGUSDAFilterer) ParseDeny(log types.Log) (*MCDPSMGUSDADeny, error)
ParseDeny is a log parse operation binding the contract event 0x184450df2e323acec0ed3b5c7531b81f9b4cdef7914dfd4c0a4317416bb5251b.
Solidity: event Deny(address indexed usr)
func (*MCDPSMGUSDAFilterer) ParseFile ¶
func (_MCDPSMGUSDA *MCDPSMGUSDAFilterer) ParseFile(log types.Log) (*MCDPSMGUSDAFile, error)
ParseFile is a log parse operation binding the contract event 0xe986e40cc8c151830d4f61050f4fb2e4add8567caad2d5f5496f9158e91fe4c7.
Solidity: event File(bytes32 indexed what, uint256 data)
func (*MCDPSMGUSDAFilterer) ParseRely ¶
func (_MCDPSMGUSDA *MCDPSMGUSDAFilterer) ParseRely(log types.Log) (*MCDPSMGUSDARely, error)
ParseRely is a log parse operation binding the contract event 0xdd0e34038ac38b2a1ce960229778ac48a8719bc900b6c4f8d0475c6e8b385a60.
Solidity: event Rely(address indexed usr)
func (*MCDPSMGUSDAFilterer) ParseSellGem ¶
func (_MCDPSMGUSDA *MCDPSMGUSDAFilterer) ParseSellGem(log types.Log) (*MCDPSMGUSDASellGem, error)
ParseSellGem is a log parse operation binding the contract event 0xef75f5a47cc9a929968796ceb84f19e7541617b4577f2c228ea95200e1572081.
Solidity: event SellGem(address indexed owner, uint256 value, uint256 fee)
func (*MCDPSMGUSDAFilterer) WatchBuyGem ¶
func (_MCDPSMGUSDA *MCDPSMGUSDAFilterer) WatchBuyGem(opts *bind.WatchOpts, sink chan<- *MCDPSMGUSDABuyGem, owner []common.Address) (event.Subscription, error)
WatchBuyGem is a free log subscription operation binding the contract event 0x085d06ecf4c34b237767a31c0888e121d89546a77f186f1987c6b8715e1a8caa.
Solidity: event BuyGem(address indexed owner, uint256 value, uint256 fee)
func (*MCDPSMGUSDAFilterer) WatchDeny ¶
func (_MCDPSMGUSDA *MCDPSMGUSDAFilterer) WatchDeny(opts *bind.WatchOpts, sink chan<- *MCDPSMGUSDADeny, usr []common.Address) (event.Subscription, error)
WatchDeny is a free log subscription operation binding the contract event 0x184450df2e323acec0ed3b5c7531b81f9b4cdef7914dfd4c0a4317416bb5251b.
Solidity: event Deny(address indexed usr)
func (*MCDPSMGUSDAFilterer) WatchFile ¶
func (_MCDPSMGUSDA *MCDPSMGUSDAFilterer) WatchFile(opts *bind.WatchOpts, sink chan<- *MCDPSMGUSDAFile, what [][32]byte) (event.Subscription, error)
WatchFile is a free log subscription operation binding the contract event 0xe986e40cc8c151830d4f61050f4fb2e4add8567caad2d5f5496f9158e91fe4c7.
Solidity: event File(bytes32 indexed what, uint256 data)
func (*MCDPSMGUSDAFilterer) WatchRely ¶
func (_MCDPSMGUSDA *MCDPSMGUSDAFilterer) WatchRely(opts *bind.WatchOpts, sink chan<- *MCDPSMGUSDARely, usr []common.Address) (event.Subscription, error)
WatchRely is a free log subscription operation binding the contract event 0xdd0e34038ac38b2a1ce960229778ac48a8719bc900b6c4f8d0475c6e8b385a60.
Solidity: event Rely(address indexed usr)
func (*MCDPSMGUSDAFilterer) WatchSellGem ¶
func (_MCDPSMGUSDA *MCDPSMGUSDAFilterer) WatchSellGem(opts *bind.WatchOpts, sink chan<- *MCDPSMGUSDASellGem, owner []common.Address) (event.Subscription, error)
WatchSellGem is a free log subscription operation binding the contract event 0xef75f5a47cc9a929968796ceb84f19e7541617b4577f2c228ea95200e1572081.
Solidity: event SellGem(address indexed owner, uint256 value, uint256 fee)
type MCDPSMGUSDARaw ¶
type MCDPSMGUSDARaw struct {
Contract *MCDPSMGUSDA // Generic contract binding to access the raw methods on
}
MCDPSMGUSDARaw is an auto generated low-level Go binding around an Ethereum contract.
func (*MCDPSMGUSDARaw) Call ¶
func (_MCDPSMGUSDA *MCDPSMGUSDARaw) 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 (*MCDPSMGUSDARaw) Transact ¶
func (_MCDPSMGUSDA *MCDPSMGUSDARaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MCDPSMGUSDARaw) Transfer ¶
func (_MCDPSMGUSDA *MCDPSMGUSDARaw) 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 MCDPSMGUSDARely ¶
type MCDPSMGUSDARely struct { Usr common.Address Raw types.Log // Blockchain specific contextual infos }
MCDPSMGUSDARely represents a Rely event raised by the MCDPSMGUSDA contract.
type MCDPSMGUSDARelyIterator ¶
type MCDPSMGUSDARelyIterator struct { Event *MCDPSMGUSDARely // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MCDPSMGUSDARelyIterator is returned from FilterRely and is used to iterate over the raw logs and unpacked data for Rely events raised by the MCDPSMGUSDA contract.
func (*MCDPSMGUSDARelyIterator) Close ¶
func (it *MCDPSMGUSDARelyIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MCDPSMGUSDARelyIterator) Error ¶
func (it *MCDPSMGUSDARelyIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MCDPSMGUSDARelyIterator) Next ¶
func (it *MCDPSMGUSDARelyIterator) 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 MCDPSMGUSDASellGem ¶
type MCDPSMGUSDASellGem struct { Owner common.Address Value *big.Int Fee *big.Int Raw types.Log // Blockchain specific contextual infos }
MCDPSMGUSDASellGem represents a SellGem event raised by the MCDPSMGUSDA contract.
type MCDPSMGUSDASellGemIterator ¶
type MCDPSMGUSDASellGemIterator struct { Event *MCDPSMGUSDASellGem // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MCDPSMGUSDASellGemIterator is returned from FilterSellGem and is used to iterate over the raw logs and unpacked data for SellGem events raised by the MCDPSMGUSDA contract.
func (*MCDPSMGUSDASellGemIterator) Close ¶
func (it *MCDPSMGUSDASellGemIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MCDPSMGUSDASellGemIterator) Error ¶
func (it *MCDPSMGUSDASellGemIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MCDPSMGUSDASellGemIterator) Next ¶
func (it *MCDPSMGUSDASellGemIterator) 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 MCDPSMGUSDASession ¶
type MCDPSMGUSDASession struct { Contract *MCDPSMGUSDA // 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 }
MCDPSMGUSDASession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*MCDPSMGUSDASession) BuyGem ¶
func (_MCDPSMGUSDA *MCDPSMGUSDASession) BuyGem(usr common.Address, gemAmt *big.Int) (*types.Transaction, error)
BuyGem is a paid mutator transaction binding the contract method 0x8d7ef9bb.
Solidity: function buyGem(address usr, uint256 gemAmt) returns()
func (*MCDPSMGUSDASession) Dai ¶
func (_MCDPSMGUSDA *MCDPSMGUSDASession) Dai() (common.Address, error)
Dai is a free data retrieval call binding the contract method 0xf4b9fa75.
Solidity: function dai() view returns(address)
func (*MCDPSMGUSDASession) DaiJoin ¶
func (_MCDPSMGUSDA *MCDPSMGUSDASession) DaiJoin() (common.Address, error)
DaiJoin is a free data retrieval call binding the contract method 0xc11645bc.
Solidity: function daiJoin() view returns(address)
func (*MCDPSMGUSDASession) Deny ¶
func (_MCDPSMGUSDA *MCDPSMGUSDASession) Deny(usr common.Address) (*types.Transaction, error)
Deny is a paid mutator transaction binding the contract method 0x9c52a7f1.
Solidity: function deny(address usr) returns()
func (*MCDPSMGUSDASession) File ¶
func (_MCDPSMGUSDA *MCDPSMGUSDASession) File(what [32]byte, data *big.Int) (*types.Transaction, error)
File is a paid mutator transaction binding the contract method 0x29ae8114.
Solidity: function file(bytes32 what, uint256 data) returns()
func (*MCDPSMGUSDASession) GemJoin ¶
func (_MCDPSMGUSDA *MCDPSMGUSDASession) GemJoin() (common.Address, error)
GemJoin is a free data retrieval call binding the contract method 0x01664f66.
Solidity: function gemJoin() view returns(address)
func (*MCDPSMGUSDASession) Hope ¶
func (_MCDPSMGUSDA *MCDPSMGUSDASession) Hope(usr common.Address) (*types.Transaction, error)
Hope is a paid mutator transaction binding the contract method 0xa3b22fc4.
Solidity: function hope(address usr) returns()
func (*MCDPSMGUSDASession) Ilk ¶
func (_MCDPSMGUSDA *MCDPSMGUSDASession) Ilk() ([32]byte, error)
Ilk is a free data retrieval call binding the contract method 0xc5ce281e.
Solidity: function ilk() view returns(bytes32)
func (*MCDPSMGUSDASession) Nope ¶
func (_MCDPSMGUSDA *MCDPSMGUSDASession) Nope(usr common.Address) (*types.Transaction, error)
Nope is a paid mutator transaction binding the contract method 0xdc4d20fa.
Solidity: function nope(address usr) returns()
func (*MCDPSMGUSDASession) Rely ¶
func (_MCDPSMGUSDA *MCDPSMGUSDASession) Rely(usr common.Address) (*types.Transaction, error)
Rely is a paid mutator transaction binding the contract method 0x65fae35e.
Solidity: function rely(address usr) returns()
func (*MCDPSMGUSDASession) SellGem ¶
func (_MCDPSMGUSDA *MCDPSMGUSDASession) SellGem(usr common.Address, gemAmt *big.Int) (*types.Transaction, error)
SellGem is a paid mutator transaction binding the contract method 0x95991276.
Solidity: function sellGem(address usr, uint256 gemAmt) returns()
func (*MCDPSMGUSDASession) Tin ¶
func (_MCDPSMGUSDA *MCDPSMGUSDASession) Tin() (*big.Int, error)
Tin is a free data retrieval call binding the contract method 0x568d4b6f.
Solidity: function tin() view returns(uint256)
func (*MCDPSMGUSDASession) Tout ¶
func (_MCDPSMGUSDA *MCDPSMGUSDASession) Tout() (*big.Int, error)
Tout is a free data retrieval call binding the contract method 0xfae036d5.
Solidity: function tout() view returns(uint256)
func (*MCDPSMGUSDASession) Vat ¶
func (_MCDPSMGUSDA *MCDPSMGUSDASession) Vat() (common.Address, error)
Vat is a free data retrieval call binding the contract method 0x36569e77.
Solidity: function vat() view returns(address)
type MCDPSMGUSDATransactor ¶
type MCDPSMGUSDATransactor struct {
// contains filtered or unexported fields
}
MCDPSMGUSDATransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewMCDPSMGUSDATransactor ¶
func NewMCDPSMGUSDATransactor(address common.Address, transactor bind.ContractTransactor) (*MCDPSMGUSDATransactor, error)
NewMCDPSMGUSDATransactor creates a new write-only instance of MCDPSMGUSDA, bound to a specific deployed contract.
func (*MCDPSMGUSDATransactor) BuyGem ¶
func (_MCDPSMGUSDA *MCDPSMGUSDATransactor) BuyGem(opts *bind.TransactOpts, usr common.Address, gemAmt *big.Int) (*types.Transaction, error)
BuyGem is a paid mutator transaction binding the contract method 0x8d7ef9bb.
Solidity: function buyGem(address usr, uint256 gemAmt) returns()
func (*MCDPSMGUSDATransactor) Deny ¶
func (_MCDPSMGUSDA *MCDPSMGUSDATransactor) Deny(opts *bind.TransactOpts, usr common.Address) (*types.Transaction, error)
Deny is a paid mutator transaction binding the contract method 0x9c52a7f1.
Solidity: function deny(address usr) returns()
func (*MCDPSMGUSDATransactor) File ¶
func (_MCDPSMGUSDA *MCDPSMGUSDATransactor) File(opts *bind.TransactOpts, what [32]byte, data *big.Int) (*types.Transaction, error)
File is a paid mutator transaction binding the contract method 0x29ae8114.
Solidity: function file(bytes32 what, uint256 data) returns()
func (*MCDPSMGUSDATransactor) Hope ¶
func (_MCDPSMGUSDA *MCDPSMGUSDATransactor) Hope(opts *bind.TransactOpts, usr common.Address) (*types.Transaction, error)
Hope is a paid mutator transaction binding the contract method 0xa3b22fc4.
Solidity: function hope(address usr) returns()
func (*MCDPSMGUSDATransactor) Nope ¶
func (_MCDPSMGUSDA *MCDPSMGUSDATransactor) Nope(opts *bind.TransactOpts, usr common.Address) (*types.Transaction, error)
Nope is a paid mutator transaction binding the contract method 0xdc4d20fa.
Solidity: function nope(address usr) returns()
func (*MCDPSMGUSDATransactor) Rely ¶
func (_MCDPSMGUSDA *MCDPSMGUSDATransactor) Rely(opts *bind.TransactOpts, usr common.Address) (*types.Transaction, error)
Rely is a paid mutator transaction binding the contract method 0x65fae35e.
Solidity: function rely(address usr) returns()
func (*MCDPSMGUSDATransactor) SellGem ¶
func (_MCDPSMGUSDA *MCDPSMGUSDATransactor) SellGem(opts *bind.TransactOpts, usr common.Address, gemAmt *big.Int) (*types.Transaction, error)
SellGem is a paid mutator transaction binding the contract method 0x95991276.
Solidity: function sellGem(address usr, uint256 gemAmt) returns()
type MCDPSMGUSDATransactorRaw ¶
type MCDPSMGUSDATransactorRaw struct {
Contract *MCDPSMGUSDATransactor // Generic write-only contract binding to access the raw methods on
}
MCDPSMGUSDATransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*MCDPSMGUSDATransactorRaw) Transact ¶
func (_MCDPSMGUSDA *MCDPSMGUSDATransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MCDPSMGUSDATransactorRaw) Transfer ¶
func (_MCDPSMGUSDA *MCDPSMGUSDATransactorRaw) 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 MCDPSMGUSDATransactorSession ¶
type MCDPSMGUSDATransactorSession struct { Contract *MCDPSMGUSDATransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
MCDPSMGUSDATransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*MCDPSMGUSDATransactorSession) BuyGem ¶
func (_MCDPSMGUSDA *MCDPSMGUSDATransactorSession) BuyGem(usr common.Address, gemAmt *big.Int) (*types.Transaction, error)
BuyGem is a paid mutator transaction binding the contract method 0x8d7ef9bb.
Solidity: function buyGem(address usr, uint256 gemAmt) returns()
func (*MCDPSMGUSDATransactorSession) Deny ¶
func (_MCDPSMGUSDA *MCDPSMGUSDATransactorSession) Deny(usr common.Address) (*types.Transaction, error)
Deny is a paid mutator transaction binding the contract method 0x9c52a7f1.
Solidity: function deny(address usr) returns()
func (*MCDPSMGUSDATransactorSession) File ¶
func (_MCDPSMGUSDA *MCDPSMGUSDATransactorSession) File(what [32]byte, data *big.Int) (*types.Transaction, error)
File is a paid mutator transaction binding the contract method 0x29ae8114.
Solidity: function file(bytes32 what, uint256 data) returns()
func (*MCDPSMGUSDATransactorSession) Hope ¶
func (_MCDPSMGUSDA *MCDPSMGUSDATransactorSession) Hope(usr common.Address) (*types.Transaction, error)
Hope is a paid mutator transaction binding the contract method 0xa3b22fc4.
Solidity: function hope(address usr) returns()
func (*MCDPSMGUSDATransactorSession) Nope ¶
func (_MCDPSMGUSDA *MCDPSMGUSDATransactorSession) Nope(usr common.Address) (*types.Transaction, error)
Nope is a paid mutator transaction binding the contract method 0xdc4d20fa.
Solidity: function nope(address usr) returns()
func (*MCDPSMGUSDATransactorSession) Rely ¶
func (_MCDPSMGUSDA *MCDPSMGUSDATransactorSession) Rely(usr common.Address) (*types.Transaction, error)
Rely is a paid mutator transaction binding the contract method 0x65fae35e.
Solidity: function rely(address usr) returns()
func (*MCDPSMGUSDATransactorSession) SellGem ¶
func (_MCDPSMGUSDA *MCDPSMGUSDATransactorSession) SellGem(usr common.Address, gemAmt *big.Int) (*types.Transaction, error)
SellGem is a paid mutator transaction binding the contract method 0x95991276.
Solidity: function sellGem(address usr, uint256 gemAmt) returns()
type Rely ¶
type Rely struct { Ts *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"` Usr []byte `protobuf:"bytes,2,opt,name=Usr,proto3" json:"Usr,omitempty"` // address // contains filtered or unexported fields }
func (*Rely) Descriptor
deprecated
func (*Rely) GetTs ¶
func (x *Rely) GetTs() *timestamppb.Timestamp
func (*Rely) ProtoMessage ¶
func (*Rely) ProtoMessage()
func (*Rely) ProtoReflect ¶
func (x *Rely) ProtoReflect() protoreflect.Message
type SellGem ¶
type SellGem 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 Value []byte `protobuf:"bytes,3,opt,name=Value,proto3" json:"Value,omitempty"` // uint256 Fee []byte `protobuf:"bytes,4,opt,name=Fee,proto3" json:"Fee,omitempty"` // uint256 // contains filtered or unexported fields }
func (*SellGem) Descriptor
deprecated
func (*SellGem) GetTs ¶
func (x *SellGem) GetTs() *timestamppb.Timestamp
func (*SellGem) ProtoMessage ¶
func (*SellGem) ProtoMessage()
func (*SellGem) ProtoReflect ¶
func (x *SellGem) 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