timelock

package
v0.0.0-...-e0cfe8b Latest Latest
Warning

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

Go to latest
Published: May 24, 2021 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const LoomTimelockFactoryABI = "" /* 1106-byte string literal not displayed */

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

View Source
const TokenTimelockABI = "" /* 909-byte string literal not displayed */

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

Variables

This section is empty.

Functions

This section is empty.

Types

type LoomTimelockFactory

type LoomTimelockFactory struct {
	LoomTimelockFactoryCaller     // Read-only binding to the contract
	LoomTimelockFactoryTransactor // Write-only binding to the contract
	LoomTimelockFactoryFilterer   // Log filterer for contract events
}

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

func NewLoomTimelockFactory

func NewLoomTimelockFactory(address common.Address, backend bind.ContractBackend) (*LoomTimelockFactory, error)

NewLoomTimelockFactory creates a new instance of LoomTimelockFactory, bound to a specific deployed contract.

type LoomTimelockFactoryCaller

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

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

func NewLoomTimelockFactoryCaller

func NewLoomTimelockFactoryCaller(address common.Address, caller bind.ContractCaller) (*LoomTimelockFactoryCaller, error)

NewLoomTimelockFactoryCaller creates a new read-only instance of LoomTimelockFactory, bound to a specific deployed contract.

type LoomTimelockFactoryCallerRaw

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

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

func (*LoomTimelockFactoryCallerRaw) Call

func (_LoomTimelockFactory *LoomTimelockFactoryCallerRaw) 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 LoomTimelockFactoryCallerSession

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

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

type LoomTimelockFactoryFilterer

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

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

func NewLoomTimelockFactoryFilterer

func NewLoomTimelockFactoryFilterer(address common.Address, filterer bind.ContractFilterer) (*LoomTimelockFactoryFilterer, error)

NewLoomTimelockFactoryFilterer creates a new log filterer instance of LoomTimelockFactory, bound to a specific deployed contract.

func (*LoomTimelockFactoryFilterer) FilterLoomTimeLockCreated

func (_LoomTimelockFactory *LoomTimelockFactoryFilterer) FilterLoomTimeLockCreated(opts *bind.FilterOpts) (*LoomTimelockFactoryLoomTimeLockCreatedIterator, error)

FilterLoomTimeLockCreated is a free log retrieval operation binding the contract event 0x920eb344f07704601d8be5e215805a8f8bf98fd7b7c0b73d48a0f61ac61bffd6.

Solidity: e LoomTimeLockCreated(validatorEthAddress address, timelockContractAddress address, validatorName string, validatorPublicKey string, _amount uint256, _duration uint256, _releaseTime uint256)

func (*LoomTimelockFactoryFilterer) WatchLoomTimeLockCreated

func (_LoomTimelockFactory *LoomTimelockFactoryFilterer) WatchLoomTimeLockCreated(opts *bind.WatchOpts, sink chan<- *LoomTimelockFactoryLoomTimeLockCreated) (event.Subscription, error)

WatchLoomTimeLockCreated is a free log subscription operation binding the contract event 0x920eb344f07704601d8be5e215805a8f8bf98fd7b7c0b73d48a0f61ac61bffd6.

Solidity: e LoomTimeLockCreated(validatorEthAddress address, timelockContractAddress address, validatorName string, validatorPublicKey string, _amount uint256, _duration uint256, _releaseTime uint256)

type LoomTimelockFactoryLoomTimeLockCreated

type LoomTimelockFactoryLoomTimeLockCreated struct {
	ValidatorEthAddress     common.Address
	TimelockContractAddress common.Address
	ValidatorName           string
	ValidatorPublicKey      string
	Amount                  *big.Int
	Duration                *big.Int
	ReleaseTime             *big.Int
	Raw                     types.Log // Blockchain specific contextual infos
}

LoomTimelockFactoryLoomTimeLockCreated represents a LoomTimeLockCreated event raised by the LoomTimelockFactory contract.

type LoomTimelockFactoryLoomTimeLockCreatedIterator

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

LoomTimelockFactoryLoomTimeLockCreatedIterator is returned from FilterLoomTimeLockCreated and is used to iterate over the raw logs and unpacked data for LoomTimeLockCreated events raised by the LoomTimelockFactory contract.

func (*LoomTimelockFactoryLoomTimeLockCreatedIterator) Close

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

func (*LoomTimelockFactoryLoomTimeLockCreatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*LoomTimelockFactoryLoomTimeLockCreatedIterator) Next

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 LoomTimelockFactoryRaw

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

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

func (*LoomTimelockFactoryRaw) Call

func (_LoomTimelockFactory *LoomTimelockFactoryRaw) 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 (*LoomTimelockFactoryRaw) Transact

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

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

func (*LoomTimelockFactoryRaw) Transfer

func (_LoomTimelockFactory *LoomTimelockFactoryRaw) 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 LoomTimelockFactorySession

type LoomTimelockFactorySession struct {
	Contract     *LoomTimelockFactory // 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
}

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

func (*LoomTimelockFactorySession) DeployTimeLock

func (_LoomTimelockFactory *LoomTimelockFactorySession) DeployTimeLock(validatorEthAddress common.Address, validatorName string, validatorPublicKey string, amount *big.Int, duration *big.Int) (*types.Transaction, error)

DeployTimeLock is a paid mutator transaction binding the contract method 0xee66ca2b.

Solidity: function deployTimeLock(validatorEthAddress address, validatorName string, validatorPublicKey string, amount uint256, duration uint256) returns()

type LoomTimelockFactoryTransactor

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

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

func NewLoomTimelockFactoryTransactor

func NewLoomTimelockFactoryTransactor(address common.Address, transactor bind.ContractTransactor) (*LoomTimelockFactoryTransactor, error)

NewLoomTimelockFactoryTransactor creates a new write-only instance of LoomTimelockFactory, bound to a specific deployed contract.

func (*LoomTimelockFactoryTransactor) DeployTimeLock

func (_LoomTimelockFactory *LoomTimelockFactoryTransactor) DeployTimeLock(opts *bind.TransactOpts, validatorEthAddress common.Address, validatorName string, validatorPublicKey string, amount *big.Int, duration *big.Int) (*types.Transaction, error)

DeployTimeLock is a paid mutator transaction binding the contract method 0xee66ca2b.

Solidity: function deployTimeLock(validatorEthAddress address, validatorName string, validatorPublicKey string, amount uint256, duration uint256) returns()

type LoomTimelockFactoryTransactorRaw

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

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

func (*LoomTimelockFactoryTransactorRaw) Transact

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

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

func (*LoomTimelockFactoryTransactorRaw) Transfer

func (_LoomTimelockFactory *LoomTimelockFactoryTransactorRaw) 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 LoomTimelockFactoryTransactorSession

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

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

func (*LoomTimelockFactoryTransactorSession) DeployTimeLock

func (_LoomTimelockFactory *LoomTimelockFactoryTransactorSession) DeployTimeLock(validatorEthAddress common.Address, validatorName string, validatorPublicKey string, amount *big.Int, duration *big.Int) (*types.Transaction, error)

DeployTimeLock is a paid mutator transaction binding the contract method 0xee66ca2b.

Solidity: function deployTimeLock(validatorEthAddress address, validatorName string, validatorPublicKey string, amount uint256, duration uint256) returns()

type TokenTimelock

type TokenTimelock struct {
	TokenTimelockCaller     // Read-only binding to the contract
	TokenTimelockTransactor // Write-only binding to the contract
	TokenTimelockFilterer   // Log filterer for contract events
}

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

func NewTokenTimelock

func NewTokenTimelock(address common.Address, backend bind.ContractBackend) (*TokenTimelock, error)

NewTokenTimelock creates a new instance of TokenTimelock, bound to a specific deployed contract.

type TokenTimelockCaller

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

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

func NewTokenTimelockCaller

func NewTokenTimelockCaller(address common.Address, caller bind.ContractCaller) (*TokenTimelockCaller, error)

NewTokenTimelockCaller creates a new read-only instance of TokenTimelock, bound to a specific deployed contract.

func (*TokenTimelockCaller) Beneficiary

func (_TokenTimelock *TokenTimelockCaller) Beneficiary(opts *bind.CallOpts) (common.Address, error)

Beneficiary is a free data retrieval call binding the contract method 0x38af3eed.

Solidity: function beneficiary() constant returns(address)

func (*TokenTimelockCaller) ReleaseTime

func (_TokenTimelock *TokenTimelockCaller) ReleaseTime(opts *bind.CallOpts) (*big.Int, error)

ReleaseTime is a free data retrieval call binding the contract method 0xb91d4001.

Solidity: function releaseTime() constant returns(uint256)

func (*TokenTimelockCaller) Token

func (_TokenTimelock *TokenTimelockCaller) Token(opts *bind.CallOpts) (common.Address, error)

Token is a free data retrieval call binding the contract method 0xfc0c546a.

Solidity: function token() constant returns(address)

type TokenTimelockCallerRaw

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

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

func (*TokenTimelockCallerRaw) Call

func (_TokenTimelock *TokenTimelockCallerRaw) 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 TokenTimelockCallerSession

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

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

func (*TokenTimelockCallerSession) Beneficiary

func (_TokenTimelock *TokenTimelockCallerSession) Beneficiary() (common.Address, error)

Beneficiary is a free data retrieval call binding the contract method 0x38af3eed.

Solidity: function beneficiary() constant returns(address)

func (*TokenTimelockCallerSession) ReleaseTime

func (_TokenTimelock *TokenTimelockCallerSession) ReleaseTime() (*big.Int, error)

ReleaseTime is a free data retrieval call binding the contract method 0xb91d4001.

Solidity: function releaseTime() constant returns(uint256)

func (*TokenTimelockCallerSession) Token

func (_TokenTimelock *TokenTimelockCallerSession) Token() (common.Address, error)

Token is a free data retrieval call binding the contract method 0xfc0c546a.

Solidity: function token() constant returns(address)

type TokenTimelockFilterer

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

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

func NewTokenTimelockFilterer

func NewTokenTimelockFilterer(address common.Address, filterer bind.ContractFilterer) (*TokenTimelockFilterer, error)

NewTokenTimelockFilterer creates a new log filterer instance of TokenTimelock, bound to a specific deployed contract.

type TokenTimelockRaw

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

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

func (*TokenTimelockRaw) Call

func (_TokenTimelock *TokenTimelockRaw) 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 (*TokenTimelockRaw) Transact

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

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

func (*TokenTimelockRaw) Transfer

func (_TokenTimelock *TokenTimelockRaw) 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 TokenTimelockSession

type TokenTimelockSession struct {
	Contract     *TokenTimelock    // 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
}

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

func (*TokenTimelockSession) Beneficiary

func (_TokenTimelock *TokenTimelockSession) Beneficiary() (common.Address, error)

Beneficiary is a free data retrieval call binding the contract method 0x38af3eed.

Solidity: function beneficiary() constant returns(address)

func (*TokenTimelockSession) Release

func (_TokenTimelock *TokenTimelockSession) Release() (*types.Transaction, error)

Release is a paid mutator transaction binding the contract method 0x86d1a69f.

Solidity: function release() returns()

func (*TokenTimelockSession) ReleaseTime

func (_TokenTimelock *TokenTimelockSession) ReleaseTime() (*big.Int, error)

ReleaseTime is a free data retrieval call binding the contract method 0xb91d4001.

Solidity: function releaseTime() constant returns(uint256)

func (*TokenTimelockSession) Token

func (_TokenTimelock *TokenTimelockSession) Token() (common.Address, error)

Token is a free data retrieval call binding the contract method 0xfc0c546a.

Solidity: function token() constant returns(address)

type TokenTimelockTransactor

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

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

func NewTokenTimelockTransactor

func NewTokenTimelockTransactor(address common.Address, transactor bind.ContractTransactor) (*TokenTimelockTransactor, error)

NewTokenTimelockTransactor creates a new write-only instance of TokenTimelock, bound to a specific deployed contract.

func (*TokenTimelockTransactor) Release

func (_TokenTimelock *TokenTimelockTransactor) Release(opts *bind.TransactOpts) (*types.Transaction, error)

Release is a paid mutator transaction binding the contract method 0x86d1a69f.

Solidity: function release() returns()

type TokenTimelockTransactorRaw

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

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

func (*TokenTimelockTransactorRaw) Transact

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

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

func (*TokenTimelockTransactorRaw) Transfer

func (_TokenTimelock *TokenTimelockTransactorRaw) 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 TokenTimelockTransactorSession

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

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

func (*TokenTimelockTransactorSession) Release

func (_TokenTimelock *TokenTimelockTransactorSession) Release() (*types.Transaction, error)

Release is a paid mutator transaction binding the contract method 0x86d1a69f.

Solidity: function release() returns()

Jump to

Keyboard shortcuts

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