Documentation ¶
Index ¶
- Constants
- type Migrations
- type MigrationsCaller
- type MigrationsCallerRaw
- type MigrationsCallerSession
- type MigrationsFilterer
- type MigrationsRaw
- func (_Migrations *MigrationsRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_Migrations *MigrationsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Migrations *MigrationsRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type MigrationsSession
- func (_Migrations *MigrationsSession) Last_completed_migration() (*big.Int, error)
- func (_Migrations *MigrationsSession) Owner() (common.Address, error)
- func (_Migrations *MigrationsSession) SetCompleted(completed *big.Int) (*types.Transaction, error)
- func (_Migrations *MigrationsSession) Upgrade(new_address common.Address) (*types.Transaction, error)
- type MigrationsTransactor
- type MigrationsTransactorRaw
- type MigrationsTransactorSession
Constants ¶
const MigrationsABI = "" /* 849-byte string literal not displayed */
MigrationsABI is the input ABI used to generate the binding from.
const MigrationsBin = `` /* 1242-byte string literal not displayed */
MigrationsBin is the compiled bytecode used for deploying new contracts.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Migrations ¶
type Migrations struct { MigrationsCaller // Read-only binding to the contract MigrationsTransactor // Write-only binding to the contract MigrationsFilterer // Log filterer for contract events }
Migrations is an auto generated Go binding around an Ethereum contract.
func DeployMigrations ¶
func DeployMigrations(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Migrations, error)
DeployMigrations deploys a new Ethereum contract, binding an instance of Migrations to it.
func NewMigrations ¶
func NewMigrations(address common.Address, backend bind.ContractBackend) (*Migrations, error)
NewMigrations creates a new instance of Migrations, bound to a specific deployed contract.
type MigrationsCaller ¶
type MigrationsCaller struct {
// contains filtered or unexported fields
}
MigrationsCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewMigrationsCaller ¶
func NewMigrationsCaller(address common.Address, caller bind.ContractCaller) (*MigrationsCaller, error)
NewMigrationsCaller creates a new read-only instance of Migrations, bound to a specific deployed contract.
func (*MigrationsCaller) Last_completed_migration ¶
func (_Migrations *MigrationsCaller) Last_completed_migration(opts *bind.CallOpts) (*big.Int, error)
Last_completed_migration is a free data retrieval call binding the contract method 0x445df0ac.
Solidity: function last_completed_migration() constant returns(uint256)
type MigrationsCallerRaw ¶
type MigrationsCallerRaw struct {
Contract *MigrationsCaller // Generic read-only contract binding to access the raw methods on
}
MigrationsCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*MigrationsCallerRaw) Call ¶
func (_Migrations *MigrationsCallerRaw) 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 MigrationsCallerSession ¶
type MigrationsCallerSession struct { Contract *MigrationsCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
MigrationsCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*MigrationsCallerSession) Last_completed_migration ¶
func (_Migrations *MigrationsCallerSession) Last_completed_migration() (*big.Int, error)
Last_completed_migration is a free data retrieval call binding the contract method 0x445df0ac.
Solidity: function last_completed_migration() constant returns(uint256)
type MigrationsFilterer ¶
type MigrationsFilterer struct {
// contains filtered or unexported fields
}
MigrationsFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewMigrationsFilterer ¶
func NewMigrationsFilterer(address common.Address, filterer bind.ContractFilterer) (*MigrationsFilterer, error)
NewMigrationsFilterer creates a new log filterer instance of Migrations, bound to a specific deployed contract.
type MigrationsRaw ¶
type MigrationsRaw struct {
Contract *Migrations // Generic contract binding to access the raw methods on
}
MigrationsRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*MigrationsRaw) Call ¶
func (_Migrations *MigrationsRaw) 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 (*MigrationsRaw) Transact ¶
func (_Migrations *MigrationsRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MigrationsRaw) Transfer ¶
func (_Migrations *MigrationsRaw) 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 MigrationsSession ¶
type MigrationsSession struct { Contract *Migrations // 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 }
MigrationsSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*MigrationsSession) Last_completed_migration ¶
func (_Migrations *MigrationsSession) Last_completed_migration() (*big.Int, error)
Last_completed_migration is a free data retrieval call binding the contract method 0x445df0ac.
Solidity: function last_completed_migration() constant returns(uint256)
func (*MigrationsSession) Owner ¶
func (_Migrations *MigrationsSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*MigrationsSession) SetCompleted ¶
func (_Migrations *MigrationsSession) SetCompleted(completed *big.Int) (*types.Transaction, error)
SetCompleted is a paid mutator transaction binding the contract method 0xfdacd576.
Solidity: function setCompleted(completed uint256) returns()
func (*MigrationsSession) Upgrade ¶
func (_Migrations *MigrationsSession) Upgrade(new_address common.Address) (*types.Transaction, error)
Upgrade is a paid mutator transaction binding the contract method 0x0900f010.
Solidity: function upgrade(new_address address) returns()
type MigrationsTransactor ¶
type MigrationsTransactor struct {
// contains filtered or unexported fields
}
MigrationsTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewMigrationsTransactor ¶
func NewMigrationsTransactor(address common.Address, transactor bind.ContractTransactor) (*MigrationsTransactor, error)
NewMigrationsTransactor creates a new write-only instance of Migrations, bound to a specific deployed contract.
func (*MigrationsTransactor) SetCompleted ¶
func (_Migrations *MigrationsTransactor) SetCompleted(opts *bind.TransactOpts, completed *big.Int) (*types.Transaction, error)
SetCompleted is a paid mutator transaction binding the contract method 0xfdacd576.
Solidity: function setCompleted(completed uint256) returns()
func (*MigrationsTransactor) Upgrade ¶
func (_Migrations *MigrationsTransactor) Upgrade(opts *bind.TransactOpts, new_address common.Address) (*types.Transaction, error)
Upgrade is a paid mutator transaction binding the contract method 0x0900f010.
Solidity: function upgrade(new_address address) returns()
type MigrationsTransactorRaw ¶
type MigrationsTransactorRaw struct {
Contract *MigrationsTransactor // Generic write-only contract binding to access the raw methods on
}
MigrationsTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*MigrationsTransactorRaw) Transact ¶
func (_Migrations *MigrationsTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MigrationsTransactorRaw) Transfer ¶
func (_Migrations *MigrationsTransactorRaw) 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 MigrationsTransactorSession ¶
type MigrationsTransactorSession struct { Contract *MigrationsTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
MigrationsTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*MigrationsTransactorSession) SetCompleted ¶
func (_Migrations *MigrationsTransactorSession) SetCompleted(completed *big.Int) (*types.Transaction, error)
SetCompleted is a paid mutator transaction binding the contract method 0xfdacd576.
Solidity: function setCompleted(completed uint256) returns()
func (*MigrationsTransactorSession) Upgrade ¶
func (_Migrations *MigrationsTransactorSession) Upgrade(new_address common.Address) (*types.Transaction, error)
Upgrade is a paid mutator transaction binding the contract method 0x0900f010.
Solidity: function upgrade(new_address address) returns()