Versions in this module Expand all Collapse all v1 v1.0.0 Sep 27, 2020 Changes in this version + const MigrationsABI + var MigrationsBin = "0x608060405234801561001057600080fd5b50336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506102b8806100606000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c80630900f01014610051578063445df0ac146100955780638da5cb5b146100b3578063fdacd576146100fd575b600080fd5b6100936004803603602081101561006757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061012b565b005b61009d6101f7565b6040518082815260200191505060405180910390f35b6100bb6101fd565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6101296004803603602081101561011357600080fd5b8101908080359060200190929190505050610222565b005b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156101f45760008190508073ffffffffffffffffffffffffffffffffffffffff1663fdacd5766001546040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b1580156101da57600080fd5b505af11580156101ee573d6000803e3d6000fd5b50505050505b50565b60015481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141561027f57806001819055505b5056fea2646970667358221220f124f116129d8cb7f19b93fdaf6d76348b28dcd45e9c8d6e4bef5eae2bca96fa64736f6c63430006040033" + type Migrations struct + func DeployMigrations(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Migrations, error) + func NewMigrations(address common.Address, backend bind.ContractBackend) (*Migrations, error) + type MigrationsCaller struct + func NewMigrationsCaller(address common.Address, caller bind.ContractCaller) (*MigrationsCaller, error) + func (_Migrations *MigrationsCaller) LastCompletedMigration(opts *bind.CallOpts) (*big.Int, error) + func (_Migrations *MigrationsCaller) Owner(opts *bind.CallOpts) (common.Address, error) + type MigrationsCallerRaw struct + Contract *MigrationsCaller + func (_Migrations *MigrationsCallerRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error + type MigrationsCallerSession struct + CallOpts bind.CallOpts + Contract *MigrationsCaller + func (_Migrations *MigrationsCallerSession) LastCompletedMigration() (*big.Int, error) + func (_Migrations *MigrationsCallerSession) Owner() (common.Address, error) + type MigrationsFilterer struct + func NewMigrationsFilterer(address common.Address, filterer bind.ContractFilterer) (*MigrationsFilterer, error) + type MigrationsRaw struct + Contract *Migrations + 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 struct + CallOpts bind.CallOpts + Contract *Migrations + TransactOpts bind.TransactOpts + func (_Migrations *MigrationsSession) LastCompletedMigration() (*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 struct + func NewMigrationsTransactor(address common.Address, transactor bind.ContractTransactor) (*MigrationsTransactor, error) + func (_Migrations *MigrationsTransactor) SetCompleted(opts *bind.TransactOpts, completed *big.Int) (*types.Transaction, error) + func (_Migrations *MigrationsTransactor) Upgrade(opts *bind.TransactOpts, new_address common.Address) (*types.Transaction, error) + type MigrationsTransactorRaw struct + Contract *MigrationsTransactor + func (_Migrations *MigrationsTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_Migrations *MigrationsTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type MigrationsTransactorSession struct + Contract *MigrationsTransactor + TransactOpts bind.TransactOpts + func (_Migrations *MigrationsTransactorSession) SetCompleted(completed *big.Int) (*types.Transaction, error) + func (_Migrations *MigrationsTransactorSession) Upgrade(new_address common.Address) (*types.Transaction, error)