DsrManager

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

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

Variables

View Source
var File_DsrManager_DsrManager_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type DSRMANAGER

type DSRMANAGER struct {
	DSRMANAGERCaller     // Read-only binding to the contract
	DSRMANAGERTransactor // Write-only binding to the contract
	DSRMANAGERFilterer   // Log filterer for contract events
}

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

func NewDSRMANAGER

func NewDSRMANAGER(address common.Address, backend bind.ContractBackend) (*DSRMANAGER, error)

NewDSRMANAGER creates a new instance of DSRMANAGER, bound to a specific deployed contract.

type DSRMANAGERCaller

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

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

func NewDSRMANAGERCaller

func NewDSRMANAGERCaller(address common.Address, caller bind.ContractCaller) (*DSRMANAGERCaller, error)

NewDSRMANAGERCaller creates a new read-only instance of DSRMANAGER, bound to a specific deployed contract.

func (*DSRMANAGERCaller) Dai

func (_DSRMANAGER *DSRMANAGERCaller) 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 (*DSRMANAGERCaller) DaiJoin

func (_DSRMANAGER *DSRMANAGERCaller) 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 (*DSRMANAGERCaller) PieOf

func (_DSRMANAGER *DSRMANAGERCaller) PieOf(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

PieOf is a free data retrieval call binding the contract method 0x88787f2b.

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

func (*DSRMANAGERCaller) Pot

func (_DSRMANAGER *DSRMANAGERCaller) Pot(opts *bind.CallOpts) (common.Address, error)

Pot is a free data retrieval call binding the contract method 0x4ba2363a.

Solidity: function pot() view returns(address)

func (*DSRMANAGERCaller) Supply

func (_DSRMANAGER *DSRMANAGERCaller) Supply(opts *bind.CallOpts) (*big.Int, error)

Supply is a free data retrieval call binding the contract method 0x047fc9aa.

Solidity: function supply() view returns(uint256)

type DSRMANAGERCallerRaw

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

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

func (*DSRMANAGERCallerRaw) Call

func (_DSRMANAGER *DSRMANAGERCallerRaw) 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 DSRMANAGERCallerSession

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

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

func (*DSRMANAGERCallerSession) Dai

func (_DSRMANAGER *DSRMANAGERCallerSession) Dai() (common.Address, error)

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

Solidity: function dai() view returns(address)

func (*DSRMANAGERCallerSession) DaiJoin

func (_DSRMANAGER *DSRMANAGERCallerSession) DaiJoin() (common.Address, error)

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

Solidity: function daiJoin() view returns(address)

func (*DSRMANAGERCallerSession) PieOf

func (_DSRMANAGER *DSRMANAGERCallerSession) PieOf(arg0 common.Address) (*big.Int, error)

PieOf is a free data retrieval call binding the contract method 0x88787f2b.

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

func (*DSRMANAGERCallerSession) Pot

func (_DSRMANAGER *DSRMANAGERCallerSession) Pot() (common.Address, error)

Pot is a free data retrieval call binding the contract method 0x4ba2363a.

Solidity: function pot() view returns(address)

func (*DSRMANAGERCallerSession) Supply

func (_DSRMANAGER *DSRMANAGERCallerSession) Supply() (*big.Int, error)

Supply is a free data retrieval call binding the contract method 0x047fc9aa.

Solidity: function supply() view returns(uint256)

type DSRMANAGERExit

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

DSRMANAGERExit represents a Exit event raised by the DSRMANAGER contract.

type DSRMANAGERExitIterator

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

DSRMANAGERExitIterator is returned from FilterExit and is used to iterate over the raw logs and unpacked data for Exit events raised by the DSRMANAGER contract.

func (*DSRMANAGERExitIterator) Close

func (it *DSRMANAGERExitIterator) Close() error

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

func (*DSRMANAGERExitIterator) Error

func (it *DSRMANAGERExitIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*DSRMANAGERExitIterator) Next

func (it *DSRMANAGERExitIterator) 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 DSRMANAGERFilterer

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

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

func NewDSRMANAGERFilterer

func NewDSRMANAGERFilterer(address common.Address, filterer bind.ContractFilterer) (*DSRMANAGERFilterer, error)

NewDSRMANAGERFilterer creates a new log filterer instance of DSRMANAGER, bound to a specific deployed contract.

func (*DSRMANAGERFilterer) FilterExit

func (_DSRMANAGER *DSRMANAGERFilterer) FilterExit(opts *bind.FilterOpts, dst []common.Address) (*DSRMANAGERExitIterator, error)

FilterExit is a free log retrieval operation binding the contract event 0x22d324652c93739755cf4581508b60875ebdd78c20c0cff5cf8e23452b299631.

Solidity: event Exit(address indexed dst, uint256 wad)

func (*DSRMANAGERFilterer) FilterJoin

func (_DSRMANAGER *DSRMANAGERFilterer) FilterJoin(opts *bind.FilterOpts, dst []common.Address) (*DSRMANAGERJoinIterator, error)

FilterJoin is a free log retrieval operation binding the contract event 0xb4e09949657f21548b58afe74e7b86cd2295da5ff1598ae1e5faecb1cf19ca95.

Solidity: event Join(address indexed dst, uint256 wad)

func (*DSRMANAGERFilterer) ParseExit

func (_DSRMANAGER *DSRMANAGERFilterer) ParseExit(log types.Log) (*DSRMANAGERExit, error)

ParseExit is a log parse operation binding the contract event 0x22d324652c93739755cf4581508b60875ebdd78c20c0cff5cf8e23452b299631.

Solidity: event Exit(address indexed dst, uint256 wad)

func (*DSRMANAGERFilterer) ParseJoin

func (_DSRMANAGER *DSRMANAGERFilterer) ParseJoin(log types.Log) (*DSRMANAGERJoin, error)

ParseJoin is a log parse operation binding the contract event 0xb4e09949657f21548b58afe74e7b86cd2295da5ff1598ae1e5faecb1cf19ca95.

Solidity: event Join(address indexed dst, uint256 wad)

func (*DSRMANAGERFilterer) WatchExit

func (_DSRMANAGER *DSRMANAGERFilterer) WatchExit(opts *bind.WatchOpts, sink chan<- *DSRMANAGERExit, dst []common.Address) (event.Subscription, error)

WatchExit is a free log subscription operation binding the contract event 0x22d324652c93739755cf4581508b60875ebdd78c20c0cff5cf8e23452b299631.

Solidity: event Exit(address indexed dst, uint256 wad)

func (*DSRMANAGERFilterer) WatchJoin

func (_DSRMANAGER *DSRMANAGERFilterer) WatchJoin(opts *bind.WatchOpts, sink chan<- *DSRMANAGERJoin, dst []common.Address) (event.Subscription, error)

WatchJoin is a free log subscription operation binding the contract event 0xb4e09949657f21548b58afe74e7b86cd2295da5ff1598ae1e5faecb1cf19ca95.

Solidity: event Join(address indexed dst, uint256 wad)

type DSRMANAGERJoin

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

DSRMANAGERJoin represents a Join event raised by the DSRMANAGER contract.

type DSRMANAGERJoinIterator

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

DSRMANAGERJoinIterator is returned from FilterJoin and is used to iterate over the raw logs and unpacked data for Join events raised by the DSRMANAGER contract.

func (*DSRMANAGERJoinIterator) Close

func (it *DSRMANAGERJoinIterator) Close() error

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

func (*DSRMANAGERJoinIterator) Error

func (it *DSRMANAGERJoinIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*DSRMANAGERJoinIterator) Next

func (it *DSRMANAGERJoinIterator) 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 DSRMANAGERRaw

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

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

func (*DSRMANAGERRaw) Call

func (_DSRMANAGER *DSRMANAGERRaw) 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 (*DSRMANAGERRaw) Transact

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

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

func (*DSRMANAGERRaw) Transfer

func (_DSRMANAGER *DSRMANAGERRaw) 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 DSRMANAGERSession

type DSRMANAGERSession struct {
	Contract     *DSRMANAGER       // 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
}

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

func (*DSRMANAGERSession) Dai

func (_DSRMANAGER *DSRMANAGERSession) Dai() (common.Address, error)

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

Solidity: function dai() view returns(address)

func (*DSRMANAGERSession) DaiBalance

func (_DSRMANAGER *DSRMANAGERSession) DaiBalance(usr common.Address) (*types.Transaction, error)

DaiBalance is a paid mutator transaction binding the contract method 0xd7f7098f.

Solidity: function daiBalance(address usr) returns(uint256 wad)

func (*DSRMANAGERSession) DaiJoin

func (_DSRMANAGER *DSRMANAGERSession) DaiJoin() (common.Address, error)

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

Solidity: function daiJoin() view returns(address)

func (*DSRMANAGERSession) Exit

func (_DSRMANAGER *DSRMANAGERSession) Exit(dst common.Address, wad *big.Int) (*types.Transaction, error)

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

Solidity: function exit(address dst, uint256 wad) returns()

func (*DSRMANAGERSession) ExitAll

func (_DSRMANAGER *DSRMANAGERSession) ExitAll(dst common.Address) (*types.Transaction, error)

ExitAll is a paid mutator transaction binding the contract method 0xeb0dff66.

Solidity: function exitAll(address dst) returns()

func (*DSRMANAGERSession) Join

func (_DSRMANAGER *DSRMANAGERSession) Join(dst common.Address, wad *big.Int) (*types.Transaction, error)

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

Solidity: function join(address dst, uint256 wad) returns()

func (*DSRMANAGERSession) PieOf

func (_DSRMANAGER *DSRMANAGERSession) PieOf(arg0 common.Address) (*big.Int, error)

PieOf is a free data retrieval call binding the contract method 0x88787f2b.

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

func (*DSRMANAGERSession) Pot

func (_DSRMANAGER *DSRMANAGERSession) Pot() (common.Address, error)

Pot is a free data retrieval call binding the contract method 0x4ba2363a.

Solidity: function pot() view returns(address)

func (*DSRMANAGERSession) Supply

func (_DSRMANAGER *DSRMANAGERSession) Supply() (*big.Int, error)

Supply is a free data retrieval call binding the contract method 0x047fc9aa.

Solidity: function supply() view returns(uint256)

type DSRMANAGERTransactor

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

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

func NewDSRMANAGERTransactor

func NewDSRMANAGERTransactor(address common.Address, transactor bind.ContractTransactor) (*DSRMANAGERTransactor, error)

NewDSRMANAGERTransactor creates a new write-only instance of DSRMANAGER, bound to a specific deployed contract.

func (*DSRMANAGERTransactor) DaiBalance

func (_DSRMANAGER *DSRMANAGERTransactor) DaiBalance(opts *bind.TransactOpts, usr common.Address) (*types.Transaction, error)

DaiBalance is a paid mutator transaction binding the contract method 0xd7f7098f.

Solidity: function daiBalance(address usr) returns(uint256 wad)

func (*DSRMANAGERTransactor) Exit

func (_DSRMANAGER *DSRMANAGERTransactor) Exit(opts *bind.TransactOpts, dst common.Address, wad *big.Int) (*types.Transaction, error)

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

Solidity: function exit(address dst, uint256 wad) returns()

func (*DSRMANAGERTransactor) ExitAll

func (_DSRMANAGER *DSRMANAGERTransactor) ExitAll(opts *bind.TransactOpts, dst common.Address) (*types.Transaction, error)

ExitAll is a paid mutator transaction binding the contract method 0xeb0dff66.

Solidity: function exitAll(address dst) returns()

func (*DSRMANAGERTransactor) Join

func (_DSRMANAGER *DSRMANAGERTransactor) Join(opts *bind.TransactOpts, dst common.Address, wad *big.Int) (*types.Transaction, error)

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

Solidity: function join(address dst, uint256 wad) returns()

type DSRMANAGERTransactorRaw

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

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

func (*DSRMANAGERTransactorRaw) Transact

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

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

func (*DSRMANAGERTransactorRaw) Transfer

func (_DSRMANAGER *DSRMANAGERTransactorRaw) 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 DSRMANAGERTransactorSession

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

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

func (*DSRMANAGERTransactorSession) DaiBalance

func (_DSRMANAGER *DSRMANAGERTransactorSession) DaiBalance(usr common.Address) (*types.Transaction, error)

DaiBalance is a paid mutator transaction binding the contract method 0xd7f7098f.

Solidity: function daiBalance(address usr) returns(uint256 wad)

func (*DSRMANAGERTransactorSession) Exit

func (_DSRMANAGER *DSRMANAGERTransactorSession) Exit(dst common.Address, wad *big.Int) (*types.Transaction, error)

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

Solidity: function exit(address dst, uint256 wad) returns()

func (*DSRMANAGERTransactorSession) ExitAll

func (_DSRMANAGER *DSRMANAGERTransactorSession) ExitAll(dst common.Address) (*types.Transaction, error)

ExitAll is a paid mutator transaction binding the contract method 0xeb0dff66.

Solidity: function exitAll(address dst) returns()

func (*DSRMANAGERTransactorSession) Join

func (_DSRMANAGER *DSRMANAGERTransactorSession) Join(dst common.Address, wad *big.Int) (*types.Transaction, error)

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

Solidity: function join(address dst, uint256 wad) returns()

type Exit

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

func (*Exit) Descriptor deprecated

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

Deprecated: Use Exit.ProtoReflect.Descriptor instead.

func (*Exit) GetDst

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

func (*Exit) GetTs

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

func (*Exit) GetWad

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

func (*Exit) ProtoMessage

func (*Exit) ProtoMessage()

func (*Exit) ProtoReflect

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

func (*Exit) Reset

func (x *Exit) Reset()

func (*Exit) String

func (x *Exit) String() string

type Join

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

func (*Join) Descriptor deprecated

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

Deprecated: Use Join.ProtoReflect.Descriptor instead.

func (*Join) GetDst

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

func (*Join) GetTs

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

func (*Join) GetWad

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

func (*Join) ProtoMessage

func (*Join) ProtoMessage()

func (*Join) ProtoReflect

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

func (*Join) Reset

func (x *Join) Reset()

func (*Join) String

func (x *Join) 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