portal

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2019 License: Unlicense Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const PortalABI = "" /* 4467-byte string literal not displayed */

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

Variables

This section is empty.

Functions

This section is empty.

Types

type Portal

type Portal struct {
	PortalCaller     // Read-only binding to the contract
	PortalTransactor // Write-only binding to the contract
	PortalFilterer   // Log filterer for contract events
}

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

func NewPortal

func NewPortal(address common.Address, backend bind.ContractBackend) (*Portal, error)

NewPortal creates a new instance of Portal, bound to a specific deployed contract.

type PortalCaller

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

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

func NewPortalCaller

func NewPortalCaller(address common.Address, caller bind.ContractCaller) (*PortalCaller, error)

NewPortalCaller creates a new read-only instance of Portal, bound to a specific deployed contract.

type PortalCallerRaw

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

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

func (*PortalCallerRaw) Call

func (_Portal *PortalCallerRaw) 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 PortalCallerSession

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

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

type PortalFilterer

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

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

func NewPortalFilterer

func NewPortalFilterer(address common.Address, filterer bind.ContractFilterer) (*PortalFilterer, error)

NewPortalFilterer creates a new log filterer instance of Portal, bound to a specific deployed contract.

type PortalRaw

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

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

func (*PortalRaw) Call

func (_Portal *PortalRaw) 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 (*PortalRaw) Transact

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

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

func (*PortalRaw) Transfer

func (_Portal *PortalRaw) 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 PortalSession

type PortalSession struct {
	Contract     *Portal           // 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
}

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

func (*PortalSession) CreateAndOpen

func (_Portal *PortalSession) CreateAndOpen(registry_ common.Address, tub_ common.Address) (*types.Transaction, error)

CreateAndOpen is a paid mutator transaction binding the contract method 0x581f3c50.

Solidity: function createAndOpen(registry_ address, tub_ address) returns(proxy address, cup bytes32)

func (*PortalSession) CreateOpenAndLock

func (_Portal *PortalSession) CreateOpenAndLock(registry_ common.Address, tub_ common.Address) (*types.Transaction, error)

CreateOpenAndLock is a paid mutator transaction binding the contract method 0xeefe3818.

Solidity: function createOpenAndLock(registry_ address, tub_ address) returns(proxy address, cup bytes32)

func (*PortalSession) CreateOpenLockAndDraw

func (_Portal *PortalSession) CreateOpenLockAndDraw(registry_ common.Address, tub_ common.Address, wad *big.Int) (*types.Transaction, error)

CreateOpenLockAndDraw is a paid mutator transaction binding the contract method 0xd3140a65.

Solidity: function createOpenLockAndDraw(registry_ address, tub_ address, wad uint256) returns(proxy address, cup bytes32)

func (*PortalSession) Draw

func (_Portal *PortalSession) Draw(tub_ common.Address, cup [32]byte, wad *big.Int) (*types.Transaction, error)

Draw is a paid mutator transaction binding the contract method 0x0344a36f.

Solidity: function draw(tub_ address, cup bytes32, wad uint256) returns()

func (*PortalSession) Free

func (_Portal *PortalSession) Free(tub_ common.Address, cup [32]byte, jam *big.Int) (*types.Transaction, error)

Free is a paid mutator transaction binding the contract method 0xf9ef04be.

Solidity: function free(tub_ address, cup bytes32, jam uint256) returns()

func (*PortalSession) Give

func (_Portal *PortalSession) Give(tub_ common.Address, cup [32]byte, lad common.Address) (*types.Transaction, error)

Give is a paid mutator transaction binding the contract method 0xda93dfcf.

Solidity: function give(tub_ address, cup bytes32, lad address) returns()

func (*PortalSession) Lock

func (_Portal *PortalSession) Lock(tub_ common.Address, cup [32]byte) (*types.Transaction, error)

Lock is a paid mutator transaction binding the contract method 0xbc25a810.

Solidity: function lock(tub_ address, cup bytes32) returns()

func (*PortalSession) LockAndDraw

func (_Portal *PortalSession) LockAndDraw(tub_ common.Address, wad *big.Int) (*types.Transaction, error)

LockAndDraw is a paid mutator transaction binding the contract method 0x516e9aec.

Solidity: function lockAndDraw(tub_ address, wad uint256) returns(cup bytes32)

func (*PortalSession) Open

func (_Portal *PortalSession) Open(tub_ common.Address) (*types.Transaction, error)

Open is a paid mutator transaction binding the contract method 0xb95460f8.

Solidity: function open(tub_ address) returns(bytes32)

func (*PortalSession) Shut

func (_Portal *PortalSession) Shut(tub_ common.Address, cup [32]byte) (*types.Transaction, error)

Shut is a paid mutator transaction binding the contract method 0xbc244c11.

Solidity: function shut(tub_ address, cup bytes32) returns()

func (*PortalSession) Wipe

func (_Portal *PortalSession) Wipe(tub_ common.Address, cup [32]byte, wad *big.Int) (*types.Transaction, error)

Wipe is a paid mutator transaction binding the contract method 0xa3dc65a7.

Solidity: function wipe(tub_ address, cup bytes32, wad uint256) returns()

func (*PortalSession) WipeAndFree

func (_Portal *PortalSession) WipeAndFree(tub_ common.Address, cup [32]byte, jam *big.Int, wad *big.Int) (*types.Transaction, error)

WipeAndFree is a paid mutator transaction binding the contract method 0xfaed77ab.

Solidity: function wipeAndFree(tub_ address, cup bytes32, jam uint256, wad uint256) returns()

type PortalTransactor

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

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

func NewPortalTransactor

func NewPortalTransactor(address common.Address, transactor bind.ContractTransactor) (*PortalTransactor, error)

NewPortalTransactor creates a new write-only instance of Portal, bound to a specific deployed contract.

func (*PortalTransactor) CreateAndOpen

func (_Portal *PortalTransactor) CreateAndOpen(opts *bind.TransactOpts, registry_ common.Address, tub_ common.Address) (*types.Transaction, error)

CreateAndOpen is a paid mutator transaction binding the contract method 0x581f3c50.

Solidity: function createAndOpen(registry_ address, tub_ address) returns(proxy address, cup bytes32)

func (*PortalTransactor) CreateOpenAndLock

func (_Portal *PortalTransactor) CreateOpenAndLock(opts *bind.TransactOpts, registry_ common.Address, tub_ common.Address) (*types.Transaction, error)

CreateOpenAndLock is a paid mutator transaction binding the contract method 0xeefe3818.

Solidity: function createOpenAndLock(registry_ address, tub_ address) returns(proxy address, cup bytes32)

func (*PortalTransactor) CreateOpenLockAndDraw

func (_Portal *PortalTransactor) CreateOpenLockAndDraw(opts *bind.TransactOpts, registry_ common.Address, tub_ common.Address, wad *big.Int) (*types.Transaction, error)

CreateOpenLockAndDraw is a paid mutator transaction binding the contract method 0xd3140a65.

Solidity: function createOpenLockAndDraw(registry_ address, tub_ address, wad uint256) returns(proxy address, cup bytes32)

func (*PortalTransactor) Draw

func (_Portal *PortalTransactor) Draw(opts *bind.TransactOpts, tub_ common.Address, cup [32]byte, wad *big.Int) (*types.Transaction, error)

Draw is a paid mutator transaction binding the contract method 0x0344a36f.

Solidity: function draw(tub_ address, cup bytes32, wad uint256) returns()

func (*PortalTransactor) Free

func (_Portal *PortalTransactor) Free(opts *bind.TransactOpts, tub_ common.Address, cup [32]byte, jam *big.Int) (*types.Transaction, error)

Free is a paid mutator transaction binding the contract method 0xf9ef04be.

Solidity: function free(tub_ address, cup bytes32, jam uint256) returns()

func (*PortalTransactor) Give

func (_Portal *PortalTransactor) Give(opts *bind.TransactOpts, tub_ common.Address, cup [32]byte, lad common.Address) (*types.Transaction, error)

Give is a paid mutator transaction binding the contract method 0xda93dfcf.

Solidity: function give(tub_ address, cup bytes32, lad address) returns()

func (*PortalTransactor) Lock

func (_Portal *PortalTransactor) Lock(opts *bind.TransactOpts, tub_ common.Address, cup [32]byte) (*types.Transaction, error)

Lock is a paid mutator transaction binding the contract method 0xbc25a810.

Solidity: function lock(tub_ address, cup bytes32) returns()

func (*PortalTransactor) LockAndDraw

func (_Portal *PortalTransactor) LockAndDraw(opts *bind.TransactOpts, tub_ common.Address, wad *big.Int) (*types.Transaction, error)

LockAndDraw is a paid mutator transaction binding the contract method 0x516e9aec.

Solidity: function lockAndDraw(tub_ address, wad uint256) returns(cup bytes32)

func (*PortalTransactor) Open

func (_Portal *PortalTransactor) Open(opts *bind.TransactOpts, tub_ common.Address) (*types.Transaction, error)

Open is a paid mutator transaction binding the contract method 0xb95460f8.

Solidity: function open(tub_ address) returns(bytes32)

func (*PortalTransactor) Shut

func (_Portal *PortalTransactor) Shut(opts *bind.TransactOpts, tub_ common.Address, cup [32]byte) (*types.Transaction, error)

Shut is a paid mutator transaction binding the contract method 0xbc244c11.

Solidity: function shut(tub_ address, cup bytes32) returns()

func (*PortalTransactor) Wipe

func (_Portal *PortalTransactor) Wipe(opts *bind.TransactOpts, tub_ common.Address, cup [32]byte, wad *big.Int) (*types.Transaction, error)

Wipe is a paid mutator transaction binding the contract method 0xa3dc65a7.

Solidity: function wipe(tub_ address, cup bytes32, wad uint256) returns()

func (*PortalTransactor) WipeAndFree

func (_Portal *PortalTransactor) WipeAndFree(opts *bind.TransactOpts, tub_ common.Address, cup [32]byte, jam *big.Int, wad *big.Int) (*types.Transaction, error)

WipeAndFree is a paid mutator transaction binding the contract method 0xfaed77ab.

Solidity: function wipeAndFree(tub_ address, cup bytes32, jam uint256, wad uint256) returns()

type PortalTransactorRaw

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

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

func (*PortalTransactorRaw) Transact

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

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

func (*PortalTransactorRaw) Transfer

func (_Portal *PortalTransactorRaw) 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 PortalTransactorSession

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

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

func (*PortalTransactorSession) CreateAndOpen

func (_Portal *PortalTransactorSession) CreateAndOpen(registry_ common.Address, tub_ common.Address) (*types.Transaction, error)

CreateAndOpen is a paid mutator transaction binding the contract method 0x581f3c50.

Solidity: function createAndOpen(registry_ address, tub_ address) returns(proxy address, cup bytes32)

func (*PortalTransactorSession) CreateOpenAndLock

func (_Portal *PortalTransactorSession) CreateOpenAndLock(registry_ common.Address, tub_ common.Address) (*types.Transaction, error)

CreateOpenAndLock is a paid mutator transaction binding the contract method 0xeefe3818.

Solidity: function createOpenAndLock(registry_ address, tub_ address) returns(proxy address, cup bytes32)

func (*PortalTransactorSession) CreateOpenLockAndDraw

func (_Portal *PortalTransactorSession) CreateOpenLockAndDraw(registry_ common.Address, tub_ common.Address, wad *big.Int) (*types.Transaction, error)

CreateOpenLockAndDraw is a paid mutator transaction binding the contract method 0xd3140a65.

Solidity: function createOpenLockAndDraw(registry_ address, tub_ address, wad uint256) returns(proxy address, cup bytes32)

func (*PortalTransactorSession) Draw

func (_Portal *PortalTransactorSession) Draw(tub_ common.Address, cup [32]byte, wad *big.Int) (*types.Transaction, error)

Draw is a paid mutator transaction binding the contract method 0x0344a36f.

Solidity: function draw(tub_ address, cup bytes32, wad uint256) returns()

func (*PortalTransactorSession) Free

func (_Portal *PortalTransactorSession) Free(tub_ common.Address, cup [32]byte, jam *big.Int) (*types.Transaction, error)

Free is a paid mutator transaction binding the contract method 0xf9ef04be.

Solidity: function free(tub_ address, cup bytes32, jam uint256) returns()

func (*PortalTransactorSession) Give

func (_Portal *PortalTransactorSession) Give(tub_ common.Address, cup [32]byte, lad common.Address) (*types.Transaction, error)

Give is a paid mutator transaction binding the contract method 0xda93dfcf.

Solidity: function give(tub_ address, cup bytes32, lad address) returns()

func (*PortalTransactorSession) Lock

func (_Portal *PortalTransactorSession) Lock(tub_ common.Address, cup [32]byte) (*types.Transaction, error)

Lock is a paid mutator transaction binding the contract method 0xbc25a810.

Solidity: function lock(tub_ address, cup bytes32) returns()

func (*PortalTransactorSession) LockAndDraw

func (_Portal *PortalTransactorSession) LockAndDraw(tub_ common.Address, wad *big.Int) (*types.Transaction, error)

LockAndDraw is a paid mutator transaction binding the contract method 0x516e9aec.

Solidity: function lockAndDraw(tub_ address, wad uint256) returns(cup bytes32)

func (*PortalTransactorSession) Open

func (_Portal *PortalTransactorSession) Open(tub_ common.Address) (*types.Transaction, error)

Open is a paid mutator transaction binding the contract method 0xb95460f8.

Solidity: function open(tub_ address) returns(bytes32)

func (*PortalTransactorSession) Shut

func (_Portal *PortalTransactorSession) Shut(tub_ common.Address, cup [32]byte) (*types.Transaction, error)

Shut is a paid mutator transaction binding the contract method 0xbc244c11.

Solidity: function shut(tub_ address, cup bytes32) returns()

func (*PortalTransactorSession) Wipe

func (_Portal *PortalTransactorSession) Wipe(tub_ common.Address, cup [32]byte, wad *big.Int) (*types.Transaction, error)

Wipe is a paid mutator transaction binding the contract method 0xa3dc65a7.

Solidity: function wipe(tub_ address, cup bytes32, wad uint256) returns()

func (*PortalTransactorSession) WipeAndFree

func (_Portal *PortalTransactorSession) WipeAndFree(tub_ common.Address, cup [32]byte, jam *big.Int, wad *big.Int) (*types.Transaction, error)

WipeAndFree is a paid mutator transaction binding the contract method 0xfaed77ab.

Solidity: function wipeAndFree(tub_ address, cup bytes32, jam uint256, wad uint256) returns()

Jump to

Keyboard shortcuts

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