S
S
SlipDez2022-03-12 17:47:28
blockchain
SlipDez, 2022-03-12 17:47:28

How to define a lock function in a smart contract?

Now many people have begun to raise the issue of blocking cryptocurrencies (tokens) such as USDT USDC and so on. I want to check the information in which tokens do not have the function of locking (locking) tokens by calling a specific function in a smart contract.


Tell me how to define a function in a smart contract that allows you to determine the possibility of blocking, what does it look like?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
SlipDez, 2022-03-13
@SlipDez

I found an answer for those who are interested in the USDT example.
622db78983d9c209010068.png
The function is usually called freeze frozen blacklist, if you briefly look in the Write Contract tab, look at the functions further in the contract code, look for a function and what it does

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question