找到约 15 条结果

文章 理解以太坊: Go-Ethereum 源码剖析(1): Account and State

...nt transaction execution fakeStorage Storage // Fake storage which constructed by caller for debugging purpose. // Cache flags. // When an object is marked suicided it will be delete from the trie // during the "update" phase of the state transition. dirtyCode bool // t...

文章 什么是代币化房地产?

...据 [Ernst & Young (EY)](https://www.ey.com/en_ch/real-estate-hospitality-construction/tokenization-from-illiquid-to-liquid-real-estate-ownership) 的说法,“房地产资产的**代币化**可以在房地产行业中发挥重要作用。通过使用**代币化**,公证访问、可观的交易...

文章 Building a Bitcoin P2TR Tx by Hand

...ash_type: bytes = bytes.fromhex("00") # SIGHASH_DEFAULT ## ---------- ## CONSTRUCTING SIGHASH x INPUT (taproot) ## ---------- ## sha_prevouts (32) = SHA256(serialization of all input outpoints) prevouts: bytes = b'' for utxo_to_spend in utxos_to_spend: prevouts += reverse_byte_order(bytes.from...

文章 从EVM 角度看合约创建与部署

> * 原文链接: https://blog.smlxl.io/evm-contract-construction-93c98cc4ca96 > * 译文出自:[登链翻译计划](https://github.com/lbc-team/Pioneer) > * 译者:[翻译小组](https://learnblockchain.cn/people/412) 校对:[Tiny 熊](https://learnblockchain.cn/people/15) > * 本文永...

文章 [译]如何利用OpenZeppelin编写可升级的智能合约

... private _cap = 1000000000000000000; ERC20Capped public token; constructor(uint8 cap) public { _cap = cap; token = new ERC20Capped(_cap); } } ``` ### 限制1:没有构造函数 由于基于代理的可升级性的要求,因此在可升级合同...

文章 《Effective Rust》第 7 条:对于复杂的类型,使用构造器

...名*不*需要消费 `self`,因此必须如下所示: ```rust /// Construct a fully built [`Details`] object. /// 生成一个构造完毕的 [`Details`] 对象。 pub fn build(&self) -> Details { // ... } ``` 这个可重复调用的 `build()` 的实现必须在每次被调用...

文章 椭圆曲线深度解析(第 9 部分)

...我们[已经知道](https://learnblockchain.cn/article/15567#:~:text=to%20construct%20pairings.-,Torsion%20Groups,-Torsion%20groups%20are)它与 _ℤᵣ×ℤᵣ_ 同构,所以没有一个生成器可以产生群中的所有元素。某些协议依赖于循环性来工作,因此它们不能使...

问题 我想问问 怎么获取一个流动池剩下的eth数量 比如下面这个代码 并没有用过IUniswapV2Pair这个库 我无法调用里面的方法

...wo of these values are immutable: they can only be set once during * construction. */ function __ERC20_init(string memory name_, string memory symbol_) internal initializer { __Context_init_unchained(); __ERC20_init_unchained(name_, symbol_); } function...

文章 创建一个基于链上实时数据的动态SVG NFT

...ore individual stream addresses so they can be referenced post-mint constructor() ERC721("BuidlGuidl Tabard", "BGT") {} function mintItem(address streamAddress) public { // Minimal check that wallet is the recipient of a Stream // Someone could deploy a decoy stream t...

文章 有状态哈希还是无状态哈希——这是后量子问题

...法的稳健性的情况下。 ### 参考文献 \[1] Lamport, L. (1979). Constructing digital signatures from a one-way function (Vol. 238). Technical Report CSL-98, SRI International. \[[论文](https://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.228.2958&rep=rep1&type=pdf)] \[2] Buchmann,...

文章 椭圆曲线深入研究(第八部分)

...制为 [_r-挠点_](https://learnblockchain.cn/article/15567#:~:text=to%20construct%20pairings.-,Torsion%20Groups,-Torsion%20groups%20are)。我们将在几分钟内看到原因。 我们知道的另一件事是,我们可以通过在处理 [莫德尔-韦伊群](https://learnblockchain.cn/articl...

文章 每周以太坊进展 2022/12/3

...atch?v=tpekiuASieo) * [合约构建](https://blog.smlxl.io/evm-contract-construction-93c98cc4ca96)和部署指南 * EVM 的结构和访问方式的[存储图示](https://twitter.com/blainemalone/status/1597352375593078784) * [evmc](https://github.com/joshstevens19/evmc#readme):从 Ethersc...

文章 Polkadot Xcm -- 从基础到实践(实现跨链转账)

...e runtime by composing the FRAME pallets that were previously configured. construct_runtime!( pub enum Runtime where Block = Block, NodeBlock = opaque::Block, UncheckedExtrinsic = UncheckedExtrinsic, { // ...... Tokens: orml_tokens::{Pallet, Storage, Event, Config}, XTokens:...

问题 无法在bscscan上公开合约

...希望大神能够解答下,谢谢 错误信息: **Error!** Invalid constructor arguments provided. Please verify that they are in ABI-encoded format 以下是我的源码: // SPDX-License-Identifier: MIT pragma solidity ^0.6.2; /* * @dev Provides information about the current executi...

文章 以太坊第2层扩容方案:状态通道(State Channels)、Plasma 和 Truebit

...分布式交易的实现,他们在 [这里](https://blog.omisego.network/construction-of-a-plasma-chain-0x1-614f6ebd1612) 发布了最近更新进展信息。 #### [](https://github.com/xitu/gold-miner/blob/master/TODO/making-sense-of-ethereums-layer-2-scaling-solutions-state-channels-plasma-an...