diff --git a/README.md b/README.md index 0ef5e5b..df98e01 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,7 @@ Neo Developer Portal is built using [Docusaurus](https://docusaurus.io/) v2. 4. Wait for a review 1. Neo developer portal team will review your PR 2. Acceptable PRs will be approved and merged into `dev` branch + 3. Once your changes are merged into the `dev` branch, and it will automatically deploy to [docs.neo.org](https://docs.neo.org). 5. Release 1. Neo developer portal team will periodically merge `dev` into `main` branch and it will automatically deploy to [developers.neo.org](https://developers.neo.org/docs) 2. View history of releases on Github diff --git a/docs/faq/basic.md b/docs/faq/basic.md index fd8fe3c..6057681 100644 --- a/docs/faq/basic.md +++ b/docs/faq/basic.md @@ -60,7 +60,7 @@ You can check any confirmed transaction on any blockchain explorer that is compa ## What browsers are available for Neo blockchain? -A full list of explorers for Neo N3 can be found on the [Neo website](https://developers.neo.org/resources). +A full list of explorers for Neo N3 can be found on the [Neo website](https://neo.org/dev#tooling). ## Is there an equivalent of the ERC-20 standard for Neo? diff --git a/docs/n3/develop/write/framework.md b/docs/n3/develop/write/framework.md index 98fe6f6..4fa33c5 100644 --- a/docs/n3/develop/write/framework.md +++ b/docs/n3/develop/write/framework.md @@ -7,7 +7,7 @@ The .NET framework is an encapsulation of the Smart Contract API, which helps .N Neo.SmartContract.Framework mainly provides the following API methods: -- A series of native contract methods that can be invoked in the smart contract,see [Neo.SmartContract.Framework.Native](https://developers.neo.org/docs/n3/reference/scapi/framework/native). -- Interoperability services layer methods, see [Neo.SmartContract.Framework.Service](https://developers.neo.org/docs/n3/reference/scapi/framework/services). -- Methods provided by the framework,see [Neo.SmartContract.Framework](https://developers.neo.org/docs/n3/reference/scapi/framework). +- A series of native contract methods that can be invoked in the smart contract,see [Neo.SmartContract.Framework.Native](../../reference/scapi/framework/native/index.md). +- Interoperability services layer methods, see [Neo.SmartContract.Framework.Service](../../reference/scapi/framework/services/index.md). +- Methods provided by the framework,see [Neo.SmartContract.Framework](../../reference/scapi/framework/index.md). diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/develop/write/basics.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/develop/write/basics.md index 6bee9b9..175ba3c 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/n3/develop/write/basics.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/n3/develop/write/basics.md @@ -84,7 +84,7 @@ public static string Name() => "name of the token"; 在开发智能合约时,必须将应用程序的数据存储在区块链上。当创建一个智能合约或者交易使用这个合约时,合约的代码需要读写它的存储空间。存储在智能合约存储区中的所有数据在智能合约的调用期间会自动持久化。区块链中的全节点会存储链上每一个智能合约的状态。 -Neo提供了基于键值对的数据访问接口。可以使用键从智能合约中读取、删除数据或将数据记录写入到智能合约中。此外,智能合约可以检索并将它们的存储上下文发送给其他合约,从而委托其他合约管理它们的存储区域。在C#开发中,智能合约可以使用 `Storage` 类来读写持久性存储区。 `Storage` 类是一个静态类,不需要构造函数。 `Storage` 类的方法可以查看 [API 参考文档](../../reference/scapi/framework/services/Storage.md) 。 +Neo提供了基于键值对的数据访问接口。可以使用键从智能合约中读取、删除数据或将数据记录写入到智能合约中。此外,智能合约可以检索并将它们的存储上下文发送给其他合约,从而委托其他合约管理它们的存储区域。在C#开发中,智能合约可以使用 `Storage` 类来读写持久性存储区。 `Storage` 类是一个静态类,不需要构造函数。 `Storage` 类的方法可以查看 [API 参考文档](../../reference/scapi/framework/services/Storage/index.md) 。 例如,如果你想将token的总供应量存储到存储区: diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/develop/write/framework.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/develop/write/framework.md index 2612834..9687232 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/n3/develop/write/framework.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/n3/develop/write/framework.md @@ -4,7 +4,7 @@ Neo 智能合约框架(Neo.SmartContract.Framework)是对智能合约开发 Neo.SmartContract.Framework 提供了以下重要的 API 方法集: -- 原生合约中的一系列方法,请参阅 [Neo.SmartContract.Framework.Native](https://developers.neo.org/zh/docs/n3/reference/scapi/framework/native)。 -- 互操作服务层的方法,请参阅 [Neo.SmartContract.Framework.Service](https://developers.neo.org/zh/docs/n3/reference/scapi/framework/services)。 -- 智能合约框架本身提供的常用方法,请参阅 [Neo.SmartContract.Framework](https://developers.neo.org/zh/docs/n3/reference/scapi/framework/framework)。 +- 原生合约中的一系列方法,请参阅 [Neo.SmartContract.Framework.Native](../../reference/scapi/framework/native/index.md)。 +- 互操作服务层的方法,请参阅 [Neo.SmartContract.Framework.Service](../../reference/scapi/framework/services/index.md)。 +- 智能合约框架本身提供的常用方法,请参阅 [Neo.SmartContract.Framework](../../reference/scapi/framework/index.md)。 diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/glossary.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/glossary.md index 91721c3..83240c0 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/n3/glossary.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/n3/glossary.md @@ -63,7 +63,7 @@ NEP17 协议是 Neo 补充协议中的第17号协议。其目的是为 Neo 建 #### 存储区 -每个被部署到 Neo 区块链上的智能合约程序,都拥有一个私有存储区用于存放应用程序的数据。当创建一个智能合约或者交易使用这个合约时,合约的代码需要读写它的存储空间。每个合约都可以声明一块存储区,声名方式为在合约的类上添加一段自定义特性。详情请参见 [存储区操作](reference/scapi/framework/services/storage.md) +每个被部署到 Neo 区块链上的智能合约程序,都拥有一个私有存储区用于存放应用程序的数据。当创建一个智能合约或者交易使用这个合约时,合约的代码需要读写它的存储空间。每个合约都可以声明一块存储区,声名方式为在合约的类上添加一段自定义特性。详情请参见 [存储区操作](reference/scapi/framework/services/storage/index.md) #### NEF diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/framework.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/index.md similarity index 100% rename from i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/framework.md rename to i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/index.md diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native.md deleted file mode 100644 index c041a27..0000000 --- a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native.md +++ /dev/null @@ -1,25 +0,0 @@ -# Neo.SmartContract.Framework.Native - -在智能合约中可以调用原生合约中的一系列方法。 - -## 原生合约类 - -| 合约名称 | 合约哈希 | 说明 | -| ------------------------------------------------------------ | ------------------------------------------ | -------------------------------------------- | -| [ContractManagement](native/ContractManagement.md) | 0xfffdc93764dbaddd97c48f252a53ea4643faa3fd | 管理合约的合约 | -| [CryptoLib](native/CryptoLib.md) | 0x726cb6e0cd8628a1350a611384688911ab75f51b | 集成了散列运算、验签等密码学方法的合约 | -| [GAS](native/GAS.md) | 0xd2a4cff31913016155e38e474a2c06d08be276cf | GAS相关合约 | -| [Ledger](native/Ledger.md) | 0xda65b600f7124ce6c79950c1772a36403104f2be | 区块链协议层合约 | -| [NEO](native/NEO.md) | 0xef4073a0f2b305a38ec4050e4d3d28bc40ea63f5 | NEO相关合约 | -| [Oracle](native/Oracle.md) | 0xfe924b7cfe89ddd271abaf7210a80a7e11178758 | 预言机合约 | -| [Policy](native/Policy.md) | 0xcc5e4edd9f5f8dba8bb65734541df7a1c081c67b | 共识策略合约 | -| [RoleManagement](native/RoleManagement.md) | 0x49cf4e5378ffcd4dec034fd98a174c5491e395e2 | 权限查询合约 | -| [StdLib](native/StdLib.md) | 0xacce6fd80d44e1796aa0c2c625e9e4e0ce39efc0 | 集成了序列化、反序列化和格式转换等方法的合约 | - -## 枚举 - -| 枚举 | 说明 | -| ------------------------------------------------------------ | ---------------------------------------------------- | -| [NamedCurve](native/NamedCurve.md) | 支持的椭圆曲线扩展 | -| [OracleResponseCode](native/OracleResponseCode.md) | 定义了 Oracle 响应代码的类型 | -| [Role](native/Role.md) | 定义了 RoleManagement 原生合约中的权限类型 | diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/ContractManagement/Deploy.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/ContractManagement/Deploy.md index c4f65c6..dcea24d 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/ContractManagement/Deploy.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/ContractManagement/Deploy.md @@ -2,7 +2,7 @@ 部署合约。 -命名空间:[Neo.SmartContract.Framework.Native](../../native.md) +命名空间:[Neo.SmartContract.Framework.Native](../../native/index.md) 程序集:Neo.SmartContract.Framework @@ -59,4 +59,4 @@ public static void _deploy(object data, bool update) } ``` -[返回上级](../ContractManagement.md) +[返回上级](index.md) diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/ContractManagement/Destroy.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/ContractManagement/Destroy.md index f94fa7d..42d3191 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/ContractManagement/Destroy.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/ContractManagement/Destroy.md @@ -2,7 +2,7 @@ 销毁合约。 -命名空间:[Neo.SmartContract.Framework.Native](../../native.md) +命名空间:[Neo.SmartContract.Framework.Native](../../native/index.md) 程序集:Neo.SmartContract.Framework @@ -39,4 +39,4 @@ public class Contract1 : SmartContract.Framework.SmartContract - 其他:失败。 -[返回上级](../ContractManagement.md) +[返回上级](index.md) diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/ContractManagement/GetContract.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/ContractManagement/GetContract.md index e3b7e6c..82af4d8 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/ContractManagement/GetContract.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/ContractManagement/GetContract.md @@ -2,7 +2,7 @@ 获取合约信息。 -命名空间:[Neo.SmartContract.Framework.Native](../../native.md) +命名空间:[Neo.SmartContract.Framework.Native](../../native/index.md) 程序集:Neo.SmartContract.Framework @@ -46,4 +46,4 @@ public class Contract1 : SmartContract.Framework.SmartContract - 其他:失败。 -[返回上级](../ContractManagement.md) +[返回上级](index.md) diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/ContractManagement/Update.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/ContractManagement/Update.md index ab06a11..aac8374 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/ContractManagement/Update.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/ContractManagement/Update.md @@ -2,7 +2,7 @@ 更新合约。 -命名空间:[Neo.SmartContract.Framework.Native](../../native.md) +命名空间:[Neo.SmartContract.Framework.Native](../../native/index.md) 程序集:Neo.SmartContract.Framework @@ -50,4 +50,4 @@ public class Contract1 : SmartContract.Framework.SmartContract 更新后合约哈希保持不变。 ::: -[返回上级](../ContractManagement.md) +[返回上级](index.md) diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/ContractManagement.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/ContractManagement/index.md similarity index 56% rename from i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/ContractManagement.md rename to i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/ContractManagement/index.md index 0d44ada..7d123f2 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/ContractManagement.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/ContractManagement/index.md @@ -2,7 +2,7 @@ 提供了原生合约 ContractManagement 的一系列方法,合约哈希为`0xfffdc93764dbaddd97c48f252a53ea4643faa3fd`。 -命名空间:[Neo.SmartContract.Framework.Native](../native.md) +命名空间:[Neo.SmartContract.Framework.Native](index.md) 程序集:Neo.SmartContract.Framework @@ -23,8 +23,8 @@ public class ContractManagement | 名称 | 说明 | | ------------------------------------------------------------ | -------------------------- | | GetMinimumDeploymentFee() | 查询部署合约的最低手续费 | -| [GetContract(UInt160 hash)](ContractManagement/GetContract.md) | 根据给定的合约哈希获取合约 | -| [Deploy(ByteString nefFile, string manifest)](ContractManagement/Deploy.md) | 部署合约 | -| [Update(ByteString nefFile, string manifest)](ContractManagement/Update.md) | 更新合约 | -| [Destroy()](ContractManagement/Destroy.md) | 销毁合约 | +| [GetContract(UInt160 hash)](GetContract.md) | 根据给定的合约哈希获取合约 | +| [Deploy(ByteString nefFile, string manifest)](Deploy.md) | 部署合约 | +| [Update(ByteString nefFile, string manifest)](Update.md) | 更新合约 | +| [Destroy()](Destroy.md) | 销毁合约 | diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/CryptoLib.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/CryptoLib.md index 1299cd1..a249163 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/CryptoLib.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/CryptoLib.md @@ -2,7 +2,7 @@ 提供了原生合约CryptoLib的一系列属性与方法,合约哈希为`0x726cb6e0cd8628a1350a611384688911ab75f51b`。 -命名空间:[Neo.SmartContract.Framework.Native](../native.md) +命名空间:[Neo.SmartContract.Framework.Native](index.md) 程序集:Neo.SmartContract.Framework diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Gas/BalanceOf.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Gas/BalanceOf.md index daa3091..aefd797 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Gas/BalanceOf.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Gas/BalanceOf.md @@ -2,7 +2,7 @@ 获取账户的GAS余额。 -命名空间:[Neo.SmartContract.Framework.Native](../../native.md) +命名空间:[Neo.SmartContract.Framework.Native](../../native/index.md) 程序集:Neo.SmartContract.Framework @@ -45,4 +45,4 @@ public class Contract1 : SmartContract.Framework.SmartContract - 其他:失败。 -[返回上级](../Gas.md) \ No newline at end of file +[返回上级](index.md) \ No newline at end of file diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Gas/TotalSupply.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Gas/TotalSupply.md index ed50821..98b8a52 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Gas/TotalSupply.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Gas/TotalSupply.md @@ -2,7 +2,7 @@ 获取GAS总发行量。 -命名空间:[Neo.SmartContract.Framework.Native](../../native.md) +命名空间:[Neo.SmartContract.Framework.Native](../../native/index.md) 程序集:Neo.SmartContract.Framework @@ -25,4 +25,4 @@ public class Contract1 : SmartContract.Framework.SmartContract } ``` -[返回上级](../Gas.md) \ No newline at end of file +[返回上级](index.md) \ No newline at end of file diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Gas/Transfer.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Gas/Transfer.md index 10517b6..a800bc4 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Gas/Transfer.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Gas/Transfer.md @@ -2,7 +2,7 @@ GAS转账。 -命名空间:[Neo.SmartContract.Framework.Native](../../native.md) +命名空间:[Neo.SmartContract.Framework.Native](../../native/index.md) 程序集:Neo.SmartContract.Framework @@ -50,4 +50,4 @@ public class Contract1 : SmartContract.Framework.SmartContract - 其他:失败。 -[返回上级](../Gas.md) \ No newline at end of file +[返回上级](index.md) \ No newline at end of file diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Gas.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Gas/index.md similarity index 76% rename from i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Gas.md rename to i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Gas/index.md index fafc785..5ea0f68 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Gas.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Gas/index.md @@ -4,7 +4,7 @@ GasToken 同时也是NEP-17合约,继承了NEP-17合约所有的属性和方法。 -命名空间:[Neo.SmartContract.Framework.Native](../native.md) +命名空间:[Neo.SmartContract.Framework.Native](index.md) 程序集:Neo.SmartContract.Framework @@ -26,7 +26,7 @@ public class GAS | 名称 | 说明 | | ------------------------------------------------------------ | -------------------------------- | -| [TotalSupply()](Gas/TotalSupply.md) | 获取GAS总发行量 | -| [BalanceOf(UInt160 account)](Gas/BalanceOf.md) | 获取余额 | -| [Transfer(UInt160 from, UInt160 to, BigInteger amount, object data = null)](Gas/Transfer.md) | 转账 | +| [TotalSupply()](TotalSupply.md) | 获取GAS总发行量 | +| [BalanceOf(UInt160 account)](BalanceOf.md) | 获取余额 | +| [Transfer(UInt160 from, UInt160 to, BigInteger amount, object data = null)](Transfer.md) | 转账 | | Refuel | 为智能合约执行补充燃料(手续费) | \ No newline at end of file diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Ledger/GetBlock.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Ledger/GetBlock.md index 8efbd66..65f3cb3 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Ledger/GetBlock.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Ledger/GetBlock.md @@ -2,7 +2,7 @@ 通过区块索引或区块哈希 ,查找区块。 -命名空间:[Neo.SmartContract.Framework.Native](../../native.md) +命名空间:[Neo.SmartContract.Framework.Native](../../native/index.md) 程序集:Neo.SmartContract.Framework @@ -33,4 +33,4 @@ public class Contract1 : SmartContract.Framework.SmartContract } } ``` -[返回上级](../Ledger.md) \ No newline at end of file +[返回上级](index.md) \ No newline at end of file diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Ledger/GetTransaction.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Ledger/GetTransaction.md index 85750cc..76913be 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Ledger/GetTransaction.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Ledger/GetTransaction.md @@ -2,7 +2,7 @@ 通过交易哈希 ,查找交易。 -命名空间:[Neo.SmartContract.Framework.Native](../../native.md) +命名空间:[Neo.SmartContract.Framework.Native](../../native/index.md) 程序集:Neo.SmartContract.Framework @@ -27,4 +27,4 @@ public class Contract1 : SmartContract.Framework.SmartContract } } ``` -[返回上级](../Ledger.md) \ No newline at end of file +[返回上级](index.md) \ No newline at end of file diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Ledger/GetTransactionFromBlock.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Ledger/GetTransactionFromBlock.md index 411f591..b21bc36 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Ledger/GetTransactionFromBlock.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Ledger/GetTransactionFromBlock.md @@ -2,7 +2,7 @@ 通过区块和交易索引查询指定的交易,其中区块可以通过区块索引(区块高度)或区块哈希指定。 -命名空间:[Neo.SmartContract.Framework.Native](../../native.md) +命名空间:[Neo.SmartContract.Framework.Native](../../native/index.md) 程序集:Neo.SmartContract.Framework @@ -35,4 +35,4 @@ public class Contract1 : SmartContract.Framework.SmartContract } } ``` -[返回上级](../Ledger.md) \ No newline at end of file +[返回上级](index.md) \ No newline at end of file diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Ledger/GetTransactionHeight.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Ledger/GetTransactionHeight.md index 173e1ee..e2ce204 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Ledger/GetTransactionHeight.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Ledger/GetTransactionHeight.md @@ -2,7 +2,7 @@ 通过交易哈希 ,查找交易所在的区块。 -命名空间:[Neo.SmartContract.Framework.Native](../../native.md) +命名空间:[Neo.SmartContract.Framework.Native](../../native/index.md) 程序集:Neo.SmartContract.Framework @@ -27,4 +27,4 @@ public class Contract1 : SmartContract.Framework.SmartContract } } ``` -[返回上级](../Ledger.md) \ No newline at end of file +[返回上级](index.md) \ No newline at end of file diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Ledger.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Ledger/index.md similarity index 60% rename from i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Ledger.md rename to i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Ledger/index.md index cfa02f8..8becd50 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Ledger.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Ledger/index.md @@ -2,7 +2,7 @@ 提供了原生合约GasToken的一系列属性与方法,合约哈希为`0xda65b600f7124ce6c79950c1772a36403104f2be`。 -命名空间:[Neo.SmartContract.Framework.Native](../native.md) +命名空间:[Neo.SmartContract.Framework.Native](index.md) 程序集:Neo.SmartContract.Framework @@ -24,8 +24,8 @@ public class Ledger | 名称 | 说明 | | ------------------------------------------------------------ | ------------------------------------------------------------ | -| [GetBlock()](../native/Ledger/GetBlock.md) | 通过区块哈希或区块索引,查找区块 | -| [GetTransaction(UInt256 hash)](../native/Ledger/GetTransaction.md) | 通过交易 ID 查找交易 | -| [GetTransactionFromBlock()](../native/Ledger/GetTransactionFromBlock.md) | 通过区块和交易索引查询指定的交易 | -| [GetTransactionHeight(UInt256 hash)](../native/Ledger/GetTransactionHeight.md) | 通过交易哈希,获得交易所在区块的高度 | +| [GetBlock()](GetBlock.md) | 通过区块哈希或区块索引,查找区块 | +| [GetTransaction(UInt256 hash)](GetTransaction.md) | 通过交易 ID 查找交易 | +| [GetTransactionFromBlock()](GetTransactionFromBlock.md) | 通过区块和交易索引查询指定的交易 | +| [GetTransactionHeight(UInt256 hash)](GetTransactionHeight.md) | 通过交易哈希,获得交易所在区块的高度 | diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/NamedCurve.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/NamedCurve.md index 9a8a396..73627ed 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/NamedCurve.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/NamedCurve.md @@ -2,7 +2,7 @@ 支持的椭圆曲线扩展。 -命名空间:[Neo.SmartContract.Framework.Native](../native.md) +命名空间:[Neo.SmartContract.Framework.Native](index.md) 程序集:Neo.SmartContract.Framework diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Neo.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Neo.md deleted file mode 100644 index 8eb8418..0000000 --- a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Neo.md +++ /dev/null @@ -1,41 +0,0 @@ -# Neo 类 - -提供了原生合约NeoToken的一系列属性与方法,合约哈希为`0xef4073a0f2b305a38ec4050e4d3d28bc40ea63f5`。 - -NeoToken 同时也是NEP-17合约,继承了NEP-17合约所有的属性和方法。 - -命名空间:[Neo.SmartContract.Framework.Native](../native.md) - -程序集:Neo.SmartContract.Framework - -## 语法 - -```cs -public class NEO -``` - -## 属性 - -| 名称 | 说明 | -| ----------------- | ------------------------------------------------------------ | -| Hash | 获取合约哈希 | -| Symbol | 获取符号, 即: NEO | -| Decimals | 获取精度 | - -## 方法 - -| 名称 | 说明 | -| ------------------------------------------------------------ | ----------------------------- | -| [TotalSupply()](Neo/TotalSupply.md) | 获取NEO总发行量 | -| [BalanceOf(UInt160 account)](Neo/BalanceOf.md) | 获取余额 | -| [Transfer(UInt160 from, UInt160 to, BigInteger amount, object data = null)](Neo/Transfer.md) | 转账 | -| [GetGasPerBlock()](Neo/GetGasPerBlock.md) | 获取当前每个区块可产生的GAS数 | -| [UnclaimedGas(UInt160 account, uint end)](Neo/UnclaimedGas.md) | 获取未领取的GAS数 | -| [RegisterCandidate(ECPoint pubkey)](Neo/RegisterCandidate.md) | 注册为候选人 | -| [UnRegisterCandidate(ECPoint pubkey)](Neo/UnRegisterCandidate.md) | 取消注册为候选人 | -| [Vote(UInt160 account, ECPoint voteTo)](Neo/Vote.md) | 投票 | -| [GetCandidates()](Neo/GetCandidates.md) | 获取候选人列表 | -| [GetCommittee()](Neo/GetCommittee.md) | 获取委员会成员列表 | -| [GetNextBlockValidators()](Neo/GetNextBlockValidators.md) | 获取下个区块的验证人列表 | -| [GetAccountState(DataCache snapshot, UInt160 account)](Neo/GetAccountState.md) | 获取指定账户最新的投票情况 | - diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Neo/BalanceOf.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Neo/BalanceOf.md index e866e59..c12a683 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Neo/BalanceOf.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Neo/BalanceOf.md @@ -2,7 +2,7 @@ 获取账户的NEO余额。 -命名空间:[Neo.SmartContract.Framework.Native](../../native.md) +命名空间:[Neo.SmartContract.Framework.Native](../../native/index.md) 程序集:Neo.SmartContract.Framework @@ -46,4 +46,4 @@ public class Contract1 : SmartContract.Framework.SmartContract - 其他:失败。 -[返回上级](../Neo.md) \ No newline at end of file +[返回上级](index.md) \ No newline at end of file diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Neo/GetAccountState.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Neo/GetAccountState.md index 67337ea..24b358d 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Neo/GetAccountState.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Neo/GetAccountState.md @@ -2,7 +2,7 @@ 获取指定账户最新的投票情况。 -命名空间:[Neo.SmartContract.Framework.Native](../../native.md) +命名空间:[Neo.SmartContract.Framework.Native](../../native/index.md) 程序集:Neo.SmartContract.Framework diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Neo/GetCandidates.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Neo/GetCandidates.md index cb2bf89..b751625 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Neo/GetCandidates.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Neo/GetCandidates.md @@ -2,7 +2,7 @@ 获取候选人列表。由于账户NEO余额会随交易而不断变化,而且投票和注册的候选人也在不断变化,因此在每个区块都会根据以上变化更新候选人及相应投票结果。 -命名空间:[Neo.SmartContract.Framework.Native](../../native.md) +命名空间:[Neo.SmartContract.Framework.Native](../../native/index.md) 程序集:Neo.SmartContract.Framework @@ -49,4 +49,4 @@ public class Contract1 : SmartContract.Framework.SmartContract - 其他:失败。 -[返回上级](../Neo.md) \ No newline at end of file +[返回上级](index.md) \ No newline at end of file diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Neo/GetCommittee.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Neo/GetCommittee.md index 6855c28..bd175e4 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Neo/GetCommittee.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Neo/GetCommittee.md @@ -2,7 +2,7 @@ 获取委员会成员列表。候选人将根据得票数排序,最前面一定数量的候选人(默认21个)成为委员会成员。委员会名单将在每个区块根据最新投票更新。 -命名空间:[Neo.SmartContract.Framework.Native](../../native.md) +命名空间:[Neo.SmartContract.Framework.Native](../../native/index.md) 程序集:Neo.SmartContract.Framework @@ -43,4 +43,4 @@ public class Contract1 : SmartContract.Framework.SmartContract - 其他:失败。 -[返回上级](../Neo.md) \ No newline at end of file +[返回上级](index.md) \ No newline at end of file diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Neo/GetGasPerBlock.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Neo/GetGasPerBlock.md index 9a65a6b..6fdd4ef 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Neo/GetGasPerBlock.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Neo/GetGasPerBlock.md @@ -2,7 +2,7 @@ 获取当前每个区块可产生的GAS数。 -命名空间:[Neo.SmartContract.Framework.Native](../../native.md) +命名空间:[Neo.SmartContract.Framework.Native](../../native/index.md) 程序集:Neo.SmartContract.Framework @@ -40,4 +40,4 @@ public class Contract1 : SmartContract.Framework.SmartContract - 其他:失败。 -[返回上级](../Neo.md) \ No newline at end of file +[返回上级](index.md) \ No newline at end of file diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Neo/GetNextBlockValidators.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Neo/GetNextBlockValidators.md index a02d117..38f301b 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Neo/GetNextBlockValidators.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Neo/GetNextBlockValidators.md @@ -2,7 +2,7 @@ 获取下个区块的验证人列表。候选人将根据得票数排序,取最前面一定数量的候选人(默认7个)作为共识节点。与委员会类似,共识节点名单将在每个区块根据最新投票更新。 -命名空间:[Neo.SmartContract.Framework.Native](../../native.md) +命名空间:[Neo.SmartContract.Framework.Native](../../native/index.md) 程序集:Neo.SmartContract.Framework @@ -42,4 +42,4 @@ public class Contract1 : SmartContract.Framework.SmartContract - 其他:失败。 -[返回上级](../Neo.md) \ No newline at end of file +[返回上级](index.md) \ No newline at end of file diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Neo/RegisterCandidate.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Neo/RegisterCandidate.md index eef17d9..ba53f9d 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Neo/RegisterCandidate.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Neo/RegisterCandidate.md @@ -2,7 +2,7 @@ 注册成为候选人。 -命名空间:[Neo.SmartContract.Framework.Native](../../native.md) +命名空间:[Neo.SmartContract.Framework.Native](../../native/index.md) 程序集:Neo.SmartContract.Framework @@ -49,4 +49,4 @@ public class Contract1 : SmartContract.Framework.SmartContract - 其他:失败。 -[返回上级](../Neo.md) \ No newline at end of file +[返回上级](index.md) \ No newline at end of file diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Neo/TotalSupply.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Neo/TotalSupply.md index cf0e9e3..e09c03f 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Neo/TotalSupply.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Neo/TotalSupply.md @@ -2,7 +2,7 @@ 获取NEO总发行量。 -命名空间:[Neo.SmartContract.Framework.Native](../../native.md) +命名空间:[Neo.SmartContract.Framework.Native](../../native/index.md) 程序集:Neo.SmartContract.Framework @@ -40,4 +40,4 @@ public class Contract1 : SmartContract.Framework.SmartContract - 其他:失败。 -[返回上级](../Neo.md) \ No newline at end of file +[返回上级](index.md) \ No newline at end of file diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Neo/Transfer.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Neo/Transfer.md index 4f62a66..3cd8711 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Neo/Transfer.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Neo/Transfer.md @@ -2,7 +2,7 @@ NEO转账。 -命名空间:[Neo.SmartContract.Framework.Native](../../native.md) +命名空间:[Neo.SmartContract.Framework.Native](../../native/index.md) 程序集:Neo.SmartContract.Framework @@ -53,4 +53,4 @@ public class Contract1 : SmartContract.Framework.SmartContract - 其他:失败。 -[返回上级](../Neo.md) \ No newline at end of file +[返回上级](index.md) \ No newline at end of file diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Neo/UnRegisterCandidate.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Neo/UnRegisterCandidate.md index e69904e..074f797 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Neo/UnRegisterCandidate.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Neo/UnRegisterCandidate.md @@ -2,7 +2,7 @@ 取消注册为候选人。 -命名空间:[Neo.SmartContract.Framework.Native](../../native.md) +命名空间:[Neo.SmartContract.Framework.Native](../../native/index.md) 程序集:Neo.SmartContract.Framework @@ -50,4 +50,4 @@ public class Contract1 : SmartContract.Framework.SmartContract - 其他:失败。 -[返回上级](../Neo.md) \ No newline at end of file +[返回上级](index.md) \ No newline at end of file diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Neo/UnclaimedGas.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Neo/UnclaimedGas.md index bd80b92..b87c420 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Neo/UnclaimedGas.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Neo/UnclaimedGas.md @@ -2,7 +2,7 @@ 获取未领取的Gas数. -命名空间:[Neo.SmartContract.Framework.Native](../../native.md) +命名空间:[Neo.SmartContract.Framework.Native](../../native/index.md) 程序集:Neo.SmartContract.Framework @@ -46,4 +46,4 @@ public class Contract1 : SmartContract.Framework.SmartContract - 其他:失败。 -[返回上级](../Neo.md) \ No newline at end of file +[返回上级](index.md) \ No newline at end of file diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Neo/Vote.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Neo/Vote.md index 6061a17..52c4c5b 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Neo/Vote.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Neo/Vote.md @@ -2,7 +2,7 @@ 每个地址均有投票给一个地址的权利,候选人票数为所有向该账户投票的地址的NEO余额之和。初始块所有默认候选人均会向自己投票。 -命名空间:[Neo.SmartContract.Framework.Native](../../native.md) +命名空间:[Neo.SmartContract.Framework.Native](../../native/index.md) 程序集:Neo.SmartContract.Framework @@ -52,4 +52,4 @@ public class Contract1 : SmartContract.Framework.SmartContract - 其他:失败。 -[返回上级](../Neo.md) \ No newline at end of file +[返回上级](index.md) \ No newline at end of file diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Neo/index.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Neo/index.md new file mode 100644 index 0000000..3541465 --- /dev/null +++ b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Neo/index.md @@ -0,0 +1,41 @@ +# Neo 类 + +提供了原生合约NeoToken的一系列属性与方法,合约哈希为`0xef4073a0f2b305a38ec4050e4d3d28bc40ea63f5`。 + +NeoToken 同时也是NEP-17合约,继承了NEP-17合约所有的属性和方法。 + +命名空间:[Neo.SmartContract.Framework.Native](index.md) + +程序集:Neo.SmartContract.Framework + +## 语法 + +```cs +public class NEO +``` + +## 属性 + +| 名称 | 说明 | +| ----------------- | ------------------------------------------------------------ | +| Hash | 获取合约哈希 | +| Symbol | 获取符号, 即: NEO | +| Decimals | 获取精度 | + +## 方法 + +| 名称 | 说明 | +| ------------------------------------------------------------ | ----------------------------- | +| [TotalSupply()](TotalSupply.md) | 获取NEO总发行量 | +| [BalanceOf(UInt160 account)](BalanceOf.md) | 获取余额 | +| [Transfer(UInt160 from, UInt160 to, BigInteger amount, object data = null)](Transfer.md) | 转账 | +| [GetGasPerBlock()](GetGasPerBlock.md) | 获取当前每个区块可产生的GAS数 | +| [UnclaimedGas(UInt160 account, uint end)](UnclaimedGas.md) | 获取未领取的GAS数 | +| [RegisterCandidate(ECPoint pubkey)](RegisterCandidate.md) | 注册为候选人 | +| [UnRegisterCandidate(ECPoint pubkey)](UnRegisterCandidate.md) | 取消注册为候选人 | +| [Vote(UInt160 account, ECPoint voteTo)](Vote.md) | 投票 | +| [GetCandidates()](GetCandidates.md) | 获取候选人列表 | +| [GetCommittee()](GetCommittee.md) | 获取委员会成员列表 | +| [GetNextBlockValidators()](GetNextBlockValidators.md) | 获取下个区块的验证人列表 | +| [GetAccountState(DataCache snapshot, UInt160 account)](GetAccountState.md) | 获取指定账户最新的投票情况 | + diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Oracle/Request.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Oracle/Request.md index c7d32b3..e906b09 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Oracle/Request.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Oracle/Request.md @@ -2,7 +2,7 @@ 构建Oracle请求。 -命名空间:[Neo.SmartContract.Framework.Native](../../native.md) +命名空间:[Neo.SmartContract.Framework.Native](../../native/index.md) 程序集:Neo.SmartContract.Framework @@ -63,4 +63,4 @@ namespace demo } ``` -[返回上级](../Oracle.md) +[返回上级](index.md) diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Oracle.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Oracle/index.md similarity index 85% rename from i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Oracle.md rename to i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Oracle/index.md index 4bcdabd..379b91e 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Oracle.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Oracle/index.md @@ -2,7 +2,7 @@ 提供了原生合约Oracle的一系列方法,合约哈希为 `0xfe924b7cfe89ddd271abaf7210a80a7e11178758`。 -命名空间:[Neo.SmartContract.Framework.Native](../native.md) +命名空间:[Neo.SmartContract.Framework.Native](index.md) 程序集:Neo.SmartContract.Framework @@ -23,4 +23,4 @@ public class Oracle | 名称 | 说明 | | ------------------------------------------------------------ | ------------------------ | | GetPrice() | 获取一个Oracle请求的价格 | -| [Request(string url, string filter, string callback, object userData, long gasForResponse)](Oracle/Request.md) | 发起Oracle请求 | \ No newline at end of file +| [Request(string url, string filter, string callback, object userData, long gasForResponse)](Request.md) | 发起Oracle请求 | \ No newline at end of file diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/OracleResponseCode.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/OracleResponseCode.md index 5720c89..4cd22a5 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/OracleResponseCode.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/OracleResponseCode.md @@ -2,7 +2,7 @@ 定义了 Oracle 响应代码的类型。 -命名空间:[Neo.SmartContract.Framework.Native](../native.md) +命名空间:[Neo.SmartContract.Framework.Native](index.md) 程序集:Neo.SmartContract.Framework diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Policy/GetExecFeeFactor.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Policy/GetExecFeeFactor.md index 9e7313e..95e96df 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Policy/GetExecFeeFactor.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Policy/GetExecFeeFactor.md @@ -2,7 +2,7 @@ 获取vm执行费率。 -命名空间:[Neo.SmartContract.Framework.Native](../../native.md) +命名空间:[Neo.SmartContract.Framework.Native](../../native/index.md) 程序集:Neo.SmartContract.Framework @@ -24,5 +24,5 @@ public static void Test() var factor = Policy.GetExecFeeFactor(); } ``` -[返回上级](../Policy.md) +[返回上级](index.md) diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Policy/GetFeePerByte.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Policy/GetFeePerByte.md index 4b21dd3..b224d70 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Policy/GetFeePerByte.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Policy/GetFeePerByte.md @@ -2,7 +2,7 @@ 获取交易每字节网络费。 -命名空间:[Neo.SmartContract.Framework.Native](../../native.md) +命名空间:[Neo.SmartContract.Framework.Native](../../native/index.md) 程序集:Neo.SmartContract.Framework @@ -24,5 +24,5 @@ public static void Test() var feePerByte = Policy.GetFeePerByte(); } ``` -[返回上级](../Policy.md) +[返回上级](index.md) diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Policy/GetStoragePrice.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Policy/GetStoragePrice.md index 082d25d..d0b8e4d 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Policy/GetStoragePrice.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Policy/GetStoragePrice.md @@ -2,7 +2,7 @@ 获取链上每字节数据存储费用。 -命名空间:[Neo.SmartContract.Framework.Native](../../native.md) +命名空间:[Neo.SmartContract.Framework.Native](../../native/index.md) 程序集:Neo.SmartContract.Framework @@ -24,5 +24,5 @@ public static void Test() var price = Policy.GetStoragePrice(); } ``` -[返回上级](../Policy.md) +[返回上级](index.md) diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Policy/IsBlocked.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Policy/IsBlocked.md index 2c8a484..785eae7 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Policy/IsBlocked.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Policy/IsBlocked.md @@ -2,7 +2,7 @@ 给定账户是否已被屏蔽。 -命名空间:[Neo.SmartContract.Framework.Native](../../native.md) +命名空间:[Neo.SmartContract.Framework.Native](../../native/index.md) 程序集:Neo.SmartContract.Framework @@ -33,5 +33,5 @@ public class Contract1 : SmartContract.Framework.SmartContract } } ``` -[返回上级](../Policy.md) +[返回上级](index.md) diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Policy.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Policy/index.md similarity index 52% rename from i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Policy.md rename to i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Policy/index.md index 59658f2..a7d2b87 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Policy.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Policy/index.md @@ -2,7 +2,7 @@ 提供了原生合约 Policy 的一系列方法,合约哈希为 `0xcc5e4edd9f5f8dba8bb65734541df7a1c081c67b`。 -命名空间:[Neo.SmartContract.Framework.Native](../native.md) +命名空间:[Neo.SmartContract.Framework.Native](index.md) 程序集:Neo.SmartContract.Framework @@ -22,7 +22,7 @@ public class Policy | 名称 | 说明 | | -------------------------- | ------------------------------------------------------------ | -| [GetFeePerByte()](Policy/GetFeePerByte.md) | 获取每字节手续费 | -| [GetExecFeeFactor()](Policy/GetExecFeeFactor.md) | 获取执行费用系数。这是一个乘数,可以由委员会调整,以调整交易的系统费用 | -| [GetStoragePrice()](Policy/GetStoragePrice.md) | 获取存储价格 | -| [IsBlocked(UInt160 account)](Policy/IsBlocked.md) | 确定指定账户是否被封锁 | \ No newline at end of file +| [GetFeePerByte()](GetFeePerByte.md) | 获取每字节手续费 | +| [GetExecFeeFactor()](GetExecFeeFactor.md) | 获取执行费用系数。这是一个乘数,可以由委员会调整,以调整交易的系统费用 | +| [GetStoragePrice()](GetStoragePrice.md) | 获取存储价格 | +| [IsBlocked(UInt160 account)](IsBlocked.md) | 确定指定账户是否被封锁 | \ No newline at end of file diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Role.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Role.md index ffbb044..51670bb 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Role.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/Role.md @@ -2,7 +2,7 @@ 定义了 RoleManagement 原生合约中的权限类型。 -命名空间:[Neo.SmartContract.Framework.Native](../native.md) +命名空间:[Neo.SmartContract.Framework.Native](index.md) 程序集:Neo.SmartContract.Framework @@ -16,4 +16,4 @@ public enum Role : byte } ``` -具体使用参考 [RoleManagement](RoleManagement.md) 类的中的 GetDesignatedByRole 方法。 \ No newline at end of file +具体使用参考 [RoleManagement](RoleManagement/index.md) 类的中的 GetDesignatedByRole 方法。 \ No newline at end of file diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/RoleManagement/GetDesignatedByRole.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/RoleManagement/GetDesignatedByRole.md index 8196370..196a8e7 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/RoleManagement/GetDesignatedByRole.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/RoleManagement/GetDesignatedByRole.md @@ -2,7 +2,7 @@ 通过交易哈希 ,查找交易所在的区块。 -命名空间:[Neo.SmartContract.Framework.Native](../../native.md) +命名空间:[Neo.SmartContract.Framework.Native](../../native/index.md) 程序集:Neo.SmartContract.Framework @@ -29,5 +29,5 @@ public static void Test() var nodes = RoleManagement.GetDesignatedByRole(Role.Oracle, 0); } ``` -[返回上级](../RoleManagement.md) +[返回上级](index.md) diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/RoleManagement.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/RoleManagement/index.md similarity index 79% rename from i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/RoleManagement.md rename to i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/RoleManagement/index.md index 28d6d88..450f943 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/RoleManagement.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/RoleManagement/index.md @@ -2,7 +2,7 @@ 提供了原生合约 RoleManagement 的一系列属性与方法,合约哈希为`0x49cf4e5378ffcd4dec034fd98a174c5491e395e2`。 -命名空间:[Neo.SmartContract.Framework.Native](../native.md) +命名空间:[Neo.SmartContract.Framework.Native](index.md) 程序集:Neo.SmartContract.Framework @@ -22,4 +22,4 @@ public class RoleManagement | 名称 | 说明 | | ------------------------------------------------------------ | ---------------------- | -| [GetDesignatedByRole(Role role, uint index)](RoleManagement/GetDesignatedByRole.md) | 获取指定角色的节点列表 | \ No newline at end of file +| [GetDesignatedByRole(Role role, uint index)](GetDesignatedByRole.md) | 获取指定角色的节点列表 | \ No newline at end of file diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/StdLib.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/StdLib.md index e1031a6..ee83c1a 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/StdLib.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/StdLib.md @@ -2,7 +2,7 @@ 提供了原生合约StdLib的一系列属性与方法,合约哈希为`0xacce6fd80d44e1796aa0c2c625e9e4e0ce39efc0`。 -命名空间:[Neo.SmartContract.Framework.Native](../native.md) +命名空间:[Neo.SmartContract.Framework.Native](index.md) 程序集:Neo.SmartContract.Framework diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/index.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/index.md new file mode 100644 index 0000000..e64549f --- /dev/null +++ b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/native/index.md @@ -0,0 +1,25 @@ +# Neo.SmartContract.Framework.Native + +在智能合约中可以调用原生合约中的一系列方法。 + +## 原生合约类 + +| 合约名称 | 合约哈希 | 说明 | +| ------------------------------------------------------------ | ------------------------------------------ | -------------------------------------------- | +| [ContractManagement](ContractManagement/index.md) | 0xfffdc93764dbaddd97c48f252a53ea4643faa3fd | 管理合约的合约 | +| [CryptoLib](CryptoLib.md) | 0x726cb6e0cd8628a1350a611384688911ab75f51b | 集成了散列运算、验签等密码学方法的合约 | +| [GAS](GAS/index.md) | 0xd2a4cff31913016155e38e474a2c06d08be276cf | GAS相关合约 | +| [Ledger](Ledger/index.md) | 0xda65b600f7124ce6c79950c1772a36403104f2be | 区块链协议层合约 | +| [NEO](NEO/index.md) | 0xef4073a0f2b305a38ec4050e4d3d28bc40ea63f5 | NEO相关合约 | +| [Oracle](Oracle/index.md) | 0xfe924b7cfe89ddd271abaf7210a80a7e11178758 | 预言机合约 | +| [Policy](Policy/index.md) | 0xcc5e4edd9f5f8dba8bb65734541df7a1c081c67b | 共识策略合约 | +| [RoleManagement](RoleManagement/index.md) | 0x49cf4e5378ffcd4dec034fd98a174c5491e395e2 | 权限查询合约 | +| [StdLib](StdLib.md) | 0xacce6fd80d44e1796aa0c2c625e9e4e0ce39efc0 | 集成了序列化、反序列化和格式转换等方法的合约 | + +## 枚举 + +| 枚举 | 说明 | +| ------------------------------------------------------------ | ---------------------------------------------------- | +| [NamedCurve](NamedCurve.md) | 支持的椭圆曲线扩展 | +| [OracleResponseCode](OracleResponseCode.md) | 定义了 Oracle 响应代码的类型 | +| [Role](Role.md) | 定义了 RoleManagement 原生合约中的权限类型 | diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services.md deleted file mode 100644 index 00f5091..0000000 --- a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services.md +++ /dev/null @@ -1,25 +0,0 @@ -# Neo.SmartContract.Framework.Services - -## 类 - -| 类 | 说明 | -| ------------------------------------------------------------ | --------------------------------------------- | -| [Block](services/Block.md) | 表示区块的类,提供了一系列区块相关的属性 | -| [Contract](services/Contract.md) | 表示合约的类 | -| [Crypto](services/Crypto.md) | 提供了ECDsa 验证签名的方法。 | -| [Iterator](services/Iterator.md) | 智能合约中的自定义迭代器 | -| [Notification](services/Notification.md) | 表示合约执行发送的通知 | -| [Runtime](services/Runtime.md) | 提供智能合约运行时的一些方法 | -| [Storage](services/Storage.md) | 提供了持久化存储区的插入、查询、删除的方法 | -| [StorageContext](services/StorageContext.md) | 用来表示私有存储区存储上下文的类 | -| [StorageMap](services/StorageMap.md) | 表示给定存储上下文中指定前缀的key-value存储区 | -| [Transaction](services/Transaction.md) | 用来表示交易的基类 | - -## 枚举 - -| 枚举 | 说明 | -| -------------------------------------- | ---------------------------------------------------- | -| [CallFlags](services/CallFlags.md) | 定义调用合约方法时的模式 | -| [FindOptions](services/FindOptions.md) | 定义搜索存储区时的搜索选项,用在 Storage.Find 方法中 | -| [TriggerType](services/TriggerType.md) | 定义了智能合约触发器类型 | - diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Block.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Block.md index 59f1b9a..fb031e6 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Block.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Block.md @@ -2,7 +2,7 @@ 表示区块的类,提供了一系列区块相关的属性。 -命名空间:[Neo.SmartContract.Framework.Services](../services.md) +命名空间:[Neo.SmartContract.Framework.Services](index.md) 程序集:Neo.SmartContract.Framework diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Contract/Call.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Contract/Call.md index 89766d81..6043cf9 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Contract/Call.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Contract/Call.md @@ -2,7 +2,7 @@ 调用合约。 -命名空间:[Neo.SmartContract.Framework.Services](../../services.md) +命名空间:[Neo.SmartContract.Framework.Services](../index.md) 程序集:Neo.SmartContract.Framework @@ -47,4 +47,4 @@ public static extern object Call(UInt160 scriptHash, string method, object[] arg -[返回上级](../Contract.md) \ No newline at end of file +[返回上级](index.md) \ No newline at end of file diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Contract/CreateStandardAccount.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Contract/CreateStandardAccount.md index d2b04a1..59cca52 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Contract/CreateStandardAccount.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Contract/CreateStandardAccount.md @@ -2,7 +2,7 @@ 根据公钥创建标准账户 -命名空间:[Neo.SmartContract.Framework.Services](../../services.md) +命名空间:[Neo.SmartContract.Framework.Services](../index.md) 程序集:Neo.SmartContract.Framework @@ -32,4 +32,4 @@ public class Contract1 : SmartContract.Framework.SmartContract { 0x04, 0x48, 0x6f, 0xd1, 0x57, 0x02, 0xc4, 0x49, 0x0a, 0x26, 0x70, 0x31, 0x12, 0xa5, 0xcc, 0x1d, 0x09, 0x23, 0xfd, 0x69, 0x7a, 0x33, 0x40, 0x6b, 0xd5, 0xa1, 0xc0, 0x0e, 0x00, 0x13, 0xb0, 0x9a, 0x70, 0x05, 0x43, 0x6c, 0x08, 0x2c, 0x2c, 0x88, 0x08, 0x5b, 0x4b, 0x53, 0xd5, 0x4c, 0x55, 0x66, 0xba, 0x44, 0x8d, 0x5c, 0x3e, 0x2a, 0x2a, 0x5c, 0x3a, 0x3e, 0xa5, 0x00, 0xe1, 0x40, 0x77, 0x55, 0x9c } => 3ae15fc83b48d9bb5c327e578e2f1d2100ba1b89 -[返回上级](../Contract.md) +[返回上级](index.md) diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Contract/GetCallFlags.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Contract/GetCallFlags.md index fb5c8c9..c506de5 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Contract/GetCallFlags.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Contract/GetCallFlags.md @@ -2,7 +2,7 @@ 获取合约的调用权限 Flag -命名空间:[Neo.SmartContract.Framework.Services](../../services.md) +命名空间:[Neo.SmartContract.Framework.Services](../index.md) 程序集:Neo.SmartContract.Framework @@ -26,4 +26,4 @@ public class Contract1 : SmartContract.Framework.SmartContract -[返回上级](../Contract.md) +[返回上级](index.md) diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Contract/IsPayable.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Contract/IsPayable.md index 21d0d76..d9d5d93 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Contract/IsPayable.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Contract/IsPayable.md @@ -2,7 +2,7 @@ 该合约能否接收 NEP-17 资产。 -命名空间:[Neo.SmartContract.Framework.Services](../../services.md) +命名空间:[Neo.SmartContract.Framework.Services](../index.md) 程序集:Neo.SmartContract.Framework @@ -16,4 +16,4 @@ public extern bool IsPayable -[返回上级](../Contract.md) \ No newline at end of file +[返回上级](index.md) \ No newline at end of file diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Contract/StorageContext.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Contract/StorageContext.md index aa12b45..92ce6ff 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Contract/StorageContext.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Contract/StorageContext.md @@ -2,7 +2,7 @@ 获得该合约的存储区上下文。 -命名空间:[Neo.SmartContract.Framework.Services](../../services.md) +命名空间:[Neo.SmartContract.Framework.Services](../index.md) 程序集:Neo.SmartContract.Framework @@ -16,4 +16,4 @@ public extern StorageContext StorageContext -[返回上级](../Contract.md) \ No newline at end of file +[返回上级](index.md) \ No newline at end of file diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Contract.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Contract/index.md similarity index 64% rename from i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Contract.md rename to i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Contract/index.md index 10e7315..adc5627 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Contract.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Contract/index.md @@ -2,7 +2,7 @@ 表示合约的类。 -命名空间:[Neo.SmartContract.Framework.Services](../services.md) +命名空间:[Neo.SmartContract.Framework.Services](index.md) 程序集:Neo.SmartContract.Framework @@ -26,14 +26,14 @@ public class Contract | 名称 | 说明 | | ---------------------------------------- | --------------- | -| [Call(UInt160 scriptHash, string method, object[] arguments)](Contract/Call.md) | 调用智能合约 | -| [GetCallFlags()](Contract/GetCallFlags.md) | 获取原生合约的调用权限 Flag | -| [CreateStandardAccount()](Contract/CreateStandardAccount.md) | 根据公钥创建标准账户的脚本散列 | +| [Call(UInt160 scriptHash, string method, object[] arguments)](Call.md) | 调用智能合约 | +| [GetCallFlags()](GetCallFlags.md) | 获取原生合约的调用权限 Flag | +| [CreateStandardAccount()](CreateStandardAccount.md) | 根据公钥创建标准账户的脚本散列 | | CreateMultisigAccount(int, params Cryptography.ECC.ECPoint[]) | 根据公钥列表和最小签名数,生成多方签名账户的脚本散列 | ## 构造方法 -通过 [ContractManagement.GetContract(UInt60 hash)](../native/ContractManagement/GetContract.md) 方法来构造 Contract 对象。 +通过 [ContractManagement.GetContract(UInt60 hash)](../../native/ContractManagement/GetContract.md) 方法来构造 Contract 对象。 -通过 [ContractManagement.Deploy(byte[] nefFile, string manifest)](../native/ContractManagement/Deploy.md) 方法来部署合约,并返回 Contract 对象。 +通过 [ContractManagement.Deploy(byte[] nefFile, string manifest)](../../native/ContractManagement/Deploy.md) 方法来部署合约,并返回 Contract 对象。 diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Crypto.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Crypto.md index 6dc0a52..116f9c3 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Crypto.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Crypto.md @@ -2,7 +2,7 @@ 静态类,提供了ECDsa 验证签名的方法。 -命名空间:[Neo.SmartContract.Framework.Services](../services.md) +命名空间:[Neo.SmartContract.Framework.Services](index.md) 程序集:Neo.SmartContract.Framework diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Iterator/Key.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Iterator/Key.md index aecd835..d706d1a 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Iterator/Key.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Iterator/Key.md @@ -2,7 +2,7 @@ 获得当前游标的 Key。 -命名空间:[Neo.SmartContract.Framework.Services](../../services.md) +命名空间:[Neo.SmartContract.Framework.Services](../index.md) 程序集:Neo.SmartContract.Framework @@ -16,4 +16,4 @@ public extern TKey Key -[返回上级](../Iterator.md) \ No newline at end of file +[返回上级](index.md) \ No newline at end of file diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Iterator/Next.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Iterator/Next.md index dfa7317..79fa0c3 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Iterator/Next.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Iterator/Next.md @@ -2,7 +2,7 @@ 游标在集合中向下移动,返回游标状态(true: 没有到末尾 false: 到末尾) -命名空间:[Neo.SmartContract.Framework.Services](../../services.md) +命名空间:[Neo.SmartContract.Framework.Services](../index.md) 程序集:Neo.SmartContract.Framework @@ -34,4 +34,4 @@ public class Contract1 : SmartContract -[返回上级](../Iterator.md) \ No newline at end of file +[返回上级](index.md) \ No newline at end of file diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Iterator/Value.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Iterator/Value.md index 8ee779f..c5fd6b3 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Iterator/Value.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Iterator/Value.md @@ -2,7 +2,7 @@ 获得当前游标的 Value。 -命名空间:[Neo.SmartContract.Framework.Services](../../services.md) +命名空间:[Neo.SmartContract.Framework.Services](../index.md) 程序集:Neo.SmartContract.Framework @@ -16,4 +16,4 @@ public extern TKey Value -[返回上级](../Iterator.md) \ No newline at end of file +[返回上级](index.md) \ No newline at end of file diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Iterator.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Iterator/index.md similarity index 81% rename from i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Iterator.md rename to i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Iterator/index.md index fffae2f..4dbcfc7 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Iterator.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Iterator/index.md @@ -2,7 +2,7 @@ 智能合约中的迭代器。 -命名空间:[Neo.SmartContract.Framework.Services](../services.md) +命名空间:[Neo.SmartContract.Framework.Services](index.md) 程序集:Neo.SmartContract.Framework @@ -25,4 +25,4 @@ public class Iterator : Iterator, IApiInterface | ----------------------------------- | ------------------------------------------------------------ | | Next() | 将迭代器推进到集合的下一个元素 | -也可通过 [Storage.Find()](Storage/Find.md) 来构造 Iterator 对象。 \ No newline at end of file +也可通过 [Storage.Find()](../Storage/Find.md) 来构造 Iterator 对象。 \ No newline at end of file diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Notification.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Notification.md index 9b9aae6..c80080a 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Notification.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Notification.md @@ -2,7 +2,7 @@ 表示合约执行发送的通知。 -命名空间:[Neo.SmartContract.Framework.Services](../services.md) +命名空间:[Neo.SmartContract.Framework.Services](index.md) 程序集:Neo.SmartContract.Framework diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Runtime/CheckWitness.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Runtime/CheckWitness.md index 3dbf376..413111d 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Runtime/CheckWitness.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Runtime/CheckWitness.md @@ -2,7 +2,7 @@ 验证调用该智能合约的交易/区块是否验证过所需的脚本散列。 -命名空间:[Neo.SmartContract.Framework.Services](../../services.md) +命名空间:[Neo.SmartContract.Framework.Services](../index.md) 程序集:Neo.SmartContract.Framework @@ -37,4 +37,4 @@ public class Contract1 : FunctionCode -[返回上级](../Runtime.md) \ No newline at end of file +[返回上级](index.md) \ No newline at end of file diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Runtime/GetNotifications.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Runtime/GetNotifications.md index bd16926..9e64f6a 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Runtime/GetNotifications.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Runtime/GetNotifications.md @@ -2,7 +2,7 @@ 获取给定合约执行的所有通知。 -命名空间:[Neo.SmartContract.Framework.Services](../../services.md) +命名空间:[Neo.SmartContract.Framework.Services](../index.md) 程序集:Neo.SmartContract.Framework @@ -32,4 +32,4 @@ public class Contract1 : SmartContract.Framework.SmartContract } ``` -[返回上级](../Runtime.md) \ No newline at end of file +[返回上级](index.md) \ No newline at end of file diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Runtime/Log.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Runtime/Log.md index 443ad13..6d59d53 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Runtime/Log.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Runtime/Log.md @@ -2,7 +2,7 @@ 在智能合约中向执行该智能合约的客户端发送日志。该方法会触在客户端触发一个事件,事件的处理过程需要客户端配合。 -命名空间:[Neo.SmartContract.Framework.Services](../../services.md) +命名空间:[Neo.SmartContract.Framework.Services](../index.md) 程序集:Neo.SmartContract.Framework @@ -33,4 +33,4 @@ public class Contract1 : SmartContract.Framework.SmartContract -[返回上级](../Runtime.md) \ No newline at end of file +[返回上级](index.md) \ No newline at end of file diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Runtime/Time.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Runtime/Time.md index c5a46d2..9568838 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Runtime/Time.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Runtime/Time.md @@ -2,7 +2,7 @@ 获得当前区块的时间戳。 -命名空间:[Neo.SmartContract.Framework.Services](../../services.md) +命名空间:[Neo.SmartContract.Framework.Services](../index.md) 程序集:Neo.SmartContract.Framework @@ -28,4 +28,4 @@ public static bool Main() -[返回上级](../Runtime.md) \ No newline at end of file +[返回上级](index.md) \ No newline at end of file diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Runtime/Trigger.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Runtime/Trigger.md index 5a1e6a2..871fe8c 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Runtime/Trigger.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Runtime/Trigger.md @@ -2,7 +2,7 @@ 获得该智能合约的触发器类型。 -命名空间:[Neo.SmartContract.Framework.Services](../../services.md) +命名空间:[Neo.SmartContract.Framework.Services](../index.md) 程序集:Neo.SmartContract.Framework @@ -34,4 +34,4 @@ public static bool Main() -[返回上级](../Runtime.md) \ No newline at end of file +[返回上级](index.md) \ No newline at end of file diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Runtime.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Runtime/index.md similarity index 68% rename from i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Runtime.md rename to i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Runtime/index.md index 1199f32..d1186be 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Runtime.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Runtime/index.md @@ -2,7 +2,7 @@ 提供智能合约运行时的一些方法。 -命名空间:[Neo.SmartContract.Framework.Services](../services.md) +命名空间:[Neo.SmartContract.Framework.Services](index.md) 程序集:Neo.SmartContract.Framework @@ -16,7 +16,7 @@ public static class Runtime | 名称 | 说明 | | ----------------------------- | -------------------------- | -| [Trigger](Runtime/Trigger.md) | 获得该智能合约的触发条件 | +| [Trigger](Trigger.md) | 获得该智能合约的触发条件 | | Platform | 获取当前执行智能合约的平台信息 | | ScriptContainer | 获取当前的脚本容器 | | ExecutingScriptHash | 获取当前上下文的脚本散列 | @@ -31,9 +31,9 @@ public static class Runtime | 名称 | 说明 | | ------------------------------------------------------------ | -------------------------------------------- | -| [GetNotifications(UInt160 hash = null)](Runtime/GetNotifications.md) | 获取某智能合约执行时的所有通知 | -| [Log(string message)](Runtime/Log.md) | 在智能合约中向执行该智能合约的客户端发送日志 | -| [CheckWitness()](Runtime/CheckWitness.md) | 确定指定账户是否见证了当前交易 | +| [GetNotifications(UInt160 hash = null)](GetNotifications.md) | 获取某智能合约执行时的所有通知 | +| [Log(string message)](Log.md) | 在智能合约中向执行该智能合约的客户端发送日志 | +| [CheckWitness()](CheckWitness.md) | 确定指定账户是否见证了当前交易 | | BurnGas | 燃烧 GAS,造福 Neo 生态系统 | ## 构造方法 diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Storage/CurrentContext.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Storage/CurrentContext.md index 7ca9fee..0bf8af7 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Storage/CurrentContext.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Storage/CurrentContext.md @@ -2,7 +2,7 @@ 获取当前存储区上下文。获得该存储区上下文后,可以将该对象作为实参传给其它合约(即完成授权),由其它合约来执行对该合约上下文的存储区的读写操作。 -命名空间:[Neo.SmartContract.Framework.Services](../../services.md) +命名空间:[Neo.SmartContract.Framework.Services](../index.md) 程序集:Neo.SmartContract.Framework @@ -14,4 +14,4 @@ public static extern StorageContext CurrentContext { get; } 属性值:当前存储区上下文,[StorageContext](../StorageContext.md) 类型。 -[返回上级](../Storage.md) +[返回上级](index.md) diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Storage/Delete.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Storage/Delete.md index 08036c8..a22d3f9 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Storage/Delete.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Storage/Delete.md @@ -2,7 +2,7 @@ 删除操作,从给定的存储上下文中删除给定键对应的值。 -命名空间:[Neo.SmartContract.Framework.Services](../../services.md) +命名空间:[Neo.SmartContract.Framework.Services](../index.md) 程序集:Neo.SmartContract.Framework @@ -46,4 +46,4 @@ public class Contract1 : SmartContract.Framework.SmartContract -[返回上级](../Storage.md) +[返回上级](index.md) diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Storage/Find.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Storage/Find.md index a998b7b..99e974a 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Storage/Find.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Storage/Find.md @@ -2,7 +2,7 @@ 查询操作,查找存储上下文中满足指定前缀的内容 -命名空间:[Neo.SmartContract.Framework.Services](../../services.md) +命名空间:[Neo.SmartContract.Framework.Services](../index.md) 程序集:Neo.SmartContract.Framework @@ -37,4 +37,4 @@ public class Contract1 : SmartContract.Framework.SmartContract } ``` -[返回上级](../Storage.md) +[返回上级](index.md) diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Storage/Get.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Storage/Get.md index 286905d..0f6293e 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Storage/Get.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Storage/Get.md @@ -2,7 +2,7 @@ 查询操作,在持久化存储区中通过 key 查询对应的 value。 -命名空间:[Neo.SmartContract.Framework.Services](../../services.md) +命名空间:[Neo.SmartContract.Framework.Services](../index.md) 程序集:Neo.SmartContract.Framework @@ -33,4 +33,4 @@ public class Contract1 : SmartContract.Framework.SmartContract } ``` -[返回上级](../Storage.md) +[返回上级](index.md) diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Storage/Put.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Storage/Put.md index 35475f8..a5da46f 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Storage/Put.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Storage/Put.md @@ -2,7 +2,7 @@ 插入操作,以 key-value 的形式向持久化存储区中插入数据。 -命名空间:[Neo.SmartContract.Framework.Services](../../services.md) +命名空间:[Neo.SmartContract.Framework.Services](../index.md) 程序集:Neo.SmartContract.Framework @@ -51,4 +51,4 @@ public class Contract1 : SmartContract.Framework.SmartContract } ``` -[返回上级](../Storage.md) +[返回上级](index.md) diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Storage.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Storage/index.md similarity index 50% rename from i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Storage.md rename to i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Storage/index.md index ca82246..e29f6f1 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Storage.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Storage/index.md @@ -2,7 +2,7 @@ 提供了持久化存储区的插入、查询、删除的方法。 -命名空间:[Neo.SmartContract.Framework.Services](../services.md) +命名空间:[Neo.SmartContract.Framework.Services](index.md) 程序集:Neo.SmartContract.Framework @@ -16,17 +16,17 @@ public static class Storage | 名称 | 说明 | | ---------------------------------------- | ---------- | -| [CurrentContext](Storage/CurrentContext.md) | 获取当前存储区上下文 | +| [CurrentContext](CurrentContext.md) | 获取当前存储区上下文 | | CurrentReadOnlyContext | 以只读方式获取当前合约存储区的上下文 | ## 方法 | 名称 | 说明 | | ---------------------------------------- | -------------------------------- | -| [Delete](Storage/Delete.md) | 删除操作,从当前存储上下文中删除键对应的值,该方法有多个重载 | -| [Get](Storage/Get.md) | 查询操作,返回与给定存储上下文的给定键对应的byte[]值,该方法有多个重载 | -| [Put](Storage/Put.md) | 插入操作,向给定的存储上下文插入key-value对,该方法有多个重载 | -| [Find](Storage/Find.md) | 查询操作,查找指定存储上下文中的内容,该方法有多个重载 | +| [Delete](Delete.md) | 删除操作,从当前存储上下文中删除键对应的值,该方法有多个重载 | +| [Get](Get.md) | 查询操作,返回与给定存储上下文的给定键对应的byte[]值,该方法有多个重载 | +| [Put](Put.md) | 插入操作,向给定的存储上下文插入key-value对,该方法有多个重载 | +| [Find](Find.md) | 查询操作,查找指定存储上下文中的内容,该方法有多个重载 | ## 构造方法 diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/StorageContext.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/StorageContext.md index e2f23be..3c4f4e7 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/StorageContext.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/StorageContext.md @@ -4,7 +4,7 @@ 在智能合约中可以通过 Storage.CurrentContext 获得自己的存储区上下文,之后可以将该对象作为实参传给其它合约(即完成授权),由其它合约来执行对该合约上下文的存储区的读写操作。 -命名空间:[Neo.SmartContract.Framework.Services](../services.md) +命名空间:[Neo.SmartContract.Framework.Services](index.md) 程序集:Neo.SmartContract.Framework diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/StorageMap.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/StorageMap.md index 2f6c266..f29355f 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/StorageMap.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/StorageMap.md @@ -2,7 +2,7 @@ 表示给定存储上下文中指定前缀的key-value存储区。 -命名空间:[Neo.SmartContract.Framework.Services](../services.md) +命名空间:[Neo.SmartContract.Framework.Services](index.md) 程序集:Neo.SmartContract.Framework diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Transaction.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Transaction.md index f6520ff..0a5b7c2 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Transaction.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/Transaction.md @@ -2,7 +2,7 @@ 用来表示交易的基类。 -命名空间:[Neo.SmartContract.Framework.Services](../services.md) +命名空间:[Neo.SmartContract.Framework.Services](index.md) 程序集:Neo.SmartContract.Framework diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/TriggerType.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/TriggerType.md index 726ce42..882ab68 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/TriggerType.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/TriggerType.md @@ -4,7 +4,7 @@ 更多关于触发器的知识,请查看 [合约开发基础](../../../../develop/write/basics.md)。 -命名[Neo.SmartContract.Framework.Services](../services.md) +命名[Neo.SmartContract.Framework.Services](index.md) 程序集:Neo.SmartContract.Framework diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/index.md b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/index.md new file mode 100644 index 0000000..af310b0 --- /dev/null +++ b/i18n/zh/docusaurus-plugin-content-docs/current/n3/reference/scapi/framework/services/index.md @@ -0,0 +1,25 @@ +# Neo.SmartContract.Framework.Services + +## 类 + +| 类 | 说明 | +| ------------------------------------------------------------ | --------------------------------------------- | +| [Block](Block.md) | 表示区块的类,提供了一系列区块相关的属性 | +| [Contract](Contract/index.md) | 表示合约的类 | +| [Crypto](Crypto.md) | 提供了ECDsa 验证签名的方法。 | +| [Iterator](Iterator/index.md) | 智能合约中的自定义迭代器 | +| [Notification](Notification.md) | 表示合约执行发送的通知 | +| [Runtime](Runtime/index.md) | 提供智能合约运行时的一些方法 | +| [Storage](Storage/index.md) | 提供了持久化存储区的插入、查询、删除的方法 | +| [StorageContext](StorageContext.md) | 用来表示私有存储区存储上下文的类 | +| [StorageMap](StorageMap.md) | 表示给定存储上下文中指定前缀的key-value存储区 | +| [Transaction](Transaction.md) | 用来表示交易的基类 | + +## 枚举 + +| 枚举 | 说明 | +| -------------------------------------- | ---------------------------------------------------- | +| [CallFlags](CallFlags.md) | 定义调用合约方法时的模式 | +| [FindOptions](FindOptions.md) | 定义搜索存储区时的搜索选项,用在 Storage.Find 方法中 | +| [TriggerType](TriggerType.md) | 定义了智能合约触发器类型 | + diff --git a/tutorials/2024-10-17-neo-fairy-test/index.md b/tutorials/2024-10-17-neo-fairy-test/index.md index 55cfbac..144cbe2 100644 --- a/tutorials/2024-10-17-neo-fairy-test/index.md +++ b/tutorials/2024-10-17-neo-fairy-test/index.md @@ -20,7 +20,7 @@ In many cases, you may enjoy testing and debugging your N3 smart contract using - [Simpler but not recommended] Visit [the latest releases of Neo](https://github.com/neo-project/neo/releases) to download the latest Neo-CLI executable zip files for your operating system. - **[Recommended]** Alternatively, check out [how-to-debug-neo](https://github.com/Hecate2/how-to-debug-neo/) to compile and run Neo.CLI with the complete Neo source code. You will be able to debug your compiled codes. -- [Configure](https://developers.neo.org/docs/n3/node/cli/config#connecting-the-node-to-network) your Neo.CLI for mainnet, testnet or private net. **Mainnet is recommended, as it requires zero configuration and provides access to the full mainnet environment.** +- [Configure](https://docs.neo.org/docs/n3/node/cli/config.html#connecting-the-node-to-network) your Neo.CLI for mainnet, testnet or private net. **Mainnet is recommended, as it requires zero configuration and provides access to the full mainnet environment.** - [Simpler but not recommended] Install neo-fairy-test from [the latest releases](https://github.com/Hecate2/neo-fairy-test/releases) (version **>=3.7.5.17** for this tutorial). Unzip the downloaded release and place it at `Plugins/Fairy/{Fairy.dll + config.json + fairy.json + RpcServer.json}`. `Plugins` is a directory placed beside `neo-cli.exe`. - **[Recommended]** Alternatively you may compile [the source codes of Fairy](https://github.com/Hecate2/neo-fairy-test) by yourself. - Configure Fairy in `Plugins/Fairy/RpcServer.json`. Fairy is just an extended RpcServer on localhost of both IPv4 and IPv6, and on port 16868. If you are on mainnet, the initial config from my release should be good for you. For testnet T5, just change all the `Network` to `894710606` and all the `Port` to `26868`. @@ -72,7 +72,7 @@ signer = Signer(0xb1983fa2479a0c8e2beae032d2df564b5451b7a5, scopes=WitnessScope. client.invokefunction_of_any_contract(..., signers=signer) # or a list of signers ``` -Read https://developers.neo.org/docs/n3/foundation/Transactions#signature-scope about what a witness scope is. Fairy also supports complex `WitnessRules` if you need it. +Read https://docs.neo.org/docs/n3/foundation/Transactions.html#signature-scope about what a witness scope is. Fairy also supports complex `WitnessRules` if you need it. ```python from neo_fairy_client.utils.WitnessRule import *