This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let re = /\D*/g | |
| input | |
| .map(item => { | |
| // replace map | |
| digiMap = | |
| [ | |
| ['one', '1'], | |
| ['two', '2'], | |
| ['three', '3'], | |
| ['four', '4'], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let re = /\D*/g | |
| input | |
| .map(item => { | |
| // replace map | |
| digiMap = | |
| [ | |
| ['one', '1'], | |
| ['two', '2'], | |
| ['three', '3'], | |
| ['four', '4'], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let re = /\D*/g | |
| input | |
| .map(item => { | |
| // replace map | |
| digiMap = | |
| [ | |
| ['one', '1'], | |
| ['two', '2'], | |
| ['three', '3'], | |
| ['four', '4'], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| account, squid_balance, on_chain_balance | |
| 0x000000000000000000000000000000000000291c,7153607089582780257695,7153607089582780257695 | |
| 0x000000000000000000000000000000000000dead,1139574564006588925,1139574564006588925 | |
| 0x000000000000cb53d776774284822b1298ade47f,4,3 | |
| 0x00000000006004dfb6ab427a47994f2a6a4f6334,1,2 | |
| 0x00000000008c4fb1c916e0c88fd4cc402d935e7d,1477111840,2 | |
| 0x00000000009726632680fb29d3f7a9734e3010e2,120664919412622969336,0 | |
| 0x000000005736775feb0c8568e7dee77222a26880,1,1 | |
| 0x0000000099cb7fc48a935bceb9f05bbae54e8987,1,3 | |
| 0x00000000b7ca7e12dcc72290d1fe47b2ef14c607,1,2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # import matplotlib.animation | |
| import matplotlib.pyplot as plt | |
| from matplotlib.patches import Rectangle | |
| import numpy as np | |
| import json | |
| plt.rcParams["animation.html"] = "jshtml" | |
| plt.rcParams['figure.dpi'] = 150 | |
| plt.ioff() | |
| fig, ax = plt.subplots() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // SPDX-License-Identifier: BUSL-1.1 | |
| pragma solidity >=0.8.4; | |
| import { SafeMath } from "@openzeppelin/contracts/utils/math/SafeMath.sol"; | |
| import { ERC20 } from "@openzeppelin/contracts/token/ERC20/ERC20.sol"; | |
| import { IERC20 } from "@openzeppelin/contracts/token/ERC20/IERC20.sol"; | |
| import { SafeERC20 } from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; | |
| import { Ownable } from "@openzeppelin/contracts/access/Ownable.sol"; | |
| import { UV3Math } from "./lib/UV3Math.sol"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // SPDX-License-Identifier: BUSL-1.1 | |
| pragma solidity >=0.8.4; | |
| import { SafeMath } from "@openzeppelin/contracts/utils/math/SafeMath.sol"; | |
| import { ERC20 } from "@openzeppelin/contracts/token/ERC20/ERC20.sol"; | |
| import { IERC20 } from "@openzeppelin/contracts/token/ERC20/IERC20.sol"; | |
| import { SafeERC20 } from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; | |
| import { Ownable } from "@openzeppelin/contracts/access/Ownable.sol"; | |
| import { UV3Math } from "./lib/UV3Math.sol"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // SPDX-License-Identifier: BUSL-1.1 | |
| pragma solidity >=0.8.4; | |
| import { SafeMath } from "@openzeppelin/contracts/utils/math/SafeMath.sol"; | |
| import { ERC20 } from "@openzeppelin/contracts/token/ERC20/ERC20.sol"; | |
| import { IERC20 } from "@openzeppelin/contracts/token/ERC20/IERC20.sol"; | |
| import { SafeERC20 } from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; | |
| import { Ownable } from "@openzeppelin/contracts/access/Ownable.sol"; | |
| import { UV3Math } from "./lib/UV3Math.sol"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [[0xe3a66f679a1b8aE03D3f1e5fA296cCd8Aeea4366] | |
| [0x21e87907866c3C73E930Fc813cF4AB851432eB7d] | |
| [0xD9B79b2e8Ad6370d7286056144f01110aFb70c9E] | |
| [0xfc00Dc14d523dD58E8519B543ED81d6599E7B489] | |
| [0x4DC10904F551a6ab1a4201de54635AA37f8bC008] | |
| [0x2c0367f518f91E634d7FD2Bd2C9bEC1Ba286DaB5] | |
| [0xB5eeDa63ae856a8e5E5f7Bc24874697cf38a49ae] | |
| [0xc7EDC9ba2759D07023835bC388a852b379adF843] | |
| [0x4C6d92569ED8e74a7ae605BddaAef86a6a4B0Ee6] | |
| [0x52b8aa1DA04126c6dF52E5b8d877E8C8f487aA3B] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ | |
| { | |
| "inputs": [ | |
| { | |
| "internalType": "address", | |
| "name": "_bribeContractOS", | |
| "type": "address" | |
| }, | |
| { | |
| "internalType": "address", |