MCDSpot

package
v0.0.0-...-b095981 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const MCDSPOTABI = "" /* 3982-byte string literal not displayed */

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

Variables

View Source
var File_MCDSpot_MCDSpot_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type LogNote

type LogNote struct {
	Ts   *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"`
	Sig  []byte                 `protobuf:"bytes,2,opt,name=Sig,proto3" json:"Sig,omitempty"`   //	bytes4
	Usr  []byte                 `protobuf:"bytes,3,opt,name=Usr,proto3" json:"Usr,omitempty"`   //	address
	Arg1 []byte                 `protobuf:"bytes,4,opt,name=Arg1,proto3" json:"Arg1,omitempty"` //	bytes32
	Arg2 []byte                 `protobuf:"bytes,5,opt,name=Arg2,proto3" json:"Arg2,omitempty"` //	bytes32
	Data []byte                 `protobuf:"bytes,6,opt,name=Data,proto3" json:"Data,omitempty"` //	bytes
	// contains filtered or unexported fields
}

func (*LogNote) Descriptor deprecated

func (*LogNote) Descriptor() ([]byte, []int)

Deprecated: Use LogNote.ProtoReflect.Descriptor instead.

func (*LogNote) GetArg1

func (x *LogNote) GetArg1() []byte

func (*LogNote) GetArg2

func (x *LogNote) GetArg2() []byte

func (*LogNote) GetData

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

func (*LogNote) GetSig

func (x *LogNote) GetSig() []byte

func (*LogNote) GetTs

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

func (*LogNote) GetUsr

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

func (*LogNote) ProtoMessage

func (*LogNote) ProtoMessage()

func (*LogNote) ProtoReflect

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

func (*LogNote) Reset

func (x *LogNote) Reset()

func (*LogNote) String

func (x *LogNote) String() string

type MCDSPOT

type MCDSPOT struct {
	MCDSPOTCaller     // Read-only binding to the contract
	MCDSPOTTransactor // Write-only binding to the contract
	MCDSPOTFilterer   // Log filterer for contract events
}

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

func NewMCDSPOT

func NewMCDSPOT(address common.Address, backend bind.ContractBackend) (*MCDSPOT, error)

NewMCDSPOT creates a new instance of MCDSPOT, bound to a specific deployed contract.

type MCDSPOTCaller

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

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

func NewMCDSPOTCaller

func NewMCDSPOTCaller(address common.Address, caller bind.ContractCaller) (*MCDSPOTCaller, error)

NewMCDSPOTCaller creates a new read-only instance of MCDSPOT, bound to a specific deployed contract.

func (*MCDSPOTCaller) Ilks

func (_MCDSPOT *MCDSPOTCaller) Ilks(opts *bind.CallOpts, arg0 [32]byte) (struct {
	Pip common.Address
	Mat *big.Int
}, error)

Ilks is a free data retrieval call binding the contract method 0xd9638d36.

Solidity: function ilks(bytes32 ) view returns(address pip, uint256 mat)

func (*MCDSPOTCaller) Live

func (_MCDSPOT *MCDSPOTCaller) Live(opts *bind.CallOpts) (*big.Int, error)

Live is a free data retrieval call binding the contract method 0x957aa58c.

Solidity: function live() view returns(uint256)

func (*MCDSPOTCaller) Par

func (_MCDSPOT *MCDSPOTCaller) Par(opts *bind.CallOpts) (*big.Int, error)

Par is a free data retrieval call binding the contract method 0x495d32cb.

Solidity: function par() view returns(uint256)

func (*MCDSPOTCaller) Vat

func (_MCDSPOT *MCDSPOTCaller) 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 (*MCDSPOTCaller) Wards

func (_MCDSPOT *MCDSPOTCaller) 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 MCDSPOTCallerRaw

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

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

func (*MCDSPOTCallerRaw) Call

func (_MCDSPOT *MCDSPOTCallerRaw) 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 MCDSPOTCallerSession

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

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

func (*MCDSPOTCallerSession) Ilks

func (_MCDSPOT *MCDSPOTCallerSession) Ilks(arg0 [32]byte) (struct {
	Pip common.Address
	Mat *big.Int
}, error)

Ilks is a free data retrieval call binding the contract method 0xd9638d36.

Solidity: function ilks(bytes32 ) view returns(address pip, uint256 mat)

func (*MCDSPOTCallerSession) Live

func (_MCDSPOT *MCDSPOTCallerSession) Live() (*big.Int, error)

Live is a free data retrieval call binding the contract method 0x957aa58c.

Solidity: function live() view returns(uint256)

func (*MCDSPOTCallerSession) Par

func (_MCDSPOT *MCDSPOTCallerSession) Par() (*big.Int, error)

Par is a free data retrieval call binding the contract method 0x495d32cb.

Solidity: function par() view returns(uint256)

func (*MCDSPOTCallerSession) Vat

func (_MCDSPOT *MCDSPOTCallerSession) Vat() (common.Address, error)

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

Solidity: function vat() view returns(address)

func (*MCDSPOTCallerSession) Wards

func (_MCDSPOT *MCDSPOTCallerSession) 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 MCDSPOTFilterer

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

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

func NewMCDSPOTFilterer

func NewMCDSPOTFilterer(address common.Address, filterer bind.ContractFilterer) (*MCDSPOTFilterer, error)

NewMCDSPOTFilterer creates a new log filterer instance of MCDSPOT, bound to a specific deployed contract.

func (*MCDSPOTFilterer) FilterPoke

func (_MCDSPOT *MCDSPOTFilterer) FilterPoke(opts *bind.FilterOpts) (*MCDSPOTPokeIterator, error)

FilterPoke is a free log retrieval operation binding the contract event 0xdfd7467e425a8107cfd368d159957692c25085aacbcf5228ce08f10f2146486e.

Solidity: event Poke(bytes32 ilk, bytes32 val, uint256 spot)

func (*MCDSPOTFilterer) ParsePoke

func (_MCDSPOT *MCDSPOTFilterer) ParsePoke(log types.Log) (*MCDSPOTPoke, error)

ParsePoke is a log parse operation binding the contract event 0xdfd7467e425a8107cfd368d159957692c25085aacbcf5228ce08f10f2146486e.

Solidity: event Poke(bytes32 ilk, bytes32 val, uint256 spot)

func (*MCDSPOTFilterer) WatchPoke

func (_MCDSPOT *MCDSPOTFilterer) WatchPoke(opts *bind.WatchOpts, sink chan<- *MCDSPOTPoke) (event.Subscription, error)

WatchPoke is a free log subscription operation binding the contract event 0xdfd7467e425a8107cfd368d159957692c25085aacbcf5228ce08f10f2146486e.

Solidity: event Poke(bytes32 ilk, bytes32 val, uint256 spot)

type MCDSPOTPoke

type MCDSPOTPoke struct {
	Ilk  [32]byte
	Val  [32]byte
	Spot *big.Int
	Raw  types.Log // Blockchain specific contextual infos
}

MCDSPOTPoke represents a Poke event raised by the MCDSPOT contract.

type MCDSPOTPokeIterator

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

MCDSPOTPokeIterator is returned from FilterPoke and is used to iterate over the raw logs and unpacked data for Poke events raised by the MCDSPOT contract.

func (*MCDSPOTPokeIterator) Close

func (it *MCDSPOTPokeIterator) Close() error

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

func (*MCDSPOTPokeIterator) Error

func (it *MCDSPOTPokeIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MCDSPOTPokeIterator) Next

func (it *MCDSPOTPokeIterator) 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 MCDSPOTRaw

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

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

func (*MCDSPOTRaw) Call

func (_MCDSPOT *MCDSPOTRaw) 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 (*MCDSPOTRaw) Transact

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

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

func (*MCDSPOTRaw) Transfer

func (_MCDSPOT *MCDSPOTRaw) 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 MCDSPOTSession

type MCDSPOTSession struct {
	Contract     *MCDSPOT          // 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
}

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

func (*MCDSPOTSession) Cage

func (_MCDSPOT *MCDSPOTSession) Cage() (*types.Transaction, error)

Cage is a paid mutator transaction binding the contract method 0x69245009.

Solidity: function cage() returns()

func (*MCDSPOTSession) Deny

func (_MCDSPOT *MCDSPOTSession) Deny(guy common.Address) (*types.Transaction, error)

Deny is a paid mutator transaction binding the contract method 0x9c52a7f1.

Solidity: function deny(address guy) returns()

func (*MCDSPOTSession) File

func (_MCDSPOT *MCDSPOTSession) File(ilk [32]byte, what [32]byte, data *big.Int) (*types.Transaction, error)

File is a paid mutator transaction binding the contract method 0x1a0b287e.

Solidity: function file(bytes32 ilk, bytes32 what, uint256 data) returns()

func (*MCDSPOTSession) File0

func (_MCDSPOT *MCDSPOTSession) File0(what [32]byte, data *big.Int) (*types.Transaction, error)

File0 is a paid mutator transaction binding the contract method 0x29ae8114.

Solidity: function file(bytes32 what, uint256 data) returns()

func (*MCDSPOTSession) File1

func (_MCDSPOT *MCDSPOTSession) File1(ilk [32]byte, what [32]byte, pip_ common.Address) (*types.Transaction, error)

File1 is a paid mutator transaction binding the contract method 0xebecb39d.

Solidity: function file(bytes32 ilk, bytes32 what, address pip_) returns()

func (*MCDSPOTSession) Ilks

func (_MCDSPOT *MCDSPOTSession) Ilks(arg0 [32]byte) (struct {
	Pip common.Address
	Mat *big.Int
}, error)

Ilks is a free data retrieval call binding the contract method 0xd9638d36.

Solidity: function ilks(bytes32 ) view returns(address pip, uint256 mat)

func (*MCDSPOTSession) Live

func (_MCDSPOT *MCDSPOTSession) Live() (*big.Int, error)

Live is a free data retrieval call binding the contract method 0x957aa58c.

Solidity: function live() view returns(uint256)

func (*MCDSPOTSession) Par

func (_MCDSPOT *MCDSPOTSession) Par() (*big.Int, error)

Par is a free data retrieval call binding the contract method 0x495d32cb.

Solidity: function par() view returns(uint256)

func (*MCDSPOTSession) Poke

func (_MCDSPOT *MCDSPOTSession) Poke(ilk [32]byte) (*types.Transaction, error)

Poke is a paid mutator transaction binding the contract method 0x1504460f.

Solidity: function poke(bytes32 ilk) returns()

func (*MCDSPOTSession) Rely

func (_MCDSPOT *MCDSPOTSession) Rely(guy common.Address) (*types.Transaction, error)

Rely is a paid mutator transaction binding the contract method 0x65fae35e.

Solidity: function rely(address guy) returns()

func (*MCDSPOTSession) Vat

func (_MCDSPOT *MCDSPOTSession) Vat() (common.Address, error)

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

Solidity: function vat() view returns(address)

func (*MCDSPOTSession) Wards

func (_MCDSPOT *MCDSPOTSession) 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 MCDSPOTTransactor

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

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

func NewMCDSPOTTransactor

func NewMCDSPOTTransactor(address common.Address, transactor bind.ContractTransactor) (*MCDSPOTTransactor, error)

NewMCDSPOTTransactor creates a new write-only instance of MCDSPOT, bound to a specific deployed contract.

func (*MCDSPOTTransactor) Cage

func (_MCDSPOT *MCDSPOTTransactor) Cage(opts *bind.TransactOpts) (*types.Transaction, error)

Cage is a paid mutator transaction binding the contract method 0x69245009.

Solidity: function cage() returns()

func (*MCDSPOTTransactor) Deny

func (_MCDSPOT *MCDSPOTTransactor) Deny(opts *bind.TransactOpts, guy common.Address) (*types.Transaction, error)

Deny is a paid mutator transaction binding the contract method 0x9c52a7f1.

Solidity: function deny(address guy) returns()

func (*MCDSPOTTransactor) File

func (_MCDSPOT *MCDSPOTTransactor) File(opts *bind.TransactOpts, ilk [32]byte, what [32]byte, data *big.Int) (*types.Transaction, error)

File is a paid mutator transaction binding the contract method 0x1a0b287e.

Solidity: function file(bytes32 ilk, bytes32 what, uint256 data) returns()

func (*MCDSPOTTransactor) File0

func (_MCDSPOT *MCDSPOTTransactor) File0(opts *bind.TransactOpts, what [32]byte, data *big.Int) (*types.Transaction, error)

File0 is a paid mutator transaction binding the contract method 0x29ae8114.

Solidity: function file(bytes32 what, uint256 data) returns()

func (*MCDSPOTTransactor) File1

func (_MCDSPOT *MCDSPOTTransactor) File1(opts *bind.TransactOpts, ilk [32]byte, what [32]byte, pip_ common.Address) (*types.Transaction, error)

File1 is a paid mutator transaction binding the contract method 0xebecb39d.

Solidity: function file(bytes32 ilk, bytes32 what, address pip_) returns()

func (*MCDSPOTTransactor) Poke

func (_MCDSPOT *MCDSPOTTransactor) Poke(opts *bind.TransactOpts, ilk [32]byte) (*types.Transaction, error)

Poke is a paid mutator transaction binding the contract method 0x1504460f.

Solidity: function poke(bytes32 ilk) returns()

func (*MCDSPOTTransactor) Rely

func (_MCDSPOT *MCDSPOTTransactor) Rely(opts *bind.TransactOpts, guy common.Address) (*types.Transaction, error)

Rely is a paid mutator transaction binding the contract method 0x65fae35e.

Solidity: function rely(address guy) returns()

type MCDSPOTTransactorRaw

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

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

func (*MCDSPOTTransactorRaw) Transact

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

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

func (*MCDSPOTTransactorRaw) Transfer

func (_MCDSPOT *MCDSPOTTransactorRaw) 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 MCDSPOTTransactorSession

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

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

func (*MCDSPOTTransactorSession) Cage

func (_MCDSPOT *MCDSPOTTransactorSession) Cage() (*types.Transaction, error)

Cage is a paid mutator transaction binding the contract method 0x69245009.

Solidity: function cage() returns()

func (*MCDSPOTTransactorSession) Deny

Deny is a paid mutator transaction binding the contract method 0x9c52a7f1.

Solidity: function deny(address guy) returns()

func (*MCDSPOTTransactorSession) File

func (_MCDSPOT *MCDSPOTTransactorSession) File(ilk [32]byte, what [32]byte, data *big.Int) (*types.Transaction, error)

File is a paid mutator transaction binding the contract method 0x1a0b287e.

Solidity: function file(bytes32 ilk, bytes32 what, uint256 data) returns()

func (*MCDSPOTTransactorSession) File0

func (_MCDSPOT *MCDSPOTTransactorSession) File0(what [32]byte, data *big.Int) (*types.Transaction, error)

File0 is a paid mutator transaction binding the contract method 0x29ae8114.

Solidity: function file(bytes32 what, uint256 data) returns()

func (*MCDSPOTTransactorSession) File1

func (_MCDSPOT *MCDSPOTTransactorSession) File1(ilk [32]byte, what [32]byte, pip_ common.Address) (*types.Transaction, error)

File1 is a paid mutator transaction binding the contract method 0xebecb39d.

Solidity: function file(bytes32 ilk, bytes32 what, address pip_) returns()

func (*MCDSPOTTransactorSession) Poke

func (_MCDSPOT *MCDSPOTTransactorSession) Poke(ilk [32]byte) (*types.Transaction, error)

Poke is a paid mutator transaction binding the contract method 0x1504460f.

Solidity: function poke(bytes32 ilk) returns()

func (*MCDSPOTTransactorSession) Rely

Rely is a paid mutator transaction binding the contract method 0x65fae35e.

Solidity: function rely(address guy) returns()

type Poke

type Poke struct {
	Ts   *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"`
	Ilk  []byte                 `protobuf:"bytes,2,opt,name=Ilk,proto3" json:"Ilk,omitempty"`   //	bytes32
	Val  []byte                 `protobuf:"bytes,3,opt,name=Val,proto3" json:"Val,omitempty"`   //	bytes32
	Spot []byte                 `protobuf:"bytes,4,opt,name=Spot,proto3" json:"Spot,omitempty"` //	uint256
	// contains filtered or unexported fields
}

func (*Poke) Descriptor deprecated

func (*Poke) Descriptor() ([]byte, []int)

Deprecated: Use Poke.ProtoReflect.Descriptor instead.

func (*Poke) GetIlk

func (x *Poke) GetIlk() []byte

func (*Poke) GetSpot

func (x *Poke) GetSpot() []byte

func (*Poke) GetTs

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

func (*Poke) GetVal

func (x *Poke) GetVal() []byte

func (*Poke) ProtoMessage

func (*Poke) ProtoMessage()

func (*Poke) ProtoReflect

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

func (*Poke) Reset

func (x *Poke) Reset()

func (*Poke) String

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