MCDDai

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

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

Variables

View Source
var File_MCDDai_MCDDai_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Approval

type Approval struct {
	Ts  *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"`
	Src []byte                 `protobuf:"bytes,2,opt,name=Src,proto3" json:"Src,omitempty"` //	address
	Guy []byte                 `protobuf:"bytes,3,opt,name=Guy,proto3" json:"Guy,omitempty"` //	address
	Wad []byte                 `protobuf:"bytes,4,opt,name=Wad,proto3" json:"Wad,omitempty"` //	uint256
	// contains filtered or unexported fields
}

func (*Approval) Descriptor deprecated

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

Deprecated: Use Approval.ProtoReflect.Descriptor instead.

func (*Approval) GetGuy

func (x *Approval) GetGuy() []byte

func (*Approval) GetSrc

func (x *Approval) GetSrc() []byte

func (*Approval) GetTs

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

func (*Approval) GetWad

func (x *Approval) GetWad() []byte

func (*Approval) ProtoMessage

func (*Approval) ProtoMessage()

func (*Approval) ProtoReflect

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

func (*Approval) Reset

func (x *Approval) Reset()

func (*Approval) String

func (x *Approval) String() string

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 MCDDAI

type MCDDAI struct {
	MCDDAICaller     // Read-only binding to the contract
	MCDDAITransactor // Write-only binding to the contract
	MCDDAIFilterer   // Log filterer for contract events
}

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

func NewMCDDAI

func NewMCDDAI(address common.Address, backend bind.ContractBackend) (*MCDDAI, error)

NewMCDDAI creates a new instance of MCDDAI, bound to a specific deployed contract.

type MCDDAIApproval

type MCDDAIApproval struct {
	Src common.Address
	Guy common.Address
	Wad *big.Int
	Raw types.Log // Blockchain specific contextual infos
}

MCDDAIApproval represents a Approval event raised by the MCDDAI contract.

type MCDDAIApprovalIterator

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

MCDDAIApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the MCDDAI contract.

func (*MCDDAIApprovalIterator) Close

func (it *MCDDAIApprovalIterator) Close() error

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

func (*MCDDAIApprovalIterator) Error

func (it *MCDDAIApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MCDDAIApprovalIterator) Next

func (it *MCDDAIApprovalIterator) 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 MCDDAICaller

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

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

func NewMCDDAICaller

func NewMCDDAICaller(address common.Address, caller bind.ContractCaller) (*MCDDAICaller, error)

NewMCDDAICaller creates a new read-only instance of MCDDAI, bound to a specific deployed contract.

func (*MCDDAICaller) Allowance

func (_MCDDAI *MCDDAICaller) Allowance(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address , address ) view returns(uint256)

func (*MCDDAICaller) BalanceOf

func (_MCDDAI *MCDDAICaller) BalanceOf(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

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

func (*MCDDAICaller) DOMAINSEPARATOR

func (_MCDDAI *MCDDAICaller) DOMAINSEPARATOR(opts *bind.CallOpts) ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*MCDDAICaller) Decimals

func (_MCDDAI *MCDDAICaller) Decimals(opts *bind.CallOpts) (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*MCDDAICaller) Name

func (_MCDDAI *MCDDAICaller) Name(opts *bind.CallOpts) (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*MCDDAICaller) Nonces

func (_MCDDAI *MCDDAICaller) Nonces(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

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

func (*MCDDAICaller) PERMITTYPEHASH

func (_MCDDAI *MCDDAICaller) PERMITTYPEHASH(opts *bind.CallOpts) ([32]byte, error)

PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f.

Solidity: function PERMIT_TYPEHASH() view returns(bytes32)

func (*MCDDAICaller) Symbol

func (_MCDDAI *MCDDAICaller) Symbol(opts *bind.CallOpts) (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*MCDDAICaller) TotalSupply

func (_MCDDAI *MCDDAICaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*MCDDAICaller) Version

func (_MCDDAI *MCDDAICaller) Version(opts *bind.CallOpts) (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string)

func (*MCDDAICaller) Wards

func (_MCDDAI *MCDDAICaller) 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 MCDDAICallerRaw

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

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

func (*MCDDAICallerRaw) Call

func (_MCDDAI *MCDDAICallerRaw) 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 MCDDAICallerSession

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

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

func (*MCDDAICallerSession) Allowance

func (_MCDDAI *MCDDAICallerSession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address , address ) view returns(uint256)

func (*MCDDAICallerSession) BalanceOf

func (_MCDDAI *MCDDAICallerSession) BalanceOf(arg0 common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

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

func (*MCDDAICallerSession) DOMAINSEPARATOR

func (_MCDDAI *MCDDAICallerSession) DOMAINSEPARATOR() ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*MCDDAICallerSession) Decimals

func (_MCDDAI *MCDDAICallerSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*MCDDAICallerSession) Name

func (_MCDDAI *MCDDAICallerSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*MCDDAICallerSession) Nonces

func (_MCDDAI *MCDDAICallerSession) Nonces(arg0 common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

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

func (*MCDDAICallerSession) PERMITTYPEHASH

func (_MCDDAI *MCDDAICallerSession) PERMITTYPEHASH() ([32]byte, error)

PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f.

Solidity: function PERMIT_TYPEHASH() view returns(bytes32)

func (*MCDDAICallerSession) Symbol

func (_MCDDAI *MCDDAICallerSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*MCDDAICallerSession) TotalSupply

func (_MCDDAI *MCDDAICallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*MCDDAICallerSession) Version

func (_MCDDAI *MCDDAICallerSession) Version() (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string)

func (*MCDDAICallerSession) Wards

func (_MCDDAI *MCDDAICallerSession) 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 MCDDAIFilterer

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

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

func NewMCDDAIFilterer

func NewMCDDAIFilterer(address common.Address, filterer bind.ContractFilterer) (*MCDDAIFilterer, error)

NewMCDDAIFilterer creates a new log filterer instance of MCDDAI, bound to a specific deployed contract.

func (*MCDDAIFilterer) FilterApproval

func (_MCDDAI *MCDDAIFilterer) FilterApproval(opts *bind.FilterOpts, src []common.Address, guy []common.Address) (*MCDDAIApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed src, address indexed guy, uint256 wad)

func (*MCDDAIFilterer) FilterTransfer

func (_MCDDAI *MCDDAIFilterer) FilterTransfer(opts *bind.FilterOpts, src []common.Address, dst []common.Address) (*MCDDAITransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed src, address indexed dst, uint256 wad)

func (*MCDDAIFilterer) ParseApproval

func (_MCDDAI *MCDDAIFilterer) ParseApproval(log types.Log) (*MCDDAIApproval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed src, address indexed guy, uint256 wad)

func (*MCDDAIFilterer) ParseTransfer

func (_MCDDAI *MCDDAIFilterer) ParseTransfer(log types.Log) (*MCDDAITransfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed src, address indexed dst, uint256 wad)

func (*MCDDAIFilterer) WatchApproval

func (_MCDDAI *MCDDAIFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *MCDDAIApproval, src []common.Address, guy []common.Address) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed src, address indexed guy, uint256 wad)

func (*MCDDAIFilterer) WatchTransfer

func (_MCDDAI *MCDDAIFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *MCDDAITransfer, src []common.Address, dst []common.Address) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed src, address indexed dst, uint256 wad)

type MCDDAIRaw

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

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

func (*MCDDAIRaw) Call

func (_MCDDAI *MCDDAIRaw) 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 (*MCDDAIRaw) Transact

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

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

func (*MCDDAIRaw) Transfer

func (_MCDDAI *MCDDAIRaw) 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 MCDDAISession

type MCDDAISession struct {
	Contract     *MCDDAI           // 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
}

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

func (*MCDDAISession) Allowance

func (_MCDDAI *MCDDAISession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address , address ) view returns(uint256)

func (*MCDDAISession) Approve

func (_MCDDAI *MCDDAISession) Approve(usr common.Address, wad *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address usr, uint256 wad) returns(bool)

func (*MCDDAISession) BalanceOf

func (_MCDDAI *MCDDAISession) BalanceOf(arg0 common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

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

func (*MCDDAISession) Burn

func (_MCDDAI *MCDDAISession) Burn(usr common.Address, wad *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x9dc29fac.

Solidity: function burn(address usr, uint256 wad) returns()

func (*MCDDAISession) DOMAINSEPARATOR

func (_MCDDAI *MCDDAISession) DOMAINSEPARATOR() ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*MCDDAISession) Decimals

func (_MCDDAI *MCDDAISession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*MCDDAISession) Deny

func (_MCDDAI *MCDDAISession) 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 (*MCDDAISession) Mint

func (_MCDDAI *MCDDAISession) Mint(usr common.Address, wad *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x40c10f19.

Solidity: function mint(address usr, uint256 wad) returns()

func (*MCDDAISession) Move

func (_MCDDAI *MCDDAISession) Move(src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)

Move is a paid mutator transaction binding the contract method 0xbb35783b.

Solidity: function move(address src, address dst, uint256 wad) returns()

func (*MCDDAISession) Name

func (_MCDDAI *MCDDAISession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*MCDDAISession) Nonces

func (_MCDDAI *MCDDAISession) Nonces(arg0 common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

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

func (*MCDDAISession) PERMITTYPEHASH

func (_MCDDAI *MCDDAISession) PERMITTYPEHASH() ([32]byte, error)

PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f.

Solidity: function PERMIT_TYPEHASH() view returns(bytes32)

func (*MCDDAISession) Permit

func (_MCDDAI *MCDDAISession) Permit(holder common.Address, spender common.Address, nonce *big.Int, expiry *big.Int, allowed bool, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0x8fcbaf0c.

Solidity: function permit(address holder, address spender, uint256 nonce, uint256 expiry, bool allowed, uint8 v, bytes32 r, bytes32 s) returns()

func (*MCDDAISession) Pull

func (_MCDDAI *MCDDAISession) Pull(usr common.Address, wad *big.Int) (*types.Transaction, error)

Pull is a paid mutator transaction binding the contract method 0xf2d5d56b.

Solidity: function pull(address usr, uint256 wad) returns()

func (*MCDDAISession) Push

func (_MCDDAI *MCDDAISession) Push(usr common.Address, wad *big.Int) (*types.Transaction, error)

Push is a paid mutator transaction binding the contract method 0xb753a98c.

Solidity: function push(address usr, uint256 wad) returns()

func (*MCDDAISession) Rely

func (_MCDDAI *MCDDAISession) 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 (*MCDDAISession) Symbol

func (_MCDDAI *MCDDAISession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*MCDDAISession) TotalSupply

func (_MCDDAI *MCDDAISession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*MCDDAISession) Transfer

func (_MCDDAI *MCDDAISession) Transfer(dst common.Address, wad *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address dst, uint256 wad) returns(bool)

func (*MCDDAISession) TransferFrom

func (_MCDDAI *MCDDAISession) TransferFrom(src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address src, address dst, uint256 wad) returns(bool)

func (*MCDDAISession) Version

func (_MCDDAI *MCDDAISession) Version() (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string)

func (*MCDDAISession) Wards

func (_MCDDAI *MCDDAISession) 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 MCDDAITransactor

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

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

func NewMCDDAITransactor

func NewMCDDAITransactor(address common.Address, transactor bind.ContractTransactor) (*MCDDAITransactor, error)

NewMCDDAITransactor creates a new write-only instance of MCDDAI, bound to a specific deployed contract.

func (*MCDDAITransactor) Approve

func (_MCDDAI *MCDDAITransactor) Approve(opts *bind.TransactOpts, usr common.Address, wad *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address usr, uint256 wad) returns(bool)

func (*MCDDAITransactor) Burn

func (_MCDDAI *MCDDAITransactor) Burn(opts *bind.TransactOpts, usr common.Address, wad *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x9dc29fac.

Solidity: function burn(address usr, uint256 wad) returns()

func (*MCDDAITransactor) Deny

func (_MCDDAI *MCDDAITransactor) 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 (*MCDDAITransactor) Mint

func (_MCDDAI *MCDDAITransactor) Mint(opts *bind.TransactOpts, usr common.Address, wad *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x40c10f19.

Solidity: function mint(address usr, uint256 wad) returns()

func (*MCDDAITransactor) Move

func (_MCDDAI *MCDDAITransactor) Move(opts *bind.TransactOpts, src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)

Move is a paid mutator transaction binding the contract method 0xbb35783b.

Solidity: function move(address src, address dst, uint256 wad) returns()

func (*MCDDAITransactor) Permit

func (_MCDDAI *MCDDAITransactor) Permit(opts *bind.TransactOpts, holder common.Address, spender common.Address, nonce *big.Int, expiry *big.Int, allowed bool, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0x8fcbaf0c.

Solidity: function permit(address holder, address spender, uint256 nonce, uint256 expiry, bool allowed, uint8 v, bytes32 r, bytes32 s) returns()

func (*MCDDAITransactor) Pull

func (_MCDDAI *MCDDAITransactor) Pull(opts *bind.TransactOpts, usr common.Address, wad *big.Int) (*types.Transaction, error)

Pull is a paid mutator transaction binding the contract method 0xf2d5d56b.

Solidity: function pull(address usr, uint256 wad) returns()

func (*MCDDAITransactor) Push

func (_MCDDAI *MCDDAITransactor) Push(opts *bind.TransactOpts, usr common.Address, wad *big.Int) (*types.Transaction, error)

Push is a paid mutator transaction binding the contract method 0xb753a98c.

Solidity: function push(address usr, uint256 wad) returns()

func (*MCDDAITransactor) Rely

func (_MCDDAI *MCDDAITransactor) 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()

func (*MCDDAITransactor) Transfer

func (_MCDDAI *MCDDAITransactor) Transfer(opts *bind.TransactOpts, dst common.Address, wad *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address dst, uint256 wad) returns(bool)

func (*MCDDAITransactor) TransferFrom

func (_MCDDAI *MCDDAITransactor) TransferFrom(opts *bind.TransactOpts, src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address src, address dst, uint256 wad) returns(bool)

type MCDDAITransactorRaw

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

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

func (*MCDDAITransactorRaw) Transact

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

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

func (*MCDDAITransactorRaw) Transfer

func (_MCDDAI *MCDDAITransactorRaw) 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 MCDDAITransactorSession

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

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

func (*MCDDAITransactorSession) Approve

func (_MCDDAI *MCDDAITransactorSession) Approve(usr common.Address, wad *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address usr, uint256 wad) returns(bool)

func (*MCDDAITransactorSession) Burn

func (_MCDDAI *MCDDAITransactorSession) Burn(usr common.Address, wad *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x9dc29fac.

Solidity: function burn(address usr, uint256 wad) returns()

func (*MCDDAITransactorSession) Deny

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

Solidity: function deny(address guy) returns()

func (*MCDDAITransactorSession) Mint

func (_MCDDAI *MCDDAITransactorSession) Mint(usr common.Address, wad *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x40c10f19.

Solidity: function mint(address usr, uint256 wad) returns()

func (*MCDDAITransactorSession) Move

func (_MCDDAI *MCDDAITransactorSession) Move(src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)

Move is a paid mutator transaction binding the contract method 0xbb35783b.

Solidity: function move(address src, address dst, uint256 wad) returns()

func (*MCDDAITransactorSession) Permit

func (_MCDDAI *MCDDAITransactorSession) Permit(holder common.Address, spender common.Address, nonce *big.Int, expiry *big.Int, allowed bool, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0x8fcbaf0c.

Solidity: function permit(address holder, address spender, uint256 nonce, uint256 expiry, bool allowed, uint8 v, bytes32 r, bytes32 s) returns()

func (*MCDDAITransactorSession) Pull

func (_MCDDAI *MCDDAITransactorSession) Pull(usr common.Address, wad *big.Int) (*types.Transaction, error)

Pull is a paid mutator transaction binding the contract method 0xf2d5d56b.

Solidity: function pull(address usr, uint256 wad) returns()

func (*MCDDAITransactorSession) Push

func (_MCDDAI *MCDDAITransactorSession) Push(usr common.Address, wad *big.Int) (*types.Transaction, error)

Push is a paid mutator transaction binding the contract method 0xb753a98c.

Solidity: function push(address usr, uint256 wad) returns()

func (*MCDDAITransactorSession) Rely

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

Solidity: function rely(address guy) returns()

func (*MCDDAITransactorSession) Transfer

func (_MCDDAI *MCDDAITransactorSession) Transfer(dst common.Address, wad *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address dst, uint256 wad) returns(bool)

func (*MCDDAITransactorSession) TransferFrom

func (_MCDDAI *MCDDAITransactorSession) TransferFrom(src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address src, address dst, uint256 wad) returns(bool)

type MCDDAITransfer

type MCDDAITransfer struct {
	Src common.Address
	Dst common.Address
	Wad *big.Int
	Raw types.Log // Blockchain specific contextual infos
}

MCDDAITransfer represents a Transfer event raised by the MCDDAI contract.

type MCDDAITransferIterator

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

MCDDAITransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the MCDDAI contract.

func (*MCDDAITransferIterator) Close

func (it *MCDDAITransferIterator) Close() error

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

func (*MCDDAITransferIterator) Error

func (it *MCDDAITransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MCDDAITransferIterator) Next

func (it *MCDDAITransferIterator) 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 SmartContract

type SmartContract struct{}

func (*SmartContract) Message

func (sc *SmartContract) Message(eventName string, contractAbi *abi.ABI, vLog types.Log, timestamp *timestamppb.Timestamp) protoreflect.ProtoMessage

type Transfer

type Transfer struct {
	Ts  *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"`
	Src []byte                 `protobuf:"bytes,2,opt,name=Src,proto3" json:"Src,omitempty"` //	address
	Dst []byte                 `protobuf:"bytes,3,opt,name=Dst,proto3" json:"Dst,omitempty"` //	address
	Wad []byte                 `protobuf:"bytes,4,opt,name=Wad,proto3" json:"Wad,omitempty"` //	uint256
	// contains filtered or unexported fields
}

func (*Transfer) Descriptor deprecated

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

Deprecated: Use Transfer.ProtoReflect.Descriptor instead.

func (*Transfer) GetDst

func (x *Transfer) GetDst() []byte

func (*Transfer) GetSrc

func (x *Transfer) GetSrc() []byte

func (*Transfer) GetTs

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

func (*Transfer) GetWad

func (x *Transfer) GetWad() []byte

func (*Transfer) ProtoMessage

func (*Transfer) ProtoMessage()

func (*Transfer) ProtoReflect

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

func (*Transfer) Reset

func (x *Transfer) Reset()

func (*Transfer) String

func (x *Transfer) String() string

Jump to

Keyboard shortcuts

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