-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
10 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Staking procedure | ||
================ | ||
|
||
Before making any transaction (including deploy of a new contract), user need to have its address staked. | ||
|
||
For staking addresses we have a contract at address `0x0000000000000000000000000000000000000022`. It source is [here](https://github.com/papyrusglobal/docker-images/blob/master/geth-papyrus/contracts/papyrus.sol). | ||
|
||
To check that the address is already staked and can be used to make transactions, call `IsFrozen` method with the address as the argument. | ||
|
||
To stake the current address, call `freeze` method with no parameters. After that, all its balance will become unavailable for any subsequent transactions that try to decrease it. And after the `freezeGap` time, the address will be staked. |