Skip to content

Commit 4782ded

Browse files
Merge pull request #34 from oracleNetworkProtocol/worry-free
normalized modification
2 parents 8899dbf + d85616f commit 4782ded

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+349
-355
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ The Hardfork includes the following details:
1818
- Adjust the maximum number of verifiers to 50
1919
- Online smart contract module functions for PVM (Plug Virtual Machine); token generation contract "PRC20" will be generated for usage
2020
- Enable "UPLUGCN" to be burned.
21-
- Overall adjustment of "X/Liquidity", "X/Token" and other module fee parameters for liquid providers.
21+
- Overall adjustment of "X/Liquidity", "x/prc10" and other module fee parameters for liquid providers.
2222
- The wallet supports two key signature algorithms "Secp256k1" and "ETH_Secp256k1" from EVM (Ethereum Virtual Machine)
2323

2424
Attention for old on-chain records:
@@ -44,7 +44,7 @@ Stable version of existing functions in the warehouse
4444

4545
## v0.6.0 - 2021-09-29
4646
- Mainnet upgrade
47-
- Bump x/token and x/nft
47+
- Bump x/prc10 and x/nft
4848
- Add [Liquidity](https://github.com/oracleNetworkProtocol/liquidity) module [v0.1.2](https://github.com/oracleNetworkProtocol/liquidity/tree/v0.1.2)
4949

5050
## v0.5.0 - 2021-08-19

app/app.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,9 @@ import (
8888
tmjson "github.com/tendermint/tendermint/libs/json"
8989

9090
docs "github.com/oracleNetworkProtocol/plugchain/client"
91-
"github.com/oracleNetworkProtocol/plugchain/x/token"
92-
tokenkeeper "github.com/oracleNetworkProtocol/plugchain/x/token/keeper"
93-
tokentypes "github.com/oracleNetworkProtocol/plugchain/x/token/types"
91+
token "github.com/oracleNetworkProtocol/plugchain/x/prc10"
92+
tokenkeeper "github.com/oracleNetworkProtocol/plugchain/x/prc10/keeper"
93+
tokentypes "github.com/oracleNetworkProtocol/plugchain/x/prc10/types"
9494

9595
"github.com/oracleNetworkProtocol/plugchain/x/nft"
9696
nftkeeper "github.com/oracleNetworkProtocol/plugchain/x/nft/keeper"

docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@ The plugchain is built on the Cosmos SDK using the following modules:
2727

2828
The following modules are built on the OracleNetworkProtocol repository:
2929

30-
- x/token: token logic.
30+
- x/prc10: token logic.
3131
- x/nft: nft logic Off-chain assets on-chain.

docs/concepts/token.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Plug Chain is a Cosmos SDK based chain with full EVM support. Due to this archit
1515
The `plugcn` token belongs to the native token of the bank module, which can be used for pledge, IBC transfer, community governance, handling fee, etc.
1616

1717
## PRC-10
18-
PRC-10 is a token built into the Plug Chain public chain. PRC-10 is a technical token standard supported by the Plug Chain blockchain itself, without the use of EVM virtual machine, in the Plug Chain network, each account can issue PRC-10 tokens through the `x/token` module. Users can lock their tokens individually. To issue tokens, the issuer needs to specify the token name, total size, precision, description, etc.
18+
PRC-10 is a token built into the Plug Chain public chain. PRC-10 is a technical token standard supported by the Plug Chain blockchain itself, without the use of EVM virtual machine, in the Plug Chain network, each account can issue PRC-10 tokens through the `x/prc10` module. Users can lock their tokens individually. To issue tokens, the issuer needs to specify the token name, total size, precision, description, etc.
1919

2020
Tokens `plugcn`, `dhw1`, `kingdm`, `joey`, etc. are all PRC-10 protocol tokens
2121

docs/get-started/upgrade.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ The upgrade contents are as follows:
1717
4. Adjust the maximum number of validators to `50`
1818
5. Access the EVM module
1919
6. Enable the function of destroying `uplugcn`
20-
7. Overall adjustment of `x/liquidity`, `x/token` and other module fee parameters
20+
7. Overall adjustment of `x/liquidity`, `x/prc10` and other module fee parameters
2121
8. The wallet supports two key signature algorithms `secp256k1`, `eth_secp256k1`
2222

2323
Precautions:

docs/zh/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@ Plug Chain 使用以下模块构建在 Cosmos SDK 上:
2727

2828
以下模块构建在 OracleNetworkProtocol 仓库上:
2929

30-
- x/token: 代币逻辑。
30+
- x/prc10: 代币逻辑。
3131
- x/nft: 链下资产上链。

docs/zh/concepts/token.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Plug Chain 是一个基于 Cosmos SDK 的链,具有完整的 EVM 支持。由
1515
`plugcn`代币属于bank模块原生代币,可用于质押,IBC转账,社区治理,手续费等
1616

1717
## PRC-10
18-
PRC-10是一种是通过 Plug Chain 公链内置的通证。 PRC-10是 Plug Chain 区块链本身支持的技术代币标准,没有使用EVM虚拟机, 在 Plug Chain 网络中,每个帐户都能够通过`x/token`模块发行PRC-10代币。 用户可以单独锁定其代币。 要发放代币,发行者需要指定代币名称、总大小、精度、描述、等信息。
18+
PRC-10是一种是通过 Plug Chain 公链内置的通证。 PRC-10是 Plug Chain 区块链本身支持的技术代币标准,没有使用EVM虚拟机, 在 Plug Chain 网络中,每个帐户都能够通过`x/prc10`模块发行PRC-10代币。 用户可以单独锁定其代币。 要发放代币,发行者需要指定代币名称、总大小、精度、描述、等信息。
1919

2020
代币 `plugcn`,`dhw1`,`kingdm`,`joey`等都属于 PRC-10 协议代币
2121

docs/zh/get-started/upgrade.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Plug Chain 将在区块高度 `3000000` 停止主链运行,进行正式版本`
1717
4. 调整最大验证者个数为`50`
1818
5. 接入EVM模块
1919
6. 开通销毁`uplugcn`功能
20-
7. 整体调整`x/liquidity``x/token`等模块手续费参数
20+
7. 整体调整`x/liquidity``x/prc10`等模块手续费参数
2121
8. 钱包支持两种密钥签名算法 `secp256k1``eth_secp256k1`
2222

2323
注意事项:

proto/token/genesis.proto renamed to proto/prc10/genesis.proto

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
syntax = "proto3";
2-
package plugchain.token;
2+
package plugchain.prc10;
33

44
// this line is used by starport scaffolding # genesis/proto/import
5-
import "token/token.proto";
5+
import "prc10/prc10.proto";
66
import "gogoproto/gogo.proto";
77

8-
option go_package = "github.com/oracleNetworkProtocol/plugchain/x/token/types";
8+
option go_package = "github.com/oracleNetworkProtocol/plugchain/x/prc10/types";
99

1010
// GenesisState defines the token module's genesis state.
1111
message GenesisState {

proto/token/token.proto renamed to proto/prc10/prc10.proto

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
syntax = "proto3";
2-
package plugchain.token;
2+
package plugchain.prc10;
33

44
import "gogoproto/gogo.proto";
55
import "cosmos/base/v1beta1/coin.proto";
66

7-
option go_package = "github.com/oracleNetworkProtocol/plugchain/x/token/types";
7+
option go_package = "github.com/oracleNetworkProtocol/plugchain/x/prc10/types";
88
option (gogoproto.goproto_getters_all) = false;
99

1010
message Token {

0 commit comments

Comments
 (0)