MCDPot

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: 13 Imported by: 0

Documentation

Index

Constants

View Source
const MCDPOTABI = "" /* 4369-byte string literal not displayed */

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

Variables

View Source
var File_MCDPot_MCDPot_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 MCDPOT

type MCDPOT struct {
	MCDPOTCaller     // Read-only binding to the contract
	MCDPOTTransactor // Write-only binding to the contract
	MCDPOTFilterer   // Log filterer for contract events
}

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

func NewMCDPOT

func NewMCDPOT(address common.Address, backend bind.ContractBackend) (*MCDPOT, error)

NewMCDPOT creates a new instance of MCDPOT, bound to a specific deployed contract.

type MCDPOTCaller

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

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

func NewMCDPOTCaller

func NewMCDPOTCaller(address common.Address, caller bind.ContractCaller) (*MCDPOTCaller, error)

NewMCDPOTCaller creates a new read-only instance of MCDPOT, bound to a specific deployed contract.

func (*MCDPOTCaller) Chi

func (_MCDPOT *MCDPOTCaller) Chi(opts *bind.CallOpts) (*big.Int, error)

Chi is a free data retrieval call binding the contract method 0xc92aecc4.

Solidity: function chi() view returns(uint256)

func (*MCDPOTCaller) Dsr

func (_MCDPOT *MCDPOTCaller) Dsr(opts *bind.CallOpts) (*big.Int, error)

Dsr is a free data retrieval call binding the contract method 0x487bf082.

Solidity: function dsr() view returns(uint256)

func (*MCDPOTCaller) Live

func (_MCDPOT *MCDPOTCaller) 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 (*MCDPOTCaller) Pie

func (_MCDPOT *MCDPOTCaller) Pie(opts *bind.CallOpts) (*big.Int, error)

Pie is a free data retrieval call binding the contract method 0x2c69ed58.

Solidity: function Pie() view returns(uint256)

func (*MCDPOTCaller) Pie2

func (_MCDPOT *MCDPOTCaller) Pie2(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

Pie2 is a free data retrieval call binding the contract method 0x0bebac86.

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

func (*MCDPOTCaller) Rho

func (_MCDPOT *MCDPOTCaller) Rho(opts *bind.CallOpts) (*big.Int, error)

Rho is a free data retrieval call binding the contract method 0x20aba08b.

Solidity: function rho() view returns(uint256)

func (*MCDPOTCaller) Vat

func (_MCDPOT *MCDPOTCaller) 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 (*MCDPOTCaller) Vow

func (_MCDPOT *MCDPOTCaller) 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 (*MCDPOTCaller) Wards

func (_MCDPOT *MCDPOTCaller) 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 MCDPOTCallerRaw

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

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

func (*MCDPOTCallerRaw) Call

func (_MCDPOT *MCDPOTCallerRaw) 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 MCDPOTCallerSession

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

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

func (*MCDPOTCallerSession) Chi

func (_MCDPOT *MCDPOTCallerSession) Chi() (*big.Int, error)

Chi is a free data retrieval call binding the contract method 0xc92aecc4.

Solidity: function chi() view returns(uint256)

func (*MCDPOTCallerSession) Dsr

func (_MCDPOT *MCDPOTCallerSession) Dsr() (*big.Int, error)

Dsr is a free data retrieval call binding the contract method 0x487bf082.

Solidity: function dsr() view returns(uint256)

func (*MCDPOTCallerSession) Live

func (_MCDPOT *MCDPOTCallerSession) Live() (*big.Int, error)

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

Solidity: function live() view returns(uint256)

func (*MCDPOTCallerSession) Pie

func (_MCDPOT *MCDPOTCallerSession) Pie() (*big.Int, error)

Pie is a free data retrieval call binding the contract method 0x2c69ed58.

Solidity: function Pie() view returns(uint256)

func (*MCDPOTCallerSession) Pie2

func (_MCDPOT *MCDPOTCallerSession) Pie2(arg0 common.Address) (*big.Int, error)

Pie2 is a free data retrieval call binding the contract method 0x0bebac86.

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

func (*MCDPOTCallerSession) Rho

func (_MCDPOT *MCDPOTCallerSession) Rho() (*big.Int, error)

Rho is a free data retrieval call binding the contract method 0x20aba08b.

Solidity: function rho() view returns(uint256)

func (*MCDPOTCallerSession) Vat

func (_MCDPOT *MCDPOTCallerSession) Vat() (common.Address, error)

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

Solidity: function vat() view returns(address)

func (*MCDPOTCallerSession) Vow

func (_MCDPOT *MCDPOTCallerSession) Vow() (common.Address, error)

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

Solidity: function vow() view returns(address)

func (*MCDPOTCallerSession) Wards

func (_MCDPOT *MCDPOTCallerSession) 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 MCDPOTFilterer

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

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

func NewMCDPOTFilterer

func NewMCDPOTFilterer(address common.Address, filterer bind.ContractFilterer) (*MCDPOTFilterer, error)

NewMCDPOTFilterer creates a new log filterer instance of MCDPOT, bound to a specific deployed contract.

type MCDPOTRaw

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

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

func (*MCDPOTRaw) Call

func (_MCDPOT *MCDPOTRaw) 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 (*MCDPOTRaw) Transact

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

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

func (*MCDPOTRaw) Transfer

func (_MCDPOT *MCDPOTRaw) 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 MCDPOTSession

type MCDPOTSession struct {
	Contract     *MCDPOT           // 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
}

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

func (*MCDPOTSession) Cage

func (_MCDPOT *MCDPOTSession) Cage() (*types.Transaction, error)

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

Solidity: function cage() returns()

func (*MCDPOTSession) Chi

func (_MCDPOT *MCDPOTSession) Chi() (*big.Int, error)

Chi is a free data retrieval call binding the contract method 0xc92aecc4.

Solidity: function chi() view returns(uint256)

func (*MCDPOTSession) Deny

func (_MCDPOT *MCDPOTSession) 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 (*MCDPOTSession) Drip

func (_MCDPOT *MCDPOTSession) Drip() (*types.Transaction, error)

Drip is a paid mutator transaction binding the contract method 0x9f678cca.

Solidity: function drip() returns(uint256 tmp)

func (*MCDPOTSession) Dsr

func (_MCDPOT *MCDPOTSession) Dsr() (*big.Int, error)

Dsr is a free data retrieval call binding the contract method 0x487bf082.

Solidity: function dsr() view returns(uint256)

func (*MCDPOTSession) Exit

func (_MCDPOT *MCDPOTSession) Exit(wad *big.Int) (*types.Transaction, error)

Exit is a paid mutator transaction binding the contract method 0x7f8661a1.

Solidity: function exit(uint256 wad) returns()

func (*MCDPOTSession) File

func (_MCDPOT *MCDPOTSession) 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 (*MCDPOTSession) File0

func (_MCDPOT *MCDPOTSession) File0(what [32]byte, addr common.Address) (*types.Transaction, error)

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

Solidity: function file(bytes32 what, address addr) returns()

func (*MCDPOTSession) Join

func (_MCDPOT *MCDPOTSession) Join(wad *big.Int) (*types.Transaction, error)

Join is a paid mutator transaction binding the contract method 0x049878f3.

Solidity: function join(uint256 wad) returns()

func (*MCDPOTSession) Live

func (_MCDPOT *MCDPOTSession) Live() (*big.Int, error)

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

Solidity: function live() view returns(uint256)

func (*MCDPOTSession) Pie

func (_MCDPOT *MCDPOTSession) Pie() (*big.Int, error)

Pie is a free data retrieval call binding the contract method 0x2c69ed58.

Solidity: function Pie() view returns(uint256)

func (*MCDPOTSession) Pie2

func (_MCDPOT *MCDPOTSession) Pie2(arg0 common.Address) (*big.Int, error)

Pie2 is a free data retrieval call binding the contract method 0x0bebac86.

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

func (*MCDPOTSession) Rely

func (_MCDPOT *MCDPOTSession) 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 (*MCDPOTSession) Rho

func (_MCDPOT *MCDPOTSession) Rho() (*big.Int, error)

Rho is a free data retrieval call binding the contract method 0x20aba08b.

Solidity: function rho() view returns(uint256)

func (*MCDPOTSession) Vat

func (_MCDPOT *MCDPOTSession) Vat() (common.Address, error)

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

Solidity: function vat() view returns(address)

func (*MCDPOTSession) Vow

func (_MCDPOT *MCDPOTSession) Vow() (common.Address, error)

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

Solidity: function vow() view returns(address)

func (*MCDPOTSession) Wards

func (_MCDPOT *MCDPOTSession) 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 MCDPOTTransactor

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

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

func NewMCDPOTTransactor

func NewMCDPOTTransactor(address common.Address, transactor bind.ContractTransactor) (*MCDPOTTransactor, error)

NewMCDPOTTransactor creates a new write-only instance of MCDPOT, bound to a specific deployed contract.

func (*MCDPOTTransactor) Cage

func (_MCDPOT *MCDPOTTransactor) Cage(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function cage() returns()

func (*MCDPOTTransactor) Deny

func (_MCDPOT *MCDPOTTransactor) 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 (*MCDPOTTransactor) Drip

func (_MCDPOT *MCDPOTTransactor) Drip(opts *bind.TransactOpts) (*types.Transaction, error)

Drip is a paid mutator transaction binding the contract method 0x9f678cca.

Solidity: function drip() returns(uint256 tmp)

func (*MCDPOTTransactor) Exit

func (_MCDPOT *MCDPOTTransactor) Exit(opts *bind.TransactOpts, wad *big.Int) (*types.Transaction, error)

Exit is a paid mutator transaction binding the contract method 0x7f8661a1.

Solidity: function exit(uint256 wad) returns()

func (*MCDPOTTransactor) File

func (_MCDPOT *MCDPOTTransactor) 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 (*MCDPOTTransactor) File0

func (_MCDPOT *MCDPOTTransactor) File0(opts *bind.TransactOpts, what [32]byte, addr common.Address) (*types.Transaction, error)

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

Solidity: function file(bytes32 what, address addr) returns()

func (*MCDPOTTransactor) Join

func (_MCDPOT *MCDPOTTransactor) Join(opts *bind.TransactOpts, wad *big.Int) (*types.Transaction, error)

Join is a paid mutator transaction binding the contract method 0x049878f3.

Solidity: function join(uint256 wad) returns()

func (*MCDPOTTransactor) Rely

func (_MCDPOT *MCDPOTTransactor) 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 MCDPOTTransactorRaw

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

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

func (*MCDPOTTransactorRaw) Transact

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

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

func (*MCDPOTTransactorRaw) Transfer

func (_MCDPOT *MCDPOTTransactorRaw) 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 MCDPOTTransactorSession

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

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

func (*MCDPOTTransactorSession) Cage

func (_MCDPOT *MCDPOTTransactorSession) Cage() (*types.Transaction, error)

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

Solidity: function cage() returns()

func (*MCDPOTTransactorSession) Deny

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

Solidity: function deny(address guy) returns()

func (*MCDPOTTransactorSession) Drip

func (_MCDPOT *MCDPOTTransactorSession) Drip() (*types.Transaction, error)

Drip is a paid mutator transaction binding the contract method 0x9f678cca.

Solidity: function drip() returns(uint256 tmp)

func (*MCDPOTTransactorSession) Exit

func (_MCDPOT *MCDPOTTransactorSession) Exit(wad *big.Int) (*types.Transaction, error)

Exit is a paid mutator transaction binding the contract method 0x7f8661a1.

Solidity: function exit(uint256 wad) returns()

func (*MCDPOTTransactorSession) File

func (_MCDPOT *MCDPOTTransactorSession) 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 (*MCDPOTTransactorSession) File0

func (_MCDPOT *MCDPOTTransactorSession) File0(what [32]byte, addr common.Address) (*types.Transaction, error)

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

Solidity: function file(bytes32 what, address addr) returns()

func (*MCDPOTTransactorSession) Join

func (_MCDPOT *MCDPOTTransactorSession) Join(wad *big.Int) (*types.Transaction, error)

Join is a paid mutator transaction binding the contract method 0x049878f3.

Solidity: function join(uint256 wad) returns()

func (*MCDPOTTransactorSession) Rely

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

Solidity: function rely(address guy) returns()

Jump to

Keyboard shortcuts

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