Documentation ¶
Index ¶
- Constants
- Variables
- type CDPMANAGER
- type CDPMANAGERCaller
- func (_CDPMANAGER *CDPMANAGERCaller) CdpCan(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int, arg2 common.Address) (*big.Int, error)
- func (_CDPMANAGER *CDPMANAGERCaller) Cdpi(opts *bind.CallOpts) (*big.Int, error)
- func (_CDPMANAGER *CDPMANAGERCaller) Count(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_CDPMANAGER *CDPMANAGERCaller) First(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_CDPMANAGER *CDPMANAGERCaller) Ilks(opts *bind.CallOpts, arg0 *big.Int) ([32]byte, error)
- func (_CDPMANAGER *CDPMANAGERCaller) Last(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_CDPMANAGER *CDPMANAGERCaller) List(opts *bind.CallOpts, arg0 *big.Int) (struct{ ... }, error)
- func (_CDPMANAGER *CDPMANAGERCaller) Owns(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)
- func (_CDPMANAGER *CDPMANAGERCaller) UrnCan(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_CDPMANAGER *CDPMANAGERCaller) Urns(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)
- func (_CDPMANAGER *CDPMANAGERCaller) Vat(opts *bind.CallOpts) (common.Address, error)
- type CDPMANAGERCallerRaw
- type CDPMANAGERCallerSession
- func (_CDPMANAGER *CDPMANAGERCallerSession) CdpCan(arg0 common.Address, arg1 *big.Int, arg2 common.Address) (*big.Int, error)
- func (_CDPMANAGER *CDPMANAGERCallerSession) Cdpi() (*big.Int, error)
- func (_CDPMANAGER *CDPMANAGERCallerSession) Count(arg0 common.Address) (*big.Int, error)
- func (_CDPMANAGER *CDPMANAGERCallerSession) First(arg0 common.Address) (*big.Int, error)
- func (_CDPMANAGER *CDPMANAGERCallerSession) Ilks(arg0 *big.Int) ([32]byte, error)
- func (_CDPMANAGER *CDPMANAGERCallerSession) Last(arg0 common.Address) (*big.Int, error)
- func (_CDPMANAGER *CDPMANAGERCallerSession) List(arg0 *big.Int) (struct{ ... }, error)
- func (_CDPMANAGER *CDPMANAGERCallerSession) Owns(arg0 *big.Int) (common.Address, error)
- func (_CDPMANAGER *CDPMANAGERCallerSession) UrnCan(arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_CDPMANAGER *CDPMANAGERCallerSession) Urns(arg0 *big.Int) (common.Address, error)
- func (_CDPMANAGER *CDPMANAGERCallerSession) Vat() (common.Address, error)
- type CDPMANAGERFilterer
- func (_CDPMANAGER *CDPMANAGERFilterer) FilterNewCdp(opts *bind.FilterOpts, usr []common.Address, own []common.Address, ...) (*CDPMANAGERNewCdpIterator, error)
- func (_CDPMANAGER *CDPMANAGERFilterer) ParseNewCdp(log types.Log) (*CDPMANAGERNewCdp, error)
- func (_CDPMANAGER *CDPMANAGERFilterer) WatchNewCdp(opts *bind.WatchOpts, sink chan<- *CDPMANAGERNewCdp, usr []common.Address, ...) (event.Subscription, error)
- type CDPMANAGERNewCdp
- type CDPMANAGERNewCdpIterator
- type CDPMANAGERRaw
- func (_CDPMANAGER *CDPMANAGERRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_CDPMANAGER *CDPMANAGERRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_CDPMANAGER *CDPMANAGERRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type CDPMANAGERSession
- func (_CDPMANAGER *CDPMANAGERSession) CdpAllow(cdp *big.Int, usr common.Address, ok *big.Int) (*types.Transaction, error)
- func (_CDPMANAGER *CDPMANAGERSession) CdpCan(arg0 common.Address, arg1 *big.Int, arg2 common.Address) (*big.Int, error)
- func (_CDPMANAGER *CDPMANAGERSession) Cdpi() (*big.Int, error)
- func (_CDPMANAGER *CDPMANAGERSession) Count(arg0 common.Address) (*big.Int, error)
- func (_CDPMANAGER *CDPMANAGERSession) Enter(src common.Address, cdp *big.Int) (*types.Transaction, error)
- func (_CDPMANAGER *CDPMANAGERSession) First(arg0 common.Address) (*big.Int, error)
- func (_CDPMANAGER *CDPMANAGERSession) Flux(ilk [32]byte, cdp *big.Int, dst common.Address, wad *big.Int) (*types.Transaction, error)
- func (_CDPMANAGER *CDPMANAGERSession) Flux0(cdp *big.Int, dst common.Address, wad *big.Int) (*types.Transaction, error)
- func (_CDPMANAGER *CDPMANAGERSession) Frob(cdp *big.Int, dink *big.Int, dart *big.Int) (*types.Transaction, error)
- func (_CDPMANAGER *CDPMANAGERSession) Give(cdp *big.Int, dst common.Address) (*types.Transaction, error)
- func (_CDPMANAGER *CDPMANAGERSession) Ilks(arg0 *big.Int) ([32]byte, error)
- func (_CDPMANAGER *CDPMANAGERSession) Last(arg0 common.Address) (*big.Int, error)
- func (_CDPMANAGER *CDPMANAGERSession) List(arg0 *big.Int) (struct{ ... }, error)
- func (_CDPMANAGER *CDPMANAGERSession) Move(cdp *big.Int, dst common.Address, rad *big.Int) (*types.Transaction, error)
- func (_CDPMANAGER *CDPMANAGERSession) Open(ilk [32]byte, usr common.Address) (*types.Transaction, error)
- func (_CDPMANAGER *CDPMANAGERSession) Owns(arg0 *big.Int) (common.Address, error)
- func (_CDPMANAGER *CDPMANAGERSession) Quit(cdp *big.Int, dst common.Address) (*types.Transaction, error)
- func (_CDPMANAGER *CDPMANAGERSession) Shift(cdpSrc *big.Int, cdpDst *big.Int) (*types.Transaction, error)
- func (_CDPMANAGER *CDPMANAGERSession) UrnAllow(usr common.Address, ok *big.Int) (*types.Transaction, error)
- func (_CDPMANAGER *CDPMANAGERSession) UrnCan(arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_CDPMANAGER *CDPMANAGERSession) Urns(arg0 *big.Int) (common.Address, error)
- func (_CDPMANAGER *CDPMANAGERSession) Vat() (common.Address, error)
- type CDPMANAGERTransactor
- func (_CDPMANAGER *CDPMANAGERTransactor) CdpAllow(opts *bind.TransactOpts, cdp *big.Int, usr common.Address, ok *big.Int) (*types.Transaction, error)
- func (_CDPMANAGER *CDPMANAGERTransactor) Enter(opts *bind.TransactOpts, src common.Address, cdp *big.Int) (*types.Transaction, error)
- func (_CDPMANAGER *CDPMANAGERTransactor) Flux(opts *bind.TransactOpts, ilk [32]byte, cdp *big.Int, dst common.Address, ...) (*types.Transaction, error)
- func (_CDPMANAGER *CDPMANAGERTransactor) Flux0(opts *bind.TransactOpts, cdp *big.Int, dst common.Address, wad *big.Int) (*types.Transaction, error)
- func (_CDPMANAGER *CDPMANAGERTransactor) Frob(opts *bind.TransactOpts, cdp *big.Int, dink *big.Int, dart *big.Int) (*types.Transaction, error)
- func (_CDPMANAGER *CDPMANAGERTransactor) Give(opts *bind.TransactOpts, cdp *big.Int, dst common.Address) (*types.Transaction, error)
- func (_CDPMANAGER *CDPMANAGERTransactor) Move(opts *bind.TransactOpts, cdp *big.Int, dst common.Address, rad *big.Int) (*types.Transaction, error)
- func (_CDPMANAGER *CDPMANAGERTransactor) Open(opts *bind.TransactOpts, ilk [32]byte, usr common.Address) (*types.Transaction, error)
- func (_CDPMANAGER *CDPMANAGERTransactor) Quit(opts *bind.TransactOpts, cdp *big.Int, dst common.Address) (*types.Transaction, error)
- func (_CDPMANAGER *CDPMANAGERTransactor) Shift(opts *bind.TransactOpts, cdpSrc *big.Int, cdpDst *big.Int) (*types.Transaction, error)
- func (_CDPMANAGER *CDPMANAGERTransactor) UrnAllow(opts *bind.TransactOpts, usr common.Address, ok *big.Int) (*types.Transaction, error)
- type CDPMANAGERTransactorRaw
- type CDPMANAGERTransactorSession
- func (_CDPMANAGER *CDPMANAGERTransactorSession) CdpAllow(cdp *big.Int, usr common.Address, ok *big.Int) (*types.Transaction, error)
- func (_CDPMANAGER *CDPMANAGERTransactorSession) Enter(src common.Address, cdp *big.Int) (*types.Transaction, error)
- func (_CDPMANAGER *CDPMANAGERTransactorSession) Flux(ilk [32]byte, cdp *big.Int, dst common.Address, wad *big.Int) (*types.Transaction, error)
- func (_CDPMANAGER *CDPMANAGERTransactorSession) Flux0(cdp *big.Int, dst common.Address, wad *big.Int) (*types.Transaction, error)
- func (_CDPMANAGER *CDPMANAGERTransactorSession) Frob(cdp *big.Int, dink *big.Int, dart *big.Int) (*types.Transaction, error)
- func (_CDPMANAGER *CDPMANAGERTransactorSession) Give(cdp *big.Int, dst common.Address) (*types.Transaction, error)
- func (_CDPMANAGER *CDPMANAGERTransactorSession) Move(cdp *big.Int, dst common.Address, rad *big.Int) (*types.Transaction, error)
- func (_CDPMANAGER *CDPMANAGERTransactorSession) Open(ilk [32]byte, usr common.Address) (*types.Transaction, error)
- func (_CDPMANAGER *CDPMANAGERTransactorSession) Quit(cdp *big.Int, dst common.Address) (*types.Transaction, error)
- func (_CDPMANAGER *CDPMANAGERTransactorSession) Shift(cdpSrc *big.Int, cdpDst *big.Int) (*types.Transaction, error)
- func (_CDPMANAGER *CDPMANAGERTransactorSession) UrnAllow(usr common.Address, ok *big.Int) (*types.Transaction, error)
- type LogNote
- func (*LogNote) Descriptor() ([]byte, []int)deprecated
- func (x *LogNote) GetArg1() []byte
- func (x *LogNote) GetArg2() []byte
- func (x *LogNote) GetData() []byte
- func (x *LogNote) GetSig() []byte
- func (x *LogNote) GetTs() *timestamppb.Timestamp
- func (x *LogNote) GetUsr() []byte
- func (*LogNote) ProtoMessage()
- func (x *LogNote) ProtoReflect() protoreflect.Message
- func (x *LogNote) Reset()
- func (x *LogNote) String() string
- type NewCdp
- func (*NewCdp) Descriptor() ([]byte, []int)deprecated
- func (x *NewCdp) GetCdp() []byte
- func (x *NewCdp) GetOwn() []byte
- func (x *NewCdp) GetTs() *timestamppb.Timestamp
- func (x *NewCdp) GetUsr() []byte
- func (*NewCdp) ProtoMessage()
- func (x *NewCdp) ProtoReflect() protoreflect.Message
- func (x *NewCdp) Reset()
- func (x *NewCdp) String() string
- type SmartContract
Constants ¶
const CDPMANAGERABI = "" /* 7642-byte string literal not displayed */
CDPMANAGERABI is the input ABI used to generate the binding from.
Variables ¶
var File_CdpManager_CdpManager_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CDPMANAGER ¶
type CDPMANAGER struct { CDPMANAGERCaller // Read-only binding to the contract CDPMANAGERTransactor // Write-only binding to the contract CDPMANAGERFilterer // Log filterer for contract events }
CDPMANAGER is an auto generated Go binding around an Ethereum contract.
func NewCDPMANAGER ¶
func NewCDPMANAGER(address common.Address, backend bind.ContractBackend) (*CDPMANAGER, error)
NewCDPMANAGER creates a new instance of CDPMANAGER, bound to a specific deployed contract.
type CDPMANAGERCaller ¶
type CDPMANAGERCaller struct {
// contains filtered or unexported fields
}
CDPMANAGERCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewCDPMANAGERCaller ¶
func NewCDPMANAGERCaller(address common.Address, caller bind.ContractCaller) (*CDPMANAGERCaller, error)
NewCDPMANAGERCaller creates a new read-only instance of CDPMANAGER, bound to a specific deployed contract.
func (*CDPMANAGERCaller) CdpCan ¶
func (_CDPMANAGER *CDPMANAGERCaller) CdpCan(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int, arg2 common.Address) (*big.Int, error)
CdpCan is a free data retrieval call binding the contract method 0x5aebb460.
Solidity: function cdpCan(address , uint256 , address ) view returns(uint256)
func (*CDPMANAGERCaller) Cdpi ¶
Cdpi is a free data retrieval call binding the contract method 0xb3d178f2.
Solidity: function cdpi() view returns(uint256)
func (*CDPMANAGERCaller) Count ¶
func (_CDPMANAGER *CDPMANAGERCaller) Count(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
Count is a free data retrieval call binding the contract method 0x05d85eda.
Solidity: function count(address ) view returns(uint256)
func (*CDPMANAGERCaller) First ¶
func (_CDPMANAGER *CDPMANAGERCaller) First(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
First is a free data retrieval call binding the contract method 0xfc73d771.
Solidity: function first(address ) view returns(uint256)
func (*CDPMANAGERCaller) Ilks ¶
Ilks is a free data retrieval call binding the contract method 0x2c2cb9fd.
Solidity: function ilks(uint256 ) view returns(bytes32)
func (*CDPMANAGERCaller) Last ¶
func (_CDPMANAGER *CDPMANAGERCaller) Last(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
Last is a free data retrieval call binding the contract method 0x9a816f7d.
Solidity: function last(address ) view returns(uint256)
func (*CDPMANAGERCaller) List ¶
func (_CDPMANAGER *CDPMANAGERCaller) List(opts *bind.CallOpts, arg0 *big.Int) (struct { Prev *big.Int Next *big.Int }, error)
List is a free data retrieval call binding the contract method 0x80c9419e.
Solidity: function list(uint256 ) view returns(uint256 prev, uint256 next)
func (*CDPMANAGERCaller) Owns ¶
func (_CDPMANAGER *CDPMANAGERCaller) 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)
func (*CDPMANAGERCaller) UrnCan ¶
func (_CDPMANAGER *CDPMANAGERCaller) UrnCan(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)
UrnCan is a free data retrieval call binding the contract method 0xb2b192e6.
Solidity: function urnCan(address , address ) view returns(uint256)
type CDPMANAGERCallerRaw ¶
type CDPMANAGERCallerRaw struct {
Contract *CDPMANAGERCaller // Generic read-only contract binding to access the raw methods on
}
CDPMANAGERCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*CDPMANAGERCallerRaw) Call ¶
func (_CDPMANAGER *CDPMANAGERCallerRaw) 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 CDPMANAGERCallerSession ¶
type CDPMANAGERCallerSession struct { Contract *CDPMANAGERCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
CDPMANAGERCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*CDPMANAGERCallerSession) CdpCan ¶
func (_CDPMANAGER *CDPMANAGERCallerSession) CdpCan(arg0 common.Address, arg1 *big.Int, arg2 common.Address) (*big.Int, error)
CdpCan is a free data retrieval call binding the contract method 0x5aebb460.
Solidity: function cdpCan(address , uint256 , address ) view returns(uint256)
func (*CDPMANAGERCallerSession) Cdpi ¶
func (_CDPMANAGER *CDPMANAGERCallerSession) Cdpi() (*big.Int, error)
Cdpi is a free data retrieval call binding the contract method 0xb3d178f2.
Solidity: function cdpi() view returns(uint256)
func (*CDPMANAGERCallerSession) Count ¶
Count is a free data retrieval call binding the contract method 0x05d85eda.
Solidity: function count(address ) view returns(uint256)
func (*CDPMANAGERCallerSession) First ¶
First is a free data retrieval call binding the contract method 0xfc73d771.
Solidity: function first(address ) view returns(uint256)
func (*CDPMANAGERCallerSession) Ilks ¶
func (_CDPMANAGER *CDPMANAGERCallerSession) 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 (*CDPMANAGERCallerSession) Last ¶
Last is a free data retrieval call binding the contract method 0x9a816f7d.
Solidity: function last(address ) view returns(uint256)
func (*CDPMANAGERCallerSession) List ¶
func (_CDPMANAGER *CDPMANAGERCallerSession) List(arg0 *big.Int) (struct { Prev *big.Int Next *big.Int }, error)
List is a free data retrieval call binding the contract method 0x80c9419e.
Solidity: function list(uint256 ) view returns(uint256 prev, uint256 next)
func (*CDPMANAGERCallerSession) Owns ¶
Owns is a free data retrieval call binding the contract method 0x8161b120.
Solidity: function owns(uint256 ) view returns(address)
func (*CDPMANAGERCallerSession) UrnCan ¶
func (_CDPMANAGER *CDPMANAGERCallerSession) UrnCan(arg0 common.Address, arg1 common.Address) (*big.Int, error)
UrnCan is a free data retrieval call binding the contract method 0xb2b192e6.
Solidity: function urnCan(address , address ) view returns(uint256)
type CDPMANAGERFilterer ¶
type CDPMANAGERFilterer struct {
// contains filtered or unexported fields
}
CDPMANAGERFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewCDPMANAGERFilterer ¶
func NewCDPMANAGERFilterer(address common.Address, filterer bind.ContractFilterer) (*CDPMANAGERFilterer, error)
NewCDPMANAGERFilterer creates a new log filterer instance of CDPMANAGER, bound to a specific deployed contract.
func (*CDPMANAGERFilterer) FilterNewCdp ¶
func (_CDPMANAGER *CDPMANAGERFilterer) FilterNewCdp(opts *bind.FilterOpts, usr []common.Address, own []common.Address, cdp []*big.Int) (*CDPMANAGERNewCdpIterator, error)
FilterNewCdp is a free log retrieval operation binding the contract event 0xd6be0bc178658a382ff4f91c8c68b542aa6b71685b8fe427966b87745c3ea7a2.
Solidity: event NewCdp(address indexed usr, address indexed own, uint256 indexed cdp)
func (*CDPMANAGERFilterer) ParseNewCdp ¶
func (_CDPMANAGER *CDPMANAGERFilterer) ParseNewCdp(log types.Log) (*CDPMANAGERNewCdp, error)
ParseNewCdp is a log parse operation binding the contract event 0xd6be0bc178658a382ff4f91c8c68b542aa6b71685b8fe427966b87745c3ea7a2.
Solidity: event NewCdp(address indexed usr, address indexed own, uint256 indexed cdp)
func (*CDPMANAGERFilterer) WatchNewCdp ¶
func (_CDPMANAGER *CDPMANAGERFilterer) WatchNewCdp(opts *bind.WatchOpts, sink chan<- *CDPMANAGERNewCdp, usr []common.Address, own []common.Address, cdp []*big.Int) (event.Subscription, error)
WatchNewCdp is a free log subscription operation binding the contract event 0xd6be0bc178658a382ff4f91c8c68b542aa6b71685b8fe427966b87745c3ea7a2.
Solidity: event NewCdp(address indexed usr, address indexed own, uint256 indexed cdp)
type CDPMANAGERNewCdp ¶
type CDPMANAGERNewCdp struct { Usr common.Address Own common.Address Cdp *big.Int Raw types.Log // Blockchain specific contextual infos }
CDPMANAGERNewCdp represents a NewCdp event raised by the CDPMANAGER contract.
type CDPMANAGERNewCdpIterator ¶
type CDPMANAGERNewCdpIterator struct { Event *CDPMANAGERNewCdp // Event containing the contract specifics and raw log // contains filtered or unexported fields }
CDPMANAGERNewCdpIterator is returned from FilterNewCdp and is used to iterate over the raw logs and unpacked data for NewCdp events raised by the CDPMANAGER contract.
func (*CDPMANAGERNewCdpIterator) Close ¶
func (it *CDPMANAGERNewCdpIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*CDPMANAGERNewCdpIterator) Error ¶
func (it *CDPMANAGERNewCdpIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*CDPMANAGERNewCdpIterator) Next ¶
func (it *CDPMANAGERNewCdpIterator) 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 CDPMANAGERRaw ¶
type CDPMANAGERRaw struct {
Contract *CDPMANAGER // Generic contract binding to access the raw methods on
}
CDPMANAGERRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*CDPMANAGERRaw) Call ¶
func (_CDPMANAGER *CDPMANAGERRaw) 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 (*CDPMANAGERRaw) Transact ¶
func (_CDPMANAGER *CDPMANAGERRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*CDPMANAGERRaw) Transfer ¶
func (_CDPMANAGER *CDPMANAGERRaw) 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 CDPMANAGERSession ¶
type CDPMANAGERSession struct { Contract *CDPMANAGER // 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 }
CDPMANAGERSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*CDPMANAGERSession) CdpAllow ¶
func (_CDPMANAGER *CDPMANAGERSession) CdpAllow(cdp *big.Int, usr common.Address, ok *big.Int) (*types.Transaction, error)
CdpAllow is a paid mutator transaction binding the contract method 0x0b63fb62.
Solidity: function cdpAllow(uint256 cdp, address usr, uint256 ok) returns()
func (*CDPMANAGERSession) CdpCan ¶
func (_CDPMANAGER *CDPMANAGERSession) CdpCan(arg0 common.Address, arg1 *big.Int, arg2 common.Address) (*big.Int, error)
CdpCan is a free data retrieval call binding the contract method 0x5aebb460.
Solidity: function cdpCan(address , uint256 , address ) view returns(uint256)
func (*CDPMANAGERSession) Cdpi ¶
func (_CDPMANAGER *CDPMANAGERSession) Cdpi() (*big.Int, error)
Cdpi is a free data retrieval call binding the contract method 0xb3d178f2.
Solidity: function cdpi() view returns(uint256)
func (*CDPMANAGERSession) Count ¶
Count is a free data retrieval call binding the contract method 0x05d85eda.
Solidity: function count(address ) view returns(uint256)
func (*CDPMANAGERSession) Enter ¶
func (_CDPMANAGER *CDPMANAGERSession) Enter(src common.Address, cdp *big.Int) (*types.Transaction, error)
Enter is a paid mutator transaction binding the contract method 0x7e348b7d.
Solidity: function enter(address src, uint256 cdp) returns()
func (*CDPMANAGERSession) First ¶
First is a free data retrieval call binding the contract method 0xfc73d771.
Solidity: function first(address ) view returns(uint256)
func (*CDPMANAGERSession) Flux ¶
func (_CDPMANAGER *CDPMANAGERSession) Flux(ilk [32]byte, cdp *big.Int, dst common.Address, wad *big.Int) (*types.Transaction, error)
Flux is a paid mutator transaction binding the contract method 0x18af4d60.
Solidity: function flux(bytes32 ilk, uint256 cdp, address dst, uint256 wad) returns()
func (*CDPMANAGERSession) Flux0 ¶
func (_CDPMANAGER *CDPMANAGERSession) Flux0(cdp *big.Int, dst common.Address, wad *big.Int) (*types.Transaction, error)
Flux0 is a paid mutator transaction binding the contract method 0x9bb8f838.
Solidity: function flux(uint256 cdp, address dst, uint256 wad) returns()
func (*CDPMANAGERSession) Frob ¶
func (_CDPMANAGER *CDPMANAGERSession) Frob(cdp *big.Int, dink *big.Int, dart *big.Int) (*types.Transaction, error)
Frob is a paid mutator transaction binding the contract method 0x45e6bdcd.
Solidity: function frob(uint256 cdp, int256 dink, int256 dart) returns()
func (*CDPMANAGERSession) Give ¶
func (_CDPMANAGER *CDPMANAGERSession) Give(cdp *big.Int, dst common.Address) (*types.Transaction, error)
Give is a paid mutator transaction binding the contract method 0xfcafcc68.
Solidity: function give(uint256 cdp, address dst) returns()
func (*CDPMANAGERSession) Ilks ¶
func (_CDPMANAGER *CDPMANAGERSession) 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 (*CDPMANAGERSession) Last ¶
Last is a free data retrieval call binding the contract method 0x9a816f7d.
Solidity: function last(address ) view returns(uint256)
func (*CDPMANAGERSession) List ¶
func (_CDPMANAGER *CDPMANAGERSession) List(arg0 *big.Int) (struct { Prev *big.Int Next *big.Int }, error)
List is a free data retrieval call binding the contract method 0x80c9419e.
Solidity: function list(uint256 ) view returns(uint256 prev, uint256 next)
func (*CDPMANAGERSession) Move ¶
func (_CDPMANAGER *CDPMANAGERSession) Move(cdp *big.Int, dst common.Address, rad *big.Int) (*types.Transaction, error)
Move is a paid mutator transaction binding the contract method 0xf9f30db6.
Solidity: function move(uint256 cdp, address dst, uint256 rad) returns()
func (*CDPMANAGERSession) Open ¶
func (_CDPMANAGER *CDPMANAGERSession) 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 (*CDPMANAGERSession) Owns ¶
Owns is a free data retrieval call binding the contract method 0x8161b120.
Solidity: function owns(uint256 ) view returns(address)
func (*CDPMANAGERSession) Quit ¶
func (_CDPMANAGER *CDPMANAGERSession) Quit(cdp *big.Int, dst common.Address) (*types.Transaction, error)
Quit is a paid mutator transaction binding the contract method 0x1b0dbf72.
Solidity: function quit(uint256 cdp, address dst) returns()
func (*CDPMANAGERSession) Shift ¶
func (_CDPMANAGER *CDPMANAGERSession) Shift(cdpSrc *big.Int, cdpDst *big.Int) (*types.Transaction, error)
Shift is a paid mutator transaction binding the contract method 0xe50322a2.
Solidity: function shift(uint256 cdpSrc, uint256 cdpDst) returns()
func (*CDPMANAGERSession) UrnAllow ¶
func (_CDPMANAGER *CDPMANAGERSession) UrnAllow(usr common.Address, ok *big.Int) (*types.Transaction, error)
UrnAllow is a paid mutator transaction binding the contract method 0xb68f4004.
Solidity: function urnAllow(address usr, uint256 ok) returns()
func (*CDPMANAGERSession) UrnCan ¶
func (_CDPMANAGER *CDPMANAGERSession) UrnCan(arg0 common.Address, arg1 common.Address) (*big.Int, error)
UrnCan is a free data retrieval call binding the contract method 0xb2b192e6.
Solidity: function urnCan(address , address ) view returns(uint256)
type CDPMANAGERTransactor ¶
type CDPMANAGERTransactor struct {
// contains filtered or unexported fields
}
CDPMANAGERTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewCDPMANAGERTransactor ¶
func NewCDPMANAGERTransactor(address common.Address, transactor bind.ContractTransactor) (*CDPMANAGERTransactor, error)
NewCDPMANAGERTransactor creates a new write-only instance of CDPMANAGER, bound to a specific deployed contract.
func (*CDPMANAGERTransactor) CdpAllow ¶
func (_CDPMANAGER *CDPMANAGERTransactor) CdpAllow(opts *bind.TransactOpts, cdp *big.Int, usr common.Address, ok *big.Int) (*types.Transaction, error)
CdpAllow is a paid mutator transaction binding the contract method 0x0b63fb62.
Solidity: function cdpAllow(uint256 cdp, address usr, uint256 ok) returns()
func (*CDPMANAGERTransactor) Enter ¶
func (_CDPMANAGER *CDPMANAGERTransactor) Enter(opts *bind.TransactOpts, src common.Address, cdp *big.Int) (*types.Transaction, error)
Enter is a paid mutator transaction binding the contract method 0x7e348b7d.
Solidity: function enter(address src, uint256 cdp) returns()
func (*CDPMANAGERTransactor) Flux ¶
func (_CDPMANAGER *CDPMANAGERTransactor) Flux(opts *bind.TransactOpts, ilk [32]byte, cdp *big.Int, dst common.Address, wad *big.Int) (*types.Transaction, error)
Flux is a paid mutator transaction binding the contract method 0x18af4d60.
Solidity: function flux(bytes32 ilk, uint256 cdp, address dst, uint256 wad) returns()
func (*CDPMANAGERTransactor) Flux0 ¶
func (_CDPMANAGER *CDPMANAGERTransactor) Flux0(opts *bind.TransactOpts, cdp *big.Int, dst common.Address, wad *big.Int) (*types.Transaction, error)
Flux0 is a paid mutator transaction binding the contract method 0x9bb8f838.
Solidity: function flux(uint256 cdp, address dst, uint256 wad) returns()
func (*CDPMANAGERTransactor) Frob ¶
func (_CDPMANAGER *CDPMANAGERTransactor) Frob(opts *bind.TransactOpts, cdp *big.Int, dink *big.Int, dart *big.Int) (*types.Transaction, error)
Frob is a paid mutator transaction binding the contract method 0x45e6bdcd.
Solidity: function frob(uint256 cdp, int256 dink, int256 dart) returns()
func (*CDPMANAGERTransactor) Give ¶
func (_CDPMANAGER *CDPMANAGERTransactor) Give(opts *bind.TransactOpts, cdp *big.Int, dst common.Address) (*types.Transaction, error)
Give is a paid mutator transaction binding the contract method 0xfcafcc68.
Solidity: function give(uint256 cdp, address dst) returns()
func (*CDPMANAGERTransactor) Move ¶
func (_CDPMANAGER *CDPMANAGERTransactor) Move(opts *bind.TransactOpts, cdp *big.Int, dst common.Address, rad *big.Int) (*types.Transaction, error)
Move is a paid mutator transaction binding the contract method 0xf9f30db6.
Solidity: function move(uint256 cdp, address dst, uint256 rad) returns()
func (*CDPMANAGERTransactor) Open ¶
func (_CDPMANAGER *CDPMANAGERTransactor) 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)
func (*CDPMANAGERTransactor) Quit ¶
func (_CDPMANAGER *CDPMANAGERTransactor) Quit(opts *bind.TransactOpts, cdp *big.Int, dst common.Address) (*types.Transaction, error)
Quit is a paid mutator transaction binding the contract method 0x1b0dbf72.
Solidity: function quit(uint256 cdp, address dst) returns()
func (*CDPMANAGERTransactor) Shift ¶
func (_CDPMANAGER *CDPMANAGERTransactor) Shift(opts *bind.TransactOpts, cdpSrc *big.Int, cdpDst *big.Int) (*types.Transaction, error)
Shift is a paid mutator transaction binding the contract method 0xe50322a2.
Solidity: function shift(uint256 cdpSrc, uint256 cdpDst) returns()
func (*CDPMANAGERTransactor) UrnAllow ¶
func (_CDPMANAGER *CDPMANAGERTransactor) UrnAllow(opts *bind.TransactOpts, usr common.Address, ok *big.Int) (*types.Transaction, error)
UrnAllow is a paid mutator transaction binding the contract method 0xb68f4004.
Solidity: function urnAllow(address usr, uint256 ok) returns()
type CDPMANAGERTransactorRaw ¶
type CDPMANAGERTransactorRaw struct {
Contract *CDPMANAGERTransactor // Generic write-only contract binding to access the raw methods on
}
CDPMANAGERTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*CDPMANAGERTransactorRaw) Transact ¶
func (_CDPMANAGER *CDPMANAGERTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*CDPMANAGERTransactorRaw) Transfer ¶
func (_CDPMANAGER *CDPMANAGERTransactorRaw) 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 CDPMANAGERTransactorSession ¶
type CDPMANAGERTransactorSession struct { Contract *CDPMANAGERTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
CDPMANAGERTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*CDPMANAGERTransactorSession) CdpAllow ¶
func (_CDPMANAGER *CDPMANAGERTransactorSession) CdpAllow(cdp *big.Int, usr common.Address, ok *big.Int) (*types.Transaction, error)
CdpAllow is a paid mutator transaction binding the contract method 0x0b63fb62.
Solidity: function cdpAllow(uint256 cdp, address usr, uint256 ok) returns()
func (*CDPMANAGERTransactorSession) Enter ¶
func (_CDPMANAGER *CDPMANAGERTransactorSession) Enter(src common.Address, cdp *big.Int) (*types.Transaction, error)
Enter is a paid mutator transaction binding the contract method 0x7e348b7d.
Solidity: function enter(address src, uint256 cdp) returns()
func (*CDPMANAGERTransactorSession) Flux ¶
func (_CDPMANAGER *CDPMANAGERTransactorSession) Flux(ilk [32]byte, cdp *big.Int, dst common.Address, wad *big.Int) (*types.Transaction, error)
Flux is a paid mutator transaction binding the contract method 0x18af4d60.
Solidity: function flux(bytes32 ilk, uint256 cdp, address dst, uint256 wad) returns()
func (*CDPMANAGERTransactorSession) Flux0 ¶
func (_CDPMANAGER *CDPMANAGERTransactorSession) Flux0(cdp *big.Int, dst common.Address, wad *big.Int) (*types.Transaction, error)
Flux0 is a paid mutator transaction binding the contract method 0x9bb8f838.
Solidity: function flux(uint256 cdp, address dst, uint256 wad) returns()
func (*CDPMANAGERTransactorSession) Frob ¶
func (_CDPMANAGER *CDPMANAGERTransactorSession) Frob(cdp *big.Int, dink *big.Int, dart *big.Int) (*types.Transaction, error)
Frob is a paid mutator transaction binding the contract method 0x45e6bdcd.
Solidity: function frob(uint256 cdp, int256 dink, int256 dart) returns()
func (*CDPMANAGERTransactorSession) Give ¶
func (_CDPMANAGER *CDPMANAGERTransactorSession) Give(cdp *big.Int, dst common.Address) (*types.Transaction, error)
Give is a paid mutator transaction binding the contract method 0xfcafcc68.
Solidity: function give(uint256 cdp, address dst) returns()
func (*CDPMANAGERTransactorSession) Move ¶
func (_CDPMANAGER *CDPMANAGERTransactorSession) Move(cdp *big.Int, dst common.Address, rad *big.Int) (*types.Transaction, error)
Move is a paid mutator transaction binding the contract method 0xf9f30db6.
Solidity: function move(uint256 cdp, address dst, uint256 rad) returns()
func (*CDPMANAGERTransactorSession) Open ¶
func (_CDPMANAGER *CDPMANAGERTransactorSession) 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 (*CDPMANAGERTransactorSession) Quit ¶
func (_CDPMANAGER *CDPMANAGERTransactorSession) Quit(cdp *big.Int, dst common.Address) (*types.Transaction, error)
Quit is a paid mutator transaction binding the contract method 0x1b0dbf72.
Solidity: function quit(uint256 cdp, address dst) returns()
func (*CDPMANAGERTransactorSession) Shift ¶
func (_CDPMANAGER *CDPMANAGERTransactorSession) Shift(cdpSrc *big.Int, cdpDst *big.Int) (*types.Transaction, error)
Shift is a paid mutator transaction binding the contract method 0xe50322a2.
Solidity: function shift(uint256 cdpSrc, uint256 cdpDst) returns()
func (*CDPMANAGERTransactorSession) UrnAllow ¶
func (_CDPMANAGER *CDPMANAGERTransactorSession) UrnAllow(usr common.Address, ok *big.Int) (*types.Transaction, error)
UrnAllow is a paid mutator transaction binding the contract method 0xb68f4004.
Solidity: function urnAllow(address usr, uint256 ok) returns()
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) GetTs ¶
func (x *LogNote) GetTs() *timestamppb.Timestamp
func (*LogNote) ProtoMessage ¶
func (*LogNote) ProtoMessage()
func (*LogNote) ProtoReflect ¶
func (x *LogNote) ProtoReflect() protoreflect.Message
type NewCdp ¶
type NewCdp 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 Own []byte `protobuf:"bytes,3,opt,name=Own,proto3" json:"Own,omitempty"` // address Cdp []byte `protobuf:"bytes,4,opt,name=Cdp,proto3" json:"Cdp,omitempty"` // uint256 // contains filtered or unexported fields }
func (*NewCdp) Descriptor
deprecated
func (*NewCdp) GetTs ¶
func (x *NewCdp) GetTs() *timestamppb.Timestamp
func (*NewCdp) ProtoMessage ¶
func (*NewCdp) ProtoMessage()
func (*NewCdp) ProtoReflect ¶
func (x *NewCdp) ProtoReflect() protoreflect.Message
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