CdpRegistry

package
v0.0.0-...-a05b099 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2023 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const CDPREGISTRYABI = "" /* 1735-byte string literal not displayed */

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

Variables

View Source
var File_CdpRegistry_CdpRegistry_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CDPREGISTRY

type CDPREGISTRY struct {
	CDPREGISTRYCaller     // Read-only binding to the contract
	CDPREGISTRYTransactor // Write-only binding to the contract
	CDPREGISTRYFilterer   // Log filterer for contract events
}

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

func NewCDPREGISTRY

func NewCDPREGISTRY(address common.Address, backend bind.ContractBackend) (*CDPREGISTRY, error)

NewCDPREGISTRY creates a new instance of CDPREGISTRY, bound to a specific deployed contract.

type CDPREGISTRYCaller

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

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

func NewCDPREGISTRYCaller

func NewCDPREGISTRYCaller(address common.Address, caller bind.ContractCaller) (*CDPREGISTRYCaller, error)

NewCDPREGISTRYCaller creates a new read-only instance of CDPREGISTRY, bound to a specific deployed contract.

func (*CDPREGISTRYCaller) CdpManager

func (_CDPREGISTRY *CDPREGISTRYCaller) CdpManager(opts *bind.CallOpts) (common.Address, error)

CdpManager is a free data retrieval call binding the contract method 0xbb038e15.

Solidity: function cdpManager() view returns(address)

func (*CDPREGISTRYCaller) Cdps

func (_CDPREGISTRY *CDPREGISTRYCaller) Cdps(opts *bind.CallOpts, arg0 [32]byte, arg1 common.Address) (*big.Int, error)

Cdps is a free data retrieval call binding the contract method 0x3a6916ad.

Solidity: function cdps(bytes32 , address ) view returns(uint256)

func (*CDPREGISTRYCaller) Ilks

func (_CDPREGISTRY *CDPREGISTRYCaller) Ilks(opts *bind.CallOpts, arg0 *big.Int) ([32]byte, error)

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

Solidity: function ilks(uint256 ) view returns(bytes32)

func (*CDPREGISTRYCaller) Owns

func (_CDPREGISTRY *CDPREGISTRYCaller) Owns(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

Owns is a free data retrieval call binding the contract method 0x8161b120.

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

type CDPREGISTRYCallerRaw

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

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

func (*CDPREGISTRYCallerRaw) Call

func (_CDPREGISTRY *CDPREGISTRYCallerRaw) 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 CDPREGISTRYCallerSession

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

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

func (*CDPREGISTRYCallerSession) CdpManager

func (_CDPREGISTRY *CDPREGISTRYCallerSession) CdpManager() (common.Address, error)

CdpManager is a free data retrieval call binding the contract method 0xbb038e15.

Solidity: function cdpManager() view returns(address)

func (*CDPREGISTRYCallerSession) Cdps

func (_CDPREGISTRY *CDPREGISTRYCallerSession) Cdps(arg0 [32]byte, arg1 common.Address) (*big.Int, error)

Cdps is a free data retrieval call binding the contract method 0x3a6916ad.

Solidity: function cdps(bytes32 , address ) view returns(uint256)

func (*CDPREGISTRYCallerSession) Ilks

func (_CDPREGISTRY *CDPREGISTRYCallerSession) Ilks(arg0 *big.Int) ([32]byte, error)

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

Solidity: function ilks(uint256 ) view returns(bytes32)

func (*CDPREGISTRYCallerSession) Owns

func (_CDPREGISTRY *CDPREGISTRYCallerSession) Owns(arg0 *big.Int) (common.Address, error)

Owns is a free data retrieval call binding the contract method 0x8161b120.

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

type CDPREGISTRYFilterer

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

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

func NewCDPREGISTRYFilterer

func NewCDPREGISTRYFilterer(address common.Address, filterer bind.ContractFilterer) (*CDPREGISTRYFilterer, error)

NewCDPREGISTRYFilterer creates a new log filterer instance of CDPREGISTRY, bound to a specific deployed contract.

func (*CDPREGISTRYFilterer) FilterNewCdpRegistered

func (_CDPREGISTRY *CDPREGISTRYFilterer) FilterNewCdpRegistered(opts *bind.FilterOpts, sender []common.Address, owner []common.Address, cdp []*big.Int) (*CDPREGISTRYNewCdpRegisteredIterator, error)

FilterNewCdpRegistered is a free log retrieval operation binding the contract event 0xa5f6af9041f75a8d636848197dfbc0abf5daf6a5fa6b15fb6d59916ddecce312.

Solidity: event NewCdpRegistered(address indexed sender, address indexed owner, uint256 indexed cdp)

func (*CDPREGISTRYFilterer) ParseNewCdpRegistered

func (_CDPREGISTRY *CDPREGISTRYFilterer) ParseNewCdpRegistered(log types.Log) (*CDPREGISTRYNewCdpRegistered, error)

ParseNewCdpRegistered is a log parse operation binding the contract event 0xa5f6af9041f75a8d636848197dfbc0abf5daf6a5fa6b15fb6d59916ddecce312.

Solidity: event NewCdpRegistered(address indexed sender, address indexed owner, uint256 indexed cdp)

func (*CDPREGISTRYFilterer) WatchNewCdpRegistered

func (_CDPREGISTRY *CDPREGISTRYFilterer) WatchNewCdpRegistered(opts *bind.WatchOpts, sink chan<- *CDPREGISTRYNewCdpRegistered, sender []common.Address, owner []common.Address, cdp []*big.Int) (event.Subscription, error)

WatchNewCdpRegistered is a free log subscription operation binding the contract event 0xa5f6af9041f75a8d636848197dfbc0abf5daf6a5fa6b15fb6d59916ddecce312.

Solidity: event NewCdpRegistered(address indexed sender, address indexed owner, uint256 indexed cdp)

type CDPREGISTRYNewCdpRegistered

type CDPREGISTRYNewCdpRegistered struct {
	Sender common.Address
	Owner  common.Address
	Cdp    *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

CDPREGISTRYNewCdpRegistered represents a NewCdpRegistered event raised by the CDPREGISTRY contract.

type CDPREGISTRYNewCdpRegisteredIterator

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

CDPREGISTRYNewCdpRegisteredIterator is returned from FilterNewCdpRegistered and is used to iterate over the raw logs and unpacked data for NewCdpRegistered events raised by the CDPREGISTRY contract.

func (*CDPREGISTRYNewCdpRegisteredIterator) Close

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

func (*CDPREGISTRYNewCdpRegisteredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CDPREGISTRYNewCdpRegisteredIterator) 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 CDPREGISTRYRaw

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

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

func (*CDPREGISTRYRaw) Call

func (_CDPREGISTRY *CDPREGISTRYRaw) 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 (*CDPREGISTRYRaw) Transact

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

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

func (*CDPREGISTRYRaw) Transfer

func (_CDPREGISTRY *CDPREGISTRYRaw) 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 CDPREGISTRYSession

type CDPREGISTRYSession struct {
	Contract     *CDPREGISTRY      // 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
}

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

func (*CDPREGISTRYSession) CdpManager

func (_CDPREGISTRY *CDPREGISTRYSession) CdpManager() (common.Address, error)

CdpManager is a free data retrieval call binding the contract method 0xbb038e15.

Solidity: function cdpManager() view returns(address)

func (*CDPREGISTRYSession) Cdps

func (_CDPREGISTRY *CDPREGISTRYSession) Cdps(arg0 [32]byte, arg1 common.Address) (*big.Int, error)

Cdps is a free data retrieval call binding the contract method 0x3a6916ad.

Solidity: function cdps(bytes32 , address ) view returns(uint256)

func (*CDPREGISTRYSession) Ilks

func (_CDPREGISTRY *CDPREGISTRYSession) Ilks(arg0 *big.Int) ([32]byte, error)

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

Solidity: function ilks(uint256 ) view returns(bytes32)

func (*CDPREGISTRYSession) Open

func (_CDPREGISTRY *CDPREGISTRYSession) Open(ilk [32]byte, usr common.Address) (*types.Transaction, error)

Open is a paid mutator transaction binding the contract method 0x6090dec5.

Solidity: function open(bytes32 ilk, address usr) returns(uint256)

func (*CDPREGISTRYSession) Owns

func (_CDPREGISTRY *CDPREGISTRYSession) Owns(arg0 *big.Int) (common.Address, error)

Owns is a free data retrieval call binding the contract method 0x8161b120.

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

type CDPREGISTRYTransactor

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

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

func NewCDPREGISTRYTransactor

func NewCDPREGISTRYTransactor(address common.Address, transactor bind.ContractTransactor) (*CDPREGISTRYTransactor, error)

NewCDPREGISTRYTransactor creates a new write-only instance of CDPREGISTRY, bound to a specific deployed contract.

func (*CDPREGISTRYTransactor) Open

func (_CDPREGISTRY *CDPREGISTRYTransactor) Open(opts *bind.TransactOpts, ilk [32]byte, usr common.Address) (*types.Transaction, error)

Open is a paid mutator transaction binding the contract method 0x6090dec5.

Solidity: function open(bytes32 ilk, address usr) returns(uint256)

type CDPREGISTRYTransactorRaw

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

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

func (*CDPREGISTRYTransactorRaw) Transact

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

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

func (*CDPREGISTRYTransactorRaw) Transfer

func (_CDPREGISTRY *CDPREGISTRYTransactorRaw) 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 CDPREGISTRYTransactorSession

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

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

func (*CDPREGISTRYTransactorSession) Open

func (_CDPREGISTRY *CDPREGISTRYTransactorSession) Open(ilk [32]byte, usr common.Address) (*types.Transaction, error)

Open is a paid mutator transaction binding the contract method 0x6090dec5.

Solidity: function open(bytes32 ilk, address usr) returns(uint256)

type NewCdpRegistered

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

func (*NewCdpRegistered) Descriptor deprecated

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

Deprecated: Use NewCdpRegistered.ProtoReflect.Descriptor instead.

func (*NewCdpRegistered) GetCdp

func (x *NewCdpRegistered) GetCdp() []byte

func (*NewCdpRegistered) GetOwner

func (x *NewCdpRegistered) GetOwner() []byte

func (*NewCdpRegistered) GetSender

func (x *NewCdpRegistered) GetSender() []byte

func (*NewCdpRegistered) GetTs

func (*NewCdpRegistered) ProtoMessage

func (*NewCdpRegistered) ProtoMessage()

func (*NewCdpRegistered) ProtoReflect

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

func (*NewCdpRegistered) Reset

func (x *NewCdpRegistered) Reset()

func (*NewCdpRegistered) String

func (x *NewCdpRegistered) String() string

type SmartContract

type SmartContract struct{}

func (*SmartContract) Message

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

Jump to

Keyboard shortcuts

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