maker

package
v0.0.0-...-edb312b Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// WadScale is the fixed-point precision of a wad unit (for basic quantities, e.g balances)
	WadScale = 18
	// RayScale is the fixed-point precision of the ray unit (for precise quantities, e.g. ratios)
	RayScale = 27
	// RadScale is the fixed-point precision of the rad unit (result of integer multiplication of a wad and ray)
	RadScale = 45
)

https://github.com/makerdao/dss/blob/master/DEVELOPING.md#units

View Source
const FlipperABI = "" /* 6132-byte string literal not displayed */

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

View Source
const FlopperABI = "" /* 6018-byte string literal not displayed */

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

View Source
const JugABI = "" /* 3709-byte string literal not displayed */

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

View Source
const PotABI = "" /* 4369-byte string literal not displayed */

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

View Source
const VatABI = "" /* 9236-byte string literal not displayed */

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

Variables

View Source
var (
	DaiAddress      = common.HexToAddress("0x6B175474E89094C44Da98b954EedeAC495271d0F")
	FlapAddress     = common.HexToAddress("0xdfE0fb1bE2a52CDBf8FB962D5701d7fd0902db9f")
	FlipBatAAddress = common.HexToAddress("0xaA745404d55f88C108A28c86abE7b5A1E7817c07")
	FlipEthAAddress = common.HexToAddress("0xd8a04F5412223F513DC55F839574430f5EC15531")
	FlipSaiAddress  = common.HexToAddress("0x5432b2f3c0DFf95AA191C45E5cbd539E2820aE72")
	FlopAddress     = common.HexToAddress("0x4D95A049d5B0b7d32058cd3F2163015747522e99")
	JoinBatAAddress = common.HexToAddress("0x3D0B1912B66114d4096F48A8CEe3A56C231772cA")
	JoinEthAAddress = common.HexToAddress("0x2F0b23f53734252Bda2277357e97e1517d6B042A")
	JoinSaiAddress  = common.HexToAddress("0xad37fd42185Ba63009177058208dd1be4b136e6b")
	JugAddress      = common.HexToAddress("0x19c0976f590D67707E62397C87829d896Dc0f1F1")
	PotAddress      = common.HexToAddress("0x197E90f9FAD81970bA7976f33CbD77088E5D7cf7")
	VatAddress      = common.HexToAddress("0x35D1b3F3D7966A1DFe207aa4514C12a259A0492B")
	VowAddress      = common.HexToAddress("0xA950524441892A31ebddF91d3cEEFa04Bf454466")
)

https://changelog.makerdao.com/releases/mainnet/1.0.3/contracts.json

View Source
var FlipperBin = "" /* 23226-byte string literal not displayed */

FlipperBin is the compiled bytecode used for deploying new contracts.

View Source
var FlopperBin = "" /* 17418-byte string literal not displayed */

FlopperBin is the compiled bytecode used for deploying new contracts.

View Source
var JugBin = "" /* 9784-byte string literal not displayed */

JugBin is the compiled bytecode used for deploying new contracts.

View Source
var (
	// One unit of Ray
	One = big.NewInt(int64(math.Pow(10, RayScale)))
)
View Source
var PotBin = "" /* 11020-byte string literal not displayed */

PotBin is the compiled bytecode used for deploying new contracts.

View Source
var VatBin = "" /* 16508-byte string literal not displayed */

VatBin is the compiled bytecode used for deploying new contracts.

View Source
var VatFuncSigs = map[string]string{
	"babe8a3f": "Line()",
	"69245009": "cage()",
	"4538c4eb": "can(address,address)",
	"6c25b346": "dai(address)",
	"0dca59c1": "debt()",
	"9c52a7f1": "deny(address)",
	"1a0b287e": "file(bytes32,bytes32,uint256)",
	"29ae8114": "file(bytes32,uint256)",
	"6111be2e": "flux(bytes32,address,address,uint256)",
	"b65337df": "fold(bytes32,address,int256)",
	"870c616d": "fork(bytes32,address,address,int256,int256)",
	"76088703": "frob(bytes32,address,address,address,int256,int256)",
	"214414d5": "gem(bytes32,address)",
	"7bab3f40": "grab(bytes32,address,address,address,int256,int256)",
	"f37ac61c": "heal(uint256)",
	"a3b22fc4": "hope(address)",
	"d9638d36": "ilks(bytes32)",
	"3b663195": "init(bytes32)",
	"957aa58c": "live()",
	"bb35783b": "move(address,address,uint256)",
	"dc4d20fa": "nope(address)",
	"65fae35e": "rely(address)",
	"f059212a": "sin(address)",
	"7cdd3fde": "slip(bytes32,address,int256)",
	"f24e23eb": "suck(address,address,uint256)",
	"2424be5c": "urns(bytes32,address)",
	"2d61a355": "vice()",
	"bf353dbb": "wards(address)",
}

VatFuncSigs maps the 4-byte function signature to its string representation.

Functions

This section is empty.

Types

type Flipper

type Flipper struct {
	FlipperCaller     // Read-only binding to the contract
	FlipperTransactor // Write-only binding to the contract
	FlipperFilterer   // Log filterer for contract events
}

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

func DeployFlipper

func DeployFlipper(auth *bind.TransactOpts, backend bind.ContractBackend, vat_ common.Address, ilk_ [32]byte) (common.Address, *types.Transaction, *Flipper, error)

DeployFlipper deploys a new Ethereum contract, binding an instance of Flipper to it.

func LoadFlipperEthA

func LoadFlipperEthA(client *ethclient.Client) (*Flipper, error)

func NewFlipper

func NewFlipper(address common.Address, backend bind.ContractBackend) (*Flipper, error)

NewFlipper creates a new instance of Flipper, bound to a specific deployed contract.

type FlipperCaller

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

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

func LoadFlipperEthACaller

func LoadFlipperEthACaller(client *ethclient.Client) (*FlipperCaller, error)

func NewFlipperCaller

func NewFlipperCaller(address common.Address, caller bind.ContractCaller) (*FlipperCaller, error)

NewFlipperCaller creates a new read-only instance of Flipper, bound to a specific deployed contract.

func (*FlipperCaller) Beg

func (_Flipper *FlipperCaller) Beg(opts *bind.CallOpts) (*big.Int, error)

Beg is a free data retrieval call binding the contract method 0x7d780d82.

Solidity: function beg() constant returns(uint256)

func (*FlipperCaller) Bids

func (_Flipper *FlipperCaller) Bids(opts *bind.CallOpts, arg0 *big.Int) (struct {
	Bid *big.Int
	Lot *big.Int
	Guy common.Address
	Tic *big.Int
	End *big.Int
	Usr common.Address
	Gal common.Address
	Tab *big.Int
}, error)

Bids is a free data retrieval call binding the contract method 0x4423c5f1.

Solidity: function bids(uint256 ) constant returns(uint256 bid, uint256 lot, address guy, uint48 tic, uint48 end, address usr, address gal, uint256 tab)

func (*FlipperCaller) Ilk

func (_Flipper *FlipperCaller) Ilk(opts *bind.CallOpts) ([32]byte, error)

Ilk is a free data retrieval call binding the contract method 0xc5ce281e.

Solidity: function ilk() constant returns(bytes32)

func (*FlipperCaller) Kicks

func (_Flipper *FlipperCaller) Kicks(opts *bind.CallOpts) (*big.Int, error)

Kicks is a free data retrieval call binding the contract method 0xcfdd3302.

Solidity: function kicks() constant returns(uint256)

func (*FlipperCaller) Tau

func (_Flipper *FlipperCaller) Tau(opts *bind.CallOpts) (*big.Int, error)

Tau is a free data retrieval call binding the contract method 0xcfc4af55.

Solidity: function tau() constant returns(uint48)

func (*FlipperCaller) Ttl

func (_Flipper *FlipperCaller) Ttl(opts *bind.CallOpts) (*big.Int, error)

Ttl is a free data retrieval call binding the contract method 0x4e8b1dd5.

Solidity: function ttl() constant returns(uint48)

func (*FlipperCaller) Vat

func (_Flipper *FlipperCaller) Vat(opts *bind.CallOpts) (common.Address, error)

Vat is a free data retrieval call binding the contract method 0x36569e77.

Solidity: function vat() constant returns(address)

func (*FlipperCaller) Wards

func (_Flipper *FlipperCaller) Wards(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

Wards is a free data retrieval call binding the contract method 0xbf353dbb.

Solidity: function wards(address ) constant returns(uint256)

type FlipperCallerRaw

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

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

func (*FlipperCallerRaw) Call

func (_Flipper *FlipperCallerRaw) 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 FlipperCallerSession

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

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

func (*FlipperCallerSession) Beg

func (_Flipper *FlipperCallerSession) Beg() (*big.Int, error)

Beg is a free data retrieval call binding the contract method 0x7d780d82.

Solidity: function beg() constant returns(uint256)

func (*FlipperCallerSession) Bids

func (_Flipper *FlipperCallerSession) Bids(arg0 *big.Int) (struct {
	Bid *big.Int
	Lot *big.Int
	Guy common.Address
	Tic *big.Int
	End *big.Int
	Usr common.Address
	Gal common.Address
	Tab *big.Int
}, error)

Bids is a free data retrieval call binding the contract method 0x4423c5f1.

Solidity: function bids(uint256 ) constant returns(uint256 bid, uint256 lot, address guy, uint48 tic, uint48 end, address usr, address gal, uint256 tab)

func (*FlipperCallerSession) Ilk

func (_Flipper *FlipperCallerSession) Ilk() ([32]byte, error)

Ilk is a free data retrieval call binding the contract method 0xc5ce281e.

Solidity: function ilk() constant returns(bytes32)

func (*FlipperCallerSession) Kicks

func (_Flipper *FlipperCallerSession) Kicks() (*big.Int, error)

Kicks is a free data retrieval call binding the contract method 0xcfdd3302.

Solidity: function kicks() constant returns(uint256)

func (*FlipperCallerSession) Tau

func (_Flipper *FlipperCallerSession) Tau() (*big.Int, error)

Tau is a free data retrieval call binding the contract method 0xcfc4af55.

Solidity: function tau() constant returns(uint48)

func (*FlipperCallerSession) Ttl

func (_Flipper *FlipperCallerSession) Ttl() (*big.Int, error)

Ttl is a free data retrieval call binding the contract method 0x4e8b1dd5.

Solidity: function ttl() constant returns(uint48)

func (*FlipperCallerSession) Vat

func (_Flipper *FlipperCallerSession) Vat() (common.Address, error)

Vat is a free data retrieval call binding the contract method 0x36569e77.

Solidity: function vat() constant returns(address)

func (*FlipperCallerSession) Wards

func (_Flipper *FlipperCallerSession) Wards(arg0 common.Address) (*big.Int, error)

Wards is a free data retrieval call binding the contract method 0xbf353dbb.

Solidity: function wards(address ) constant returns(uint256)

type FlipperFilterer

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

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

func NewFlipperFilterer

func NewFlipperFilterer(address common.Address, filterer bind.ContractFilterer) (*FlipperFilterer, error)

NewFlipperFilterer creates a new log filterer instance of Flipper, bound to a specific deployed contract.

func (*FlipperFilterer) FilterKick

func (_Flipper *FlipperFilterer) FilterKick(opts *bind.FilterOpts, usr []common.Address, gal []common.Address) (*FlipperKickIterator, error)

FilterKick is a free log retrieval operation binding the contract event 0xc84ce3a1172f0dec3173f04caaa6005151a4bfe40d4c9f3ea28dba5f719b2a7a.

Solidity: event Kick(uint256 id, uint256 lot, uint256 bid, uint256 tab, address indexed usr, address indexed gal)

func (*FlipperFilterer) ParseKick

func (_Flipper *FlipperFilterer) ParseKick(log types.Log) (*FlipperKick, error)

ParseKick is a log parse operation binding the contract event 0xc84ce3a1172f0dec3173f04caaa6005151a4bfe40d4c9f3ea28dba5f719b2a7a.

Solidity: event Kick(uint256 id, uint256 lot, uint256 bid, uint256 tab, address indexed usr, address indexed gal)

func (*FlipperFilterer) WatchKick

func (_Flipper *FlipperFilterer) WatchKick(opts *bind.WatchOpts, sink chan<- *FlipperKick, usr []common.Address, gal []common.Address) (event.Subscription, error)

WatchKick is a free log subscription operation binding the contract event 0xc84ce3a1172f0dec3173f04caaa6005151a4bfe40d4c9f3ea28dba5f719b2a7a.

Solidity: event Kick(uint256 id, uint256 lot, uint256 bid, uint256 tab, address indexed usr, address indexed gal)

type FlipperKick

type FlipperKick struct {
	Id  *big.Int
	Lot *big.Int
	Bid *big.Int
	Tab *big.Int
	Usr common.Address
	Gal common.Address
	Raw types.Log // Blockchain specific contextual infos
}

FlipperKick represents a Kick event raised by the Flipper contract.

type FlipperKickIterator

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

FlipperKickIterator is returned from FilterKick and is used to iterate over the raw logs and unpacked data for Kick events raised by the Flipper contract.

func (*FlipperKickIterator) Close

func (it *FlipperKickIterator) Close() error

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

func (*FlipperKickIterator) Error

func (it *FlipperKickIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*FlipperKickIterator) Next

func (it *FlipperKickIterator) 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 FlipperRaw

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

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

func (*FlipperRaw) Call

func (_Flipper *FlipperRaw) 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 (*FlipperRaw) Transact

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

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

func (*FlipperRaw) Transfer

func (_Flipper *FlipperRaw) 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 FlipperSession

type FlipperSession struct {
	Contract     *Flipper          // 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
}

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

func (*FlipperSession) Beg

func (_Flipper *FlipperSession) Beg() (*big.Int, error)

Beg is a free data retrieval call binding the contract method 0x7d780d82.

Solidity: function beg() constant returns(uint256)

func (*FlipperSession) Bids

func (_Flipper *FlipperSession) Bids(arg0 *big.Int) (struct {
	Bid *big.Int
	Lot *big.Int
	Guy common.Address
	Tic *big.Int
	End *big.Int
	Usr common.Address
	Gal common.Address
	Tab *big.Int
}, error)

Bids is a free data retrieval call binding the contract method 0x4423c5f1.

Solidity: function bids(uint256 ) constant returns(uint256 bid, uint256 lot, address guy, uint48 tic, uint48 end, address usr, address gal, uint256 tab)

func (*FlipperSession) Deal

func (_Flipper *FlipperSession) Deal(id *big.Int) (*types.Transaction, error)

Deal is a paid mutator transaction binding the contract method 0xc959c42b.

Solidity: function deal(uint256 id) returns()

func (*FlipperSession) Dent

func (_Flipper *FlipperSession) Dent(id *big.Int, lot *big.Int, bid *big.Int) (*types.Transaction, error)

Dent is a paid mutator transaction binding the contract method 0x5ff3a382.

Solidity: function dent(uint256 id, uint256 lot, uint256 bid) returns()

func (*FlipperSession) Deny

func (_Flipper *FlipperSession) 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 (*FlipperSession) File

func (_Flipper *FlipperSession) File(what [32]byte, data *big.Int) (*types.Transaction, error)

File is a paid mutator transaction binding the contract method 0x29ae8114.

Solidity: function file(bytes32 what, uint256 data) returns()

func (*FlipperSession) Ilk

func (_Flipper *FlipperSession) Ilk() ([32]byte, error)

Ilk is a free data retrieval call binding the contract method 0xc5ce281e.

Solidity: function ilk() constant returns(bytes32)

func (*FlipperSession) Kick

func (_Flipper *FlipperSession) Kick(usr common.Address, gal common.Address, tab *big.Int, lot *big.Int, bid *big.Int) (*types.Transaction, error)

Kick is a paid mutator transaction binding the contract method 0x351de600.

Solidity: function kick(address usr, address gal, uint256 tab, uint256 lot, uint256 bid) returns(uint256 id)

func (*FlipperSession) Kicks

func (_Flipper *FlipperSession) Kicks() (*big.Int, error)

Kicks is a free data retrieval call binding the contract method 0xcfdd3302.

Solidity: function kicks() constant returns(uint256)

func (*FlipperSession) Rely

func (_Flipper *FlipperSession) 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 (*FlipperSession) Tau

func (_Flipper *FlipperSession) Tau() (*big.Int, error)

Tau is a free data retrieval call binding the contract method 0xcfc4af55.

Solidity: function tau() constant returns(uint48)

func (*FlipperSession) Tend

func (_Flipper *FlipperSession) Tend(id *big.Int, lot *big.Int, bid *big.Int) (*types.Transaction, error)

Tend is a paid mutator transaction binding the contract method 0x4b43ed12.

Solidity: function tend(uint256 id, uint256 lot, uint256 bid) returns()

func (*FlipperSession) Tick

func (_Flipper *FlipperSession) Tick(id *big.Int) (*types.Transaction, error)

Tick is a paid mutator transaction binding the contract method 0xfc7b6aee.

Solidity: function tick(uint256 id) returns()

func (*FlipperSession) Ttl

func (_Flipper *FlipperSession) Ttl() (*big.Int, error)

Ttl is a free data retrieval call binding the contract method 0x4e8b1dd5.

Solidity: function ttl() constant returns(uint48)

func (*FlipperSession) Vat

func (_Flipper *FlipperSession) Vat() (common.Address, error)

Vat is a free data retrieval call binding the contract method 0x36569e77.

Solidity: function vat() constant returns(address)

func (*FlipperSession) Wards

func (_Flipper *FlipperSession) Wards(arg0 common.Address) (*big.Int, error)

Wards is a free data retrieval call binding the contract method 0xbf353dbb.

Solidity: function wards(address ) constant returns(uint256)

func (*FlipperSession) Yank

func (_Flipper *FlipperSession) Yank(id *big.Int) (*types.Transaction, error)

Yank is a paid mutator transaction binding the contract method 0x26e027f1.

Solidity: function yank(uint256 id) returns()

type FlipperTransactor

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

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

func NewFlipperTransactor

func NewFlipperTransactor(address common.Address, transactor bind.ContractTransactor) (*FlipperTransactor, error)

NewFlipperTransactor creates a new write-only instance of Flipper, bound to a specific deployed contract.

func (*FlipperTransactor) Deal

func (_Flipper *FlipperTransactor) Deal(opts *bind.TransactOpts, id *big.Int) (*types.Transaction, error)

Deal is a paid mutator transaction binding the contract method 0xc959c42b.

Solidity: function deal(uint256 id) returns()

func (*FlipperTransactor) Dent

func (_Flipper *FlipperTransactor) Dent(opts *bind.TransactOpts, id *big.Int, lot *big.Int, bid *big.Int) (*types.Transaction, error)

Dent is a paid mutator transaction binding the contract method 0x5ff3a382.

Solidity: function dent(uint256 id, uint256 lot, uint256 bid) returns()

func (*FlipperTransactor) Deny

func (_Flipper *FlipperTransactor) 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 (*FlipperTransactor) File

func (_Flipper *FlipperTransactor) File(opts *bind.TransactOpts, what [32]byte, data *big.Int) (*types.Transaction, error)

File is a paid mutator transaction binding the contract method 0x29ae8114.

Solidity: function file(bytes32 what, uint256 data) returns()

func (*FlipperTransactor) Kick

func (_Flipper *FlipperTransactor) Kick(opts *bind.TransactOpts, usr common.Address, gal common.Address, tab *big.Int, lot *big.Int, bid *big.Int) (*types.Transaction, error)

Kick is a paid mutator transaction binding the contract method 0x351de600.

Solidity: function kick(address usr, address gal, uint256 tab, uint256 lot, uint256 bid) returns(uint256 id)

func (*FlipperTransactor) Rely

func (_Flipper *FlipperTransactor) 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 (*FlipperTransactor) Tend

func (_Flipper *FlipperTransactor) Tend(opts *bind.TransactOpts, id *big.Int, lot *big.Int, bid *big.Int) (*types.Transaction, error)

Tend is a paid mutator transaction binding the contract method 0x4b43ed12.

Solidity: function tend(uint256 id, uint256 lot, uint256 bid) returns()

func (*FlipperTransactor) Tick

func (_Flipper *FlipperTransactor) Tick(opts *bind.TransactOpts, id *big.Int) (*types.Transaction, error)

Tick is a paid mutator transaction binding the contract method 0xfc7b6aee.

Solidity: function tick(uint256 id) returns()

func (*FlipperTransactor) Yank

func (_Flipper *FlipperTransactor) Yank(opts *bind.TransactOpts, id *big.Int) (*types.Transaction, error)

Yank is a paid mutator transaction binding the contract method 0x26e027f1.

Solidity: function yank(uint256 id) returns()

type FlipperTransactorRaw

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

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

func (*FlipperTransactorRaw) Transact

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

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

func (*FlipperTransactorRaw) Transfer

func (_Flipper *FlipperTransactorRaw) 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 FlipperTransactorSession

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

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

func (*FlipperTransactorSession) Deal

func (_Flipper *FlipperTransactorSession) Deal(id *big.Int) (*types.Transaction, error)

Deal is a paid mutator transaction binding the contract method 0xc959c42b.

Solidity: function deal(uint256 id) returns()

func (*FlipperTransactorSession) Dent

func (_Flipper *FlipperTransactorSession) Dent(id *big.Int, lot *big.Int, bid *big.Int) (*types.Transaction, error)

Dent is a paid mutator transaction binding the contract method 0x5ff3a382.

Solidity: function dent(uint256 id, uint256 lot, uint256 bid) returns()

func (*FlipperTransactorSession) Deny

Deny is a paid mutator transaction binding the contract method 0x9c52a7f1.

Solidity: function deny(address usr) returns()

func (*FlipperTransactorSession) File

func (_Flipper *FlipperTransactorSession) File(what [32]byte, data *big.Int) (*types.Transaction, error)

File is a paid mutator transaction binding the contract method 0x29ae8114.

Solidity: function file(bytes32 what, uint256 data) returns()

func (*FlipperTransactorSession) Kick

func (_Flipper *FlipperTransactorSession) Kick(usr common.Address, gal common.Address, tab *big.Int, lot *big.Int, bid *big.Int) (*types.Transaction, error)

Kick is a paid mutator transaction binding the contract method 0x351de600.

Solidity: function kick(address usr, address gal, uint256 tab, uint256 lot, uint256 bid) returns(uint256 id)

func (*FlipperTransactorSession) Rely

Rely is a paid mutator transaction binding the contract method 0x65fae35e.

Solidity: function rely(address usr) returns()

func (*FlipperTransactorSession) Tend

func (_Flipper *FlipperTransactorSession) Tend(id *big.Int, lot *big.Int, bid *big.Int) (*types.Transaction, error)

Tend is a paid mutator transaction binding the contract method 0x4b43ed12.

Solidity: function tend(uint256 id, uint256 lot, uint256 bid) returns()

func (*FlipperTransactorSession) Tick

func (_Flipper *FlipperTransactorSession) Tick(id *big.Int) (*types.Transaction, error)

Tick is a paid mutator transaction binding the contract method 0xfc7b6aee.

Solidity: function tick(uint256 id) returns()

func (*FlipperTransactorSession) Yank

func (_Flipper *FlipperTransactorSession) Yank(id *big.Int) (*types.Transaction, error)

Yank is a paid mutator transaction binding the contract method 0x26e027f1.

Solidity: function yank(uint256 id) returns()

type Flopper

type Flopper struct {
	FlopperCaller     // Read-only binding to the contract
	FlopperTransactor // Write-only binding to the contract
	FlopperFilterer   // Log filterer for contract events
}

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

func DeployFlopper

func DeployFlopper(auth *bind.TransactOpts, backend bind.ContractBackend, vat_ common.Address, gem_ common.Address) (common.Address, *types.Transaction, *Flopper, error)

DeployFlopper deploys a new Ethereum contract, binding an instance of Flopper to it.

func NewFlopper

func NewFlopper(address common.Address, backend bind.ContractBackend) (*Flopper, error)

NewFlopper creates a new instance of Flopper, bound to a specific deployed contract.

type FlopperCaller

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

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

func NewFlopperCaller

func NewFlopperCaller(address common.Address, caller bind.ContractCaller) (*FlopperCaller, error)

NewFlopperCaller creates a new read-only instance of Flopper, bound to a specific deployed contract.

func (*FlopperCaller) Beg

func (_Flopper *FlopperCaller) Beg(opts *bind.CallOpts) (*big.Int, error)

Beg is a free data retrieval call binding the contract method 0x7d780d82.

Solidity: function beg() constant returns(uint256)

func (*FlopperCaller) Bids

func (_Flopper *FlopperCaller) Bids(opts *bind.CallOpts, arg0 *big.Int) (struct {
	Bid *big.Int
	Lot *big.Int
	Guy common.Address
	Tic *big.Int
	End *big.Int
}, error)

Bids is a free data retrieval call binding the contract method 0x4423c5f1.

Solidity: function bids(uint256 ) constant returns(uint256 bid, uint256 lot, address guy, uint48 tic, uint48 end)

func (*FlopperCaller) Gem

func (_Flopper *FlopperCaller) Gem(opts *bind.CallOpts) (common.Address, error)

Gem is a free data retrieval call binding the contract method 0x7bd2bea7.

Solidity: function gem() constant returns(address)

func (*FlopperCaller) Kicks

func (_Flopper *FlopperCaller) Kicks(opts *bind.CallOpts) (*big.Int, error)

Kicks is a free data retrieval call binding the contract method 0xcfdd3302.

Solidity: function kicks() constant returns(uint256)

func (*FlopperCaller) Live

func (_Flopper *FlopperCaller) Live(opts *bind.CallOpts) (*big.Int, error)

Live is a free data retrieval call binding the contract method 0x957aa58c.

Solidity: function live() constant returns(uint256)

func (*FlopperCaller) Pad

func (_Flopper *FlopperCaller) Pad(opts *bind.CallOpts) (*big.Int, error)

Pad is a free data retrieval call binding the contract method 0x9361266c.

Solidity: function pad() constant returns(uint256)

func (*FlopperCaller) Tau

func (_Flopper *FlopperCaller) Tau(opts *bind.CallOpts) (*big.Int, error)

Tau is a free data retrieval call binding the contract method 0xcfc4af55.

Solidity: function tau() constant returns(uint48)

func (*FlopperCaller) Ttl

func (_Flopper *FlopperCaller) Ttl(opts *bind.CallOpts) (*big.Int, error)

Ttl is a free data retrieval call binding the contract method 0x4e8b1dd5.

Solidity: function ttl() constant returns(uint48)

func (*FlopperCaller) Vat

func (_Flopper *FlopperCaller) Vat(opts *bind.CallOpts) (common.Address, error)

Vat is a free data retrieval call binding the contract method 0x36569e77.

Solidity: function vat() constant returns(address)

func (*FlopperCaller) VowAddress

func (_Flopper *FlopperCaller) VowAddress(opts *bind.CallOpts) (common.Address, error)

VowAddress is a free data retrieval call binding the contract method 0x626cb3c5.

Solidity: function vow() constant returns(address)

func (*FlopperCaller) Wards

func (_Flopper *FlopperCaller) Wards(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

Wards is a free data retrieval call binding the contract method 0xbf353dbb.

Solidity: function wards(address ) constant returns(uint256)

type FlopperCallerRaw

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

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

func (*FlopperCallerRaw) Call

func (_Flopper *FlopperCallerRaw) 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 FlopperCallerSession

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

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

func (*FlopperCallerSession) Beg

func (_Flopper *FlopperCallerSession) Beg() (*big.Int, error)

Beg is a free data retrieval call binding the contract method 0x7d780d82.

Solidity: function beg() constant returns(uint256)

func (*FlopperCallerSession) Bids

func (_Flopper *FlopperCallerSession) Bids(arg0 *big.Int) (struct {
	Bid *big.Int
	Lot *big.Int
	Guy common.Address
	Tic *big.Int
	End *big.Int
}, error)

Bids is a free data retrieval call binding the contract method 0x4423c5f1.

Solidity: function bids(uint256 ) constant returns(uint256 bid, uint256 lot, address guy, uint48 tic, uint48 end)

func (*FlopperCallerSession) Gem

func (_Flopper *FlopperCallerSession) Gem() (common.Address, error)

Gem is a free data retrieval call binding the contract method 0x7bd2bea7.

Solidity: function gem() constant returns(address)

func (*FlopperCallerSession) Kicks

func (_Flopper *FlopperCallerSession) Kicks() (*big.Int, error)

Kicks is a free data retrieval call binding the contract method 0xcfdd3302.

Solidity: function kicks() constant returns(uint256)

func (*FlopperCallerSession) Live

func (_Flopper *FlopperCallerSession) Live() (*big.Int, error)

Live is a free data retrieval call binding the contract method 0x957aa58c.

Solidity: function live() constant returns(uint256)

func (*FlopperCallerSession) Pad

func (_Flopper *FlopperCallerSession) Pad() (*big.Int, error)

Pad is a free data retrieval call binding the contract method 0x9361266c.

Solidity: function pad() constant returns(uint256)

func (*FlopperCallerSession) Tau

func (_Flopper *FlopperCallerSession) Tau() (*big.Int, error)

Tau is a free data retrieval call binding the contract method 0xcfc4af55.

Solidity: function tau() constant returns(uint48)

func (*FlopperCallerSession) Ttl

func (_Flopper *FlopperCallerSession) Ttl() (*big.Int, error)

Ttl is a free data retrieval call binding the contract method 0x4e8b1dd5.

Solidity: function ttl() constant returns(uint48)

func (*FlopperCallerSession) Vat

func (_Flopper *FlopperCallerSession) Vat() (common.Address, error)

Vat is a free data retrieval call binding the contract method 0x36569e77.

Solidity: function vat() constant returns(address)

func (*FlopperCallerSession) VowAddress

func (_Flopper *FlopperCallerSession) VowAddress() (common.Address, error)

VowAddress is a free data retrieval call binding the contract method 0x626cb3c5.

Solidity: function vow() constant returns(address)

func (*FlopperCallerSession) Wards

func (_Flopper *FlopperCallerSession) Wards(arg0 common.Address) (*big.Int, error)

Wards is a free data retrieval call binding the contract method 0xbf353dbb.

Solidity: function wards(address ) constant returns(uint256)

type FlopperFilterer

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

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

func NewFlopperFilterer

func NewFlopperFilterer(address common.Address, filterer bind.ContractFilterer) (*FlopperFilterer, error)

NewFlopperFilterer creates a new log filterer instance of Flopper, bound to a specific deployed contract.

func (*FlopperFilterer) FilterKick

func (_Flopper *FlopperFilterer) FilterKick(opts *bind.FilterOpts, gal []common.Address) (*FlopperKickIterator, error)

FilterKick is a free log retrieval operation binding the contract event 0x7e8881001566f9f89aedb9c5dc3d856a2b81e5235a8196413ed484be91cc0df6.

Solidity: event Kick(uint256 id, uint256 lot, uint256 bid, address indexed gal)

func (*FlopperFilterer) ParseKick

func (_Flopper *FlopperFilterer) ParseKick(log types.Log) (*FlopperKick, error)

ParseKick is a log parse operation binding the contract event 0x7e8881001566f9f89aedb9c5dc3d856a2b81e5235a8196413ed484be91cc0df6.

Solidity: event Kick(uint256 id, uint256 lot, uint256 bid, address indexed gal)

func (*FlopperFilterer) WatchKick

func (_Flopper *FlopperFilterer) WatchKick(opts *bind.WatchOpts, sink chan<- *FlopperKick, gal []common.Address) (event.Subscription, error)

WatchKick is a free log subscription operation binding the contract event 0x7e8881001566f9f89aedb9c5dc3d856a2b81e5235a8196413ed484be91cc0df6.

Solidity: event Kick(uint256 id, uint256 lot, uint256 bid, address indexed gal)

type FlopperKick

type FlopperKick struct {
	Id  *big.Int
	Lot *big.Int
	Bid *big.Int
	Gal common.Address
	Raw types.Log // Blockchain specific contextual infos
}

FlopperKick represents a Kick event raised by the Flopper contract.

type FlopperKickIterator

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

FlopperKickIterator is returned from FilterKick and is used to iterate over the raw logs and unpacked data for Kick events raised by the Flopper contract.

func (*FlopperKickIterator) Close

func (it *FlopperKickIterator) Close() error

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

func (*FlopperKickIterator) Error

func (it *FlopperKickIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*FlopperKickIterator) Next

func (it *FlopperKickIterator) 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 FlopperRaw

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

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

func (*FlopperRaw) Call

func (_Flopper *FlopperRaw) 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 (*FlopperRaw) Transact

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

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

func (*FlopperRaw) Transfer

func (_Flopper *FlopperRaw) 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 FlopperSession

type FlopperSession struct {
	Contract     *Flopper          // 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
}

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

func (*FlopperSession) Beg

func (_Flopper *FlopperSession) Beg() (*big.Int, error)

Beg is a free data retrieval call binding the contract method 0x7d780d82.

Solidity: function beg() constant returns(uint256)

func (*FlopperSession) Bids

func (_Flopper *FlopperSession) Bids(arg0 *big.Int) (struct {
	Bid *big.Int
	Lot *big.Int
	Guy common.Address
	Tic *big.Int
	End *big.Int
}, error)

Bids is a free data retrieval call binding the contract method 0x4423c5f1.

Solidity: function bids(uint256 ) constant returns(uint256 bid, uint256 lot, address guy, uint48 tic, uint48 end)

func (*FlopperSession) Cage

func (_Flopper *FlopperSession) Cage() (*types.Transaction, error)

Cage is a paid mutator transaction binding the contract method 0x69245009.

Solidity: function cage() returns()

func (*FlopperSession) Deal

func (_Flopper *FlopperSession) Deal(id *big.Int) (*types.Transaction, error)

Deal is a paid mutator transaction binding the contract method 0xc959c42b.

Solidity: function deal(uint256 id) returns()

func (*FlopperSession) Dent

func (_Flopper *FlopperSession) Dent(id *big.Int, lot *big.Int, bid *big.Int) (*types.Transaction, error)

Dent is a paid mutator transaction binding the contract method 0x5ff3a382.

Solidity: function dent(uint256 id, uint256 lot, uint256 bid) returns()

func (*FlopperSession) Deny

func (_Flopper *FlopperSession) 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 (*FlopperSession) File

func (_Flopper *FlopperSession) File(what [32]byte, data *big.Int) (*types.Transaction, error)

File is a paid mutator transaction binding the contract method 0x29ae8114.

Solidity: function file(bytes32 what, uint256 data) returns()

func (*FlopperSession) Gem

func (_Flopper *FlopperSession) Gem() (common.Address, error)

Gem is a free data retrieval call binding the contract method 0x7bd2bea7.

Solidity: function gem() constant returns(address)

func (*FlopperSession) Kick

func (_Flopper *FlopperSession) Kick(gal common.Address, lot *big.Int, bid *big.Int) (*types.Transaction, error)

Kick is a paid mutator transaction binding the contract method 0xb7e9cd24.

Solidity: function kick(address gal, uint256 lot, uint256 bid) returns(uint256 id)

func (*FlopperSession) Kicks

func (_Flopper *FlopperSession) Kicks() (*big.Int, error)

Kicks is a free data retrieval call binding the contract method 0xcfdd3302.

Solidity: function kicks() constant returns(uint256)

func (*FlopperSession) Live

func (_Flopper *FlopperSession) Live() (*big.Int, error)

Live is a free data retrieval call binding the contract method 0x957aa58c.

Solidity: function live() constant returns(uint256)

func (*FlopperSession) Pad

func (_Flopper *FlopperSession) Pad() (*big.Int, error)

Pad is a free data retrieval call binding the contract method 0x9361266c.

Solidity: function pad() constant returns(uint256)

func (*FlopperSession) Rely

func (_Flopper *FlopperSession) 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 (*FlopperSession) Tau

func (_Flopper *FlopperSession) Tau() (*big.Int, error)

Tau is a free data retrieval call binding the contract method 0xcfc4af55.

Solidity: function tau() constant returns(uint48)

func (*FlopperSession) Tick

func (_Flopper *FlopperSession) Tick(id *big.Int) (*types.Transaction, error)

Tick is a paid mutator transaction binding the contract method 0xfc7b6aee.

Solidity: function tick(uint256 id) returns()

func (*FlopperSession) Ttl

func (_Flopper *FlopperSession) Ttl() (*big.Int, error)

Ttl is a free data retrieval call binding the contract method 0x4e8b1dd5.

Solidity: function ttl() constant returns(uint48)

func (*FlopperSession) Vat

func (_Flopper *FlopperSession) Vat() (common.Address, error)

Vat is a free data retrieval call binding the contract method 0x36569e77.

Solidity: function vat() constant returns(address)

func (*FlopperSession) VowAddress

func (_Flopper *FlopperSession) VowAddress() (common.Address, error)

VowAddress is a free data retrieval call binding the contract method 0x626cb3c5.

Solidity: function vow() constant returns(address)

func (*FlopperSession) Wards

func (_Flopper *FlopperSession) Wards(arg0 common.Address) (*big.Int, error)

Wards is a free data retrieval call binding the contract method 0xbf353dbb.

Solidity: function wards(address ) constant returns(uint256)

func (*FlopperSession) Yank

func (_Flopper *FlopperSession) Yank(id *big.Int) (*types.Transaction, error)

Yank is a paid mutator transaction binding the contract method 0x26e027f1.

Solidity: function yank(uint256 id) returns()

type FlopperTransactor

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

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

func NewFlopperTransactor

func NewFlopperTransactor(address common.Address, transactor bind.ContractTransactor) (*FlopperTransactor, error)

NewFlopperTransactor creates a new write-only instance of Flopper, bound to a specific deployed contract.

func (*FlopperTransactor) Cage

func (_Flopper *FlopperTransactor) Cage(opts *bind.TransactOpts) (*types.Transaction, error)

Cage is a paid mutator transaction binding the contract method 0x69245009.

Solidity: function cage() returns()

func (*FlopperTransactor) Deal

func (_Flopper *FlopperTransactor) Deal(opts *bind.TransactOpts, id *big.Int) (*types.Transaction, error)

Deal is a paid mutator transaction binding the contract method 0xc959c42b.

Solidity: function deal(uint256 id) returns()

func (*FlopperTransactor) Dent

func (_Flopper *FlopperTransactor) Dent(opts *bind.TransactOpts, id *big.Int, lot *big.Int, bid *big.Int) (*types.Transaction, error)

Dent is a paid mutator transaction binding the contract method 0x5ff3a382.

Solidity: function dent(uint256 id, uint256 lot, uint256 bid) returns()

func (*FlopperTransactor) Deny

func (_Flopper *FlopperTransactor) 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 (*FlopperTransactor) File

func (_Flopper *FlopperTransactor) File(opts *bind.TransactOpts, what [32]byte, data *big.Int) (*types.Transaction, error)

File is a paid mutator transaction binding the contract method 0x29ae8114.

Solidity: function file(bytes32 what, uint256 data) returns()

func (*FlopperTransactor) Kick

func (_Flopper *FlopperTransactor) Kick(opts *bind.TransactOpts, gal common.Address, lot *big.Int, bid *big.Int) (*types.Transaction, error)

Kick is a paid mutator transaction binding the contract method 0xb7e9cd24.

Solidity: function kick(address gal, uint256 lot, uint256 bid) returns(uint256 id)

func (*FlopperTransactor) Rely

func (_Flopper *FlopperTransactor) 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 (*FlopperTransactor) Tick

func (_Flopper *FlopperTransactor) Tick(opts *bind.TransactOpts, id *big.Int) (*types.Transaction, error)

Tick is a paid mutator transaction binding the contract method 0xfc7b6aee.

Solidity: function tick(uint256 id) returns()

func (*FlopperTransactor) Yank

func (_Flopper *FlopperTransactor) Yank(opts *bind.TransactOpts, id *big.Int) (*types.Transaction, error)

Yank is a paid mutator transaction binding the contract method 0x26e027f1.

Solidity: function yank(uint256 id) returns()

type FlopperTransactorRaw

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

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

func (*FlopperTransactorRaw) Transact

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

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

func (*FlopperTransactorRaw) Transfer

func (_Flopper *FlopperTransactorRaw) 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 FlopperTransactorSession

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

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

func (*FlopperTransactorSession) Cage

func (_Flopper *FlopperTransactorSession) Cage() (*types.Transaction, error)

Cage is a paid mutator transaction binding the contract method 0x69245009.

Solidity: function cage() returns()

func (*FlopperTransactorSession) Deal

func (_Flopper *FlopperTransactorSession) Deal(id *big.Int) (*types.Transaction, error)

Deal is a paid mutator transaction binding the contract method 0xc959c42b.

Solidity: function deal(uint256 id) returns()

func (*FlopperTransactorSession) Dent

func (_Flopper *FlopperTransactorSession) Dent(id *big.Int, lot *big.Int, bid *big.Int) (*types.Transaction, error)

Dent is a paid mutator transaction binding the contract method 0x5ff3a382.

Solidity: function dent(uint256 id, uint256 lot, uint256 bid) returns()

func (*FlopperTransactorSession) Deny

Deny is a paid mutator transaction binding the contract method 0x9c52a7f1.

Solidity: function deny(address usr) returns()

func (*FlopperTransactorSession) File

func (_Flopper *FlopperTransactorSession) File(what [32]byte, data *big.Int) (*types.Transaction, error)

File is a paid mutator transaction binding the contract method 0x29ae8114.

Solidity: function file(bytes32 what, uint256 data) returns()

func (*FlopperTransactorSession) Kick

func (_Flopper *FlopperTransactorSession) Kick(gal common.Address, lot *big.Int, bid *big.Int) (*types.Transaction, error)

Kick is a paid mutator transaction binding the contract method 0xb7e9cd24.

Solidity: function kick(address gal, uint256 lot, uint256 bid) returns(uint256 id)

func (*FlopperTransactorSession) Rely

Rely is a paid mutator transaction binding the contract method 0x65fae35e.

Solidity: function rely(address usr) returns()

func (*FlopperTransactorSession) Tick

func (_Flopper *FlopperTransactorSession) Tick(id *big.Int) (*types.Transaction, error)

Tick is a paid mutator transaction binding the contract method 0xfc7b6aee.

Solidity: function tick(uint256 id) returns()

func (*FlopperTransactorSession) Yank

func (_Flopper *FlopperTransactorSession) Yank(id *big.Int) (*types.Transaction, error)

Yank is a paid mutator transaction binding the contract method 0x26e027f1.

Solidity: function yank(uint256 id) returns()

type Jug

type Jug struct {
	JugCaller     // Read-only binding to the contract
	JugTransactor // Write-only binding to the contract
	JugFilterer   // Log filterer for contract events
}

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

func DeployJug

func DeployJug(auth *bind.TransactOpts, backend bind.ContractBackend, vat_ common.Address) (common.Address, *types.Transaction, *Jug, error)

DeployJug deploys a new Ethereum contract, binding an instance of Jug to it.

func LoadJug

func LoadJug(client *ethclient.Client) (*Jug, error)

func NewJug

func NewJug(address common.Address, backend bind.ContractBackend) (*Jug, error)

NewJug creates a new instance of Jug, bound to a specific deployed contract.

type JugCaller

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

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

func LoadJugCaller

func LoadJugCaller(client *ethclient.Client) (*JugCaller, error)

func NewJugCaller

func NewJugCaller(address common.Address, caller bind.ContractCaller) (*JugCaller, error)

NewJugCaller creates a new read-only instance of Jug, bound to a specific deployed contract.

func (*JugCaller) Base

func (_Jug *JugCaller) Base(opts *bind.CallOpts) (*big.Int, error)

Base is a free data retrieval call binding the contract method 0x5001f3b5.

Solidity: function base() constant returns(uint256)

func (*JugCaller) Ilks

func (_Jug *JugCaller) Ilks(opts *bind.CallOpts, arg0 [32]byte) (struct {
	Duty *big.Int
	Rho  *big.Int
}, error)

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

Solidity: function ilks(bytes32 ) constant returns(uint256 duty, uint256 rho)

func (*JugCaller) Vat

func (jug *JugCaller) Vat(backend bind.ContractBackend, opts *bind.CallOpts) (*Vat, error)

func (*JugCaller) VatAddress

func (_Jug *JugCaller) VatAddress(opts *bind.CallOpts) (common.Address, error)

VatAddress is a free data retrieval call binding the contract method 0x36569e77.

Solidity: function vat() constant returns(address)

func (*JugCaller) VowAddress

func (_Jug *JugCaller) VowAddress(opts *bind.CallOpts) (common.Address, error)

VowAddress is a free data retrieval call binding the contract method 0x626cb3c5.

Solidity: function vow() constant returns(address)

func (*JugCaller) Wards

func (_Jug *JugCaller) Wards(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

Wards is a free data retrieval call binding the contract method 0xbf353dbb.

Solidity: function wards(address ) constant returns(uint256)

type JugCallerRaw

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

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

func (*JugCallerRaw) Call

func (_Jug *JugCallerRaw) 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 JugCallerSession

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

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

func (*JugCallerSession) Base

func (_Jug *JugCallerSession) Base() (*big.Int, error)

Base is a free data retrieval call binding the contract method 0x5001f3b5.

Solidity: function base() constant returns(uint256)

func (*JugCallerSession) Ilks

func (_Jug *JugCallerSession) Ilks(arg0 [32]byte) (struct {
	Duty *big.Int
	Rho  *big.Int
}, error)

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

Solidity: function ilks(bytes32 ) constant returns(uint256 duty, uint256 rho)

func (*JugCallerSession) Vat

func (jug *JugCallerSession) Vat(backend bind.ContractBackend) (*Vat, error)

func (*JugCallerSession) VatAddress

func (_Jug *JugCallerSession) VatAddress() (common.Address, error)

VatAddress is a free data retrieval call binding the contract method 0x36569e77.

Solidity: function vat() constant returns(address)

func (*JugCallerSession) VowAddress

func (_Jug *JugCallerSession) VowAddress() (common.Address, error)

VowAddress is a free data retrieval call binding the contract method 0x626cb3c5.

Solidity: function vow() constant returns(address)

func (*JugCallerSession) Wards

func (_Jug *JugCallerSession) Wards(arg0 common.Address) (*big.Int, error)

Wards is a free data retrieval call binding the contract method 0xbf353dbb.

Solidity: function wards(address ) constant returns(uint256)

type JugFilterer

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

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

func NewJugFilterer

func NewJugFilterer(address common.Address, filterer bind.ContractFilterer) (*JugFilterer, error)

NewJugFilterer creates a new log filterer instance of Jug, bound to a specific deployed contract.

type JugRaw

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

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

func (*JugRaw) Call

func (_Jug *JugRaw) 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 (*JugRaw) Transact

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

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

func (*JugRaw) Transfer

func (_Jug *JugRaw) 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 JugSession

type JugSession struct {
	Contract     *Jug              // 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
}

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

func (*JugSession) Base

func (_Jug *JugSession) Base() (*big.Int, error)

Base is a free data retrieval call binding the contract method 0x5001f3b5.

Solidity: function base() constant returns(uint256)

func (*JugSession) Deny

func (_Jug *JugSession) 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 (*JugSession) Drip

func (_Jug *JugSession) Drip(ilk [32]byte) (*types.Transaction, error)

Drip is a paid mutator transaction binding the contract method 0x44e2a5a8.

Solidity: function drip(bytes32 ilk) returns(uint256 rate)

func (*JugSession) File

func (_Jug *JugSession) 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 (*JugSession) File0

func (_Jug *JugSession) 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 (*JugSession) File1

func (_Jug *JugSession) File1(what [32]byte, data common.Address) (*types.Transaction, error)

File1 is a paid mutator transaction binding the contract method 0xd4e8be83.

Solidity: function file(bytes32 what, address data) returns()

func (*JugSession) Ilks

func (_Jug *JugSession) Ilks(arg0 [32]byte) (struct {
	Duty *big.Int
	Rho  *big.Int
}, error)

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

Solidity: function ilks(bytes32 ) constant returns(uint256 duty, uint256 rho)

func (*JugSession) Init

func (_Jug *JugSession) 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 (*JugSession) Rely

func (_Jug *JugSession) 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 (*JugSession) Vat

func (jug *JugSession) Vat(backend bind.ContractBackend) (*Vat, error)

func (*JugSession) VatAddress

func (_Jug *JugSession) VatAddress() (common.Address, error)

VatAddress is a free data retrieval call binding the contract method 0x36569e77.

Solidity: function vat() constant returns(address)

func (*JugSession) VowAddress

func (_Jug *JugSession) VowAddress() (common.Address, error)

VowAddress is a free data retrieval call binding the contract method 0x626cb3c5.

Solidity: function vow() constant returns(address)

func (*JugSession) Wards

func (_Jug *JugSession) Wards(arg0 common.Address) (*big.Int, error)

Wards is a free data retrieval call binding the contract method 0xbf353dbb.

Solidity: function wards(address ) constant returns(uint256)

type JugTransactor

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

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

func NewJugTransactor

func NewJugTransactor(address common.Address, transactor bind.ContractTransactor) (*JugTransactor, error)

NewJugTransactor creates a new write-only instance of Jug, bound to a specific deployed contract.

func (*JugTransactor) Deny

func (_Jug *JugTransactor) 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 (*JugTransactor) Drip

func (_Jug *JugTransactor) Drip(opts *bind.TransactOpts, ilk [32]byte) (*types.Transaction, error)

Drip is a paid mutator transaction binding the contract method 0x44e2a5a8.

Solidity: function drip(bytes32 ilk) returns(uint256 rate)

func (*JugTransactor) File

func (_Jug *JugTransactor) 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 (*JugTransactor) File0

func (_Jug *JugTransactor) 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 (*JugTransactor) File1

func (_Jug *JugTransactor) File1(opts *bind.TransactOpts, what [32]byte, data common.Address) (*types.Transaction, error)

File1 is a paid mutator transaction binding the contract method 0xd4e8be83.

Solidity: function file(bytes32 what, address data) returns()

func (*JugTransactor) Init

func (_Jug *JugTransactor) 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 (*JugTransactor) Rely

func (_Jug *JugTransactor) 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()

type JugTransactorRaw

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

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

func (*JugTransactorRaw) Transact

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

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

func (*JugTransactorRaw) Transfer

func (_Jug *JugTransactorRaw) 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 JugTransactorSession

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

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

func (*JugTransactorSession) Deny

Deny is a paid mutator transaction binding the contract method 0x9c52a7f1.

Solidity: function deny(address usr) returns()

func (*JugTransactorSession) Drip

func (_Jug *JugTransactorSession) Drip(ilk [32]byte) (*types.Transaction, error)

Drip is a paid mutator transaction binding the contract method 0x44e2a5a8.

Solidity: function drip(bytes32 ilk) returns(uint256 rate)

func (*JugTransactorSession) File

func (_Jug *JugTransactorSession) 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 (*JugTransactorSession) File0

func (_Jug *JugTransactorSession) 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 (*JugTransactorSession) File1

func (_Jug *JugTransactorSession) File1(what [32]byte, data common.Address) (*types.Transaction, error)

File1 is a paid mutator transaction binding the contract method 0xd4e8be83.

Solidity: function file(bytes32 what, address data) returns()

func (*JugTransactorSession) Init

func (_Jug *JugTransactorSession) 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 (*JugTransactorSession) Rely

Rely is a paid mutator transaction binding the contract method 0x65fae35e.

Solidity: function rely(address usr) returns()

type Pot

type Pot struct {
	PotCaller     // Read-only binding to the contract
	PotTransactor // Write-only binding to the contract
	PotFilterer   // Log filterer for contract events
}

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

func DeployPot

func DeployPot(auth *bind.TransactOpts, backend bind.ContractBackend, vat_ common.Address) (common.Address, *types.Transaction, *Pot, error)

DeployPot deploys a new Ethereum contract, binding an instance of Pot to it.

func LoadPot

func LoadPot(client *ethclient.Client) (*Pot, error)

func NewPot

func NewPot(address common.Address, backend bind.ContractBackend) (*Pot, error)

NewPot creates a new instance of Pot, bound to a specific deployed contract.

type PotCaller

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

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

func LoadPotCaller

func LoadPotCaller(client *ethclient.Client) (*PotCaller, error)

func NewPotCaller

func NewPotCaller(address common.Address, caller bind.ContractCaller) (*PotCaller, error)

NewPotCaller creates a new read-only instance of Pot, bound to a specific deployed contract.

func (*PotCaller) Chi

func (_Pot *PotCaller) Chi(opts *bind.CallOpts) (*big.Int, error)

Chi is a free data retrieval call binding the contract method 0xc92aecc4.

Solidity: function chi() constant returns(uint256)

func (*PotCaller) Dsr

func (_Pot *PotCaller) Dsr(opts *bind.CallOpts) (*big.Int, error)

Dsr is a free data retrieval call binding the contract method 0x487bf082.

Solidity: function dsr() constant returns(uint256)

func (*PotCaller) Live

func (_Pot *PotCaller) Live(opts *bind.CallOpts) (*big.Int, error)

Live is a free data retrieval call binding the contract method 0x957aa58c.

Solidity: function live() constant returns(uint256)

func (*PotCaller) Pie

func (_Pot *PotCaller) Pie(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

Pie is a free data retrieval call binding the contract method 0x0bebac86.

Solidity: function pie(address ) constant returns(uint256)

func (*PotCaller) Rho

func (_Pot *PotCaller) Rho(opts *bind.CallOpts) (*big.Int, error)

Rho is a free data retrieval call binding the contract method 0x20aba08b.

Solidity: function rho() constant returns(uint256)

func (*PotCaller) TotalPie

func (_Pot *PotCaller) TotalPie(opts *bind.CallOpts) (*big.Int, error)

TotalPie is a free data retrieval call binding the contract method 0x2c69ed58.

Solidity: function Pie() constant returns(uint256)

func (*PotCaller) Vat

func (_Pot *PotCaller) Vat(opts *bind.CallOpts) (common.Address, error)

Vat is a free data retrieval call binding the contract method 0x36569e77.

Solidity: function vat() constant returns(address)

func (*PotCaller) Vow

func (_Pot *PotCaller) Vow(opts *bind.CallOpts) (common.Address, error)

Vow is a free data retrieval call binding the contract method 0x626cb3c5.

Solidity: function vow() constant returns(address)

func (*PotCaller) Wards

func (_Pot *PotCaller) Wards(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

Wards is a free data retrieval call binding the contract method 0xbf353dbb.

Solidity: function wards(address ) constant returns(uint256)

type PotCallerRaw

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

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

func (*PotCallerRaw) Call

func (_Pot *PotCallerRaw) 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 PotCallerSession

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

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

func (*PotCallerSession) Chi

func (_Pot *PotCallerSession) Chi() (*big.Int, error)

Chi is a free data retrieval call binding the contract method 0xc92aecc4.

Solidity: function chi() constant returns(uint256)

func (*PotCallerSession) Dsr

func (_Pot *PotCallerSession) Dsr() (*big.Int, error)

Dsr is a free data retrieval call binding the contract method 0x487bf082.

Solidity: function dsr() constant returns(uint256)

func (*PotCallerSession) Live

func (_Pot *PotCallerSession) Live() (*big.Int, error)

Live is a free data retrieval call binding the contract method 0x957aa58c.

Solidity: function live() constant returns(uint256)

func (*PotCallerSession) Pie

func (_Pot *PotCallerSession) Pie(arg0 common.Address) (*big.Int, error)

Pie is a free data retrieval call binding the contract method 0x0bebac86.

Solidity: function pie(address ) constant returns(uint256)

func (*PotCallerSession) Rho

func (_Pot *PotCallerSession) Rho() (*big.Int, error)

Rho is a free data retrieval call binding the contract method 0x20aba08b.

Solidity: function rho() constant returns(uint256)

func (*PotCallerSession) TotalPie

func (_Pot *PotCallerSession) TotalPie() (*big.Int, error)

TotalPie is a free data retrieval call binding the contract method 0x2c69ed58.

Solidity: function Pie() constant returns(uint256)

func (*PotCallerSession) Vat

func (_Pot *PotCallerSession) Vat() (common.Address, error)

Vat is a free data retrieval call binding the contract method 0x36569e77.

Solidity: function vat() constant returns(address)

func (*PotCallerSession) Vow

func (_Pot *PotCallerSession) Vow() (common.Address, error)

Vow is a free data retrieval call binding the contract method 0x626cb3c5.

Solidity: function vow() constant returns(address)

func (*PotCallerSession) Wards

func (_Pot *PotCallerSession) Wards(arg0 common.Address) (*big.Int, error)

Wards is a free data retrieval call binding the contract method 0xbf353dbb.

Solidity: function wards(address ) constant returns(uint256)

type PotFilterer

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

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

func NewPotFilterer

func NewPotFilterer(address common.Address, filterer bind.ContractFilterer) (*PotFilterer, error)

NewPotFilterer creates a new log filterer instance of Pot, bound to a specific deployed contract.

type PotRaw

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

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

func (*PotRaw) Call

func (_Pot *PotRaw) 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 (*PotRaw) Transact

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

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

func (*PotRaw) Transfer

func (_Pot *PotRaw) 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 PotSession

type PotSession struct {
	Contract     *Pot              // 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
}

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

func (*PotSession) Cage

func (_Pot *PotSession) Cage() (*types.Transaction, error)

Cage is a paid mutator transaction binding the contract method 0x69245009.

Solidity: function cage() returns()

func (*PotSession) Chi

func (_Pot *PotSession) Chi() (*big.Int, error)

Chi is a free data retrieval call binding the contract method 0xc92aecc4.

Solidity: function chi() constant returns(uint256)

func (*PotSession) Deny

func (_Pot *PotSession) Deny(guy common.Address) (*types.Transaction, error)

Deny is a paid mutator transaction binding the contract method 0x9c52a7f1.

Solidity: function deny(address guy) returns()

func (*PotSession) Drip

func (_Pot *PotSession) Drip() (*types.Transaction, error)

Drip is a paid mutator transaction binding the contract method 0x9f678cca.

Solidity: function drip() returns(uint256 tmp)

func (*PotSession) Dsr

func (_Pot *PotSession) Dsr() (*big.Int, error)

Dsr is a free data retrieval call binding the contract method 0x487bf082.

Solidity: function dsr() constant returns(uint256)

func (*PotSession) Exit

func (_Pot *PotSession) Exit(wad *big.Int) (*types.Transaction, error)

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

Solidity: function exit(uint256 wad) returns()

func (*PotSession) File

func (_Pot *PotSession) File(what [32]byte, data *big.Int) (*types.Transaction, error)

File is a paid mutator transaction binding the contract method 0x29ae8114.

Solidity: function file(bytes32 what, uint256 data) returns()

func (*PotSession) File0

func (_Pot *PotSession) File0(what [32]byte, addr common.Address) (*types.Transaction, error)

File0 is a paid mutator transaction binding the contract method 0xd4e8be83.

Solidity: function file(bytes32 what, address addr) returns()

func (*PotSession) Join

func (_Pot *PotSession) Join(wad *big.Int) (*types.Transaction, error)

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

Solidity: function join(uint256 wad) returns()

func (*PotSession) Live

func (_Pot *PotSession) Live() (*big.Int, error)

Live is a free data retrieval call binding the contract method 0x957aa58c.

Solidity: function live() constant returns(uint256)

func (*PotSession) Pie

func (_Pot *PotSession) Pie(arg0 common.Address) (*big.Int, error)

Pie is a free data retrieval call binding the contract method 0x0bebac86.

Solidity: function pie(address ) constant returns(uint256)

func (*PotSession) Rely

func (_Pot *PotSession) Rely(guy common.Address) (*types.Transaction, error)

Rely is a paid mutator transaction binding the contract method 0x65fae35e.

Solidity: function rely(address guy) returns()

func (*PotSession) Rho

func (_Pot *PotSession) Rho() (*big.Int, error)

Rho is a free data retrieval call binding the contract method 0x20aba08b.

Solidity: function rho() constant returns(uint256)

func (*PotSession) TotalPie

func (_Pot *PotSession) TotalPie() (*big.Int, error)

TotalPie is a free data retrieval call binding the contract method 0x2c69ed58.

Solidity: function Pie() constant returns(uint256)

func (*PotSession) Vat

func (_Pot *PotSession) Vat() (common.Address, error)

Vat is a free data retrieval call binding the contract method 0x36569e77.

Solidity: function vat() constant returns(address)

func (*PotSession) Vow

func (_Pot *PotSession) Vow() (common.Address, error)

Vow is a free data retrieval call binding the contract method 0x626cb3c5.

Solidity: function vow() constant returns(address)

func (*PotSession) Wards

func (_Pot *PotSession) Wards(arg0 common.Address) (*big.Int, error)

Wards is a free data retrieval call binding the contract method 0xbf353dbb.

Solidity: function wards(address ) constant returns(uint256)

type PotTransactor

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

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

func NewPotTransactor

func NewPotTransactor(address common.Address, transactor bind.ContractTransactor) (*PotTransactor, error)

NewPotTransactor creates a new write-only instance of Pot, bound to a specific deployed contract.

func (*PotTransactor) Cage

func (_Pot *PotTransactor) Cage(opts *bind.TransactOpts) (*types.Transaction, error)

Cage is a paid mutator transaction binding the contract method 0x69245009.

Solidity: function cage() returns()

func (*PotTransactor) Deny

func (_Pot *PotTransactor) Deny(opts *bind.TransactOpts, guy common.Address) (*types.Transaction, error)

Deny is a paid mutator transaction binding the contract method 0x9c52a7f1.

Solidity: function deny(address guy) returns()

func (*PotTransactor) Drip

func (_Pot *PotTransactor) Drip(opts *bind.TransactOpts) (*types.Transaction, error)

Drip is a paid mutator transaction binding the contract method 0x9f678cca.

Solidity: function drip() returns(uint256 tmp)

func (*PotTransactor) Exit

func (_Pot *PotTransactor) Exit(opts *bind.TransactOpts, wad *big.Int) (*types.Transaction, error)

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

Solidity: function exit(uint256 wad) returns()

func (*PotTransactor) File

func (_Pot *PotTransactor) File(opts *bind.TransactOpts, what [32]byte, data *big.Int) (*types.Transaction, error)

File is a paid mutator transaction binding the contract method 0x29ae8114.

Solidity: function file(bytes32 what, uint256 data) returns()

func (*PotTransactor) File0

func (_Pot *PotTransactor) File0(opts *bind.TransactOpts, what [32]byte, addr common.Address) (*types.Transaction, error)

File0 is a paid mutator transaction binding the contract method 0xd4e8be83.

Solidity: function file(bytes32 what, address addr) returns()

func (*PotTransactor) Join

func (_Pot *PotTransactor) Join(opts *bind.TransactOpts, wad *big.Int) (*types.Transaction, error)

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

Solidity: function join(uint256 wad) returns()

func (*PotTransactor) Rely

func (_Pot *PotTransactor) Rely(opts *bind.TransactOpts, guy common.Address) (*types.Transaction, error)

Rely is a paid mutator transaction binding the contract method 0x65fae35e.

Solidity: function rely(address guy) returns()

type PotTransactorRaw

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

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

func (*PotTransactorRaw) Transact

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

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

func (*PotTransactorRaw) Transfer

func (_Pot *PotTransactorRaw) 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 PotTransactorSession

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

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

func (*PotTransactorSession) Cage

func (_Pot *PotTransactorSession) Cage() (*types.Transaction, error)

Cage is a paid mutator transaction binding the contract method 0x69245009.

Solidity: function cage() returns()

func (*PotTransactorSession) Deny

Deny is a paid mutator transaction binding the contract method 0x9c52a7f1.

Solidity: function deny(address guy) returns()

func (*PotTransactorSession) Drip

func (_Pot *PotTransactorSession) Drip() (*types.Transaction, error)

Drip is a paid mutator transaction binding the contract method 0x9f678cca.

Solidity: function drip() returns(uint256 tmp)

func (*PotTransactorSession) Exit

func (_Pot *PotTransactorSession) Exit(wad *big.Int) (*types.Transaction, error)

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

Solidity: function exit(uint256 wad) returns()

func (*PotTransactorSession) File

func (_Pot *PotTransactorSession) File(what [32]byte, data *big.Int) (*types.Transaction, error)

File is a paid mutator transaction binding the contract method 0x29ae8114.

Solidity: function file(bytes32 what, uint256 data) returns()

func (*PotTransactorSession) File0

func (_Pot *PotTransactorSession) File0(what [32]byte, addr common.Address) (*types.Transaction, error)

File0 is a paid mutator transaction binding the contract method 0xd4e8be83.

Solidity: function file(bytes32 what, address addr) returns()

func (*PotTransactorSession) Join

func (_Pot *PotTransactorSession) Join(wad *big.Int) (*types.Transaction, error)

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

Solidity: function join(uint256 wad) returns()

func (*PotTransactorSession) Rely

Rely is a paid mutator transaction binding the contract method 0x65fae35e.

Solidity: function rely(address guy) returns()

type Vat

type Vat struct {
	VatCaller     // Read-only binding to the contract
	VatTransactor // Write-only binding to the contract
	VatFilterer   // Log filterer for contract events
}

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

func DeployVat

func DeployVat(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Vat, error)

DeployVat deploys a new Ethereum contract, binding an instance of Vat to it.

func LoadVat

func LoadVat(client *ethclient.Client) (*Vat, error)

func NewVat

func NewVat(address common.Address, backend bind.ContractBackend) (*Vat, error)

NewVat creates a new instance of Vat, bound to a specific deployed contract.

type VatCaller

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

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

func LoadVatCaller

func LoadVatCaller(client *ethclient.Client) (*VatCaller, error)

func NewVatCaller

func NewVatCaller(address common.Address, caller bind.ContractCaller) (*VatCaller, error)

NewVatCaller creates a new read-only instance of Vat, bound to a specific deployed contract.

func (*VatCaller) Can

func (_Vat *VatCaller) 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 ) constant returns(uint256)

func (*VatCaller) Dai

func (_Vat *VatCaller) 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 ) constant returns(uint256)

func (*VatCaller) Debt

func (_Vat *VatCaller) Debt(opts *bind.CallOpts) (*big.Int, error)

Debt is a free data retrieval call binding the contract method 0x0dca59c1.

Solidity: function debt() constant returns(uint256)

func (*VatCaller) Gem

func (_Vat *VatCaller) 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 ) constant returns(uint256)

func (*VatCaller) Ilks

func (_Vat *VatCaller) 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 ) constant returns(uint256 Art, uint256 rate, uint256 spot, uint256 line, uint256 dust)

func (*VatCaller) Line

func (_Vat *VatCaller) Line(opts *bind.CallOpts) (*big.Int, error)

Line is a free data retrieval call binding the contract method 0xbabe8a3f.

Solidity: function Line() constant returns(uint256)

func (*VatCaller) Live

func (_Vat *VatCaller) Live(opts *bind.CallOpts) (*big.Int, error)

Live is a free data retrieval call binding the contract method 0x957aa58c.

Solidity: function live() constant returns(uint256)

func (*VatCaller) Sin

func (_Vat *VatCaller) 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 ) constant returns(uint256)

func (*VatCaller) Urns

func (_Vat *VatCaller) 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 ) constant returns(uint256 ink, uint256 art)

func (*VatCaller) Vice

func (_Vat *VatCaller) Vice(opts *bind.CallOpts) (*big.Int, error)

Vice is a free data retrieval call binding the contract method 0x2d61a355.

Solidity: function vice() constant returns(uint256)

func (*VatCaller) Wards

func (_Vat *VatCaller) Wards(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

Wards is a free data retrieval call binding the contract method 0xbf353dbb.

Solidity: function wards(address ) constant returns(uint256)

type VatCallerRaw

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

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

func (*VatCallerRaw) Call

func (_Vat *VatCallerRaw) 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 VatCallerSession

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

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

func (*VatCallerSession) Can

func (_Vat *VatCallerSession) 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 ) constant returns(uint256)

func (*VatCallerSession) Dai

func (_Vat *VatCallerSession) Dai(arg0 common.Address) (*big.Int, error)

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

Solidity: function dai(address ) constant returns(uint256)

func (*VatCallerSession) Debt

func (_Vat *VatCallerSession) Debt() (*big.Int, error)

Debt is a free data retrieval call binding the contract method 0x0dca59c1.

Solidity: function debt() constant returns(uint256)

func (*VatCallerSession) Gem

func (_Vat *VatCallerSession) 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 ) constant returns(uint256)

func (*VatCallerSession) Ilks

func (_Vat *VatCallerSession) 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 ) constant returns(uint256 Art, uint256 rate, uint256 spot, uint256 line, uint256 dust)

func (*VatCallerSession) Line

func (_Vat *VatCallerSession) Line() (*big.Int, error)

Line is a free data retrieval call binding the contract method 0xbabe8a3f.

Solidity: function Line() constant returns(uint256)

func (*VatCallerSession) Live

func (_Vat *VatCallerSession) Live() (*big.Int, error)

Live is a free data retrieval call binding the contract method 0x957aa58c.

Solidity: function live() constant returns(uint256)

func (*VatCallerSession) Sin

func (_Vat *VatCallerSession) Sin(arg0 common.Address) (*big.Int, error)

Sin is a free data retrieval call binding the contract method 0xf059212a.

Solidity: function sin(address ) constant returns(uint256)

func (*VatCallerSession) Urns

func (_Vat *VatCallerSession) 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 ) constant returns(uint256 ink, uint256 art)

func (*VatCallerSession) Vice

func (_Vat *VatCallerSession) Vice() (*big.Int, error)

Vice is a free data retrieval call binding the contract method 0x2d61a355.

Solidity: function vice() constant returns(uint256)

func (*VatCallerSession) Wards

func (_Vat *VatCallerSession) Wards(arg0 common.Address) (*big.Int, error)

Wards is a free data retrieval call binding the contract method 0xbf353dbb.

Solidity: function wards(address ) constant returns(uint256)

type VatFilterer

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

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

func NewVatFilterer

func NewVatFilterer(address common.Address, filterer bind.ContractFilterer) (*VatFilterer, error)

NewVatFilterer creates a new log filterer instance of Vat, bound to a specific deployed contract.

type VatRaw

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

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

func (*VatRaw) Call

func (_Vat *VatRaw) 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 (*VatRaw) Transact

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

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

func (*VatRaw) Transfer

func (_Vat *VatRaw) 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 VatSession

type VatSession struct {
	Contract     *Vat              // 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
}

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

func (*VatSession) Cage

func (_Vat *VatSession) Cage() (*types.Transaction, error)

Cage is a paid mutator transaction binding the contract method 0x69245009.

Solidity: function cage() returns()

func (*VatSession) Can

func (_Vat *VatSession) 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 ) constant returns(uint256)

func (*VatSession) Dai

func (_Vat *VatSession) Dai(arg0 common.Address) (*big.Int, error)

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

Solidity: function dai(address ) constant returns(uint256)

func (*VatSession) Debt

func (_Vat *VatSession) Debt() (*big.Int, error)

Debt is a free data retrieval call binding the contract method 0x0dca59c1.

Solidity: function debt() constant returns(uint256)

func (*VatSession) Deny

func (_Vat *VatSession) 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 (*VatSession) File

func (_Vat *VatSession) 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 (*VatSession) File0

func (_Vat *VatSession) 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 (*VatSession) Flux

func (_Vat *VatSession) 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 (*VatSession) Fold

func (_Vat *VatSession) 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 (*VatSession) Fork

func (_Vat *VatSession) 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 (*VatSession) Frob

func (_Vat *VatSession) 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 (*VatSession) Gem

func (_Vat *VatSession) 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 ) constant returns(uint256)

func (*VatSession) Grab

func (_Vat *VatSession) 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 (*VatSession) Heal

func (_Vat *VatSession) 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 (*VatSession) Hope

func (_Vat *VatSession) 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 (*VatSession) Ilks

func (_Vat *VatSession) 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 ) constant returns(uint256 Art, uint256 rate, uint256 spot, uint256 line, uint256 dust)

func (*VatSession) Init

func (_Vat *VatSession) 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 (*VatSession) Line

func (_Vat *VatSession) Line() (*big.Int, error)

Line is a free data retrieval call binding the contract method 0xbabe8a3f.

Solidity: function Line() constant returns(uint256)

func (*VatSession) Live

func (_Vat *VatSession) Live() (*big.Int, error)

Live is a free data retrieval call binding the contract method 0x957aa58c.

Solidity: function live() constant returns(uint256)

func (*VatSession) Move

func (_Vat *VatSession) 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 (*VatSession) Nope

func (_Vat *VatSession) 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 (*VatSession) Rely

func (_Vat *VatSession) 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 (*VatSession) Sin

func (_Vat *VatSession) Sin(arg0 common.Address) (*big.Int, error)

Sin is a free data retrieval call binding the contract method 0xf059212a.

Solidity: function sin(address ) constant returns(uint256)

func (*VatSession) Slip

func (_Vat *VatSession) 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 (*VatSession) Suck

func (_Vat *VatSession) 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 (*VatSession) Urns

func (_Vat *VatSession) 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 ) constant returns(uint256 ink, uint256 art)

func (*VatSession) Vice

func (_Vat *VatSession) Vice() (*big.Int, error)

Vice is a free data retrieval call binding the contract method 0x2d61a355.

Solidity: function vice() constant returns(uint256)

func (*VatSession) Wards

func (_Vat *VatSession) Wards(arg0 common.Address) (*big.Int, error)

Wards is a free data retrieval call binding the contract method 0xbf353dbb.

Solidity: function wards(address ) constant returns(uint256)

type VatTransactor

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

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

func NewVatTransactor

func NewVatTransactor(address common.Address, transactor bind.ContractTransactor) (*VatTransactor, error)

NewVatTransactor creates a new write-only instance of Vat, bound to a specific deployed contract.

func (*VatTransactor) Cage

func (_Vat *VatTransactor) Cage(opts *bind.TransactOpts) (*types.Transaction, error)

Cage is a paid mutator transaction binding the contract method 0x69245009.

Solidity: function cage() returns()

func (*VatTransactor) Deny

func (_Vat *VatTransactor) 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 (*VatTransactor) File

func (_Vat *VatTransactor) 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 (*VatTransactor) File0

func (_Vat *VatTransactor) 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 (*VatTransactor) Flux

func (_Vat *VatTransactor) 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 (*VatTransactor) Fold

func (_Vat *VatTransactor) 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 (*VatTransactor) Fork

func (_Vat *VatTransactor) 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 (*VatTransactor) Frob

func (_Vat *VatTransactor) 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 (*VatTransactor) Grab

func (_Vat *VatTransactor) 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 (*VatTransactor) Heal

func (_Vat *VatTransactor) 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 (*VatTransactor) Hope

func (_Vat *VatTransactor) 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 (*VatTransactor) Init

func (_Vat *VatTransactor) 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 (*VatTransactor) Move

func (_Vat *VatTransactor) 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 (*VatTransactor) Nope

func (_Vat *VatTransactor) 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 (*VatTransactor) Rely

func (_Vat *VatTransactor) 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 (*VatTransactor) Slip

func (_Vat *VatTransactor) 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 (*VatTransactor) Suck

Suck is a paid mutator transaction binding the contract method 0xf24e23eb.

Solidity: function suck(address u, address v, uint256 rad) returns()

type VatTransactorRaw

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

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

func (*VatTransactorRaw) Transact

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

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

func (*VatTransactorRaw) Transfer

func (_Vat *VatTransactorRaw) 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 VatTransactorSession

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

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

func (*VatTransactorSession) Cage

func (_Vat *VatTransactorSession) Cage() (*types.Transaction, error)

Cage is a paid mutator transaction binding the contract method 0x69245009.

Solidity: function cage() returns()

func (*VatTransactorSession) Deny

Deny is a paid mutator transaction binding the contract method 0x9c52a7f1.

Solidity: function deny(address usr) returns()

func (*VatTransactorSession) File

func (_Vat *VatTransactorSession) 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 (*VatTransactorSession) File0

func (_Vat *VatTransactorSession) 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 (*VatTransactorSession) Flux

func (_Vat *VatTransactorSession) 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 (*VatTransactorSession) Fold

func (_Vat *VatTransactorSession) 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 (*VatTransactorSession) Fork

func (_Vat *VatTransactorSession) 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 (*VatTransactorSession) Frob

func (_Vat *VatTransactorSession) 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 (*VatTransactorSession) Grab

func (_Vat *VatTransactorSession) 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 (*VatTransactorSession) Heal

func (_Vat *VatTransactorSession) 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 (*VatTransactorSession) Hope

Hope is a paid mutator transaction binding the contract method 0xa3b22fc4.

Solidity: function hope(address usr) returns()

func (*VatTransactorSession) Init

func (_Vat *VatTransactorSession) 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 (*VatTransactorSession) Move

func (_Vat *VatTransactorSession) 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 (*VatTransactorSession) Nope

Nope is a paid mutator transaction binding the contract method 0xdc4d20fa.

Solidity: function nope(address usr) returns()

func (*VatTransactorSession) Rely

Rely is a paid mutator transaction binding the contract method 0x65fae35e.

Solidity: function rely(address usr) returns()

func (*VatTransactorSession) Slip

func (_Vat *VatTransactorSession) 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 (*VatTransactorSession) Suck

Suck is a paid mutator transaction binding the contract method 0xf24e23eb.

Solidity: function suck(address u, address v, uint256 rad) returns()

Jump to

Keyboard shortcuts

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