1. issue
More and more lending pools are offering flash loans. In this case, a new pool has launched that is offering flash loans of DVT tokens for free.
The pool holds 1 million DVT tokens. You ha...
1. issue
There’s a pool with 1000 ETH in balance, offering flash loans. It has a fixed fee of 1 ETH.
A user has deployed a contract with 10 ETH in balance. It’s capable of interacting with the pool...
1. issue
There’s a tokenized vault with a million DVT tokens deposited. It’s offering flash loans for free, until the grace period ends.
To pass the challenge, make the vault stop offering flash lo...
1.语法1using A for * // 效果是,库A中的函数被附着在做任意的类型上
指令using A for B;用来附着库里定义的函数(从库A)到任意类型B。这些函数将会默认接收调用函数对象的实例作为第一个参数。
2. 示例代码2.1 Math库合约:123456789101112// 声明一个库合约library Math { // 定义一个加法函数 f...
calAddressByCreate21. 【使用python】这里是借鉴张学长的🤣
1.1 安装web3库1pip install web3
1.2 计算代码12345678910111213141516171819202122232425262728from web3 import Web3# value of your address(this) # must delet 0x# ...