Documentation ¶
Index ¶
- Constants
- type Hmaker
- type HmakerCaller
- type HmakerCallerRaw
- type HmakerCallerSession
- type HmakerFilterer
- type HmakerRaw
- func (_Hmaker *HmakerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Hmaker *HmakerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Hmaker *HmakerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type HmakerSession
- func (_Hmaker *HmakerSession) Draw(daiJoin common.Address, cdp *big.Int, wad *big.Int) (*types.Transaction, error)
- func (_Hmaker *HmakerSession) FreeETH(ethJoin common.Address, cdp *big.Int, wad *big.Int) (*types.Transaction, error)
- func (_Hmaker *HmakerSession) FreeGem(gemJoin common.Address, cdp *big.Int, wad *big.Int) (*types.Transaction, error)
- func (_Hmaker *HmakerSession) OpenLockETHAndDraw(value *big.Int, ethJoin common.Address, daiJoin common.Address, ilk [32]byte, ...) (*types.Transaction, error)
- func (_Hmaker *HmakerSession) OpenLockGemAndDraw(gemJoin common.Address, daiJoin common.Address, ilk [32]byte, wadC *big.Int, ...) (*types.Transaction, error)
- func (_Hmaker *HmakerSession) PostProcess() (*types.Transaction, error)
- func (_Hmaker *HmakerSession) SafeLockETH(value *big.Int, ethJoin common.Address, cdp *big.Int) (*types.Transaction, error)
- func (_Hmaker *HmakerSession) SafeLockGem(gemJoin common.Address, cdp *big.Int, wad *big.Int) (*types.Transaction, error)
- func (_Hmaker *HmakerSession) Wipe(daiJoin common.Address, cdp *big.Int, wad *big.Int) (*types.Transaction, error)
- func (_Hmaker *HmakerSession) WipeAll(daiJoin common.Address, cdp *big.Int) (*types.Transaction, error)
- type HmakerTransactor
- func (_Hmaker *HmakerTransactor) Draw(opts *bind.TransactOpts, daiJoin common.Address, cdp *big.Int, wad *big.Int) (*types.Transaction, error)
- func (_Hmaker *HmakerTransactor) FreeETH(opts *bind.TransactOpts, ethJoin common.Address, cdp *big.Int, wad *big.Int) (*types.Transaction, error)
- func (_Hmaker *HmakerTransactor) FreeGem(opts *bind.TransactOpts, gemJoin common.Address, cdp *big.Int, wad *big.Int) (*types.Transaction, error)
- func (_Hmaker *HmakerTransactor) OpenLockETHAndDraw(opts *bind.TransactOpts, value *big.Int, ethJoin common.Address, ...) (*types.Transaction, error)
- func (_Hmaker *HmakerTransactor) OpenLockGemAndDraw(opts *bind.TransactOpts, gemJoin common.Address, daiJoin common.Address, ...) (*types.Transaction, error)
- func (_Hmaker *HmakerTransactor) PostProcess(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Hmaker *HmakerTransactor) SafeLockETH(opts *bind.TransactOpts, value *big.Int, ethJoin common.Address, cdp *big.Int) (*types.Transaction, error)
- func (_Hmaker *HmakerTransactor) SafeLockGem(opts *bind.TransactOpts, gemJoin common.Address, cdp *big.Int, wad *big.Int) (*types.Transaction, error)
- func (_Hmaker *HmakerTransactor) Wipe(opts *bind.TransactOpts, daiJoin common.Address, cdp *big.Int, wad *big.Int) (*types.Transaction, error)
- func (_Hmaker *HmakerTransactor) WipeAll(opts *bind.TransactOpts, daiJoin common.Address, cdp *big.Int) (*types.Transaction, error)
- type HmakerTransactorRaw
- type HmakerTransactorSession
- func (_Hmaker *HmakerTransactorSession) Draw(daiJoin common.Address, cdp *big.Int, wad *big.Int) (*types.Transaction, error)
- func (_Hmaker *HmakerTransactorSession) FreeETH(ethJoin common.Address, cdp *big.Int, wad *big.Int) (*types.Transaction, error)
- func (_Hmaker *HmakerTransactorSession) FreeGem(gemJoin common.Address, cdp *big.Int, wad *big.Int) (*types.Transaction, error)
- func (_Hmaker *HmakerTransactorSession) OpenLockETHAndDraw(value *big.Int, ethJoin common.Address, daiJoin common.Address, ilk [32]byte, ...) (*types.Transaction, error)
- func (_Hmaker *HmakerTransactorSession) OpenLockGemAndDraw(gemJoin common.Address, daiJoin common.Address, ilk [32]byte, wadC *big.Int, ...) (*types.Transaction, error)
- func (_Hmaker *HmakerTransactorSession) PostProcess() (*types.Transaction, error)
- func (_Hmaker *HmakerTransactorSession) SafeLockETH(value *big.Int, ethJoin common.Address, cdp *big.Int) (*types.Transaction, error)
- func (_Hmaker *HmakerTransactorSession) SafeLockGem(gemJoin common.Address, cdp *big.Int, wad *big.Int) (*types.Transaction, error)
- func (_Hmaker *HmakerTransactorSession) Wipe(daiJoin common.Address, cdp *big.Int, wad *big.Int) (*types.Transaction, error)
- func (_Hmaker *HmakerTransactorSession) WipeAll(daiJoin common.Address, cdp *big.Int) (*types.Transaction, error)
Constants ¶
const HmakerABI = "" /* 3697-byte string literal not displayed */
HmakerABI is the input ABI used to generate the binding from.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Hmaker ¶
type Hmaker struct { HmakerCaller // Read-only binding to the contract HmakerTransactor // Write-only binding to the contract HmakerFilterer // Log filterer for contract events }
Hmaker is an auto generated Go binding around an Ethereum contract.
type HmakerCaller ¶
type HmakerCaller struct {
// contains filtered or unexported fields
}
HmakerCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewHmakerCaller ¶
func NewHmakerCaller(address common.Address, caller bind.ContractCaller) (*HmakerCaller, error)
NewHmakerCaller creates a new read-only instance of Hmaker, bound to a specific deployed contract.
type HmakerCallerRaw ¶
type HmakerCallerRaw struct {
Contract *HmakerCaller // Generic read-only contract binding to access the raw methods on
}
HmakerCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*HmakerCallerRaw) Call ¶
func (_Hmaker *HmakerCallerRaw) 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 HmakerCallerSession ¶
type HmakerCallerSession struct { Contract *HmakerCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
HmakerCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type HmakerFilterer ¶
type HmakerFilterer struct {
// contains filtered or unexported fields
}
HmakerFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewHmakerFilterer ¶
func NewHmakerFilterer(address common.Address, filterer bind.ContractFilterer) (*HmakerFilterer, error)
NewHmakerFilterer creates a new log filterer instance of Hmaker, bound to a specific deployed contract.
type HmakerRaw ¶
type HmakerRaw struct {
Contract *Hmaker // Generic contract binding to access the raw methods on
}
HmakerRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*HmakerRaw) Call ¶
func (_Hmaker *HmakerRaw) 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 (*HmakerRaw) Transact ¶
func (_Hmaker *HmakerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*HmakerRaw) Transfer ¶
func (_Hmaker *HmakerRaw) 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 HmakerSession ¶
type HmakerSession struct { Contract *Hmaker // 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 }
HmakerSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*HmakerSession) Draw ¶
func (_Hmaker *HmakerSession) Draw(daiJoin common.Address, cdp *big.Int, wad *big.Int) (*types.Transaction, error)
Draw is a paid mutator transaction binding the contract method 0xf07ab7be.
Solidity: function draw(address daiJoin, uint256 cdp, uint256 wad) payable returns()
func (*HmakerSession) FreeETH ¶
func (_Hmaker *HmakerSession) FreeETH(ethJoin common.Address, cdp *big.Int, wad *big.Int) (*types.Transaction, error)
FreeETH is a paid mutator transaction binding the contract method 0x2537e4b5.
Solidity: function freeETH(address ethJoin, uint256 cdp, uint256 wad) payable returns()
func (*HmakerSession) FreeGem ¶
func (_Hmaker *HmakerSession) FreeGem(gemJoin common.Address, cdp *big.Int, wad *big.Int) (*types.Transaction, error)
FreeGem is a paid mutator transaction binding the contract method 0x7031b517.
Solidity: function freeGem(address gemJoin, uint256 cdp, uint256 wad) payable returns()
func (*HmakerSession) OpenLockETHAndDraw ¶
func (_Hmaker *HmakerSession) OpenLockETHAndDraw(value *big.Int, ethJoin common.Address, daiJoin common.Address, ilk [32]byte, wadD *big.Int) (*types.Transaction, error)
OpenLockETHAndDraw is a paid mutator transaction binding the contract method 0x5481e4a4.
Solidity: function openLockETHAndDraw(uint256 value, address ethJoin, address daiJoin, bytes32 ilk, uint256 wadD) payable returns(uint256 cdp)
func (*HmakerSession) OpenLockGemAndDraw ¶
func (_Hmaker *HmakerSession) OpenLockGemAndDraw(gemJoin common.Address, daiJoin common.Address, ilk [32]byte, wadC *big.Int, wadD *big.Int) (*types.Transaction, error)
OpenLockGemAndDraw is a paid mutator transaction binding the contract method 0x73af24e7.
Solidity: function openLockGemAndDraw(address gemJoin, address daiJoin, bytes32 ilk, uint256 wadC, uint256 wadD) payable returns(uint256 cdp)
func (*HmakerSession) PostProcess ¶
func (_Hmaker *HmakerSession) PostProcess() (*types.Transaction, error)
PostProcess is a paid mutator transaction binding the contract method 0xc2722916.
Solidity: function postProcess() payable returns()
func (*HmakerSession) SafeLockETH ¶
func (_Hmaker *HmakerSession) SafeLockETH(value *big.Int, ethJoin common.Address, cdp *big.Int) (*types.Transaction, error)
SafeLockETH is a paid mutator transaction binding the contract method 0xf6596590.
Solidity: function safeLockETH(uint256 value, address ethJoin, uint256 cdp) payable returns()
func (*HmakerSession) SafeLockGem ¶
func (_Hmaker *HmakerSession) SafeLockGem(gemJoin common.Address, cdp *big.Int, wad *big.Int) (*types.Transaction, error)
SafeLockGem is a paid mutator transaction binding the contract method 0x63d070a5.
Solidity: function safeLockGem(address gemJoin, uint256 cdp, uint256 wad) payable returns()
func (*HmakerSession) Wipe ¶
func (_Hmaker *HmakerSession) Wipe(daiJoin common.Address, cdp *big.Int, wad *big.Int) (*types.Transaction, error)
Wipe is a paid mutator transaction binding the contract method 0xc3b6cb4b.
Solidity: function wipe(address daiJoin, uint256 cdp, uint256 wad) payable returns()
func (*HmakerSession) WipeAll ¶
func (_Hmaker *HmakerSession) WipeAll(daiJoin common.Address, cdp *big.Int) (*types.Transaction, error)
WipeAll is a paid mutator transaction binding the contract method 0x6ddb4566.
Solidity: function wipeAll(address daiJoin, uint256 cdp) payable returns()
type HmakerTransactor ¶
type HmakerTransactor struct {
// contains filtered or unexported fields
}
HmakerTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewHmakerTransactor ¶
func NewHmakerTransactor(address common.Address, transactor bind.ContractTransactor) (*HmakerTransactor, error)
NewHmakerTransactor creates a new write-only instance of Hmaker, bound to a specific deployed contract.
func (*HmakerTransactor) Draw ¶
func (_Hmaker *HmakerTransactor) Draw(opts *bind.TransactOpts, daiJoin common.Address, cdp *big.Int, wad *big.Int) (*types.Transaction, error)
Draw is a paid mutator transaction binding the contract method 0xf07ab7be.
Solidity: function draw(address daiJoin, uint256 cdp, uint256 wad) payable returns()
func (*HmakerTransactor) FreeETH ¶
func (_Hmaker *HmakerTransactor) FreeETH(opts *bind.TransactOpts, ethJoin common.Address, cdp *big.Int, wad *big.Int) (*types.Transaction, error)
FreeETH is a paid mutator transaction binding the contract method 0x2537e4b5.
Solidity: function freeETH(address ethJoin, uint256 cdp, uint256 wad) payable returns()
func (*HmakerTransactor) FreeGem ¶
func (_Hmaker *HmakerTransactor) FreeGem(opts *bind.TransactOpts, gemJoin common.Address, cdp *big.Int, wad *big.Int) (*types.Transaction, error)
FreeGem is a paid mutator transaction binding the contract method 0x7031b517.
Solidity: function freeGem(address gemJoin, uint256 cdp, uint256 wad) payable returns()
func (*HmakerTransactor) OpenLockETHAndDraw ¶
func (_Hmaker *HmakerTransactor) OpenLockETHAndDraw(opts *bind.TransactOpts, value *big.Int, ethJoin common.Address, daiJoin common.Address, ilk [32]byte, wadD *big.Int) (*types.Transaction, error)
OpenLockETHAndDraw is a paid mutator transaction binding the contract method 0x5481e4a4.
Solidity: function openLockETHAndDraw(uint256 value, address ethJoin, address daiJoin, bytes32 ilk, uint256 wadD) payable returns(uint256 cdp)
func (*HmakerTransactor) OpenLockGemAndDraw ¶
func (_Hmaker *HmakerTransactor) OpenLockGemAndDraw(opts *bind.TransactOpts, gemJoin common.Address, daiJoin common.Address, ilk [32]byte, wadC *big.Int, wadD *big.Int) (*types.Transaction, error)
OpenLockGemAndDraw is a paid mutator transaction binding the contract method 0x73af24e7.
Solidity: function openLockGemAndDraw(address gemJoin, address daiJoin, bytes32 ilk, uint256 wadC, uint256 wadD) payable returns(uint256 cdp)
func (*HmakerTransactor) PostProcess ¶
func (_Hmaker *HmakerTransactor) PostProcess(opts *bind.TransactOpts) (*types.Transaction, error)
PostProcess is a paid mutator transaction binding the contract method 0xc2722916.
Solidity: function postProcess() payable returns()
func (*HmakerTransactor) SafeLockETH ¶
func (_Hmaker *HmakerTransactor) SafeLockETH(opts *bind.TransactOpts, value *big.Int, ethJoin common.Address, cdp *big.Int) (*types.Transaction, error)
SafeLockETH is a paid mutator transaction binding the contract method 0xf6596590.
Solidity: function safeLockETH(uint256 value, address ethJoin, uint256 cdp) payable returns()
func (*HmakerTransactor) SafeLockGem ¶
func (_Hmaker *HmakerTransactor) SafeLockGem(opts *bind.TransactOpts, gemJoin common.Address, cdp *big.Int, wad *big.Int) (*types.Transaction, error)
SafeLockGem is a paid mutator transaction binding the contract method 0x63d070a5.
Solidity: function safeLockGem(address gemJoin, uint256 cdp, uint256 wad) payable returns()
func (*HmakerTransactor) Wipe ¶
func (_Hmaker *HmakerTransactor) Wipe(opts *bind.TransactOpts, daiJoin common.Address, cdp *big.Int, wad *big.Int) (*types.Transaction, error)
Wipe is a paid mutator transaction binding the contract method 0xc3b6cb4b.
Solidity: function wipe(address daiJoin, uint256 cdp, uint256 wad) payable returns()
func (*HmakerTransactor) WipeAll ¶
func (_Hmaker *HmakerTransactor) WipeAll(opts *bind.TransactOpts, daiJoin common.Address, cdp *big.Int) (*types.Transaction, error)
WipeAll is a paid mutator transaction binding the contract method 0x6ddb4566.
Solidity: function wipeAll(address daiJoin, uint256 cdp) payable returns()
type HmakerTransactorRaw ¶
type HmakerTransactorRaw struct {
Contract *HmakerTransactor // Generic write-only contract binding to access the raw methods on
}
HmakerTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*HmakerTransactorRaw) Transact ¶
func (_Hmaker *HmakerTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*HmakerTransactorRaw) Transfer ¶
func (_Hmaker *HmakerTransactorRaw) 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 HmakerTransactorSession ¶
type HmakerTransactorSession struct { Contract *HmakerTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
HmakerTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*HmakerTransactorSession) Draw ¶
func (_Hmaker *HmakerTransactorSession) Draw(daiJoin common.Address, cdp *big.Int, wad *big.Int) (*types.Transaction, error)
Draw is a paid mutator transaction binding the contract method 0xf07ab7be.
Solidity: function draw(address daiJoin, uint256 cdp, uint256 wad) payable returns()
func (*HmakerTransactorSession) FreeETH ¶
func (_Hmaker *HmakerTransactorSession) FreeETH(ethJoin common.Address, cdp *big.Int, wad *big.Int) (*types.Transaction, error)
FreeETH is a paid mutator transaction binding the contract method 0x2537e4b5.
Solidity: function freeETH(address ethJoin, uint256 cdp, uint256 wad) payable returns()
func (*HmakerTransactorSession) FreeGem ¶
func (_Hmaker *HmakerTransactorSession) FreeGem(gemJoin common.Address, cdp *big.Int, wad *big.Int) (*types.Transaction, error)
FreeGem is a paid mutator transaction binding the contract method 0x7031b517.
Solidity: function freeGem(address gemJoin, uint256 cdp, uint256 wad) payable returns()
func (*HmakerTransactorSession) OpenLockETHAndDraw ¶
func (_Hmaker *HmakerTransactorSession) OpenLockETHAndDraw(value *big.Int, ethJoin common.Address, daiJoin common.Address, ilk [32]byte, wadD *big.Int) (*types.Transaction, error)
OpenLockETHAndDraw is a paid mutator transaction binding the contract method 0x5481e4a4.
Solidity: function openLockETHAndDraw(uint256 value, address ethJoin, address daiJoin, bytes32 ilk, uint256 wadD) payable returns(uint256 cdp)
func (*HmakerTransactorSession) OpenLockGemAndDraw ¶
func (_Hmaker *HmakerTransactorSession) OpenLockGemAndDraw(gemJoin common.Address, daiJoin common.Address, ilk [32]byte, wadC *big.Int, wadD *big.Int) (*types.Transaction, error)
OpenLockGemAndDraw is a paid mutator transaction binding the contract method 0x73af24e7.
Solidity: function openLockGemAndDraw(address gemJoin, address daiJoin, bytes32 ilk, uint256 wadC, uint256 wadD) payable returns(uint256 cdp)
func (*HmakerTransactorSession) PostProcess ¶
func (_Hmaker *HmakerTransactorSession) PostProcess() (*types.Transaction, error)
PostProcess is a paid mutator transaction binding the contract method 0xc2722916.
Solidity: function postProcess() payable returns()
func (*HmakerTransactorSession) SafeLockETH ¶
func (_Hmaker *HmakerTransactorSession) SafeLockETH(value *big.Int, ethJoin common.Address, cdp *big.Int) (*types.Transaction, error)
SafeLockETH is a paid mutator transaction binding the contract method 0xf6596590.
Solidity: function safeLockETH(uint256 value, address ethJoin, uint256 cdp) payable returns()
func (*HmakerTransactorSession) SafeLockGem ¶
func (_Hmaker *HmakerTransactorSession) SafeLockGem(gemJoin common.Address, cdp *big.Int, wad *big.Int) (*types.Transaction, error)
SafeLockGem is a paid mutator transaction binding the contract method 0x63d070a5.
Solidity: function safeLockGem(address gemJoin, uint256 cdp, uint256 wad) payable returns()
func (*HmakerTransactorSession) Wipe ¶
func (_Hmaker *HmakerTransactorSession) Wipe(daiJoin common.Address, cdp *big.Int, wad *big.Int) (*types.Transaction, error)
Wipe is a paid mutator transaction binding the contract method 0xc3b6cb4b.
Solidity: function wipe(address daiJoin, uint256 cdp, uint256 wad) payable returns()
func (*HmakerTransactorSession) WipeAll ¶
func (_Hmaker *HmakerTransactorSession) WipeAll(daiJoin common.Address, cdp *big.Int) (*types.Transaction, error)
WipeAll is a paid mutator transaction binding the contract method 0x6ddb4566.
Solidity: function wipeAll(address daiJoin, uint256 cdp) payable returns()