找到约 14 条结果

文章 Deep Dive into the TON Smart Contract Compilation Process: Compiling Func and Tact Languages

...a `TactCompilerConfig` object and the name of the contract. The function constructs a virtual file system using `OverwritableVirtualFileSystem` and configures the build settings. After the compilation is completed, it extracts the compiled BOC (Block of Code) from the virtual file system and ret...

文章 SUI CLI常用命令解析2——Client PTB @SUI Move开发必知必会

...ve-vec Given n-values of the same type, it constructs a vector. For non objects or an empty vector, the type tag must be specified. --merge-coins Merge N coins into the provided coin. --move-call Make a move call to a function....

文章 开发一款Substrate应用 - 抛硬币游戏(一)

...dule::Trait for Runtime { type Event = Event; } ``` * 添加模块到`construct_runtime!`宏: ```rust construct_runtime!( pub enum Runtime with Log(InternalLog: DigestItem) where Block = Block, NodeBlock = opaque::Block, UncheckedExtrinsic = UncheckedExtrinsic ...

文章 绕过EOA账户检查

...method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(accoun...

文章 区块链中的数学 - Halo2 Circuit

...用来构造table column和gate 约束。 ``` impl FieldChip { fn construct(config: ::Config) -> Self { Self { config, _marker: PhantomData, } } fn configure( meta: &mut ConstraintSystem, advice: [Column; 2], ...

文章 探索 Solana 与 合约核心概念

... /// Account indexes must index into the list of addresses /// constructed from the concatenation of three key lists: /// 1) message `account_keys` /// 2) ordered list of keys loaded from `writable` lookup table indexes /// 3) ordered list of keys loaded ...

文章 Unlocking the Power of Debugging in TON Smart Contracts: The FunC Debug Toolkit

... Contracts and FunC TON smart contracts are written in FunC (Functional Constructors), a domain-specific language that allows developers to create complex, stateful logic on the blockchain. FunC is designed to be both expressive and secure, enabling developers to write smart contracts that are ef...

文章 单向函数算法深入丨区块链技术培训课程#5

...lles Van Assche设计。Keccak采用了一种称为"海绵结构"(sponge construction)的设计,这种设计使得它在安全性和性能上都有独特的优势。 输出长度为 X 位的 SHA-3 哈希函数表示为:SHA3-X(M) 下面以输出长度为 256 位的函数为例...

文章 Deep Dive into TON Smart Contracts: Implementing Proof-of-Work in the TestGiver Contract

... based on the input complexity level. * **Build New State**: The function constructs a new contract state with the updated seed and PoW complexity, and the current time as the timestamp of the last successful attempt. * **Return Result**: The function returns the updated contract state. ### 6. ...

文章 揭露并修复Aleo中的一个通胀漏洞 - ZKSECURITY

..._fields() { Ok(fields) => { // Construct the (future) output index as a field element. let index = Field::from_u16(index as u16); // Construct the preimage as `(function ID || output || tcm || index)`. ...

文章 Can the Issue of Invoice Reimbursement in China be Solved Completely through the Integration of Blockchain and IoT Technology?

...and technical framework, the non-inductive invoice reimbursement system is constructed to reduce the overall reimbursement costs and promoting the improvement of the taxation system in China. Keywords Blockchain, No reimbursement, Invoice, The Internet of Things, Taxation system. 1. INTRODU...

文章 TLUV 限制条款操作码简介

...00) \[3\] [https://github.com/bitcoin/bips/blob/master/bip-0341.mediawiki#Constructing\_and\_spending\_Taproot\_outputs](https://github.com/bitcoin/bips/blob/master/bip-0341.mediawiki#Constructing_and_spending_Taproot_outputs) \[4\] [https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2019-Aug...

文章 2022年夏季我们正在阅读的一些书籍

...# …来自 Scott Duke Kominers,研究团队: **_Auctions: The Social Construction of Value_,作者:Charles Smith。** “这部经典而生动的社会学著作探讨了拍卖如何在整个社会中涌现,作为建立社区对价值共识的一种方式。(听起来很熟悉?)”...

文章 基于格的哈希函数

... C., Vaikuntanathan V.** Trapdoors for hard lattices and new cryptographic constructions [C]. *Proceedings of the 40th Annual ACM Symposium on Theory of Computing*. ACM, 2008.