
Foreword:
Among them, accounting is the comprehensive, continuous and systematic recording and reflection of the economic business that occurs or is completed by enterprises and institutions. Supervision is to review and inspect the legality, compliance and effectiveness of the economic business that is accounted for.
Among them, accounting is the comprehensive, continuous and systematic recording and reflection of the economic business that occurs or is completed by enterprises and institutions. Supervision is to review and inspect the legality, compliance and effectiveness of the economic business that is accounted for.
same,same,
On the early morning of the weekend, the sound of birds chirping by the window woke up the sleeping Nobita. The grown-up Nobita has not enjoyed a quiet weekend for a long time. After waking up, he picked up his mobile phone, and PlatON’s WeChat official account pushed the first tweet in the morning. As a loyal fan of PlatON, he will never miss any article, just click to view it. The eye-catching title instantly woke up Daxiong who was in a daze: "PlatON's first network (Alaya network) is online today." So I immediately checked my mailbox to see if the node qualification I applied for before was approved, and Daxiong was lucky to get the qualification to be a verification node of the Alaya network.
In the following content, we will build various scenarios of PlatON that will generate economic activities in detail, match the defined accounting subjects, and generate corresponding accounting vouchers. According to the generated voucher data, we can accurately track the economic activities in the entire PlatON, including the direction of Token caused by each economic activity.
At the same time, in accordance with the accounting standard: "If there is a loan, there must be a loan, and the loan must be equal", which can effectively calculate and verify the economic data of the entire PlatON to ensure the correctness and continuity of the system. If there is an abnormal phenomenon that does not satisfy the accounting identity, the problem can also be quickly located based on the accounting vouchers.
Nobita's Surprise
On the early morning of the weekend, the sound of birds chirping by the window woke up the sleeping Nobita. The grown-up Nobita has not enjoyed a quiet weekend for a long time. After waking up, he picked up his mobile phone, and PlatON’s WeChat official account pushed the first tweet in the morning. As a loyal fan of PlatON, he will never miss any article, just click to view it. The eye-catching title instantly woke up Daxiong who was in a daze: "PlatON's first network (Alaya network) is online today." So I immediately checked my mailbox to see if the node qualification I applied for before was approved, and Daxiong was lucky to get the qualification to be a verification node of the Alaya network.
After washing in a hurry, take out the computer -> power on -> visit PlatON official document deployment instructions. Purchasing cloud hosts, initial configuration, etc. according to the document requirements, completed the preparations before deployment.
After washing in a hurry, take out the computer -> power on -> visit PlatON official document deployment instructions. Purchasing cloud hosts, initial configuration, etc. according to the document requirements, completed the preparations before deployment.
secondary title
analyze:
From the scenario described in the above story, starting from the PlatON economic model, a variety of economic and business activities have emerged. The main economic activities are:
Nobita obtained locked funds
Nobita got the balance funds
Daxiong sends pledge transaction pledge node
Daxiong's node produces blocks to get rewards
The handling fee consumed by Nobita sending transactions
Next, we will introduce in detail the corresponding main parts of the economic activities. The main bodies involved in the above economic activities include: incentive pool contract, pledge contract, Nobita’s wallet address, and lock-up contract.
Incentive Pool Contract
As one of the participants in economic activities in the PlatON incentive pool, its main economic activity scenarios are:
As one of the participants in economic activities in the PlatON incentive pool, its main economic activity scenarios are:
block reward: After the node produces a block, the corresponding reward will be given by the incentive pool
Staking RewardsStaking Rewards
: In the settlement cycle, all verifiers participate in the distribution of verification rewards, which are given by the incentive poolAccounting voucher description:
The accounting subjects corresponding to the incentive pool contract are mainly:
Therefore, from the analysis of the incentive pool contract as the main body, the economic activities generated by double-entry bookkeeping are expressed in the following form.
Accounting voucher description:
block reward: Token flows from the incentive pool contract to the node income address, the increase in the balance is the income address, and the decrease in the balance is the incentive pool contract address;
Staking RewardsStaking Rewards
: Token flows from the incentive pool contract to the node income address, the increase in the balance is the income address, and the decrease in the balance is the incentive pool contract address;: Token flows from the pledge contract to the address of the incentive pool contract, the party whose balance increases is the incentive pool contract, and the party whose balance decreases is the address of the pledge contract.
Through the above double-entry bookkeeping and recording of the accounting vouchers, it can be clearly seen that the inflow and outflow of Token held by the incentive pool can be traced to each specific economic activity.
pledge contract
pledge contract
In PlatON, the pledge contract participates in all economic activities related to the pledge, and the main scenarios include:
In PlatON, the pledge contract participates in all economic activities related to the pledge, and the main scenarios include:Stake/Unstake
: For newly pledged nodes, the user's Token will be locked in the pledge contractExplanation: In actual situations, depending on the scenario and status, the pledge and release of the pledge will actually generate a lot of economic activities, corresponding to more complex double-entry bookkeeping. Here we only list the simplest scenarios.
Accounting subjects are mainly divided into:
According to the above-mentioned assigned subjects, the main economic activities will be analyzed next.
Pledge or unstake
Explanation: In actual situations, depending on the scenario and status, the pledge and release of the pledge will actually generate a lot of economic activities, corresponding to more complex double-entry bookkeeping. Here we only list the simplest scenarios.
Accounting voucher description:
Accounting voucher description:Staking (Balance)
: Token is transferred from the Daxiong wallet address to the pledge contract, the pledge contract is the one whose balance increases, and the Daxiong wallet address is the one whose balance decreases;Pledge/Unstake of Locked Amount
Note: The detailed description of using the lock-up deposit for pledge is in the main part of the lock-up contract. Here, it is assumed that the balance is used for pledge to illustrate the economic activity relationship.
lock contract
Scenario: Nobita uses the locked amount for pledge operations, and the locked balance will be transferred to the pledge contract.
In PlatON, the lock-up contract participates in all economic activities related to the lock-up, the use of the lock-up amount, and the release of the lock-up. The main scenarios include:
Pledge/Unstake of Locked Amount
User Lockup
lock release
Accounting subjects are mainly divided into:
According to the above-mentioned assigned subjects, the main economic activities will be analyzed next.
Pledge/Unstake of Locked Amount
Accounting voucher description:
Accounting voucher description:Pledge (lock deposit)
: Token is transferred from the lock-up contract to the pledge contract, the party whose balance increases is the pledge contract, and the party whose balance decreases is the lock-up contract: Token flows from the pledge contract to the lock-up contract. The party whose balance increases is the lock-up contract, and the party whose balance decreases is the pledge contract.
(to be continued)