MCDFlash

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

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

Variables

View Source
var File_MCDFlash_MCDFlash_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

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 FlashLoan

type FlashLoan struct {
	Ts       *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"`
	Receiver []byte                 `protobuf:"bytes,2,opt,name=Receiver,proto3" json:"Receiver,omitempty"` //	address
	Token    []byte                 `protobuf:"bytes,3,opt,name=Token,proto3" json:"Token,omitempty"`       //	address
	Amount   []byte                 `protobuf:"bytes,4,opt,name=Amount,proto3" json:"Amount,omitempty"`     //	uint256
	Fee      []byte                 `protobuf:"bytes,5,opt,name=Fee,proto3" json:"Fee,omitempty"`           //	uint256
	// contains filtered or unexported fields
}

func (*FlashLoan) Descriptor deprecated

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

Deprecated: Use FlashLoan.ProtoReflect.Descriptor instead.

func (*FlashLoan) GetAmount

func (x *FlashLoan) GetAmount() []byte

func (*FlashLoan) GetFee

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

func (*FlashLoan) GetReceiver

func (x *FlashLoan) GetReceiver() []byte

func (*FlashLoan) GetToken

func (x *FlashLoan) GetToken() []byte

func (*FlashLoan) GetTs

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

func (*FlashLoan) ProtoMessage

func (*FlashLoan) ProtoMessage()

func (*FlashLoan) ProtoReflect

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

func (*FlashLoan) Reset

func (x *FlashLoan) Reset()

func (*FlashLoan) String

func (x *FlashLoan) String() string

type MCDFLASH

type MCDFLASH struct {
	MCDFLASHCaller     // Read-only binding to the contract
	MCDFLASHTransactor // Write-only binding to the contract
	MCDFLASHFilterer   // Log filterer for contract events
}

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

func NewMCDFLASH

func NewMCDFLASH(address common.Address, backend bind.ContractBackend) (*MCDFLASH, error)

NewMCDFLASH creates a new instance of MCDFLASH, bound to a specific deployed contract.

type MCDFLASHCaller

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

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

func NewMCDFLASHCaller

func NewMCDFLASHCaller(address common.Address, caller bind.ContractCaller) (*MCDFLASHCaller, error)

NewMCDFLASHCaller creates a new read-only instance of MCDFLASH, bound to a specific deployed contract.

func (*MCDFLASHCaller) CALLBACKSUCCESS

func (_MCDFLASH *MCDFLASHCaller) CALLBACKSUCCESS(opts *bind.CallOpts) ([32]byte, error)

CALLBACKSUCCESS is a free data retrieval call binding the contract method 0x8237e538.

Solidity: function CALLBACK_SUCCESS() view returns(bytes32)

func (*MCDFLASHCaller) CALLBACKSUCCESSVATDAI

func (_MCDFLASH *MCDFLASHCaller) CALLBACKSUCCESSVATDAI(opts *bind.CallOpts) ([32]byte, error)

CALLBACKSUCCESSVATDAI is a free data retrieval call binding the contract method 0x8878e8c7.

Solidity: function CALLBACK_SUCCESS_VAT_DAI() view returns(bytes32)

func (*MCDFLASHCaller) Dai

func (_MCDFLASH *MCDFLASHCaller) 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 (*MCDFLASHCaller) DaiJoin

func (_MCDFLASH *MCDFLASHCaller) 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 (*MCDFLASHCaller) FlashFee

func (_MCDFLASH *MCDFLASHCaller) FlashFee(opts *bind.CallOpts, token common.Address, amount *big.Int) (*big.Int, error)

FlashFee is a free data retrieval call binding the contract method 0xd9d98ce4.

Solidity: function flashFee(address token, uint256 amount) view returns(uint256)

func (*MCDFLASHCaller) Max

func (_MCDFLASH *MCDFLASHCaller) Max(opts *bind.CallOpts) (*big.Int, error)

Max is a free data retrieval call binding the contract method 0x6ac5db19.

Solidity: function max() view returns(uint256)

func (*MCDFLASHCaller) MaxFlashLoan

func (_MCDFLASH *MCDFLASHCaller) MaxFlashLoan(opts *bind.CallOpts, token common.Address) (*big.Int, error)

MaxFlashLoan is a free data retrieval call binding the contract method 0x613255ab.

Solidity: function maxFlashLoan(address token) view returns(uint256)

func (*MCDFLASHCaller) Toll

func (_MCDFLASH *MCDFLASHCaller) Toll(opts *bind.CallOpts) (*big.Int, error)

Toll is a free data retrieval call binding the contract method 0x285aaa20.

Solidity: function toll() view returns(uint256)

func (*MCDFLASHCaller) Vat

func (_MCDFLASH *MCDFLASHCaller) 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 (*MCDFLASHCaller) Vow

func (_MCDFLASH *MCDFLASHCaller) 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 (*MCDFLASHCaller) Wards

func (_MCDFLASH *MCDFLASHCaller) 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 MCDFLASHCallerRaw

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

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

func (*MCDFLASHCallerRaw) Call

func (_MCDFLASH *MCDFLASHCallerRaw) 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 MCDFLASHCallerSession

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

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

func (*MCDFLASHCallerSession) CALLBACKSUCCESS

func (_MCDFLASH *MCDFLASHCallerSession) CALLBACKSUCCESS() ([32]byte, error)

CALLBACKSUCCESS is a free data retrieval call binding the contract method 0x8237e538.

Solidity: function CALLBACK_SUCCESS() view returns(bytes32)

func (*MCDFLASHCallerSession) CALLBACKSUCCESSVATDAI

func (_MCDFLASH *MCDFLASHCallerSession) CALLBACKSUCCESSVATDAI() ([32]byte, error)

CALLBACKSUCCESSVATDAI is a free data retrieval call binding the contract method 0x8878e8c7.

Solidity: function CALLBACK_SUCCESS_VAT_DAI() view returns(bytes32)

func (*MCDFLASHCallerSession) Dai

func (_MCDFLASH *MCDFLASHCallerSession) Dai() (common.Address, error)

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

Solidity: function dai() view returns(address)

func (*MCDFLASHCallerSession) DaiJoin

func (_MCDFLASH *MCDFLASHCallerSession) DaiJoin() (common.Address, error)

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

Solidity: function daiJoin() view returns(address)

func (*MCDFLASHCallerSession) FlashFee

func (_MCDFLASH *MCDFLASHCallerSession) FlashFee(token common.Address, amount *big.Int) (*big.Int, error)

FlashFee is a free data retrieval call binding the contract method 0xd9d98ce4.

Solidity: function flashFee(address token, uint256 amount) view returns(uint256)

func (*MCDFLASHCallerSession) Max

func (_MCDFLASH *MCDFLASHCallerSession) Max() (*big.Int, error)

Max is a free data retrieval call binding the contract method 0x6ac5db19.

Solidity: function max() view returns(uint256)

func (*MCDFLASHCallerSession) MaxFlashLoan

func (_MCDFLASH *MCDFLASHCallerSession) MaxFlashLoan(token common.Address) (*big.Int, error)

MaxFlashLoan is a free data retrieval call binding the contract method 0x613255ab.

Solidity: function maxFlashLoan(address token) view returns(uint256)

func (*MCDFLASHCallerSession) Toll

func (_MCDFLASH *MCDFLASHCallerSession) Toll() (*big.Int, error)

Toll is a free data retrieval call binding the contract method 0x285aaa20.

Solidity: function toll() view returns(uint256)

func (*MCDFLASHCallerSession) Vat

func (_MCDFLASH *MCDFLASHCallerSession) Vat() (common.Address, error)

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

Solidity: function vat() view returns(address)

func (*MCDFLASHCallerSession) Vow

func (_MCDFLASH *MCDFLASHCallerSession) Vow() (common.Address, error)

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

Solidity: function vow() view returns(address)

func (*MCDFLASHCallerSession) Wards

func (_MCDFLASH *MCDFLASHCallerSession) 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 MCDFLASHDeny

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

MCDFLASHDeny represents a Deny event raised by the MCDFLASH contract.

type MCDFLASHDenyIterator

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

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

func (*MCDFLASHDenyIterator) Close

func (it *MCDFLASHDenyIterator) Close() error

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

func (*MCDFLASHDenyIterator) Error

func (it *MCDFLASHDenyIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MCDFLASHDenyIterator) Next

func (it *MCDFLASHDenyIterator) 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 MCDFLASHFile

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

MCDFLASHFile represents a File event raised by the MCDFLASH contract.

type MCDFLASHFileIterator

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

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

func (*MCDFLASHFileIterator) Close

func (it *MCDFLASHFileIterator) Close() error

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

func (*MCDFLASHFileIterator) Error

func (it *MCDFLASHFileIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MCDFLASHFileIterator) Next

func (it *MCDFLASHFileIterator) 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 MCDFLASHFilterer

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

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

func NewMCDFLASHFilterer

func NewMCDFLASHFilterer(address common.Address, filterer bind.ContractFilterer) (*MCDFLASHFilterer, error)

NewMCDFLASHFilterer creates a new log filterer instance of MCDFLASH, bound to a specific deployed contract.

func (*MCDFLASHFilterer) FilterDeny

func (_MCDFLASH *MCDFLASHFilterer) FilterDeny(opts *bind.FilterOpts, usr []common.Address) (*MCDFLASHDenyIterator, error)

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

Solidity: event Deny(address indexed usr)

func (*MCDFLASHFilterer) FilterFile

func (_MCDFLASH *MCDFLASHFilterer) FilterFile(opts *bind.FilterOpts, what [][32]byte) (*MCDFLASHFileIterator, error)

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

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

func (*MCDFLASHFilterer) FilterFlashLoan

func (_MCDFLASH *MCDFLASHFilterer) FilterFlashLoan(opts *bind.FilterOpts, receiver []common.Address) (*MCDFLASHFlashLoanIterator, error)

FilterFlashLoan is a free log retrieval operation binding the contract event 0x0d7d75e01ab95780d3cd1c8ec0dd6c2ce19e3a20427eec8bf53283b6fb8e95f0.

Solidity: event FlashLoan(address indexed receiver, address token, uint256 amount, uint256 fee)

func (*MCDFLASHFilterer) FilterRely

func (_MCDFLASH *MCDFLASHFilterer) FilterRely(opts *bind.FilterOpts, usr []common.Address) (*MCDFLASHRelyIterator, error)

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

Solidity: event Rely(address indexed usr)

func (*MCDFLASHFilterer) FilterVatDaiFlashLoan

func (_MCDFLASH *MCDFLASHFilterer) FilterVatDaiFlashLoan(opts *bind.FilterOpts, receiver []common.Address) (*MCDFLASHVatDaiFlashLoanIterator, error)

FilterVatDaiFlashLoan is a free log retrieval operation binding the contract event 0xbca56acc64a74a4c131755895cf7f72fc3f9e39af64241f7ad0f77e86f41ada9.

Solidity: event VatDaiFlashLoan(address indexed receiver, uint256 amount, uint256 fee)

func (*MCDFLASHFilterer) ParseDeny

func (_MCDFLASH *MCDFLASHFilterer) ParseDeny(log types.Log) (*MCDFLASHDeny, error)

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

Solidity: event Deny(address indexed usr)

func (*MCDFLASHFilterer) ParseFile

func (_MCDFLASH *MCDFLASHFilterer) ParseFile(log types.Log) (*MCDFLASHFile, error)

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

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

func (*MCDFLASHFilterer) ParseFlashLoan

func (_MCDFLASH *MCDFLASHFilterer) ParseFlashLoan(log types.Log) (*MCDFLASHFlashLoan, error)

ParseFlashLoan is a log parse operation binding the contract event 0x0d7d75e01ab95780d3cd1c8ec0dd6c2ce19e3a20427eec8bf53283b6fb8e95f0.

Solidity: event FlashLoan(address indexed receiver, address token, uint256 amount, uint256 fee)

func (*MCDFLASHFilterer) ParseRely

func (_MCDFLASH *MCDFLASHFilterer) ParseRely(log types.Log) (*MCDFLASHRely, error)

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

Solidity: event Rely(address indexed usr)

func (*MCDFLASHFilterer) ParseVatDaiFlashLoan

func (_MCDFLASH *MCDFLASHFilterer) ParseVatDaiFlashLoan(log types.Log) (*MCDFLASHVatDaiFlashLoan, error)

ParseVatDaiFlashLoan is a log parse operation binding the contract event 0xbca56acc64a74a4c131755895cf7f72fc3f9e39af64241f7ad0f77e86f41ada9.

Solidity: event VatDaiFlashLoan(address indexed receiver, uint256 amount, uint256 fee)

func (*MCDFLASHFilterer) WatchDeny

func (_MCDFLASH *MCDFLASHFilterer) WatchDeny(opts *bind.WatchOpts, sink chan<- *MCDFLASHDeny, 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 (*MCDFLASHFilterer) WatchFile

func (_MCDFLASH *MCDFLASHFilterer) WatchFile(opts *bind.WatchOpts, sink chan<- *MCDFLASHFile, 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 (*MCDFLASHFilterer) WatchFlashLoan

func (_MCDFLASH *MCDFLASHFilterer) WatchFlashLoan(opts *bind.WatchOpts, sink chan<- *MCDFLASHFlashLoan, receiver []common.Address) (event.Subscription, error)

WatchFlashLoan is a free log subscription operation binding the contract event 0x0d7d75e01ab95780d3cd1c8ec0dd6c2ce19e3a20427eec8bf53283b6fb8e95f0.

Solidity: event FlashLoan(address indexed receiver, address token, uint256 amount, uint256 fee)

func (*MCDFLASHFilterer) WatchRely

func (_MCDFLASH *MCDFLASHFilterer) WatchRely(opts *bind.WatchOpts, sink chan<- *MCDFLASHRely, 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 (*MCDFLASHFilterer) WatchVatDaiFlashLoan

func (_MCDFLASH *MCDFLASHFilterer) WatchVatDaiFlashLoan(opts *bind.WatchOpts, sink chan<- *MCDFLASHVatDaiFlashLoan, receiver []common.Address) (event.Subscription, error)

WatchVatDaiFlashLoan is a free log subscription operation binding the contract event 0xbca56acc64a74a4c131755895cf7f72fc3f9e39af64241f7ad0f77e86f41ada9.

Solidity: event VatDaiFlashLoan(address indexed receiver, uint256 amount, uint256 fee)

type MCDFLASHFlashLoan

type MCDFLASHFlashLoan struct {
	Receiver common.Address
	Token    common.Address
	Amount   *big.Int
	Fee      *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

MCDFLASHFlashLoan represents a FlashLoan event raised by the MCDFLASH contract.

type MCDFLASHFlashLoanIterator

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

MCDFLASHFlashLoanIterator is returned from FilterFlashLoan and is used to iterate over the raw logs and unpacked data for FlashLoan events raised by the MCDFLASH contract.

func (*MCDFLASHFlashLoanIterator) Close

func (it *MCDFLASHFlashLoanIterator) Close() error

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

func (*MCDFLASHFlashLoanIterator) Error

func (it *MCDFLASHFlashLoanIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MCDFLASHFlashLoanIterator) Next

func (it *MCDFLASHFlashLoanIterator) 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 MCDFLASHRaw

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

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

func (*MCDFLASHRaw) Call

func (_MCDFLASH *MCDFLASHRaw) 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 (*MCDFLASHRaw) Transact

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

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

func (*MCDFLASHRaw) Transfer

func (_MCDFLASH *MCDFLASHRaw) 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 MCDFLASHRely

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

MCDFLASHRely represents a Rely event raised by the MCDFLASH contract.

type MCDFLASHRelyIterator

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

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

func (*MCDFLASHRelyIterator) Close

func (it *MCDFLASHRelyIterator) Close() error

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

func (*MCDFLASHRelyIterator) Error

func (it *MCDFLASHRelyIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MCDFLASHRelyIterator) Next

func (it *MCDFLASHRelyIterator) 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 MCDFLASHSession

type MCDFLASHSession struct {
	Contract     *MCDFLASH         // 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
}

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

func (*MCDFLASHSession) Accrue

func (_MCDFLASH *MCDFLASHSession) Accrue() (*types.Transaction, error)

Accrue is a paid mutator transaction binding the contract method 0xf8ba4cff.

Solidity: function accrue() returns()

func (*MCDFLASHSession) CALLBACKSUCCESS

func (_MCDFLASH *MCDFLASHSession) CALLBACKSUCCESS() ([32]byte, error)

CALLBACKSUCCESS is a free data retrieval call binding the contract method 0x8237e538.

Solidity: function CALLBACK_SUCCESS() view returns(bytes32)

func (*MCDFLASHSession) CALLBACKSUCCESSVATDAI

func (_MCDFLASH *MCDFLASHSession) CALLBACKSUCCESSVATDAI() ([32]byte, error)

CALLBACKSUCCESSVATDAI is a free data retrieval call binding the contract method 0x8878e8c7.

Solidity: function CALLBACK_SUCCESS_VAT_DAI() view returns(bytes32)

func (*MCDFLASHSession) Convert

func (_MCDFLASH *MCDFLASHSession) Convert() (*types.Transaction, error)

Convert is a paid mutator transaction binding the contract method 0x91bbdcc7.

Solidity: function convert() returns()

func (*MCDFLASHSession) Dai

func (_MCDFLASH *MCDFLASHSession) Dai() (common.Address, error)

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

Solidity: function dai() view returns(address)

func (*MCDFLASHSession) DaiJoin

func (_MCDFLASH *MCDFLASHSession) DaiJoin() (common.Address, error)

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

Solidity: function daiJoin() view returns(address)

func (*MCDFLASHSession) Deny

func (_MCDFLASH *MCDFLASHSession) 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 (*MCDFLASHSession) File

func (_MCDFLASH *MCDFLASHSession) 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 (*MCDFLASHSession) FlashFee

func (_MCDFLASH *MCDFLASHSession) FlashFee(token common.Address, amount *big.Int) (*big.Int, error)

FlashFee is a free data retrieval call binding the contract method 0xd9d98ce4.

Solidity: function flashFee(address token, uint256 amount) view returns(uint256)

func (*MCDFLASHSession) FlashLoan

func (_MCDFLASH *MCDFLASHSession) FlashLoan(receiver common.Address, token common.Address, amount *big.Int, data []byte) (*types.Transaction, error)

FlashLoan is a paid mutator transaction binding the contract method 0x5cffe9de.

Solidity: function flashLoan(address receiver, address token, uint256 amount, bytes data) returns(bool)

func (*MCDFLASHSession) Max

func (_MCDFLASH *MCDFLASHSession) Max() (*big.Int, error)

Max is a free data retrieval call binding the contract method 0x6ac5db19.

Solidity: function max() view returns(uint256)

func (*MCDFLASHSession) MaxFlashLoan

func (_MCDFLASH *MCDFLASHSession) MaxFlashLoan(token common.Address) (*big.Int, error)

MaxFlashLoan is a free data retrieval call binding the contract method 0x613255ab.

Solidity: function maxFlashLoan(address token) view returns(uint256)

func (*MCDFLASHSession) Rely

func (_MCDFLASH *MCDFLASHSession) 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 (*MCDFLASHSession) Toll

func (_MCDFLASH *MCDFLASHSession) Toll() (*big.Int, error)

Toll is a free data retrieval call binding the contract method 0x285aaa20.

Solidity: function toll() view returns(uint256)

func (*MCDFLASHSession) Vat

func (_MCDFLASH *MCDFLASHSession) Vat() (common.Address, error)

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

Solidity: function vat() view returns(address)

func (*MCDFLASHSession) VatDaiFlashLoan

func (_MCDFLASH *MCDFLASHSession) VatDaiFlashLoan(receiver common.Address, amount *big.Int, data []byte) (*types.Transaction, error)

VatDaiFlashLoan is a paid mutator transaction binding the contract method 0x3f03653f.

Solidity: function vatDaiFlashLoan(address receiver, uint256 amount, bytes data) returns(bool)

func (*MCDFLASHSession) Vow

func (_MCDFLASH *MCDFLASHSession) Vow() (common.Address, error)

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

Solidity: function vow() view returns(address)

func (*MCDFLASHSession) Wards

func (_MCDFLASH *MCDFLASHSession) 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 MCDFLASHTransactor

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

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

func NewMCDFLASHTransactor

func NewMCDFLASHTransactor(address common.Address, transactor bind.ContractTransactor) (*MCDFLASHTransactor, error)

NewMCDFLASHTransactor creates a new write-only instance of MCDFLASH, bound to a specific deployed contract.

func (*MCDFLASHTransactor) Accrue

func (_MCDFLASH *MCDFLASHTransactor) Accrue(opts *bind.TransactOpts) (*types.Transaction, error)

Accrue is a paid mutator transaction binding the contract method 0xf8ba4cff.

Solidity: function accrue() returns()

func (*MCDFLASHTransactor) Convert

func (_MCDFLASH *MCDFLASHTransactor) Convert(opts *bind.TransactOpts) (*types.Transaction, error)

Convert is a paid mutator transaction binding the contract method 0x91bbdcc7.

Solidity: function convert() returns()

func (*MCDFLASHTransactor) Deny

func (_MCDFLASH *MCDFLASHTransactor) 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 (*MCDFLASHTransactor) File

func (_MCDFLASH *MCDFLASHTransactor) 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 (*MCDFLASHTransactor) FlashLoan

func (_MCDFLASH *MCDFLASHTransactor) FlashLoan(opts *bind.TransactOpts, receiver common.Address, token common.Address, amount *big.Int, data []byte) (*types.Transaction, error)

FlashLoan is a paid mutator transaction binding the contract method 0x5cffe9de.

Solidity: function flashLoan(address receiver, address token, uint256 amount, bytes data) returns(bool)

func (*MCDFLASHTransactor) Rely

func (_MCDFLASH *MCDFLASHTransactor) 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 (*MCDFLASHTransactor) VatDaiFlashLoan

func (_MCDFLASH *MCDFLASHTransactor) VatDaiFlashLoan(opts *bind.TransactOpts, receiver common.Address, amount *big.Int, data []byte) (*types.Transaction, error)

VatDaiFlashLoan is a paid mutator transaction binding the contract method 0x3f03653f.

Solidity: function vatDaiFlashLoan(address receiver, uint256 amount, bytes data) returns(bool)

type MCDFLASHTransactorRaw

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

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

func (*MCDFLASHTransactorRaw) Transact

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

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

func (*MCDFLASHTransactorRaw) Transfer

func (_MCDFLASH *MCDFLASHTransactorRaw) 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 MCDFLASHTransactorSession

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

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

func (*MCDFLASHTransactorSession) Accrue

func (_MCDFLASH *MCDFLASHTransactorSession) Accrue() (*types.Transaction, error)

Accrue is a paid mutator transaction binding the contract method 0xf8ba4cff.

Solidity: function accrue() returns()

func (*MCDFLASHTransactorSession) Convert

func (_MCDFLASH *MCDFLASHTransactorSession) Convert() (*types.Transaction, error)

Convert is a paid mutator transaction binding the contract method 0x91bbdcc7.

Solidity: function convert() returns()

func (*MCDFLASHTransactorSession) Deny

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

Solidity: function deny(address usr) returns()

func (*MCDFLASHTransactorSession) File

func (_MCDFLASH *MCDFLASHTransactorSession) 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 (*MCDFLASHTransactorSession) FlashLoan

func (_MCDFLASH *MCDFLASHTransactorSession) FlashLoan(receiver common.Address, token common.Address, amount *big.Int, data []byte) (*types.Transaction, error)

FlashLoan is a paid mutator transaction binding the contract method 0x5cffe9de.

Solidity: function flashLoan(address receiver, address token, uint256 amount, bytes data) returns(bool)

func (*MCDFLASHTransactorSession) Rely

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

Solidity: function rely(address usr) returns()

func (*MCDFLASHTransactorSession) VatDaiFlashLoan

func (_MCDFLASH *MCDFLASHTransactorSession) VatDaiFlashLoan(receiver common.Address, amount *big.Int, data []byte) (*types.Transaction, error)

VatDaiFlashLoan is a paid mutator transaction binding the contract method 0x3f03653f.

Solidity: function vatDaiFlashLoan(address receiver, uint256 amount, bytes data) returns(bool)

type MCDFLASHVatDaiFlashLoan

type MCDFLASHVatDaiFlashLoan struct {
	Receiver common.Address
	Amount   *big.Int
	Fee      *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

MCDFLASHVatDaiFlashLoan represents a VatDaiFlashLoan event raised by the MCDFLASH contract.

type MCDFLASHVatDaiFlashLoanIterator

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

MCDFLASHVatDaiFlashLoanIterator is returned from FilterVatDaiFlashLoan and is used to iterate over the raw logs and unpacked data for VatDaiFlashLoan events raised by the MCDFLASH contract.

func (*MCDFLASHVatDaiFlashLoanIterator) Close

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

func (*MCDFLASHVatDaiFlashLoanIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MCDFLASHVatDaiFlashLoanIterator) Next

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 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 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 VatDaiFlashLoan

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

func (*VatDaiFlashLoan) Descriptor deprecated

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

Deprecated: Use VatDaiFlashLoan.ProtoReflect.Descriptor instead.

func (*VatDaiFlashLoan) GetAmount

func (x *VatDaiFlashLoan) GetAmount() []byte

func (*VatDaiFlashLoan) GetFee

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

func (*VatDaiFlashLoan) GetReceiver

func (x *VatDaiFlashLoan) GetReceiver() []byte

func (*VatDaiFlashLoan) GetTs

func (*VatDaiFlashLoan) ProtoMessage

func (*VatDaiFlashLoan) ProtoMessage()

func (*VatDaiFlashLoan) ProtoReflect

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

func (*VatDaiFlashLoan) Reset

func (x *VatDaiFlashLoan) Reset()

func (*VatDaiFlashLoan) String

func (x *VatDaiFlashLoan) String() string

Jump to

Keyboard shortcuts

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