...用合约赚钱的帖子 “Make +1200$ a day passive income with Solidity and Uniswap” ,咋一看以为是闪电贷套利之类的,但还是很好奇就点进去看了下具体是怎么玩的。(视频在油管上 BVLAbJbT59w ,完整代码在 https://rentry.co/uvdx4/raw )
视频的...
...t, _timestamp));
}
// Queue a mint for a given address amount, and timestamp
function queueMint(
address _to,
uint256 _amount,
uint256 _timestamp
) public onlyOwner {
// Generate the transaction hash
bytes32 txnHash = generateTxnHash...
...:
```
/// A extrinsic right from the external world. This is unchecked and so
/// can contain a signature.
#[derive(PartialEq, Eq, Clone)]
pub struct UncheckedExtrinsic
where
Extra: SignedExtension
{
/// The signature, address, number of extrinsics have come before from
/// t...
... while pos < len(keys):
k = keys[pos]
if k in objects and k ^ 1 in objects and k // 2 not in objects:
objects[GeneralizedIndex(k // 2)] = hash(
objects[GeneralizedIndex((k | 1) ^ 1)] +
objects[GeneralizedIndex(k | 1)]
)...