Questions tagged [timelock]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
10 views

Logic for vesting tokens that will release tokens to each role after every 15 minutes

I need to develop Ethereum Token Vesting contract on ERC20 Token. With total supply of 100M tokens. Investor : 50M Contributor : 25M Founders : 25M Need to write an algorithm for vesting which will ...
0
votes
0answers
9 views

The basic algorithm for vesting/timelocking?

In vesting or timing smart contracts, in the simplest cases, how does the process or algorithm of releasing tokens usually work? (1) Does the admin call a function called something like ...
0
votes
1answer
22 views

Why am I getting "not implicitly convertible" and "member not found" errors when trying to use TokenTimelock?

I am rewriting some code in order to be able to set 4 timelocks from a fixed date to team members. I always get the error ~/code/ANCToken$ truffle compile Compiling your contracts... ================...
1
vote
1answer
26 views

How do contracts with timing functions get executed?

Let's say, there's a contract with timelock or vesting. In it there's a condition that check whether or not the right time has come, in order to release some tokens to some people. But said condition ...
0
votes
0answers
20 views

Governance Voting Power based on staking

I am using openzeppelin Governance contract i want to made some changes in terms of "how to calculate the voting power" I want to calculate voting power like that VP = T * M Where: ● VP is ...
2
votes
0answers
53 views

Deploy Governance how to configure simple timelock from remix

I went to OpenZeppelin's wizard to attempt to set up a simple token with Governance, I'm can see examples of the token but I'm wondering what the standard deployment for a TimelockController is. I ...
0
votes
0answers
24 views

Creating a multi use Timelock Contract

I have created a basic Timelock contract. I'm going to have to lock and vest a bunch of different amounts of my ERC20. I was wondering if there was a way that this contract could hold different ...
0
votes
1answer
18 views

Trying to add view balance function to Timelock contract

I'm trying to add a function that would publicly return the total amount of tokens a timelock contract is holding. I'm trying to call balanceOf address(this) from IERC20 but it's not compiling pragma ...
0
votes
1answer
33 views

Correct Constructor arguments for basic timelock contract

just wondering why I can't get this constructor to pass. What am i doing wrong ? // SPDX-License-Identifier: MIT // TeamLockTest pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/...
0
votes
0answers
9 views

Basic difference among time lock, staking, hodling, liquidity pooling?

Can some one make me to clear with this keywords in short. In the process of learning block chain technology I got stuck and confused among this terminology. I got some basic understanding between ...
0
votes
1answer
43 views

what is the purpose of minimum delay in timelock/governance by open zeppelin?

In Open Zeppelin's Governance/Timelock contracts, what is the purpose of minDelay and how is it used?
0
votes
0answers
26 views

dynamically set duration constructor smart contract

I have a timelock smart contract hardcoded with a duration value (1 year in this example). I can of course redeploy infinitely this smart contract if I need another duration by changing the hardcoded ...
0
votes
0answers
36 views

I am unable to publish and verify my contract on etherscan kovan test network. (Year 2021)

I am trying to publish my contract on kovan testnet but in the compiler output section, I am getting the same error again and again. I tried to do everything which was asked there, but couldn't find a ...
0
votes
0answers
8 views

Did not add freezing functionality to token contract. Where is a trustworthy place I can timelock our coins?

I already distributed my tokens and added liquidity on Uniswap. I dont really want to start all over again, so is there a trustworthy dapp I can timelock my tokens into?
0
votes
1answer
65 views

Is it possible to add withdraw tokens/transfer from vesting contract?

This is the contract:https://github.com/laronlineworld/vestingcontract/blob/main/VestingContract.sol Is it possible to add withdraw/transfer token from vesting contract? And the access is for owner ...
1
vote
1answer
150 views

My Timelock contract won't set a release time under 100000000000

Newbie here. Really excited to be joining the community. I've been trying to compile a basic timelock contract. I've finally managed to deploy it but I can only set the release time to 100000000000000 ...
0
votes
1answer
226 views

Time locked wallet contract withdraw revert

I have a time locked wallet code which withdraws the fund after some period: // SPDX-License-Identifier: Unlicensed pragma solidity ^0.8.0; import '@openzeppelin/contracts/token/ERC20/ERC20.sol'; ...
0
votes
1answer
51 views

How to calculate this function for both Ethereum networks mainnet and ropsten getBlockTimestamp().add(delay)?

I have a question: How to calculate this function for both Ethereum networks mainnet and ropsten getBlockTimestamp().add(delay)? I installed web3.eth and tried web3.eth.getBlockTimestamp().add(delay) ...
0
votes
0answers
98 views

add() function with more parameters on solidity?

I'm trying to help a friend debug a timelocked transaction within a BSC smart contract written in solidity 0.6.12 but this is the first time I read code on this language and platform. We're trying to ...
0
votes
0answers
123 views

How do I execute this Timelock contract on Remix Ethereum?

i am using a timelock smart contract but im not sure how to input the proper value to use this function on remix. what exactly do i put in data byte field? how do i get that data from the other ...
0
votes
1answer
183 views

Open Zeppelin TokenTimeLock - gas required exceeds allowance (10000000) or always failing transaction

I am creating an ERC20 contract using OpenZeppelin, to lock up my ERC20 tokens for a specific period of time. I am trying to deploy this contract onto the Rinkeby test network through remix.ethereum....
1
vote
1answer
296 views

how to get input of time in solidity?

I want to run a session for a product in auction , my product struct contains the time interval we need for being the session of the bidding. While initializing a product, I need to take the input of ...
3
votes
1answer
6k views

Time Lock and vesting smart contract

I would like to create a smart contract that will take care of locking and/or vesting funds to several beneficiaries (inputted by the owner of the smart contract). The funds that it will vest and lock ...
0
votes
1answer
674 views

Help adding timelock vesting to a deployed token

I´m working in a smart contract where the tokens are distributed to 4 addresses. My intention is to set a timelock vesting to 3 addresses, so the tokens of those wallets will be released after 48 ...
3
votes
1answer
963 views

Locking certain amount of tokens

I need to implement a timelock in my token. I was thinking about using the openzeppelin TokenTimelock.sol contract, but I am unsure how to implment it. When would this constructor function be called? ...
1
vote
1answer
156 views

What is timelock crypto and how can it be used for random number generation?

In this video Vitalik Buterin talks about timelock crypto and that it's his favorite option for provably fair random number generation https://youtu.be/p5qwbOkCZSc?t=4958. Can anyone explain what ...