...his 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;
assembly {
size := extcodesize(account)
}
return size > 0;
}
```
从`isContract`...
...s4[] functionSelectors;
}
/// @notice Gets all facet addresses and their four byte function selectors.
/// @return facets_ Facet
function facets() external view returns (Facet[] memory facets_);
/// @notice Gets all the function selectors supported by a specific facet.
...
...```
## 编译并发布模块
在沙盒环境发布模块
```js
$ move sandbox publish -v
Found 1 modules
Publishing a new module 00000000000000000000000000000002::Test (wrote 253 bytes)
Wrote 253 bytes of module ID's and code
```
查询发布的模块
```js
$ ls storage/0x0000000000000000...
...区块链数据。
A diagram showing how peer-to-peer nodes connect and interact on a blockchain network.
## 什么是以太坊归档节点?...