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 MCDPSMUSDCA
- type MCDPSMUSDCABuyGem
- type MCDPSMUSDCABuyGemIterator
- type MCDPSMUSDCACaller
- func (_MCDPSMUSDCA *MCDPSMUSDCACaller) Dai(opts *bind.CallOpts) (common.Address, error)
- func (_MCDPSMUSDCA *MCDPSMUSDCACaller) DaiJoin(opts *bind.CallOpts) (common.Address, error)
- func (_MCDPSMUSDCA *MCDPSMUSDCACaller) GemJoin(opts *bind.CallOpts) (common.Address, error)
- func (_MCDPSMUSDCA *MCDPSMUSDCACaller) Ilk(opts *bind.CallOpts) ([32]byte, error)
- func (_MCDPSMUSDCA *MCDPSMUSDCACaller) Tin(opts *bind.CallOpts) (*big.Int, error)
- func (_MCDPSMUSDCA *MCDPSMUSDCACaller) Tout(opts *bind.CallOpts) (*big.Int, error)
- func (_MCDPSMUSDCA *MCDPSMUSDCACaller) Vat(opts *bind.CallOpts) (common.Address, error)
- func (_MCDPSMUSDCA *MCDPSMUSDCACaller) Vow(opts *bind.CallOpts) (common.Address, error)
- func (_MCDPSMUSDCA *MCDPSMUSDCACaller) Wards(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- type MCDPSMUSDCACallerRaw
- type MCDPSMUSDCACallerSession
- func (_MCDPSMUSDCA *MCDPSMUSDCACallerSession) Dai() (common.Address, error)
- func (_MCDPSMUSDCA *MCDPSMUSDCACallerSession) DaiJoin() (common.Address, error)
- func (_MCDPSMUSDCA *MCDPSMUSDCACallerSession) GemJoin() (common.Address, error)
- func (_MCDPSMUSDCA *MCDPSMUSDCACallerSession) Ilk() ([32]byte, error)
- func (_MCDPSMUSDCA *MCDPSMUSDCACallerSession) Tin() (*big.Int, error)
- func (_MCDPSMUSDCA *MCDPSMUSDCACallerSession) Tout() (*big.Int, error)
- func (_MCDPSMUSDCA *MCDPSMUSDCACallerSession) Vat() (common.Address, error)
- func (_MCDPSMUSDCA *MCDPSMUSDCACallerSession) Vow() (common.Address, error)
- func (_MCDPSMUSDCA *MCDPSMUSDCACallerSession) Wards(arg0 common.Address) (*big.Int, error)
- type MCDPSMUSDCADeny
- type MCDPSMUSDCADenyIterator
- type MCDPSMUSDCAFile
- type MCDPSMUSDCAFileIterator
- type MCDPSMUSDCAFilterer
- func (_MCDPSMUSDCA *MCDPSMUSDCAFilterer) FilterBuyGem(opts *bind.FilterOpts, owner []common.Address) (*MCDPSMUSDCABuyGemIterator, error)
- func (_MCDPSMUSDCA *MCDPSMUSDCAFilterer) FilterDeny(opts *bind.FilterOpts) (*MCDPSMUSDCADenyIterator, error)
- func (_MCDPSMUSDCA *MCDPSMUSDCAFilterer) FilterFile(opts *bind.FilterOpts, what [][32]byte) (*MCDPSMUSDCAFileIterator, error)
- func (_MCDPSMUSDCA *MCDPSMUSDCAFilterer) FilterRely(opts *bind.FilterOpts) (*MCDPSMUSDCARelyIterator, error)
- func (_MCDPSMUSDCA *MCDPSMUSDCAFilterer) FilterSellGem(opts *bind.FilterOpts, owner []common.Address) (*MCDPSMUSDCASellGemIterator, error)
- func (_MCDPSMUSDCA *MCDPSMUSDCAFilterer) ParseBuyGem(log types.Log) (*MCDPSMUSDCABuyGem, error)
- func (_MCDPSMUSDCA *MCDPSMUSDCAFilterer) ParseDeny(log types.Log) (*MCDPSMUSDCADeny, error)
- func (_MCDPSMUSDCA *MCDPSMUSDCAFilterer) ParseFile(log types.Log) (*MCDPSMUSDCAFile, error)
- func (_MCDPSMUSDCA *MCDPSMUSDCAFilterer) ParseRely(log types.Log) (*MCDPSMUSDCARely, error)
- func (_MCDPSMUSDCA *MCDPSMUSDCAFilterer) ParseSellGem(log types.Log) (*MCDPSMUSDCASellGem, error)
- func (_MCDPSMUSDCA *MCDPSMUSDCAFilterer) WatchBuyGem(opts *bind.WatchOpts, sink chan<- *MCDPSMUSDCABuyGem, owner []common.Address) (event.Subscription, error)
- func (_MCDPSMUSDCA *MCDPSMUSDCAFilterer) WatchDeny(opts *bind.WatchOpts, sink chan<- *MCDPSMUSDCADeny) (event.Subscription, error)
- func (_MCDPSMUSDCA *MCDPSMUSDCAFilterer) WatchFile(opts *bind.WatchOpts, sink chan<- *MCDPSMUSDCAFile, what [][32]byte) (event.Subscription, error)
- func (_MCDPSMUSDCA *MCDPSMUSDCAFilterer) WatchRely(opts *bind.WatchOpts, sink chan<- *MCDPSMUSDCARely) (event.Subscription, error)
- func (_MCDPSMUSDCA *MCDPSMUSDCAFilterer) WatchSellGem(opts *bind.WatchOpts, sink chan<- *MCDPSMUSDCASellGem, owner []common.Address) (event.Subscription, error)
- type MCDPSMUSDCARaw
- func (_MCDPSMUSDCA *MCDPSMUSDCARaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_MCDPSMUSDCA *MCDPSMUSDCARaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_MCDPSMUSDCA *MCDPSMUSDCARaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type MCDPSMUSDCARely
- type MCDPSMUSDCARelyIterator
- type MCDPSMUSDCASellGem
- type MCDPSMUSDCASellGemIterator
- type MCDPSMUSDCASession
- func (_MCDPSMUSDCA *MCDPSMUSDCASession) BuyGem(usr common.Address, gemAmt *big.Int) (*types.Transaction, error)
- func (_MCDPSMUSDCA *MCDPSMUSDCASession) Dai() (common.Address, error)
- func (_MCDPSMUSDCA *MCDPSMUSDCASession) DaiJoin() (common.Address, error)
- func (_MCDPSMUSDCA *MCDPSMUSDCASession) Deny(usr common.Address) (*types.Transaction, error)
- func (_MCDPSMUSDCA *MCDPSMUSDCASession) File(what [32]byte, data *big.Int) (*types.Transaction, error)
- func (_MCDPSMUSDCA *MCDPSMUSDCASession) GemJoin() (common.Address, error)
- func (_MCDPSMUSDCA *MCDPSMUSDCASession) Hope(usr common.Address) (*types.Transaction, error)
- func (_MCDPSMUSDCA *MCDPSMUSDCASession) Ilk() ([32]byte, error)
- func (_MCDPSMUSDCA *MCDPSMUSDCASession) Nope(usr common.Address) (*types.Transaction, error)
- func (_MCDPSMUSDCA *MCDPSMUSDCASession) Rely(usr common.Address) (*types.Transaction, error)
- func (_MCDPSMUSDCA *MCDPSMUSDCASession) SellGem(usr common.Address, gemAmt *big.Int) (*types.Transaction, error)
- func (_MCDPSMUSDCA *MCDPSMUSDCASession) Tin() (*big.Int, error)
- func (_MCDPSMUSDCA *MCDPSMUSDCASession) Tout() (*big.Int, error)
- func (_MCDPSMUSDCA *MCDPSMUSDCASession) Vat() (common.Address, error)
- func (_MCDPSMUSDCA *MCDPSMUSDCASession) Vow() (common.Address, error)
- func (_MCDPSMUSDCA *MCDPSMUSDCASession) Wards(arg0 common.Address) (*big.Int, error)
- type MCDPSMUSDCATransactor
- func (_MCDPSMUSDCA *MCDPSMUSDCATransactor) BuyGem(opts *bind.TransactOpts, usr common.Address, gemAmt *big.Int) (*types.Transaction, error)
- func (_MCDPSMUSDCA *MCDPSMUSDCATransactor) Deny(opts *bind.TransactOpts, usr common.Address) (*types.Transaction, error)
- func (_MCDPSMUSDCA *MCDPSMUSDCATransactor) File(opts *bind.TransactOpts, what [32]byte, data *big.Int) (*types.Transaction, error)
- func (_MCDPSMUSDCA *MCDPSMUSDCATransactor) Hope(opts *bind.TransactOpts, usr common.Address) (*types.Transaction, error)
- func (_MCDPSMUSDCA *MCDPSMUSDCATransactor) Nope(opts *bind.TransactOpts, usr common.Address) (*types.Transaction, error)
- func (_MCDPSMUSDCA *MCDPSMUSDCATransactor) Rely(opts *bind.TransactOpts, usr common.Address) (*types.Transaction, error)
- func (_MCDPSMUSDCA *MCDPSMUSDCATransactor) SellGem(opts *bind.TransactOpts, usr common.Address, gemAmt *big.Int) (*types.Transaction, error)
- type MCDPSMUSDCATransactorRaw
- type MCDPSMUSDCATransactorSession
- func (_MCDPSMUSDCA *MCDPSMUSDCATransactorSession) BuyGem(usr common.Address, gemAmt *big.Int) (*types.Transaction, error)
- func (_MCDPSMUSDCA *MCDPSMUSDCATransactorSession) Deny(usr common.Address) (*types.Transaction, error)
- func (_MCDPSMUSDCA *MCDPSMUSDCATransactorSession) File(what [32]byte, data *big.Int) (*types.Transaction, error)
- func (_MCDPSMUSDCA *MCDPSMUSDCATransactorSession) Hope(usr common.Address) (*types.Transaction, error)
- func (_MCDPSMUSDCA *MCDPSMUSDCATransactorSession) Nope(usr common.Address) (*types.Transaction, error)
- func (_MCDPSMUSDCA *MCDPSMUSDCATransactorSession) Rely(usr common.Address) (*types.Transaction, error)
- func (_MCDPSMUSDCA *MCDPSMUSDCATransactorSession) 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 MCDPSMUSDCAABI = "" /* 4588-byte string literal not displayed */
MCDPSMUSDCAABI is the input ABI used to generate the binding from.
Variables ¶
var File_MCDPSMUSDCA_MCDPSMUSDCA_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"` User []byte `protobuf:"bytes,2,opt,name=User,proto3" json:"User,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 MCDPSMUSDCA ¶
type MCDPSMUSDCA struct { MCDPSMUSDCACaller // Read-only binding to the contract MCDPSMUSDCATransactor // Write-only binding to the contract MCDPSMUSDCAFilterer // Log filterer for contract events }
MCDPSMUSDCA is an auto generated Go binding around an Ethereum contract.
func NewMCDPSMUSDCA ¶
func NewMCDPSMUSDCA(address common.Address, backend bind.ContractBackend) (*MCDPSMUSDCA, error)
NewMCDPSMUSDCA creates a new instance of MCDPSMUSDCA, bound to a specific deployed contract.
type MCDPSMUSDCABuyGem ¶
type MCDPSMUSDCABuyGem struct { Owner common.Address Value *big.Int Fee *big.Int Raw types.Log // Blockchain specific contextual infos }
MCDPSMUSDCABuyGem represents a BuyGem event raised by the MCDPSMUSDCA contract.
type MCDPSMUSDCABuyGemIterator ¶
type MCDPSMUSDCABuyGemIterator struct { Event *MCDPSMUSDCABuyGem // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MCDPSMUSDCABuyGemIterator is returned from FilterBuyGem and is used to iterate over the raw logs and unpacked data for BuyGem events raised by the MCDPSMUSDCA contract.
func (*MCDPSMUSDCABuyGemIterator) Close ¶
func (it *MCDPSMUSDCABuyGemIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MCDPSMUSDCABuyGemIterator) Error ¶
func (it *MCDPSMUSDCABuyGemIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MCDPSMUSDCABuyGemIterator) Next ¶
func (it *MCDPSMUSDCABuyGemIterator) 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 MCDPSMUSDCACaller ¶
type MCDPSMUSDCACaller struct {
// contains filtered or unexported fields
}
MCDPSMUSDCACaller is an auto generated read-only Go binding around an Ethereum contract.
func NewMCDPSMUSDCACaller ¶
func NewMCDPSMUSDCACaller(address common.Address, caller bind.ContractCaller) (*MCDPSMUSDCACaller, error)
NewMCDPSMUSDCACaller creates a new read-only instance of MCDPSMUSDCA, bound to a specific deployed contract.
func (*MCDPSMUSDCACaller) Dai ¶
Dai is a free data retrieval call binding the contract method 0xf4b9fa75.
Solidity: function dai() view returns(address)
func (*MCDPSMUSDCACaller) DaiJoin ¶
DaiJoin is a free data retrieval call binding the contract method 0xc11645bc.
Solidity: function daiJoin() view returns(address)
func (*MCDPSMUSDCACaller) GemJoin ¶
GemJoin is a free data retrieval call binding the contract method 0x01664f66.
Solidity: function gemJoin() view returns(address)
func (*MCDPSMUSDCACaller) Ilk ¶
func (_MCDPSMUSDCA *MCDPSMUSDCACaller) 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 (*MCDPSMUSDCACaller) Tin ¶
Tin is a free data retrieval call binding the contract method 0x568d4b6f.
Solidity: function tin() view returns(uint256)
func (*MCDPSMUSDCACaller) Tout ¶
Tout is a free data retrieval call binding the contract method 0xfae036d5.
Solidity: function tout() view returns(uint256)
func (*MCDPSMUSDCACaller) Vat ¶
Vat is a free data retrieval call binding the contract method 0x36569e77.
Solidity: function vat() view returns(address)
type MCDPSMUSDCACallerRaw ¶
type MCDPSMUSDCACallerRaw struct {
Contract *MCDPSMUSDCACaller // Generic read-only contract binding to access the raw methods on
}
MCDPSMUSDCACallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*MCDPSMUSDCACallerRaw) Call ¶
func (_MCDPSMUSDCA *MCDPSMUSDCACallerRaw) 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 MCDPSMUSDCACallerSession ¶
type MCDPSMUSDCACallerSession struct { Contract *MCDPSMUSDCACaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
MCDPSMUSDCACallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*MCDPSMUSDCACallerSession) Dai ¶
func (_MCDPSMUSDCA *MCDPSMUSDCACallerSession) Dai() (common.Address, error)
Dai is a free data retrieval call binding the contract method 0xf4b9fa75.
Solidity: function dai() view returns(address)
func (*MCDPSMUSDCACallerSession) DaiJoin ¶
func (_MCDPSMUSDCA *MCDPSMUSDCACallerSession) DaiJoin() (common.Address, error)
DaiJoin is a free data retrieval call binding the contract method 0xc11645bc.
Solidity: function daiJoin() view returns(address)
func (*MCDPSMUSDCACallerSession) GemJoin ¶
func (_MCDPSMUSDCA *MCDPSMUSDCACallerSession) GemJoin() (common.Address, error)
GemJoin is a free data retrieval call binding the contract method 0x01664f66.
Solidity: function gemJoin() view returns(address)
func (*MCDPSMUSDCACallerSession) Ilk ¶
func (_MCDPSMUSDCA *MCDPSMUSDCACallerSession) Ilk() ([32]byte, error)
Ilk is a free data retrieval call binding the contract method 0xc5ce281e.
Solidity: function ilk() view returns(bytes32)
func (*MCDPSMUSDCACallerSession) Tin ¶
func (_MCDPSMUSDCA *MCDPSMUSDCACallerSession) Tin() (*big.Int, error)
Tin is a free data retrieval call binding the contract method 0x568d4b6f.
Solidity: function tin() view returns(uint256)
func (*MCDPSMUSDCACallerSession) Tout ¶
func (_MCDPSMUSDCA *MCDPSMUSDCACallerSession) Tout() (*big.Int, error)
Tout is a free data retrieval call binding the contract method 0xfae036d5.
Solidity: function tout() view returns(uint256)
func (*MCDPSMUSDCACallerSession) Vat ¶
func (_MCDPSMUSDCA *MCDPSMUSDCACallerSession) Vat() (common.Address, error)
Vat is a free data retrieval call binding the contract method 0x36569e77.
Solidity: function vat() view returns(address)
type MCDPSMUSDCADeny ¶
type MCDPSMUSDCADeny struct { User common.Address Raw types.Log // Blockchain specific contextual infos }
MCDPSMUSDCADeny represents a Deny event raised by the MCDPSMUSDCA contract.
type MCDPSMUSDCADenyIterator ¶
type MCDPSMUSDCADenyIterator struct { Event *MCDPSMUSDCADeny // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MCDPSMUSDCADenyIterator is returned from FilterDeny and is used to iterate over the raw logs and unpacked data for Deny events raised by the MCDPSMUSDCA contract.
func (*MCDPSMUSDCADenyIterator) Close ¶
func (it *MCDPSMUSDCADenyIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MCDPSMUSDCADenyIterator) Error ¶
func (it *MCDPSMUSDCADenyIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MCDPSMUSDCADenyIterator) Next ¶
func (it *MCDPSMUSDCADenyIterator) 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 MCDPSMUSDCAFile ¶
type MCDPSMUSDCAFile struct { What [32]byte Data *big.Int Raw types.Log // Blockchain specific contextual infos }
MCDPSMUSDCAFile represents a File event raised by the MCDPSMUSDCA contract.
type MCDPSMUSDCAFileIterator ¶
type MCDPSMUSDCAFileIterator struct { Event *MCDPSMUSDCAFile // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MCDPSMUSDCAFileIterator is returned from FilterFile and is used to iterate over the raw logs and unpacked data for File events raised by the MCDPSMUSDCA contract.
func (*MCDPSMUSDCAFileIterator) Close ¶
func (it *MCDPSMUSDCAFileIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MCDPSMUSDCAFileIterator) Error ¶
func (it *MCDPSMUSDCAFileIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MCDPSMUSDCAFileIterator) Next ¶
func (it *MCDPSMUSDCAFileIterator) 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 MCDPSMUSDCAFilterer ¶
type MCDPSMUSDCAFilterer struct {
// contains filtered or unexported fields
}
MCDPSMUSDCAFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewMCDPSMUSDCAFilterer ¶
func NewMCDPSMUSDCAFilterer(address common.Address, filterer bind.ContractFilterer) (*MCDPSMUSDCAFilterer, error)
NewMCDPSMUSDCAFilterer creates a new log filterer instance of MCDPSMUSDCA, bound to a specific deployed contract.
func (*MCDPSMUSDCAFilterer) FilterBuyGem ¶
func (_MCDPSMUSDCA *MCDPSMUSDCAFilterer) FilterBuyGem(opts *bind.FilterOpts, owner []common.Address) (*MCDPSMUSDCABuyGemIterator, error)
FilterBuyGem is a free log retrieval operation binding the contract event 0x085d06ecf4c34b237767a31c0888e121d89546a77f186f1987c6b8715e1a8caa.
Solidity: event BuyGem(address indexed owner, uint256 value, uint256 fee)
func (*MCDPSMUSDCAFilterer) FilterDeny ¶
func (_MCDPSMUSDCA *MCDPSMUSDCAFilterer) FilterDeny(opts *bind.FilterOpts) (*MCDPSMUSDCADenyIterator, error)
FilterDeny is a free log retrieval operation binding the contract event 0x184450df2e323acec0ed3b5c7531b81f9b4cdef7914dfd4c0a4317416bb5251b.
Solidity: event Deny(address user)
func (*MCDPSMUSDCAFilterer) FilterFile ¶
func (_MCDPSMUSDCA *MCDPSMUSDCAFilterer) FilterFile(opts *bind.FilterOpts, what [][32]byte) (*MCDPSMUSDCAFileIterator, error)
FilterFile is a free log retrieval operation binding the contract event 0xe986e40cc8c151830d4f61050f4fb2e4add8567caad2d5f5496f9158e91fe4c7.
Solidity: event File(bytes32 indexed what, uint256 data)
func (*MCDPSMUSDCAFilterer) FilterRely ¶
func (_MCDPSMUSDCA *MCDPSMUSDCAFilterer) FilterRely(opts *bind.FilterOpts) (*MCDPSMUSDCARelyIterator, error)
FilterRely is a free log retrieval operation binding the contract event 0xdd0e34038ac38b2a1ce960229778ac48a8719bc900b6c4f8d0475c6e8b385a60.
Solidity: event Rely(address user)
func (*MCDPSMUSDCAFilterer) FilterSellGem ¶
func (_MCDPSMUSDCA *MCDPSMUSDCAFilterer) FilterSellGem(opts *bind.FilterOpts, owner []common.Address) (*MCDPSMUSDCASellGemIterator, error)
FilterSellGem is a free log retrieval operation binding the contract event 0xef75f5a47cc9a929968796ceb84f19e7541617b4577f2c228ea95200e1572081.
Solidity: event SellGem(address indexed owner, uint256 value, uint256 fee)
func (*MCDPSMUSDCAFilterer) ParseBuyGem ¶
func (_MCDPSMUSDCA *MCDPSMUSDCAFilterer) ParseBuyGem(log types.Log) (*MCDPSMUSDCABuyGem, error)
ParseBuyGem is a log parse operation binding the contract event 0x085d06ecf4c34b237767a31c0888e121d89546a77f186f1987c6b8715e1a8caa.
Solidity: event BuyGem(address indexed owner, uint256 value, uint256 fee)
func (*MCDPSMUSDCAFilterer) ParseDeny ¶
func (_MCDPSMUSDCA *MCDPSMUSDCAFilterer) ParseDeny(log types.Log) (*MCDPSMUSDCADeny, error)
ParseDeny is a log parse operation binding the contract event 0x184450df2e323acec0ed3b5c7531b81f9b4cdef7914dfd4c0a4317416bb5251b.
Solidity: event Deny(address user)
func (*MCDPSMUSDCAFilterer) ParseFile ¶
func (_MCDPSMUSDCA *MCDPSMUSDCAFilterer) ParseFile(log types.Log) (*MCDPSMUSDCAFile, error)
ParseFile is a log parse operation binding the contract event 0xe986e40cc8c151830d4f61050f4fb2e4add8567caad2d5f5496f9158e91fe4c7.
Solidity: event File(bytes32 indexed what, uint256 data)
func (*MCDPSMUSDCAFilterer) ParseRely ¶
func (_MCDPSMUSDCA *MCDPSMUSDCAFilterer) ParseRely(log types.Log) (*MCDPSMUSDCARely, error)
ParseRely is a log parse operation binding the contract event 0xdd0e34038ac38b2a1ce960229778ac48a8719bc900b6c4f8d0475c6e8b385a60.
Solidity: event Rely(address user)
func (*MCDPSMUSDCAFilterer) ParseSellGem ¶
func (_MCDPSMUSDCA *MCDPSMUSDCAFilterer) ParseSellGem(log types.Log) (*MCDPSMUSDCASellGem, error)
ParseSellGem is a log parse operation binding the contract event 0xef75f5a47cc9a929968796ceb84f19e7541617b4577f2c228ea95200e1572081.
Solidity: event SellGem(address indexed owner, uint256 value, uint256 fee)
func (*MCDPSMUSDCAFilterer) WatchBuyGem ¶
func (_MCDPSMUSDCA *MCDPSMUSDCAFilterer) WatchBuyGem(opts *bind.WatchOpts, sink chan<- *MCDPSMUSDCABuyGem, 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 (*MCDPSMUSDCAFilterer) WatchDeny ¶
func (_MCDPSMUSDCA *MCDPSMUSDCAFilterer) WatchDeny(opts *bind.WatchOpts, sink chan<- *MCDPSMUSDCADeny) (event.Subscription, error)
WatchDeny is a free log subscription operation binding the contract event 0x184450df2e323acec0ed3b5c7531b81f9b4cdef7914dfd4c0a4317416bb5251b.
Solidity: event Deny(address user)
func (*MCDPSMUSDCAFilterer) WatchFile ¶
func (_MCDPSMUSDCA *MCDPSMUSDCAFilterer) WatchFile(opts *bind.WatchOpts, sink chan<- *MCDPSMUSDCAFile, 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 (*MCDPSMUSDCAFilterer) WatchRely ¶
func (_MCDPSMUSDCA *MCDPSMUSDCAFilterer) WatchRely(opts *bind.WatchOpts, sink chan<- *MCDPSMUSDCARely) (event.Subscription, error)
WatchRely is a free log subscription operation binding the contract event 0xdd0e34038ac38b2a1ce960229778ac48a8719bc900b6c4f8d0475c6e8b385a60.
Solidity: event Rely(address user)
func (*MCDPSMUSDCAFilterer) WatchSellGem ¶
func (_MCDPSMUSDCA *MCDPSMUSDCAFilterer) WatchSellGem(opts *bind.WatchOpts, sink chan<- *MCDPSMUSDCASellGem, 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 MCDPSMUSDCARaw ¶
type MCDPSMUSDCARaw struct {
Contract *MCDPSMUSDCA // Generic contract binding to access the raw methods on
}
MCDPSMUSDCARaw is an auto generated low-level Go binding around an Ethereum contract.
func (*MCDPSMUSDCARaw) Call ¶
func (_MCDPSMUSDCA *MCDPSMUSDCARaw) 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 (*MCDPSMUSDCARaw) Transact ¶
func (_MCDPSMUSDCA *MCDPSMUSDCARaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MCDPSMUSDCARaw) Transfer ¶
func (_MCDPSMUSDCA *MCDPSMUSDCARaw) 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 MCDPSMUSDCARely ¶
type MCDPSMUSDCARely struct { User common.Address Raw types.Log // Blockchain specific contextual infos }
MCDPSMUSDCARely represents a Rely event raised by the MCDPSMUSDCA contract.
type MCDPSMUSDCARelyIterator ¶
type MCDPSMUSDCARelyIterator struct { Event *MCDPSMUSDCARely // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MCDPSMUSDCARelyIterator is returned from FilterRely and is used to iterate over the raw logs and unpacked data for Rely events raised by the MCDPSMUSDCA contract.
func (*MCDPSMUSDCARelyIterator) Close ¶
func (it *MCDPSMUSDCARelyIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MCDPSMUSDCARelyIterator) Error ¶
func (it *MCDPSMUSDCARelyIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MCDPSMUSDCARelyIterator) Next ¶
func (it *MCDPSMUSDCARelyIterator) 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 MCDPSMUSDCASellGem ¶
type MCDPSMUSDCASellGem struct { Owner common.Address Value *big.Int Fee *big.Int Raw types.Log // Blockchain specific contextual infos }
MCDPSMUSDCASellGem represents a SellGem event raised by the MCDPSMUSDCA contract.
type MCDPSMUSDCASellGemIterator ¶
type MCDPSMUSDCASellGemIterator struct { Event *MCDPSMUSDCASellGem // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MCDPSMUSDCASellGemIterator is returned from FilterSellGem and is used to iterate over the raw logs and unpacked data for SellGem events raised by the MCDPSMUSDCA contract.
func (*MCDPSMUSDCASellGemIterator) Close ¶
func (it *MCDPSMUSDCASellGemIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MCDPSMUSDCASellGemIterator) Error ¶
func (it *MCDPSMUSDCASellGemIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MCDPSMUSDCASellGemIterator) Next ¶
func (it *MCDPSMUSDCASellGemIterator) 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 MCDPSMUSDCASession ¶
type MCDPSMUSDCASession struct { Contract *MCDPSMUSDCA // 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 }
MCDPSMUSDCASession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*MCDPSMUSDCASession) BuyGem ¶
func (_MCDPSMUSDCA *MCDPSMUSDCASession) 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 (*MCDPSMUSDCASession) Dai ¶
func (_MCDPSMUSDCA *MCDPSMUSDCASession) Dai() (common.Address, error)
Dai is a free data retrieval call binding the contract method 0xf4b9fa75.
Solidity: function dai() view returns(address)
func (*MCDPSMUSDCASession) DaiJoin ¶
func (_MCDPSMUSDCA *MCDPSMUSDCASession) DaiJoin() (common.Address, error)
DaiJoin is a free data retrieval call binding the contract method 0xc11645bc.
Solidity: function daiJoin() view returns(address)
func (*MCDPSMUSDCASession) Deny ¶
func (_MCDPSMUSDCA *MCDPSMUSDCASession) 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 (*MCDPSMUSDCASession) File ¶
func (_MCDPSMUSDCA *MCDPSMUSDCASession) 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 (*MCDPSMUSDCASession) GemJoin ¶
func (_MCDPSMUSDCA *MCDPSMUSDCASession) GemJoin() (common.Address, error)
GemJoin is a free data retrieval call binding the contract method 0x01664f66.
Solidity: function gemJoin() view returns(address)
func (*MCDPSMUSDCASession) Hope ¶
func (_MCDPSMUSDCA *MCDPSMUSDCASession) 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 (*MCDPSMUSDCASession) Ilk ¶
func (_MCDPSMUSDCA *MCDPSMUSDCASession) Ilk() ([32]byte, error)
Ilk is a free data retrieval call binding the contract method 0xc5ce281e.
Solidity: function ilk() view returns(bytes32)
func (*MCDPSMUSDCASession) Nope ¶
func (_MCDPSMUSDCA *MCDPSMUSDCASession) 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 (*MCDPSMUSDCASession) Rely ¶
func (_MCDPSMUSDCA *MCDPSMUSDCASession) 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 (*MCDPSMUSDCASession) SellGem ¶
func (_MCDPSMUSDCA *MCDPSMUSDCASession) 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 (*MCDPSMUSDCASession) Tin ¶
func (_MCDPSMUSDCA *MCDPSMUSDCASession) Tin() (*big.Int, error)
Tin is a free data retrieval call binding the contract method 0x568d4b6f.
Solidity: function tin() view returns(uint256)
func (*MCDPSMUSDCASession) Tout ¶
func (_MCDPSMUSDCA *MCDPSMUSDCASession) Tout() (*big.Int, error)
Tout is a free data retrieval call binding the contract method 0xfae036d5.
Solidity: function tout() view returns(uint256)
func (*MCDPSMUSDCASession) Vat ¶
func (_MCDPSMUSDCA *MCDPSMUSDCASession) Vat() (common.Address, error)
Vat is a free data retrieval call binding the contract method 0x36569e77.
Solidity: function vat() view returns(address)
type MCDPSMUSDCATransactor ¶
type MCDPSMUSDCATransactor struct {
// contains filtered or unexported fields
}
MCDPSMUSDCATransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewMCDPSMUSDCATransactor ¶
func NewMCDPSMUSDCATransactor(address common.Address, transactor bind.ContractTransactor) (*MCDPSMUSDCATransactor, error)
NewMCDPSMUSDCATransactor creates a new write-only instance of MCDPSMUSDCA, bound to a specific deployed contract.
func (*MCDPSMUSDCATransactor) BuyGem ¶
func (_MCDPSMUSDCA *MCDPSMUSDCATransactor) 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 (*MCDPSMUSDCATransactor) Deny ¶
func (_MCDPSMUSDCA *MCDPSMUSDCATransactor) 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 (*MCDPSMUSDCATransactor) File ¶
func (_MCDPSMUSDCA *MCDPSMUSDCATransactor) 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 (*MCDPSMUSDCATransactor) Hope ¶
func (_MCDPSMUSDCA *MCDPSMUSDCATransactor) 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 (*MCDPSMUSDCATransactor) Nope ¶
func (_MCDPSMUSDCA *MCDPSMUSDCATransactor) 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 (*MCDPSMUSDCATransactor) Rely ¶
func (_MCDPSMUSDCA *MCDPSMUSDCATransactor) 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 (*MCDPSMUSDCATransactor) SellGem ¶
func (_MCDPSMUSDCA *MCDPSMUSDCATransactor) 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 MCDPSMUSDCATransactorRaw ¶
type MCDPSMUSDCATransactorRaw struct {
Contract *MCDPSMUSDCATransactor // Generic write-only contract binding to access the raw methods on
}
MCDPSMUSDCATransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*MCDPSMUSDCATransactorRaw) Transact ¶
func (_MCDPSMUSDCA *MCDPSMUSDCATransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MCDPSMUSDCATransactorRaw) Transfer ¶
func (_MCDPSMUSDCA *MCDPSMUSDCATransactorRaw) 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 MCDPSMUSDCATransactorSession ¶
type MCDPSMUSDCATransactorSession struct { Contract *MCDPSMUSDCATransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
MCDPSMUSDCATransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*MCDPSMUSDCATransactorSession) BuyGem ¶
func (_MCDPSMUSDCA *MCDPSMUSDCATransactorSession) 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 (*MCDPSMUSDCATransactorSession) Deny ¶
func (_MCDPSMUSDCA *MCDPSMUSDCATransactorSession) 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 (*MCDPSMUSDCATransactorSession) File ¶
func (_MCDPSMUSDCA *MCDPSMUSDCATransactorSession) 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 (*MCDPSMUSDCATransactorSession) Hope ¶
func (_MCDPSMUSDCA *MCDPSMUSDCATransactorSession) 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 (*MCDPSMUSDCATransactorSession) Nope ¶
func (_MCDPSMUSDCA *MCDPSMUSDCATransactorSession) 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 (*MCDPSMUSDCATransactorSession) Rely ¶
func (_MCDPSMUSDCA *MCDPSMUSDCATransactorSession) 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 (*MCDPSMUSDCATransactorSession) SellGem ¶
func (_MCDPSMUSDCA *MCDPSMUSDCATransactorSession) 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"` User []byte `protobuf:"bytes,2,opt,name=User,proto3" json:"User,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