Documentation ¶
Index ¶
- Constants
- type Vatcontract
- type VatcontractCaller
- func (_Vatcontract *VatcontractCaller) Can(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_Vatcontract *VatcontractCaller) Dai(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_Vatcontract *VatcontractCaller) Debt(opts *bind.CallOpts) (*big.Int, error)
- func (_Vatcontract *VatcontractCaller) Gem(opts *bind.CallOpts, arg0 [32]byte, arg1 common.Address) (*big.Int, error)
- func (_Vatcontract *VatcontractCaller) Ilks(opts *bind.CallOpts, arg0 [32]byte) (struct{ ... }, error)
- func (_Vatcontract *VatcontractCaller) Line(opts *bind.CallOpts) (*big.Int, error)
- func (_Vatcontract *VatcontractCaller) Live(opts *bind.CallOpts) (*big.Int, error)
- func (_Vatcontract *VatcontractCaller) Sin(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_Vatcontract *VatcontractCaller) Urns(opts *bind.CallOpts, arg0 [32]byte, arg1 common.Address) (struct{ ... }, error)
- func (_Vatcontract *VatcontractCaller) Vice(opts *bind.CallOpts) (*big.Int, error)
- func (_Vatcontract *VatcontractCaller) Wards(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- type VatcontractCallerRaw
- type VatcontractCallerSession
- func (_Vatcontract *VatcontractCallerSession) Can(arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_Vatcontract *VatcontractCallerSession) Dai(arg0 common.Address) (*big.Int, error)
- func (_Vatcontract *VatcontractCallerSession) Debt() (*big.Int, error)
- func (_Vatcontract *VatcontractCallerSession) Gem(arg0 [32]byte, arg1 common.Address) (*big.Int, error)
- func (_Vatcontract *VatcontractCallerSession) Ilks(arg0 [32]byte) (struct{ ... }, error)
- func (_Vatcontract *VatcontractCallerSession) Line() (*big.Int, error)
- func (_Vatcontract *VatcontractCallerSession) Live() (*big.Int, error)
- func (_Vatcontract *VatcontractCallerSession) Sin(arg0 common.Address) (*big.Int, error)
- func (_Vatcontract *VatcontractCallerSession) Urns(arg0 [32]byte, arg1 common.Address) (struct{ ... }, error)
- func (_Vatcontract *VatcontractCallerSession) Vice() (*big.Int, error)
- func (_Vatcontract *VatcontractCallerSession) Wards(arg0 common.Address) (*big.Int, error)
- type VatcontractFilterer
- type VatcontractRaw
- func (_Vatcontract *VatcontractRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Vatcontract *VatcontractRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Vatcontract *VatcontractRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type VatcontractSession
- func (_Vatcontract *VatcontractSession) Cage() (*types.Transaction, error)
- func (_Vatcontract *VatcontractSession) Can(arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_Vatcontract *VatcontractSession) Dai(arg0 common.Address) (*big.Int, error)
- func (_Vatcontract *VatcontractSession) Debt() (*big.Int, error)
- func (_Vatcontract *VatcontractSession) Deny(usr common.Address) (*types.Transaction, error)
- func (_Vatcontract *VatcontractSession) File(ilk [32]byte, what [32]byte, data *big.Int) (*types.Transaction, error)
- func (_Vatcontract *VatcontractSession) File0(what [32]byte, data *big.Int) (*types.Transaction, error)
- func (_Vatcontract *VatcontractSession) Flux(ilk [32]byte, src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)
- func (_Vatcontract *VatcontractSession) Fold(i [32]byte, u common.Address, rate *big.Int) (*types.Transaction, error)
- func (_Vatcontract *VatcontractSession) Fork(ilk [32]byte, src common.Address, dst common.Address, dink *big.Int, ...) (*types.Transaction, error)
- func (_Vatcontract *VatcontractSession) Frob(i [32]byte, u common.Address, v common.Address, w common.Address, ...) (*types.Transaction, error)
- func (_Vatcontract *VatcontractSession) Gem(arg0 [32]byte, arg1 common.Address) (*big.Int, error)
- func (_Vatcontract *VatcontractSession) Grab(i [32]byte, u common.Address, v common.Address, w common.Address, ...) (*types.Transaction, error)
- func (_Vatcontract *VatcontractSession) Heal(rad *big.Int) (*types.Transaction, error)
- func (_Vatcontract *VatcontractSession) Hope(usr common.Address) (*types.Transaction, error)
- func (_Vatcontract *VatcontractSession) Ilks(arg0 [32]byte) (struct{ ... }, error)
- func (_Vatcontract *VatcontractSession) Init(ilk [32]byte) (*types.Transaction, error)
- func (_Vatcontract *VatcontractSession) Line() (*big.Int, error)
- func (_Vatcontract *VatcontractSession) Live() (*big.Int, error)
- func (_Vatcontract *VatcontractSession) Move(src common.Address, dst common.Address, rad *big.Int) (*types.Transaction, error)
- func (_Vatcontract *VatcontractSession) Nope(usr common.Address) (*types.Transaction, error)
- func (_Vatcontract *VatcontractSession) Rely(usr common.Address) (*types.Transaction, error)
- func (_Vatcontract *VatcontractSession) Sin(arg0 common.Address) (*big.Int, error)
- func (_Vatcontract *VatcontractSession) Slip(ilk [32]byte, usr common.Address, wad *big.Int) (*types.Transaction, error)
- func (_Vatcontract *VatcontractSession) Suck(u common.Address, v common.Address, rad *big.Int) (*types.Transaction, error)
- func (_Vatcontract *VatcontractSession) Urns(arg0 [32]byte, arg1 common.Address) (struct{ ... }, error)
- func (_Vatcontract *VatcontractSession) Vice() (*big.Int, error)
- func (_Vatcontract *VatcontractSession) Wards(arg0 common.Address) (*big.Int, error)
- type VatcontractTransactor
- func (_Vatcontract *VatcontractTransactor) Cage(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Vatcontract *VatcontractTransactor) Deny(opts *bind.TransactOpts, usr common.Address) (*types.Transaction, error)
- func (_Vatcontract *VatcontractTransactor) File(opts *bind.TransactOpts, ilk [32]byte, what [32]byte, data *big.Int) (*types.Transaction, error)
- func (_Vatcontract *VatcontractTransactor) File0(opts *bind.TransactOpts, what [32]byte, data *big.Int) (*types.Transaction, error)
- func (_Vatcontract *VatcontractTransactor) Flux(opts *bind.TransactOpts, ilk [32]byte, src common.Address, dst common.Address, ...) (*types.Transaction, error)
- func (_Vatcontract *VatcontractTransactor) Fold(opts *bind.TransactOpts, i [32]byte, u common.Address, rate *big.Int) (*types.Transaction, error)
- func (_Vatcontract *VatcontractTransactor) Fork(opts *bind.TransactOpts, ilk [32]byte, src common.Address, dst common.Address, ...) (*types.Transaction, error)
- func (_Vatcontract *VatcontractTransactor) Frob(opts *bind.TransactOpts, i [32]byte, u common.Address, v common.Address, ...) (*types.Transaction, error)
- func (_Vatcontract *VatcontractTransactor) Grab(opts *bind.TransactOpts, i [32]byte, u common.Address, v common.Address, ...) (*types.Transaction, error)
- func (_Vatcontract *VatcontractTransactor) Heal(opts *bind.TransactOpts, rad *big.Int) (*types.Transaction, error)
- func (_Vatcontract *VatcontractTransactor) Hope(opts *bind.TransactOpts, usr common.Address) (*types.Transaction, error)
- func (_Vatcontract *VatcontractTransactor) Init(opts *bind.TransactOpts, ilk [32]byte) (*types.Transaction, error)
- func (_Vatcontract *VatcontractTransactor) Move(opts *bind.TransactOpts, src common.Address, dst common.Address, rad *big.Int) (*types.Transaction, error)
- func (_Vatcontract *VatcontractTransactor) Nope(opts *bind.TransactOpts, usr common.Address) (*types.Transaction, error)
- func (_Vatcontract *VatcontractTransactor) Rely(opts *bind.TransactOpts, usr common.Address) (*types.Transaction, error)
- func (_Vatcontract *VatcontractTransactor) Slip(opts *bind.TransactOpts, ilk [32]byte, usr common.Address, wad *big.Int) (*types.Transaction, error)
- func (_Vatcontract *VatcontractTransactor) Suck(opts *bind.TransactOpts, u common.Address, v common.Address, rad *big.Int) (*types.Transaction, error)
- type VatcontractTransactorRaw
- type VatcontractTransactorSession
- func (_Vatcontract *VatcontractTransactorSession) Cage() (*types.Transaction, error)
- func (_Vatcontract *VatcontractTransactorSession) Deny(usr common.Address) (*types.Transaction, error)
- func (_Vatcontract *VatcontractTransactorSession) File(ilk [32]byte, what [32]byte, data *big.Int) (*types.Transaction, error)
- func (_Vatcontract *VatcontractTransactorSession) File0(what [32]byte, data *big.Int) (*types.Transaction, error)
- func (_Vatcontract *VatcontractTransactorSession) Flux(ilk [32]byte, src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)
- func (_Vatcontract *VatcontractTransactorSession) Fold(i [32]byte, u common.Address, rate *big.Int) (*types.Transaction, error)
- func (_Vatcontract *VatcontractTransactorSession) Fork(ilk [32]byte, src common.Address, dst common.Address, dink *big.Int, ...) (*types.Transaction, error)
- func (_Vatcontract *VatcontractTransactorSession) Frob(i [32]byte, u common.Address, v common.Address, w common.Address, ...) (*types.Transaction, error)
- func (_Vatcontract *VatcontractTransactorSession) Grab(i [32]byte, u common.Address, v common.Address, w common.Address, ...) (*types.Transaction, error)
- func (_Vatcontract *VatcontractTransactorSession) Heal(rad *big.Int) (*types.Transaction, error)
- func (_Vatcontract *VatcontractTransactorSession) Hope(usr common.Address) (*types.Transaction, error)
- func (_Vatcontract *VatcontractTransactorSession) Init(ilk [32]byte) (*types.Transaction, error)
- func (_Vatcontract *VatcontractTransactorSession) Move(src common.Address, dst common.Address, rad *big.Int) (*types.Transaction, error)
- func (_Vatcontract *VatcontractTransactorSession) Nope(usr common.Address) (*types.Transaction, error)
- func (_Vatcontract *VatcontractTransactorSession) Rely(usr common.Address) (*types.Transaction, error)
- func (_Vatcontract *VatcontractTransactorSession) Slip(ilk [32]byte, usr common.Address, wad *big.Int) (*types.Transaction, error)
- func (_Vatcontract *VatcontractTransactorSession) Suck(u common.Address, v common.Address, rad *big.Int) (*types.Transaction, error)
Constants ¶
const VatcontractABI = "" /* 9236-byte string literal not displayed */
VatcontractABI is the input ABI used to generate the binding from.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Vatcontract ¶
type Vatcontract struct { VatcontractCaller // Read-only binding to the contract VatcontractTransactor // Write-only binding to the contract VatcontractFilterer // Log filterer for contract events }
Vatcontract is an auto generated Go binding around an Ethereum contract.
func NewVatcontract ¶
func NewVatcontract(address common.Address, backend bind.ContractBackend) (*Vatcontract, error)
NewVatcontract creates a new instance of Vatcontract, bound to a specific deployed contract.
type VatcontractCaller ¶
type VatcontractCaller struct {
// contains filtered or unexported fields
}
VatcontractCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewVatcontractCaller ¶
func NewVatcontractCaller(address common.Address, caller bind.ContractCaller) (*VatcontractCaller, error)
NewVatcontractCaller creates a new read-only instance of Vatcontract, bound to a specific deployed contract.
func (*VatcontractCaller) Can ¶
func (_Vatcontract *VatcontractCaller) Can(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)
Can is a free data retrieval call binding the contract method 0x4538c4eb.
Solidity: function can(address , address ) view returns(uint256)
func (*VatcontractCaller) Dai ¶
func (_Vatcontract *VatcontractCaller) Dai(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
Dai is a free data retrieval call binding the contract method 0x6c25b346.
Solidity: function dai(address ) view returns(uint256)
func (*VatcontractCaller) Debt ¶
Debt is a free data retrieval call binding the contract method 0x0dca59c1.
Solidity: function debt() view returns(uint256)
func (*VatcontractCaller) Gem ¶
func (_Vatcontract *VatcontractCaller) Gem(opts *bind.CallOpts, arg0 [32]byte, arg1 common.Address) (*big.Int, error)
Gem is a free data retrieval call binding the contract method 0x214414d5.
Solidity: function gem(bytes32 , address ) view returns(uint256)
func (*VatcontractCaller) Ilks ¶
func (_Vatcontract *VatcontractCaller) Ilks(opts *bind.CallOpts, arg0 [32]byte) (struct { Art *big.Int Rate *big.Int Spot *big.Int Line *big.Int Dust *big.Int }, error)
Ilks is a free data retrieval call binding the contract method 0xd9638d36.
Solidity: function ilks(bytes32 ) view returns(uint256 Art, uint256 rate, uint256 spot, uint256 line, uint256 dust)
func (*VatcontractCaller) Line ¶
Line is a free data retrieval call binding the contract method 0xbabe8a3f.
Solidity: function Line() view returns(uint256)
func (*VatcontractCaller) Live ¶
Live is a free data retrieval call binding the contract method 0x957aa58c.
Solidity: function live() view returns(uint256)
func (*VatcontractCaller) Sin ¶
func (_Vatcontract *VatcontractCaller) Sin(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
Sin is a free data retrieval call binding the contract method 0xf059212a.
Solidity: function sin(address ) view returns(uint256)
func (*VatcontractCaller) Urns ¶
func (_Vatcontract *VatcontractCaller) Urns(opts *bind.CallOpts, arg0 [32]byte, arg1 common.Address) (struct { Ink *big.Int Art *big.Int }, error)
Urns is a free data retrieval call binding the contract method 0x2424be5c.
Solidity: function urns(bytes32 , address ) view returns(uint256 ink, uint256 art)
type VatcontractCallerRaw ¶
type VatcontractCallerRaw struct {
Contract *VatcontractCaller // Generic read-only contract binding to access the raw methods on
}
VatcontractCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*VatcontractCallerRaw) Call ¶
func (_Vatcontract *VatcontractCallerRaw) 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 VatcontractCallerSession ¶
type VatcontractCallerSession struct { Contract *VatcontractCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
VatcontractCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*VatcontractCallerSession) Can ¶
func (_Vatcontract *VatcontractCallerSession) Can(arg0 common.Address, arg1 common.Address) (*big.Int, error)
Can is a free data retrieval call binding the contract method 0x4538c4eb.
Solidity: function can(address , address ) view returns(uint256)
func (*VatcontractCallerSession) Dai ¶
Dai is a free data retrieval call binding the contract method 0x6c25b346.
Solidity: function dai(address ) view returns(uint256)
func (*VatcontractCallerSession) Debt ¶
func (_Vatcontract *VatcontractCallerSession) Debt() (*big.Int, error)
Debt is a free data retrieval call binding the contract method 0x0dca59c1.
Solidity: function debt() view returns(uint256)
func (*VatcontractCallerSession) Gem ¶
func (_Vatcontract *VatcontractCallerSession) Gem(arg0 [32]byte, arg1 common.Address) (*big.Int, error)
Gem is a free data retrieval call binding the contract method 0x214414d5.
Solidity: function gem(bytes32 , address ) view returns(uint256)
func (*VatcontractCallerSession) Ilks ¶
func (_Vatcontract *VatcontractCallerSession) Ilks(arg0 [32]byte) (struct { Art *big.Int Rate *big.Int Spot *big.Int Line *big.Int Dust *big.Int }, error)
Ilks is a free data retrieval call binding the contract method 0xd9638d36.
Solidity: function ilks(bytes32 ) view returns(uint256 Art, uint256 rate, uint256 spot, uint256 line, uint256 dust)
func (*VatcontractCallerSession) Line ¶
func (_Vatcontract *VatcontractCallerSession) Line() (*big.Int, error)
Line is a free data retrieval call binding the contract method 0xbabe8a3f.
Solidity: function Line() view returns(uint256)
func (*VatcontractCallerSession) Live ¶
func (_Vatcontract *VatcontractCallerSession) Live() (*big.Int, error)
Live is a free data retrieval call binding the contract method 0x957aa58c.
Solidity: function live() view returns(uint256)
func (*VatcontractCallerSession) Sin ¶
Sin is a free data retrieval call binding the contract method 0xf059212a.
Solidity: function sin(address ) view returns(uint256)
func (*VatcontractCallerSession) Urns ¶
func (_Vatcontract *VatcontractCallerSession) Urns(arg0 [32]byte, arg1 common.Address) (struct { Ink *big.Int Art *big.Int }, error)
Urns is a free data retrieval call binding the contract method 0x2424be5c.
Solidity: function urns(bytes32 , address ) view returns(uint256 ink, uint256 art)
type VatcontractFilterer ¶
type VatcontractFilterer struct {
// contains filtered or unexported fields
}
VatcontractFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewVatcontractFilterer ¶
func NewVatcontractFilterer(address common.Address, filterer bind.ContractFilterer) (*VatcontractFilterer, error)
NewVatcontractFilterer creates a new log filterer instance of Vatcontract, bound to a specific deployed contract.
type VatcontractRaw ¶
type VatcontractRaw struct {
Contract *Vatcontract // Generic contract binding to access the raw methods on
}
VatcontractRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*VatcontractRaw) Call ¶
func (_Vatcontract *VatcontractRaw) 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 (*VatcontractRaw) Transact ¶
func (_Vatcontract *VatcontractRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*VatcontractRaw) Transfer ¶
func (_Vatcontract *VatcontractRaw) 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 VatcontractSession ¶
type VatcontractSession struct { Contract *Vatcontract // 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 }
VatcontractSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*VatcontractSession) Cage ¶
func (_Vatcontract *VatcontractSession) Cage() (*types.Transaction, error)
Cage is a paid mutator transaction binding the contract method 0x69245009.
Solidity: function cage() returns()
func (*VatcontractSession) Can ¶
func (_Vatcontract *VatcontractSession) Can(arg0 common.Address, arg1 common.Address) (*big.Int, error)
Can is a free data retrieval call binding the contract method 0x4538c4eb.
Solidity: function can(address , address ) view returns(uint256)
func (*VatcontractSession) Dai ¶
Dai is a free data retrieval call binding the contract method 0x6c25b346.
Solidity: function dai(address ) view returns(uint256)
func (*VatcontractSession) Debt ¶
func (_Vatcontract *VatcontractSession) Debt() (*big.Int, error)
Debt is a free data retrieval call binding the contract method 0x0dca59c1.
Solidity: function debt() view returns(uint256)
func (*VatcontractSession) Deny ¶
func (_Vatcontract *VatcontractSession) 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 (*VatcontractSession) File ¶
func (_Vatcontract *VatcontractSession) File(ilk [32]byte, what [32]byte, data *big.Int) (*types.Transaction, error)
File is a paid mutator transaction binding the contract method 0x1a0b287e.
Solidity: function file(bytes32 ilk, bytes32 what, uint256 data) returns()
func (*VatcontractSession) File0 ¶
func (_Vatcontract *VatcontractSession) File0(what [32]byte, data *big.Int) (*types.Transaction, error)
File0 is a paid mutator transaction binding the contract method 0x29ae8114.
Solidity: function file(bytes32 what, uint256 data) returns()
func (*VatcontractSession) Flux ¶
func (_Vatcontract *VatcontractSession) Flux(ilk [32]byte, src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)
Flux is a paid mutator transaction binding the contract method 0x6111be2e.
Solidity: function flux(bytes32 ilk, address src, address dst, uint256 wad) returns()
func (*VatcontractSession) Fold ¶
func (_Vatcontract *VatcontractSession) Fold(i [32]byte, u common.Address, rate *big.Int) (*types.Transaction, error)
Fold is a paid mutator transaction binding the contract method 0xb65337df.
Solidity: function fold(bytes32 i, address u, int256 rate) returns()
func (*VatcontractSession) Fork ¶
func (_Vatcontract *VatcontractSession) Fork(ilk [32]byte, src common.Address, dst common.Address, dink *big.Int, dart *big.Int) (*types.Transaction, error)
Fork is a paid mutator transaction binding the contract method 0x870c616d.
Solidity: function fork(bytes32 ilk, address src, address dst, int256 dink, int256 dart) returns()
func (*VatcontractSession) Frob ¶
func (_Vatcontract *VatcontractSession) Frob(i [32]byte, u common.Address, v common.Address, w common.Address, dink *big.Int, dart *big.Int) (*types.Transaction, error)
Frob is a paid mutator transaction binding the contract method 0x76088703.
Solidity: function frob(bytes32 i, address u, address v, address w, int256 dink, int256 dart) returns()
func (*VatcontractSession) Gem ¶
Gem is a free data retrieval call binding the contract method 0x214414d5.
Solidity: function gem(bytes32 , address ) view returns(uint256)
func (*VatcontractSession) Grab ¶
func (_Vatcontract *VatcontractSession) Grab(i [32]byte, u common.Address, v common.Address, w common.Address, dink *big.Int, dart *big.Int) (*types.Transaction, error)
Grab is a paid mutator transaction binding the contract method 0x7bab3f40.
Solidity: function grab(bytes32 i, address u, address v, address w, int256 dink, int256 dart) returns()
func (*VatcontractSession) Heal ¶
func (_Vatcontract *VatcontractSession) Heal(rad *big.Int) (*types.Transaction, error)
Heal is a paid mutator transaction binding the contract method 0xf37ac61c.
Solidity: function heal(uint256 rad) returns()
func (*VatcontractSession) Hope ¶
func (_Vatcontract *VatcontractSession) Hope(usr common.Address) (*types.Transaction, error)
Hope is a paid mutator transaction binding the contract method 0xa3b22fc4.
Solidity: function hope(address usr) returns()
func (*VatcontractSession) Ilks ¶
func (_Vatcontract *VatcontractSession) Ilks(arg0 [32]byte) (struct { Art *big.Int Rate *big.Int Spot *big.Int Line *big.Int Dust *big.Int }, error)
Ilks is a free data retrieval call binding the contract method 0xd9638d36.
Solidity: function ilks(bytes32 ) view returns(uint256 Art, uint256 rate, uint256 spot, uint256 line, uint256 dust)
func (*VatcontractSession) Init ¶
func (_Vatcontract *VatcontractSession) Init(ilk [32]byte) (*types.Transaction, error)
Init is a paid mutator transaction binding the contract method 0x3b663195.
Solidity: function init(bytes32 ilk) returns()
func (*VatcontractSession) Line ¶
func (_Vatcontract *VatcontractSession) Line() (*big.Int, error)
Line is a free data retrieval call binding the contract method 0xbabe8a3f.
Solidity: function Line() view returns(uint256)
func (*VatcontractSession) Live ¶
func (_Vatcontract *VatcontractSession) Live() (*big.Int, error)
Live is a free data retrieval call binding the contract method 0x957aa58c.
Solidity: function live() view returns(uint256)
func (*VatcontractSession) Move ¶
func (_Vatcontract *VatcontractSession) Move(src common.Address, dst common.Address, rad *big.Int) (*types.Transaction, error)
Move is a paid mutator transaction binding the contract method 0xbb35783b.
Solidity: function move(address src, address dst, uint256 rad) returns()
func (*VatcontractSession) Nope ¶
func (_Vatcontract *VatcontractSession) Nope(usr common.Address) (*types.Transaction, error)
Nope is a paid mutator transaction binding the contract method 0xdc4d20fa.
Solidity: function nope(address usr) returns()
func (*VatcontractSession) Rely ¶
func (_Vatcontract *VatcontractSession) 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 (*VatcontractSession) Sin ¶
Sin is a free data retrieval call binding the contract method 0xf059212a.
Solidity: function sin(address ) view returns(uint256)
func (*VatcontractSession) Slip ¶
func (_Vatcontract *VatcontractSession) Slip(ilk [32]byte, usr common.Address, wad *big.Int) (*types.Transaction, error)
Slip is a paid mutator transaction binding the contract method 0x7cdd3fde.
Solidity: function slip(bytes32 ilk, address usr, int256 wad) returns()
func (*VatcontractSession) Suck ¶
func (_Vatcontract *VatcontractSession) Suck(u common.Address, v common.Address, rad *big.Int) (*types.Transaction, error)
Suck is a paid mutator transaction binding the contract method 0xf24e23eb.
Solidity: function suck(address u, address v, uint256 rad) returns()
func (*VatcontractSession) Urns ¶
func (_Vatcontract *VatcontractSession) Urns(arg0 [32]byte, arg1 common.Address) (struct { Ink *big.Int Art *big.Int }, error)
Urns is a free data retrieval call binding the contract method 0x2424be5c.
Solidity: function urns(bytes32 , address ) view returns(uint256 ink, uint256 art)
type VatcontractTransactor ¶
type VatcontractTransactor struct {
// contains filtered or unexported fields
}
VatcontractTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewVatcontractTransactor ¶
func NewVatcontractTransactor(address common.Address, transactor bind.ContractTransactor) (*VatcontractTransactor, error)
NewVatcontractTransactor creates a new write-only instance of Vatcontract, bound to a specific deployed contract.
func (*VatcontractTransactor) Cage ¶
func (_Vatcontract *VatcontractTransactor) Cage(opts *bind.TransactOpts) (*types.Transaction, error)
Cage is a paid mutator transaction binding the contract method 0x69245009.
Solidity: function cage() returns()
func (*VatcontractTransactor) Deny ¶
func (_Vatcontract *VatcontractTransactor) 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 (*VatcontractTransactor) File ¶
func (_Vatcontract *VatcontractTransactor) File(opts *bind.TransactOpts, ilk [32]byte, what [32]byte, data *big.Int) (*types.Transaction, error)
File is a paid mutator transaction binding the contract method 0x1a0b287e.
Solidity: function file(bytes32 ilk, bytes32 what, uint256 data) returns()
func (*VatcontractTransactor) File0 ¶
func (_Vatcontract *VatcontractTransactor) File0(opts *bind.TransactOpts, what [32]byte, data *big.Int) (*types.Transaction, error)
File0 is a paid mutator transaction binding the contract method 0x29ae8114.
Solidity: function file(bytes32 what, uint256 data) returns()
func (*VatcontractTransactor) Flux ¶
func (_Vatcontract *VatcontractTransactor) Flux(opts *bind.TransactOpts, ilk [32]byte, src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)
Flux is a paid mutator transaction binding the contract method 0x6111be2e.
Solidity: function flux(bytes32 ilk, address src, address dst, uint256 wad) returns()
func (*VatcontractTransactor) Fold ¶
func (_Vatcontract *VatcontractTransactor) Fold(opts *bind.TransactOpts, i [32]byte, u common.Address, rate *big.Int) (*types.Transaction, error)
Fold is a paid mutator transaction binding the contract method 0xb65337df.
Solidity: function fold(bytes32 i, address u, int256 rate) returns()
func (*VatcontractTransactor) Fork ¶
func (_Vatcontract *VatcontractTransactor) Fork(opts *bind.TransactOpts, ilk [32]byte, src common.Address, dst common.Address, dink *big.Int, dart *big.Int) (*types.Transaction, error)
Fork is a paid mutator transaction binding the contract method 0x870c616d.
Solidity: function fork(bytes32 ilk, address src, address dst, int256 dink, int256 dart) returns()
func (*VatcontractTransactor) Frob ¶
func (_Vatcontract *VatcontractTransactor) Frob(opts *bind.TransactOpts, i [32]byte, u common.Address, v common.Address, w common.Address, dink *big.Int, dart *big.Int) (*types.Transaction, error)
Frob is a paid mutator transaction binding the contract method 0x76088703.
Solidity: function frob(bytes32 i, address u, address v, address w, int256 dink, int256 dart) returns()
func (*VatcontractTransactor) Grab ¶
func (_Vatcontract *VatcontractTransactor) Grab(opts *bind.TransactOpts, i [32]byte, u common.Address, v common.Address, w common.Address, dink *big.Int, dart *big.Int) (*types.Transaction, error)
Grab is a paid mutator transaction binding the contract method 0x7bab3f40.
Solidity: function grab(bytes32 i, address u, address v, address w, int256 dink, int256 dart) returns()
func (*VatcontractTransactor) Heal ¶
func (_Vatcontract *VatcontractTransactor) Heal(opts *bind.TransactOpts, rad *big.Int) (*types.Transaction, error)
Heal is a paid mutator transaction binding the contract method 0xf37ac61c.
Solidity: function heal(uint256 rad) returns()
func (*VatcontractTransactor) Hope ¶
func (_Vatcontract *VatcontractTransactor) Hope(opts *bind.TransactOpts, usr common.Address) (*types.Transaction, error)
Hope is a paid mutator transaction binding the contract method 0xa3b22fc4.
Solidity: function hope(address usr) returns()
func (*VatcontractTransactor) Init ¶
func (_Vatcontract *VatcontractTransactor) Init(opts *bind.TransactOpts, ilk [32]byte) (*types.Transaction, error)
Init is a paid mutator transaction binding the contract method 0x3b663195.
Solidity: function init(bytes32 ilk) returns()
func (*VatcontractTransactor) Move ¶
func (_Vatcontract *VatcontractTransactor) Move(opts *bind.TransactOpts, src common.Address, dst common.Address, rad *big.Int) (*types.Transaction, error)
Move is a paid mutator transaction binding the contract method 0xbb35783b.
Solidity: function move(address src, address dst, uint256 rad) returns()
func (*VatcontractTransactor) Nope ¶
func (_Vatcontract *VatcontractTransactor) Nope(opts *bind.TransactOpts, usr common.Address) (*types.Transaction, error)
Nope is a paid mutator transaction binding the contract method 0xdc4d20fa.
Solidity: function nope(address usr) returns()
func (*VatcontractTransactor) Rely ¶
func (_Vatcontract *VatcontractTransactor) 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 (*VatcontractTransactor) Slip ¶
func (_Vatcontract *VatcontractTransactor) Slip(opts *bind.TransactOpts, ilk [32]byte, usr common.Address, wad *big.Int) (*types.Transaction, error)
Slip is a paid mutator transaction binding the contract method 0x7cdd3fde.
Solidity: function slip(bytes32 ilk, address usr, int256 wad) returns()
func (*VatcontractTransactor) Suck ¶
func (_Vatcontract *VatcontractTransactor) Suck(opts *bind.TransactOpts, u common.Address, v common.Address, rad *big.Int) (*types.Transaction, error)
Suck is a paid mutator transaction binding the contract method 0xf24e23eb.
Solidity: function suck(address u, address v, uint256 rad) returns()
type VatcontractTransactorRaw ¶
type VatcontractTransactorRaw struct {
Contract *VatcontractTransactor // Generic write-only contract binding to access the raw methods on
}
VatcontractTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*VatcontractTransactorRaw) Transact ¶
func (_Vatcontract *VatcontractTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*VatcontractTransactorRaw) Transfer ¶
func (_Vatcontract *VatcontractTransactorRaw) 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 VatcontractTransactorSession ¶
type VatcontractTransactorSession struct { Contract *VatcontractTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
VatcontractTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*VatcontractTransactorSession) Cage ¶
func (_Vatcontract *VatcontractTransactorSession) Cage() (*types.Transaction, error)
Cage is a paid mutator transaction binding the contract method 0x69245009.
Solidity: function cage() returns()
func (*VatcontractTransactorSession) Deny ¶
func (_Vatcontract *VatcontractTransactorSession) 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 (*VatcontractTransactorSession) File ¶
func (_Vatcontract *VatcontractTransactorSession) File(ilk [32]byte, what [32]byte, data *big.Int) (*types.Transaction, error)
File is a paid mutator transaction binding the contract method 0x1a0b287e.
Solidity: function file(bytes32 ilk, bytes32 what, uint256 data) returns()
func (*VatcontractTransactorSession) File0 ¶
func (_Vatcontract *VatcontractTransactorSession) File0(what [32]byte, data *big.Int) (*types.Transaction, error)
File0 is a paid mutator transaction binding the contract method 0x29ae8114.
Solidity: function file(bytes32 what, uint256 data) returns()
func (*VatcontractTransactorSession) Flux ¶
func (_Vatcontract *VatcontractTransactorSession) Flux(ilk [32]byte, src common.Address, dst common.Address, wad *big.Int) (*types.Transaction, error)
Flux is a paid mutator transaction binding the contract method 0x6111be2e.
Solidity: function flux(bytes32 ilk, address src, address dst, uint256 wad) returns()
func (*VatcontractTransactorSession) Fold ¶
func (_Vatcontract *VatcontractTransactorSession) Fold(i [32]byte, u common.Address, rate *big.Int) (*types.Transaction, error)
Fold is a paid mutator transaction binding the contract method 0xb65337df.
Solidity: function fold(bytes32 i, address u, int256 rate) returns()
func (*VatcontractTransactorSession) Fork ¶
func (_Vatcontract *VatcontractTransactorSession) Fork(ilk [32]byte, src common.Address, dst common.Address, dink *big.Int, dart *big.Int) (*types.Transaction, error)
Fork is a paid mutator transaction binding the contract method 0x870c616d.
Solidity: function fork(bytes32 ilk, address src, address dst, int256 dink, int256 dart) returns()
func (*VatcontractTransactorSession) Frob ¶
func (_Vatcontract *VatcontractTransactorSession) Frob(i [32]byte, u common.Address, v common.Address, w common.Address, dink *big.Int, dart *big.Int) (*types.Transaction, error)
Frob is a paid mutator transaction binding the contract method 0x76088703.
Solidity: function frob(bytes32 i, address u, address v, address w, int256 dink, int256 dart) returns()
func (*VatcontractTransactorSession) Grab ¶
func (_Vatcontract *VatcontractTransactorSession) Grab(i [32]byte, u common.Address, v common.Address, w common.Address, dink *big.Int, dart *big.Int) (*types.Transaction, error)
Grab is a paid mutator transaction binding the contract method 0x7bab3f40.
Solidity: function grab(bytes32 i, address u, address v, address w, int256 dink, int256 dart) returns()
func (*VatcontractTransactorSession) Heal ¶
func (_Vatcontract *VatcontractTransactorSession) Heal(rad *big.Int) (*types.Transaction, error)
Heal is a paid mutator transaction binding the contract method 0xf37ac61c.
Solidity: function heal(uint256 rad) returns()
func (*VatcontractTransactorSession) Hope ¶
func (_Vatcontract *VatcontractTransactorSession) Hope(usr common.Address) (*types.Transaction, error)
Hope is a paid mutator transaction binding the contract method 0xa3b22fc4.
Solidity: function hope(address usr) returns()
func (*VatcontractTransactorSession) Init ¶
func (_Vatcontract *VatcontractTransactorSession) Init(ilk [32]byte) (*types.Transaction, error)
Init is a paid mutator transaction binding the contract method 0x3b663195.
Solidity: function init(bytes32 ilk) returns()
func (*VatcontractTransactorSession) Move ¶
func (_Vatcontract *VatcontractTransactorSession) Move(src common.Address, dst common.Address, rad *big.Int) (*types.Transaction, error)
Move is a paid mutator transaction binding the contract method 0xbb35783b.
Solidity: function move(address src, address dst, uint256 rad) returns()
func (*VatcontractTransactorSession) Nope ¶
func (_Vatcontract *VatcontractTransactorSession) Nope(usr common.Address) (*types.Transaction, error)
Nope is a paid mutator transaction binding the contract method 0xdc4d20fa.
Solidity: function nope(address usr) returns()
func (*VatcontractTransactorSession) Rely ¶
func (_Vatcontract *VatcontractTransactorSession) 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 (*VatcontractTransactorSession) Slip ¶
func (_Vatcontract *VatcontractTransactorSession) Slip(ilk [32]byte, usr common.Address, wad *big.Int) (*types.Transaction, error)
Slip is a paid mutator transaction binding the contract method 0x7cdd3fde.
Solidity: function slip(bytes32 ilk, address usr, int256 wad) returns()
func (*VatcontractTransactorSession) Suck ¶
func (_Vatcontract *VatcontractTransactorSession) Suck(u common.Address, v common.Address, rad *big.Int) (*types.Transaction, error)
Suck is a paid mutator transaction binding the contract method 0xf24e23eb.
Solidity: function suck(address u, address v, uint256 rad) returns()