MCDPSMPaxA

package
v0.0.0-...-a05b099 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 20, 2023 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const MCDPSMPAXAABI = "" /* 4584-byte string literal not displayed */

MCDPSMPAXAABI is the input ABI used to generate the binding from.

Variables

View Source
var File_MCDPSMPaxA_MCDPSMPaxA_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) Descriptor() ([]byte, []int)

Deprecated: Use BuyGem.ProtoReflect.Descriptor instead.

func (*BuyGem) GetFee

func (x *BuyGem) GetFee() []byte

func (*BuyGem) GetOwner

func (x *BuyGem) GetOwner() []byte

func (*BuyGem) GetTs

func (x *BuyGem) GetTs() *timestamppb.Timestamp

func (*BuyGem) GetValue

func (x *BuyGem) GetValue() []byte

func (*BuyGem) ProtoMessage

func (*BuyGem) ProtoMessage()

func (*BuyGem) ProtoReflect

func (x *BuyGem) ProtoReflect() protoreflect.Message

func (*BuyGem) Reset

func (x *BuyGem) Reset()

func (*BuyGem) String

func (x *BuyGem) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Deny.ProtoReflect.Descriptor instead.

func (*Deny) GetTs

func (x *Deny) GetTs() *timestamppb.Timestamp

func (*Deny) GetUsr

func (x *Deny) GetUsr() []byte

func (*Deny) ProtoMessage

func (*Deny) ProtoMessage()

func (*Deny) ProtoReflect

func (x *Deny) ProtoReflect() protoreflect.Message

func (*Deny) Reset

func (x *Deny) Reset()

func (*Deny) String

func (x *Deny) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use File.ProtoReflect.Descriptor instead.

func (*File) GetData

func (x *File) GetData() []byte

func (*File) GetTs

func (x *File) GetTs() *timestamppb.Timestamp

func (*File) GetWhat

func (x *File) GetWhat() []byte

func (*File) ProtoMessage

func (*File) ProtoMessage()

func (*File) ProtoReflect

func (x *File) ProtoReflect() protoreflect.Message

func (*File) Reset

func (x *File) Reset()

func (*File) String

func (x *File) String() string

type MCDPSMPAXA

type MCDPSMPAXA struct {
	MCDPSMPAXACaller     // Read-only binding to the contract
	MCDPSMPAXATransactor // Write-only binding to the contract
	MCDPSMPAXAFilterer   // Log filterer for contract events
}

MCDPSMPAXA is an auto generated Go binding around an Ethereum contract.

func NewMCDPSMPAXA

func NewMCDPSMPAXA(address common.Address, backend bind.ContractBackend) (*MCDPSMPAXA, error)

NewMCDPSMPAXA creates a new instance of MCDPSMPAXA, bound to a specific deployed contract.

type MCDPSMPAXABuyGem

type MCDPSMPAXABuyGem struct {
	Owner common.Address
	Value *big.Int
	Fee   *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

MCDPSMPAXABuyGem represents a BuyGem event raised by the MCDPSMPAXA contract.

type MCDPSMPAXABuyGemIterator

type MCDPSMPAXABuyGemIterator struct {
	Event *MCDPSMPAXABuyGem // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

MCDPSMPAXABuyGemIterator is returned from FilterBuyGem and is used to iterate over the raw logs and unpacked data for BuyGem events raised by the MCDPSMPAXA contract.

func (*MCDPSMPAXABuyGemIterator) Close

func (it *MCDPSMPAXABuyGemIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*MCDPSMPAXABuyGemIterator) Error

func (it *MCDPSMPAXABuyGemIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MCDPSMPAXABuyGemIterator) Next

func (it *MCDPSMPAXABuyGemIterator) 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 MCDPSMPAXACaller

type MCDPSMPAXACaller struct {
	// contains filtered or unexported fields
}

MCDPSMPAXACaller is an auto generated read-only Go binding around an Ethereum contract.

func NewMCDPSMPAXACaller

func NewMCDPSMPAXACaller(address common.Address, caller bind.ContractCaller) (*MCDPSMPAXACaller, error)

NewMCDPSMPAXACaller creates a new read-only instance of MCDPSMPAXA, bound to a specific deployed contract.

func (*MCDPSMPAXACaller) Dai

func (_MCDPSMPAXA *MCDPSMPAXACaller) Dai(opts *bind.CallOpts) (common.Address, error)

Dai is a free data retrieval call binding the contract method 0xf4b9fa75.

Solidity: function dai() view returns(address)

func (*MCDPSMPAXACaller) DaiJoin

func (_MCDPSMPAXA *MCDPSMPAXACaller) DaiJoin(opts *bind.CallOpts) (common.Address, error)

DaiJoin is a free data retrieval call binding the contract method 0xc11645bc.

Solidity: function daiJoin() view returns(address)

func (*MCDPSMPAXACaller) GemJoin

func (_MCDPSMPAXA *MCDPSMPAXACaller) GemJoin(opts *bind.CallOpts) (common.Address, error)

GemJoin is a free data retrieval call binding the contract method 0x01664f66.

Solidity: function gemJoin() view returns(address)

func (*MCDPSMPAXACaller) Ilk

func (_MCDPSMPAXA *MCDPSMPAXACaller) 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 (*MCDPSMPAXACaller) Tin

func (_MCDPSMPAXA *MCDPSMPAXACaller) Tin(opts *bind.CallOpts) (*big.Int, error)

Tin is a free data retrieval call binding the contract method 0x568d4b6f.

Solidity: function tin() view returns(uint256)

func (*MCDPSMPAXACaller) Tout

func (_MCDPSMPAXA *MCDPSMPAXACaller) Tout(opts *bind.CallOpts) (*big.Int, error)

Tout is a free data retrieval call binding the contract method 0xfae036d5.

Solidity: function tout() view returns(uint256)

func (*MCDPSMPAXACaller) Vat

func (_MCDPSMPAXA *MCDPSMPAXACaller) Vat(opts *bind.CallOpts) (common.Address, error)

Vat is a free data retrieval call binding the contract method 0x36569e77.

Solidity: function vat() view returns(address)

func (*MCDPSMPAXACaller) Vow

func (_MCDPSMPAXA *MCDPSMPAXACaller) Vow(opts *bind.CallOpts) (common.Address, error)

Vow is a free data retrieval call binding the contract method 0x626cb3c5.

Solidity: function vow() view returns(address)

func (*MCDPSMPAXACaller) Wards

func (_MCDPSMPAXA *MCDPSMPAXACaller) Wards(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

Wards is a free data retrieval call binding the contract method 0xbf353dbb.

Solidity: function wards(address ) view returns(uint256)

type MCDPSMPAXACallerRaw

type MCDPSMPAXACallerRaw struct {
	Contract *MCDPSMPAXACaller // Generic read-only contract binding to access the raw methods on
}

MCDPSMPAXACallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*MCDPSMPAXACallerRaw) Call

func (_MCDPSMPAXA *MCDPSMPAXACallerRaw) 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 MCDPSMPAXACallerSession

type MCDPSMPAXACallerSession struct {
	Contract *MCDPSMPAXACaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts     // Call options to use throughout this session
}

MCDPSMPAXACallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*MCDPSMPAXACallerSession) Dai

func (_MCDPSMPAXA *MCDPSMPAXACallerSession) Dai() (common.Address, error)

Dai is a free data retrieval call binding the contract method 0xf4b9fa75.

Solidity: function dai() view returns(address)

func (*MCDPSMPAXACallerSession) DaiJoin

func (_MCDPSMPAXA *MCDPSMPAXACallerSession) DaiJoin() (common.Address, error)

DaiJoin is a free data retrieval call binding the contract method 0xc11645bc.

Solidity: function daiJoin() view returns(address)

func (*MCDPSMPAXACallerSession) GemJoin

func (_MCDPSMPAXA *MCDPSMPAXACallerSession) GemJoin() (common.Address, error)

GemJoin is a free data retrieval call binding the contract method 0x01664f66.

Solidity: function gemJoin() view returns(address)

func (*MCDPSMPAXACallerSession) Ilk

func (_MCDPSMPAXA *MCDPSMPAXACallerSession) Ilk() ([32]byte, error)

Ilk is a free data retrieval call binding the contract method 0xc5ce281e.

Solidity: function ilk() view returns(bytes32)

func (*MCDPSMPAXACallerSession) Tin

func (_MCDPSMPAXA *MCDPSMPAXACallerSession) Tin() (*big.Int, error)

Tin is a free data retrieval call binding the contract method 0x568d4b6f.

Solidity: function tin() view returns(uint256)

func (*MCDPSMPAXACallerSession) Tout

func (_MCDPSMPAXA *MCDPSMPAXACallerSession) Tout() (*big.Int, error)

Tout is a free data retrieval call binding the contract method 0xfae036d5.

Solidity: function tout() view returns(uint256)

func (*MCDPSMPAXACallerSession) Vat

func (_MCDPSMPAXA *MCDPSMPAXACallerSession) Vat() (common.Address, error)

Vat is a free data retrieval call binding the contract method 0x36569e77.

Solidity: function vat() view returns(address)

func (*MCDPSMPAXACallerSession) Vow

func (_MCDPSMPAXA *MCDPSMPAXACallerSession) Vow() (common.Address, error)

Vow is a free data retrieval call binding the contract method 0x626cb3c5.

Solidity: function vow() view returns(address)

func (*MCDPSMPAXACallerSession) Wards

func (_MCDPSMPAXA *MCDPSMPAXACallerSession) Wards(arg0 common.Address) (*big.Int, error)

Wards is a free data retrieval call binding the contract method 0xbf353dbb.

Solidity: function wards(address ) view returns(uint256)

type MCDPSMPAXADeny

type MCDPSMPAXADeny struct {
	Usr common.Address
	Raw types.Log // Blockchain specific contextual infos
}

MCDPSMPAXADeny represents a Deny event raised by the MCDPSMPAXA contract.

type MCDPSMPAXADenyIterator

type MCDPSMPAXADenyIterator struct {
	Event *MCDPSMPAXADeny // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

MCDPSMPAXADenyIterator is returned from FilterDeny and is used to iterate over the raw logs and unpacked data for Deny events raised by the MCDPSMPAXA contract.

func (*MCDPSMPAXADenyIterator) Close

func (it *MCDPSMPAXADenyIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*MCDPSMPAXADenyIterator) Error

func (it *MCDPSMPAXADenyIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MCDPSMPAXADenyIterator) Next

func (it *MCDPSMPAXADenyIterator) 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 MCDPSMPAXAFile

type MCDPSMPAXAFile struct {
	What [32]byte
	Data *big.Int
	Raw  types.Log // Blockchain specific contextual infos
}

MCDPSMPAXAFile represents a File event raised by the MCDPSMPAXA contract.

type MCDPSMPAXAFileIterator

type MCDPSMPAXAFileIterator struct {
	Event *MCDPSMPAXAFile // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

MCDPSMPAXAFileIterator is returned from FilterFile and is used to iterate over the raw logs and unpacked data for File events raised by the MCDPSMPAXA contract.

func (*MCDPSMPAXAFileIterator) Close

func (it *MCDPSMPAXAFileIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*MCDPSMPAXAFileIterator) Error

func (it *MCDPSMPAXAFileIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MCDPSMPAXAFileIterator) Next

func (it *MCDPSMPAXAFileIterator) 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 MCDPSMPAXAFilterer

type MCDPSMPAXAFilterer struct {
	// contains filtered or unexported fields
}

MCDPSMPAXAFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewMCDPSMPAXAFilterer

func NewMCDPSMPAXAFilterer(address common.Address, filterer bind.ContractFilterer) (*MCDPSMPAXAFilterer, error)

NewMCDPSMPAXAFilterer creates a new log filterer instance of MCDPSMPAXA, bound to a specific deployed contract.

func (*MCDPSMPAXAFilterer) FilterBuyGem

func (_MCDPSMPAXA *MCDPSMPAXAFilterer) FilterBuyGem(opts *bind.FilterOpts, owner []common.Address) (*MCDPSMPAXABuyGemIterator, error)

FilterBuyGem is a free log retrieval operation binding the contract event 0x085d06ecf4c34b237767a31c0888e121d89546a77f186f1987c6b8715e1a8caa.

Solidity: event BuyGem(address indexed owner, uint256 value, uint256 fee)

func (*MCDPSMPAXAFilterer) FilterDeny

func (_MCDPSMPAXA *MCDPSMPAXAFilterer) FilterDeny(opts *bind.FilterOpts, usr []common.Address) (*MCDPSMPAXADenyIterator, error)

FilterDeny is a free log retrieval operation binding the contract event 0x184450df2e323acec0ed3b5c7531b81f9b4cdef7914dfd4c0a4317416bb5251b.

Solidity: event Deny(address indexed usr)

func (*MCDPSMPAXAFilterer) FilterFile

func (_MCDPSMPAXA *MCDPSMPAXAFilterer) FilterFile(opts *bind.FilterOpts, what [][32]byte) (*MCDPSMPAXAFileIterator, error)

FilterFile is a free log retrieval operation binding the contract event 0xe986e40cc8c151830d4f61050f4fb2e4add8567caad2d5f5496f9158e91fe4c7.

Solidity: event File(bytes32 indexed what, uint256 data)

func (*MCDPSMPAXAFilterer) FilterRely

func (_MCDPSMPAXA *MCDPSMPAXAFilterer) FilterRely(opts *bind.FilterOpts, usr []common.Address) (*MCDPSMPAXARelyIterator, error)

FilterRely is a free log retrieval operation binding the contract event 0xdd0e34038ac38b2a1ce960229778ac48a8719bc900b6c4f8d0475c6e8b385a60.

Solidity: event Rely(address indexed usr)

func (*MCDPSMPAXAFilterer) FilterSellGem

func (_MCDPSMPAXA *MCDPSMPAXAFilterer) FilterSellGem(opts *bind.FilterOpts, owner []common.Address) (*MCDPSMPAXASellGemIterator, error)

FilterSellGem is a free log retrieval operation binding the contract event 0xef75f5a47cc9a929968796ceb84f19e7541617b4577f2c228ea95200e1572081.

Solidity: event SellGem(address indexed owner, uint256 value, uint256 fee)

func (*MCDPSMPAXAFilterer) ParseBuyGem

func (_MCDPSMPAXA *MCDPSMPAXAFilterer) ParseBuyGem(log types.Log) (*MCDPSMPAXABuyGem, error)

ParseBuyGem is a log parse operation binding the contract event 0x085d06ecf4c34b237767a31c0888e121d89546a77f186f1987c6b8715e1a8caa.

Solidity: event BuyGem(address indexed owner, uint256 value, uint256 fee)

func (*MCDPSMPAXAFilterer) ParseDeny

func (_MCDPSMPAXA *MCDPSMPAXAFilterer) ParseDeny(log types.Log) (*MCDPSMPAXADeny, error)

ParseDeny is a log parse operation binding the contract event 0x184450df2e323acec0ed3b5c7531b81f9b4cdef7914dfd4c0a4317416bb5251b.

Solidity: event Deny(address indexed usr)

func (*MCDPSMPAXAFilterer) ParseFile

func (_MCDPSMPAXA *MCDPSMPAXAFilterer) ParseFile(log types.Log) (*MCDPSMPAXAFile, error)

ParseFile is a log parse operation binding the contract event 0xe986e40cc8c151830d4f61050f4fb2e4add8567caad2d5f5496f9158e91fe4c7.

Solidity: event File(bytes32 indexed what, uint256 data)

func (*MCDPSMPAXAFilterer) ParseRely

func (_MCDPSMPAXA *MCDPSMPAXAFilterer) ParseRely(log types.Log) (*MCDPSMPAXARely, error)

ParseRely is a log parse operation binding the contract event 0xdd0e34038ac38b2a1ce960229778ac48a8719bc900b6c4f8d0475c6e8b385a60.

Solidity: event Rely(address indexed usr)

func (*MCDPSMPAXAFilterer) ParseSellGem

func (_MCDPSMPAXA *MCDPSMPAXAFilterer) ParseSellGem(log types.Log) (*MCDPSMPAXASellGem, error)

ParseSellGem is a log parse operation binding the contract event 0xef75f5a47cc9a929968796ceb84f19e7541617b4577f2c228ea95200e1572081.

Solidity: event SellGem(address indexed owner, uint256 value, uint256 fee)

func (*MCDPSMPAXAFilterer) WatchBuyGem

func (_MCDPSMPAXA *MCDPSMPAXAFilterer) WatchBuyGem(opts *bind.WatchOpts, sink chan<- *MCDPSMPAXABuyGem, 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 (*MCDPSMPAXAFilterer) WatchDeny

func (_MCDPSMPAXA *MCDPSMPAXAFilterer) WatchDeny(opts *bind.WatchOpts, sink chan<- *MCDPSMPAXADeny, 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 (*MCDPSMPAXAFilterer) WatchFile

func (_MCDPSMPAXA *MCDPSMPAXAFilterer) WatchFile(opts *bind.WatchOpts, sink chan<- *MCDPSMPAXAFile, 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 (*MCDPSMPAXAFilterer) WatchRely

func (_MCDPSMPAXA *MCDPSMPAXAFilterer) WatchRely(opts *bind.WatchOpts, sink chan<- *MCDPSMPAXARely, 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 (*MCDPSMPAXAFilterer) WatchSellGem

func (_MCDPSMPAXA *MCDPSMPAXAFilterer) WatchSellGem(opts *bind.WatchOpts, sink chan<- *MCDPSMPAXASellGem, 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 MCDPSMPAXARaw

type MCDPSMPAXARaw struct {
	Contract *MCDPSMPAXA // Generic contract binding to access the raw methods on
}

MCDPSMPAXARaw is an auto generated low-level Go binding around an Ethereum contract.

func (*MCDPSMPAXARaw) Call

func (_MCDPSMPAXA *MCDPSMPAXARaw) 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 (*MCDPSMPAXARaw) Transact

func (_MCDPSMPAXA *MCDPSMPAXARaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*MCDPSMPAXARaw) Transfer

func (_MCDPSMPAXA *MCDPSMPAXARaw) 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 MCDPSMPAXARely

type MCDPSMPAXARely struct {
	Usr common.Address
	Raw types.Log // Blockchain specific contextual infos
}

MCDPSMPAXARely represents a Rely event raised by the MCDPSMPAXA contract.

type MCDPSMPAXARelyIterator

type MCDPSMPAXARelyIterator struct {
	Event *MCDPSMPAXARely // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

MCDPSMPAXARelyIterator is returned from FilterRely and is used to iterate over the raw logs and unpacked data for Rely events raised by the MCDPSMPAXA contract.

func (*MCDPSMPAXARelyIterator) Close

func (it *MCDPSMPAXARelyIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*MCDPSMPAXARelyIterator) Error

func (it *MCDPSMPAXARelyIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MCDPSMPAXARelyIterator) Next

func (it *MCDPSMPAXARelyIterator) 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 MCDPSMPAXASellGem

type MCDPSMPAXASellGem struct {
	Owner common.Address
	Value *big.Int
	Fee   *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

MCDPSMPAXASellGem represents a SellGem event raised by the MCDPSMPAXA contract.

type MCDPSMPAXASellGemIterator

type MCDPSMPAXASellGemIterator struct {
	Event *MCDPSMPAXASellGem // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

MCDPSMPAXASellGemIterator is returned from FilterSellGem and is used to iterate over the raw logs and unpacked data for SellGem events raised by the MCDPSMPAXA contract.

func (*MCDPSMPAXASellGemIterator) Close

func (it *MCDPSMPAXASellGemIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*MCDPSMPAXASellGemIterator) Error

func (it *MCDPSMPAXASellGemIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MCDPSMPAXASellGemIterator) Next

func (it *MCDPSMPAXASellGemIterator) 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 MCDPSMPAXASession

type MCDPSMPAXASession struct {
	Contract     *MCDPSMPAXA       // 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
}

MCDPSMPAXASession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*MCDPSMPAXASession) BuyGem

func (_MCDPSMPAXA *MCDPSMPAXASession) 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 (*MCDPSMPAXASession) Dai

func (_MCDPSMPAXA *MCDPSMPAXASession) Dai() (common.Address, error)

Dai is a free data retrieval call binding the contract method 0xf4b9fa75.

Solidity: function dai() view returns(address)

func (*MCDPSMPAXASession) DaiJoin

func (_MCDPSMPAXA *MCDPSMPAXASession) DaiJoin() (common.Address, error)

DaiJoin is a free data retrieval call binding the contract method 0xc11645bc.

Solidity: function daiJoin() view returns(address)

func (*MCDPSMPAXASession) Deny

func (_MCDPSMPAXA *MCDPSMPAXASession) 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 (*MCDPSMPAXASession) File

func (_MCDPSMPAXA *MCDPSMPAXASession) 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 (*MCDPSMPAXASession) GemJoin

func (_MCDPSMPAXA *MCDPSMPAXASession) GemJoin() (common.Address, error)

GemJoin is a free data retrieval call binding the contract method 0x01664f66.

Solidity: function gemJoin() view returns(address)

func (*MCDPSMPAXASession) Hope

func (_MCDPSMPAXA *MCDPSMPAXASession) 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 (*MCDPSMPAXASession) Ilk

func (_MCDPSMPAXA *MCDPSMPAXASession) Ilk() ([32]byte, error)

Ilk is a free data retrieval call binding the contract method 0xc5ce281e.

Solidity: function ilk() view returns(bytes32)

func (*MCDPSMPAXASession) Nope

func (_MCDPSMPAXA *MCDPSMPAXASession) 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 (*MCDPSMPAXASession) Rely

func (_MCDPSMPAXA *MCDPSMPAXASession) 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 (*MCDPSMPAXASession) SellGem

func (_MCDPSMPAXA *MCDPSMPAXASession) 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 (*MCDPSMPAXASession) Tin

func (_MCDPSMPAXA *MCDPSMPAXASession) Tin() (*big.Int, error)

Tin is a free data retrieval call binding the contract method 0x568d4b6f.

Solidity: function tin() view returns(uint256)

func (*MCDPSMPAXASession) Tout

func (_MCDPSMPAXA *MCDPSMPAXASession) Tout() (*big.Int, error)

Tout is a free data retrieval call binding the contract method 0xfae036d5.

Solidity: function tout() view returns(uint256)

func (*MCDPSMPAXASession) Vat

func (_MCDPSMPAXA *MCDPSMPAXASession) Vat() (common.Address, error)

Vat is a free data retrieval call binding the contract method 0x36569e77.

Solidity: function vat() view returns(address)

func (*MCDPSMPAXASession) Vow

func (_MCDPSMPAXA *MCDPSMPAXASession) Vow() (common.Address, error)

Vow is a free data retrieval call binding the contract method 0x626cb3c5.

Solidity: function vow() view returns(address)

func (*MCDPSMPAXASession) Wards

func (_MCDPSMPAXA *MCDPSMPAXASession) Wards(arg0 common.Address) (*big.Int, error)

Wards is a free data retrieval call binding the contract method 0xbf353dbb.

Solidity: function wards(address ) view returns(uint256)

type MCDPSMPAXATransactor

type MCDPSMPAXATransactor struct {
	// contains filtered or unexported fields
}

MCDPSMPAXATransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewMCDPSMPAXATransactor

func NewMCDPSMPAXATransactor(address common.Address, transactor bind.ContractTransactor) (*MCDPSMPAXATransactor, error)

NewMCDPSMPAXATransactor creates a new write-only instance of MCDPSMPAXA, bound to a specific deployed contract.

func (*MCDPSMPAXATransactor) BuyGem

func (_MCDPSMPAXA *MCDPSMPAXATransactor) 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 (*MCDPSMPAXATransactor) Deny

func (_MCDPSMPAXA *MCDPSMPAXATransactor) 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 (*MCDPSMPAXATransactor) File

func (_MCDPSMPAXA *MCDPSMPAXATransactor) 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 (*MCDPSMPAXATransactor) Hope

func (_MCDPSMPAXA *MCDPSMPAXATransactor) 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 (*MCDPSMPAXATransactor) Nope

func (_MCDPSMPAXA *MCDPSMPAXATransactor) 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 (*MCDPSMPAXATransactor) Rely

func (_MCDPSMPAXA *MCDPSMPAXATransactor) 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 (*MCDPSMPAXATransactor) SellGem

func (_MCDPSMPAXA *MCDPSMPAXATransactor) 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 MCDPSMPAXATransactorRaw

type MCDPSMPAXATransactorRaw struct {
	Contract *MCDPSMPAXATransactor // Generic write-only contract binding to access the raw methods on
}

MCDPSMPAXATransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*MCDPSMPAXATransactorRaw) Transact

func (_MCDPSMPAXA *MCDPSMPAXATransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*MCDPSMPAXATransactorRaw) Transfer

func (_MCDPSMPAXA *MCDPSMPAXATransactorRaw) 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 MCDPSMPAXATransactorSession

type MCDPSMPAXATransactorSession struct {
	Contract     *MCDPSMPAXATransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts     // Transaction auth options to use throughout this session
}

MCDPSMPAXATransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*MCDPSMPAXATransactorSession) BuyGem

func (_MCDPSMPAXA *MCDPSMPAXATransactorSession) 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 (*MCDPSMPAXATransactorSession) Deny

func (_MCDPSMPAXA *MCDPSMPAXATransactorSession) 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 (*MCDPSMPAXATransactorSession) File

func (_MCDPSMPAXA *MCDPSMPAXATransactorSession) 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 (*MCDPSMPAXATransactorSession) Hope

func (_MCDPSMPAXA *MCDPSMPAXATransactorSession) 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 (*MCDPSMPAXATransactorSession) Nope

func (_MCDPSMPAXA *MCDPSMPAXATransactorSession) 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 (*MCDPSMPAXATransactorSession) Rely

func (_MCDPSMPAXA *MCDPSMPAXATransactorSession) 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 (*MCDPSMPAXATransactorSession) SellGem

func (_MCDPSMPAXA *MCDPSMPAXATransactorSession) 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) Descriptor() ([]byte, []int)

Deprecated: Use Rely.ProtoReflect.Descriptor instead.

func (*Rely) GetTs

func (x *Rely) GetTs() *timestamppb.Timestamp

func (*Rely) GetUsr

func (x *Rely) GetUsr() []byte

func (*Rely) ProtoMessage

func (*Rely) ProtoMessage()

func (*Rely) ProtoReflect

func (x *Rely) ProtoReflect() protoreflect.Message

func (*Rely) Reset

func (x *Rely) Reset()

func (*Rely) String

func (x *Rely) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use SellGem.ProtoReflect.Descriptor instead.

func (*SellGem) GetFee

func (x *SellGem) GetFee() []byte

func (*SellGem) GetOwner

func (x *SellGem) GetOwner() []byte

func (*SellGem) GetTs

func (x *SellGem) GetTs() *timestamppb.Timestamp

func (*SellGem) GetValue

func (x *SellGem) GetValue() []byte

func (*SellGem) ProtoMessage

func (*SellGem) ProtoMessage()

func (*SellGem) ProtoReflect

func (x *SellGem) ProtoReflect() protoreflect.Message

func (*SellGem) Reset

func (x *SellGem) Reset()

func (*SellGem) String

func (x *SellGem) 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL