Documentation ¶
Index ¶
- Variables
- type TokenVestingLockParams
- type UnicryptTokenVesting
- type UnicryptTokenVestingCaller
- func (_UnicryptTokenVesting *UnicryptTokenVestingCaller) BLACKLIST(opts *bind.CallOpts) (common.Address, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingCaller) ConvertSharesToTokens(opts *bind.CallOpts, _token common.Address, _shares *big.Int) (*big.Int, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingCaller) ConvertTokensToShares(opts *bind.CallOpts, _token common.Address, _tokens *big.Int) (*big.Int, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingCaller) FEES(opts *bind.CallOpts) (struct{ ... }, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingCaller) GetLock(opts *bind.CallOpts, _lockID *big.Int) (*big.Int, common.Address, *big.Int, *big.Int, *big.Int, *big.Int, *big.Int, ...)
- func (_UnicryptTokenVesting *UnicryptTokenVestingCaller) GetNumLockedTokens(opts *bind.CallOpts) (*big.Int, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingCaller) GetTokenAtIndex(opts *bind.CallOpts, _index *big.Int) (common.Address, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingCaller) GetTokenLockIDAtIndex(opts *bind.CallOpts, _token common.Address, _index *big.Int) (*big.Int, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingCaller) GetTokenLocksLength(opts *bind.CallOpts, _token common.Address) (*big.Int, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingCaller) GetTokenWhitelisterAtIndex(opts *bind.CallOpts, _index *big.Int) (common.Address, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingCaller) GetTokenWhitelisterLength(opts *bind.CallOpts) (*big.Int, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingCaller) GetTokenWhitelisterStatus(opts *bind.CallOpts, _user common.Address) (bool, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingCaller) GetUserLockIDForTokenAtIndex(opts *bind.CallOpts, _user common.Address, _token common.Address, ...) (*big.Int, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingCaller) GetUserLockedTokenAtIndex(opts *bind.CallOpts, _user common.Address, _index *big.Int) (common.Address, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingCaller) GetUserLockedTokensLength(opts *bind.CallOpts, _user common.Address) (*big.Int, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingCaller) GetUserLocksForTokenLength(opts *bind.CallOpts, _user common.Address, _token common.Address) (*big.Int, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingCaller) GetWithdrawableShares(opts *bind.CallOpts, _lockID *big.Int) (*big.Int, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingCaller) GetWithdrawableTokens(opts *bind.CallOpts, _lockID *big.Int) (*big.Int, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingCaller) GetZeroFeeTokenAtIndex(opts *bind.CallOpts, _index *big.Int) (common.Address, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingCaller) GetZeroFeeTokensLength(opts *bind.CallOpts) (*big.Int, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingCaller) LOCKS(opts *bind.CallOpts, arg0 *big.Int) (struct{ ... }, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingCaller) MIGRATOR(opts *bind.CallOpts) (common.Address, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingCaller) MINIMUMDEPOSIT(opts *bind.CallOpts) (*big.Int, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingCaller) NONCE(opts *bind.CallOpts) (*big.Int, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingCaller) SHARES(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingCaller) TestCondition(opts *bind.CallOpts, condition common.Address) (bool, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingCaller) TokenOnZeroFeeWhitelist(opts *bind.CallOpts, _token common.Address) (bool, error)
- type UnicryptTokenVestingCallerRaw
- type UnicryptTokenVestingCallerSession
- func (_UnicryptTokenVesting *UnicryptTokenVestingCallerSession) BLACKLIST() (common.Address, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingCallerSession) ConvertSharesToTokens(_token common.Address, _shares *big.Int) (*big.Int, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingCallerSession) ConvertTokensToShares(_token common.Address, _tokens *big.Int) (*big.Int, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingCallerSession) FEES() (struct{ ... }, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingCallerSession) GetLock(_lockID *big.Int) (*big.Int, common.Address, *big.Int, *big.Int, *big.Int, *big.Int, *big.Int, ...)
- func (_UnicryptTokenVesting *UnicryptTokenVestingCallerSession) GetNumLockedTokens() (*big.Int, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingCallerSession) GetTokenAtIndex(_index *big.Int) (common.Address, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingCallerSession) GetTokenLockIDAtIndex(_token common.Address, _index *big.Int) (*big.Int, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingCallerSession) GetTokenLocksLength(_token common.Address) (*big.Int, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingCallerSession) GetTokenWhitelisterAtIndex(_index *big.Int) (common.Address, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingCallerSession) GetTokenWhitelisterLength() (*big.Int, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingCallerSession) GetTokenWhitelisterStatus(_user common.Address) (bool, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingCallerSession) GetUserLockIDForTokenAtIndex(_user common.Address, _token common.Address, _index *big.Int) (*big.Int, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingCallerSession) GetUserLockedTokenAtIndex(_user common.Address, _index *big.Int) (common.Address, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingCallerSession) GetUserLockedTokensLength(_user common.Address) (*big.Int, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingCallerSession) GetUserLocksForTokenLength(_user common.Address, _token common.Address) (*big.Int, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingCallerSession) GetWithdrawableShares(_lockID *big.Int) (*big.Int, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingCallerSession) GetWithdrawableTokens(_lockID *big.Int) (*big.Int, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingCallerSession) GetZeroFeeTokenAtIndex(_index *big.Int) (common.Address, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingCallerSession) GetZeroFeeTokensLength() (*big.Int, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingCallerSession) LOCKS(arg0 *big.Int) (struct{ ... }, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingCallerSession) MIGRATOR() (common.Address, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingCallerSession) MINIMUMDEPOSIT() (*big.Int, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingCallerSession) NONCE() (*big.Int, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingCallerSession) Owner() (common.Address, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingCallerSession) SHARES(arg0 common.Address) (*big.Int, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingCallerSession) TestCondition(condition common.Address) (bool, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingCallerSession) TokenOnZeroFeeWhitelist(_token common.Address) (bool, error)
- type UnicryptTokenVestingFilterer
- func (_UnicryptTokenVesting *UnicryptTokenVestingFilterer) FilterOnLock(opts *bind.FilterOpts) (*UnicryptTokenVestingOnLockIterator, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingFilterer) FilterOnMigrate(opts *bind.FilterOpts) (*UnicryptTokenVestingOnMigrateIterator, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingFilterer) FilterOnRelock(opts *bind.FilterOpts) (*UnicryptTokenVestingOnRelockIterator, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingFilterer) FilterOnSplitLock(opts *bind.FilterOpts) (*UnicryptTokenVestingOnSplitLockIterator, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingFilterer) FilterOnTransferLock(opts *bind.FilterOpts) (*UnicryptTokenVestingOnTransferLockIterator, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingFilterer) FilterOnWithdraw(opts *bind.FilterOpts) (*UnicryptTokenVestingOnWithdrawIterator, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*UnicryptTokenVestingOwnershipTransferredIterator, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingFilterer) ParseOnLock(log types.Log) (*UnicryptTokenVestingOnLock, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingFilterer) ParseOnMigrate(log types.Log) (*UnicryptTokenVestingOnMigrate, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingFilterer) ParseOnRelock(log types.Log) (*UnicryptTokenVestingOnRelock, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingFilterer) ParseOnSplitLock(log types.Log) (*UnicryptTokenVestingOnSplitLock, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingFilterer) ParseOnTransferLock(log types.Log) (*UnicryptTokenVestingOnTransferLock, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingFilterer) ParseOnWithdraw(log types.Log) (*UnicryptTokenVestingOnWithdraw, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingFilterer) ParseOwnershipTransferred(log types.Log) (*UnicryptTokenVestingOwnershipTransferred, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingFilterer) WatchOnLock(opts *bind.WatchOpts, sink chan<- *UnicryptTokenVestingOnLock) (event.Subscription, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingFilterer) WatchOnMigrate(opts *bind.WatchOpts, sink chan<- *UnicryptTokenVestingOnMigrate) (event.Subscription, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingFilterer) WatchOnRelock(opts *bind.WatchOpts, sink chan<- *UnicryptTokenVestingOnRelock) (event.Subscription, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingFilterer) WatchOnSplitLock(opts *bind.WatchOpts, sink chan<- *UnicryptTokenVestingOnSplitLock) (event.Subscription, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingFilterer) WatchOnTransferLock(opts *bind.WatchOpts, sink chan<- *UnicryptTokenVestingOnTransferLock) (event.Subscription, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingFilterer) WatchOnWithdraw(opts *bind.WatchOpts, sink chan<- *UnicryptTokenVestingOnWithdraw) (event.Subscription, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *UnicryptTokenVestingOwnershipTransferred, ...) (event.Subscription, error)
- type UnicryptTokenVestingOnLock
- type UnicryptTokenVestingOnLockIterator
- type UnicryptTokenVestingOnMigrate
- type UnicryptTokenVestingOnMigrateIterator
- type UnicryptTokenVestingOnRelock
- type UnicryptTokenVestingOnRelockIterator
- type UnicryptTokenVestingOnSplitLock
- type UnicryptTokenVestingOnSplitLockIterator
- type UnicryptTokenVestingOnTransferLock
- type UnicryptTokenVestingOnTransferLockIterator
- type UnicryptTokenVestingOnWithdraw
- type UnicryptTokenVestingOnWithdrawIterator
- type UnicryptTokenVestingOwnershipTransferred
- type UnicryptTokenVestingOwnershipTransferredIterator
- type UnicryptTokenVestingRaw
- func (_UnicryptTokenVesting *UnicryptTokenVestingRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_UnicryptTokenVesting *UnicryptTokenVestingRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type UnicryptTokenVestingSession
- func (_UnicryptTokenVesting *UnicryptTokenVestingSession) AdminSetWhitelister(_user common.Address, _add bool) (*types.Transaction, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingSession) BLACKLIST() (common.Address, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingSession) ConvertSharesToTokens(_token common.Address, _shares *big.Int) (*big.Int, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingSession) ConvertTokensToShares(_token common.Address, _tokens *big.Int) (*big.Int, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingSession) EditZeroFeeWhitelist(_token common.Address, _add bool) (*types.Transaction, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingSession) FEES() (struct{ ... }, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingSession) GetLock(_lockID *big.Int) (*big.Int, common.Address, *big.Int, *big.Int, *big.Int, *big.Int, *big.Int, ...)
- func (_UnicryptTokenVesting *UnicryptTokenVestingSession) GetNumLockedTokens() (*big.Int, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingSession) GetTokenAtIndex(_index *big.Int) (common.Address, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingSession) GetTokenLockIDAtIndex(_token common.Address, _index *big.Int) (*big.Int, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingSession) GetTokenLocksLength(_token common.Address) (*big.Int, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingSession) GetTokenWhitelisterAtIndex(_index *big.Int) (common.Address, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingSession) GetTokenWhitelisterLength() (*big.Int, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingSession) GetTokenWhitelisterStatus(_user common.Address) (bool, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingSession) GetUserLockIDForTokenAtIndex(_user common.Address, _token common.Address, _index *big.Int) (*big.Int, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingSession) GetUserLockedTokenAtIndex(_user common.Address, _index *big.Int) (common.Address, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingSession) GetUserLockedTokensLength(_user common.Address) (*big.Int, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingSession) GetUserLocksForTokenLength(_user common.Address, _token common.Address) (*big.Int, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingSession) GetWithdrawableShares(_lockID *big.Int) (*big.Int, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingSession) GetWithdrawableTokens(_lockID *big.Int) (*big.Int, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingSession) GetZeroFeeTokenAtIndex(_index *big.Int) (common.Address, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingSession) GetZeroFeeTokensLength() (*big.Int, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingSession) IncrementLock(_lockID *big.Int, _amount *big.Int) (*types.Transaction, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingSession) LOCKS(arg0 *big.Int) (struct{ ... }, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingSession) Lock(_token common.Address, _lock_params []TokenVestingLockParams) (*types.Transaction, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingSession) MIGRATOR() (common.Address, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingSession) MINIMUMDEPOSIT() (*big.Int, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingSession) Migrate(_lockID *big.Int, _option *big.Int) (*types.Transaction, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingSession) NONCE() (*big.Int, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingSession) Owner() (common.Address, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingSession) PayForFreeTokenLocks(_token common.Address) (*types.Transaction, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingSession) Relock(_lockID *big.Int, _unlock_date *big.Int) (*types.Transaction, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingSession) RenounceOwnership() (*types.Transaction, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingSession) RevokeCondition(_lockID *big.Int) (*types.Transaction, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingSession) SHARES(arg0 common.Address) (*big.Int, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingSession) SetBlacklistContract(_contract common.Address) (*types.Transaction, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingSession) SetFees(_tokenFee *big.Int, _freeLockingFee *big.Int, _feeAddress common.Address, ...) (*types.Transaction, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingSession) SetMigrator(_migrator common.Address) (*types.Transaction, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingSession) SplitLock(_lockID *big.Int, _amount *big.Int) (*types.Transaction, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingSession) TestCondition(condition common.Address) (bool, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingSession) TokenOnZeroFeeWhitelist(_token common.Address) (bool, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingSession) TransferLockOwnership(_lockID *big.Int, _newOwner common.Address) (*types.Transaction, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingSession) Withdraw(_lockID *big.Int, _amount *big.Int) (*types.Transaction, error)
- type UnicryptTokenVestingTransactor
- func (_UnicryptTokenVesting *UnicryptTokenVestingTransactor) AdminSetWhitelister(opts *bind.TransactOpts, _user common.Address, _add bool) (*types.Transaction, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingTransactor) EditZeroFeeWhitelist(opts *bind.TransactOpts, _token common.Address, _add bool) (*types.Transaction, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingTransactor) IncrementLock(opts *bind.TransactOpts, _lockID *big.Int, _amount *big.Int) (*types.Transaction, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingTransactor) Lock(opts *bind.TransactOpts, _token common.Address, ...) (*types.Transaction, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingTransactor) Migrate(opts *bind.TransactOpts, _lockID *big.Int, _option *big.Int) (*types.Transaction, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingTransactor) PayForFreeTokenLocks(opts *bind.TransactOpts, _token common.Address) (*types.Transaction, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingTransactor) Relock(opts *bind.TransactOpts, _lockID *big.Int, _unlock_date *big.Int) (*types.Transaction, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingTransactor) RevokeCondition(opts *bind.TransactOpts, _lockID *big.Int) (*types.Transaction, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingTransactor) SetBlacklistContract(opts *bind.TransactOpts, _contract common.Address) (*types.Transaction, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingTransactor) SetFees(opts *bind.TransactOpts, _tokenFee *big.Int, _freeLockingFee *big.Int, ...) (*types.Transaction, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingTransactor) SetMigrator(opts *bind.TransactOpts, _migrator common.Address) (*types.Transaction, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingTransactor) SplitLock(opts *bind.TransactOpts, _lockID *big.Int, _amount *big.Int) (*types.Transaction, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingTransactor) TransferLockOwnership(opts *bind.TransactOpts, _lockID *big.Int, _newOwner common.Address) (*types.Transaction, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingTransactor) Withdraw(opts *bind.TransactOpts, _lockID *big.Int, _amount *big.Int) (*types.Transaction, error)
- type UnicryptTokenVestingTransactorRaw
- type UnicryptTokenVestingTransactorSession
- func (_UnicryptTokenVesting *UnicryptTokenVestingTransactorSession) AdminSetWhitelister(_user common.Address, _add bool) (*types.Transaction, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingTransactorSession) EditZeroFeeWhitelist(_token common.Address, _add bool) (*types.Transaction, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingTransactorSession) IncrementLock(_lockID *big.Int, _amount *big.Int) (*types.Transaction, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingTransactorSession) Lock(_token common.Address, _lock_params []TokenVestingLockParams) (*types.Transaction, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingTransactorSession) Migrate(_lockID *big.Int, _option *big.Int) (*types.Transaction, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingTransactorSession) PayForFreeTokenLocks(_token common.Address) (*types.Transaction, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingTransactorSession) Relock(_lockID *big.Int, _unlock_date *big.Int) (*types.Transaction, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingTransactorSession) RevokeCondition(_lockID *big.Int) (*types.Transaction, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingTransactorSession) SetBlacklistContract(_contract common.Address) (*types.Transaction, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingTransactorSession) SetFees(_tokenFee *big.Int, _freeLockingFee *big.Int, _feeAddress common.Address, ...) (*types.Transaction, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingTransactorSession) SetMigrator(_migrator common.Address) (*types.Transaction, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingTransactorSession) SplitLock(_lockID *big.Int, _amount *big.Int) (*types.Transaction, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingTransactorSession) TransferLockOwnership(_lockID *big.Int, _newOwner common.Address) (*types.Transaction, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_UnicryptTokenVesting *UnicryptTokenVestingTransactorSession) Withdraw(_lockID *big.Int, _amount *big.Int) (*types.Transaction, error)
- type UnicryptUniswapV2Locker
- type UnicryptUniswapV2LockerCaller
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerCaller) GFees(opts *bind.CallOpts) (struct{ ... }, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerCaller) GetLockedTokenAtIndex(opts *bind.CallOpts, _index *big.Int) (common.Address, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerCaller) GetNumLockedTokens(opts *bind.CallOpts) (*big.Int, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerCaller) GetNumLocksForToken(opts *bind.CallOpts, _lpToken common.Address) (*big.Int, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerCaller) GetUserLockForTokenAtIndex(opts *bind.CallOpts, _user common.Address, _lpToken common.Address, ...) (*big.Int, *big.Int, *big.Int, *big.Int, *big.Int, common.Address, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerCaller) GetUserLockedTokenAtIndex(opts *bind.CallOpts, _user common.Address, _index *big.Int) (common.Address, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerCaller) GetUserNumLockedTokens(opts *bind.CallOpts, _user common.Address) (*big.Int, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerCaller) GetUserNumLocksForToken(opts *bind.CallOpts, _user common.Address, _lpToken common.Address) (*big.Int, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerCaller) GetUserWhitelistStatus(opts *bind.CallOpts, _user common.Address) (bool, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerCaller) GetWhitelistedUserAtIndex(opts *bind.CallOpts, _index *big.Int) (common.Address, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerCaller) GetWhitelistedUsersLength(opts *bind.CallOpts) (*big.Int, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerCaller) TokenLocks(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) (struct{ ... }, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerCaller) UniswapFactory(opts *bind.CallOpts) (common.Address, error)
- type UnicryptUniswapV2LockerCallerRaw
- type UnicryptUniswapV2LockerCallerSession
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerCallerSession) GFees() (struct{ ... }, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerCallerSession) GetLockedTokenAtIndex(_index *big.Int) (common.Address, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerCallerSession) GetNumLockedTokens() (*big.Int, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerCallerSession) GetNumLocksForToken(_lpToken common.Address) (*big.Int, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerCallerSession) GetUserLockForTokenAtIndex(_user common.Address, _lpToken common.Address, _index *big.Int) (*big.Int, *big.Int, *big.Int, *big.Int, *big.Int, common.Address, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerCallerSession) GetUserLockedTokenAtIndex(_user common.Address, _index *big.Int) (common.Address, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerCallerSession) GetUserNumLockedTokens(_user common.Address) (*big.Int, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerCallerSession) GetUserNumLocksForToken(_user common.Address, _lpToken common.Address) (*big.Int, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerCallerSession) GetUserWhitelistStatus(_user common.Address) (bool, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerCallerSession) GetWhitelistedUserAtIndex(_index *big.Int) (common.Address, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerCallerSession) GetWhitelistedUsersLength() (*big.Int, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerCallerSession) Owner() (common.Address, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerCallerSession) TokenLocks(arg0 common.Address, arg1 *big.Int) (struct{ ... }, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerCallerSession) UniswapFactory() (common.Address, error)
- type UnicryptUniswapV2LockerFilterer
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerFilterer) FilterOnDeposit(opts *bind.FilterOpts) (*UnicryptUniswapV2LockerOnDepositIterator, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerFilterer) FilterOnWithdraw(opts *bind.FilterOpts) (*UnicryptUniswapV2LockerOnWithdrawIterator, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*UnicryptUniswapV2LockerOwnershipTransferredIterator, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerFilterer) ParseOnDeposit(log types.Log) (*UnicryptUniswapV2LockerOnDeposit, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerFilterer) ParseOnWithdraw(log types.Log) (*UnicryptUniswapV2LockerOnWithdraw, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerFilterer) ParseOwnershipTransferred(log types.Log) (*UnicryptUniswapV2LockerOwnershipTransferred, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerFilterer) WatchOnDeposit(opts *bind.WatchOpts, sink chan<- *UnicryptUniswapV2LockerOnDeposit) (event.Subscription, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerFilterer) WatchOnWithdraw(opts *bind.WatchOpts, sink chan<- *UnicryptUniswapV2LockerOnWithdraw) (event.Subscription, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *UnicryptUniswapV2LockerOwnershipTransferred, ...) (event.Subscription, error)
- type UnicryptUniswapV2LockerOnDeposit
- type UnicryptUniswapV2LockerOnDepositIterator
- type UnicryptUniswapV2LockerOnWithdraw
- type UnicryptUniswapV2LockerOnWithdrawIterator
- type UnicryptUniswapV2LockerOwnershipTransferred
- type UnicryptUniswapV2LockerOwnershipTransferredIterator
- type UnicryptUniswapV2LockerRaw
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type UnicryptUniswapV2LockerSession
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerSession) GFees() (struct{ ... }, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerSession) GetLockedTokenAtIndex(_index *big.Int) (common.Address, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerSession) GetNumLockedTokens() (*big.Int, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerSession) GetNumLocksForToken(_lpToken common.Address) (*big.Int, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerSession) GetUserLockForTokenAtIndex(_user common.Address, _lpToken common.Address, _index *big.Int) (*big.Int, *big.Int, *big.Int, *big.Int, *big.Int, common.Address, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerSession) GetUserLockedTokenAtIndex(_user common.Address, _index *big.Int) (common.Address, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerSession) GetUserNumLockedTokens(_user common.Address) (*big.Int, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerSession) GetUserNumLocksForToken(_user common.Address, _lpToken common.Address) (*big.Int, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerSession) GetUserWhitelistStatus(_user common.Address) (bool, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerSession) GetWhitelistedUserAtIndex(_index *big.Int) (common.Address, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerSession) GetWhitelistedUsersLength() (*big.Int, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerSession) IncrementLock(_lpToken common.Address, _index *big.Int, _lockID *big.Int, _amount *big.Int) (*types.Transaction, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerSession) LockLPToken(_lpToken common.Address, _amount *big.Int, _unlock_date *big.Int, ...) (*types.Transaction, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerSession) Migrate(_lpToken common.Address, _index *big.Int, _lockID *big.Int, _amount *big.Int) (*types.Transaction, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerSession) Owner() (common.Address, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerSession) Relock(_lpToken common.Address, _index *big.Int, _lockID *big.Int, ...) (*types.Transaction, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerSession) RenounceOwnership() (*types.Transaction, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerSession) SetDev(_devaddr common.Address) (*types.Transaction, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerSession) SetFees(_referralPercent *big.Int, _referralDiscount *big.Int, _ethFee *big.Int, ...) (*types.Transaction, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerSession) SetMigrator(_migrator common.Address) (*types.Transaction, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerSession) SetReferralTokenAndHold(_referralToken common.Address, _hold *big.Int) (*types.Transaction, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerSession) SetSecondaryFeeToken(_secondaryFeeToken common.Address) (*types.Transaction, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerSession) SplitLock(_lpToken common.Address, _index *big.Int, _lockID *big.Int, _amount *big.Int) (*types.Transaction, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerSession) TokenLocks(arg0 common.Address, arg1 *big.Int) (struct{ ... }, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerSession) TransferLockOwnership(_lpToken common.Address, _index *big.Int, _lockID *big.Int, ...) (*types.Transaction, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerSession) UniswapFactory() (common.Address, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerSession) WhitelistFeeAccount(_user common.Address, _add bool) (*types.Transaction, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerSession) Withdraw(_lpToken common.Address, _index *big.Int, _lockID *big.Int, _amount *big.Int) (*types.Transaction, error)
- type UnicryptUniswapV2LockerTransactor
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerTransactor) IncrementLock(opts *bind.TransactOpts, _lpToken common.Address, _index *big.Int, ...) (*types.Transaction, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerTransactor) LockLPToken(opts *bind.TransactOpts, _lpToken common.Address, _amount *big.Int, ...) (*types.Transaction, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerTransactor) Migrate(opts *bind.TransactOpts, _lpToken common.Address, _index *big.Int, ...) (*types.Transaction, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerTransactor) Relock(opts *bind.TransactOpts, _lpToken common.Address, _index *big.Int, ...) (*types.Transaction, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerTransactor) SetDev(opts *bind.TransactOpts, _devaddr common.Address) (*types.Transaction, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerTransactor) SetFees(opts *bind.TransactOpts, _referralPercent *big.Int, _referralDiscount *big.Int, ...) (*types.Transaction, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerTransactor) SetMigrator(opts *bind.TransactOpts, _migrator common.Address) (*types.Transaction, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerTransactor) SetReferralTokenAndHold(opts *bind.TransactOpts, _referralToken common.Address, _hold *big.Int) (*types.Transaction, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerTransactor) SetSecondaryFeeToken(opts *bind.TransactOpts, _secondaryFeeToken common.Address) (*types.Transaction, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerTransactor) SplitLock(opts *bind.TransactOpts, _lpToken common.Address, _index *big.Int, ...) (*types.Transaction, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerTransactor) TransferLockOwnership(opts *bind.TransactOpts, _lpToken common.Address, _index *big.Int, ...) (*types.Transaction, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerTransactor) WhitelistFeeAccount(opts *bind.TransactOpts, _user common.Address, _add bool) (*types.Transaction, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerTransactor) Withdraw(opts *bind.TransactOpts, _lpToken common.Address, _index *big.Int, ...) (*types.Transaction, error)
- type UnicryptUniswapV2LockerTransactorRaw
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type UnicryptUniswapV2LockerTransactorSession
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerTransactorSession) IncrementLock(_lpToken common.Address, _index *big.Int, _lockID *big.Int, _amount *big.Int) (*types.Transaction, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerTransactorSession) LockLPToken(_lpToken common.Address, _amount *big.Int, _unlock_date *big.Int, ...) (*types.Transaction, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerTransactorSession) Migrate(_lpToken common.Address, _index *big.Int, _lockID *big.Int, _amount *big.Int) (*types.Transaction, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerTransactorSession) Relock(_lpToken common.Address, _index *big.Int, _lockID *big.Int, ...) (*types.Transaction, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerTransactorSession) SetDev(_devaddr common.Address) (*types.Transaction, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerTransactorSession) SetFees(_referralPercent *big.Int, _referralDiscount *big.Int, _ethFee *big.Int, ...) (*types.Transaction, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerTransactorSession) SetMigrator(_migrator common.Address) (*types.Transaction, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerTransactorSession) SetReferralTokenAndHold(_referralToken common.Address, _hold *big.Int) (*types.Transaction, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerTransactorSession) SetSecondaryFeeToken(_secondaryFeeToken common.Address) (*types.Transaction, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerTransactorSession) SplitLock(_lpToken common.Address, _index *big.Int, _lockID *big.Int, _amount *big.Int) (*types.Transaction, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerTransactorSession) TransferLockOwnership(_lpToken common.Address, _index *big.Int, _lockID *big.Int, ...) (*types.Transaction, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerTransactorSession) WhitelistFeeAccount(_user common.Address, _add bool) (*types.Transaction, error)
- func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerTransactorSession) Withdraw(_lpToken common.Address, _index *big.Int, _lockID *big.Int, _amount *big.Int) (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
var UnicryptTokenVestingABI = UnicryptTokenVestingMetaData.ABI
UnicryptTokenVestingABI is the input ABI used to generate the binding from. Deprecated: Use UnicryptTokenVestingMetaData.ABI instead.
var UnicryptTokenVestingMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"contractIUnicryptAdmin\",\"name\":\"_uncxAdmins\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"lockID\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amountInTokens\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"startEmission\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"endEmission\",\"type\":\"uint256\"}],\"name\":\"onLock\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"lockID\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amountInTokens\",\"type\":\"uint256\"}],\"name\":\"onMigrate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"lockID\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"unlockDate\",\"type\":\"uint256\"}],\"name\":\"onRelock\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"fromLockID\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"toLockID\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amountInTokens\",\"type\":\"uint256\"}],\"name\":\"onSplitLock\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"lockIDFrom\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"lockIDto\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"oldOwner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"onTransferLock\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"lpToken\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amountInTokens\",\"type\":\"uint256\"}],\"name\":\"onWithdraw\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"BLACKLIST\",\"outputs\":[{\"internalType\":\"contractITokenBlacklist\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"FEES\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenFee\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"freeLockingFee\",\"type\":\"uint256\"},{\"internalType\":\"addresspayable\",\"name\":\"feeAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"freeLockingToken\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"LOCKS\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"tokenAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"sharesDeposited\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"sharesWithdrawn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"startEmission\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endEmission\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"lockID\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"condition\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MIGRATOR\",\"outputs\":[{\"internalType\":\"contractIMigrator\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MINIMUM_DEPOSIT\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"NONCE\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"SHARES\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"_add\",\"type\":\"bool\"}],\"name\":\"adminSetWhitelister\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_shares\",\"type\":\"uint256\"}],\"name\":\"convertSharesToTokens\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_tokens\",\"type\":\"uint256\"}],\"name\":\"convertTokensToShares\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"_add\",\"type\":\"bool\"}],\"name\":\"editZeroFeeWhitelist\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_lockID\",\"type\":\"uint256\"}],\"name\":\"getLock\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getNumLockedTokens\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_index\",\"type\":\"uint256\"}],\"name\":\"getTokenAtIndex\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_index\",\"type\":\"uint256\"}],\"name\":\"getTokenLockIDAtIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"}],\"name\":\"getTokenLocksLength\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_index\",\"type\":\"uint256\"}],\"name\":\"getTokenWhitelisterAtIndex\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getTokenWhitelisterLength\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"}],\"name\":\"getTokenWhitelisterStatus\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_index\",\"type\":\"uint256\"}],\"name\":\"getUserLockIDForTokenAtIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_index\",\"type\":\"uint256\"}],\"name\":\"getUserLockedTokenAtIndex\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"}],\"name\":\"getUserLockedTokensLength\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"}],\"name\":\"getUserLocksForTokenLength\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_lockID\",\"type\":\"uint256\"}],\"name\":\"getWithdrawableShares\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_lockID\",\"type\":\"uint256\"}],\"name\":\"getWithdrawableTokens\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_index\",\"type\":\"uint256\"}],\"name\":\"getZeroFeeTokenAtIndex\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getZeroFeeTokensLength\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_lockID\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"incrementLock\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"addresspayable\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"startEmission\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endEmission\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"condition\",\"type\":\"address\"}],\"internalType\":\"structTokenVesting.LockParams[]\",\"name\":\"_lock_params\",\"type\":\"tuple[]\"}],\"name\":\"lock\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_lockID\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_option\",\"type\":\"uint256\"}],\"name\":\"migrate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"}],\"name\":\"payForFreeTokenLocks\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_lockID\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_unlock_date\",\"type\":\"uint256\"}],\"name\":\"relock\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_lockID\",\"type\":\"uint256\"}],\"name\":\"revokeCondition\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractITokenBlacklist\",\"name\":\"_contract\",\"type\":\"address\"}],\"name\":\"setBlacklistContract\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_tokenFee\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_freeLockingFee\",\"type\":\"uint256\"},{\"internalType\":\"addresspayable\",\"name\":\"_feeAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_freeLockingToken\",\"type\":\"address\"}],\"name\":\"setFees\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIMigrator\",\"name\":\"_migrator\",\"type\":\"address\"}],\"name\":\"setMigrator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_lockID\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"splitLock\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"condition\",\"type\":\"address\"}],\"name\":\"testCondition\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"}],\"name\":\"tokenOnZeroFeeWhitelist\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_lockID\",\"type\":\"uint256\"},{\"internalType\":\"addresspayable\",\"name\":\"_newOwner\",\"type\":\"address\"}],\"name\":\"transferLockOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_lockID\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
UnicryptTokenVestingMetaData contains all meta data concerning the UnicryptTokenVesting contract.
var UnicryptUniswapV2LockerABI = UnicryptUniswapV2LockerMetaData.ABI
UnicryptUniswapV2LockerABI is the input ABI used to generate the binding from. Deprecated: Use UnicryptUniswapV2LockerMetaData.ABI instead.
var UnicryptUniswapV2LockerMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"contractIUniFactory\",\"name\":\"_uniswapFactory\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"lpToken\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"lockDate\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"unlockDate\",\"type\":\"uint256\"}],\"name\":\"onDeposit\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"lpToken\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"onWithdraw\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"gFees\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"ethFee\",\"type\":\"uint256\"},{\"internalType\":\"contractIERCBurn\",\"name\":\"secondaryFeeToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"secondaryTokenFee\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"secondaryTokenDiscount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"liquidityFee\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"referralPercent\",\"type\":\"uint256\"},{\"internalType\":\"contractIERCBurn\",\"name\":\"referralToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"referralHold\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"referralDiscount\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_index\",\"type\":\"uint256\"}],\"name\":\"getLockedTokenAtIndex\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getNumLockedTokens\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_lpToken\",\"type\":\"address\"}],\"name\":\"getNumLocksForToken\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_lpToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_index\",\"type\":\"uint256\"}],\"name\":\"getUserLockForTokenAtIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_index\",\"type\":\"uint256\"}],\"name\":\"getUserLockedTokenAtIndex\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"}],\"name\":\"getUserNumLockedTokens\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_lpToken\",\"type\":\"address\"}],\"name\":\"getUserNumLocksForToken\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"}],\"name\":\"getUserWhitelistStatus\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_index\",\"type\":\"uint256\"}],\"name\":\"getWhitelistedUserAtIndex\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getWhitelistedUsersLength\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_lpToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_index\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_lockID\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"incrementLock\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_lpToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_unlock_date\",\"type\":\"uint256\"},{\"internalType\":\"addresspayable\",\"name\":\"_referral\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"_fee_in_eth\",\"type\":\"bool\"},{\"internalType\":\"addresspayable\",\"name\":\"_withdrawer\",\"type\":\"address\"}],\"name\":\"lockLPToken\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_lpToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_index\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_lockID\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"migrate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_lpToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_index\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_lockID\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_unlock_date\",\"type\":\"uint256\"}],\"name\":\"relock\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"addresspayable\",\"name\":\"_devaddr\",\"type\":\"address\"}],\"name\":\"setDev\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_referralPercent\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_referralDiscount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_ethFee\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_secondaryTokenFee\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_secondaryTokenDiscount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_liquidityFee\",\"type\":\"uint256\"}],\"name\":\"setFees\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIMigrator\",\"name\":\"_migrator\",\"type\":\"address\"}],\"name\":\"setMigrator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIERCBurn\",\"name\":\"_referralToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_hold\",\"type\":\"uint256\"}],\"name\":\"setReferralTokenAndHold\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_secondaryFeeToken\",\"type\":\"address\"}],\"name\":\"setSecondaryFeeToken\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_lpToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_index\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_lockID\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"splitLock\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"tokenLocks\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"lockDate\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"initialAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"unlockDate\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"lockID\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_lpToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_index\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_lockID\",\"type\":\"uint256\"},{\"internalType\":\"addresspayable\",\"name\":\"_newOwner\",\"type\":\"address\"}],\"name\":\"transferLockOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"uniswapFactory\",\"outputs\":[{\"internalType\":\"contractIUniFactory\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"_add\",\"type\":\"bool\"}],\"name\":\"whitelistFeeAccount\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_lpToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_index\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_lockID\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
UnicryptUniswapV2LockerMetaData contains all meta data concerning the UnicryptUniswapV2Locker contract.
Functions ¶
This section is empty.
Types ¶
type TokenVestingLockParams ¶
type TokenVestingLockParams struct { Owner common.Address Amount *big.Int StartEmission *big.Int EndEmission *big.Int Condition common.Address }
TokenVestingLockParams is an auto generated low-level Go binding around an user-defined struct.
type UnicryptTokenVesting ¶
type UnicryptTokenVesting struct { UnicryptTokenVestingCaller // Read-only binding to the contract UnicryptTokenVestingTransactor // Write-only binding to the contract UnicryptTokenVestingFilterer // Log filterer for contract events }
UnicryptTokenVesting is an auto generated Go binding around an Ethereum contract.
func NewUnicryptTokenVesting ¶
func NewUnicryptTokenVesting(address common.Address, backend bind.ContractBackend) (*UnicryptTokenVesting, error)
NewUnicryptTokenVesting creates a new instance of UnicryptTokenVesting, bound to a specific deployed contract.
type UnicryptTokenVestingCaller ¶
type UnicryptTokenVestingCaller struct {
// contains filtered or unexported fields
}
UnicryptTokenVestingCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewUnicryptTokenVestingCaller ¶
func NewUnicryptTokenVestingCaller(address common.Address, caller bind.ContractCaller) (*UnicryptTokenVestingCaller, error)
NewUnicryptTokenVestingCaller creates a new read-only instance of UnicryptTokenVesting, bound to a specific deployed contract.
func (*UnicryptTokenVestingCaller) BLACKLIST ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingCaller) BLACKLIST(opts *bind.CallOpts) (common.Address, error)
BLACKLIST is a free data retrieval call binding the contract method 0xc8b0cf68.
Solidity: function BLACKLIST() view returns(address)
func (*UnicryptTokenVestingCaller) ConvertSharesToTokens ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingCaller) ConvertSharesToTokens(opts *bind.CallOpts, _token common.Address, _shares *big.Int) (*big.Int, error)
ConvertSharesToTokens is a free data retrieval call binding the contract method 0x0cdebc9e.
Solidity: function convertSharesToTokens(address _token, uint256 _shares) view returns(uint256)
func (*UnicryptTokenVestingCaller) ConvertTokensToShares ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingCaller) ConvertTokensToShares(opts *bind.CallOpts, _token common.Address, _tokens *big.Int) (*big.Int, error)
ConvertTokensToShares is a free data retrieval call binding the contract method 0xca5cc0c2.
Solidity: function convertTokensToShares(address _token, uint256 _tokens) view returns(uint256)
func (*UnicryptTokenVestingCaller) FEES ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingCaller) FEES(opts *bind.CallOpts) (struct { TokenFee *big.Int FreeLockingFee *big.Int FeeAddress common.Address FreeLockingToken common.Address }, error)
FEES is a free data retrieval call binding the contract method 0x8b7b23ee.
Solidity: function FEES() view returns(uint256 tokenFee, uint256 freeLockingFee, address feeAddress, address freeLockingToken)
func (*UnicryptTokenVestingCaller) GetLock ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingCaller) GetLock(opts *bind.CallOpts, _lockID *big.Int) (*big.Int, common.Address, *big.Int, *big.Int, *big.Int, *big.Int, *big.Int, *big.Int, common.Address, common.Address, error)
GetLock is a free data retrieval call binding the contract method 0xd68f4dd1.
Solidity: function getLock(uint256 _lockID) view returns(uint256, address, uint256, uint256, uint256, uint256, uint256, uint256, address, address)
func (*UnicryptTokenVestingCaller) GetNumLockedTokens ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingCaller) GetNumLockedTokens(opts *bind.CallOpts) (*big.Int, error)
GetNumLockedTokens is a free data retrieval call binding the contract method 0x783451e8.
Solidity: function getNumLockedTokens() view returns(uint256)
func (*UnicryptTokenVestingCaller) GetTokenAtIndex ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingCaller) GetTokenAtIndex(opts *bind.CallOpts, _index *big.Int) (common.Address, error)
GetTokenAtIndex is a free data retrieval call binding the contract method 0x97988dce.
Solidity: function getTokenAtIndex(uint256 _index) view returns(address)
func (*UnicryptTokenVestingCaller) GetTokenLockIDAtIndex ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingCaller) GetTokenLockIDAtIndex(opts *bind.CallOpts, _token common.Address, _index *big.Int) (*big.Int, error)
GetTokenLockIDAtIndex is a free data retrieval call binding the contract method 0x8ba74f17.
Solidity: function getTokenLockIDAtIndex(address _token, uint256 _index) view returns(uint256)
func (*UnicryptTokenVestingCaller) GetTokenLocksLength ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingCaller) GetTokenLocksLength(opts *bind.CallOpts, _token common.Address) (*big.Int, error)
GetTokenLocksLength is a free data retrieval call binding the contract method 0xd060e175.
Solidity: function getTokenLocksLength(address _token) view returns(uint256)
func (*UnicryptTokenVestingCaller) GetTokenWhitelisterAtIndex ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingCaller) GetTokenWhitelisterAtIndex(opts *bind.CallOpts, _index *big.Int) (common.Address, error)
GetTokenWhitelisterAtIndex is a free data retrieval call binding the contract method 0xe52c4b7a.
Solidity: function getTokenWhitelisterAtIndex(uint256 _index) view returns(address)
func (*UnicryptTokenVestingCaller) GetTokenWhitelisterLength ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingCaller) GetTokenWhitelisterLength(opts *bind.CallOpts) (*big.Int, error)
GetTokenWhitelisterLength is a free data retrieval call binding the contract method 0x00623ae3.
Solidity: function getTokenWhitelisterLength() view returns(uint256)
func (*UnicryptTokenVestingCaller) GetTokenWhitelisterStatus ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingCaller) GetTokenWhitelisterStatus(opts *bind.CallOpts, _user common.Address) (bool, error)
GetTokenWhitelisterStatus is a free data retrieval call binding the contract method 0xcf6dde4a.
Solidity: function getTokenWhitelisterStatus(address _user) view returns(bool)
func (*UnicryptTokenVestingCaller) GetUserLockIDForTokenAtIndex ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingCaller) GetUserLockIDForTokenAtIndex(opts *bind.CallOpts, _user common.Address, _token common.Address, _index *big.Int) (*big.Int, error)
GetUserLockIDForTokenAtIndex is a free data retrieval call binding the contract method 0x1c30ffb1.
Solidity: function getUserLockIDForTokenAtIndex(address _user, address _token, uint256 _index) view returns(uint256)
func (*UnicryptTokenVestingCaller) GetUserLockedTokenAtIndex ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingCaller) GetUserLockedTokenAtIndex(opts *bind.CallOpts, _user common.Address, _index *big.Int) (common.Address, error)
GetUserLockedTokenAtIndex is a free data retrieval call binding the contract method 0x903df806.
Solidity: function getUserLockedTokenAtIndex(address _user, uint256 _index) view returns(address)
func (*UnicryptTokenVestingCaller) GetUserLockedTokensLength ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingCaller) GetUserLockedTokensLength(opts *bind.CallOpts, _user common.Address) (*big.Int, error)
GetUserLockedTokensLength is a free data retrieval call binding the contract method 0xa6dcb8de.
Solidity: function getUserLockedTokensLength(address _user) view returns(uint256)
func (*UnicryptTokenVestingCaller) GetUserLocksForTokenLength ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingCaller) GetUserLocksForTokenLength(opts *bind.CallOpts, _user common.Address, _token common.Address) (*big.Int, error)
GetUserLocksForTokenLength is a free data retrieval call binding the contract method 0xbb5ee001.
Solidity: function getUserLocksForTokenLength(address _user, address _token) view returns(uint256)
func (*UnicryptTokenVestingCaller) GetWithdrawableShares ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingCaller) GetWithdrawableShares(opts *bind.CallOpts, _lockID *big.Int) (*big.Int, error)
GetWithdrawableShares is a free data retrieval call binding the contract method 0xe04ab139.
Solidity: function getWithdrawableShares(uint256 _lockID) view returns(uint256)
func (*UnicryptTokenVestingCaller) GetWithdrawableTokens ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingCaller) GetWithdrawableTokens(opts *bind.CallOpts, _lockID *big.Int) (*big.Int, error)
GetWithdrawableTokens is a free data retrieval call binding the contract method 0xd323cdbf.
Solidity: function getWithdrawableTokens(uint256 _lockID) view returns(uint256)
func (*UnicryptTokenVestingCaller) GetZeroFeeTokenAtIndex ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingCaller) GetZeroFeeTokenAtIndex(opts *bind.CallOpts, _index *big.Int) (common.Address, error)
GetZeroFeeTokenAtIndex is a free data retrieval call binding the contract method 0xb1d7655c.
Solidity: function getZeroFeeTokenAtIndex(uint256 _index) view returns(address)
func (*UnicryptTokenVestingCaller) GetZeroFeeTokensLength ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingCaller) GetZeroFeeTokensLength(opts *bind.CallOpts) (*big.Int, error)
GetZeroFeeTokensLength is a free data retrieval call binding the contract method 0x03e1cdf4.
Solidity: function getZeroFeeTokensLength() view returns(uint256)
func (*UnicryptTokenVestingCaller) LOCKS ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingCaller) LOCKS(opts *bind.CallOpts, arg0 *big.Int) (struct { TokenAddress common.Address SharesDeposited *big.Int SharesWithdrawn *big.Int StartEmission *big.Int EndEmission *big.Int LockID *big.Int Owner common.Address Condition common.Address }, error)
LOCKS is a free data retrieval call binding the contract method 0xcf0d5af3.
Solidity: function LOCKS(uint256 ) view returns(address tokenAddress, uint256 sharesDeposited, uint256 sharesWithdrawn, uint256 startEmission, uint256 endEmission, uint256 lockID, address owner, address condition)
func (*UnicryptTokenVestingCaller) MIGRATOR ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingCaller) MIGRATOR(opts *bind.CallOpts) (common.Address, error)
MIGRATOR is a free data retrieval call binding the contract method 0x9ecd7472.
Solidity: function MIGRATOR() view returns(address)
func (*UnicryptTokenVestingCaller) MINIMUMDEPOSIT ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingCaller) MINIMUMDEPOSIT(opts *bind.CallOpts) (*big.Int, error)
MINIMUMDEPOSIT is a free data retrieval call binding the contract method 0xf19451d8.
Solidity: function MINIMUM_DEPOSIT() view returns(uint256)
func (*UnicryptTokenVestingCaller) NONCE ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingCaller) NONCE(opts *bind.CallOpts) (*big.Int, error)
NONCE is a free data retrieval call binding the contract method 0xe091dd1a.
Solidity: function NONCE() view returns(uint256)
func (*UnicryptTokenVestingCaller) Owner ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingCaller) Owner(opts *bind.CallOpts) (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*UnicryptTokenVestingCaller) SHARES ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingCaller) SHARES(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
SHARES is a free data retrieval call binding the contract method 0xc368803a.
Solidity: function SHARES(address ) view returns(uint256)
func (*UnicryptTokenVestingCaller) TestCondition ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingCaller) TestCondition(opts *bind.CallOpts, condition common.Address) (bool, error)
TestCondition is a free data retrieval call binding the contract method 0x675187a3.
Solidity: function testCondition(address condition) view returns(bool)
func (*UnicryptTokenVestingCaller) TokenOnZeroFeeWhitelist ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingCaller) TokenOnZeroFeeWhitelist(opts *bind.CallOpts, _token common.Address) (bool, error)
TokenOnZeroFeeWhitelist is a free data retrieval call binding the contract method 0x1d7065db.
Solidity: function tokenOnZeroFeeWhitelist(address _token) view returns(bool)
type UnicryptTokenVestingCallerRaw ¶
type UnicryptTokenVestingCallerRaw struct {
Contract *UnicryptTokenVestingCaller // Generic read-only contract binding to access the raw methods on
}
UnicryptTokenVestingCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*UnicryptTokenVestingCallerRaw) Call ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingCallerRaw) 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 UnicryptTokenVestingCallerSession ¶
type UnicryptTokenVestingCallerSession struct { Contract *UnicryptTokenVestingCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
UnicryptTokenVestingCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*UnicryptTokenVestingCallerSession) BLACKLIST ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingCallerSession) BLACKLIST() (common.Address, error)
BLACKLIST is a free data retrieval call binding the contract method 0xc8b0cf68.
Solidity: function BLACKLIST() view returns(address)
func (*UnicryptTokenVestingCallerSession) ConvertSharesToTokens ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingCallerSession) ConvertSharesToTokens(_token common.Address, _shares *big.Int) (*big.Int, error)
ConvertSharesToTokens is a free data retrieval call binding the contract method 0x0cdebc9e.
Solidity: function convertSharesToTokens(address _token, uint256 _shares) view returns(uint256)
func (*UnicryptTokenVestingCallerSession) ConvertTokensToShares ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingCallerSession) ConvertTokensToShares(_token common.Address, _tokens *big.Int) (*big.Int, error)
ConvertTokensToShares is a free data retrieval call binding the contract method 0xca5cc0c2.
Solidity: function convertTokensToShares(address _token, uint256 _tokens) view returns(uint256)
func (*UnicryptTokenVestingCallerSession) FEES ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingCallerSession) FEES() (struct { TokenFee *big.Int FreeLockingFee *big.Int FeeAddress common.Address FreeLockingToken common.Address }, error)
FEES is a free data retrieval call binding the contract method 0x8b7b23ee.
Solidity: function FEES() view returns(uint256 tokenFee, uint256 freeLockingFee, address feeAddress, address freeLockingToken)
func (*UnicryptTokenVestingCallerSession) GetLock ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingCallerSession) GetLock(_lockID *big.Int) (*big.Int, common.Address, *big.Int, *big.Int, *big.Int, *big.Int, *big.Int, *big.Int, common.Address, common.Address, error)
GetLock is a free data retrieval call binding the contract method 0xd68f4dd1.
Solidity: function getLock(uint256 _lockID) view returns(uint256, address, uint256, uint256, uint256, uint256, uint256, uint256, address, address)
func (*UnicryptTokenVestingCallerSession) GetNumLockedTokens ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingCallerSession) GetNumLockedTokens() (*big.Int, error)
GetNumLockedTokens is a free data retrieval call binding the contract method 0x783451e8.
Solidity: function getNumLockedTokens() view returns(uint256)
func (*UnicryptTokenVestingCallerSession) GetTokenAtIndex ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingCallerSession) GetTokenAtIndex(_index *big.Int) (common.Address, error)
GetTokenAtIndex is a free data retrieval call binding the contract method 0x97988dce.
Solidity: function getTokenAtIndex(uint256 _index) view returns(address)
func (*UnicryptTokenVestingCallerSession) GetTokenLockIDAtIndex ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingCallerSession) GetTokenLockIDAtIndex(_token common.Address, _index *big.Int) (*big.Int, error)
GetTokenLockIDAtIndex is a free data retrieval call binding the contract method 0x8ba74f17.
Solidity: function getTokenLockIDAtIndex(address _token, uint256 _index) view returns(uint256)
func (*UnicryptTokenVestingCallerSession) GetTokenLocksLength ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingCallerSession) GetTokenLocksLength(_token common.Address) (*big.Int, error)
GetTokenLocksLength is a free data retrieval call binding the contract method 0xd060e175.
Solidity: function getTokenLocksLength(address _token) view returns(uint256)
func (*UnicryptTokenVestingCallerSession) GetTokenWhitelisterAtIndex ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingCallerSession) GetTokenWhitelisterAtIndex(_index *big.Int) (common.Address, error)
GetTokenWhitelisterAtIndex is a free data retrieval call binding the contract method 0xe52c4b7a.
Solidity: function getTokenWhitelisterAtIndex(uint256 _index) view returns(address)
func (*UnicryptTokenVestingCallerSession) GetTokenWhitelisterLength ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingCallerSession) GetTokenWhitelisterLength() (*big.Int, error)
GetTokenWhitelisterLength is a free data retrieval call binding the contract method 0x00623ae3.
Solidity: function getTokenWhitelisterLength() view returns(uint256)
func (*UnicryptTokenVestingCallerSession) GetTokenWhitelisterStatus ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingCallerSession) GetTokenWhitelisterStatus(_user common.Address) (bool, error)
GetTokenWhitelisterStatus is a free data retrieval call binding the contract method 0xcf6dde4a.
Solidity: function getTokenWhitelisterStatus(address _user) view returns(bool)
func (*UnicryptTokenVestingCallerSession) GetUserLockIDForTokenAtIndex ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingCallerSession) GetUserLockIDForTokenAtIndex(_user common.Address, _token common.Address, _index *big.Int) (*big.Int, error)
GetUserLockIDForTokenAtIndex is a free data retrieval call binding the contract method 0x1c30ffb1.
Solidity: function getUserLockIDForTokenAtIndex(address _user, address _token, uint256 _index) view returns(uint256)
func (*UnicryptTokenVestingCallerSession) GetUserLockedTokenAtIndex ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingCallerSession) GetUserLockedTokenAtIndex(_user common.Address, _index *big.Int) (common.Address, error)
GetUserLockedTokenAtIndex is a free data retrieval call binding the contract method 0x903df806.
Solidity: function getUserLockedTokenAtIndex(address _user, uint256 _index) view returns(address)
func (*UnicryptTokenVestingCallerSession) GetUserLockedTokensLength ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingCallerSession) GetUserLockedTokensLength(_user common.Address) (*big.Int, error)
GetUserLockedTokensLength is a free data retrieval call binding the contract method 0xa6dcb8de.
Solidity: function getUserLockedTokensLength(address _user) view returns(uint256)
func (*UnicryptTokenVestingCallerSession) GetUserLocksForTokenLength ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingCallerSession) GetUserLocksForTokenLength(_user common.Address, _token common.Address) (*big.Int, error)
GetUserLocksForTokenLength is a free data retrieval call binding the contract method 0xbb5ee001.
Solidity: function getUserLocksForTokenLength(address _user, address _token) view returns(uint256)
func (*UnicryptTokenVestingCallerSession) GetWithdrawableShares ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingCallerSession) GetWithdrawableShares(_lockID *big.Int) (*big.Int, error)
GetWithdrawableShares is a free data retrieval call binding the contract method 0xe04ab139.
Solidity: function getWithdrawableShares(uint256 _lockID) view returns(uint256)
func (*UnicryptTokenVestingCallerSession) GetWithdrawableTokens ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingCallerSession) GetWithdrawableTokens(_lockID *big.Int) (*big.Int, error)
GetWithdrawableTokens is a free data retrieval call binding the contract method 0xd323cdbf.
Solidity: function getWithdrawableTokens(uint256 _lockID) view returns(uint256)
func (*UnicryptTokenVestingCallerSession) GetZeroFeeTokenAtIndex ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingCallerSession) GetZeroFeeTokenAtIndex(_index *big.Int) (common.Address, error)
GetZeroFeeTokenAtIndex is a free data retrieval call binding the contract method 0xb1d7655c.
Solidity: function getZeroFeeTokenAtIndex(uint256 _index) view returns(address)
func (*UnicryptTokenVestingCallerSession) GetZeroFeeTokensLength ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingCallerSession) GetZeroFeeTokensLength() (*big.Int, error)
GetZeroFeeTokensLength is a free data retrieval call binding the contract method 0x03e1cdf4.
Solidity: function getZeroFeeTokensLength() view returns(uint256)
func (*UnicryptTokenVestingCallerSession) LOCKS ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingCallerSession) LOCKS(arg0 *big.Int) (struct { TokenAddress common.Address SharesDeposited *big.Int SharesWithdrawn *big.Int StartEmission *big.Int EndEmission *big.Int LockID *big.Int Owner common.Address Condition common.Address }, error)
LOCKS is a free data retrieval call binding the contract method 0xcf0d5af3.
Solidity: function LOCKS(uint256 ) view returns(address tokenAddress, uint256 sharesDeposited, uint256 sharesWithdrawn, uint256 startEmission, uint256 endEmission, uint256 lockID, address owner, address condition)
func (*UnicryptTokenVestingCallerSession) MIGRATOR ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingCallerSession) MIGRATOR() (common.Address, error)
MIGRATOR is a free data retrieval call binding the contract method 0x9ecd7472.
Solidity: function MIGRATOR() view returns(address)
func (*UnicryptTokenVestingCallerSession) MINIMUMDEPOSIT ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingCallerSession) MINIMUMDEPOSIT() (*big.Int, error)
MINIMUMDEPOSIT is a free data retrieval call binding the contract method 0xf19451d8.
Solidity: function MINIMUM_DEPOSIT() view returns(uint256)
func (*UnicryptTokenVestingCallerSession) NONCE ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingCallerSession) NONCE() (*big.Int, error)
NONCE is a free data retrieval call binding the contract method 0xe091dd1a.
Solidity: function NONCE() view returns(uint256)
func (*UnicryptTokenVestingCallerSession) Owner ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*UnicryptTokenVestingCallerSession) SHARES ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingCallerSession) SHARES(arg0 common.Address) (*big.Int, error)
SHARES is a free data retrieval call binding the contract method 0xc368803a.
Solidity: function SHARES(address ) view returns(uint256)
func (*UnicryptTokenVestingCallerSession) TestCondition ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingCallerSession) TestCondition(condition common.Address) (bool, error)
TestCondition is a free data retrieval call binding the contract method 0x675187a3.
Solidity: function testCondition(address condition) view returns(bool)
func (*UnicryptTokenVestingCallerSession) TokenOnZeroFeeWhitelist ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingCallerSession) TokenOnZeroFeeWhitelist(_token common.Address) (bool, error)
TokenOnZeroFeeWhitelist is a free data retrieval call binding the contract method 0x1d7065db.
Solidity: function tokenOnZeroFeeWhitelist(address _token) view returns(bool)
type UnicryptTokenVestingFilterer ¶
type UnicryptTokenVestingFilterer struct {
// contains filtered or unexported fields
}
UnicryptTokenVestingFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewUnicryptTokenVestingFilterer ¶
func NewUnicryptTokenVestingFilterer(address common.Address, filterer bind.ContractFilterer) (*UnicryptTokenVestingFilterer, error)
NewUnicryptTokenVestingFilterer creates a new log filterer instance of UnicryptTokenVesting, bound to a specific deployed contract.
func (*UnicryptTokenVestingFilterer) FilterOnLock ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingFilterer) FilterOnLock(opts *bind.FilterOpts) (*UnicryptTokenVestingOnLockIterator, error)
FilterOnLock is a free log retrieval operation binding the contract event 0x4d0f9887048089b093c92bec885ab529000723bce1a79f4e81a5990619910b96.
Solidity: event onLock(uint256 lockID, address token, address owner, uint256 amountInTokens, uint256 startEmission, uint256 endEmission)
func (*UnicryptTokenVestingFilterer) FilterOnMigrate ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingFilterer) FilterOnMigrate(opts *bind.FilterOpts) (*UnicryptTokenVestingOnMigrateIterator, error)
FilterOnMigrate is a free log retrieval operation binding the contract event 0x8b1497abd425402b9139208bcb7f83d61a7545712a632d73a1ae68039cd593ab.
Solidity: event onMigrate(uint256 lockID, uint256 amountInTokens)
func (*UnicryptTokenVestingFilterer) FilterOnRelock ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingFilterer) FilterOnRelock(opts *bind.FilterOpts) (*UnicryptTokenVestingOnRelockIterator, error)
FilterOnRelock is a free log retrieval operation binding the contract event 0xefaff1b90138281d215452c67f793017f52e456f65c28ac63f5309a89a059b47.
Solidity: event onRelock(uint256 lockID, uint256 unlockDate)
func (*UnicryptTokenVestingFilterer) FilterOnSplitLock ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingFilterer) FilterOnSplitLock(opts *bind.FilterOpts) (*UnicryptTokenVestingOnSplitLockIterator, error)
FilterOnSplitLock is a free log retrieval operation binding the contract event 0xbfc02f4250f5e54a31a72371b1932061a0245db2afb5124b547306f6ebffd8ad.
Solidity: event onSplitLock(uint256 fromLockID, uint256 toLockID, uint256 amountInTokens)
func (*UnicryptTokenVestingFilterer) FilterOnTransferLock ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingFilterer) FilterOnTransferLock(opts *bind.FilterOpts) (*UnicryptTokenVestingOnTransferLockIterator, error)
FilterOnTransferLock is a free log retrieval operation binding the contract event 0xc1329eea12893a6eff780df43cf4ec708fdc6ce7fbacf84ee8cf9355a9af1dd8.
Solidity: event onTransferLock(uint256 lockIDFrom, uint256 lockIDto, address oldOwner, address newOwner)
func (*UnicryptTokenVestingFilterer) FilterOnWithdraw ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingFilterer) FilterOnWithdraw(opts *bind.FilterOpts) (*UnicryptTokenVestingOnWithdrawIterator, error)
FilterOnWithdraw is a free log retrieval operation binding the contract event 0xccad973dcd043c7d680389db4378bd6b9775db7124092e9e0422c9e46d7985dc.
Solidity: event onWithdraw(address lpToken, uint256 amountInTokens)
func (*UnicryptTokenVestingFilterer) FilterOwnershipTransferred ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*UnicryptTokenVestingOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*UnicryptTokenVestingFilterer) ParseOnLock ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingFilterer) ParseOnLock(log types.Log) (*UnicryptTokenVestingOnLock, error)
ParseOnLock is a log parse operation binding the contract event 0x4d0f9887048089b093c92bec885ab529000723bce1a79f4e81a5990619910b96.
Solidity: event onLock(uint256 lockID, address token, address owner, uint256 amountInTokens, uint256 startEmission, uint256 endEmission)
func (*UnicryptTokenVestingFilterer) ParseOnMigrate ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingFilterer) ParseOnMigrate(log types.Log) (*UnicryptTokenVestingOnMigrate, error)
ParseOnMigrate is a log parse operation binding the contract event 0x8b1497abd425402b9139208bcb7f83d61a7545712a632d73a1ae68039cd593ab.
Solidity: event onMigrate(uint256 lockID, uint256 amountInTokens)
func (*UnicryptTokenVestingFilterer) ParseOnRelock ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingFilterer) ParseOnRelock(log types.Log) (*UnicryptTokenVestingOnRelock, error)
ParseOnRelock is a log parse operation binding the contract event 0xefaff1b90138281d215452c67f793017f52e456f65c28ac63f5309a89a059b47.
Solidity: event onRelock(uint256 lockID, uint256 unlockDate)
func (*UnicryptTokenVestingFilterer) ParseOnSplitLock ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingFilterer) ParseOnSplitLock(log types.Log) (*UnicryptTokenVestingOnSplitLock, error)
ParseOnSplitLock is a log parse operation binding the contract event 0xbfc02f4250f5e54a31a72371b1932061a0245db2afb5124b547306f6ebffd8ad.
Solidity: event onSplitLock(uint256 fromLockID, uint256 toLockID, uint256 amountInTokens)
func (*UnicryptTokenVestingFilterer) ParseOnTransferLock ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingFilterer) ParseOnTransferLock(log types.Log) (*UnicryptTokenVestingOnTransferLock, error)
ParseOnTransferLock is a log parse operation binding the contract event 0xc1329eea12893a6eff780df43cf4ec708fdc6ce7fbacf84ee8cf9355a9af1dd8.
Solidity: event onTransferLock(uint256 lockIDFrom, uint256 lockIDto, address oldOwner, address newOwner)
func (*UnicryptTokenVestingFilterer) ParseOnWithdraw ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingFilterer) ParseOnWithdraw(log types.Log) (*UnicryptTokenVestingOnWithdraw, error)
ParseOnWithdraw is a log parse operation binding the contract event 0xccad973dcd043c7d680389db4378bd6b9775db7124092e9e0422c9e46d7985dc.
Solidity: event onWithdraw(address lpToken, uint256 amountInTokens)
func (*UnicryptTokenVestingFilterer) ParseOwnershipTransferred ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingFilterer) ParseOwnershipTransferred(log types.Log) (*UnicryptTokenVestingOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*UnicryptTokenVestingFilterer) WatchOnLock ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingFilterer) WatchOnLock(opts *bind.WatchOpts, sink chan<- *UnicryptTokenVestingOnLock) (event.Subscription, error)
WatchOnLock is a free log subscription operation binding the contract event 0x4d0f9887048089b093c92bec885ab529000723bce1a79f4e81a5990619910b96.
Solidity: event onLock(uint256 lockID, address token, address owner, uint256 amountInTokens, uint256 startEmission, uint256 endEmission)
func (*UnicryptTokenVestingFilterer) WatchOnMigrate ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingFilterer) WatchOnMigrate(opts *bind.WatchOpts, sink chan<- *UnicryptTokenVestingOnMigrate) (event.Subscription, error)
WatchOnMigrate is a free log subscription operation binding the contract event 0x8b1497abd425402b9139208bcb7f83d61a7545712a632d73a1ae68039cd593ab.
Solidity: event onMigrate(uint256 lockID, uint256 amountInTokens)
func (*UnicryptTokenVestingFilterer) WatchOnRelock ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingFilterer) WatchOnRelock(opts *bind.WatchOpts, sink chan<- *UnicryptTokenVestingOnRelock) (event.Subscription, error)
WatchOnRelock is a free log subscription operation binding the contract event 0xefaff1b90138281d215452c67f793017f52e456f65c28ac63f5309a89a059b47.
Solidity: event onRelock(uint256 lockID, uint256 unlockDate)
func (*UnicryptTokenVestingFilterer) WatchOnSplitLock ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingFilterer) WatchOnSplitLock(opts *bind.WatchOpts, sink chan<- *UnicryptTokenVestingOnSplitLock) (event.Subscription, error)
WatchOnSplitLock is a free log subscription operation binding the contract event 0xbfc02f4250f5e54a31a72371b1932061a0245db2afb5124b547306f6ebffd8ad.
Solidity: event onSplitLock(uint256 fromLockID, uint256 toLockID, uint256 amountInTokens)
func (*UnicryptTokenVestingFilterer) WatchOnTransferLock ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingFilterer) WatchOnTransferLock(opts *bind.WatchOpts, sink chan<- *UnicryptTokenVestingOnTransferLock) (event.Subscription, error)
WatchOnTransferLock is a free log subscription operation binding the contract event 0xc1329eea12893a6eff780df43cf4ec708fdc6ce7fbacf84ee8cf9355a9af1dd8.
Solidity: event onTransferLock(uint256 lockIDFrom, uint256 lockIDto, address oldOwner, address newOwner)
func (*UnicryptTokenVestingFilterer) WatchOnWithdraw ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingFilterer) WatchOnWithdraw(opts *bind.WatchOpts, sink chan<- *UnicryptTokenVestingOnWithdraw) (event.Subscription, error)
WatchOnWithdraw is a free log subscription operation binding the contract event 0xccad973dcd043c7d680389db4378bd6b9775db7124092e9e0422c9e46d7985dc.
Solidity: event onWithdraw(address lpToken, uint256 amountInTokens)
func (*UnicryptTokenVestingFilterer) WatchOwnershipTransferred ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *UnicryptTokenVestingOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
type UnicryptTokenVestingOnLock ¶
type UnicryptTokenVestingOnLock struct { LockID *big.Int Token common.Address Owner common.Address AmountInTokens *big.Int StartEmission *big.Int EndEmission *big.Int Raw types.Log // Blockchain specific contextual infos }
UnicryptTokenVestingOnLock represents a OnLock event raised by the UnicryptTokenVesting contract.
type UnicryptTokenVestingOnLockIterator ¶
type UnicryptTokenVestingOnLockIterator struct { Event *UnicryptTokenVestingOnLock // Event containing the contract specifics and raw log // contains filtered or unexported fields }
UnicryptTokenVestingOnLockIterator is returned from FilterOnLock and is used to iterate over the raw logs and unpacked data for OnLock events raised by the UnicryptTokenVesting contract.
func (*UnicryptTokenVestingOnLockIterator) Close ¶
func (it *UnicryptTokenVestingOnLockIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*UnicryptTokenVestingOnLockIterator) Error ¶
func (it *UnicryptTokenVestingOnLockIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*UnicryptTokenVestingOnLockIterator) Next ¶
func (it *UnicryptTokenVestingOnLockIterator) 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 UnicryptTokenVestingOnMigrate ¶
type UnicryptTokenVestingOnMigrate struct { LockID *big.Int AmountInTokens *big.Int Raw types.Log // Blockchain specific contextual infos }
UnicryptTokenVestingOnMigrate represents a OnMigrate event raised by the UnicryptTokenVesting contract.
type UnicryptTokenVestingOnMigrateIterator ¶
type UnicryptTokenVestingOnMigrateIterator struct { Event *UnicryptTokenVestingOnMigrate // Event containing the contract specifics and raw log // contains filtered or unexported fields }
UnicryptTokenVestingOnMigrateIterator is returned from FilterOnMigrate and is used to iterate over the raw logs and unpacked data for OnMigrate events raised by the UnicryptTokenVesting contract.
func (*UnicryptTokenVestingOnMigrateIterator) Close ¶
func (it *UnicryptTokenVestingOnMigrateIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*UnicryptTokenVestingOnMigrateIterator) Error ¶
func (it *UnicryptTokenVestingOnMigrateIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*UnicryptTokenVestingOnMigrateIterator) Next ¶
func (it *UnicryptTokenVestingOnMigrateIterator) 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 UnicryptTokenVestingOnRelock ¶
type UnicryptTokenVestingOnRelock struct { LockID *big.Int UnlockDate *big.Int Raw types.Log // Blockchain specific contextual infos }
UnicryptTokenVestingOnRelock represents a OnRelock event raised by the UnicryptTokenVesting contract.
type UnicryptTokenVestingOnRelockIterator ¶
type UnicryptTokenVestingOnRelockIterator struct { Event *UnicryptTokenVestingOnRelock // Event containing the contract specifics and raw log // contains filtered or unexported fields }
UnicryptTokenVestingOnRelockIterator is returned from FilterOnRelock and is used to iterate over the raw logs and unpacked data for OnRelock events raised by the UnicryptTokenVesting contract.
func (*UnicryptTokenVestingOnRelockIterator) Close ¶
func (it *UnicryptTokenVestingOnRelockIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*UnicryptTokenVestingOnRelockIterator) Error ¶
func (it *UnicryptTokenVestingOnRelockIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*UnicryptTokenVestingOnRelockIterator) Next ¶
func (it *UnicryptTokenVestingOnRelockIterator) 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 UnicryptTokenVestingOnSplitLock ¶
type UnicryptTokenVestingOnSplitLock struct { FromLockID *big.Int ToLockID *big.Int AmountInTokens *big.Int Raw types.Log // Blockchain specific contextual infos }
UnicryptTokenVestingOnSplitLock represents a OnSplitLock event raised by the UnicryptTokenVesting contract.
type UnicryptTokenVestingOnSplitLockIterator ¶
type UnicryptTokenVestingOnSplitLockIterator struct { Event *UnicryptTokenVestingOnSplitLock // Event containing the contract specifics and raw log // contains filtered or unexported fields }
UnicryptTokenVestingOnSplitLockIterator is returned from FilterOnSplitLock and is used to iterate over the raw logs and unpacked data for OnSplitLock events raised by the UnicryptTokenVesting contract.
func (*UnicryptTokenVestingOnSplitLockIterator) Close ¶
func (it *UnicryptTokenVestingOnSplitLockIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*UnicryptTokenVestingOnSplitLockIterator) Error ¶
func (it *UnicryptTokenVestingOnSplitLockIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*UnicryptTokenVestingOnSplitLockIterator) Next ¶
func (it *UnicryptTokenVestingOnSplitLockIterator) 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 UnicryptTokenVestingOnTransferLock ¶
type UnicryptTokenVestingOnTransferLock struct { LockIDFrom *big.Int LockIDto *big.Int OldOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
UnicryptTokenVestingOnTransferLock represents a OnTransferLock event raised by the UnicryptTokenVesting contract.
type UnicryptTokenVestingOnTransferLockIterator ¶
type UnicryptTokenVestingOnTransferLockIterator struct { Event *UnicryptTokenVestingOnTransferLock // Event containing the contract specifics and raw log // contains filtered or unexported fields }
UnicryptTokenVestingOnTransferLockIterator is returned from FilterOnTransferLock and is used to iterate over the raw logs and unpacked data for OnTransferLock events raised by the UnicryptTokenVesting contract.
func (*UnicryptTokenVestingOnTransferLockIterator) Close ¶
func (it *UnicryptTokenVestingOnTransferLockIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*UnicryptTokenVestingOnTransferLockIterator) Error ¶
func (it *UnicryptTokenVestingOnTransferLockIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*UnicryptTokenVestingOnTransferLockIterator) Next ¶
func (it *UnicryptTokenVestingOnTransferLockIterator) 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 UnicryptTokenVestingOnWithdraw ¶
type UnicryptTokenVestingOnWithdraw struct { LpToken common.Address AmountInTokens *big.Int Raw types.Log // Blockchain specific contextual infos }
UnicryptTokenVestingOnWithdraw represents a OnWithdraw event raised by the UnicryptTokenVesting contract.
type UnicryptTokenVestingOnWithdrawIterator ¶
type UnicryptTokenVestingOnWithdrawIterator struct { Event *UnicryptTokenVestingOnWithdraw // Event containing the contract specifics and raw log // contains filtered or unexported fields }
UnicryptTokenVestingOnWithdrawIterator is returned from FilterOnWithdraw and is used to iterate over the raw logs and unpacked data for OnWithdraw events raised by the UnicryptTokenVesting contract.
func (*UnicryptTokenVestingOnWithdrawIterator) Close ¶
func (it *UnicryptTokenVestingOnWithdrawIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*UnicryptTokenVestingOnWithdrawIterator) Error ¶
func (it *UnicryptTokenVestingOnWithdrawIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*UnicryptTokenVestingOnWithdrawIterator) Next ¶
func (it *UnicryptTokenVestingOnWithdrawIterator) 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 UnicryptTokenVestingOwnershipTransferred ¶
type UnicryptTokenVestingOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
UnicryptTokenVestingOwnershipTransferred represents a OwnershipTransferred event raised by the UnicryptTokenVesting contract.
type UnicryptTokenVestingOwnershipTransferredIterator ¶
type UnicryptTokenVestingOwnershipTransferredIterator struct { Event *UnicryptTokenVestingOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
UnicryptTokenVestingOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the UnicryptTokenVesting contract.
func (*UnicryptTokenVestingOwnershipTransferredIterator) Close ¶
func (it *UnicryptTokenVestingOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*UnicryptTokenVestingOwnershipTransferredIterator) Error ¶
func (it *UnicryptTokenVestingOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*UnicryptTokenVestingOwnershipTransferredIterator) Next ¶
func (it *UnicryptTokenVestingOwnershipTransferredIterator) 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 UnicryptTokenVestingRaw ¶
type UnicryptTokenVestingRaw struct {
Contract *UnicryptTokenVesting // Generic contract binding to access the raw methods on
}
UnicryptTokenVestingRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*UnicryptTokenVestingRaw) Call ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingRaw) 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 (*UnicryptTokenVestingRaw) Transact ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*UnicryptTokenVestingRaw) Transfer ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingRaw) 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 UnicryptTokenVestingSession ¶
type UnicryptTokenVestingSession struct { Contract *UnicryptTokenVesting // 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 }
UnicryptTokenVestingSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*UnicryptTokenVestingSession) AdminSetWhitelister ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingSession) AdminSetWhitelister(_user common.Address, _add bool) (*types.Transaction, error)
AdminSetWhitelister is a paid mutator transaction binding the contract method 0x86de2fcb.
Solidity: function adminSetWhitelister(address _user, bool _add) returns()
func (*UnicryptTokenVestingSession) BLACKLIST ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingSession) BLACKLIST() (common.Address, error)
BLACKLIST is a free data retrieval call binding the contract method 0xc8b0cf68.
Solidity: function BLACKLIST() view returns(address)
func (*UnicryptTokenVestingSession) ConvertSharesToTokens ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingSession) ConvertSharesToTokens(_token common.Address, _shares *big.Int) (*big.Int, error)
ConvertSharesToTokens is a free data retrieval call binding the contract method 0x0cdebc9e.
Solidity: function convertSharesToTokens(address _token, uint256 _shares) view returns(uint256)
func (*UnicryptTokenVestingSession) ConvertTokensToShares ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingSession) ConvertTokensToShares(_token common.Address, _tokens *big.Int) (*big.Int, error)
ConvertTokensToShares is a free data retrieval call binding the contract method 0xca5cc0c2.
Solidity: function convertTokensToShares(address _token, uint256 _tokens) view returns(uint256)
func (*UnicryptTokenVestingSession) EditZeroFeeWhitelist ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingSession) EditZeroFeeWhitelist(_token common.Address, _add bool) (*types.Transaction, error)
EditZeroFeeWhitelist is a paid mutator transaction binding the contract method 0xb4540fa7.
Solidity: function editZeroFeeWhitelist(address _token, bool _add) returns()
func (*UnicryptTokenVestingSession) FEES ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingSession) FEES() (struct { TokenFee *big.Int FreeLockingFee *big.Int FeeAddress common.Address FreeLockingToken common.Address }, error)
FEES is a free data retrieval call binding the contract method 0x8b7b23ee.
Solidity: function FEES() view returns(uint256 tokenFee, uint256 freeLockingFee, address feeAddress, address freeLockingToken)
func (*UnicryptTokenVestingSession) GetLock ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingSession) GetLock(_lockID *big.Int) (*big.Int, common.Address, *big.Int, *big.Int, *big.Int, *big.Int, *big.Int, *big.Int, common.Address, common.Address, error)
GetLock is a free data retrieval call binding the contract method 0xd68f4dd1.
Solidity: function getLock(uint256 _lockID) view returns(uint256, address, uint256, uint256, uint256, uint256, uint256, uint256, address, address)
func (*UnicryptTokenVestingSession) GetNumLockedTokens ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingSession) GetNumLockedTokens() (*big.Int, error)
GetNumLockedTokens is a free data retrieval call binding the contract method 0x783451e8.
Solidity: function getNumLockedTokens() view returns(uint256)
func (*UnicryptTokenVestingSession) GetTokenAtIndex ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingSession) GetTokenAtIndex(_index *big.Int) (common.Address, error)
GetTokenAtIndex is a free data retrieval call binding the contract method 0x97988dce.
Solidity: function getTokenAtIndex(uint256 _index) view returns(address)
func (*UnicryptTokenVestingSession) GetTokenLockIDAtIndex ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingSession) GetTokenLockIDAtIndex(_token common.Address, _index *big.Int) (*big.Int, error)
GetTokenLockIDAtIndex is a free data retrieval call binding the contract method 0x8ba74f17.
Solidity: function getTokenLockIDAtIndex(address _token, uint256 _index) view returns(uint256)
func (*UnicryptTokenVestingSession) GetTokenLocksLength ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingSession) GetTokenLocksLength(_token common.Address) (*big.Int, error)
GetTokenLocksLength is a free data retrieval call binding the contract method 0xd060e175.
Solidity: function getTokenLocksLength(address _token) view returns(uint256)
func (*UnicryptTokenVestingSession) GetTokenWhitelisterAtIndex ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingSession) GetTokenWhitelisterAtIndex(_index *big.Int) (common.Address, error)
GetTokenWhitelisterAtIndex is a free data retrieval call binding the contract method 0xe52c4b7a.
Solidity: function getTokenWhitelisterAtIndex(uint256 _index) view returns(address)
func (*UnicryptTokenVestingSession) GetTokenWhitelisterLength ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingSession) GetTokenWhitelisterLength() (*big.Int, error)
GetTokenWhitelisterLength is a free data retrieval call binding the contract method 0x00623ae3.
Solidity: function getTokenWhitelisterLength() view returns(uint256)
func (*UnicryptTokenVestingSession) GetTokenWhitelisterStatus ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingSession) GetTokenWhitelisterStatus(_user common.Address) (bool, error)
GetTokenWhitelisterStatus is a free data retrieval call binding the contract method 0xcf6dde4a.
Solidity: function getTokenWhitelisterStatus(address _user) view returns(bool)
func (*UnicryptTokenVestingSession) GetUserLockIDForTokenAtIndex ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingSession) GetUserLockIDForTokenAtIndex(_user common.Address, _token common.Address, _index *big.Int) (*big.Int, error)
GetUserLockIDForTokenAtIndex is a free data retrieval call binding the contract method 0x1c30ffb1.
Solidity: function getUserLockIDForTokenAtIndex(address _user, address _token, uint256 _index) view returns(uint256)
func (*UnicryptTokenVestingSession) GetUserLockedTokenAtIndex ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingSession) GetUserLockedTokenAtIndex(_user common.Address, _index *big.Int) (common.Address, error)
GetUserLockedTokenAtIndex is a free data retrieval call binding the contract method 0x903df806.
Solidity: function getUserLockedTokenAtIndex(address _user, uint256 _index) view returns(address)
func (*UnicryptTokenVestingSession) GetUserLockedTokensLength ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingSession) GetUserLockedTokensLength(_user common.Address) (*big.Int, error)
GetUserLockedTokensLength is a free data retrieval call binding the contract method 0xa6dcb8de.
Solidity: function getUserLockedTokensLength(address _user) view returns(uint256)
func (*UnicryptTokenVestingSession) GetUserLocksForTokenLength ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingSession) GetUserLocksForTokenLength(_user common.Address, _token common.Address) (*big.Int, error)
GetUserLocksForTokenLength is a free data retrieval call binding the contract method 0xbb5ee001.
Solidity: function getUserLocksForTokenLength(address _user, address _token) view returns(uint256)
func (*UnicryptTokenVestingSession) GetWithdrawableShares ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingSession) GetWithdrawableShares(_lockID *big.Int) (*big.Int, error)
GetWithdrawableShares is a free data retrieval call binding the contract method 0xe04ab139.
Solidity: function getWithdrawableShares(uint256 _lockID) view returns(uint256)
func (*UnicryptTokenVestingSession) GetWithdrawableTokens ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingSession) GetWithdrawableTokens(_lockID *big.Int) (*big.Int, error)
GetWithdrawableTokens is a free data retrieval call binding the contract method 0xd323cdbf.
Solidity: function getWithdrawableTokens(uint256 _lockID) view returns(uint256)
func (*UnicryptTokenVestingSession) GetZeroFeeTokenAtIndex ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingSession) GetZeroFeeTokenAtIndex(_index *big.Int) (common.Address, error)
GetZeroFeeTokenAtIndex is a free data retrieval call binding the contract method 0xb1d7655c.
Solidity: function getZeroFeeTokenAtIndex(uint256 _index) view returns(address)
func (*UnicryptTokenVestingSession) GetZeroFeeTokensLength ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingSession) GetZeroFeeTokensLength() (*big.Int, error)
GetZeroFeeTokensLength is a free data retrieval call binding the contract method 0x03e1cdf4.
Solidity: function getZeroFeeTokensLength() view returns(uint256)
func (*UnicryptTokenVestingSession) IncrementLock ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingSession) IncrementLock(_lockID *big.Int, _amount *big.Int) (*types.Transaction, error)
IncrementLock is a paid mutator transaction binding the contract method 0x3717dee7.
Solidity: function incrementLock(uint256 _lockID, uint256 _amount) returns()
func (*UnicryptTokenVestingSession) LOCKS ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingSession) LOCKS(arg0 *big.Int) (struct { TokenAddress common.Address SharesDeposited *big.Int SharesWithdrawn *big.Int StartEmission *big.Int EndEmission *big.Int LockID *big.Int Owner common.Address Condition common.Address }, error)
LOCKS is a free data retrieval call binding the contract method 0xcf0d5af3.
Solidity: function LOCKS(uint256 ) view returns(address tokenAddress, uint256 sharesDeposited, uint256 sharesWithdrawn, uint256 startEmission, uint256 endEmission, uint256 lockID, address owner, address condition)
func (*UnicryptTokenVestingSession) Lock ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingSession) Lock(_token common.Address, _lock_params []TokenVestingLockParams) (*types.Transaction, error)
Lock is a paid mutator transaction binding the contract method 0x13ef2b1b.
Solidity: function lock(address _token, (address,uint256,uint256,uint256,address)[] _lock_params) returns()
func (*UnicryptTokenVestingSession) MIGRATOR ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingSession) MIGRATOR() (common.Address, error)
MIGRATOR is a free data retrieval call binding the contract method 0x9ecd7472.
Solidity: function MIGRATOR() view returns(address)
func (*UnicryptTokenVestingSession) MINIMUMDEPOSIT ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingSession) MINIMUMDEPOSIT() (*big.Int, error)
MINIMUMDEPOSIT is a free data retrieval call binding the contract method 0xf19451d8.
Solidity: function MINIMUM_DEPOSIT() view returns(uint256)
func (*UnicryptTokenVestingSession) Migrate ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingSession) Migrate(_lockID *big.Int, _option *big.Int) (*types.Transaction, error)
Migrate is a paid mutator transaction binding the contract method 0x3e54bacb.
Solidity: function migrate(uint256 _lockID, uint256 _option) returns()
func (*UnicryptTokenVestingSession) NONCE ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingSession) NONCE() (*big.Int, error)
NONCE is a free data retrieval call binding the contract method 0xe091dd1a.
Solidity: function NONCE() view returns(uint256)
func (*UnicryptTokenVestingSession) Owner ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*UnicryptTokenVestingSession) PayForFreeTokenLocks ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingSession) PayForFreeTokenLocks(_token common.Address) (*types.Transaction, error)
PayForFreeTokenLocks is a paid mutator transaction binding the contract method 0xa34df14f.
Solidity: function payForFreeTokenLocks(address _token) payable returns()
func (*UnicryptTokenVestingSession) Relock ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingSession) Relock(_lockID *big.Int, _unlock_date *big.Int) (*types.Transaction, error)
Relock is a paid mutator transaction binding the contract method 0xb2fb30cb.
Solidity: function relock(uint256 _lockID, uint256 _unlock_date) returns()
func (*UnicryptTokenVestingSession) RenounceOwnership ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*UnicryptTokenVestingSession) RevokeCondition ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingSession) RevokeCondition(_lockID *big.Int) (*types.Transaction, error)
RevokeCondition is a paid mutator transaction binding the contract method 0x5a5b8d9e.
Solidity: function revokeCondition(uint256 _lockID) returns()
func (*UnicryptTokenVestingSession) SHARES ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingSession) SHARES(arg0 common.Address) (*big.Int, error)
SHARES is a free data retrieval call binding the contract method 0xc368803a.
Solidity: function SHARES(address ) view returns(uint256)
func (*UnicryptTokenVestingSession) SetBlacklistContract ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingSession) SetBlacklistContract(_contract common.Address) (*types.Transaction, error)
SetBlacklistContract is a paid mutator transaction binding the contract method 0x741af17e.
Solidity: function setBlacklistContract(address _contract) returns()
func (*UnicryptTokenVestingSession) SetFees ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingSession) SetFees(_tokenFee *big.Int, _freeLockingFee *big.Int, _feeAddress common.Address, _freeLockingToken common.Address) (*types.Transaction, error)
SetFees is a paid mutator transaction binding the contract method 0xfc0633d0.
Solidity: function setFees(uint256 _tokenFee, uint256 _freeLockingFee, address _feeAddress, address _freeLockingToken) returns()
func (*UnicryptTokenVestingSession) SetMigrator ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingSession) SetMigrator(_migrator common.Address) (*types.Transaction, error)
SetMigrator is a paid mutator transaction binding the contract method 0x23cf3118.
Solidity: function setMigrator(address _migrator) returns()
func (*UnicryptTokenVestingSession) SplitLock ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingSession) SplitLock(_lockID *big.Int, _amount *big.Int) (*types.Transaction, error)
SplitLock is a paid mutator transaction binding the contract method 0x6588fc03.
Solidity: function splitLock(uint256 _lockID, uint256 _amount) returns()
func (*UnicryptTokenVestingSession) TestCondition ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingSession) TestCondition(condition common.Address) (bool, error)
TestCondition is a free data retrieval call binding the contract method 0x675187a3.
Solidity: function testCondition(address condition) view returns(bool)
func (*UnicryptTokenVestingSession) TokenOnZeroFeeWhitelist ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingSession) TokenOnZeroFeeWhitelist(_token common.Address) (bool, error)
TokenOnZeroFeeWhitelist is a free data retrieval call binding the contract method 0x1d7065db.
Solidity: function tokenOnZeroFeeWhitelist(address _token) view returns(bool)
func (*UnicryptTokenVestingSession) TransferLockOwnership ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingSession) TransferLockOwnership(_lockID *big.Int, _newOwner common.Address) (*types.Transaction, error)
TransferLockOwnership is a paid mutator transaction binding the contract method 0x5a04fb69.
Solidity: function transferLockOwnership(uint256 _lockID, address _newOwner) returns()
func (*UnicryptTokenVestingSession) TransferOwnership ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*UnicryptTokenVestingSession) Withdraw ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingSession) Withdraw(_lockID *big.Int, _amount *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x441a3e70.
Solidity: function withdraw(uint256 _lockID, uint256 _amount) returns()
type UnicryptTokenVestingTransactor ¶
type UnicryptTokenVestingTransactor struct {
// contains filtered or unexported fields
}
UnicryptTokenVestingTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewUnicryptTokenVestingTransactor ¶
func NewUnicryptTokenVestingTransactor(address common.Address, transactor bind.ContractTransactor) (*UnicryptTokenVestingTransactor, error)
NewUnicryptTokenVestingTransactor creates a new write-only instance of UnicryptTokenVesting, bound to a specific deployed contract.
func (*UnicryptTokenVestingTransactor) AdminSetWhitelister ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingTransactor) AdminSetWhitelister(opts *bind.TransactOpts, _user common.Address, _add bool) (*types.Transaction, error)
AdminSetWhitelister is a paid mutator transaction binding the contract method 0x86de2fcb.
Solidity: function adminSetWhitelister(address _user, bool _add) returns()
func (*UnicryptTokenVestingTransactor) EditZeroFeeWhitelist ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingTransactor) EditZeroFeeWhitelist(opts *bind.TransactOpts, _token common.Address, _add bool) (*types.Transaction, error)
EditZeroFeeWhitelist is a paid mutator transaction binding the contract method 0xb4540fa7.
Solidity: function editZeroFeeWhitelist(address _token, bool _add) returns()
func (*UnicryptTokenVestingTransactor) IncrementLock ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingTransactor) IncrementLock(opts *bind.TransactOpts, _lockID *big.Int, _amount *big.Int) (*types.Transaction, error)
IncrementLock is a paid mutator transaction binding the contract method 0x3717dee7.
Solidity: function incrementLock(uint256 _lockID, uint256 _amount) returns()
func (*UnicryptTokenVestingTransactor) Lock ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingTransactor) Lock(opts *bind.TransactOpts, _token common.Address, _lock_params []TokenVestingLockParams) (*types.Transaction, error)
Lock is a paid mutator transaction binding the contract method 0x13ef2b1b.
Solidity: function lock(address _token, (address,uint256,uint256,uint256,address)[] _lock_params) returns()
func (*UnicryptTokenVestingTransactor) Migrate ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingTransactor) Migrate(opts *bind.TransactOpts, _lockID *big.Int, _option *big.Int) (*types.Transaction, error)
Migrate is a paid mutator transaction binding the contract method 0x3e54bacb.
Solidity: function migrate(uint256 _lockID, uint256 _option) returns()
func (*UnicryptTokenVestingTransactor) PayForFreeTokenLocks ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingTransactor) PayForFreeTokenLocks(opts *bind.TransactOpts, _token common.Address) (*types.Transaction, error)
PayForFreeTokenLocks is a paid mutator transaction binding the contract method 0xa34df14f.
Solidity: function payForFreeTokenLocks(address _token) payable returns()
func (*UnicryptTokenVestingTransactor) Relock ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingTransactor) Relock(opts *bind.TransactOpts, _lockID *big.Int, _unlock_date *big.Int) (*types.Transaction, error)
Relock is a paid mutator transaction binding the contract method 0xb2fb30cb.
Solidity: function relock(uint256 _lockID, uint256 _unlock_date) returns()
func (*UnicryptTokenVestingTransactor) RenounceOwnership ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*UnicryptTokenVestingTransactor) RevokeCondition ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingTransactor) RevokeCondition(opts *bind.TransactOpts, _lockID *big.Int) (*types.Transaction, error)
RevokeCondition is a paid mutator transaction binding the contract method 0x5a5b8d9e.
Solidity: function revokeCondition(uint256 _lockID) returns()
func (*UnicryptTokenVestingTransactor) SetBlacklistContract ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingTransactor) SetBlacklistContract(opts *bind.TransactOpts, _contract common.Address) (*types.Transaction, error)
SetBlacklistContract is a paid mutator transaction binding the contract method 0x741af17e.
Solidity: function setBlacklistContract(address _contract) returns()
func (*UnicryptTokenVestingTransactor) SetFees ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingTransactor) SetFees(opts *bind.TransactOpts, _tokenFee *big.Int, _freeLockingFee *big.Int, _feeAddress common.Address, _freeLockingToken common.Address) (*types.Transaction, error)
SetFees is a paid mutator transaction binding the contract method 0xfc0633d0.
Solidity: function setFees(uint256 _tokenFee, uint256 _freeLockingFee, address _feeAddress, address _freeLockingToken) returns()
func (*UnicryptTokenVestingTransactor) SetMigrator ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingTransactor) SetMigrator(opts *bind.TransactOpts, _migrator common.Address) (*types.Transaction, error)
SetMigrator is a paid mutator transaction binding the contract method 0x23cf3118.
Solidity: function setMigrator(address _migrator) returns()
func (*UnicryptTokenVestingTransactor) SplitLock ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingTransactor) SplitLock(opts *bind.TransactOpts, _lockID *big.Int, _amount *big.Int) (*types.Transaction, error)
SplitLock is a paid mutator transaction binding the contract method 0x6588fc03.
Solidity: function splitLock(uint256 _lockID, uint256 _amount) returns()
func (*UnicryptTokenVestingTransactor) TransferLockOwnership ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingTransactor) TransferLockOwnership(opts *bind.TransactOpts, _lockID *big.Int, _newOwner common.Address) (*types.Transaction, error)
TransferLockOwnership is a paid mutator transaction binding the contract method 0x5a04fb69.
Solidity: function transferLockOwnership(uint256 _lockID, address _newOwner) returns()
func (*UnicryptTokenVestingTransactor) TransferOwnership ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*UnicryptTokenVestingTransactor) Withdraw ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingTransactor) Withdraw(opts *bind.TransactOpts, _lockID *big.Int, _amount *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x441a3e70.
Solidity: function withdraw(uint256 _lockID, uint256 _amount) returns()
type UnicryptTokenVestingTransactorRaw ¶
type UnicryptTokenVestingTransactorRaw struct {
Contract *UnicryptTokenVestingTransactor // Generic write-only contract binding to access the raw methods on
}
UnicryptTokenVestingTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*UnicryptTokenVestingTransactorRaw) Transact ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*UnicryptTokenVestingTransactorRaw) Transfer ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingTransactorRaw) 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 UnicryptTokenVestingTransactorSession ¶
type UnicryptTokenVestingTransactorSession struct { Contract *UnicryptTokenVestingTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
UnicryptTokenVestingTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*UnicryptTokenVestingTransactorSession) AdminSetWhitelister ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingTransactorSession) AdminSetWhitelister(_user common.Address, _add bool) (*types.Transaction, error)
AdminSetWhitelister is a paid mutator transaction binding the contract method 0x86de2fcb.
Solidity: function adminSetWhitelister(address _user, bool _add) returns()
func (*UnicryptTokenVestingTransactorSession) EditZeroFeeWhitelist ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingTransactorSession) EditZeroFeeWhitelist(_token common.Address, _add bool) (*types.Transaction, error)
EditZeroFeeWhitelist is a paid mutator transaction binding the contract method 0xb4540fa7.
Solidity: function editZeroFeeWhitelist(address _token, bool _add) returns()
func (*UnicryptTokenVestingTransactorSession) IncrementLock ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingTransactorSession) IncrementLock(_lockID *big.Int, _amount *big.Int) (*types.Transaction, error)
IncrementLock is a paid mutator transaction binding the contract method 0x3717dee7.
Solidity: function incrementLock(uint256 _lockID, uint256 _amount) returns()
func (*UnicryptTokenVestingTransactorSession) Lock ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingTransactorSession) Lock(_token common.Address, _lock_params []TokenVestingLockParams) (*types.Transaction, error)
Lock is a paid mutator transaction binding the contract method 0x13ef2b1b.
Solidity: function lock(address _token, (address,uint256,uint256,uint256,address)[] _lock_params) returns()
func (*UnicryptTokenVestingTransactorSession) Migrate ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingTransactorSession) Migrate(_lockID *big.Int, _option *big.Int) (*types.Transaction, error)
Migrate is a paid mutator transaction binding the contract method 0x3e54bacb.
Solidity: function migrate(uint256 _lockID, uint256 _option) returns()
func (*UnicryptTokenVestingTransactorSession) PayForFreeTokenLocks ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingTransactorSession) PayForFreeTokenLocks(_token common.Address) (*types.Transaction, error)
PayForFreeTokenLocks is a paid mutator transaction binding the contract method 0xa34df14f.
Solidity: function payForFreeTokenLocks(address _token) payable returns()
func (*UnicryptTokenVestingTransactorSession) Relock ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingTransactorSession) Relock(_lockID *big.Int, _unlock_date *big.Int) (*types.Transaction, error)
Relock is a paid mutator transaction binding the contract method 0xb2fb30cb.
Solidity: function relock(uint256 _lockID, uint256 _unlock_date) returns()
func (*UnicryptTokenVestingTransactorSession) RenounceOwnership ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*UnicryptTokenVestingTransactorSession) RevokeCondition ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingTransactorSession) RevokeCondition(_lockID *big.Int) (*types.Transaction, error)
RevokeCondition is a paid mutator transaction binding the contract method 0x5a5b8d9e.
Solidity: function revokeCondition(uint256 _lockID) returns()
func (*UnicryptTokenVestingTransactorSession) SetBlacklistContract ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingTransactorSession) SetBlacklistContract(_contract common.Address) (*types.Transaction, error)
SetBlacklistContract is a paid mutator transaction binding the contract method 0x741af17e.
Solidity: function setBlacklistContract(address _contract) returns()
func (*UnicryptTokenVestingTransactorSession) SetFees ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingTransactorSession) SetFees(_tokenFee *big.Int, _freeLockingFee *big.Int, _feeAddress common.Address, _freeLockingToken common.Address) (*types.Transaction, error)
SetFees is a paid mutator transaction binding the contract method 0xfc0633d0.
Solidity: function setFees(uint256 _tokenFee, uint256 _freeLockingFee, address _feeAddress, address _freeLockingToken) returns()
func (*UnicryptTokenVestingTransactorSession) SetMigrator ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingTransactorSession) SetMigrator(_migrator common.Address) (*types.Transaction, error)
SetMigrator is a paid mutator transaction binding the contract method 0x23cf3118.
Solidity: function setMigrator(address _migrator) returns()
func (*UnicryptTokenVestingTransactorSession) SplitLock ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingTransactorSession) SplitLock(_lockID *big.Int, _amount *big.Int) (*types.Transaction, error)
SplitLock is a paid mutator transaction binding the contract method 0x6588fc03.
Solidity: function splitLock(uint256 _lockID, uint256 _amount) returns()
func (*UnicryptTokenVestingTransactorSession) TransferLockOwnership ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingTransactorSession) TransferLockOwnership(_lockID *big.Int, _newOwner common.Address) (*types.Transaction, error)
TransferLockOwnership is a paid mutator transaction binding the contract method 0x5a04fb69.
Solidity: function transferLockOwnership(uint256 _lockID, address _newOwner) returns()
func (*UnicryptTokenVestingTransactorSession) TransferOwnership ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*UnicryptTokenVestingTransactorSession) Withdraw ¶
func (_UnicryptTokenVesting *UnicryptTokenVestingTransactorSession) Withdraw(_lockID *big.Int, _amount *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x441a3e70.
Solidity: function withdraw(uint256 _lockID, uint256 _amount) returns()
type UnicryptUniswapV2Locker ¶
type UnicryptUniswapV2Locker struct { UnicryptUniswapV2LockerCaller // Read-only binding to the contract UnicryptUniswapV2LockerTransactor // Write-only binding to the contract UnicryptUniswapV2LockerFilterer // Log filterer for contract events }
UnicryptUniswapV2Locker is an auto generated Go binding around an Ethereum contract.
func NewUnicryptUniswapV2Locker ¶
func NewUnicryptUniswapV2Locker(address common.Address, backend bind.ContractBackend) (*UnicryptUniswapV2Locker, error)
NewUnicryptUniswapV2Locker creates a new instance of UnicryptUniswapV2Locker, bound to a specific deployed contract.
type UnicryptUniswapV2LockerCaller ¶
type UnicryptUniswapV2LockerCaller struct {
// contains filtered or unexported fields
}
UnicryptUniswapV2LockerCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewUnicryptUniswapV2LockerCaller ¶
func NewUnicryptUniswapV2LockerCaller(address common.Address, caller bind.ContractCaller) (*UnicryptUniswapV2LockerCaller, error)
NewUnicryptUniswapV2LockerCaller creates a new read-only instance of UnicryptUniswapV2Locker, bound to a specific deployed contract.
func (*UnicryptUniswapV2LockerCaller) GFees ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerCaller) GFees(opts *bind.CallOpts) (struct { EthFee *big.Int SecondaryFeeToken common.Address SecondaryTokenFee *big.Int SecondaryTokenDiscount *big.Int LiquidityFee *big.Int ReferralPercent *big.Int ReferralToken common.Address ReferralHold *big.Int ReferralDiscount *big.Int }, error)
GFees is a free data retrieval call binding the contract method 0x90e1a003.
Solidity: function gFees() view returns(uint256 ethFee, address secondaryFeeToken, uint256 secondaryTokenFee, uint256 secondaryTokenDiscount, uint256 liquidityFee, uint256 referralPercent, address referralToken, uint256 referralHold, uint256 referralDiscount)
func (*UnicryptUniswapV2LockerCaller) GetLockedTokenAtIndex ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerCaller) GetLockedTokenAtIndex(opts *bind.CallOpts, _index *big.Int) (common.Address, error)
GetLockedTokenAtIndex is a free data retrieval call binding the contract method 0x14dd79a3.
Solidity: function getLockedTokenAtIndex(uint256 _index) view returns(address)
func (*UnicryptUniswapV2LockerCaller) GetNumLockedTokens ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerCaller) GetNumLockedTokens(opts *bind.CallOpts) (*big.Int, error)
GetNumLockedTokens is a free data retrieval call binding the contract method 0x783451e8.
Solidity: function getNumLockedTokens() view returns(uint256)
func (*UnicryptUniswapV2LockerCaller) GetNumLocksForToken ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerCaller) GetNumLocksForToken(opts *bind.CallOpts, _lpToken common.Address) (*big.Int, error)
GetNumLocksForToken is a free data retrieval call binding the contract method 0x1f2a1d2f.
Solidity: function getNumLocksForToken(address _lpToken) view returns(uint256)
func (*UnicryptUniswapV2LockerCaller) GetUserLockForTokenAtIndex ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerCaller) GetUserLockForTokenAtIndex(opts *bind.CallOpts, _user common.Address, _lpToken common.Address, _index *big.Int) (*big.Int, *big.Int, *big.Int, *big.Int, *big.Int, common.Address, error)
GetUserLockForTokenAtIndex is a free data retrieval call binding the contract method 0xd4ff493f.
Solidity: function getUserLockForTokenAtIndex(address _user, address _lpToken, uint256 _index) view returns(uint256, uint256, uint256, uint256, uint256, address)
func (*UnicryptUniswapV2LockerCaller) GetUserLockedTokenAtIndex ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerCaller) GetUserLockedTokenAtIndex(opts *bind.CallOpts, _user common.Address, _index *big.Int) (common.Address, error)
GetUserLockedTokenAtIndex is a free data retrieval call binding the contract method 0x903df806.
Solidity: function getUserLockedTokenAtIndex(address _user, uint256 _index) view returns(address)
func (*UnicryptUniswapV2LockerCaller) GetUserNumLockedTokens ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerCaller) GetUserNumLockedTokens(opts *bind.CallOpts, _user common.Address) (*big.Int, error)
GetUserNumLockedTokens is a free data retrieval call binding the contract method 0xa3969815.
Solidity: function getUserNumLockedTokens(address _user) view returns(uint256)
func (*UnicryptUniswapV2LockerCaller) GetUserNumLocksForToken ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerCaller) GetUserNumLocksForToken(opts *bind.CallOpts, _user common.Address, _lpToken common.Address) (*big.Int, error)
GetUserNumLocksForToken is a free data retrieval call binding the contract method 0xa69d9c4f.
Solidity: function getUserNumLocksForToken(address _user, address _lpToken) view returns(uint256)
func (*UnicryptUniswapV2LockerCaller) GetUserWhitelistStatus ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerCaller) GetUserWhitelistStatus(opts *bind.CallOpts, _user common.Address) (bool, error)
GetUserWhitelistStatus is a free data retrieval call binding the contract method 0xb9863a44.
Solidity: function getUserWhitelistStatus(address _user) view returns(bool)
func (*UnicryptUniswapV2LockerCaller) GetWhitelistedUserAtIndex ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerCaller) GetWhitelistedUserAtIndex(opts *bind.CallOpts, _index *big.Int) (common.Address, error)
GetWhitelistedUserAtIndex is a free data retrieval call binding the contract method 0x8c301df8.
Solidity: function getWhitelistedUserAtIndex(uint256 _index) view returns(address)
func (*UnicryptUniswapV2LockerCaller) GetWhitelistedUsersLength ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerCaller) GetWhitelistedUsersLength(opts *bind.CallOpts) (*big.Int, error)
GetWhitelistedUsersLength is a free data retrieval call binding the contract method 0x4bb18e3f.
Solidity: function getWhitelistedUsersLength() view returns(uint256)
func (*UnicryptUniswapV2LockerCaller) Owner ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerCaller) Owner(opts *bind.CallOpts) (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*UnicryptUniswapV2LockerCaller) TokenLocks ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerCaller) TokenLocks(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) (struct { LockDate *big.Int Amount *big.Int InitialAmount *big.Int UnlockDate *big.Int LockID *big.Int Owner common.Address }, error)
TokenLocks is a free data retrieval call binding the contract method 0xccebfa3f.
Solidity: function tokenLocks(address , uint256 ) view returns(uint256 lockDate, uint256 amount, uint256 initialAmount, uint256 unlockDate, uint256 lockID, address owner)
func (*UnicryptUniswapV2LockerCaller) UniswapFactory ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerCaller) UniswapFactory(opts *bind.CallOpts) (common.Address, error)
UniswapFactory is a free data retrieval call binding the contract method 0x8bdb2afa.
Solidity: function uniswapFactory() view returns(address)
type UnicryptUniswapV2LockerCallerRaw ¶
type UnicryptUniswapV2LockerCallerRaw struct {
Contract *UnicryptUniswapV2LockerCaller // Generic read-only contract binding to access the raw methods on
}
UnicryptUniswapV2LockerCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*UnicryptUniswapV2LockerCallerRaw) Call ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerCallerRaw) 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 UnicryptUniswapV2LockerCallerSession ¶
type UnicryptUniswapV2LockerCallerSession struct { Contract *UnicryptUniswapV2LockerCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
UnicryptUniswapV2LockerCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*UnicryptUniswapV2LockerCallerSession) GFees ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerCallerSession) GFees() (struct { EthFee *big.Int SecondaryFeeToken common.Address SecondaryTokenFee *big.Int SecondaryTokenDiscount *big.Int LiquidityFee *big.Int ReferralPercent *big.Int ReferralToken common.Address ReferralHold *big.Int ReferralDiscount *big.Int }, error)
GFees is a free data retrieval call binding the contract method 0x90e1a003.
Solidity: function gFees() view returns(uint256 ethFee, address secondaryFeeToken, uint256 secondaryTokenFee, uint256 secondaryTokenDiscount, uint256 liquidityFee, uint256 referralPercent, address referralToken, uint256 referralHold, uint256 referralDiscount)
func (*UnicryptUniswapV2LockerCallerSession) GetLockedTokenAtIndex ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerCallerSession) GetLockedTokenAtIndex(_index *big.Int) (common.Address, error)
GetLockedTokenAtIndex is a free data retrieval call binding the contract method 0x14dd79a3.
Solidity: function getLockedTokenAtIndex(uint256 _index) view returns(address)
func (*UnicryptUniswapV2LockerCallerSession) GetNumLockedTokens ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerCallerSession) GetNumLockedTokens() (*big.Int, error)
GetNumLockedTokens is a free data retrieval call binding the contract method 0x783451e8.
Solidity: function getNumLockedTokens() view returns(uint256)
func (*UnicryptUniswapV2LockerCallerSession) GetNumLocksForToken ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerCallerSession) GetNumLocksForToken(_lpToken common.Address) (*big.Int, error)
GetNumLocksForToken is a free data retrieval call binding the contract method 0x1f2a1d2f.
Solidity: function getNumLocksForToken(address _lpToken) view returns(uint256)
func (*UnicryptUniswapV2LockerCallerSession) GetUserLockForTokenAtIndex ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerCallerSession) GetUserLockForTokenAtIndex(_user common.Address, _lpToken common.Address, _index *big.Int) (*big.Int, *big.Int, *big.Int, *big.Int, *big.Int, common.Address, error)
GetUserLockForTokenAtIndex is a free data retrieval call binding the contract method 0xd4ff493f.
Solidity: function getUserLockForTokenAtIndex(address _user, address _lpToken, uint256 _index) view returns(uint256, uint256, uint256, uint256, uint256, address)
func (*UnicryptUniswapV2LockerCallerSession) GetUserLockedTokenAtIndex ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerCallerSession) GetUserLockedTokenAtIndex(_user common.Address, _index *big.Int) (common.Address, error)
GetUserLockedTokenAtIndex is a free data retrieval call binding the contract method 0x903df806.
Solidity: function getUserLockedTokenAtIndex(address _user, uint256 _index) view returns(address)
func (*UnicryptUniswapV2LockerCallerSession) GetUserNumLockedTokens ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerCallerSession) GetUserNumLockedTokens(_user common.Address) (*big.Int, error)
GetUserNumLockedTokens is a free data retrieval call binding the contract method 0xa3969815.
Solidity: function getUserNumLockedTokens(address _user) view returns(uint256)
func (*UnicryptUniswapV2LockerCallerSession) GetUserNumLocksForToken ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerCallerSession) GetUserNumLocksForToken(_user common.Address, _lpToken common.Address) (*big.Int, error)
GetUserNumLocksForToken is a free data retrieval call binding the contract method 0xa69d9c4f.
Solidity: function getUserNumLocksForToken(address _user, address _lpToken) view returns(uint256)
func (*UnicryptUniswapV2LockerCallerSession) GetUserWhitelistStatus ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerCallerSession) GetUserWhitelistStatus(_user common.Address) (bool, error)
GetUserWhitelistStatus is a free data retrieval call binding the contract method 0xb9863a44.
Solidity: function getUserWhitelistStatus(address _user) view returns(bool)
func (*UnicryptUniswapV2LockerCallerSession) GetWhitelistedUserAtIndex ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerCallerSession) GetWhitelistedUserAtIndex(_index *big.Int) (common.Address, error)
GetWhitelistedUserAtIndex is a free data retrieval call binding the contract method 0x8c301df8.
Solidity: function getWhitelistedUserAtIndex(uint256 _index) view returns(address)
func (*UnicryptUniswapV2LockerCallerSession) GetWhitelistedUsersLength ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerCallerSession) GetWhitelistedUsersLength() (*big.Int, error)
GetWhitelistedUsersLength is a free data retrieval call binding the contract method 0x4bb18e3f.
Solidity: function getWhitelistedUsersLength() view returns(uint256)
func (*UnicryptUniswapV2LockerCallerSession) Owner ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*UnicryptUniswapV2LockerCallerSession) TokenLocks ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerCallerSession) TokenLocks(arg0 common.Address, arg1 *big.Int) (struct { LockDate *big.Int Amount *big.Int InitialAmount *big.Int UnlockDate *big.Int LockID *big.Int Owner common.Address }, error)
TokenLocks is a free data retrieval call binding the contract method 0xccebfa3f.
Solidity: function tokenLocks(address , uint256 ) view returns(uint256 lockDate, uint256 amount, uint256 initialAmount, uint256 unlockDate, uint256 lockID, address owner)
func (*UnicryptUniswapV2LockerCallerSession) UniswapFactory ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerCallerSession) UniswapFactory() (common.Address, error)
UniswapFactory is a free data retrieval call binding the contract method 0x8bdb2afa.
Solidity: function uniswapFactory() view returns(address)
type UnicryptUniswapV2LockerFilterer ¶
type UnicryptUniswapV2LockerFilterer struct {
// contains filtered or unexported fields
}
UnicryptUniswapV2LockerFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewUnicryptUniswapV2LockerFilterer ¶
func NewUnicryptUniswapV2LockerFilterer(address common.Address, filterer bind.ContractFilterer) (*UnicryptUniswapV2LockerFilterer, error)
NewUnicryptUniswapV2LockerFilterer creates a new log filterer instance of UnicryptUniswapV2Locker, bound to a specific deployed contract.
func (*UnicryptUniswapV2LockerFilterer) FilterOnDeposit ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerFilterer) FilterOnDeposit(opts *bind.FilterOpts) (*UnicryptUniswapV2LockerOnDepositIterator, error)
FilterOnDeposit is a free log retrieval operation binding the contract event 0x830357565da6ecfc26d8d9f69df488ed6f70361af9a07e570544aeb5c5e765e5.
Solidity: event onDeposit(address lpToken, address user, uint256 amount, uint256 lockDate, uint256 unlockDate)
func (*UnicryptUniswapV2LockerFilterer) FilterOnWithdraw ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerFilterer) FilterOnWithdraw(opts *bind.FilterOpts) (*UnicryptUniswapV2LockerOnWithdrawIterator, error)
FilterOnWithdraw is a free log retrieval operation binding the contract event 0xccad973dcd043c7d680389db4378bd6b9775db7124092e9e0422c9e46d7985dc.
Solidity: event onWithdraw(address lpToken, uint256 amount)
func (*UnicryptUniswapV2LockerFilterer) FilterOwnershipTransferred ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*UnicryptUniswapV2LockerOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*UnicryptUniswapV2LockerFilterer) ParseOnDeposit ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerFilterer) ParseOnDeposit(log types.Log) (*UnicryptUniswapV2LockerOnDeposit, error)
ParseOnDeposit is a log parse operation binding the contract event 0x830357565da6ecfc26d8d9f69df488ed6f70361af9a07e570544aeb5c5e765e5.
Solidity: event onDeposit(address lpToken, address user, uint256 amount, uint256 lockDate, uint256 unlockDate)
func (*UnicryptUniswapV2LockerFilterer) ParseOnWithdraw ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerFilterer) ParseOnWithdraw(log types.Log) (*UnicryptUniswapV2LockerOnWithdraw, error)
ParseOnWithdraw is a log parse operation binding the contract event 0xccad973dcd043c7d680389db4378bd6b9775db7124092e9e0422c9e46d7985dc.
Solidity: event onWithdraw(address lpToken, uint256 amount)
func (*UnicryptUniswapV2LockerFilterer) ParseOwnershipTransferred ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerFilterer) ParseOwnershipTransferred(log types.Log) (*UnicryptUniswapV2LockerOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*UnicryptUniswapV2LockerFilterer) WatchOnDeposit ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerFilterer) WatchOnDeposit(opts *bind.WatchOpts, sink chan<- *UnicryptUniswapV2LockerOnDeposit) (event.Subscription, error)
WatchOnDeposit is a free log subscription operation binding the contract event 0x830357565da6ecfc26d8d9f69df488ed6f70361af9a07e570544aeb5c5e765e5.
Solidity: event onDeposit(address lpToken, address user, uint256 amount, uint256 lockDate, uint256 unlockDate)
func (*UnicryptUniswapV2LockerFilterer) WatchOnWithdraw ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerFilterer) WatchOnWithdraw(opts *bind.WatchOpts, sink chan<- *UnicryptUniswapV2LockerOnWithdraw) (event.Subscription, error)
WatchOnWithdraw is a free log subscription operation binding the contract event 0xccad973dcd043c7d680389db4378bd6b9775db7124092e9e0422c9e46d7985dc.
Solidity: event onWithdraw(address lpToken, uint256 amount)
func (*UnicryptUniswapV2LockerFilterer) WatchOwnershipTransferred ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *UnicryptUniswapV2LockerOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
type UnicryptUniswapV2LockerOnDeposit ¶
type UnicryptUniswapV2LockerOnDeposit struct { LpToken common.Address User common.Address Amount *big.Int LockDate *big.Int UnlockDate *big.Int Raw types.Log // Blockchain specific contextual infos }
UnicryptUniswapV2LockerOnDeposit represents a OnDeposit event raised by the UnicryptUniswapV2Locker contract.
type UnicryptUniswapV2LockerOnDepositIterator ¶
type UnicryptUniswapV2LockerOnDepositIterator struct { Event *UnicryptUniswapV2LockerOnDeposit // Event containing the contract specifics and raw log // contains filtered or unexported fields }
UnicryptUniswapV2LockerOnDepositIterator is returned from FilterOnDeposit and is used to iterate over the raw logs and unpacked data for OnDeposit events raised by the UnicryptUniswapV2Locker contract.
func (*UnicryptUniswapV2LockerOnDepositIterator) Close ¶
func (it *UnicryptUniswapV2LockerOnDepositIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*UnicryptUniswapV2LockerOnDepositIterator) Error ¶
func (it *UnicryptUniswapV2LockerOnDepositIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*UnicryptUniswapV2LockerOnDepositIterator) Next ¶
func (it *UnicryptUniswapV2LockerOnDepositIterator) 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 UnicryptUniswapV2LockerOnWithdraw ¶
type UnicryptUniswapV2LockerOnWithdraw struct { LpToken common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
UnicryptUniswapV2LockerOnWithdraw represents a OnWithdraw event raised by the UnicryptUniswapV2Locker contract.
type UnicryptUniswapV2LockerOnWithdrawIterator ¶
type UnicryptUniswapV2LockerOnWithdrawIterator struct { Event *UnicryptUniswapV2LockerOnWithdraw // Event containing the contract specifics and raw log // contains filtered or unexported fields }
UnicryptUniswapV2LockerOnWithdrawIterator is returned from FilterOnWithdraw and is used to iterate over the raw logs and unpacked data for OnWithdraw events raised by the UnicryptUniswapV2Locker contract.
func (*UnicryptUniswapV2LockerOnWithdrawIterator) Close ¶
func (it *UnicryptUniswapV2LockerOnWithdrawIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*UnicryptUniswapV2LockerOnWithdrawIterator) Error ¶
func (it *UnicryptUniswapV2LockerOnWithdrawIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*UnicryptUniswapV2LockerOnWithdrawIterator) Next ¶
func (it *UnicryptUniswapV2LockerOnWithdrawIterator) 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 UnicryptUniswapV2LockerOwnershipTransferred ¶
type UnicryptUniswapV2LockerOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
UnicryptUniswapV2LockerOwnershipTransferred represents a OwnershipTransferred event raised by the UnicryptUniswapV2Locker contract.
type UnicryptUniswapV2LockerOwnershipTransferredIterator ¶
type UnicryptUniswapV2LockerOwnershipTransferredIterator struct { Event *UnicryptUniswapV2LockerOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
UnicryptUniswapV2LockerOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the UnicryptUniswapV2Locker contract.
func (*UnicryptUniswapV2LockerOwnershipTransferredIterator) Close ¶
func (it *UnicryptUniswapV2LockerOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*UnicryptUniswapV2LockerOwnershipTransferredIterator) Error ¶
func (it *UnicryptUniswapV2LockerOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*UnicryptUniswapV2LockerOwnershipTransferredIterator) Next ¶
func (it *UnicryptUniswapV2LockerOwnershipTransferredIterator) 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 UnicryptUniswapV2LockerRaw ¶
type UnicryptUniswapV2LockerRaw struct {
Contract *UnicryptUniswapV2Locker // Generic contract binding to access the raw methods on
}
UnicryptUniswapV2LockerRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*UnicryptUniswapV2LockerRaw) Call ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerRaw) 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 (*UnicryptUniswapV2LockerRaw) Transact ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*UnicryptUniswapV2LockerRaw) Transfer ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerRaw) 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 UnicryptUniswapV2LockerSession ¶
type UnicryptUniswapV2LockerSession struct { Contract *UnicryptUniswapV2Locker // 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 }
UnicryptUniswapV2LockerSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*UnicryptUniswapV2LockerSession) GFees ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerSession) GFees() (struct { EthFee *big.Int SecondaryFeeToken common.Address SecondaryTokenFee *big.Int SecondaryTokenDiscount *big.Int LiquidityFee *big.Int ReferralPercent *big.Int ReferralToken common.Address ReferralHold *big.Int ReferralDiscount *big.Int }, error)
GFees is a free data retrieval call binding the contract method 0x90e1a003.
Solidity: function gFees() view returns(uint256 ethFee, address secondaryFeeToken, uint256 secondaryTokenFee, uint256 secondaryTokenDiscount, uint256 liquidityFee, uint256 referralPercent, address referralToken, uint256 referralHold, uint256 referralDiscount)
func (*UnicryptUniswapV2LockerSession) GetLockedTokenAtIndex ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerSession) GetLockedTokenAtIndex(_index *big.Int) (common.Address, error)
GetLockedTokenAtIndex is a free data retrieval call binding the contract method 0x14dd79a3.
Solidity: function getLockedTokenAtIndex(uint256 _index) view returns(address)
func (*UnicryptUniswapV2LockerSession) GetNumLockedTokens ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerSession) GetNumLockedTokens() (*big.Int, error)
GetNumLockedTokens is a free data retrieval call binding the contract method 0x783451e8.
Solidity: function getNumLockedTokens() view returns(uint256)
func (*UnicryptUniswapV2LockerSession) GetNumLocksForToken ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerSession) GetNumLocksForToken(_lpToken common.Address) (*big.Int, error)
GetNumLocksForToken is a free data retrieval call binding the contract method 0x1f2a1d2f.
Solidity: function getNumLocksForToken(address _lpToken) view returns(uint256)
func (*UnicryptUniswapV2LockerSession) GetUserLockForTokenAtIndex ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerSession) GetUserLockForTokenAtIndex(_user common.Address, _lpToken common.Address, _index *big.Int) (*big.Int, *big.Int, *big.Int, *big.Int, *big.Int, common.Address, error)
GetUserLockForTokenAtIndex is a free data retrieval call binding the contract method 0xd4ff493f.
Solidity: function getUserLockForTokenAtIndex(address _user, address _lpToken, uint256 _index) view returns(uint256, uint256, uint256, uint256, uint256, address)
func (*UnicryptUniswapV2LockerSession) GetUserLockedTokenAtIndex ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerSession) GetUserLockedTokenAtIndex(_user common.Address, _index *big.Int) (common.Address, error)
GetUserLockedTokenAtIndex is a free data retrieval call binding the contract method 0x903df806.
Solidity: function getUserLockedTokenAtIndex(address _user, uint256 _index) view returns(address)
func (*UnicryptUniswapV2LockerSession) GetUserNumLockedTokens ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerSession) GetUserNumLockedTokens(_user common.Address) (*big.Int, error)
GetUserNumLockedTokens is a free data retrieval call binding the contract method 0xa3969815.
Solidity: function getUserNumLockedTokens(address _user) view returns(uint256)
func (*UnicryptUniswapV2LockerSession) GetUserNumLocksForToken ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerSession) GetUserNumLocksForToken(_user common.Address, _lpToken common.Address) (*big.Int, error)
GetUserNumLocksForToken is a free data retrieval call binding the contract method 0xa69d9c4f.
Solidity: function getUserNumLocksForToken(address _user, address _lpToken) view returns(uint256)
func (*UnicryptUniswapV2LockerSession) GetUserWhitelistStatus ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerSession) GetUserWhitelistStatus(_user common.Address) (bool, error)
GetUserWhitelistStatus is a free data retrieval call binding the contract method 0xb9863a44.
Solidity: function getUserWhitelistStatus(address _user) view returns(bool)
func (*UnicryptUniswapV2LockerSession) GetWhitelistedUserAtIndex ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerSession) GetWhitelistedUserAtIndex(_index *big.Int) (common.Address, error)
GetWhitelistedUserAtIndex is a free data retrieval call binding the contract method 0x8c301df8.
Solidity: function getWhitelistedUserAtIndex(uint256 _index) view returns(address)
func (*UnicryptUniswapV2LockerSession) GetWhitelistedUsersLength ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerSession) GetWhitelistedUsersLength() (*big.Int, error)
GetWhitelistedUsersLength is a free data retrieval call binding the contract method 0x4bb18e3f.
Solidity: function getWhitelistedUsersLength() view returns(uint256)
func (*UnicryptUniswapV2LockerSession) IncrementLock ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerSession) IncrementLock(_lpToken common.Address, _index *big.Int, _lockID *big.Int, _amount *big.Int) (*types.Transaction, error)
IncrementLock is a paid mutator transaction binding the contract method 0xa9b07cea.
Solidity: function incrementLock(address _lpToken, uint256 _index, uint256 _lockID, uint256 _amount) returns()
func (*UnicryptUniswapV2LockerSession) LockLPToken ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerSession) LockLPToken(_lpToken common.Address, _amount *big.Int, _unlock_date *big.Int, _referral common.Address, _fee_in_eth bool, _withdrawer common.Address) (*types.Transaction, error)
LockLPToken is a paid mutator transaction binding the contract method 0x8af416f6.
Solidity: function lockLPToken(address _lpToken, uint256 _amount, uint256 _unlock_date, address _referral, bool _fee_in_eth, address _withdrawer) payable returns()
func (*UnicryptUniswapV2LockerSession) Migrate ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerSession) Migrate(_lpToken common.Address, _index *big.Int, _lockID *big.Int, _amount *big.Int) (*types.Transaction, error)
Migrate is a paid mutator transaction binding the contract method 0xee424278.
Solidity: function migrate(address _lpToken, uint256 _index, uint256 _lockID, uint256 _amount) returns()
func (*UnicryptUniswapV2LockerSession) Owner ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*UnicryptUniswapV2LockerSession) Relock ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerSession) Relock(_lpToken common.Address, _index *big.Int, _lockID *big.Int, _unlock_date *big.Int) (*types.Transaction, error)
Relock is a paid mutator transaction binding the contract method 0x60491d24.
Solidity: function relock(address _lpToken, uint256 _index, uint256 _lockID, uint256 _unlock_date) returns()
func (*UnicryptUniswapV2LockerSession) RenounceOwnership ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*UnicryptUniswapV2LockerSession) SetDev ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerSession) SetDev(_devaddr common.Address) (*types.Transaction, error)
SetDev is a paid mutator transaction binding the contract method 0xd477f05f.
Solidity: function setDev(address _devaddr) returns()
func (*UnicryptUniswapV2LockerSession) SetFees ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerSession) SetFees(_referralPercent *big.Int, _referralDiscount *big.Int, _ethFee *big.Int, _secondaryTokenFee *big.Int, _secondaryTokenDiscount *big.Int, _liquidityFee *big.Int) (*types.Transaction, error)
SetFees is a paid mutator transaction binding the contract method 0x86f6c3c1.
Solidity: function setFees(uint256 _referralPercent, uint256 _referralDiscount, uint256 _ethFee, uint256 _secondaryTokenFee, uint256 _secondaryTokenDiscount, uint256 _liquidityFee) returns()
func (*UnicryptUniswapV2LockerSession) SetMigrator ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerSession) SetMigrator(_migrator common.Address) (*types.Transaction, error)
SetMigrator is a paid mutator transaction binding the contract method 0x23cf3118.
Solidity: function setMigrator(address _migrator) returns()
func (*UnicryptUniswapV2LockerSession) SetReferralTokenAndHold ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerSession) SetReferralTokenAndHold(_referralToken common.Address, _hold *big.Int) (*types.Transaction, error)
SetReferralTokenAndHold is a paid mutator transaction binding the contract method 0xf02c2643.
Solidity: function setReferralTokenAndHold(address _referralToken, uint256 _hold) returns()
func (*UnicryptUniswapV2LockerSession) SetSecondaryFeeToken ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerSession) SetSecondaryFeeToken(_secondaryFeeToken common.Address) (*types.Transaction, error)
SetSecondaryFeeToken is a paid mutator transaction binding the contract method 0x8931a4be.
Solidity: function setSecondaryFeeToken(address _secondaryFeeToken) returns()
func (*UnicryptUniswapV2LockerSession) SplitLock ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerSession) SplitLock(_lpToken common.Address, _index *big.Int, _lockID *big.Int, _amount *big.Int) (*types.Transaction, error)
SplitLock is a paid mutator transaction binding the contract method 0x582d5adc.
Solidity: function splitLock(address _lpToken, uint256 _index, uint256 _lockID, uint256 _amount) payable returns()
func (*UnicryptUniswapV2LockerSession) TokenLocks ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerSession) TokenLocks(arg0 common.Address, arg1 *big.Int) (struct { LockDate *big.Int Amount *big.Int InitialAmount *big.Int UnlockDate *big.Int LockID *big.Int Owner common.Address }, error)
TokenLocks is a free data retrieval call binding the contract method 0xccebfa3f.
Solidity: function tokenLocks(address , uint256 ) view returns(uint256 lockDate, uint256 amount, uint256 initialAmount, uint256 unlockDate, uint256 lockID, address owner)
func (*UnicryptUniswapV2LockerSession) TransferLockOwnership ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerSession) TransferLockOwnership(_lpToken common.Address, _index *big.Int, _lockID *big.Int, _newOwner common.Address) (*types.Transaction, error)
TransferLockOwnership is a paid mutator transaction binding the contract method 0xbef497fd.
Solidity: function transferLockOwnership(address _lpToken, uint256 _index, uint256 _lockID, address _newOwner) returns()
func (*UnicryptUniswapV2LockerSession) TransferOwnership ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*UnicryptUniswapV2LockerSession) UniswapFactory ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerSession) UniswapFactory() (common.Address, error)
UniswapFactory is a free data retrieval call binding the contract method 0x8bdb2afa.
Solidity: function uniswapFactory() view returns(address)
func (*UnicryptUniswapV2LockerSession) WhitelistFeeAccount ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerSession) WhitelistFeeAccount(_user common.Address, _add bool) (*types.Transaction, error)
WhitelistFeeAccount is a paid mutator transaction binding the contract method 0x91ff1eb1.
Solidity: function whitelistFeeAccount(address _user, bool _add) returns()
func (*UnicryptUniswapV2LockerSession) Withdraw ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerSession) Withdraw(_lpToken common.Address, _index *big.Int, _lockID *big.Int, _amount *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x4532d776.
Solidity: function withdraw(address _lpToken, uint256 _index, uint256 _lockID, uint256 _amount) returns()
type UnicryptUniswapV2LockerTransactor ¶
type UnicryptUniswapV2LockerTransactor struct {
// contains filtered or unexported fields
}
UnicryptUniswapV2LockerTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewUnicryptUniswapV2LockerTransactor ¶
func NewUnicryptUniswapV2LockerTransactor(address common.Address, transactor bind.ContractTransactor) (*UnicryptUniswapV2LockerTransactor, error)
NewUnicryptUniswapV2LockerTransactor creates a new write-only instance of UnicryptUniswapV2Locker, bound to a specific deployed contract.
func (*UnicryptUniswapV2LockerTransactor) IncrementLock ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerTransactor) IncrementLock(opts *bind.TransactOpts, _lpToken common.Address, _index *big.Int, _lockID *big.Int, _amount *big.Int) (*types.Transaction, error)
IncrementLock is a paid mutator transaction binding the contract method 0xa9b07cea.
Solidity: function incrementLock(address _lpToken, uint256 _index, uint256 _lockID, uint256 _amount) returns()
func (*UnicryptUniswapV2LockerTransactor) LockLPToken ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerTransactor) LockLPToken(opts *bind.TransactOpts, _lpToken common.Address, _amount *big.Int, _unlock_date *big.Int, _referral common.Address, _fee_in_eth bool, _withdrawer common.Address) (*types.Transaction, error)
LockLPToken is a paid mutator transaction binding the contract method 0x8af416f6.
Solidity: function lockLPToken(address _lpToken, uint256 _amount, uint256 _unlock_date, address _referral, bool _fee_in_eth, address _withdrawer) payable returns()
func (*UnicryptUniswapV2LockerTransactor) Migrate ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerTransactor) Migrate(opts *bind.TransactOpts, _lpToken common.Address, _index *big.Int, _lockID *big.Int, _amount *big.Int) (*types.Transaction, error)
Migrate is a paid mutator transaction binding the contract method 0xee424278.
Solidity: function migrate(address _lpToken, uint256 _index, uint256 _lockID, uint256 _amount) returns()
func (*UnicryptUniswapV2LockerTransactor) Relock ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerTransactor) Relock(opts *bind.TransactOpts, _lpToken common.Address, _index *big.Int, _lockID *big.Int, _unlock_date *big.Int) (*types.Transaction, error)
Relock is a paid mutator transaction binding the contract method 0x60491d24.
Solidity: function relock(address _lpToken, uint256 _index, uint256 _lockID, uint256 _unlock_date) returns()
func (*UnicryptUniswapV2LockerTransactor) RenounceOwnership ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*UnicryptUniswapV2LockerTransactor) SetDev ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerTransactor) SetDev(opts *bind.TransactOpts, _devaddr common.Address) (*types.Transaction, error)
SetDev is a paid mutator transaction binding the contract method 0xd477f05f.
Solidity: function setDev(address _devaddr) returns()
func (*UnicryptUniswapV2LockerTransactor) SetFees ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerTransactor) SetFees(opts *bind.TransactOpts, _referralPercent *big.Int, _referralDiscount *big.Int, _ethFee *big.Int, _secondaryTokenFee *big.Int, _secondaryTokenDiscount *big.Int, _liquidityFee *big.Int) (*types.Transaction, error)
SetFees is a paid mutator transaction binding the contract method 0x86f6c3c1.
Solidity: function setFees(uint256 _referralPercent, uint256 _referralDiscount, uint256 _ethFee, uint256 _secondaryTokenFee, uint256 _secondaryTokenDiscount, uint256 _liquidityFee) returns()
func (*UnicryptUniswapV2LockerTransactor) SetMigrator ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerTransactor) SetMigrator(opts *bind.TransactOpts, _migrator common.Address) (*types.Transaction, error)
SetMigrator is a paid mutator transaction binding the contract method 0x23cf3118.
Solidity: function setMigrator(address _migrator) returns()
func (*UnicryptUniswapV2LockerTransactor) SetReferralTokenAndHold ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerTransactor) SetReferralTokenAndHold(opts *bind.TransactOpts, _referralToken common.Address, _hold *big.Int) (*types.Transaction, error)
SetReferralTokenAndHold is a paid mutator transaction binding the contract method 0xf02c2643.
Solidity: function setReferralTokenAndHold(address _referralToken, uint256 _hold) returns()
func (*UnicryptUniswapV2LockerTransactor) SetSecondaryFeeToken ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerTransactor) SetSecondaryFeeToken(opts *bind.TransactOpts, _secondaryFeeToken common.Address) (*types.Transaction, error)
SetSecondaryFeeToken is a paid mutator transaction binding the contract method 0x8931a4be.
Solidity: function setSecondaryFeeToken(address _secondaryFeeToken) returns()
func (*UnicryptUniswapV2LockerTransactor) SplitLock ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerTransactor) SplitLock(opts *bind.TransactOpts, _lpToken common.Address, _index *big.Int, _lockID *big.Int, _amount *big.Int) (*types.Transaction, error)
SplitLock is a paid mutator transaction binding the contract method 0x582d5adc.
Solidity: function splitLock(address _lpToken, uint256 _index, uint256 _lockID, uint256 _amount) payable returns()
func (*UnicryptUniswapV2LockerTransactor) TransferLockOwnership ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerTransactor) TransferLockOwnership(opts *bind.TransactOpts, _lpToken common.Address, _index *big.Int, _lockID *big.Int, _newOwner common.Address) (*types.Transaction, error)
TransferLockOwnership is a paid mutator transaction binding the contract method 0xbef497fd.
Solidity: function transferLockOwnership(address _lpToken, uint256 _index, uint256 _lockID, address _newOwner) returns()
func (*UnicryptUniswapV2LockerTransactor) TransferOwnership ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*UnicryptUniswapV2LockerTransactor) WhitelistFeeAccount ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerTransactor) WhitelistFeeAccount(opts *bind.TransactOpts, _user common.Address, _add bool) (*types.Transaction, error)
WhitelistFeeAccount is a paid mutator transaction binding the contract method 0x91ff1eb1.
Solidity: function whitelistFeeAccount(address _user, bool _add) returns()
func (*UnicryptUniswapV2LockerTransactor) Withdraw ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerTransactor) Withdraw(opts *bind.TransactOpts, _lpToken common.Address, _index *big.Int, _lockID *big.Int, _amount *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x4532d776.
Solidity: function withdraw(address _lpToken, uint256 _index, uint256 _lockID, uint256 _amount) returns()
type UnicryptUniswapV2LockerTransactorRaw ¶
type UnicryptUniswapV2LockerTransactorRaw struct {
Contract *UnicryptUniswapV2LockerTransactor // Generic write-only contract binding to access the raw methods on
}
UnicryptUniswapV2LockerTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*UnicryptUniswapV2LockerTransactorRaw) Transact ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*UnicryptUniswapV2LockerTransactorRaw) Transfer ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerTransactorRaw) 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 UnicryptUniswapV2LockerTransactorSession ¶
type UnicryptUniswapV2LockerTransactorSession struct { Contract *UnicryptUniswapV2LockerTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
UnicryptUniswapV2LockerTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*UnicryptUniswapV2LockerTransactorSession) IncrementLock ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerTransactorSession) IncrementLock(_lpToken common.Address, _index *big.Int, _lockID *big.Int, _amount *big.Int) (*types.Transaction, error)
IncrementLock is a paid mutator transaction binding the contract method 0xa9b07cea.
Solidity: function incrementLock(address _lpToken, uint256 _index, uint256 _lockID, uint256 _amount) returns()
func (*UnicryptUniswapV2LockerTransactorSession) LockLPToken ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerTransactorSession) LockLPToken(_lpToken common.Address, _amount *big.Int, _unlock_date *big.Int, _referral common.Address, _fee_in_eth bool, _withdrawer common.Address) (*types.Transaction, error)
LockLPToken is a paid mutator transaction binding the contract method 0x8af416f6.
Solidity: function lockLPToken(address _lpToken, uint256 _amount, uint256 _unlock_date, address _referral, bool _fee_in_eth, address _withdrawer) payable returns()
func (*UnicryptUniswapV2LockerTransactorSession) Migrate ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerTransactorSession) Migrate(_lpToken common.Address, _index *big.Int, _lockID *big.Int, _amount *big.Int) (*types.Transaction, error)
Migrate is a paid mutator transaction binding the contract method 0xee424278.
Solidity: function migrate(address _lpToken, uint256 _index, uint256 _lockID, uint256 _amount) returns()
func (*UnicryptUniswapV2LockerTransactorSession) Relock ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerTransactorSession) Relock(_lpToken common.Address, _index *big.Int, _lockID *big.Int, _unlock_date *big.Int) (*types.Transaction, error)
Relock is a paid mutator transaction binding the contract method 0x60491d24.
Solidity: function relock(address _lpToken, uint256 _index, uint256 _lockID, uint256 _unlock_date) returns()
func (*UnicryptUniswapV2LockerTransactorSession) RenounceOwnership ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*UnicryptUniswapV2LockerTransactorSession) SetDev ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerTransactorSession) SetDev(_devaddr common.Address) (*types.Transaction, error)
SetDev is a paid mutator transaction binding the contract method 0xd477f05f.
Solidity: function setDev(address _devaddr) returns()
func (*UnicryptUniswapV2LockerTransactorSession) SetFees ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerTransactorSession) SetFees(_referralPercent *big.Int, _referralDiscount *big.Int, _ethFee *big.Int, _secondaryTokenFee *big.Int, _secondaryTokenDiscount *big.Int, _liquidityFee *big.Int) (*types.Transaction, error)
SetFees is a paid mutator transaction binding the contract method 0x86f6c3c1.
Solidity: function setFees(uint256 _referralPercent, uint256 _referralDiscount, uint256 _ethFee, uint256 _secondaryTokenFee, uint256 _secondaryTokenDiscount, uint256 _liquidityFee) returns()
func (*UnicryptUniswapV2LockerTransactorSession) SetMigrator ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerTransactorSession) SetMigrator(_migrator common.Address) (*types.Transaction, error)
SetMigrator is a paid mutator transaction binding the contract method 0x23cf3118.
Solidity: function setMigrator(address _migrator) returns()
func (*UnicryptUniswapV2LockerTransactorSession) SetReferralTokenAndHold ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerTransactorSession) SetReferralTokenAndHold(_referralToken common.Address, _hold *big.Int) (*types.Transaction, error)
SetReferralTokenAndHold is a paid mutator transaction binding the contract method 0xf02c2643.
Solidity: function setReferralTokenAndHold(address _referralToken, uint256 _hold) returns()
func (*UnicryptUniswapV2LockerTransactorSession) SetSecondaryFeeToken ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerTransactorSession) SetSecondaryFeeToken(_secondaryFeeToken common.Address) (*types.Transaction, error)
SetSecondaryFeeToken is a paid mutator transaction binding the contract method 0x8931a4be.
Solidity: function setSecondaryFeeToken(address _secondaryFeeToken) returns()
func (*UnicryptUniswapV2LockerTransactorSession) SplitLock ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerTransactorSession) SplitLock(_lpToken common.Address, _index *big.Int, _lockID *big.Int, _amount *big.Int) (*types.Transaction, error)
SplitLock is a paid mutator transaction binding the contract method 0x582d5adc.
Solidity: function splitLock(address _lpToken, uint256 _index, uint256 _lockID, uint256 _amount) payable returns()
func (*UnicryptUniswapV2LockerTransactorSession) TransferLockOwnership ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerTransactorSession) TransferLockOwnership(_lpToken common.Address, _index *big.Int, _lockID *big.Int, _newOwner common.Address) (*types.Transaction, error)
TransferLockOwnership is a paid mutator transaction binding the contract method 0xbef497fd.
Solidity: function transferLockOwnership(address _lpToken, uint256 _index, uint256 _lockID, address _newOwner) returns()
func (*UnicryptUniswapV2LockerTransactorSession) TransferOwnership ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*UnicryptUniswapV2LockerTransactorSession) WhitelistFeeAccount ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerTransactorSession) WhitelistFeeAccount(_user common.Address, _add bool) (*types.Transaction, error)
WhitelistFeeAccount is a paid mutator transaction binding the contract method 0x91ff1eb1.
Solidity: function whitelistFeeAccount(address _user, bool _add) returns()
func (*UnicryptUniswapV2LockerTransactorSession) Withdraw ¶
func (_UnicryptUniswapV2Locker *UnicryptUniswapV2LockerTransactorSession) Withdraw(_lpToken common.Address, _index *big.Int, _lockID *big.Int, _amount *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x4532d776.
Solidity: function withdraw(address _lpToken, uint256 _index, uint256 _lockID, uint256 _amount) returns()