Web3 security is broken, over $9.2B lost to hacks since 2016. Auditors are the last line of defense, but we need more of us. This talk breaks down what we do, how to get started, and why this is one of the most exciting careers in web3!
...ockmagnates.com/blog-post-2-leveling-up-our-zombies-inheritance-interfaces-and-inter-contract-communication-6f1088f1f49b)
>- 登链社区 AI 助手,为大家转译优秀英文文章,如有翻译不通的地方,还请包涵~
...ityParams
```solidity
struct ModifyLiquidityParams {
// the lower and upper tick of the position
int24 tickLower;
int24 tickUpper;
// how to modify the liquidity
int256 liquidityDelta;
// a value to set if you want unique liquidity positions at the same range
b...
...时获取提成的账户。
```move
// Function to init the publisher and admin
fun init(otw: ADMIN, ctx: &mut TxContext) {
// create Publisher and transfer it to the sender
package::claim_and_keep(otw, ctx);
// create Admin and share it with all users
transfer::share_obje...
...始化 discriminator。
```
Step 1: using sha256 for string "global:vote" and you will get the result:
e36e9b17887eac197678a3a9928f2dfc8a1d553a698244524539ebb858a2b4d0
Step 2: Take the first 16 letters and convert hex to 8 bytes array
e36e9b17887eac19 => [227, 110, 155, 23, 136, 126, 172, ...