- LifDeposit
- DepositWithdrawn
- LifDepositAdded
- OwnershipTransferred
- WithdrawDelayChanged
- WithdrawalRequested
- addDeposit
- balanceOf
- getLifTokenAddress
- getWithdrawDelay
- getWithdrawalRequest
- initialize
- isOwner
- owner
- renounceOwnership
- setInterfaces
- setWithdrawDelay
- submitWithdrawalRequest
- supportsInterface
- transferOwnership
- withdrawDeposit
LifDeposit.DepositWithdrawn(organization, sender, value) 0c4c5d4c
Arguments
type | name | description |
---|---|---|
bytes32 | organization | indexed |
address | sender | indexed |
uint256 | value | not indexed |
LifDeposit.LifDepositAdded(organization, sender, value) 6acf8bd7
Arguments
type | name | description |
---|---|---|
bytes32 | organization | indexed |
address | sender | indexed |
uint256 | value | not indexed |
LifDeposit.OwnershipTransferred(previousOwner, newOwner) 8be0079c
Arguments
type | name | description |
---|---|---|
address | previousOwner | indexed |
address | newOwner | indexed |
LifDeposit.WithdrawDelayChanged(previousWithdrawDelay, newWithdrawDelay) 675b321b
Arguments
type | name | description |
---|---|---|
uint256 | previousWithdrawDelay | not indexed |
uint256 | newWithdrawDelay | not indexed |
LifDeposit.WithdrawalRequested(organization, sender, value, withdrawTime) 8b0fcbdf
Arguments
type | name | description |
---|---|---|
bytes32 | organization | indexed |
address | sender | indexed |
uint256 | value | not indexed |
uint256 | withdrawTime | not indexed |
LifDeposit.addDeposit(organization, value) nonpayable
6e700a7f
Makes deposit of Lif tokens
Inputs
type | name | description |
---|---|---|
bytes32 | organization | The organization OrgId |
uint256 | value | The value to be deposited |
LifDeposit.balanceOf(organization) view
6c7f1542
Returns deposit value of the organization
Inputs
type | name | description |
---|---|---|
bytes32 | organization | The organization Id |
Outputs
type | name | description |
---|---|---|
uint256 | balance | Deposit value |
LifDeposit.getLifTokenAddress() view
671110df
Returns Lif token address
Outputs
type | name | description |
---|---|---|
address | lifToken | Address of the Lif token |
LifDeposit.getWithdrawDelay() view
fe3300d0
Returns withdrawDelay value
Outputs
type | name | description |
---|---|---|
uint256 | delay | Delay time in seconds before the requested withdrawal will be possible |
LifDeposit.getWithdrawalRequest(organization) view
3e7d48ab
Returns information about deposit withdrawal request
Inputs
type | name | description |
---|---|---|
bytes32 | organization | The organization Id |
Outputs
type | name | description |
---|---|---|
bool | exists | The request existence flag |
uint256 | value | Deposit withdrawal value |
uint256 | withdrawTime | Withraw time on seconds |
LifDeposit.initialize(__owner, _orgId, _lif) nonpayable
c0c53b8b
Initializer for upgradeable contracts
Inputs
type | name | description |
---|---|---|
address | __owner | The address of the contract owner |
address | _orgId | Address of the OrgId contract |
address | _lif | Address of the Lif token |
LifDeposit.isOwner() view
8f32d59b
Returns true if the caller is the current owner.
LifDeposit.owner() view
8da5cb5b
Returns the address of the current owner.
LifDeposit.renounceOwnership() nonpayable
715018a6
Leaves the contract without owner. It will not be possible to call
onlyOwner
functions anymore. Can only be called by the current owner. * NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner.
LifDeposit.setInterfaces() nonpayable
fca85eb3
Set the list of contract interfaces supported
LifDeposit.setWithdrawDelay(_withdrawDelay) nonpayable
72f0cb30
Changing withdrawDelay value
Inputs
type | name | description |
---|---|---|
uint256 | _withdrawDelay | New withdrawDelay value in seconds |
LifDeposit.submitWithdrawalRequest(organization, value) nonpayable
fa094c70
Submits withdrawal request
Inputs
type | name | description |
---|---|---|
bytes32 | organization | The organization OrgId |
uint256 | value | The value to withdraw |
LifDeposit.supportsInterface(interfaceId) view
01ffc9a7
See {IERC165-supportsInterface}. * Time complexity O(1), guaranteed to always use less than 30 000 gas.
Inputs
type | name | description |
---|---|---|
bytes4 | interfaceId | undefined |
LifDeposit.transferOwnership(newOwner) nonpayable
f2fde38b
Transfers ownership of the contract to a new account (
newOwner
). Can only be called by the current owner.
Inputs
type | name | description |
---|---|---|
address | newOwner | undefined |
LifDeposit.withdrawDeposit(organization) nonpayable
a8e06bc3
Trunsfers deposited tokens to the sender
Inputs
type | name | description |
---|---|---|
bytes32 | organization | The organization OrgId |