MCDJug

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 MCDJUGABI = "" /* 3709-byte string literal not displayed */

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

Variables

View Source
var File_MCDJug_MCDJug_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 MCDJUG

type MCDJUG struct {
	MCDJUGCaller     // Read-only binding to the contract
	MCDJUGTransactor // Write-only binding to the contract
	MCDJUGFilterer   // Log filterer for contract events
}

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

func NewMCDJUG

func NewMCDJUG(address common.Address, backend bind.ContractBackend) (*MCDJUG, error)

NewMCDJUG creates a new instance of MCDJUG, bound to a specific deployed contract.

type MCDJUGCaller

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

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

func NewMCDJUGCaller

func NewMCDJUGCaller(address common.Address, caller bind.ContractCaller) (*MCDJUGCaller, error)

NewMCDJUGCaller creates a new read-only instance of MCDJUG, bound to a specific deployed contract.

func (*MCDJUGCaller) Base

func (_MCDJUG *MCDJUGCaller) Base(opts *bind.CallOpts) (*big.Int, error)

Base is a free data retrieval call binding the contract method 0x5001f3b5.

Solidity: function base() view returns(uint256)

func (*MCDJUGCaller) Ilks

func (_MCDJUG *MCDJUGCaller) Ilks(opts *bind.CallOpts, arg0 [32]byte) (struct {
	Duty *big.Int
	Rho  *big.Int
}, error)

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

Solidity: function ilks(bytes32 ) view returns(uint256 duty, uint256 rho)

func (*MCDJUGCaller) Vat

func (_MCDJUG *MCDJUGCaller) 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 (*MCDJUGCaller) Vow

func (_MCDJUG *MCDJUGCaller) 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 (*MCDJUGCaller) Wards

func (_MCDJUG *MCDJUGCaller) 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 MCDJUGCallerRaw

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

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

func (*MCDJUGCallerRaw) Call

func (_MCDJUG *MCDJUGCallerRaw) 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 MCDJUGCallerSession

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

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

func (*MCDJUGCallerSession) Base

func (_MCDJUG *MCDJUGCallerSession) Base() (*big.Int, error)

Base is a free data retrieval call binding the contract method 0x5001f3b5.

Solidity: function base() view returns(uint256)

func (*MCDJUGCallerSession) Ilks

func (_MCDJUG *MCDJUGCallerSession) Ilks(arg0 [32]byte) (struct {
	Duty *big.Int
	Rho  *big.Int
}, error)

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

Solidity: function ilks(bytes32 ) view returns(uint256 duty, uint256 rho)

func (*MCDJUGCallerSession) Vat

func (_MCDJUG *MCDJUGCallerSession) Vat() (common.Address, error)

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

Solidity: function vat() view returns(address)

func (*MCDJUGCallerSession) Vow

func (_MCDJUG *MCDJUGCallerSession) Vow() (common.Address, error)

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

Solidity: function vow() view returns(address)

func (*MCDJUGCallerSession) Wards

func (_MCDJUG *MCDJUGCallerSession) 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 MCDJUGFilterer

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

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

func NewMCDJUGFilterer

func NewMCDJUGFilterer(address common.Address, filterer bind.ContractFilterer) (*MCDJUGFilterer, error)

NewMCDJUGFilterer creates a new log filterer instance of MCDJUG, bound to a specific deployed contract.

type MCDJUGRaw

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

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

func (*MCDJUGRaw) Call

func (_MCDJUG *MCDJUGRaw) 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 (*MCDJUGRaw) Transact

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

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

func (*MCDJUGRaw) Transfer

func (_MCDJUG *MCDJUGRaw) 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 MCDJUGSession

type MCDJUGSession struct {
	Contract     *MCDJUG           // 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
}

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

func (*MCDJUGSession) Base

func (_MCDJUG *MCDJUGSession) Base() (*big.Int, error)

Base is a free data retrieval call binding the contract method 0x5001f3b5.

Solidity: function base() view returns(uint256)

func (*MCDJUGSession) Deny

func (_MCDJUG *MCDJUGSession) 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 (*MCDJUGSession) Drip

func (_MCDJUG *MCDJUGSession) Drip(ilk [32]byte) (*types.Transaction, error)

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

Solidity: function drip(bytes32 ilk) returns(uint256 rate)

func (*MCDJUGSession) File

func (_MCDJUG *MCDJUGSession) 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 (*MCDJUGSession) File0

func (_MCDJUG *MCDJUGSession) 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 (*MCDJUGSession) File1

func (_MCDJUG *MCDJUGSession) File1(what [32]byte, data common.Address) (*types.Transaction, error)

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

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

func (*MCDJUGSession) Ilks

func (_MCDJUG *MCDJUGSession) Ilks(arg0 [32]byte) (struct {
	Duty *big.Int
	Rho  *big.Int
}, error)

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

Solidity: function ilks(bytes32 ) view returns(uint256 duty, uint256 rho)

func (*MCDJUGSession) Init

func (_MCDJUG *MCDJUGSession) Init(ilk [32]byte) (*types.Transaction, error)

Init is a paid mutator transaction binding the contract method 0x3b663195.

Solidity: function init(bytes32 ilk) returns()

func (*MCDJUGSession) Rely

func (_MCDJUG *MCDJUGSession) 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 (*MCDJUGSession) Vat

func (_MCDJUG *MCDJUGSession) Vat() (common.Address, error)

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

Solidity: function vat() view returns(address)

func (*MCDJUGSession) Vow

func (_MCDJUG *MCDJUGSession) Vow() (common.Address, error)

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

Solidity: function vow() view returns(address)

func (*MCDJUGSession) Wards

func (_MCDJUG *MCDJUGSession) 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 MCDJUGTransactor

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

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

func NewMCDJUGTransactor

func NewMCDJUGTransactor(address common.Address, transactor bind.ContractTransactor) (*MCDJUGTransactor, error)

NewMCDJUGTransactor creates a new write-only instance of MCDJUG, bound to a specific deployed contract.

func (*MCDJUGTransactor) Deny

func (_MCDJUG *MCDJUGTransactor) 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 (*MCDJUGTransactor) Drip

func (_MCDJUG *MCDJUGTransactor) Drip(opts *bind.TransactOpts, ilk [32]byte) (*types.Transaction, error)

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

Solidity: function drip(bytes32 ilk) returns(uint256 rate)

func (*MCDJUGTransactor) File

func (_MCDJUG *MCDJUGTransactor) 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 (*MCDJUGTransactor) File0

func (_MCDJUG *MCDJUGTransactor) 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 (*MCDJUGTransactor) File1

func (_MCDJUG *MCDJUGTransactor) File1(opts *bind.TransactOpts, what [32]byte, data common.Address) (*types.Transaction, error)

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

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

func (*MCDJUGTransactor) Init

func (_MCDJUG *MCDJUGTransactor) Init(opts *bind.TransactOpts, ilk [32]byte) (*types.Transaction, error)

Init is a paid mutator transaction binding the contract method 0x3b663195.

Solidity: function init(bytes32 ilk) returns()

func (*MCDJUGTransactor) Rely

func (_MCDJUG *MCDJUGTransactor) 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()

type MCDJUGTransactorRaw

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

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

func (*MCDJUGTransactorRaw) Transact

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

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

func (*MCDJUGTransactorRaw) Transfer

func (_MCDJUG *MCDJUGTransactorRaw) 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 MCDJUGTransactorSession

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

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

func (*MCDJUGTransactorSession) Deny

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

Solidity: function deny(address usr) returns()

func (*MCDJUGTransactorSession) Drip

func (_MCDJUG *MCDJUGTransactorSession) Drip(ilk [32]byte) (*types.Transaction, error)

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

Solidity: function drip(bytes32 ilk) returns(uint256 rate)

func (*MCDJUGTransactorSession) File

func (_MCDJUG *MCDJUGTransactorSession) 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 (*MCDJUGTransactorSession) File0

func (_MCDJUG *MCDJUGTransactorSession) 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 (*MCDJUGTransactorSession) File1

func (_MCDJUG *MCDJUGTransactorSession) File1(what [32]byte, data common.Address) (*types.Transaction, error)

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

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

func (*MCDJUGTransactorSession) Init

func (_MCDJUG *MCDJUGTransactorSession) Init(ilk [32]byte) (*types.Transaction, error)

Init is a paid mutator transaction binding the contract method 0x3b663195.

Solidity: function init(bytes32 ilk) returns()

func (*MCDJUGTransactorSession) Rely

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

Solidity: function rely(address usr) returns()

Jump to

Keyboard shortcuts

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