From 177284738d3ad128269b5f5af518067976251561 Mon Sep 17 00:00:00 2001 From: Verin1005 Date: Mon, 22 Jul 2024 18:59:32 +0800 Subject: [PATCH 01/14] adding DataProviderTypes --- .../token_holding_amount/Constants.sol | 16 +++++++++++++--- .../token_holding_amount/brc20/BRC20.sol | 7 +++++-- .../token_holding_amount/erc20/Ada.sol | 9 +++++---- .../token_holding_amount/erc20/Amp.sol | 9 +++++---- .../token_holding_amount/erc20/Atom.sol | 14 ++++++++------ .../token_holding_amount/erc20/Bch.sol | 15 +++++---------- .../token_holding_amount/erc20/Bean.sol | 19 ++++++++++++------- .../token_holding_amount/erc20/Bnb.sol | 15 ++++++++++----- .../token_holding_amount/erc20/Comp.sol | 3 ++- .../token_holding_amount/erc20/Cro.sol | 14 ++++++++------ .../token_holding_amount/erc20/Crv.sol | 3 ++- .../token_holding_amount/erc20/Cvx.sol | 3 ++- .../token_holding_amount/erc20/Dai.sol | 9 ++++++--- .../token_holding_amount/erc20/Doge.sol | 9 +++++---- .../token_holding_amount/erc20/Dydx.sol | 3 ++- .../token_holding_amount/erc20/Etc.sol | 3 ++- .../token_holding_amount/erc20/Eth.sol | 9 +++++++-- .../token_holding_amount/erc20/Fil.sol | 3 ++- .../token_holding_amount/erc20/Grt.sol | 6 ++++-- .../token_holding_amount/erc20/Gtc.sol | 3 ++- .../token_holding_amount/erc20/Gusd.sol | 3 ++- .../token_holding_amount/erc20/Imx.sol | 3 ++- .../token_holding_amount/erc20/Inj.sol | 3 ++- .../token_holding_amount/erc20/Leo.sol | 3 ++- .../token_holding_amount/erc20/Link.sol | 6 ++++-- .../token_holding_amount/erc20/Lit.sol | 6 ++++-- .../token_holding_amount/erc20/Matic.sol | 6 ++++-- .../token_holding_amount/erc20/Mcrt.sol | 19 +++++++++++-------- .../token_holding_amount/erc20/Nfp.sol | 3 ++- .../token_holding_amount/erc20/People.sol | 3 ++- .../token_holding_amount/erc20/Shib.sol | 3 ++- .../token_holding_amount/erc20/Sol.sol | 12 +++++++++--- .../token_holding_amount/erc20/SpaceId.sol | 6 ++++-- .../token_holding_amount/erc20/Ton.sol | 6 ++++-- .../token_holding_amount/erc20/Trx.sol | 6 ++++-- .../token_holding_amount/erc20/Tusd.sol | 6 ++++-- .../token_holding_amount/erc20/Uni.sol | 9 ++++++--- .../token_holding_amount/erc20/Usdc.sol | 9 ++++++--- .../token_holding_amount/erc20/Usdd.sol | 6 ++++-- .../token_holding_amount/erc20/Usdt.sol | 6 ++++-- .../token_holding_amount/erc20/Wbtc.sol | 3 ++- 41 files changed, 191 insertions(+), 108 deletions(-) diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/Constants.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/Constants.sol index 1212be3210..e75251b915 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/Constants.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/Constants.sol @@ -18,10 +18,20 @@ pragma solidity ^0.8.8; -library Constants { - uint256 constant decimals_factor = 1000; -} struct TokenInfo { uint32 network; string tokenAddress; + uint8 dataprovierType; +} + +library Constants { + uint256 constant decimals_factor = 1000; +} + +library DataProviderTypes { + uint8 public constant AchainableClient = 0; + uint8 public constant BlockchainInfoClient = 1; + uint8 public constant GeniidataClient = 2; + uint8 public constant MoralisClient = 3; + uint8 public constant NoderealClient = 4; } diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/brc20/BRC20.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/brc20/BRC20.sol index 06fb2ff1d7..ce6c79bc16 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/brc20/BRC20.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/brc20/BRC20.sol @@ -21,7 +21,6 @@ pragma solidity ^0.8.8; import "../Constants.sol"; import "../../libraries/Identities.sol"; - library BRC20 { function getDefaultTokenNetworks() internal pure returns (uint32[] memory) { uint32[] memory networks = new uint32[](5); @@ -36,7 +35,11 @@ library BRC20 { uint32[] memory networks = BRC20.getDefaultTokenNetworks(); TokenInfo[] memory tokenInfoList = new TokenInfo[](networks.length); for (uint i = 0; i < networks.length; i++) { - tokenInfoList[i] = TokenInfo(networks[i], ""); + tokenInfoList[i] = TokenInfo( + networks[i], + "", + DataProviderTypes.GeniidataClient + ); } return tokenInfoList; diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Ada.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Ada.sol index ae8b78b35b..edf74cc2a9 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Ada.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Ada.sol @@ -34,11 +34,12 @@ library Ada { return ranges; } function getTokenInfo() internal pure returns (TokenInfo[] memory) { - TokenInfo[] memory networks = new TokenInfo[](1); - networks[0] = TokenInfo( + TokenInfo[] memory tokenInfoList = new TokenInfo[](1); + tokenInfoList[0] = TokenInfo( Web3Networks.Bsc, - "0x3EE2200Efb3400fAbB9AacF31297cBdD1d435D47" + "0x3EE2200Efb3400fAbB9AacF31297cBdD1d435D47", + DataProviderTypes.NoderealClient ); - return networks; + return tokenInfoList; } } diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Amp.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Amp.sol index 22e70864fa..be6651bfed 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Amp.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Amp.sol @@ -38,11 +38,12 @@ library Amp { } function getTokenInfo() internal pure returns (TokenInfo[] memory) { - TokenInfo[] memory networks = new TokenInfo[](1); - networks[0] = TokenInfo( + TokenInfo[] memory tokenInfoList = new TokenInfo[](1); + tokenInfoList[0] = TokenInfo( Web3Networks.Ethereum, - "0xff20817765cb7f73d4bde2e66e067e58d11095c2" + "0xff20817765cb7f73d4bde2e66e067e58d11095c2", + DataProviderTypes.NoderealClient ); - return networks; + return tokenInfoList; } } diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Atom.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Atom.sol index 1aab28b818..70f411c818 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Atom.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Atom.sol @@ -35,15 +35,17 @@ library Atom { } function getTokenInfo() internal pure returns (TokenInfo[] memory) { - TokenInfo[] memory networks = new TokenInfo[](2); - networks[0] = TokenInfo( + TokenInfo[] memory tokenInfoList = new TokenInfo[](2); + tokenInfoList[0] = TokenInfo( Web3Networks.Ethereum, - "0x8D983cb9388EaC77af0474fA441C4815500Cb7BB" + "0x8D983cb9388EaC77af0474fA441C4815500Cb7BB", + DataProviderTypes.NoderealClient ); - networks[1] = TokenInfo( + tokenInfoList[1] = TokenInfo( Web3Networks.Bsc, - "0x0eb3a705fc54725037cc9e008bdede697f62f335" + "0x0eb3a705fc54725037cc9e008bdede697f62f335", + DataProviderTypes.NoderealClient ); - return networks; + return tokenInfoList; } } diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Bch.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Bch.sol index 71d352cb1c..44b925e9fd 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Bch.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Bch.sol @@ -37,19 +37,14 @@ library Bch { return ranges; } - function getTokenNetworks() internal pure returns (uint32[] memory) { - uint32[] memory networks = new uint32[](1); - networks[0] = Web3Networks.Bsc; - - return networks; - } function getTokenInfo() internal pure returns (TokenInfo[] memory) { - TokenInfo[] memory networks = new TokenInfo[](1); - networks[0] = TokenInfo( + TokenInfo[] memory tokenInfoList = new TokenInfo[](1); + tokenInfoList[0] = TokenInfo( Web3Networks.Bsc, - "0x8fF795a6F4D97E7887C79beA79aba5cc76444aDf" + "0x8fF795a6F4D97E7887C79beA79aba5cc76444aDf", + DataProviderTypes.NoderealClient ); - return networks; + return tokenInfoList; } } diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Bean.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Bean.sol index b1f2062f79..d90f5f408a 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Bean.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Bean.sol @@ -20,7 +20,10 @@ pragma solidity ^0.8.8; import "../../libraries/Identities.sol"; import "../Constants.sol"; - +struct TokenNetwork { + uint32 id; + string tokenAddress; +} library Bean { function getTokenRanges() internal pure returns (uint256[] memory) { uint256[] memory ranges = new uint256[](5); @@ -34,15 +37,17 @@ library Bean { } function getTokenInfo() internal pure returns (TokenInfo[] memory) { - TokenInfo[] memory networks = new TokenInfo[](2); - networks[0] = TokenInfo( + TokenInfo[] memory tokenInfoList = new TokenInfo[](2); + tokenInfoList[0] = TokenInfo( Web3Networks.Bsc, - "0x07da81e9a684ab87fad7206b3bc8d0866f48cc7c" + "0x07da81e9a684ab87fad7206b3bc8d0866f48cc7c", + DataProviderTypes.NoderealClient ); - networks[1] = TokenInfo( + tokenInfoList[1] = TokenInfo( Web3Networks.Ethereum, - "0xba7b9936a965fac23bb7a8190364fa60622b3cff" + "0xba7b9936a965fac23bb7a8190364fa60622b3cff", + DataProviderTypes.NoderealClient ); - return networks; + return tokenInfoList; } } diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Bnb.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Bnb.sol index 883ed12a07..d89a3e8ef6 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Bnb.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Bnb.sol @@ -39,12 +39,17 @@ library Bnb { } function getTokenInfo() internal pure returns (TokenInfo[] memory) { - TokenInfo[] memory networks = new TokenInfo[](2); - networks[0] = TokenInfo(Web3Networks.Bsc, "Native Token"); - networks[1] = TokenInfo( + TokenInfo[] memory tokenInfoList = new TokenInfo[](2); + tokenInfoList[0] = TokenInfo( + Web3Networks.Bsc, + "Native Token", + DataProviderTypes.NoderealClient + ); + tokenInfoList[1] = TokenInfo( Web3Networks.Ethereum, - "0xb8c77482e45f1f44de1745f52c74426c631bdd52" + "0xb8c77482e45f1f44de1745f52c74426c631bdd52", + DataProviderTypes.NoderealClient ); - return networks; + return tokenInfoList; } } diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Comp.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Comp.sol index 9837077cc4..4d7f42b317 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Comp.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Comp.sol @@ -42,7 +42,8 @@ library Comp { TokenInfo[] memory tokenInfoList = new TokenInfo[](1); tokenInfoList[0] = TokenInfo( Web3Networks.Ethereum, - "0xc00e94cb662c3520282e6f5717214004a7f26888" + "0xc00e94cb662c3520282e6f5717214004a7f26888", + DataProviderTypes.NoderealClient ); return tokenInfoList; diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Cro.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Cro.sol index a3f3cdd492..c33a89b53e 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Cro.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Cro.sol @@ -36,15 +36,17 @@ library Cro { } function getTokenInfo() internal pure returns (TokenInfo[] memory) { - TokenInfo[] memory networks = new TokenInfo[](2); - networks[0] = TokenInfo( + TokenInfo[] memory tokenInfoList = new TokenInfo[](2); + tokenInfoList[0] = TokenInfo( Web3Networks.Ethereum, - "0xa0b73e1ff0b80914ab6fe0444e65848c4c34450b" + "0xa0b73e1ff0b80914ab6fe0444e65848c4c34450b", + DataProviderTypes.NoderealClient ); - networks[1] = TokenInfo( + tokenInfoList[1] = TokenInfo( Web3Networks.Solana, - "DvjMYMVeXgKxaixGKpzQThLoG98nc7HSU7eanzsdCboA" + "DvjMYMVeXgKxaixGKpzQThLoG98nc7HSU7eanzsdCboA", + DataProviderTypes.NoderealClient ); - return networks; + return tokenInfoList; } } diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Crv.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Crv.sol index 70a3df533e..0b44b846ba 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Crv.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Crv.sol @@ -42,7 +42,8 @@ library Crv { TokenInfo[] memory tokenInfoList = new TokenInfo[](1); tokenInfoList[0] = TokenInfo( Web3Networks.Ethereum, - "0xdac17f958d2ee523a2206206994597c13d831ec7" + "0xdac17f958d2ee523a2206206994597c13d831ec7", + DataProviderTypes.NoderealClient ); return tokenInfoList; diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Cvx.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Cvx.sol index 29c305fe9f..a17c43ebed 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Cvx.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Cvx.sol @@ -42,7 +42,8 @@ library Cvx { TokenInfo[] memory tokenInfoList = new TokenInfo[](1); tokenInfoList[0] = TokenInfo( Web3Networks.Ethereum, - "0x4e3fbd56cd56c3e72c1403e103b45db9da5b9d2b" + "0x4e3fbd56cd56c3e72c1403e103b45db9da5b9d2b", + DataProviderTypes.NoderealClient ); return tokenInfoList; diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Dai.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Dai.sol index 312190d213..f51809cb02 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Dai.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Dai.sol @@ -41,15 +41,18 @@ library Dai { TokenInfo[] memory tokenInfoList = new TokenInfo[](3); tokenInfoList[0] = TokenInfo( Web3Networks.Ethereum, - "0x6b175474e89094c44da98b954eedeac495271d0f" + "0x6b175474e89094c44da98b954eedeac495271d0f", + DataProviderTypes.NoderealClient ); tokenInfoList[1] = TokenInfo( Web3Networks.Bsc, - "0x1af3f329e8be154074d8769d1ffa4ee058b1dbc3" + "0x1af3f329e8be154074d8769d1ffa4ee058b1dbc3", + DataProviderTypes.NoderealClient ); tokenInfoList[2] = TokenInfo( Web3Networks.Solana, - "EjmyN6qEC1Tf1JxiG1ae7UTJhUxSwk1TCWNWqxWV4J6o" + "EjmyN6qEC1Tf1JxiG1ae7UTJhUxSwk1TCWNWqxWV4J6o", + DataProviderTypes.NoderealClient ); return tokenInfoList; diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Doge.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Doge.sol index 4d57e9adde..efb7f123ee 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Doge.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Doge.sol @@ -35,11 +35,12 @@ library Doge { } function getTokenInfo() internal pure returns (TokenInfo[] memory) { - TokenInfo[] memory networks = new TokenInfo[](1); - networks[0] = TokenInfo( + TokenInfo[] memory tokenInfoList = new TokenInfo[](1); + tokenInfoList[0] = TokenInfo( Web3Networks.Bsc, - "0xba2ae424d960c26247dd6c32edc70b295c744c43" + "0xba2ae424d960c26247dd6c32edc70b295c744c43", + DataProviderTypes.NoderealClient ); - return networks; + return tokenInfoList; } } diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Dydx.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Dydx.sol index 44643a3050..0bbd56ad7b 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Dydx.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Dydx.sol @@ -42,7 +42,8 @@ library Dydx { TokenInfo[] memory tokenInfoList = new TokenInfo[](1); tokenInfoList[0] = TokenInfo( Web3Networks.Ethereum, - "0x92d6c1e31e14520e676a687f0a93788b716beff5" + "0x92d6c1e31e14520e676a687f0a93788b716beff5", + DataProviderTypes.NoderealClient ); return tokenInfoList; diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Etc.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Etc.sol index 8d75ca8913..f77f1117e6 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Etc.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Etc.sol @@ -38,7 +38,8 @@ library Etc { TokenInfo[] memory tokenInfoList = new TokenInfo[](1); tokenInfoList[0] = TokenInfo( Web3Networks.Bsc, - "0x3d6545b08693dae087e957cb1180ee38b9e3c25e" + "0x3d6545b08693dae087e957cb1180ee38b9e3c25e", + DataProviderTypes.NoderealClient ); return tokenInfoList; } diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Eth.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Eth.sol index 790ee62235..d12698b2b8 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Eth.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Eth.sol @@ -42,10 +42,15 @@ library Eth { function getTokenInfo() internal pure returns (TokenInfo[] memory) { TokenInfo[] memory tokenInfoList = new TokenInfo[](2); - tokenInfoList[0] = TokenInfo(Web3Networks.Ethereum, "Native Token"); + tokenInfoList[0] = TokenInfo( + Web3Networks.Ethereum, + "Native Token", + DataProviderTypes.NoderealClient + ); tokenInfoList[1] = TokenInfo( Web3Networks.Bsc, - "0x2170ed0880ac9a755fd29b2688956bd959f933f8" + "0x2170ed0880ac9a755fd29b2688956bd959f933f8", + DataProviderTypes.NoderealClient ); return tokenInfoList; diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Fil.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Fil.sol index 96cacf572e..05e37e01b5 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Fil.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Fil.sol @@ -38,7 +38,8 @@ library Fil { TokenInfo[] memory tokenInfoList = new TokenInfo[](1); tokenInfoList[0] = TokenInfo( Web3Networks.Bsc, - "0x0d8ce2a99bb6e3b7db580ed848240e4a0f9ae153" + "0x0d8ce2a99bb6e3b7db580ed848240e4a0f9ae153", + DataProviderTypes.NoderealClient ); return tokenInfoList; diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Grt.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Grt.sol index 9e98958be9..5082385106 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Grt.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Grt.sol @@ -41,11 +41,13 @@ library Grt { TokenInfo[] memory tokenInfoList = new TokenInfo[](2); tokenInfoList[0] = TokenInfo( Web3Networks.Ethereum, - "0xc944e90c64b2c07662a292be6244bdf05cda44a7" + "0xc944e90c64b2c07662a292be6244bdf05cda44a7", + DataProviderTypes.NoderealClient ); tokenInfoList[1] = TokenInfo( Web3Networks.Bsc, - "0x52ce071bd9b1c4b00a0b92d298c512478cad67e8" + "0x52ce071bd9b1c4b00a0b92d298c512478cad67e8", + DataProviderTypes.NoderealClient ); return tokenInfoList; diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Gtc.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Gtc.sol index 2adf3e89fa..8d568ba7c5 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Gtc.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Gtc.sol @@ -42,7 +42,8 @@ library Gtc { TokenInfo[] memory tokenInfoList = new TokenInfo[](1); tokenInfoList[0] = TokenInfo( Web3Networks.Ethereum, - "0xde30da39c46104798bb5aa3fe8b9e0e1f348163f" + "0xde30da39c46104798bb5aa3fe8b9e0e1f348163f", + DataProviderTypes.NoderealClient ); return tokenInfoList; diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Gusd.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Gusd.sol index b4f3ae0518..801442d061 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Gusd.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Gusd.sol @@ -42,7 +42,8 @@ library Gusd { TokenInfo[] memory tokenInfoList = new TokenInfo[](1); tokenInfoList[0] = TokenInfo( Web3Networks.Ethereum, - "0x056fd409e1d7a124bd7017459dfea2f387b6d5cd" + "0x056fd409e1d7a124bd7017459dfea2f387b6d5cd", + DataProviderTypes.NoderealClient ); return tokenInfoList; diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Imx.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Imx.sol index d541d914c3..c2448b3742 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Imx.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Imx.sol @@ -40,7 +40,8 @@ library Imx { TokenInfo[] memory tokenInfoList = new TokenInfo[](1); tokenInfoList[0] = TokenInfo( Web3Networks.Ethereum, - "0xf57e7e7c23978c3caec3c3548e3d615c346e79ff" + "0xf57e7e7c23978c3caec3c3548e3d615c346e79ff", + DataProviderTypes.NoderealClient ); return tokenInfoList; diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Inj.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Inj.sol index ff7066a3b1..e378f27762 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Inj.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Inj.sol @@ -38,7 +38,8 @@ library Inj { TokenInfo[] memory tokenInfoList = new TokenInfo[](1); tokenInfoList[0] = TokenInfo( Web3Networks.Ethereum, - "0xa0b73e1ff0b80914ab6fe0444e65848c4c34450b" + "0xa0b73e1ff0b80914ab6fe0444e65848c4c34450b", + DataProviderTypes.NoderealClient ); return tokenInfoList; diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Leo.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Leo.sol index b0b5b87a83..a36f50d293 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Leo.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Leo.sol @@ -38,7 +38,8 @@ library Leo { TokenInfo[] memory tokenInfoList = new TokenInfo[](1); tokenInfoList[0] = TokenInfo( Web3Networks.Ethereum, - "0x2af5d2ad76741191d15dfe7bf6ac92d4bd912ca3" + "0x2af5d2ad76741191d15dfe7bf6ac92d4bd912ca3", + DataProviderTypes.NoderealClient ); return tokenInfoList; } diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Link.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Link.sol index 7381aa18e0..b09e9e7e34 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Link.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Link.sol @@ -42,11 +42,13 @@ library Link { TokenInfo[] memory tokenInfoList = new TokenInfo[](2); tokenInfoList[0] = TokenInfo( Web3Networks.Bsc, - "0xf8a0bf9cf54bb92f17374d9e9a321e6a111a51bd" + "0xf8a0bf9cf54bb92f17374d9e9a321e6a111a51bd", + DataProviderTypes.NoderealClient ); tokenInfoList[1] = TokenInfo( Web3Networks.Ethereum, - "0x514910771af9ca656af840dff83e8264ecf986ca" + "0x514910771af9ca656af840dff83e8264ecf986ca", + DataProviderTypes.NoderealClient ); return tokenInfoList; } diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Lit.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Lit.sol index b56d82d0f4..219cf422c0 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Lit.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Lit.sol @@ -42,11 +42,13 @@ library Lit { TokenInfo[] memory tokenInfoList = new TokenInfo[](2); tokenInfoList[0] = TokenInfo( Web3Networks.Bsc, - "0xb59490ab09a0f526cc7305822ac65f2ab12f9723" + "0xb59490ab09a0f526cc7305822ac65f2ab12f9723", + DataProviderTypes.NoderealClient ); tokenInfoList[1] = TokenInfo( Web3Networks.Ethereum, - "0xb59490ab09a0f526cc7305822ac65f2ab12f9723" + "0xb59490ab09a0f526cc7305822ac65f2ab12f9723", + DataProviderTypes.NoderealClient ); return tokenInfoList; diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Matic.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Matic.sol index 3ffe1a7da2..a28a79aa71 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Matic.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Matic.sol @@ -42,11 +42,13 @@ library Matic { TokenInfo[] memory tokenInfoList = new TokenInfo[](2); tokenInfoList[0] = TokenInfo( Web3Networks.Bsc, - "0xcc42724c6683b7e57334c4e856f4c9965ed682bd" + "0xcc42724c6683b7e57334c4e856f4c9965ed682bd", + DataProviderTypes.NoderealClient ); tokenInfoList[1] = TokenInfo( Web3Networks.Ethereum, - "0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0" + "0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0", + DataProviderTypes.NoderealClient ); return tokenInfoList; diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Mcrt.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Mcrt.sol index 06679c145e..81f58d50eb 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Mcrt.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Mcrt.sol @@ -35,19 +35,22 @@ library Mcrt { } function getTokenInfo() internal pure returns (TokenInfo[] memory) { - TokenInfo[] memory networks = new TokenInfo[](3); - networks[0] = TokenInfo( + TokenInfo[] memory tokenInfoList = new TokenInfo[](3); + tokenInfoList[0] = TokenInfo( Web3Networks.Ethereum, - "0xde16ce60804a881e9f8c4ebb3824646edecd478d" + "0xde16ce60804a881e9f8c4ebb3824646edecd478d", + DataProviderTypes.NoderealClient ); - networks[1] = TokenInfo( + tokenInfoList[1] = TokenInfo( Web3Networks.Bsc, - "0x4b8285aB433D8f69CB48d5Ad62b415ed1a221e4f" + "0x4b8285aB433D8f69CB48d5Ad62b415ed1a221e4f", + DataProviderTypes.NoderealClient ); - networks[2] = TokenInfo( + tokenInfoList[2] = TokenInfo( Web3Networks.Solana, - "FADm4QuSUF1K526LvTjvbJjKzeeipP6bj5bSzp3r6ipq" + "FADm4QuSUF1K526LvTjvbJjKzeeipP6bj5bSzp3r6ipq", + DataProviderTypes.NoderealClient ); - return networks; + return tokenInfoList; } } diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Nfp.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Nfp.sol index 15ea59bc90..b8315ad8a2 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Nfp.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Nfp.sol @@ -42,7 +42,8 @@ library Nfp { TokenInfo[] memory tokenInfoList = new TokenInfo[](1); tokenInfoList[0] = TokenInfo( Web3Networks.Bsc, - "0x75e8ddb518bb757b4282cd5b83bb70d4101d12fb" + "0x75e8ddb518bb757b4282cd5b83bb70d4101d12fb", + DataProviderTypes.NoderealClient ); return tokenInfoList; diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/People.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/People.sol index 2d1e319655..df943e7eef 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/People.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/People.sol @@ -42,7 +42,8 @@ library People { TokenInfo[] memory tokenInfoList = new TokenInfo[](1); tokenInfoList[0] = TokenInfo( Web3Networks.Ethereum, - "0x7a58c0be72be218b41c608b7fe7c5bb630736c71" + "0x7a58c0be72be218b41c608b7fe7c5bb630736c71", + DataProviderTypes.NoderealClient ); return tokenInfoList; diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Shib.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Shib.sol index 19f3bbc133..d8387c07ba 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Shib.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Shib.sol @@ -40,7 +40,8 @@ library Shib { TokenInfo[] memory tokenInfoList = new TokenInfo[](1); tokenInfoList[0] = TokenInfo( Web3Networks.Ethereum, - "0x95ad61b0a150d79219dcf64e1e6cc01f0b64c4ce" + "0x95ad61b0a150d79219dcf64e1e6cc01f0b64c4ce", + DataProviderTypes.NoderealClient ); return tokenInfoList; } diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Sol.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Sol.sol index cebf725c19..c0cc952b45 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Sol.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Sol.sol @@ -42,13 +42,19 @@ library Sol { TokenInfo[] memory tokenInfoList = new TokenInfo[](3); tokenInfoList[0] = TokenInfo( Web3Networks.Ethereum, - "0x5288738df1aeb0894713de903e1d0c001eeb7644" + "0x5288738df1aeb0894713de903e1d0c001eeb7644", + DataProviderTypes.NoderealClient ); tokenInfoList[1] = TokenInfo( Web3Networks.Bsc, - "0x570a5d26f7765ecb712c0924e4de545b89fd43df" + "0x570a5d26f7765ecb712c0924e4de545b89fd43df", + DataProviderTypes.NoderealClient + ); + tokenInfoList[2] = TokenInfo( + Web3Networks.Solana, + "Native Token", + DataProviderTypes.NoderealClient ); - tokenInfoList[2] = TokenInfo(Web3Networks.Solana, "Native Token"); return tokenInfoList; } } diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/SpaceId.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/SpaceId.sol index 61b6b7c7c3..6a10703f9d 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/SpaceId.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/SpaceId.sol @@ -42,11 +42,13 @@ library SpaceId { TokenInfo[] memory tokenInfoList = new TokenInfo[](2); tokenInfoList[0] = TokenInfo( Web3Networks.Ethereum, - "0x2dff88a56767223a5529ea5960da7a3f5f766406" + "0x2dff88a56767223a5529ea5960da7a3f5f766406", + DataProviderTypes.NoderealClient ); tokenInfoList[1] = TokenInfo( Web3Networks.Bsc, - "0x2dff88a56767223a5529ea5960da7a3f5f766406" + "0x2dff88a56767223a5529ea5960da7a3f5f766406", + DataProviderTypes.NoderealClient ); return tokenInfoList; } diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Ton.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Ton.sol index 4b98effaab..71f52534ac 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Ton.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Ton.sol @@ -42,11 +42,13 @@ library Ton { TokenInfo[] memory tokenInfoList = new TokenInfo[](2); tokenInfoList[0] = TokenInfo( Web3Networks.Ethereum, - "0x582d872a1b094fc48f5de31d3b73f2d9be47def1" + "0x582d872a1b094fc48f5de31d3b73f2d9be47def1", + DataProviderTypes.NoderealClient ); tokenInfoList[1] = TokenInfo( Web3Networks.Bsc, - "0x76a797a59ba2c17726896976b7b3747bfd1d220f" + "0x76a797a59ba2c17726896976b7b3747bfd1d220f", + DataProviderTypes.NoderealClient ); return tokenInfoList; } diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Trx.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Trx.sol index 53e97dabe0..cfb7255111 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Trx.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Trx.sol @@ -42,11 +42,13 @@ library Trx { TokenInfo[] memory tokenInfoList = new TokenInfo[](2); tokenInfoList[0] = TokenInfo( Web3Networks.Ethereum, - "0x50327c6c5a14dcade707abad2e27eb517df87ab5" + "0x50327c6c5a14dcade707abad2e27eb517df87ab5", + DataProviderTypes.NoderealClient ); tokenInfoList[1] = TokenInfo( Web3Networks.Bsc, - "0xCE7de646e7208a4Ef112cb6ed5038FA6cC6b12e3" + "0xCE7de646e7208a4Ef112cb6ed5038FA6cC6b12e3", + DataProviderTypes.NoderealClient ); return tokenInfoList; } diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Tusd.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Tusd.sol index b439da5001..81243893b1 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Tusd.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Tusd.sol @@ -42,11 +42,13 @@ library Tusd { TokenInfo[] memory tokenInfoList = new TokenInfo[](2); tokenInfoList[0] = TokenInfo( Web3Networks.Ethereum, - "0x0000000000085d4780b73119b644ae5ecd22b376" + "0x0000000000085d4780b73119b644ae5ecd22b376", + DataProviderTypes.NoderealClient ); tokenInfoList[1] = TokenInfo( Web3Networks.Bsc, - "0x40af3827F39D0EAcBF4A168f8D4ee67c121D11c9" + "0x40af3827F39D0EAcBF4A168f8D4ee67c121D11c9", + DataProviderTypes.NoderealClient ); return tokenInfoList; diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Uni.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Uni.sol index 3dd612746b..b886d8b782 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Uni.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Uni.sol @@ -41,15 +41,18 @@ library Uni { TokenInfo[] memory tokenInfoList = new TokenInfo[](3); tokenInfoList[0] = TokenInfo( Web3Networks.Ethereum, - "0x1f9840a85d5af5bf1d1762f925bdaddc4201f984" + "0x1f9840a85d5af5bf1d1762f925bdaddc4201f984", + DataProviderTypes.NoderealClient ); tokenInfoList[1] = TokenInfo( Web3Networks.Bsc, - "0xbf5140a22578168fd562dccf235e5d43a02ce9b1" + "0xbf5140a22578168fd562dccf235e5d43a02ce9b1", + DataProviderTypes.NoderealClient ); tokenInfoList[2] = TokenInfo( Web3Networks.Solana, - "8FU95xFJhUUkyyCLU13HSzDLs7oC4QZdXQHL6SCeab36" + "8FU95xFJhUUkyyCLU13HSzDLs7oC4QZdXQHL6SCeab36", + DataProviderTypes.NoderealClient ); return tokenInfoList; diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Usdc.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Usdc.sol index a74f219901..27156a80c0 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Usdc.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Usdc.sol @@ -25,15 +25,18 @@ library Usdc { TokenInfo[] memory tokenInfoList = new TokenInfo[](3); tokenInfoList[0] = TokenInfo( Web3Networks.Ethereum, - "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48" + "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48", + DataProviderTypes.NoderealClient ); tokenInfoList[1] = TokenInfo( Web3Networks.Bsc, - "0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d" + "0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d", + DataProviderTypes.NoderealClient ); tokenInfoList[2] = TokenInfo( Web3Networks.Solana, - "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v" + "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v", + DataProviderTypes.NoderealClient ); return tokenInfoList; diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Usdd.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Usdd.sol index 142d8750f0..a1fe86e3cc 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Usdd.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Usdd.sol @@ -42,11 +42,13 @@ library Usdd { TokenInfo[] memory tokenInfoList = new TokenInfo[](2); tokenInfoList[0] = TokenInfo( Web3Networks.Ethereum, - "0x0c10bf8fcb7bf5412187a595ab97a3609160b5c6" + "0x0c10bf8fcb7bf5412187a595ab97a3609160b5c6", + DataProviderTypes.NoderealClient ); tokenInfoList[1] = TokenInfo( Web3Networks.Bsc, - "0xd17479997f34dd9156deef8f95a52d81d265be9c" + "0xd17479997f34dd9156deef8f95a52d81d265be9c", + DataProviderTypes.NoderealClient ); return tokenInfoList; diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Usdt.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Usdt.sol index 9177d69361..e303487879 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Usdt.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Usdt.sol @@ -42,11 +42,13 @@ library Usdt { TokenInfo[] memory tokenInfoList = new TokenInfo[](2); tokenInfoList[0] = TokenInfo( Web3Networks.Ethereum, - "0xdac17f958d2ee523a2206206994597c13d831ec7" + "0xdac17f958d2ee523a2206206994597c13d831ec7", + DataProviderTypes.NoderealClient ); tokenInfoList[1] = TokenInfo( Web3Networks.Bsc, - "0x55d398326f99059ff775485246999027b3197955" + "0x55d398326f99059ff775485246999027b3197955", + DataProviderTypes.NoderealClient ); return tokenInfoList; diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Wbtc.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Wbtc.sol index 6c29f3ff4c..7685cf98a8 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Wbtc.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Wbtc.sol @@ -48,7 +48,8 @@ library Wbtc { TokenInfo[] memory tokenInfoList = new TokenInfo[](1); tokenInfoList[0] = TokenInfo( Web3Networks.Ethereum, - "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599" + "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599", + DataProviderTypes.NoderealClient ); return tokenInfoList; From 54f9f63e724126e7f82983669fe919e9acded183 Mon Sep 17 00:00:00 2001 From: Verin1005 Date: Mon, 22 Jul 2024 19:00:55 +0800 Subject: [PATCH 02/14] adding getTokenBalance --- .../BlockchainInfoClient.sol | 70 ++++++++++++------- .../token_holding_amount/MoralisClient.sol | 53 +++++++++++++- 2 files changed, 98 insertions(+), 25 deletions(-) diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/BlockchainInfoClient.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/BlockchainInfoClient.sol index 17a27c546f..9065f5ab5b 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/BlockchainInfoClient.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/BlockchainInfoClient.sol @@ -20,30 +20,52 @@ pragma solidity ^0.8.8; import "../libraries/Http.sol"; import "../libraries/Utils.sol"; +import "../libraries/Identities.sol"; library BlockchainInfoClient { - function getMultiAddress(string memory url, string[] memory accounts) - internal - returns (bool, int64) - { - string memory activeQueryParam = ""; - - for (uint256 i = 0; i < accounts.length; i++) { - activeQueryParam = string( - abi.encodePacked(activeQueryParam, accounts[i]) - ); - if (i != accounts.length - 1) { - activeQueryParam = string( - abi.encodePacked(activeQueryParam, "|") - ); - } - } - - url = string( - abi.encodePacked(url, "?active=", activeQueryParam, "&n=", "0") - ); - - HttpHeader[] memory headers = new HttpHeader[](0); - return Http.GetI64(url, "/wallet/final_balance", headers); - } + function getMultiAddress( + string[] memory accounts + ) internal returns (bool, int64) { + string memory url = "https://blockchain.info/multiaddr"; + string memory activeQueryParam = ""; + + for (uint256 i = 0; i < accounts.length; i++) { + activeQueryParam = string( + abi.encodePacked(activeQueryParam, accounts[i]) + ); + if (i != accounts.length - 1) { + activeQueryParam = string( + abi.encodePacked(activeQueryParam, "|") + ); + } + } + + url = string( + abi.encodePacked(url, "?active=", activeQueryParam, "&n=", "0") + ); + + HttpHeader[] memory headers = new HttpHeader[](0); + return Http.GetI64(url, "/wallet/final_balance", headers); + } + + function isSupportedNetwork(uint32 network) internal pure returns (bool) { + return + network == Web3Networks.BitcoinP2tr || + network == Web3Networks.BitcoinP2pkh || + network == Web3Networks.BitcoinP2sh || + network == Web3Networks.BitcoinP2wpkh || + network == Web3Networks.BitcoinP2wsh; + } + + function getTokenBalance( + string[] memory accounts + ) internal returns (uint256) { + (bool balanceSuccess, int64 balance) = BlockchainInfoClient + .getMultiAddress(accounts); + if (balanceSuccess) { + return uint256(uint64(balance)); + } else { + return 0; + } + } } diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/MoralisClient.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/MoralisClient.sol index 58add95490..4c49d3c5ba 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/MoralisClient.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/MoralisClient.sol @@ -22,7 +22,7 @@ import "../libraries/Http.sol"; import "../libraries/Json.sol"; import "../openzeppelin/Strings.sol"; import "../libraries/Identities.sol"; - +import "../libraries/Utils.sol"; struct SolanaTokenBalance { string mint; string amount; @@ -220,4 +220,55 @@ library MoralisClient { url = "https://deep-index.moralis.io/api/v2.2"; } } + + function getTokenBalance( + uint32 network, + string memory apiKey, + string memory account, + string memory tokenContractAddress, + uint8 tokenDecimals + ) internal returns (uint256) { + if (Strings.equal(tokenContractAddress, "Native Token")) { + (bool success, string memory solanaTokenBalance) = MoralisClient + .getSolanaNativeBalance(network, apiKey, account); + + if (success) { + (bool parsedStatus, uint256 parsedAmount) = Utils.parseDecimal( + solanaTokenBalance, + tokenDecimals + ); + if (parsedStatus) { + return parsedAmount; + } + return 0; + } + } else { + ( + bool success, + SolanaTokenBalance[] memory solanaTokenBalance + ) = MoralisClient.getSolanaTokensBalance(network, apiKey, account); + + if (success) { + for (uint i = 0; i < solanaTokenBalance.length; i++) { + if ( + Strings.equal( + solanaTokenBalance[i].mint, + tokenContractAddress + ) + ) { + (bool parsedStatus, uint256 parsedAmount) = Utils + .parseDecimal( + solanaTokenBalance[i].amount, + tokenDecimals + ); + if (parsedStatus) { + return parsedAmount; + } + return 0; + } + } + } + } + return 0; + } } From e3b4408efe5b6ed3d5a8fb052b864a451af3e407 Mon Sep 17 00:00:00 2001 From: Verin1005 Date: Mon, 22 Jul 2024 19:01:16 +0800 Subject: [PATCH 03/14] adding btc mapping --- .../contracts/token_holding_amount/Btc.sol | 57 +++++++++++++++++++ .../token_holding_amount/TokenMapping.sol | 9 +++ 2 files changed, 66 insertions(+) create mode 100644 tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/Btc.sol diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/Btc.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/Btc.sol new file mode 100644 index 0000000000..09acdb5105 --- /dev/null +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/Btc.sol @@ -0,0 +1,57 @@ +// Copyright 2020-2024 Trust Computing GmbH. +// This file is part of Litentry. +// +// Litentry is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// Litentry is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with Litentry. If not, see . + +// SPDX-License-Identifier: GPL-3.0-or-later + +pragma solidity ^0.8.8; +import "./Constants.sol"; +import { BRC20 } from "./brc20/BRC20.sol"; +library Btc { + function getTokenRanges() internal pure returns (uint256[] memory) { + // [0.0, 0.001, 0.1, 0.3, 0.6, 1.0, 2.0, 5.0, 10.0, 15.0, 25.0, 30.0, 40.0, 50.0]; + // all ranges multiplied by decimals_factor(1000). + uint256[] memory ranges = new uint256[](14); + ranges[0] = 0; + ranges[1] = 1; + ranges[2] = 100; + ranges[3] = 300; + ranges[4] = 600; + ranges[5] = 1000; + ranges[6] = 2000; + ranges[7] = 5000; + ranges[8] = 10000; + ranges[9] = 15000; + ranges[10] = 25000; + ranges[11] = 30000; + ranges[12] = 40000; + ranges[12] = 50000; + return ranges; + } + + function getTokenInfo() internal pure returns (TokenInfo[] memory) { + uint32[] memory networks = BRC20.getDefaultTokenNetworks(); + TokenInfo[] memory tokenInfoList = new TokenInfo[](networks.length); + for (uint i = 0; i < networks.length; i++) { + tokenInfoList[i] = TokenInfo( + networks[i], + "", + DataProviderTypes.BlockchainInfoClient + ); + } + + return tokenInfoList; + } +} diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/TokenMapping.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/TokenMapping.sol index d5b2251d48..b615e33709 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/TokenMapping.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/TokenMapping.sol @@ -71,6 +71,9 @@ import { Usdt } from "./erc20/Usdt.sol"; import { Wbtc } from "./erc20//Wbtc.sol"; import { Cvx } from "./erc20/Cvx.sol"; import { Usdd } from "./erc20/Usdd.sol"; + +// btc +import { Btc } from "./Btc.sol"; contract TokenMapping is TokenQueryLogic { constructor() { // btcs @@ -115,6 +118,12 @@ contract TokenMapping is TokenQueryLogic { tokenInfo["sats"].push(BRC20.getBrc20TokenInfo()[i]); } + // Btc + tokenRanges["btc"] = Btc.getTokenRanges(); + for (uint8 i = 0; i < Btc.getTokenInfo().length; i++) { + tokenInfo["btc"].push(Btc.getTokenInfo()[i]); + } + // ada tokenRanges["ada"] = Ada.getTokenRanges(); for (uint8 i = 0; i < Ada.getTokenInfo().length; i++) { From 57008dfab76978459ada114dd52698d8ba4a5196 Mon Sep 17 00:00:00 2001 From: Verin1005 Date: Mon, 22 Jul 2024 19:01:26 +0800 Subject: [PATCH 04/14] refactoring TokenQueryLogic --- .../token_holding_amount/TokenQueryLogic.sol | 107 +++++++----------- 1 file changed, 44 insertions(+), 63 deletions(-) diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/TokenQueryLogic.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/TokenQueryLogic.sol index 0db17c665c..96eed5ca91 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/TokenQueryLogic.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/TokenQueryLogic.sol @@ -23,9 +23,11 @@ import "../libraries/Utils.sol"; import { TokenHoldingAmount } from "./TokenHoldingAmount.sol"; import { NoderealClient } from "./NoderealClient.sol"; import { GeniidataClient } from "./GeniidataClient.sol"; +import { BlockchainInfoClient } from "./BlockchainInfoClient.sol"; import "./MoralisClient.sol"; import "../openzeppelin/Strings.sol"; import "./Constants.sol"; +import "hardhat/console.sol"; abstract contract TokenQueryLogic is TokenHoldingAmount { mapping(string => TokenInfo[]) internal tokenInfo; @@ -47,12 +49,15 @@ abstract contract TokenQueryLogic is TokenHoldingAmount { if (identityToStringSuccess) { uint256 totalBalance = 0; - string memory tokenContractAddress = getTokenAddress( - tokenName, - network - ); + ( + string memory tokenContractAddress, + uint8 dataproviderType + ) = getTokenInfo(tokenName, network); - if (GeniidataClient.isSupportedNetwork(network)) { + if ( + dataproviderType == DataProviderTypes.GeniidataClient && + GeniidataClient.isSupportedNetwork(network) + ) { uint256 balance = GeniidataClient.getTokenBalance( secrets[0], identityString, @@ -60,7 +65,10 @@ abstract contract TokenQueryLogic is TokenHoldingAmount { getTokenDecimals() ); totalBalance += balance; - } else if (NoderealClient.isSupportedNetwork(network)) { + } else if ( + dataproviderType == DataProviderTypes.NoderealClient && + NoderealClient.isSupportedNetwork(network) + ) { (bool success, uint256 balance) = NoderealClient .getTokenBalance( network, @@ -71,59 +79,28 @@ abstract contract TokenQueryLogic is TokenHoldingAmount { if (success) { totalBalance += balance; } - } else if (MoralisClient.isSupportedNetwork(network)) { - if (Strings.equal(tokenContractAddress, "Native Token")) { - ( - bool success, - string memory solanaTokenBalance - ) = MoralisClient.getSolanaNativeBalance( - network, - secrets[2], - identityString - ); - - if (success) { - (bool parsedStatus, uint256 parsedAmount) = Utils - .parseDecimal( - solanaTokenBalance, - getTokenDecimals() - ); - if (parsedStatus) { - totalBalance += parsedAmount; - } - } - } else { - ( - bool success, - SolanaTokenBalance[] memory solanaTokenBalance - ) = MoralisClient.getSolanaTokensBalance( - network, - secrets[2], - identityString - ); - - if (success) { - for (uint i = 0; i < solanaTokenBalance.length; i++) { - if ( - Strings.equal( - solanaTokenBalance[i].mint, - tokenContractAddress - ) - ) { - ( - bool parsedStatus, - uint256 parsedAmount - ) = Utils.parseDecimal( - solanaTokenBalance[i].amount, - getTokenDecimals() - ); - if (parsedStatus) { - totalBalance += parsedAmount; - } - } - } - } - } + } else if ( + dataproviderType == DataProviderTypes.MoralisClient && + MoralisClient.isSupportedNetwork(network) + ) { + uint256 balance = MoralisClient.getTokenBalance( + network, + secrets[2], + identityString, + tokenContractAddress, + getTokenDecimals() + ); + totalBalance += balance; + } else if ( + dataproviderType == DataProviderTypes.BlockchainInfoClient && + BlockchainInfoClient.isSupportedNetwork(network) + ) { + string[] memory accounts = new string[](1); + accounts[0] = identityString; + uint256 balance = BlockchainInfoClient.getTokenBalance( + accounts + ); + totalBalance += balance; } return totalBalance; } @@ -143,15 +120,19 @@ abstract contract TokenQueryLogic is TokenHoldingAmount { return false; } - function getTokenAddress( + function getTokenInfo( string memory tokenName, uint32 network - ) internal view returns (string memory) { + ) internal view returns (string memory, uint8) { + string memory tokenAddress; + uint8 dataProviderType; for (uint i = 0; i < tokenInfo[tokenName].length; i++) { if (tokenInfo[tokenName][i].network == network) { - return tokenInfo[tokenName][i].tokenAddress; + tokenAddress = tokenInfo[tokenName][i].tokenAddress; + dataProviderType = tokenInfo[tokenName][i].dataprovierType; + return (tokenAddress, dataProviderType); } } - revert("Token address not found for the specified network"); + revert("TokenInfo not found"); } } From 5956b80dde0e298e54e163defbd3c0e6946a9e42 Mon Sep 17 00:00:00 2001 From: Verin1005 Date: Mon, 22 Jul 2024 20:54:13 +0800 Subject: [PATCH 05/14] removing hardhat/console.sol --- .../dynamic/contracts/token_holding_amount/TokenQueryLogic.sol | 1 - 1 file changed, 1 deletion(-) diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/TokenQueryLogic.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/TokenQueryLogic.sol index 96eed5ca91..76c0b2db85 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/TokenQueryLogic.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/TokenQueryLogic.sol @@ -27,7 +27,6 @@ import { BlockchainInfoClient } from "./BlockchainInfoClient.sol"; import "./MoralisClient.sol"; import "../openzeppelin/Strings.sol"; import "./Constants.sol"; -import "hardhat/console.sol"; abstract contract TokenQueryLogic is TokenHoldingAmount { mapping(string => TokenInfo[]) internal tokenInfo; From 018da5965fcf7485acf9632e9247f86e5fb6fb99 Mon Sep 17 00:00:00 2001 From: Verin1005 Date: Fri, 26 Jul 2024 14:11:41 +0800 Subject: [PATCH 06/14] merge dev --- tee-worker/litentry/core/assertion-build/src/dynamic/v20.14.0 | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 tee-worker/litentry/core/assertion-build/src/dynamic/v20.14.0 diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/v20.14.0 b/tee-worker/litentry/core/assertion-build/src/dynamic/v20.14.0 new file mode 100644 index 0000000000..3dd2198076 --- /dev/null +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/v20.14.0 @@ -0,0 +1,2 @@ +Downloading and installing node v20.16.0... +Now using node v20.16.0 (npm v10.8.1) From 2a567b3a85d7edaab8858fe7a0c3637a7acbc19a Mon Sep 17 00:00:00 2001 From: Verin1005 Date: Mon, 29 Jul 2024 21:07:09 +0800 Subject: [PATCH 07/14] add decimals --- .../contracts/token_holding_amount/Btc.sol | 65 ++++---- .../token_holding_amount/Constants.sol | 19 +-- .../token_holding_amount/TokenQueryLogic.sol | 153 +++++++++--------- .../token_holding_amount/brc20/BRC20.sol | 39 ++--- .../token_holding_amount/erc20/Ada.sol | 23 +-- .../token_holding_amount/erc20/Amp.sol | 19 +-- .../token_holding_amount/erc20/Atom.sol | 30 ++-- .../token_holding_amount/erc20/Bch.sol | 25 +-- .../token_holding_amount/erc20/Bean.sol | 34 ++-- .../token_holding_amount/erc20/Bnb.sol | 30 ++-- .../token_holding_amount/erc20/Comp.sol | 15 +- .../token_holding_amount/erc20/Cro.sol | 30 ++-- .../token_holding_amount/erc20/Crv.sol | 15 +- .../token_holding_amount/erc20/Cvx.sol | 15 +- .../token_holding_amount/erc20/Dai.sol | 37 +++-- .../token_holding_amount/erc20/Doge.sol | 19 +-- .../token_holding_amount/erc20/Dydx.sol | 15 +- .../token_holding_amount/erc20/Etc.sol | 19 +-- .../token_holding_amount/erc20/Eth.sol | 26 +-- .../token_holding_amount/erc20/Fil.sol | 15 +- .../token_holding_amount/erc20/Grt.sol | 26 +-- .../token_holding_amount/erc20/Gtc.sol | 15 +- .../token_holding_amount/erc20/Gusd.sol | 15 +- .../token_holding_amount/erc20/Imx.sol | 15 +- .../token_holding_amount/erc20/Inj.sol | 15 +- .../token_holding_amount/erc20/Leo.sol | 19 +-- .../token_holding_amount/erc20/Link.sol | 30 ++-- .../token_holding_amount/erc20/Lit.sol | 26 +-- .../token_holding_amount/erc20/Matic.sol | 26 +-- .../token_holding_amount/erc20/Mcrt.sol | 41 ++--- .../token_holding_amount/erc20/Nfp.sol | 15 +- .../token_holding_amount/erc20/People.sol | 15 +- .../token_holding_amount/erc20/Shib.sol | 19 +-- .../token_holding_amount/erc20/Sol.sol | 41 ++--- .../token_holding_amount/erc20/SpaceId.sol | 30 ++-- .../token_holding_amount/erc20/Ton.sol | 30 ++-- .../token_holding_amount/erc20/Trx.sol | 30 ++-- .../token_holding_amount/erc20/Tusd.sol | 26 +-- .../token_holding_amount/erc20/Uni.sol | 37 +++-- .../token_holding_amount/erc20/Usdc.sol | 37 +++-- .../token_holding_amount/erc20/Usdd.sol | 26 +-- .../token_holding_amount/erc20/Usdt.sol | 26 +-- .../token_holding_amount/erc20/Wbtc.sol | 15 +- 43 files changed, 645 insertions(+), 573 deletions(-) diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/Btc.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/Btc.sol index 09acdb5105..10325c605c 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/Btc.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/Btc.sol @@ -20,38 +20,39 @@ pragma solidity ^0.8.8; import "./Constants.sol"; import { BRC20 } from "./brc20/BRC20.sol"; library Btc { - function getTokenRanges() internal pure returns (uint256[] memory) { - // [0.0, 0.001, 0.1, 0.3, 0.6, 1.0, 2.0, 5.0, 10.0, 15.0, 25.0, 30.0, 40.0, 50.0]; - // all ranges multiplied by decimals_factor(1000). - uint256[] memory ranges = new uint256[](14); - ranges[0] = 0; - ranges[1] = 1; - ranges[2] = 100; - ranges[3] = 300; - ranges[4] = 600; - ranges[5] = 1000; - ranges[6] = 2000; - ranges[7] = 5000; - ranges[8] = 10000; - ranges[9] = 15000; - ranges[10] = 25000; - ranges[11] = 30000; - ranges[12] = 40000; - ranges[12] = 50000; - return ranges; - } + function getTokenRanges() internal pure returns (uint256[] memory) { + // [0.0, 0.001, 0.1, 0.3, 0.6, 1.0, 2.0, 5.0, 10.0, 15.0, 25.0, 30.0, 40.0, 50.0]; + // all ranges multiplied by decimals_factor(1000). + uint256[] memory ranges = new uint256[](14); + ranges[0] = 0; + ranges[1] = 1; + ranges[2] = 100; + ranges[3] = 300; + ranges[4] = 600; + ranges[5] = 1000; + ranges[6] = 2000; + ranges[7] = 5000; + ranges[8] = 10000; + ranges[9] = 15000; + ranges[10] = 25000; + ranges[11] = 30000; + ranges[12] = 40000; + ranges[13] = 50000; + return ranges; + } - function getTokenInfo() internal pure returns (TokenInfo[] memory) { - uint32[] memory networks = BRC20.getDefaultTokenNetworks(); - TokenInfo[] memory tokenInfoList = new TokenInfo[](networks.length); - for (uint i = 0; i < networks.length; i++) { - tokenInfoList[i] = TokenInfo( - networks[i], - "", - DataProviderTypes.BlockchainInfoClient - ); - } + function getTokenInfo() internal pure returns (TokenInfo[] memory) { + uint32[] memory networks = BRC20.getDefaultTokenNetworks(); + TokenInfo[] memory tokenInfoList = new TokenInfo[](networks.length); + for (uint i = 0; i < networks.length; i++) { + tokenInfoList[i] = TokenInfo( + networks[i], + "", + DataProviderTypes.BlockchainInfoClient, + 8 + ); + } - return tokenInfoList; - } + return tokenInfoList; + } } diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/Constants.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/Constants.sol index e75251b915..bd8164a1ac 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/Constants.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/Constants.sol @@ -19,19 +19,20 @@ pragma solidity ^0.8.8; struct TokenInfo { - uint32 network; - string tokenAddress; - uint8 dataprovierType; + uint32 network; + string tokenAddress; + uint8 dataprovierType; + uint8 decimals; } library Constants { - uint256 constant decimals_factor = 1000; + uint256 constant decimals_factor = 1000; } library DataProviderTypes { - uint8 public constant AchainableClient = 0; - uint8 public constant BlockchainInfoClient = 1; - uint8 public constant GeniidataClient = 2; - uint8 public constant MoralisClient = 3; - uint8 public constant NoderealClient = 4; + uint8 public constant AchainableClient = 0; + uint8 public constant BlockchainInfoClient = 1; + uint8 public constant GeniidataClient = 2; + uint8 public constant MoralisClient = 3; + uint8 public constant NoderealClient = 4; } diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/TokenQueryLogic.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/TokenQueryLogic.sol index 1fe40a8f6b..5c3a446ca2 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/TokenQueryLogic.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/TokenQueryLogic.sol @@ -30,10 +30,10 @@ import "./Constants.sol"; abstract contract TokenQueryLogic is TokenHoldingAmount { mapping(string => TokenInfo[]) internal tokenInfo; + uint8 tokenDecimals; - // TODO fix it for erc20 token, same token for different networks has different decimals. - function getTokenDecimals() internal pure override returns (uint8) { - return 18; + function getTokenDecimals() internal view override returns (uint8) { + return tokenDecimals; } function queryBalance( @@ -48,63 +48,66 @@ abstract contract TokenQueryLogic is TokenHoldingAmount { if (identityToStringSuccess) { uint256 totalBalance = 0; - ( - string memory tokenContractAddress, - uint8 dataproviderType - ) = getTokenInfo(tokenName, network); + ( + string memory tokenContractAddress, + uint8 dataproviderType, + uint8 decimals + ) = getTokenInfo(tokenName, network); + tokenDecimals = decimals; - if ( - dataproviderType == DataProviderTypes.GeniidataClient && - GeniidataClient.isSupportedNetwork(network) - ) { - uint256 balance = GeniidataClient.getTokenBalance( - secrets[0], - identityString, - tokenName, - getTokenDecimals() - ); - totalBalance += balance; - } else if ( - dataproviderType == DataProviderTypes.NoderealClient && - NoderealClient.isSupportedNetwork(network) - ) { - (bool success, uint256 balance) = NoderealClient - .getTokenBalance( - network, - secrets[1], - tokenContractAddress, - identityString - ); - if (success) { - totalBalance += balance; - } - } else if ( - dataproviderType == DataProviderTypes.MoralisClient && - MoralisClient.isSupportedNetwork(network) - ) { - uint256 balance = MoralisClient.getTokenBalance( - network, - secrets[2], - identityString, - tokenContractAddress, - getTokenDecimals() - ); - totalBalance += balance; - } else if ( - dataproviderType == DataProviderTypes.BlockchainInfoClient && - BlockchainInfoClient.isSupportedNetwork(network) - ) { - string[] memory accounts = new string[](1); - accounts[0] = identityString; - uint256 balance = BlockchainInfoClient.getTokenBalance( - accounts - ); - totalBalance += balance; - } - return totalBalance; - } - return 0; - } + if ( + dataproviderType == DataProviderTypes.GeniidataClient && + GeniidataClient.isSupportedNetwork(network) + ) { + uint256 balance = GeniidataClient.getTokenBalance( + secrets[0], + identityString, + tokenName, + getTokenDecimals() + ); + + totalBalance += balance; + } else if ( + dataproviderType == DataProviderTypes.NoderealClient && + NoderealClient.isSupportedNetwork(network) + ) { + (bool success, uint256 balance) = NoderealClient + .getTokenBalance( + network, + secrets[1], + tokenContractAddress, + identityString + ); + if (success) { + totalBalance += balance; + } + } else if ( + dataproviderType == DataProviderTypes.MoralisClient && + MoralisClient.isSupportedNetwork(network) + ) { + uint256 balance = MoralisClient.getTokenBalance( + network, + secrets[2], + identityString, + tokenContractAddress, + getTokenDecimals() + ); + totalBalance += balance; + } else if ( + dataproviderType == DataProviderTypes.BlockchainInfoClient && + BlockchainInfoClient.isSupportedNetwork(network) + ) { + string[] memory accounts = new string[](1); + accounts[0] = identityString; + uint256 balance = BlockchainInfoClient.getTokenBalance( + accounts + ); + totalBalance += balance; + } + return totalBalance; + } + return 0; + } function isSupportedNetwork( string memory tokenName, @@ -119,19 +122,21 @@ abstract contract TokenQueryLogic is TokenHoldingAmount { return false; } - function getTokenInfo( - string memory tokenName, - uint32 network - ) internal view returns (string memory, uint8) { - string memory tokenAddress; - uint8 dataProviderType; - for (uint i = 0; i < tokenInfo[tokenName].length; i++) { - if (tokenInfo[tokenName][i].network == network) { - tokenAddress = tokenInfo[tokenName][i].tokenAddress; - dataProviderType = tokenInfo[tokenName][i].dataprovierType; - return (tokenAddress, dataProviderType); - } - } - revert("TokenInfo not found"); - } + function getTokenInfo( + string memory tokenName, + uint32 network + ) internal view returns (string memory, uint8, uint8) { + string memory tokenAddress; + uint8 dataProviderType; + uint8 decimals; + for (uint i = 0; i < tokenInfo[tokenName].length; i++) { + if (tokenInfo[tokenName][i].network == network) { + tokenAddress = tokenInfo[tokenName][i].tokenAddress; + dataProviderType = tokenInfo[tokenName][i].dataprovierType; + decimals = tokenInfo[tokenName][i].decimals; + return (tokenAddress, dataProviderType, decimals); + } + } + revert("TokenInfo not found"); + } } diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/brc20/BRC20.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/brc20/BRC20.sol index 0a100101e1..9d9515539b 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/brc20/BRC20.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/brc20/BRC20.sol @@ -22,25 +22,26 @@ import "../Constants.sol"; import "../../libraries/Identities.sol"; library BRC20 { - function getDefaultTokenNetworks() internal pure returns (uint32[] memory) { - uint32[] memory networks = new uint32[](5); - networks[0] = Web3Networks.BitcoinP2tr; - networks[1] = Web3Networks.BitcoinP2pkh; - networks[2] = Web3Networks.BitcoinP2sh; - networks[3] = Web3Networks.BitcoinP2wpkh; - networks[4] = Web3Networks.BitcoinP2wsh; - return networks; - } - function getBrc20TokenInfo() internal pure returns (TokenInfo[] memory) { - uint32[] memory networks = BRC20.getDefaultTokenNetworks(); - TokenInfo[] memory tokenInfoList = new TokenInfo[](networks.length); - for (uint i = 0; i < networks.length; i++) { - tokenInfoList[i] = TokenInfo( - networks[i], - "", - DataProviderTypes.GeniidataClient - ); - } + function getDefaultTokenNetworks() internal pure returns (uint32[] memory) { + uint32[] memory networks = new uint32[](5); + networks[0] = Web3Networks.BitcoinP2tr; + networks[1] = Web3Networks.BitcoinP2pkh; + networks[2] = Web3Networks.BitcoinP2sh; + networks[3] = Web3Networks.BitcoinP2wpkh; + networks[4] = Web3Networks.BitcoinP2wsh; + return networks; + } + function getBrc20TokenInfo() internal pure returns (TokenInfo[] memory) { + uint32[] memory networks = BRC20.getDefaultTokenNetworks(); + TokenInfo[] memory tokenInfoList = new TokenInfo[](networks.length); + for (uint i = 0; i < networks.length; i++) { + tokenInfoList[i] = TokenInfo( + networks[i], + "", + DataProviderTypes.GeniidataClient, + 18 + ); + } return tokenInfoList; } diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Ada.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Ada.sol index 26e7918e31..227b9b9408 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Ada.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Ada.sol @@ -31,15 +31,16 @@ library Ada { ranges[5] = 100000 * Constants.decimals_factor; ranges[6] = 300000 * Constants.decimals_factor; - return ranges; - } - function getTokenInfo() internal pure returns (TokenInfo[] memory) { - TokenInfo[] memory tokenInfoList = new TokenInfo[](1); - tokenInfoList[0] = TokenInfo( - Web3Networks.Bsc, - "0x3EE2200Efb3400fAbB9AacF31297cBdD1d435D47", - DataProviderTypes.NoderealClient - ); - return tokenInfoList; - } + return ranges; + } + function getTokenInfo() internal pure returns (TokenInfo[] memory) { + TokenInfo[] memory tokenInfoList = new TokenInfo[](1); + tokenInfoList[0] = TokenInfo( + Web3Networks.Bsc, + "0x3EE2200Efb3400fAbB9AacF31297cBdD1d435D47", + DataProviderTypes.NoderealClient, + 18 + ); + return tokenInfoList; + } } diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Amp.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Amp.sol index 6a0f57df15..86e8604d24 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Amp.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Amp.sol @@ -37,13 +37,14 @@ library Amp { return ranges; } - function getTokenInfo() internal pure returns (TokenInfo[] memory) { - TokenInfo[] memory tokenInfoList = new TokenInfo[](1); - tokenInfoList[0] = TokenInfo( - Web3Networks.Ethereum, - "0xff20817765cb7f73d4bde2e66e067e58d11095c2", - DataProviderTypes.NoderealClient - ); - return tokenInfoList; - } + function getTokenInfo() internal pure returns (TokenInfo[] memory) { + TokenInfo[] memory tokenInfoList = new TokenInfo[](1); + tokenInfoList[0] = TokenInfo( + Web3Networks.Ethereum, + "0xff20817765cb7f73d4bde2e66e067e58d11095c2", + DataProviderTypes.NoderealClient, + 18 + ); + return tokenInfoList; + } } diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Atom.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Atom.sol index 17e7cd53b1..83d48d01e6 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Atom.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Atom.sol @@ -34,18 +34,20 @@ library Atom { return ranges; } - function getTokenInfo() internal pure returns (TokenInfo[] memory) { - TokenInfo[] memory tokenInfoList = new TokenInfo[](2); - tokenInfoList[0] = TokenInfo( - Web3Networks.Ethereum, - "0x8D983cb9388EaC77af0474fA441C4815500Cb7BB", - DataProviderTypes.NoderealClient - ); - tokenInfoList[1] = TokenInfo( - Web3Networks.Bsc, - "0x0eb3a705fc54725037cc9e008bdede697f62f335", - DataProviderTypes.NoderealClient - ); - return tokenInfoList; - } + function getTokenInfo() internal pure returns (TokenInfo[] memory) { + TokenInfo[] memory tokenInfoList = new TokenInfo[](2); + tokenInfoList[0] = TokenInfo( + Web3Networks.Ethereum, + "0x8D983cb9388EaC77af0474fA441C4815500Cb7BB", + DataProviderTypes.NoderealClient, + 18 + ); + tokenInfoList[1] = TokenInfo( + Web3Networks.Bsc, + "0x0eb3a705fc54725037cc9e008bdede697f62f335", + DataProviderTypes.NoderealClient, + 18 + ); + return tokenInfoList; + } } diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Bch.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Bch.sol index eafbcd2274..daf90ca88e 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Bch.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Bch.sol @@ -35,16 +35,17 @@ library Bch { ranges[4] = 6000; ranges[5] = 12000; - return ranges; - } - - function getTokenInfo() internal pure returns (TokenInfo[] memory) { - TokenInfo[] memory tokenInfoList = new TokenInfo[](1); - tokenInfoList[0] = TokenInfo( - Web3Networks.Bsc, - "0x8fF795a6F4D97E7887C79beA79aba5cc76444aDf", - DataProviderTypes.NoderealClient - ); - return tokenInfoList; - } + return ranges; + } + + function getTokenInfo() internal pure returns (TokenInfo[] memory) { + TokenInfo[] memory tokenInfoList = new TokenInfo[](1); + tokenInfoList[0] = TokenInfo( + Web3Networks.Bsc, + "0x8fF795a6F4D97E7887C79beA79aba5cc76444aDf", + DataProviderTypes.NoderealClient, + 18 + ); + return tokenInfoList; + } } diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Bean.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Bean.sol index c91fe1d2a5..108a4276a4 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Bean.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Bean.sol @@ -21,8 +21,8 @@ pragma solidity ^0.8.8; import "../../libraries/Identities.sol"; import "../Constants.sol"; struct TokenNetwork { - uint32 id; - string tokenAddress; + uint32 id; + string tokenAddress; } library Bean { function getTokenRanges() internal pure returns (uint256[] memory) { @@ -36,18 +36,20 @@ library Bean { return ranges; } - function getTokenInfo() internal pure returns (TokenInfo[] memory) { - TokenInfo[] memory tokenInfoList = new TokenInfo[](2); - tokenInfoList[0] = TokenInfo( - Web3Networks.Bsc, - "0x07da81e9a684ab87fad7206b3bc8d0866f48cc7c", - DataProviderTypes.NoderealClient - ); - tokenInfoList[1] = TokenInfo( - Web3Networks.Ethereum, - "0xba7b9936a965fac23bb7a8190364fa60622b3cff", - DataProviderTypes.NoderealClient - ); - return tokenInfoList; - } + function getTokenInfo() internal pure returns (TokenInfo[] memory) { + TokenInfo[] memory tokenInfoList = new TokenInfo[](2); + tokenInfoList[0] = TokenInfo( + Web3Networks.Bsc, + "0x07da81e9a684ab87fad7206b3bc8d0866f48cc7c", + DataProviderTypes.NoderealClient, + 18 + ); + tokenInfoList[1] = TokenInfo( + Web3Networks.Ethereum, + "0xba7b9936a965fac23bb7a8190364fa60622b3cff", + DataProviderTypes.NoderealClient, + 18 + ); + return tokenInfoList; + } } diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Bnb.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Bnb.sol index 2a6dbacfe1..cf6977ac21 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Bnb.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Bnb.sol @@ -38,18 +38,20 @@ library Bnb { return ranges; } - function getTokenInfo() internal pure returns (TokenInfo[] memory) { - TokenInfo[] memory tokenInfoList = new TokenInfo[](2); - tokenInfoList[0] = TokenInfo( - Web3Networks.Bsc, - "Native Token", - DataProviderTypes.NoderealClient - ); - tokenInfoList[1] = TokenInfo( - Web3Networks.Ethereum, - "0xb8c77482e45f1f44de1745f52c74426c631bdd52", - DataProviderTypes.NoderealClient - ); - return tokenInfoList; - } + function getTokenInfo() internal pure returns (TokenInfo[] memory) { + TokenInfo[] memory tokenInfoList = new TokenInfo[](2); + tokenInfoList[0] = TokenInfo( + Web3Networks.Bsc, + "Native Token", + DataProviderTypes.NoderealClient, + 18 + ); + tokenInfoList[1] = TokenInfo( + Web3Networks.Ethereum, + "0xb8c77482e45f1f44de1745f52c74426c631bdd52", + DataProviderTypes.NoderealClient, + 18 + ); + return tokenInfoList; + } } diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Comp.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Comp.sol index 5d95133309..2a8f1dbc3c 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Comp.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Comp.sol @@ -38,13 +38,14 @@ library Comp { return ranges; } - function getTokenInfo() internal pure returns (TokenInfo[] memory) { - TokenInfo[] memory tokenInfoList = new TokenInfo[](1); - tokenInfoList[0] = TokenInfo( - Web3Networks.Ethereum, - "0xc00e94cb662c3520282e6f5717214004a7f26888", - DataProviderTypes.NoderealClient - ); + function getTokenInfo() internal pure returns (TokenInfo[] memory) { + TokenInfo[] memory tokenInfoList = new TokenInfo[](1); + tokenInfoList[0] = TokenInfo( + Web3Networks.Ethereum, + "0xc00e94cb662c3520282e6f5717214004a7f26888", + DataProviderTypes.NoderealClient, + 18 + ); return tokenInfoList; } diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Cro.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Cro.sol index 8929eb929f..45a789c950 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Cro.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Cro.sol @@ -35,18 +35,20 @@ library Cro { return ranges; } - function getTokenInfo() internal pure returns (TokenInfo[] memory) { - TokenInfo[] memory tokenInfoList = new TokenInfo[](2); - tokenInfoList[0] = TokenInfo( - Web3Networks.Ethereum, - "0xa0b73e1ff0b80914ab6fe0444e65848c4c34450b", - DataProviderTypes.NoderealClient - ); - tokenInfoList[1] = TokenInfo( - Web3Networks.Solana, - "DvjMYMVeXgKxaixGKpzQThLoG98nc7HSU7eanzsdCboA", - DataProviderTypes.NoderealClient - ); - return tokenInfoList; - } + function getTokenInfo() internal pure returns (TokenInfo[] memory) { + TokenInfo[] memory tokenInfoList = new TokenInfo[](2); + tokenInfoList[0] = TokenInfo( + Web3Networks.Ethereum, + "0xa0b73e1ff0b80914ab6fe0444e65848c4c34450b", + DataProviderTypes.NoderealClient, + 18 + ); + tokenInfoList[1] = TokenInfo( + Web3Networks.Solana, + "DvjMYMVeXgKxaixGKpzQThLoG98nc7HSU7eanzsdCboA", + DataProviderTypes.NoderealClient, + 6 + ); + return tokenInfoList; + } } diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Crv.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Crv.sol index 8470cfe2f3..3ed3b7a5cf 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Crv.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Crv.sol @@ -38,13 +38,14 @@ library Crv { return ranges; } - function getTokenInfo() internal pure returns (TokenInfo[] memory) { - TokenInfo[] memory tokenInfoList = new TokenInfo[](1); - tokenInfoList[0] = TokenInfo( - Web3Networks.Ethereum, - "0xdac17f958d2ee523a2206206994597c13d831ec7", - DataProviderTypes.NoderealClient - ); + function getTokenInfo() internal pure returns (TokenInfo[] memory) { + TokenInfo[] memory tokenInfoList = new TokenInfo[](1); + tokenInfoList[0] = TokenInfo( + Web3Networks.Ethereum, + "0xdac17f958d2ee523a2206206994597c13d831ec7", + DataProviderTypes.NoderealClient, + 18 + ); return tokenInfoList; } diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Cvx.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Cvx.sol index c0ffd24431..276b4b9374 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Cvx.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Cvx.sol @@ -38,13 +38,14 @@ library Cvx { return ranges; } - function getTokenInfo() internal pure returns (TokenInfo[] memory) { - TokenInfo[] memory tokenInfoList = new TokenInfo[](1); - tokenInfoList[0] = TokenInfo( - Web3Networks.Ethereum, - "0x4e3fbd56cd56c3e72c1403e103b45db9da5b9d2b", - DataProviderTypes.NoderealClient - ); + function getTokenInfo() internal pure returns (TokenInfo[] memory) { + TokenInfo[] memory tokenInfoList = new TokenInfo[](1); + tokenInfoList[0] = TokenInfo( + Web3Networks.Ethereum, + "0x4e3fbd56cd56c3e72c1403e103b45db9da5b9d2b", + DataProviderTypes.NoderealClient, + 18 + ); return tokenInfoList; } diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Dai.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Dai.sol index 048ead04d2..5104bd7e3b 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Dai.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Dai.sol @@ -37,23 +37,26 @@ library Dai { return ranges; } - function getTokenInfo() internal pure returns (TokenInfo[] memory) { - TokenInfo[] memory tokenInfoList = new TokenInfo[](3); - tokenInfoList[0] = TokenInfo( - Web3Networks.Ethereum, - "0x6b175474e89094c44da98b954eedeac495271d0f", - DataProviderTypes.NoderealClient - ); - tokenInfoList[1] = TokenInfo( - Web3Networks.Bsc, - "0x1af3f329e8be154074d8769d1ffa4ee058b1dbc3", - DataProviderTypes.NoderealClient - ); - tokenInfoList[2] = TokenInfo( - Web3Networks.Solana, - "EjmyN6qEC1Tf1JxiG1ae7UTJhUxSwk1TCWNWqxWV4J6o", - DataProviderTypes.NoderealClient - ); + function getTokenInfo() internal pure returns (TokenInfo[] memory) { + TokenInfo[] memory tokenInfoList = new TokenInfo[](3); + tokenInfoList[0] = TokenInfo( + Web3Networks.Ethereum, + "0x6b175474e89094c44da98b954eedeac495271d0f", + DataProviderTypes.NoderealClient, + 18 + ); + tokenInfoList[1] = TokenInfo( + Web3Networks.Bsc, + "0x1af3f329e8be154074d8769d1ffa4ee058b1dbc3", + DataProviderTypes.NoderealClient, + 18 + ); + tokenInfoList[2] = TokenInfo( + Web3Networks.Solana, + "EjmyN6qEC1Tf1JxiG1ae7UTJhUxSwk1TCWNWqxWV4J6o", + DataProviderTypes.MoralisClient, + 18 + ); return tokenInfoList; } diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Doge.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Doge.sol index 62e84e67c0..03597f24af 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Doge.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Doge.sol @@ -34,13 +34,14 @@ library Doge { return ranges; } - function getTokenInfo() internal pure returns (TokenInfo[] memory) { - TokenInfo[] memory tokenInfoList = new TokenInfo[](1); - tokenInfoList[0] = TokenInfo( - Web3Networks.Bsc, - "0xba2ae424d960c26247dd6c32edc70b295c744c43", - DataProviderTypes.NoderealClient - ); - return tokenInfoList; - } + function getTokenInfo() internal pure returns (TokenInfo[] memory) { + TokenInfo[] memory tokenInfoList = new TokenInfo[](1); + tokenInfoList[0] = TokenInfo( + Web3Networks.Bsc, + "0xba2ae424d960c26247dd6c32edc70b295c744c43", + DataProviderTypes.NoderealClient, + 18 + ); + return tokenInfoList; + } } diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Dydx.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Dydx.sol index 41e531ceeb..287ae96b46 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Dydx.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Dydx.sol @@ -38,13 +38,14 @@ library Dydx { return ranges; } - function getTokenInfo() internal pure returns (TokenInfo[] memory) { - TokenInfo[] memory tokenInfoList = new TokenInfo[](1); - tokenInfoList[0] = TokenInfo( - Web3Networks.Ethereum, - "0x92d6c1e31e14520e676a687f0a93788b716beff5", - DataProviderTypes.NoderealClient - ); + function getTokenInfo() internal pure returns (TokenInfo[] memory) { + TokenInfo[] memory tokenInfoList = new TokenInfo[](1); + tokenInfoList[0] = TokenInfo( + Web3Networks.Ethereum, + "0x92d6c1e31e14520e676a687f0a93788b716beff5", + DataProviderTypes.NoderealClient, + 18 + ); return tokenInfoList; } diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Etc.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Etc.sol index e0d1837d28..622da18f12 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Etc.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Etc.sol @@ -34,13 +34,14 @@ library Etc { return ranges; } - function getTokenInfo() internal pure returns (TokenInfo[] memory) { - TokenInfo[] memory tokenInfoList = new TokenInfo[](1); - tokenInfoList[0] = TokenInfo( - Web3Networks.Bsc, - "0x3d6545b08693dae087e957cb1180ee38b9e3c25e", - DataProviderTypes.NoderealClient - ); - return tokenInfoList; - } + function getTokenInfo() internal pure returns (TokenInfo[] memory) { + TokenInfo[] memory tokenInfoList = new TokenInfo[](1); + tokenInfoList[0] = TokenInfo( + Web3Networks.Bsc, + "0x3d6545b08693dae087e957cb1180ee38b9e3c25e", + DataProviderTypes.NoderealClient, + 18 + ); + return tokenInfoList; + } } diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Eth.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Eth.sol index 00dfbc0c9e..dd00315578 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Eth.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Eth.sol @@ -40,18 +40,20 @@ library Eth { return ranges; } - function getTokenInfo() internal pure returns (TokenInfo[] memory) { - TokenInfo[] memory tokenInfoList = new TokenInfo[](2); - tokenInfoList[0] = TokenInfo( - Web3Networks.Ethereum, - "Native Token", - DataProviderTypes.NoderealClient - ); - tokenInfoList[1] = TokenInfo( - Web3Networks.Bsc, - "0x2170ed0880ac9a755fd29b2688956bd959f933f8", - DataProviderTypes.NoderealClient - ); + function getTokenInfo() internal pure returns (TokenInfo[] memory) { + TokenInfo[] memory tokenInfoList = new TokenInfo[](2); + tokenInfoList[0] = TokenInfo( + Web3Networks.Ethereum, + "Native Token", + DataProviderTypes.NoderealClient, + 18 + ); + tokenInfoList[1] = TokenInfo( + Web3Networks.Bsc, + "0x2170ed0880ac9a755fd29b2688956bd959f933f8", + DataProviderTypes.NoderealClient, + 18 + ); return tokenInfoList; } diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Fil.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Fil.sol index f15c8a5125..132401d3b2 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Fil.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Fil.sol @@ -34,13 +34,14 @@ library Fil { return ranges; } - function getTokenInfo() internal pure returns (TokenInfo[] memory) { - TokenInfo[] memory tokenInfoList = new TokenInfo[](1); - tokenInfoList[0] = TokenInfo( - Web3Networks.Bsc, - "0x0d8ce2a99bb6e3b7db580ed848240e4a0f9ae153", - DataProviderTypes.NoderealClient - ); + function getTokenInfo() internal pure returns (TokenInfo[] memory) { + TokenInfo[] memory tokenInfoList = new TokenInfo[](1); + tokenInfoList[0] = TokenInfo( + Web3Networks.Bsc, + "0x0d8ce2a99bb6e3b7db580ed848240e4a0f9ae153", + DataProviderTypes.NoderealClient, + 18 + ); return tokenInfoList; } diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Grt.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Grt.sol index b3f0acdcc2..07c5c92a63 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Grt.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Grt.sol @@ -37,18 +37,20 @@ library Grt { return ranges; } - function getTokenInfo() internal pure returns (TokenInfo[] memory) { - TokenInfo[] memory tokenInfoList = new TokenInfo[](2); - tokenInfoList[0] = TokenInfo( - Web3Networks.Ethereum, - "0xc944e90c64b2c07662a292be6244bdf05cda44a7", - DataProviderTypes.NoderealClient - ); - tokenInfoList[1] = TokenInfo( - Web3Networks.Bsc, - "0x52ce071bd9b1c4b00a0b92d298c512478cad67e8", - DataProviderTypes.NoderealClient - ); + function getTokenInfo() internal pure returns (TokenInfo[] memory) { + TokenInfo[] memory tokenInfoList = new TokenInfo[](2); + tokenInfoList[0] = TokenInfo( + Web3Networks.Ethereum, + "0xc944e90c64b2c07662a292be6244bdf05cda44a7", + DataProviderTypes.NoderealClient, + 18 + ); + tokenInfoList[1] = TokenInfo( + Web3Networks.Bsc, + "0x52ce071bd9b1c4b00a0b92d298c512478cad67e8", + DataProviderTypes.NoderealClient, + 18 + ); return tokenInfoList; } diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Gtc.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Gtc.sol index 4ee5da3a85..69a8d5ab1a 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Gtc.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Gtc.sol @@ -38,13 +38,14 @@ library Gtc { return ranges; } - function getTokenInfo() internal pure returns (TokenInfo[] memory) { - TokenInfo[] memory tokenInfoList = new TokenInfo[](1); - tokenInfoList[0] = TokenInfo( - Web3Networks.Ethereum, - "0xde30da39c46104798bb5aa3fe8b9e0e1f348163f", - DataProviderTypes.NoderealClient - ); + function getTokenInfo() internal pure returns (TokenInfo[] memory) { + TokenInfo[] memory tokenInfoList = new TokenInfo[](1); + tokenInfoList[0] = TokenInfo( + Web3Networks.Ethereum, + "0xde30da39c46104798bb5aa3fe8b9e0e1f348163f", + DataProviderTypes.NoderealClient, + 18 + ); return tokenInfoList; } diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Gusd.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Gusd.sol index 16a1fd1980..821b741188 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Gusd.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Gusd.sol @@ -38,13 +38,14 @@ library Gusd { return ranges; } - function getTokenInfo() internal pure returns (TokenInfo[] memory) { - TokenInfo[] memory tokenInfoList = new TokenInfo[](1); - tokenInfoList[0] = TokenInfo( - Web3Networks.Ethereum, - "0x056fd409e1d7a124bd7017459dfea2f387b6d5cd", - DataProviderTypes.NoderealClient - ); + function getTokenInfo() internal pure returns (TokenInfo[] memory) { + TokenInfo[] memory tokenInfoList = new TokenInfo[](1); + tokenInfoList[0] = TokenInfo( + Web3Networks.Ethereum, + "0x056fd409e1d7a124bd7017459dfea2f387b6d5cd", + DataProviderTypes.NoderealClient, + 18 + ); return tokenInfoList; } diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Imx.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Imx.sol index 5568d02ca6..0172d9a2df 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Imx.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Imx.sol @@ -36,13 +36,14 @@ library Imx { return ranges; } - function getTokenInfo() internal pure returns (TokenInfo[] memory) { - TokenInfo[] memory tokenInfoList = new TokenInfo[](1); - tokenInfoList[0] = TokenInfo( - Web3Networks.Ethereum, - "0xf57e7e7c23978c3caec3c3548e3d615c346e79ff", - DataProviderTypes.NoderealClient - ); + function getTokenInfo() internal pure returns (TokenInfo[] memory) { + TokenInfo[] memory tokenInfoList = new TokenInfo[](1); + tokenInfoList[0] = TokenInfo( + Web3Networks.Ethereum, + "0xf57e7e7c23978c3caec3c3548e3d615c346e79ff", + DataProviderTypes.NoderealClient, + 18 + ); return tokenInfoList; } diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Inj.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Inj.sol index 89a65c16fa..81d90b2bb5 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Inj.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Inj.sol @@ -34,13 +34,14 @@ library Inj { return ranges; } - function getTokenInfo() internal pure returns (TokenInfo[] memory) { - TokenInfo[] memory tokenInfoList = new TokenInfo[](1); - tokenInfoList[0] = TokenInfo( - Web3Networks.Ethereum, - "0xa0b73e1ff0b80914ab6fe0444e65848c4c34450b", - DataProviderTypes.NoderealClient - ); + function getTokenInfo() internal pure returns (TokenInfo[] memory) { + TokenInfo[] memory tokenInfoList = new TokenInfo[](1); + tokenInfoList[0] = TokenInfo( + Web3Networks.Ethereum, + "0xa0b73e1ff0b80914ab6fe0444e65848c4c34450b", + DataProviderTypes.NoderealClient, + 18 + ); return tokenInfoList; } diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Leo.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Leo.sol index 1c2a1ffc58..4896ca7104 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Leo.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Leo.sol @@ -34,13 +34,14 @@ library Leo { return ranges; } - function getTokenInfo() internal pure returns (TokenInfo[] memory) { - TokenInfo[] memory tokenInfoList = new TokenInfo[](1); - tokenInfoList[0] = TokenInfo( - Web3Networks.Ethereum, - "0x2af5d2ad76741191d15dfe7bf6ac92d4bd912ca3", - DataProviderTypes.NoderealClient - ); - return tokenInfoList; - } + function getTokenInfo() internal pure returns (TokenInfo[] memory) { + TokenInfo[] memory tokenInfoList = new TokenInfo[](1); + tokenInfoList[0] = TokenInfo( + Web3Networks.Ethereum, + "0x2af5d2ad76741191d15dfe7bf6ac92d4bd912ca3", + DataProviderTypes.NoderealClient, + 18 + ); + return tokenInfoList; + } } diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Link.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Link.sol index b04c324da3..b25cf56a3e 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Link.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Link.sol @@ -38,18 +38,20 @@ library Link { return ranges; } - function getTokenInfo() internal pure returns (TokenInfo[] memory) { - TokenInfo[] memory tokenInfoList = new TokenInfo[](2); - tokenInfoList[0] = TokenInfo( - Web3Networks.Bsc, - "0xf8a0bf9cf54bb92f17374d9e9a321e6a111a51bd", - DataProviderTypes.NoderealClient - ); - tokenInfoList[1] = TokenInfo( - Web3Networks.Ethereum, - "0x514910771af9ca656af840dff83e8264ecf986ca", - DataProviderTypes.NoderealClient - ); - return tokenInfoList; - } + function getTokenInfo() internal pure returns (TokenInfo[] memory) { + TokenInfo[] memory tokenInfoList = new TokenInfo[](2); + tokenInfoList[0] = TokenInfo( + Web3Networks.Bsc, + "0xf8a0bf9cf54bb92f17374d9e9a321e6a111a51bd", + DataProviderTypes.NoderealClient, + 18 + ); + tokenInfoList[1] = TokenInfo( + Web3Networks.Ethereum, + "0x514910771af9ca656af840dff83e8264ecf986ca", + DataProviderTypes.NoderealClient, + 18 + ); + return tokenInfoList; + } } diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Lit.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Lit.sol index 4ffd0c13bd..3514d26bb9 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Lit.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Lit.sol @@ -38,18 +38,20 @@ library Lit { return ranges; } - function getTokenInfo() internal pure returns (TokenInfo[] memory) { - TokenInfo[] memory tokenInfoList = new TokenInfo[](2); - tokenInfoList[0] = TokenInfo( - Web3Networks.Bsc, - "0xb59490ab09a0f526cc7305822ac65f2ab12f9723", - DataProviderTypes.NoderealClient - ); - tokenInfoList[1] = TokenInfo( - Web3Networks.Ethereum, - "0xb59490ab09a0f526cc7305822ac65f2ab12f9723", - DataProviderTypes.NoderealClient - ); + function getTokenInfo() internal pure returns (TokenInfo[] memory) { + TokenInfo[] memory tokenInfoList = new TokenInfo[](2); + tokenInfoList[0] = TokenInfo( + Web3Networks.Bsc, + "0xb59490ab09a0f526cc7305822ac65f2ab12f9723", + DataProviderTypes.NoderealClient, + 18 + ); + tokenInfoList[1] = TokenInfo( + Web3Networks.Ethereum, + "0xb59490ab09a0f526cc7305822ac65f2ab12f9723", + DataProviderTypes.NoderealClient, + 18 + ); return tokenInfoList; } diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Matic.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Matic.sol index 24e40fe90a..fbc38817cc 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Matic.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Matic.sol @@ -38,18 +38,20 @@ library Matic { return ranges; } - function getTokenInfo() internal pure returns (TokenInfo[] memory) { - TokenInfo[] memory tokenInfoList = new TokenInfo[](2); - tokenInfoList[0] = TokenInfo( - Web3Networks.Bsc, - "0xcc42724c6683b7e57334c4e856f4c9965ed682bd", - DataProviderTypes.NoderealClient - ); - tokenInfoList[1] = TokenInfo( - Web3Networks.Ethereum, - "0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0", - DataProviderTypes.NoderealClient - ); + function getTokenInfo() internal pure returns (TokenInfo[] memory) { + TokenInfo[] memory tokenInfoList = new TokenInfo[](2); + tokenInfoList[0] = TokenInfo( + Web3Networks.Bsc, + "0xcc42724c6683b7e57334c4e856f4c9965ed682bd", + DataProviderTypes.NoderealClient, + 18 + ); + tokenInfoList[1] = TokenInfo( + Web3Networks.Ethereum, + "0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0", + DataProviderTypes.NoderealClient, + 18 + ); return tokenInfoList; } diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Mcrt.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Mcrt.sol index 95127380a4..4ddedc55f0 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Mcrt.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Mcrt.sol @@ -34,23 +34,26 @@ library Mcrt { return ranges; } - function getTokenInfo() internal pure returns (TokenInfo[] memory) { - TokenInfo[] memory tokenInfoList = new TokenInfo[](3); - tokenInfoList[0] = TokenInfo( - Web3Networks.Ethereum, - "0xde16ce60804a881e9f8c4ebb3824646edecd478d", - DataProviderTypes.NoderealClient - ); - tokenInfoList[1] = TokenInfo( - Web3Networks.Bsc, - "0x4b8285aB433D8f69CB48d5Ad62b415ed1a221e4f", - DataProviderTypes.NoderealClient - ); - tokenInfoList[2] = TokenInfo( - Web3Networks.Solana, - "FADm4QuSUF1K526LvTjvbJjKzeeipP6bj5bSzp3r6ipq", - DataProviderTypes.NoderealClient - ); - return tokenInfoList; - } + function getTokenInfo() internal pure returns (TokenInfo[] memory) { + TokenInfo[] memory tokenInfoList = new TokenInfo[](3); + tokenInfoList[0] = TokenInfo( + Web3Networks.Ethereum, + "0xde16ce60804a881e9f8c4ebb3824646edecd478d", + DataProviderTypes.NoderealClient, + 18 + ); + tokenInfoList[1] = TokenInfo( + Web3Networks.Bsc, + "0x4b8285aB433D8f69CB48d5Ad62b415ed1a221e4f", + DataProviderTypes.NoderealClient, + 18 + ); + tokenInfoList[2] = TokenInfo( + Web3Networks.Solana, + "FADm4QuSUF1K526LvTjvbJjKzeeipP6bj5bSzp3r6ipq", + DataProviderTypes.MoralisClient, + 18 + ); + return tokenInfoList; + } } diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Nfp.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Nfp.sol index d3db723a3b..cad423d5b3 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Nfp.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Nfp.sol @@ -38,13 +38,14 @@ library Nfp { return ranges; } - function getTokenInfo() internal pure returns (TokenInfo[] memory) { - TokenInfo[] memory tokenInfoList = new TokenInfo[](1); - tokenInfoList[0] = TokenInfo( - Web3Networks.Bsc, - "0x75e8ddb518bb757b4282cd5b83bb70d4101d12fb", - DataProviderTypes.NoderealClient - ); + function getTokenInfo() internal pure returns (TokenInfo[] memory) { + TokenInfo[] memory tokenInfoList = new TokenInfo[](1); + tokenInfoList[0] = TokenInfo( + Web3Networks.Bsc, + "0x75e8ddb518bb757b4282cd5b83bb70d4101d12fb", + DataProviderTypes.NoderealClient, + 18 + ); return tokenInfoList; } diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/People.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/People.sol index e77d29a6e6..bd9b3a35b8 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/People.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/People.sol @@ -38,13 +38,14 @@ library People { return ranges; } - function getTokenInfo() internal pure returns (TokenInfo[] memory) { - TokenInfo[] memory tokenInfoList = new TokenInfo[](1); - tokenInfoList[0] = TokenInfo( - Web3Networks.Ethereum, - "0x7a58c0be72be218b41c608b7fe7c5bb630736c71", - DataProviderTypes.NoderealClient - ); + function getTokenInfo() internal pure returns (TokenInfo[] memory) { + TokenInfo[] memory tokenInfoList = new TokenInfo[](1); + tokenInfoList[0] = TokenInfo( + Web3Networks.Ethereum, + "0x7a58c0be72be218b41c608b7fe7c5bb630736c71", + DataProviderTypes.NoderealClient, + 18 + ); return tokenInfoList; } diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Shib.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Shib.sol index d9ce937b27..e58e8d03f7 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Shib.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Shib.sol @@ -36,13 +36,14 @@ library Shib { return ranges; } - function getTokenInfo() internal pure returns (TokenInfo[] memory) { - TokenInfo[] memory tokenInfoList = new TokenInfo[](1); - tokenInfoList[0] = TokenInfo( - Web3Networks.Ethereum, - "0x95ad61b0a150d79219dcf64e1e6cc01f0b64c4ce", - DataProviderTypes.NoderealClient - ); - return tokenInfoList; - } + function getTokenInfo() internal pure returns (TokenInfo[] memory) { + TokenInfo[] memory tokenInfoList = new TokenInfo[](1); + tokenInfoList[0] = TokenInfo( + Web3Networks.Ethereum, + "0x95ad61b0a150d79219dcf64e1e6cc01f0b64c4ce", + DataProviderTypes.NoderealClient, + 18 + ); + return tokenInfoList; + } } diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Sol.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Sol.sol index cd0c5c09c7..0feb8d9acc 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Sol.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Sol.sol @@ -38,23 +38,26 @@ library Sol { return ranges; } - function getTokenInfo() internal pure returns (TokenInfo[] memory) { - TokenInfo[] memory tokenInfoList = new TokenInfo[](3); - tokenInfoList[0] = TokenInfo( - Web3Networks.Ethereum, - "0x5288738df1aeb0894713de903e1d0c001eeb7644", - DataProviderTypes.NoderealClient - ); - tokenInfoList[1] = TokenInfo( - Web3Networks.Bsc, - "0x570a5d26f7765ecb712c0924e4de545b89fd43df", - DataProviderTypes.NoderealClient - ); - tokenInfoList[2] = TokenInfo( - Web3Networks.Solana, - "Native Token", - DataProviderTypes.NoderealClient - ); - return tokenInfoList; - } + function getTokenInfo() internal pure returns (TokenInfo[] memory) { + TokenInfo[] memory tokenInfoList = new TokenInfo[](3); + tokenInfoList[0] = TokenInfo( + Web3Networks.Ethereum, + "0x5288738df1aeb0894713de903e1d0c001eeb7644", + DataProviderTypes.NoderealClient, + 18 + ); + tokenInfoList[1] = TokenInfo( + Web3Networks.Bsc, + "0x570a5d26f7765ecb712c0924e4de545b89fd43df", + DataProviderTypes.NoderealClient, + 18 + ); + tokenInfoList[2] = TokenInfo( + Web3Networks.Solana, + "Native Token", + DataProviderTypes.MoralisClient, + 18 + ); + return tokenInfoList; + } } diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/SpaceId.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/SpaceId.sol index 011b7f52e1..27e9a6f3e7 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/SpaceId.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/SpaceId.sol @@ -38,18 +38,20 @@ library SpaceId { return ranges; } - function getTokenInfo() internal pure returns (TokenInfo[] memory) { - TokenInfo[] memory tokenInfoList = new TokenInfo[](2); - tokenInfoList[0] = TokenInfo( - Web3Networks.Ethereum, - "0x2dff88a56767223a5529ea5960da7a3f5f766406", - DataProviderTypes.NoderealClient - ); - tokenInfoList[1] = TokenInfo( - Web3Networks.Bsc, - "0x2dff88a56767223a5529ea5960da7a3f5f766406", - DataProviderTypes.NoderealClient - ); - return tokenInfoList; - } + function getTokenInfo() internal pure returns (TokenInfo[] memory) { + TokenInfo[] memory tokenInfoList = new TokenInfo[](2); + tokenInfoList[0] = TokenInfo( + Web3Networks.Ethereum, + "0x2dff88a56767223a5529ea5960da7a3f5f766406", + DataProviderTypes.NoderealClient, + 18 + ); + tokenInfoList[1] = TokenInfo( + Web3Networks.Bsc, + "0x2dff88a56767223a5529ea5960da7a3f5f766406", + DataProviderTypes.NoderealClient, + 18 + ); + return tokenInfoList; + } } diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Ton.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Ton.sol index ded19e4498..952a834eee 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Ton.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Ton.sol @@ -38,18 +38,20 @@ library Ton { return ranges; } - function getTokenInfo() internal pure returns (TokenInfo[] memory) { - TokenInfo[] memory tokenInfoList = new TokenInfo[](2); - tokenInfoList[0] = TokenInfo( - Web3Networks.Ethereum, - "0x582d872a1b094fc48f5de31d3b73f2d9be47def1", - DataProviderTypes.NoderealClient - ); - tokenInfoList[1] = TokenInfo( - Web3Networks.Bsc, - "0x76a797a59ba2c17726896976b7b3747bfd1d220f", - DataProviderTypes.NoderealClient - ); - return tokenInfoList; - } + function getTokenInfo() internal pure returns (TokenInfo[] memory) { + TokenInfo[] memory tokenInfoList = new TokenInfo[](2); + tokenInfoList[0] = TokenInfo( + Web3Networks.Ethereum, + "0x582d872a1b094fc48f5de31d3b73f2d9be47def1", + DataProviderTypes.NoderealClient, + 18 + ); + tokenInfoList[1] = TokenInfo( + Web3Networks.Bsc, + "0x76a797a59ba2c17726896976b7b3747bfd1d220f", + DataProviderTypes.NoderealClient, + 18 + ); + return tokenInfoList; + } } diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Trx.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Trx.sol index d150a8d577..b0b8928fe4 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Trx.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Trx.sol @@ -38,18 +38,20 @@ library Trx { return ranges; } - function getTokenInfo() internal pure returns (TokenInfo[] memory) { - TokenInfo[] memory tokenInfoList = new TokenInfo[](2); - tokenInfoList[0] = TokenInfo( - Web3Networks.Ethereum, - "0x50327c6c5a14dcade707abad2e27eb517df87ab5", - DataProviderTypes.NoderealClient - ); - tokenInfoList[1] = TokenInfo( - Web3Networks.Bsc, - "0xCE7de646e7208a4Ef112cb6ed5038FA6cC6b12e3", - DataProviderTypes.NoderealClient - ); - return tokenInfoList; - } + function getTokenInfo() internal pure returns (TokenInfo[] memory) { + TokenInfo[] memory tokenInfoList = new TokenInfo[](2); + tokenInfoList[0] = TokenInfo( + Web3Networks.Ethereum, + "0x50327c6c5a14dcade707abad2e27eb517df87ab5", + DataProviderTypes.NoderealClient, + 18 + ); + tokenInfoList[1] = TokenInfo( + Web3Networks.Bsc, + "0xCE7de646e7208a4Ef112cb6ed5038FA6cC6b12e3", + DataProviderTypes.NoderealClient, + 18 + ); + return tokenInfoList; + } } diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Tusd.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Tusd.sol index 83c4abff15..9cc54d73af 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Tusd.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Tusd.sol @@ -38,18 +38,20 @@ library Tusd { return ranges; } - function getTokenInfo() internal pure returns (TokenInfo[] memory) { - TokenInfo[] memory tokenInfoList = new TokenInfo[](2); - tokenInfoList[0] = TokenInfo( - Web3Networks.Ethereum, - "0x0000000000085d4780b73119b644ae5ecd22b376", - DataProviderTypes.NoderealClient - ); - tokenInfoList[1] = TokenInfo( - Web3Networks.Bsc, - "0x40af3827F39D0EAcBF4A168f8D4ee67c121D11c9", - DataProviderTypes.NoderealClient - ); + function getTokenInfo() internal pure returns (TokenInfo[] memory) { + TokenInfo[] memory tokenInfoList = new TokenInfo[](2); + tokenInfoList[0] = TokenInfo( + Web3Networks.Ethereum, + "0x0000000000085d4780b73119b644ae5ecd22b376", + DataProviderTypes.NoderealClient, + 18 + ); + tokenInfoList[1] = TokenInfo( + Web3Networks.Bsc, + "0x40af3827F39D0EAcBF4A168f8D4ee67c121D11c9", + DataProviderTypes.NoderealClient, + 18 + ); return tokenInfoList; } diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Uni.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Uni.sol index 81620a6034..94aa3efe40 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Uni.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Uni.sol @@ -37,23 +37,26 @@ library Uni { return ranges; } - function getTokenInfo() internal pure returns (TokenInfo[] memory) { - TokenInfo[] memory tokenInfoList = new TokenInfo[](3); - tokenInfoList[0] = TokenInfo( - Web3Networks.Ethereum, - "0x1f9840a85d5af5bf1d1762f925bdaddc4201f984", - DataProviderTypes.NoderealClient - ); - tokenInfoList[1] = TokenInfo( - Web3Networks.Bsc, - "0xbf5140a22578168fd562dccf235e5d43a02ce9b1", - DataProviderTypes.NoderealClient - ); - tokenInfoList[2] = TokenInfo( - Web3Networks.Solana, - "8FU95xFJhUUkyyCLU13HSzDLs7oC4QZdXQHL6SCeab36", - DataProviderTypes.NoderealClient - ); + function getTokenInfo() internal pure returns (TokenInfo[] memory) { + TokenInfo[] memory tokenInfoList = new TokenInfo[](3); + tokenInfoList[0] = TokenInfo( + Web3Networks.Ethereum, + "0x1f9840a85d5af5bf1d1762f925bdaddc4201f984", + DataProviderTypes.NoderealClient, + 18 + ); + tokenInfoList[1] = TokenInfo( + Web3Networks.Bsc, + "0xbf5140a22578168fd562dccf235e5d43a02ce9b1", + DataProviderTypes.NoderealClient, + 18 + ); + tokenInfoList[2] = TokenInfo( + Web3Networks.Solana, + "8FU95xFJhUUkyyCLU13HSzDLs7oC4QZdXQHL6SCeab36", + DataProviderTypes.MoralisClient, + 18 + ); return tokenInfoList; } diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Usdc.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Usdc.sol index f0ed22b6de..628fbe0fe1 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Usdc.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Usdc.sol @@ -21,23 +21,26 @@ library Usdc { return ranges; } - function getTokenInfo() internal pure returns (TokenInfo[] memory) { - TokenInfo[] memory tokenInfoList = new TokenInfo[](3); - tokenInfoList[0] = TokenInfo( - Web3Networks.Ethereum, - "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48", - DataProviderTypes.NoderealClient - ); - tokenInfoList[1] = TokenInfo( - Web3Networks.Bsc, - "0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d", - DataProviderTypes.NoderealClient - ); - tokenInfoList[2] = TokenInfo( - Web3Networks.Solana, - "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v", - DataProviderTypes.NoderealClient - ); + function getTokenInfo() internal pure returns (TokenInfo[] memory) { + TokenInfo[] memory tokenInfoList = new TokenInfo[](3); + tokenInfoList[0] = TokenInfo( + Web3Networks.Ethereum, + "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48", + DataProviderTypes.NoderealClient, + 18 + ); + tokenInfoList[1] = TokenInfo( + Web3Networks.Bsc, + "0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d", + DataProviderTypes.NoderealClient, + 18 + ); + tokenInfoList[2] = TokenInfo( + Web3Networks.Solana, + "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v", + DataProviderTypes.MoralisClient, + 18 + ); return tokenInfoList; } diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Usdd.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Usdd.sol index f508b67b65..cf003c6141 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Usdd.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Usdd.sol @@ -38,18 +38,20 @@ library Usdd { return ranges; } - function getTokenInfo() internal pure returns (TokenInfo[] memory) { - TokenInfo[] memory tokenInfoList = new TokenInfo[](2); - tokenInfoList[0] = TokenInfo( - Web3Networks.Ethereum, - "0x0c10bf8fcb7bf5412187a595ab97a3609160b5c6", - DataProviderTypes.NoderealClient - ); - tokenInfoList[1] = TokenInfo( - Web3Networks.Bsc, - "0xd17479997f34dd9156deef8f95a52d81d265be9c", - DataProviderTypes.NoderealClient - ); + function getTokenInfo() internal pure returns (TokenInfo[] memory) { + TokenInfo[] memory tokenInfoList = new TokenInfo[](2); + tokenInfoList[0] = TokenInfo( + Web3Networks.Ethereum, + "0x0c10bf8fcb7bf5412187a595ab97a3609160b5c6", + DataProviderTypes.NoderealClient, + 18 + ); + tokenInfoList[1] = TokenInfo( + Web3Networks.Bsc, + "0xd17479997f34dd9156deef8f95a52d81d265be9c", + DataProviderTypes.NoderealClient, + 18 + ); return tokenInfoList; } diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Usdt.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Usdt.sol index 054e5d36e4..00688ef2b7 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Usdt.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Usdt.sol @@ -38,18 +38,20 @@ library Usdt { return ranges; } - function getTokenInfo() internal pure returns (TokenInfo[] memory) { - TokenInfo[] memory tokenInfoList = new TokenInfo[](2); - tokenInfoList[0] = TokenInfo( - Web3Networks.Ethereum, - "0xdac17f958d2ee523a2206206994597c13d831ec7", - DataProviderTypes.NoderealClient - ); - tokenInfoList[1] = TokenInfo( - Web3Networks.Bsc, - "0x55d398326f99059ff775485246999027b3197955", - DataProviderTypes.NoderealClient - ); + function getTokenInfo() internal pure returns (TokenInfo[] memory) { + TokenInfo[] memory tokenInfoList = new TokenInfo[](2); + tokenInfoList[0] = TokenInfo( + Web3Networks.Ethereum, + "0xdac17f958d2ee523a2206206994597c13d831ec7", + DataProviderTypes.NoderealClient, + 18 + ); + tokenInfoList[1] = TokenInfo( + Web3Networks.Bsc, + "0x55d398326f99059ff775485246999027b3197955", + DataProviderTypes.NoderealClient, + 18 + ); return tokenInfoList; } diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Wbtc.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Wbtc.sol index 6f75f6d8fa..e34c3933fd 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Wbtc.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Wbtc.sol @@ -44,13 +44,14 @@ library Wbtc { return ranges; } - function getTokenInfo() internal pure returns (TokenInfo[] memory) { - TokenInfo[] memory tokenInfoList = new TokenInfo[](1); - tokenInfoList[0] = TokenInfo( - Web3Networks.Ethereum, - "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599", - DataProviderTypes.NoderealClient - ); + function getTokenInfo() internal pure returns (TokenInfo[] memory) { + TokenInfo[] memory tokenInfoList = new TokenInfo[](1); + tokenInfoList[0] = TokenInfo( + Web3Networks.Ethereum, + "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599", + DataProviderTypes.NoderealClient, + 18 + ); return tokenInfoList; } From 6f458ccc10079376ae9b2c1c245914905951139c Mon Sep 17 00:00:00 2001 From: Verin1005 Date: Mon, 29 Jul 2024 21:08:00 +0800 Subject: [PATCH 08/14] add MockHttpGetI64 --- .../contracts/mocks/MockHttpGetI64.sol | 63 ++++++++++ .../BlockchainInfoClient.sol | 80 ++++++------ .../token_holding_amount/MoralisClient.sol | 114 +++++++++--------- .../TokenHoldingAmount.sol | 5 +- .../src/dynamic/tests/token-holding-amount.ts | 91 ++++++++++++++ .../src/dynamic/tests/utils/helper.ts | 2 + 6 files changed, 255 insertions(+), 100 deletions(-) create mode 100644 tee-worker/litentry/core/assertion-build/src/dynamic/contracts/mocks/MockHttpGetI64.sol diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/mocks/MockHttpGetI64.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/mocks/MockHttpGetI64.sol new file mode 100644 index 0000000000..52994ddc5c --- /dev/null +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/mocks/MockHttpGetI64.sol @@ -0,0 +1,63 @@ +// Copyright 2020-2024 Trust Computing GmbH. +// This file is part of Litentry. +// +// Litentry is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// Litentry is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with Litentry. If not, see . + +// SPDX-License-Identifier: GPL-3.0-or-later + +pragma solidity ^0.8.8; + +import "@openzeppelin/contracts/utils/Strings.sol"; +import { HttpHeader } from "../libraries/Http.sol"; + +import "hardhat/console.sol"; + +contract MockHttpGetI64 { + receive() external payable {} + + fallback() external payable { + (string memory url, string memory jsonPointer, ) = abi.decode( + msg.data, + (string, string, HttpHeader[]) + ); + + bool success = true; + uint256 value = 0; + + if ( + Strings.equal( + url, + "https://blockchain.info/multiaddr?active=bc1pg6qjsrxwg9cvqx0gxstl0t74ynhs2528t7rp0u7acl6etwn5t6vswxrzpa&n=0" + ) + ) { + // 0.1(decimal is 8) + value = 10000000; + } else if ( + Strings.equal( + url, + "https://blockchain.info/multiaddr?active=bc1pqdk57wus42wuh989k3v700n6w584andwg7pvxnrd69ag3rs94cfq40qx2y&n=0" + ) + ) { + value = 0; + } + + console.log("http_get_i64>", url, jsonPointer, value); + + bytes memory encodedResult = abi.encode(success, value); + + assembly { + return(add(encodedResult, 0x20), mload(encodedResult)) + } + } +} diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/BlockchainInfoClient.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/BlockchainInfoClient.sol index 9065f5ab5b..fc6ba04b1f 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/BlockchainInfoClient.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/BlockchainInfoClient.sol @@ -23,49 +23,49 @@ import "../libraries/Utils.sol"; import "../libraries/Identities.sol"; library BlockchainInfoClient { - function getMultiAddress( - string[] memory accounts - ) internal returns (bool, int64) { - string memory url = "https://blockchain.info/multiaddr"; - string memory activeQueryParam = ""; + function getMultiAddress( + string[] memory accounts + ) internal returns (bool, int64) { + string memory url = "https://blockchain.info/multiaddr"; + string memory activeQueryParam = ""; - for (uint256 i = 0; i < accounts.length; i++) { - activeQueryParam = string( - abi.encodePacked(activeQueryParam, accounts[i]) - ); - if (i != accounts.length - 1) { - activeQueryParam = string( - abi.encodePacked(activeQueryParam, "|") - ); - } - } + for (uint256 i = 0; i < accounts.length; i++) { + activeQueryParam = string( + abi.encodePacked(activeQueryParam, accounts[i]) + ); + if (i != accounts.length - 1) { + activeQueryParam = string( + abi.encodePacked(activeQueryParam, "|") + ); + } + } - url = string( - abi.encodePacked(url, "?active=", activeQueryParam, "&n=", "0") - ); + url = string( + abi.encodePacked(url, "?active=", activeQueryParam, "&n=", "0") + ); - HttpHeader[] memory headers = new HttpHeader[](0); - return Http.GetI64(url, "/wallet/final_balance", headers); - } + HttpHeader[] memory headers = new HttpHeader[](0); + return Http.GetI64(url, "/wallet/final_balance", headers); + } - function isSupportedNetwork(uint32 network) internal pure returns (bool) { - return - network == Web3Networks.BitcoinP2tr || - network == Web3Networks.BitcoinP2pkh || - network == Web3Networks.BitcoinP2sh || - network == Web3Networks.BitcoinP2wpkh || - network == Web3Networks.BitcoinP2wsh; - } + function isSupportedNetwork(uint32 network) internal pure returns (bool) { + return + network == Web3Networks.BitcoinP2tr || + network == Web3Networks.BitcoinP2pkh || + network == Web3Networks.BitcoinP2sh || + network == Web3Networks.BitcoinP2wpkh || + network == Web3Networks.BitcoinP2wsh; + } - function getTokenBalance( - string[] memory accounts - ) internal returns (uint256) { - (bool balanceSuccess, int64 balance) = BlockchainInfoClient - .getMultiAddress(accounts); - if (balanceSuccess) { - return uint256(uint64(balance)); - } else { - return 0; - } - } + function getTokenBalance( + string[] memory accounts + ) internal returns (uint256) { + (bool balanceSuccess, int64 balance) = BlockchainInfoClient + .getMultiAddress(accounts); + if (balanceSuccess) { + return uint256(uint64(balance)); + } else { + return 0; + } + } } diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/MoralisClient.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/MoralisClient.sol index bc8aeb4b0b..b54e145e9a 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/MoralisClient.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/MoralisClient.sol @@ -211,64 +211,64 @@ library MoralisClient { return network == Web3Networks.Solana; } - function getNetworkUrl( - uint32 network - ) internal pure returns (string memory url) { - if (network == Web3Networks.Solana) { - url = "https://solana-gateway.moralis.io/account/mainnet"; - } else if (network == Web3Networks.Ethereum) { - url = "https://deep-index.moralis.io/api/v2.2"; - } - } + function getNetworkUrl( + uint32 network + ) internal pure returns (string memory url) { + if (network == Web3Networks.Solana) { + url = "https://solana-gateway.moralis.io/account/mainnet"; + } else if (network == Web3Networks.Ethereum) { + url = "https://deep-index.moralis.io/api/v2.2"; + } + } - function getTokenBalance( - uint32 network, - string memory apiKey, - string memory account, - string memory tokenContractAddress, - uint8 tokenDecimals - ) internal returns (uint256) { - if (Strings.equal(tokenContractAddress, "Native Token")) { - (bool success, string memory solanaTokenBalance) = MoralisClient - .getSolanaNativeBalance(network, apiKey, account); + function getTokenBalance( + uint32 network, + string memory apiKey, + string memory account, + string memory tokenContractAddress, + uint8 tokenDecimals + ) internal returns (uint256) { + if (Strings.equal(tokenContractAddress, "Native Token")) { + (bool success, string memory solanaTokenBalance) = MoralisClient + .getSolanaNativeBalance(network, apiKey, account); - if (success) { - (bool parsedStatus, uint256 parsedAmount) = Utils.parseDecimal( - solanaTokenBalance, - tokenDecimals - ); - if (parsedStatus) { - return parsedAmount; - } - return 0; - } - } else { - ( - bool success, - SolanaTokenBalance[] memory solanaTokenBalance - ) = MoralisClient.getSolanaTokensBalance(network, apiKey, account); + if (success) { + (bool parsedStatus, uint256 parsedAmount) = Utils.parseDecimal( + solanaTokenBalance, + tokenDecimals + ); + if (parsedStatus) { + return parsedAmount; + } + return 0; + } + } else { + ( + bool success, + SolanaTokenBalance[] memory solanaTokenBalance + ) = MoralisClient.getSolanaTokensBalance(network, apiKey, account); - if (success) { - for (uint i = 0; i < solanaTokenBalance.length; i++) { - if ( - Strings.equal( - solanaTokenBalance[i].mint, - tokenContractAddress - ) - ) { - (bool parsedStatus, uint256 parsedAmount) = Utils - .parseDecimal( - solanaTokenBalance[i].amount, - tokenDecimals - ); - if (parsedStatus) { - return parsedAmount; - } - return 0; - } - } - } - } - return 0; - } + if (success) { + for (uint i = 0; i < solanaTokenBalance.length; i++) { + if ( + Strings.equal( + solanaTokenBalance[i].mint, + tokenContractAddress + ) + ) { + (bool parsedStatus, uint256 parsedAmount) = Utils + .parseDecimal( + solanaTokenBalance[i].amount, + tokenDecimals + ); + if (parsedStatus) { + return parsedAmount; + } + return 0; + } + } + } + } + return 0; + } } diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/TokenHoldingAmount.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/TokenHoldingAmount.sol index 9479a50985..0369cd2f5a 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/TokenHoldingAmount.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/TokenHoldingAmount.sol @@ -106,7 +106,7 @@ abstract contract TokenHoldingAmount is DynamicAssertion { function calculateRange( uint256 balance, uint256[] memory ranges - ) private pure returns (uint256, uint256, int256) { + ) private view returns (uint256, uint256, int256) { uint256 index = ranges.length - 1; uint256 min = 0; int256 max = 0; @@ -128,7 +128,6 @@ abstract contract TokenHoldingAmount is DynamicAssertion { min = ranges[index]; max = int256(ranges[index + 1]); } - return (index, min, max); } @@ -176,7 +175,7 @@ abstract contract TokenHoldingAmount is DynamicAssertion { return assertions; } - function getTokenDecimals() internal pure virtual returns (uint8); + function getTokenDecimals() internal view virtual returns (uint8); function isSupportedNetwork( string memory tokenName, diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/tests/token-holding-amount.ts b/tee-worker/litentry/core/assertion-build/src/dynamic/tests/token-holding-amount.ts index 43d99e9304..d422acbc9f 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/tests/token-holding-amount.ts +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/tests/token-holding-amount.ts @@ -14,6 +14,7 @@ import { describe('TokenHoldingAmount', () => { const deployFixture = async () => { await deployMockContract('MockHttpGetString') + await deployMockContract('MockHttpGetI64') await deployMockContract('MockIdentityToString') await deployMockContract('MockParseDecimal') return await deployContract('TokenMapping') @@ -339,4 +340,94 @@ describe('TokenHoldingAmount', () => { ) }) }) + + describe('Btc', () => { + const secrets = ['0x12345', '0x12345'] + it('should return result false when amount = 0', async () => { + const { TokenMapping } = await loadFixture(deployFixture) + const val = TokenMapping.execute( + // identities + [ + { + identity_type: IdentityType.Bitcoin, + value: ethers.toUtf8Bytes( + 'bc1pqdk57wus42wuh989k3v700n6w584andwg7pvxnrd69ag3rs94cfq40qx2y' + ), + networks: [Web3Network.BitcoinP2wpkh], + }, + ], + // secrets + secrets, + // params + generateParams('btc') + ) + expectResult( + TokenMapping, + val, + { + and: [ + { + src: '$token', + op: Op.EQ, + dst: 'btc', + }, + { + src: '$holding_amount', + op: Op.GTE, + dst: '0', + }, + { + src: '$holding_amount', + op: Op.LT, + dst: '0.001', + }, + ], + }, + false + ) + }) + it('should return result true when amount < 0.3', async () => { + const { TokenMapping } = await loadFixture(deployFixture) + const val = TokenMapping.execute( + // identities + [ + { + identity_type: IdentityType.Bitcoin, + value: ethers.toUtf8Bytes( + 'bc1pg6qjsrxwg9cvqx0gxstl0t74ynhs2528t7rp0u7acl6etwn5t6vswxrzpa' + ), + networks: [Web3Network.BitcoinP2wpkh], + }, + ], + // secrets + secrets, + // params + generateParams('btc') + ) + await expectResult( + TokenMapping, + val, + { + and: [ + { + src: '$token', + op: Op.EQ, + dst: 'btc', + }, + { + src: '$holding_amount', + op: Op.GTE, + dst: '0.1', + }, + { + src: '$holding_amount', + op: Op.LT, + dst: '0.3', + }, + ], + }, + true + ) + }) + }) }) diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/tests/utils/helper.ts b/tee-worker/litentry/core/assertion-build/src/dynamic/tests/utils/helper.ts index 95250ec850..7fd51e8f0b 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/tests/utils/helper.ts +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/tests/utils/helper.ts @@ -55,10 +55,12 @@ export enum PrecompileAddresses { HTTP_GET_STRING = '0x00000000000000000000000000000000000003EA', IDENTITY_TO_STRING = '0x000000000000000000000000000000000000041C', PARSE_DECIMAL = '0x000000000000000000000000000000000000041E', + HTTP_GET_I64 = '0x00000000000000000000000000000000000003E8', } const mockContractAddressMapping: { [key: string]: string } = { MockHttpGetString: PrecompileAddresses.HTTP_GET_STRING, + MockHttpGetI64: PrecompileAddresses.HTTP_GET_I64, MockIdentityToString: PrecompileAddresses.IDENTITY_TO_STRING, MockParseDecimal: PrecompileAddresses.PARSE_DECIMAL, } From 1b44bc9b71049eddf8461e8f82ba9c9fc0fda949 Mon Sep 17 00:00:00 2001 From: Verin1005 Date: Mon, 29 Jul 2024 21:08:11 +0800 Subject: [PATCH 09/14] fmt --- .../token_holding_amount/TokenMapping.sol | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/TokenMapping.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/TokenMapping.sol index fff7f8d481..4dc19bbfe9 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/TokenMapping.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/TokenMapping.sol @@ -118,17 +118,17 @@ contract TokenMapping is TokenQueryLogic { tokenInfo["sats"].push(BRC20.getBrc20TokenInfo()[i]); } - // Btc - tokenRanges["btc"] = Btc.getTokenRanges(); - for (uint8 i = 0; i < Btc.getTokenInfo().length; i++) { - tokenInfo["btc"].push(Btc.getTokenInfo()[i]); - } - - // ada - tokenRanges["ada"] = Ada.getTokenRanges(); - for (uint8 i = 0; i < Ada.getTokenInfo().length; i++) { - tokenInfo["ada"].push(Ada.getTokenInfo()[i]); - } + // Btc + tokenRanges["btc"] = Btc.getTokenRanges(); + for (uint8 i = 0; i < Btc.getTokenInfo().length; i++) { + tokenInfo["btc"].push(Btc.getTokenInfo()[i]); + } + + // ada + tokenRanges["ada"] = Ada.getTokenRanges(); + for (uint8 i = 0; i < Ada.getTokenInfo().length; i++) { + tokenInfo["ada"].push(Ada.getTokenInfo()[i]); + } // amp tokenRanges["amp"] = Amp.getTokenRanges(); From 562a576fb01828cab24b565dcc6f4f90c070b608 Mon Sep 17 00:00:00 2001 From: Verin1005 Date: Mon, 29 Jul 2024 21:08:20 +0800 Subject: [PATCH 10/14] add hardhat-gas-reporter --- .../src/dynamic/hardhat.config.ts | 6 +- .../assertion-build/src/dynamic/package.json | 1 + .../src/dynamic/pnpm-lock.yaml | 818 ++++++------------ 3 files changed, 270 insertions(+), 555 deletions(-) diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/hardhat.config.ts b/tee-worker/litentry/core/assertion-build/src/dynamic/hardhat.config.ts index 190950b402..78aa5aeba7 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/hardhat.config.ts +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/hardhat.config.ts @@ -1,6 +1,6 @@ import { HardhatUserConfig } from 'hardhat/config' import '@nomicfoundation/hardhat-toolbox' - +import 'hardhat-gas-reporter' const config: HardhatUserConfig = { solidity: '0.8.11', paths: { @@ -12,8 +12,12 @@ const config: HardhatUserConfig = { accounts: { accountsBalance: '1000000000000000000000', }, + blockGasLimit: 1000000000, }, }, + gasReporter: { + enabled: true, + }, } export default config diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/package.json b/tee-worker/litentry/core/assertion-build/src/dynamic/package.json index 9a835ef4c1..62f8f87318 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/package.json +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/package.json @@ -19,6 +19,7 @@ "chai-as-promised": "^8.0.0", "ethers": "^6.13.1", "hardhat": "^2.22.6", + "hardhat-gas-reporter": "^2.2.0", "prettier": "^3.3.3", "prettier-plugin-solidity": "^1.3.1" }, diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/pnpm-lock.yaml b/tee-worker/litentry/core/assertion-build/src/dynamic/pnpm-lock.yaml index ffeb2e738d..bd1c7dd3d9 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/pnpm-lock.yaml +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/pnpm-lock.yaml @@ -13,7 +13,7 @@ devDependencies: version: 1.0.11(hardhat@2.22.6) '@nomicfoundation/hardhat-toolbox': specifier: ^5.0.0 - version: 5.0.0(@nomicfoundation/hardhat-chai-matchers@2.0.7)(@nomicfoundation/hardhat-ethers@3.0.6)(@nomicfoundation/hardhat-ignition-ethers@0.15.5)(@nomicfoundation/hardhat-network-helpers@1.0.11)(@nomicfoundation/hardhat-verify@2.0.8)(@typechain/ethers-v6@0.5.1)(@typechain/hardhat@9.1.0)(@types/chai@4.3.16)(@types/mocha@10.0.7)(@types/node@20.14.12)(chai@4.4.1)(ethers@6.13.1)(hardhat-gas-reporter@1.0.10)(hardhat@2.22.6)(solidity-coverage@0.8.12)(ts-node@10.9.2)(typechain@8.3.2)(typescript@5.5.4) + version: 5.0.0(@nomicfoundation/hardhat-chai-matchers@2.0.7)(@nomicfoundation/hardhat-ethers@3.0.6)(@nomicfoundation/hardhat-ignition-ethers@0.15.5)(@nomicfoundation/hardhat-network-helpers@1.0.11)(@nomicfoundation/hardhat-verify@2.0.8)(@typechain/ethers-v6@0.5.1)(@typechain/hardhat@9.1.0)(@types/chai@4.3.16)(@types/mocha@10.0.7)(@types/node@20.14.12)(chai@4.4.1)(ethers@6.13.1)(hardhat-gas-reporter@2.2.0)(hardhat@2.22.6)(solidity-coverage@0.8.12)(ts-node@10.9.2)(typechain@8.3.2)(typescript@5.5.4) '@openzeppelin/contracts': specifier: ^4.9.6 version: 4.9.6 @@ -29,6 +29,9 @@ devDependencies: hardhat: specifier: ^2.22.6 version: 2.22.6(ts-node@10.9.2)(typescript@5.5.4) + hardhat-gas-reporter: + specifier: ^2.2.0 + version: 2.2.0(hardhat@2.22.6)(typescript@5.5.4) prettier: specifier: ^3.3.3 version: 3.3.3 @@ -38,10 +41,21 @@ devDependencies: packages: + /@adraffy/ens-normalize@1.10.0: + resolution: {integrity: sha512-nA9XHtlAkYfJxY7bce8DcN7eKxWWCWkU+1GR9d+U6MbNpfwQp8TI7vqOsBsMcHoT4mBu2kypKoSKnghEzOOq5Q==} + dev: true + /@adraffy/ens-normalize@1.10.1: resolution: {integrity: sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==} dev: true + /@colors/colors@1.5.0: + resolution: {integrity: sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==} + engines: {node: '>=0.1.90'} + requiresBuild: true + dev: true + optional: true + /@cspotcode/source-map-support@0.8.1: resolution: {integrity: sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==} engines: {node: '>=12'} @@ -126,13 +140,6 @@ packages: '@ethersproject/bytes': 5.7.0 dev: true - /@ethersproject/basex@5.7.0: - resolution: {integrity: sha512-ywlh43GwZLv2Voc2gQVTKBoVQ1mti3d8HK5aMxsfu/nRDnMmNqaSJ3r3n85HBByT8OpoY96SXM1FogC533T4zw==} - dependencies: - '@ethersproject/bytes': 5.7.0 - '@ethersproject/properties': 5.7.0 - dev: true - /@ethersproject/bignumber@5.7.0: resolution: {integrity: sha512-n1CAdIHRWjSucQO3MC1zPSVgV/6dy/fjL9pMrPP9peL+QxEg9wOsVqwD4+818B6LUEtaXzVHQiuivzRoxPxUGw==} dependencies: @@ -153,21 +160,6 @@ packages: '@ethersproject/bignumber': 5.7.0 dev: true - /@ethersproject/contracts@5.7.0: - resolution: {integrity: sha512-5GJbzEU3X+d33CdfPhcyS+z8MzsTrBGk/sc+G+59+tPa9yFkl6HQ9D6L0QMgNTA9q8dT0XKxxkyp883XsQvbbg==} - dependencies: - '@ethersproject/abi': 5.7.0 - '@ethersproject/abstract-provider': 5.7.0 - '@ethersproject/abstract-signer': 5.7.0 - '@ethersproject/address': 5.7.0 - '@ethersproject/bignumber': 5.7.0 - '@ethersproject/bytes': 5.7.0 - '@ethersproject/constants': 5.7.0 - '@ethersproject/logger': 5.7.0 - '@ethersproject/properties': 5.7.0 - '@ethersproject/transactions': 5.7.0 - dev: true - /@ethersproject/hash@5.7.0: resolution: {integrity: sha512-qX5WrQfnah1EFnO5zJv1v46a8HW0+E5xuBBDTwMFZLuVTx0tbU2kkx15NqdjxecrLGatQN9FGQKpb1FKdHCt+g==} dependencies: @@ -182,41 +174,6 @@ packages: '@ethersproject/strings': 5.7.0 dev: true - /@ethersproject/hdnode@5.7.0: - resolution: {integrity: sha512-OmyYo9EENBPPf4ERhR7oj6uAtUAhYGqOnIS+jE5pTXvdKBS99ikzq1E7Iv0ZQZ5V36Lqx1qZLeak0Ra16qpeOg==} - dependencies: - '@ethersproject/abstract-signer': 5.7.0 - '@ethersproject/basex': 5.7.0 - '@ethersproject/bignumber': 5.7.0 - '@ethersproject/bytes': 5.7.0 - '@ethersproject/logger': 5.7.0 - '@ethersproject/pbkdf2': 5.7.0 - '@ethersproject/properties': 5.7.0 - '@ethersproject/sha2': 5.7.0 - '@ethersproject/signing-key': 5.7.0 - '@ethersproject/strings': 5.7.0 - '@ethersproject/transactions': 5.7.0 - '@ethersproject/wordlists': 5.7.0 - dev: true - - /@ethersproject/json-wallets@5.7.0: - resolution: {integrity: sha512-8oee5Xgu6+RKgJTkvEMl2wDgSPSAQ9MB/3JYjFV9jlKvcYHUXZC+cQp0njgmxdHkYWn8s6/IqIZYm0YWCjO/0g==} - dependencies: - '@ethersproject/abstract-signer': 5.7.0 - '@ethersproject/address': 5.7.0 - '@ethersproject/bytes': 5.7.0 - '@ethersproject/hdnode': 5.7.0 - '@ethersproject/keccak256': 5.7.0 - '@ethersproject/logger': 5.7.0 - '@ethersproject/pbkdf2': 5.7.0 - '@ethersproject/properties': 5.7.0 - '@ethersproject/random': 5.7.0 - '@ethersproject/strings': 5.7.0 - '@ethersproject/transactions': 5.7.0 - aes-js: 3.0.0 - scrypt-js: 3.0.1 - dev: true - /@ethersproject/keccak256@5.7.0: resolution: {integrity: sha512-2UcPboeL/iW+pSg6vZ6ydF8tCnv3Iu/8tUmLLzWWGzxWKFFqOBQFLo6uLUv6BDrLgCDfN28RJ/wtByx+jZ4KBg==} dependencies: @@ -234,54 +191,12 @@ packages: '@ethersproject/logger': 5.7.0 dev: true - /@ethersproject/pbkdf2@5.7.0: - resolution: {integrity: sha512-oR/dBRZR6GTyaofd86DehG72hY6NpAjhabkhxgr3X2FpJtJuodEl2auADWBZfhDHgVCbu3/H/Ocq2uC6dpNjjw==} - dependencies: - '@ethersproject/bytes': 5.7.0 - '@ethersproject/sha2': 5.7.0 - dev: true - /@ethersproject/properties@5.7.0: resolution: {integrity: sha512-J87jy8suntrAkIZtecpxEPxY//szqr1mlBaYlQ0r4RCaiD2hjheqF9s1LVE8vVuJCXisjIP+JgtK/Do54ej4Sw==} dependencies: '@ethersproject/logger': 5.7.0 dev: true - /@ethersproject/providers@5.7.2: - resolution: {integrity: sha512-g34EWZ1WWAVgr4aptGlVBF8mhl3VWjv+8hoAnzStu8Ah22VHBsuGzP17eb6xDVRzw895G4W7vvx60lFFur/1Rg==} - dependencies: - '@ethersproject/abstract-provider': 5.7.0 - '@ethersproject/abstract-signer': 5.7.0 - '@ethersproject/address': 5.7.0 - '@ethersproject/base64': 5.7.0 - '@ethersproject/basex': 5.7.0 - '@ethersproject/bignumber': 5.7.0 - '@ethersproject/bytes': 5.7.0 - '@ethersproject/constants': 5.7.0 - '@ethersproject/hash': 5.7.0 - '@ethersproject/logger': 5.7.0 - '@ethersproject/networks': 5.7.1 - '@ethersproject/properties': 5.7.0 - '@ethersproject/random': 5.7.0 - '@ethersproject/rlp': 5.7.0 - '@ethersproject/sha2': 5.7.0 - '@ethersproject/strings': 5.7.0 - '@ethersproject/transactions': 5.7.0 - '@ethersproject/web': 5.7.1 - bech32: 1.1.4 - ws: 7.4.6 - transitivePeerDependencies: - - bufferutil - - utf-8-validate - dev: true - - /@ethersproject/random@5.7.0: - resolution: {integrity: sha512-19WjScqRA8IIeWclFme75VMXSBvi4e6InrUNuaR4s5pTF2qNhcGdCUwdxUVGtDDqC00sDLCO93jPQoDUH4HVmQ==} - dependencies: - '@ethersproject/bytes': 5.7.0 - '@ethersproject/logger': 5.7.0 - dev: true - /@ethersproject/rlp@5.7.0: resolution: {integrity: sha512-rBxzX2vK8mVF7b0Tol44t5Tb8gomOHkj5guL+HhzQ1yBh/ydjGnpw6at+X6Iw0Kp3OzzzkcKp8N9r0W4kYSs9w==} dependencies: @@ -289,14 +204,6 @@ packages: '@ethersproject/logger': 5.7.0 dev: true - /@ethersproject/sha2@5.7.0: - resolution: {integrity: sha512-gKlH42riwb3KYp0reLsFTokByAKoJdgFCwI+CCiX/k+Jm2mbNs6oOaCjYQSlI1+XBVejwH2KrmCbMAT/GnRDQw==} - dependencies: - '@ethersproject/bytes': 5.7.0 - '@ethersproject/logger': 5.7.0 - hash.js: 1.1.7 - dev: true - /@ethersproject/signing-key@5.7.0: resolution: {integrity: sha512-MZdy2nL3wO0u7gkB4nA/pEf8lu1TlFswPNmy8AiYkfKTdO6eXBJyUdmHO/ehm/htHw9K/qF8ujnTyUAD+Ry54Q==} dependencies: @@ -308,17 +215,6 @@ packages: hash.js: 1.1.7 dev: true - /@ethersproject/solidity@5.7.0: - resolution: {integrity: sha512-HmabMd2Dt/raavyaGukF4XxizWKhKQ24DoLtdNbBmNKUOPqwjsKQSdV9GQtj9CBEea9DlzETlVER1gYeXXBGaA==} - dependencies: - '@ethersproject/bignumber': 5.7.0 - '@ethersproject/bytes': 5.7.0 - '@ethersproject/keccak256': 5.7.0 - '@ethersproject/logger': 5.7.0 - '@ethersproject/sha2': 5.7.0 - '@ethersproject/strings': 5.7.0 - dev: true - /@ethersproject/strings@5.7.0: resolution: {integrity: sha512-/9nu+lj0YswRNSH0NXYqrh8775XNyEdUQAuf3f+SmOrnVewcJ5SBNAjF7lpgehKi4abvNNXyf+HX86czCdJ8Mg==} dependencies: @@ -349,26 +245,6 @@ packages: '@ethersproject/logger': 5.7.0 dev: true - /@ethersproject/wallet@5.7.0: - resolution: {integrity: sha512-MhmXlJXEJFBFVKrDLB4ZdDzxcBxQ3rLyCkhNqVu3CDYvR97E+8r01UgrI+TI99Le+aYm/in/0vp86guJuM7FCA==} - dependencies: - '@ethersproject/abstract-provider': 5.7.0 - '@ethersproject/abstract-signer': 5.7.0 - '@ethersproject/address': 5.7.0 - '@ethersproject/bignumber': 5.7.0 - '@ethersproject/bytes': 5.7.0 - '@ethersproject/hash': 5.7.0 - '@ethersproject/hdnode': 5.7.0 - '@ethersproject/json-wallets': 5.7.0 - '@ethersproject/keccak256': 5.7.0 - '@ethersproject/logger': 5.7.0 - '@ethersproject/properties': 5.7.0 - '@ethersproject/random': 5.7.0 - '@ethersproject/signing-key': 5.7.0 - '@ethersproject/transactions': 5.7.0 - '@ethersproject/wordlists': 5.7.0 - dev: true - /@ethersproject/web@5.7.1: resolution: {integrity: sha512-Gueu8lSvyjBWL4cYsWsjh6MtMwM0+H4HvqFPZfB6dV8ctbP9zFAO73VG1cMWae0FLPCtz0peKPpZY8/ugJJX2w==} dependencies: @@ -379,21 +255,23 @@ packages: '@ethersproject/strings': 5.7.0 dev: true - /@ethersproject/wordlists@5.7.0: - resolution: {integrity: sha512-S2TFNJNfHWVHNE6cNDjbVlZ6MgE17MIxMbMg2zv3wn+3XSJGosL1m9ZVv3GXCf/2ymSsQ+hRI5IzoMJTG6aoVA==} - dependencies: - '@ethersproject/bytes': 5.7.0 - '@ethersproject/hash': 5.7.0 - '@ethersproject/logger': 5.7.0 - '@ethersproject/properties': 5.7.0 - '@ethersproject/strings': 5.7.0 - dev: true - /@fastify/busboy@2.1.1: resolution: {integrity: sha512-vBZP4NlzfOlerQTnba4aqZoMhE/a9HY7HRqoOPaETQcSQuWEIyZMHGfVu6w9wGtGK5fED5qRs2DteVCjOH60sA==} engines: {node: '>=14'} dev: true + /@isaacs/cliui@8.0.2: + resolution: {integrity: sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==} + engines: {node: '>=12'} + dependencies: + string-width: 5.1.2 + string-width-cjs: /string-width@4.2.3 + strip-ansi: 7.1.0 + strip-ansi-cjs: /strip-ansi@6.0.1 + wrap-ansi: 8.1.0 + wrap-ansi-cjs: /wrap-ansi@7.0.0 + dev: true + /@jridgewell/resolve-uri@3.1.2: resolution: {integrity: sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==} engines: {node: '>=6.0.0'} @@ -639,7 +517,7 @@ packages: hardhat: 2.22.6(ts-node@10.9.2)(typescript@5.5.4) dev: true - /@nomicfoundation/hardhat-toolbox@5.0.0(@nomicfoundation/hardhat-chai-matchers@2.0.7)(@nomicfoundation/hardhat-ethers@3.0.6)(@nomicfoundation/hardhat-ignition-ethers@0.15.5)(@nomicfoundation/hardhat-network-helpers@1.0.11)(@nomicfoundation/hardhat-verify@2.0.8)(@typechain/ethers-v6@0.5.1)(@typechain/hardhat@9.1.0)(@types/chai@4.3.16)(@types/mocha@10.0.7)(@types/node@20.14.12)(chai@4.4.1)(ethers@6.13.1)(hardhat-gas-reporter@1.0.10)(hardhat@2.22.6)(solidity-coverage@0.8.12)(ts-node@10.9.2)(typechain@8.3.2)(typescript@5.5.4): + /@nomicfoundation/hardhat-toolbox@5.0.0(@nomicfoundation/hardhat-chai-matchers@2.0.7)(@nomicfoundation/hardhat-ethers@3.0.6)(@nomicfoundation/hardhat-ignition-ethers@0.15.5)(@nomicfoundation/hardhat-network-helpers@1.0.11)(@nomicfoundation/hardhat-verify@2.0.8)(@typechain/ethers-v6@0.5.1)(@typechain/hardhat@9.1.0)(@types/chai@4.3.16)(@types/mocha@10.0.7)(@types/node@20.14.12)(chai@4.4.1)(ethers@6.13.1)(hardhat-gas-reporter@2.2.0)(hardhat@2.22.6)(solidity-coverage@0.8.12)(ts-node@10.9.2)(typechain@8.3.2)(typescript@5.5.4): resolution: {integrity: sha512-FnUtUC5PsakCbwiVNsqlXVIWG5JIb5CEZoSXbJUsEBun22Bivx2jhF1/q9iQbzuaGpJKFQyOhemPB2+XlEE6pQ==} peerDependencies: '@nomicfoundation/hardhat-chai-matchers': ^2.0.0 @@ -674,7 +552,7 @@ packages: chai: 4.4.1 ethers: 6.13.1 hardhat: 2.22.6(ts-node@10.9.2)(typescript@5.5.4) - hardhat-gas-reporter: 1.0.10(hardhat@2.22.6) + hardhat-gas-reporter: 2.2.0(hardhat@2.22.6)(typescript@5.5.4) solidity-coverage: 0.8.12(hardhat@2.22.6) ts-node: 10.9.2(@types/node@20.14.12)(typescript@5.5.4) typechain: 8.3.2(typescript@5.5.4) @@ -788,6 +666,13 @@ packages: resolution: {integrity: sha512-xSmezSupL+y9VkHZJGDoCBpmnB2ogM13ccaYDWqJTfS3dbuHkgjuwDFUmaFauBCboQMGB/S5UqUl2y54X99BmA==} dev: true + /@pkgjs/parseargs@0.11.0: + resolution: {integrity: sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==} + engines: {node: '>=14'} + requiresBuild: true + dev: true + optional: true + /@scure/base@1.1.7: resolution: {integrity: sha512-PPNYBslrLNNUQ/Yad37MHYsNQtK67EhWb6WtSvNLLPo7SdVZgkUjD6Dg+5On7zNwmskf8OX7I7Nx5oN+MIWE0g==} dev: true @@ -800,6 +685,14 @@ packages: '@scure/base': 1.1.7 dev: true + /@scure/bip32@1.3.2: + resolution: {integrity: sha512-N1ZhksgwD3OBlwTv3R6KFEcPojl/W4ElJOeCZdi+vuI5QmTFwLq3OFf2zd2ROpKvxFdgZ6hUpb0dx9bVNEwYCA==} + dependencies: + '@noble/curves': 1.2.0 + '@noble/hashes': 1.3.2 + '@scure/base': 1.1.7 + dev: true + /@scure/bip32@1.4.0: resolution: {integrity: sha512-sVUpc0Vq3tXCkDGYVWGIZTRfnvu8LoTDaev7vbwh0omSvVORONr960MQWdKqJDCReIEmTj3PAr73O3aoxz7OPg==} dependencies: @@ -815,6 +708,13 @@ packages: '@scure/base': 1.1.7 dev: true + /@scure/bip39@1.2.1: + resolution: {integrity: sha512-Z3/Fsz1yr904dduJD0NpiyRHhRYHdcnyh73FZWiV+/qhWi83wNJ3NWolYqCEN+ZWsUz2TWwajJggcRE9r1zUYg==} + dependencies: + '@noble/hashes': 1.3.2 + '@scure/base': 1.1.7 + dev: true + /@scure/bip39@1.3.0: resolution: {integrity: sha512-disdg7gHuTDZtY+ZdkmLpPCk7fxZSu3gBiEGuoC1XYxv9cGx3Z6cpTggCgW6odSOOIXCiDjuGejW+aJKCY/pIQ==} dependencies: @@ -892,12 +792,6 @@ packages: tslib: 1.14.1 dev: true - /@solidity-parser/parser@0.14.5: - resolution: {integrity: sha512-6dKnHZn7fg/iQATVEzqyUOyEidbn05q7YA2mQ9hC0MMXhhV3/JrsxmFSYZAcr7j1yUP700LLhTruvJ3MiQmjJg==} - dependencies: - antlr4ts: 0.5.0-alpha.4 - dev: true - /@solidity-parser/parser@0.17.0: resolution: {integrity: sha512-Nko8R0/kUo391jsEHHxrGM07QFdnPGvlmox4rmH0kNiNAashItAilhy4Mv4pK5gQmW5f4sXAF58fwJbmlkGcVw==} dev: true @@ -973,18 +867,6 @@ packages: resolution: {integrity: sha512-PatH4iOdyh3MyWtmHVFXLWCCIhUbopaltqddG9BzB+gMIzee2MJrvd+jouii9Z3wzQJruGWAm7WOMjgfG8hQlQ==} dev: true - /@types/concat-stream@1.6.1: - resolution: {integrity: sha512-eHE4cQPoj6ngxBZMvVf6Hw7Mh4jMW4U9lpGmS5GBPB9RYxlFg+CHaVN7ErNY4W9XfLIEn20b4VDYaIrbq0q4uA==} - dependencies: - '@types/node': 20.14.12 - dev: true - - /@types/form-data@0.0.33: - resolution: {integrity: sha512-8BSvG1kGm83cyJITQMZSulnl6QV8jqAGreJsc5tPu1Jq0vTSOiY/k24Wx82JRpWwZSqrala6sd5rWi6aNXvqcw==} - dependencies: - '@types/node': 20.14.12 - dev: true - /@types/glob@7.2.0: resolution: {integrity: sha512-ZUxbzKl0IfJILTS6t7ip5fQQM/J3TJYubDm3nMbgubNNYS62eXeUpoLUC8/7fJNiFYHTrGPQn7hspDUzIHX3UA==} dependencies: @@ -1004,10 +886,6 @@ packages: resolution: {integrity: sha512-GN8yJ1mNTcFcah/wKEFIJckJx9iJLoMSzWcfRRuxz/Jk+U6KQNnml+etbtxFK8lPjzOw3zp4Ha/kjSst9fsHYw==} dev: true - /@types/node@10.17.60: - resolution: {integrity: sha512-F0KIgDJfy2nA3zMLmWGKxcH2ZVEtCZXHHdOQs2gSaQ27+lNeEfGxzkIw90aXswATX7AZ33tahPbzy6KAfUreVw==} - dev: true - /@types/node@18.15.13: resolution: {integrity: sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==} dev: true @@ -1018,10 +896,6 @@ packages: undici-types: 5.26.5 dev: true - /@types/node@8.10.66: - resolution: {integrity: sha512-tktOkFUA4kXx2hhhrB8bIFb5TbwzS4uOhKEmwiD+NoiL0qtP2OQ9mFldbgD4dV1djrlBYP6eBuQZiWjuHUpqFw==} - dev: true - /@types/pbkdf2@3.1.2: resolution: {integrity: sha512-uRwJqmiXmh9++aSu1VNEn3iIxWOhd8AHXNSdlaLfdAAdSTY9jYVeGWnzejM3dvrkbqE3/hyQkQQ29IFATEGlew==} dependencies: @@ -1032,10 +906,6 @@ packages: resolution: {integrity: sha512-+68kP9yzs4LMp7VNh8gdzMSPZFL44MLGqiHWvttYJe+6qnuVr4Ek9wSBQoveqY/r+LwjCcU29kNVkidwim+kYA==} dev: true - /@types/qs@6.9.15: - resolution: {integrity: sha512-uXHQKES6DQKKCLh441Xv/dwxOq1TVS3JPUMlEqoEglvlhR6Mxnlew/Xq/LRVHpLyk7iK3zODe1qYHIMltO7XGg==} - dev: true - /@types/secp256k1@4.0.6: resolution: {integrity: sha512-hHxJU6PAEUn0TP4S/ZOzuTUvJWuZ6eIKeNKb5RBpODvSl6hp1Wrw4s7ATY50rklRCScUDpHzVA/DQdSjJ3UoYQ==} dependencies: @@ -1046,6 +916,20 @@ packages: resolution: {integrity: sha512-LEyx4aLEC3x6T0UguF6YILf+ntvmOaWsVfENmIW0E9H09vKlLDGelMjjSm0jkDHALj8A8quZ/HapKNigzwge+Q==} dev: true + /abitype@1.0.0(typescript@5.5.4): + resolution: {integrity: sha512-NMeMah//6bJ56H5XRj8QCV4AwuW6hB6zqz2LnhhLdcWVQOsXki6/Pn3APeqxCma62nXIcmZWdu1DlHWS74umVQ==} + peerDependencies: + typescript: '>=5.0.4' + zod: ^3 >=3.22.0 + peerDependenciesMeta: + typescript: + optional: true + zod: + optional: true + dependencies: + typescript: 5.5.4 + dev: true + /acorn-walk@8.3.3: resolution: {integrity: sha512-MxXdReSRhGO7VlFe1bRG/oI7/mdLV9B9JJT0N8vZOhF7gFRR5l3M8W9G8JxmKV+JC5mGqJ0QvqfSOLsCPa4nUw==} engines: {node: '>=0.4.0'} @@ -1064,10 +948,6 @@ packages: engines: {node: '>=0.3.0'} dev: true - /aes-js@3.0.0: - resolution: {integrity: sha512-H7wUZRn8WpTq9jocdxQ2c8x2sKo9ZVmzfRE13GiNJXfp7NcKYEdvl3vspKjXox6RIG2VtaRe4JFvxG4rqp2Zuw==} - dev: true - /aes-js@4.0.0-beta.5: resolution: {integrity: sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==} dev: true @@ -1123,16 +1003,16 @@ packages: type-fest: 0.21.3 dev: true - /ansi-regex@3.0.1: - resolution: {integrity: sha512-+O9Jct8wf++lXxxFc4hc8LsjaSq0HFzzL7cVsw8pRDIPdjKD2mT4ytDZlLuSBZ4cLKZFXIrMGO7DbQCtMJJMKw==} - engines: {node: '>=4'} - dev: true - /ansi-regex@5.0.1: resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==} engines: {node: '>=8'} dev: true + /ansi-regex@6.0.1: + resolution: {integrity: sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==} + engines: {node: '>=12'} + dev: true + /ansi-styles@3.2.1: resolution: {integrity: sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==} engines: {node: '>=4'} @@ -1147,8 +1027,9 @@ packages: color-convert: 2.0.1 dev: true - /antlr4ts@0.5.0-alpha.4: - resolution: {integrity: sha512-WPQDt1B74OfPv/IMS2ekXAKkTZIHl88uMetg6q3OTqgFxZ/dxDXI0EWLyZid/1Pe6hTftyg5N7gel5wNAGxXyQ==} + /ansi-styles@6.2.1: + resolution: {integrity: sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==} + engines: {node: '>=12'} dev: true /anymatch@3.1.3: @@ -1188,15 +1069,6 @@ packages: engines: {node: '>=8'} dev: true - /array-uniq@1.0.3: - resolution: {integrity: sha512-MNha4BWQ6JbwhFhj03YK552f7cb3AzoE8SzeljgChvL1dl3IcvggXVz1DilzySZkCja+CXuZbdW7yATchWn8/Q==} - engines: {node: '>=0.10.0'} - dev: true - - /asap@2.0.6: - resolution: {integrity: sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA==} - dev: true - /assertion-error@1.1.0: resolution: {integrity: sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==} dev: true @@ -1239,10 +1111,6 @@ packages: safe-buffer: 5.2.1 dev: true - /bech32@1.1.4: - resolution: {integrity: sha512-s0IrSOzLlbvX7yp4WBfPITzpAU8sqQcpsmwXDiKwrG4r491vwCO/XpejasRNl0piBMe/DvP4Tz0mIS/X1DPJBQ==} - dev: true - /binary-extensions@2.3.0: resolution: {integrity: sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==} engines: {node: '>=8'} @@ -1302,6 +1170,10 @@ packages: resolution: {integrity: sha512-cKV8tMCEpQs4hK/ik71d6LrPOnpkpGBR0wzxqr68g2m/LB2GxVYQroAjMJZRVM1Y4BCjCKc3vAamxSzOY2RP+w==} dev: true + /brotli-wasm@2.0.1: + resolution: {integrity: sha512-+3USgYsC7bzb5yU0/p2HnnynZl0ak0E6uoIm4UW4Aby/8s8HFCq6NCfrrf1E9c3O8OCSzq3oYO1tUVqIi61Nww==} + dev: true + /browser-stdout@1.3.1: resolution: {integrity: sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw==} dev: true @@ -1344,26 +1216,11 @@ packages: engines: {node: '>= 0.8'} dev: true - /call-bind@1.0.7: - resolution: {integrity: sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==} - engines: {node: '>= 0.4'} - dependencies: - es-define-property: 1.0.0 - es-errors: 1.3.0 - function-bind: 1.1.2 - get-intrinsic: 1.2.4 - set-function-length: 1.2.2 - dev: true - /camelcase@6.3.0: resolution: {integrity: sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==} engines: {node: '>=10'} dev: true - /caseless@0.12.0: - resolution: {integrity: sha512-4tYFyifaFfGacoiObjJegolkwSU4xQNGbVgUiNYVUxbQ2x2lUsFvY4hVgVzGiIe6WLOPqycWXA40l+PWsxthUw==} - dev: true - /cbor@8.1.0: resolution: {integrity: sha512-DwGjNW9omn6EwP70aXsn7FQJx5kO12tX0bZkaTjzdVFM6/7nhA4t0EENocKGx6D2Bch9PE2KzCUf5SceBdeijg==} engines: {node: '>=12.19'} @@ -1477,14 +1334,13 @@ packages: engines: {node: '>=6'} dev: true - /cli-table3@0.5.1: - resolution: {integrity: sha512-7Qg2Jrep1S/+Q3EceiZtQcDPWxhAvBw+ERf1162v4sikJrvojMHFqXt8QIVha8UlH9rgU0BeWPytZ9/TzYqlUw==} - engines: {node: '>=6'} + /cli-table3@0.6.5: + resolution: {integrity: sha512-+W/5efTR7y5HRD7gACw9yQjqMVvEMLBHmboM/kPWam+H+Hmyrgjh6YncVKK122YZkXrLudzTuAukUw9FnMf7IQ==} + engines: {node: 10.* || >= 12.*} dependencies: - object-assign: 4.1.1 - string-width: 2.1.1 + string-width: 4.2.3 optionalDependencies: - colors: 1.4.0 + '@colors/colors': 1.5.0 dev: true /cliui@7.0.4: @@ -1516,11 +1372,6 @@ packages: resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==} dev: true - /colors@1.4.0: - resolution: {integrity: sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA==} - engines: {node: '>=0.1.90'} - dev: true - /combined-stream@1.0.8: resolution: {integrity: sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==} engines: {node: '>= 0.8'} @@ -1561,25 +1412,11 @@ packages: resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==} dev: true - /concat-stream@1.6.2: - resolution: {integrity: sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==} - engines: {'0': node >= 0.8} - dependencies: - buffer-from: 1.1.2 - inherits: 2.0.4 - readable-stream: 2.3.8 - typedarray: 0.0.6 - dev: true - /cookie@0.4.2: resolution: {integrity: sha512-aSWTXFzaKWkvHO1Ny/s+ePFpvKsPnjc551iI41v3ny/ow6tBG5Vd+FuqGNhh1LxOmVzOlGUriIlOaokOvhaStA==} engines: {node: '>= 0.6'} dev: true - /core-util-is@1.0.3: - resolution: {integrity: sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==} - dev: true - /create-hash@1.2.0: resolution: {integrity: sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg==} dependencies: @@ -1605,6 +1442,15 @@ packages: resolution: {integrity: sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==} dev: true + /cross-spawn@7.0.3: + resolution: {integrity: sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==} + engines: {node: '>= 8'} + dependencies: + path-key: 3.1.1 + shebang-command: 2.0.0 + which: 2.0.2 + dev: true + /crypt@0.0.2: resolution: {integrity: sha512-mCxBlsHFYh9C+HVpiEacem8FEBnMXgU9gy4zmNC+SXAZNB/1idgp/aulFJ4FgCi7GPEVbfyng092GqL2k2rmow==} dev: true @@ -1647,15 +1493,6 @@ packages: resolution: {integrity: sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==} dev: true - /define-data-property@1.1.4: - resolution: {integrity: sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==} - engines: {node: '>= 0.4'} - dependencies: - es-define-property: 1.0.0 - es-errors: 1.3.0 - gopd: 1.0.1 - dev: true - /delayed-stream@1.0.0: resolution: {integrity: sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==} engines: {node: '>=0.4.0'} @@ -1689,6 +1526,10 @@ packages: path-type: 4.0.0 dev: true + /eastasianwidth@0.2.0: + resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==} + dev: true + /elliptic@6.5.4: resolution: {integrity: sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ==} dependencies: @@ -1717,6 +1558,10 @@ packages: resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==} dev: true + /emoji-regex@9.2.2: + resolution: {integrity: sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==} + dev: true + /enquirer@2.4.1: resolution: {integrity: sha512-rRqJg/6gd538VHvR3PSrdRBb/1Vy2YfzHqzvbhGIQpDRKIa4FgV/54b5Q1xYSxOOwKvjXweS26E0Q+nAMwp2pQ==} engines: {node: '>=8.6'} @@ -1730,18 +1575,6 @@ packages: engines: {node: '>=6'} dev: true - /es-define-property@1.0.0: - resolution: {integrity: sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==} - engines: {node: '>= 0.4'} - dependencies: - get-intrinsic: 1.2.4 - dev: true - - /es-errors@1.3.0: - resolution: {integrity: sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==} - engines: {node: '>= 0.4'} - dev: true - /escalade@3.1.2: resolution: {integrity: sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA==} engines: {node: '>=6'} @@ -1792,35 +1625,9 @@ packages: engines: {node: '>=0.10.0'} dev: true - /eth-gas-reporter@0.2.27: - resolution: {integrity: sha512-femhvoAM7wL0GcI8ozTdxfuBtBFJ9qsyIAsmKVjlWAHUbdnnXHt+lKzz/kmldM5lA9jLuNHGwuIxorNpLbR1Zw==} - peerDependencies: - '@codechecks/client': ^0.1.0 - peerDependenciesMeta: - '@codechecks/client': - optional: true - dependencies: - '@solidity-parser/parser': 0.14.5 - axios: 1.7.2 - cli-table3: 0.5.1 - colors: 1.4.0 - ethereum-cryptography: 1.2.0 - ethers: 5.7.2 - fs-readdir-recursive: 1.1.0 - lodash: 4.17.21 - markdown-table: 1.1.3 - mocha: 10.7.0 - req-cwd: 2.0.0 - sha1: 1.1.1 - sync-request: 6.1.0 - transitivePeerDependencies: - - bufferutil - - debug - - utf-8-validate - dev: true - /ethereum-bloom-filters@1.1.0: resolution: {integrity: sha512-J1gDRkLpuGNvWYzWslBQR9cDV4nd4kfvVTE/Wy4Kkm4yb3EYRSlyi0eB/inTsSTTVyA0+HyzHgbr95Fn/Z1fSw==} + deprecated: do not use this package use package versions above as this can miss some topics dependencies: '@noble/hashes': 1.4.0 dev: true @@ -1893,44 +1700,6 @@ packages: rlp: 2.2.7 dev: true - /ethers@5.7.2: - resolution: {integrity: sha512-wswUsmWo1aOK8rR7DIKiWSw9DbLWe6x98Jrn8wcTflTVvaXhAMaB5zGAXy0GYQEQp9iO1iSHWVyARQm11zUtyg==} - dependencies: - '@ethersproject/abi': 5.7.0 - '@ethersproject/abstract-provider': 5.7.0 - '@ethersproject/abstract-signer': 5.7.0 - '@ethersproject/address': 5.7.0 - '@ethersproject/base64': 5.7.0 - '@ethersproject/basex': 5.7.0 - '@ethersproject/bignumber': 5.7.0 - '@ethersproject/bytes': 5.7.0 - '@ethersproject/constants': 5.7.0 - '@ethersproject/contracts': 5.7.0 - '@ethersproject/hash': 5.7.0 - '@ethersproject/hdnode': 5.7.0 - '@ethersproject/json-wallets': 5.7.0 - '@ethersproject/keccak256': 5.7.0 - '@ethersproject/logger': 5.7.0 - '@ethersproject/networks': 5.7.1 - '@ethersproject/pbkdf2': 5.7.0 - '@ethersproject/properties': 5.7.0 - '@ethersproject/providers': 5.7.2 - '@ethersproject/random': 5.7.0 - '@ethersproject/rlp': 5.7.0 - '@ethersproject/sha2': 5.7.0 - '@ethersproject/signing-key': 5.7.0 - '@ethersproject/solidity': 5.7.0 - '@ethersproject/strings': 5.7.0 - '@ethersproject/transactions': 5.7.0 - '@ethersproject/units': 5.7.0 - '@ethersproject/wallet': 5.7.0 - '@ethersproject/web': 5.7.1 - '@ethersproject/wordlists': 5.7.0 - transitivePeerDependencies: - - bufferutil - - utf-8-validate - dev: true - /ethers@6.13.1: resolution: {integrity: sha512-hdJ2HOxg/xx97Lm9HdCWk949BfYqYWpyw4//78SiwOLgASyfrNszfMUNB2joKjvGUdwhHfaiMMFFwacVVoLR9A==} engines: {node: '>=14.0.0'} @@ -2045,13 +1814,12 @@ packages: debug: 4.3.5(supports-color@8.1.1) dev: true - /form-data@2.5.1: - resolution: {integrity: sha512-m21N3WOmEEURgk6B9GLOE4RuWOFf28Lhh9qGYeNlGq4VDXUlJy2th2slBNU8Gp8EzloYZOibZJ7t5ecIrFSjVA==} - engines: {node: '>= 0.12'} + /foreground-child@3.2.1: + resolution: {integrity: sha512-PXUUyLqrR2XCWICfv6ukppP96sdFwWbNEnfEMt7jNsISjMsvaLNinAHNDYyvkyU+SZG2BTSbT5NjG+vZslfGTA==} + engines: {node: '>=14'} dependencies: - asynckit: 0.4.0 - combined-stream: 1.0.8 - mime-types: 2.1.35 + cross-spawn: 7.0.3 + signal-exit: 4.1.0 dev: true /form-data@4.0.0: @@ -2104,10 +1872,6 @@ packages: universalify: 2.0.1 dev: true - /fs-readdir-recursive@1.1.0: - resolution: {integrity: sha512-GNanXlVr2pf02+sPN40XN8HG+ePaNcvM0q5mZBd668Obwb0yD5GiUbZOFgwn8kGMY6I3mdyDJzieUy3PTYyTRA==} - dev: true - /fs.realpath@1.0.0: resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==} dev: true @@ -2133,22 +1897,6 @@ packages: resolution: {integrity: sha512-8vXOvuE167CtIc3OyItco7N/dpRtBbYOsPsXCz7X/PMnlGjYjSGuZJgM1Y7mmew7BKf9BqvLX2tnOVy1BBUsxQ==} dev: true - /get-intrinsic@1.2.4: - resolution: {integrity: sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==} - engines: {node: '>= 0.4'} - dependencies: - es-errors: 1.3.0 - function-bind: 1.1.2 - has-proto: 1.0.3 - has-symbols: 1.0.3 - hasown: 2.0.2 - dev: true - - /get-port@3.2.0: - resolution: {integrity: sha512-x5UJKlgeUiNT8nyo/AcnwLnZuZNcSjSw0kogRB+Whd1fjjFq4B1hySFxSFWWSn4mIBzg3sRNUDFYc4g5gjPoLg==} - engines: {node: '>=4'} - dev: true - /ghost-testrpc@0.0.2: resolution: {integrity: sha512-i08dAEgJ2g8z5buJIrCTduwPIhih3DP+hOCTyyryikfV8T0bNvHnGXO67i0DD1H4GBDETTclPy9njZbfluQYrQ==} hasBin: true @@ -2164,6 +1912,18 @@ packages: is-glob: 4.0.3 dev: true + /glob@10.4.5: + resolution: {integrity: sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==} + hasBin: true + dependencies: + foreground-child: 3.2.1 + jackspeak: 3.4.3 + minimatch: 9.0.5 + minipass: 7.1.2 + package-json-from-dist: 1.0.0 + path-scurry: 1.11.1 + dev: true + /glob@5.0.15: resolution: {integrity: sha512-c9IPMazfRITpmAAKi22dK1VKxGDX9ehhqfABDriL/lzO92xcUKEJPQHrVA/2YHSNFB4iFlykVmWvwo48nr3OxA==} deprecated: Glob versions prior to v9 are no longer supported @@ -2253,12 +2013,6 @@ packages: slash: 3.0.0 dev: true - /gopd@1.0.1: - resolution: {integrity: sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==} - dependencies: - get-intrinsic: 1.2.4 - dev: true - /graceful-fs@4.2.11: resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==} dev: true @@ -2276,20 +2030,33 @@ packages: uglify-js: 3.19.0 dev: true - /hardhat-gas-reporter@1.0.10(hardhat@2.22.6): - resolution: {integrity: sha512-02N4+So/fZrzJ88ci54GqwVA3Zrf0C9duuTyGt0CFRIh/CdNwbnTgkXkRfojOMLBQ+6t+lBIkgbsOtqMvNwikA==} + /hardhat-gas-reporter@2.2.0(hardhat@2.22.6)(typescript@5.5.4): + resolution: {integrity: sha512-eAlLWnyDpQ+wJXgSCZsM0yt+rQm3ryJia1I1Hoi94LzlIfuSPcsMQM12VO6UHmAFLvXvoKxXPJ3ZYk0Kz+7CDQ==} peerDependencies: - hardhat: ^2.0.2 + hardhat: ^2.16.0 dependencies: - array-uniq: 1.0.3 - eth-gas-reporter: 0.2.27 + '@ethersproject/abi': 5.7.0 + '@ethersproject/bytes': 5.7.0 + '@ethersproject/units': 5.7.0 + '@solidity-parser/parser': 0.18.0 + axios: 1.7.2 + brotli-wasm: 2.0.1 + chalk: 4.1.2 + cli-table3: 0.6.5 + ethereum-cryptography: 2.2.1 + glob: 10.4.5 hardhat: 2.22.6(ts-node@10.9.2)(typescript@5.5.4) + jsonschema: 1.4.1 + lodash: 4.17.21 + markdown-table: 2.0.0 sha1: 1.1.1 + viem: 2.7.14(typescript@5.5.4) transitivePeerDependencies: - - '@codechecks/client' - bufferutil - debug + - typescript - utf-8-validate + - zod dev: true /hardhat@2.22.6(ts-node@10.9.2)(typescript@5.5.4): @@ -2371,22 +2138,6 @@ packages: engines: {node: '>=8'} dev: true - /has-property-descriptors@1.0.2: - resolution: {integrity: sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==} - dependencies: - es-define-property: 1.0.0 - dev: true - - /has-proto@1.0.3: - resolution: {integrity: sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==} - engines: {node: '>= 0.4'} - dev: true - - /has-symbols@1.0.3: - resolution: {integrity: sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==} - engines: {node: '>= 0.4'} - dev: true - /hash-base@3.1.0: resolution: {integrity: sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA==} engines: {node: '>=4'} @@ -2427,16 +2178,6 @@ packages: minimalistic-crypto-utils: 1.0.1 dev: true - /http-basic@8.1.3: - resolution: {integrity: sha512-/EcDMwJZh3mABI2NhGfHOGOeOZITqfkEO4p/xK+l3NpyncIHUQBoMvCSF/b5GqvKtySC2srL/GGG3+EtlqlmCw==} - engines: {node: '>=6.0.0'} - dependencies: - caseless: 0.12.0 - concat-stream: 1.6.2 - http-response-object: 3.0.2 - parse-cache-control: 1.0.1 - dev: true - /http-errors@2.0.0: resolution: {integrity: sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==} engines: {node: '>= 0.8'} @@ -2448,12 +2189,6 @@ packages: toidentifier: 1.0.1 dev: true - /http-response-object@3.0.2: - resolution: {integrity: sha512-bqX0XTF6fnXSQcEJ2Iuyr75yVakyjIDCqroJQ/aHfSdlM743Cwqoi2nDYMzLGWUcuTWGWy8AAvOKXTfiv6q9RA==} - dependencies: - '@types/node': 10.17.60 - dev: true - /https-proxy-agent@5.0.1: resolution: {integrity: sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==} engines: {node: '>= 6'} @@ -2535,11 +2270,6 @@ packages: engines: {node: '>=0.10.0'} dev: true - /is-fullwidth-code-point@2.0.0: - resolution: {integrity: sha512-VHskAKYM8RfSFXwee5t5cbN5PZeq1Wrh6qd5bkyiXIf6UQcN6w/A0eXM9r6t8d+GYOh+o6ZhiEnb88LN/Y8m2w==} - engines: {node: '>=4'} - dev: true - /is-fullwidth-code-point@3.0.0: resolution: {integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==} engines: {node: '>=8'} @@ -2572,14 +2302,26 @@ packages: engines: {node: '>=10'} dev: true - /isarray@1.0.0: - resolution: {integrity: sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==} - dev: true - /isexe@2.0.0: resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==} dev: true + /isows@1.0.3(ws@8.13.0): + resolution: {integrity: sha512-2cKei4vlmg2cxEjm3wVSqn8pcoRF/LX/wpifuuNquFO4SQmPwarClT+SUCA2lt+l581tTeZIPIZuIDo2jWN1fg==} + peerDependencies: + ws: '*' + dependencies: + ws: 8.13.0 + dev: true + + /jackspeak@3.4.3: + resolution: {integrity: sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==} + dependencies: + '@isaacs/cliui': 8.0.2 + optionalDependencies: + '@pkgjs/parseargs': 0.11.0 + dev: true + /js-sha3@0.8.0: resolution: {integrity: sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q==} dev: true @@ -2702,6 +2444,10 @@ packages: get-func-name: 2.0.2 dev: true + /lru-cache@10.4.3: + resolution: {integrity: sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==} + dev: true + /lru_map@0.3.3: resolution: {integrity: sha512-Pn9cox5CsMYngeDbmChANltQl+5pi6XmTrraMSzhPmMBbmgcxmqWry0U3PGapCU1yB4/LqCcom7qhHZiF/jGfQ==} dev: true @@ -2710,8 +2456,10 @@ packages: resolution: {integrity: sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==} dev: true - /markdown-table@1.1.3: - resolution: {integrity: sha512-1RUZVgQlpJSPWYbFSpmudq5nHY1doEIv89gBtF0s4gW1GF2XorxcA/70M5vq7rLv0a6mhOUccRsqkwhwLCIQ2Q==} + /markdown-table@2.0.0: + resolution: {integrity: sha512-Ezda85ToJUBhM6WGaG6veasyym+Tbs3cMAw/ZhOPqXiYsr0jgocBV3j3nx+4lk47plLlIqjwuTm/ywVI+zjJ/A==} + dependencies: + repeat-string: 1.6.1 dev: true /md5.js@1.3.5: @@ -2777,10 +2525,22 @@ packages: brace-expansion: 2.0.1 dev: true + /minimatch@9.0.5: + resolution: {integrity: sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==} + engines: {node: '>=16 || 14 >=14.17'} + dependencies: + brace-expansion: 2.0.1 + dev: true + /minimist@1.2.8: resolution: {integrity: sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==} dev: true + /minipass@7.1.2: + resolution: {integrity: sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==} + engines: {node: '>=16 || 14 >=14.17'} + dev: true + /mkdirp@0.5.6: resolution: {integrity: sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==} hasBin: true @@ -2891,16 +2651,6 @@ packages: strip-hex-prefix: 1.0.0 dev: true - /object-assign@4.1.1: - resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==} - engines: {node: '>=0.10.0'} - dev: true - - /object-inspect@1.13.2: - resolution: {integrity: sha512-IRZSRuzJiynemAXPYtPe5BoI/RESNYR7TYm50MC5Mqbd3Jmw5y790sErYw3V6SryFJD64b74qQQs9wn5Bg/k3g==} - engines: {node: '>= 0.4'} - dev: true - /obliterator@2.0.4: resolution: {integrity: sha512-lgHwxlxV1qIg1Eap7LgIeoBWIMFibOjbrYPIPJZcI1mmGAI2m3lNYpK12Y+GBdPQ0U1hRwSord7GIaawz962qQ==} dev: true @@ -2972,8 +2722,8 @@ packages: engines: {node: '>=4'} dev: true - /parse-cache-control@1.0.1: - resolution: {integrity: sha512-60zvsJReQPX5/QP0Kzfd/VrpjScIQ7SHBW6bFCYfEP+fp0Eppr1SHhIO5nd1PjZtvclzSzES9D/p5nFJurwfWg==} + /package-json-from-dist@1.0.0: + resolution: {integrity: sha512-dATvCeZN/8wQsGywez1mzHtTlP22H8OEfPrVMLNr4/eGa+ijtLn/6M5f0dY8UKNrC2O9UCU6SSoG3qRKnt7STw==} dev: true /path-exists@3.0.0: @@ -2991,10 +2741,23 @@ packages: engines: {node: '>=0.10.0'} dev: true + /path-key@3.1.1: + resolution: {integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==} + engines: {node: '>=8'} + dev: true + /path-parse@1.0.7: resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==} dev: true + /path-scurry@1.11.1: + resolution: {integrity: sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==} + engines: {node: '>=16 || 14 >=14.18'} + dependencies: + lru-cache: 10.4.3 + minipass: 7.1.2 + dev: true + /path-type@4.0.0: resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==} engines: {node: '>=8'} @@ -3054,16 +2817,6 @@ packages: hasBin: true dev: true - /process-nextick-args@2.0.1: - resolution: {integrity: sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==} - dev: true - - /promise@8.3.0: - resolution: {integrity: sha512-rZPNPKTOYVNEEKFaq1HqTgOwZD+4/YHS5ukLzQCypkj+OkYx7iv0mA91lJlpPPZ8vMau3IIGj5Qlwrx+8iiSmg==} - dependencies: - asap: 2.0.6 - dev: true - /prompts@2.4.2: resolution: {integrity: sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==} engines: {node: '>= 6'} @@ -3076,13 +2829,6 @@ packages: resolution: {integrity: sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==} dev: true - /qs@6.12.3: - resolution: {integrity: sha512-AWJm14H1vVaO/iNZ4/hO+HyaTehuy9nRqVdkTqlJt0HWvBiBIEXFmb4C0DGeYo3Xes9rrEW+TxHsaigCbN5ICQ==} - engines: {node: '>=0.6'} - dependencies: - side-channel: 1.0.6 - dev: true - /queue-microtask@1.2.3: resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==} dev: true @@ -3103,18 +2849,6 @@ packages: unpipe: 1.0.0 dev: true - /readable-stream@2.3.8: - resolution: {integrity: sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==} - dependencies: - core-util-is: 1.0.3 - inherits: 2.0.4 - isarray: 1.0.0 - process-nextick-args: 2.0.1 - safe-buffer: 5.1.2 - string_decoder: 1.1.1 - util-deprecate: 1.0.2 - dev: true - /readable-stream@3.6.2: resolution: {integrity: sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==} engines: {node: '>= 6'} @@ -3150,18 +2884,9 @@ packages: engines: {node: '>=6'} dev: true - /req-cwd@2.0.0: - resolution: {integrity: sha512-ueoIoLo1OfB6b05COxAA9UpeoscNpYyM+BqYlA7H6LVF4hKGPXQQSSaD2YmvDVJMkk4UDpAHIeU1zG53IqjvlQ==} - engines: {node: '>=4'} - dependencies: - req-from: 2.0.0 - dev: true - - /req-from@2.0.0: - resolution: {integrity: sha512-LzTfEVDVQHBRfjOUMgNBA+V6DWsSnoeKzf42J7l0xa/B4jyPOuuF5MlNSmomLNGemWTnV2TIdjSSLnEn95fOQA==} - engines: {node: '>=4'} - dependencies: - resolve-from: 3.0.0 + /repeat-string@1.6.1: + resolution: {integrity: sha512-PV0dzCYDNfRi1jCDbJzpW7jNNDRuCOG/jI5ctQcGKt/clZD+YcPS3yIlWuTJMmESC8aevCFmWJy5wjAFgNqN6w==} + engines: {node: '>=0.10'} dev: true /require-directory@2.1.1: @@ -3174,11 +2899,6 @@ packages: engines: {node: '>=0.10.0'} dev: true - /resolve-from@3.0.0: - resolution: {integrity: sha512-GnlH6vxLymXJNMBo7XP1fJIzBFbdYt49CuTwmB/6N53t+kMPRMFKz783LlQ4tv28XoQfMWinAJX6WCGf2IlaIw==} - engines: {node: '>=4'} - dev: true - /resolve@1.1.7: resolution: {integrity: sha512-9znBF0vBcaSN3W2j7wKvdERPwqTxSpCq+if5C0WoTCyV9n24rua28jeuQ2pL/HOf+yUe/Mef+H/5p60K0Id3bg==} dev: true @@ -3223,10 +2943,6 @@ packages: queue-microtask: 1.2.3 dev: true - /safe-buffer@5.1.2: - resolution: {integrity: sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==} - dev: true - /safe-buffer@5.2.1: resolution: {integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==} dev: true @@ -3291,18 +3007,6 @@ packages: randombytes: 2.1.0 dev: true - /set-function-length@1.2.2: - resolution: {integrity: sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==} - engines: {node: '>= 0.4'} - dependencies: - define-data-property: 1.1.4 - es-errors: 1.3.0 - function-bind: 1.1.2 - get-intrinsic: 1.2.4 - gopd: 1.0.1 - has-property-descriptors: 1.0.2 - dev: true - /setimmediate@1.0.5: resolution: {integrity: sha512-MATJdZp8sLqDl/68LfQmbP8zKPLQNV6BIZoIgrscFDQ+RsvK/BxeDQOgyxKKoh0y/8h3BqVFnCqQ/gd+reiIXA==} dev: true @@ -3326,6 +3030,18 @@ packages: crypt: 0.0.2 dev: true + /shebang-command@2.0.0: + resolution: {integrity: sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==} + engines: {node: '>=8'} + dependencies: + shebang-regex: 3.0.0 + dev: true + + /shebang-regex@3.0.0: + resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==} + engines: {node: '>=8'} + dev: true + /shelljs@0.8.5: resolution: {integrity: sha512-TiwcRcrkhHvbrZbnRcFYMLl30Dfov3HKqzp5tO5b4pt6G/SezKcYhmDg15zXVBswHmctSAQKznqNW2LO5tTDow==} engines: {node: '>=4'} @@ -3336,14 +3052,9 @@ packages: rechoir: 0.6.2 dev: true - /side-channel@1.0.6: - resolution: {integrity: sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==} - engines: {node: '>= 0.4'} - dependencies: - call-bind: 1.0.7 - es-errors: 1.3.0 - get-intrinsic: 1.2.4 - object-inspect: 1.13.2 + /signal-exit@4.1.0: + resolution: {integrity: sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==} + engines: {node: '>=14'} dev: true /sisteransi@1.0.5: @@ -3459,14 +3170,6 @@ packages: resolution: {integrity: sha512-bbEs3scLeYNXLecRRuk6uJxdXUSj6le/8rNPHChIJTn2V79aXVTR1EH2OH5zLKKoz0V02fOUKZZcw01pLUShZA==} dev: true - /string-width@2.1.1: - resolution: {integrity: sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==} - engines: {node: '>=4'} - dependencies: - is-fullwidth-code-point: 2.0.0 - strip-ansi: 4.0.0 - dev: true - /string-width@4.2.3: resolution: {integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==} engines: {node: '>=8'} @@ -3476,10 +3179,13 @@ packages: strip-ansi: 6.0.1 dev: true - /string_decoder@1.1.1: - resolution: {integrity: sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==} + /string-width@5.1.2: + resolution: {integrity: sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==} + engines: {node: '>=12'} dependencies: - safe-buffer: 5.1.2 + eastasianwidth: 0.2.0 + emoji-regex: 9.2.2 + strip-ansi: 7.1.0 dev: true /string_decoder@1.3.0: @@ -3488,13 +3194,6 @@ packages: safe-buffer: 5.2.1 dev: true - /strip-ansi@4.0.0: - resolution: {integrity: sha512-4XaJ2zQdCzROZDivEVIDPkcQn8LMFSa8kj8Gxb/Lnwzv9A8VctNZ+lfivC/sV3ivW8ElJTERXZoPBRrZKkNKow==} - engines: {node: '>=4'} - dependencies: - ansi-regex: 3.0.1 - dev: true - /strip-ansi@6.0.1: resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==} engines: {node: '>=8'} @@ -3502,6 +3201,13 @@ packages: ansi-regex: 5.0.1 dev: true + /strip-ansi@7.1.0: + resolution: {integrity: sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==} + engines: {node: '>=12'} + dependencies: + ansi-regex: 6.0.1 + dev: true + /strip-hex-prefix@1.0.0: resolution: {integrity: sha512-q8d4ue7JGEiVcypji1bALTos+0pWtyGlivAWyPuTkHzuTCJqrK9sWxYQZUq6Nq3cuyv3bm734IhHvHtGGURU6A==} engines: {node: '>=6.5.0', npm: '>=3'} @@ -3547,21 +3253,6 @@ packages: engines: {node: '>= 0.4'} dev: true - /sync-request@6.1.0: - resolution: {integrity: sha512-8fjNkrNlNCrVc/av+Jn+xxqfCjYaBoHqCsDz6mt030UMxJGr+GSfCV1dQt2gRtlL63+VPidwDVLr7V2OcTSdRw==} - engines: {node: '>=8.0.0'} - dependencies: - http-response-object: 3.0.2 - sync-rpc: 1.3.6 - then-request: 6.0.2 - dev: true - - /sync-rpc@1.3.6: - resolution: {integrity: sha512-J8jTXuZzRlvU7HemDgHi3pGnh/rkoqR/OZSjhTyyZrEkkYQbk7Z33AXp37mkPfPpfdOuj7Ex3H/TJM1z48uPQw==} - dependencies: - get-port: 3.2.0 - dev: true - /table-layout@1.0.2: resolution: {integrity: sha512-qd/R7n5rQTRFi+Zf2sk5XVVd9UQl6ZkduPFC3S7WEGJAmetDTjY3qPN50eSKzwuzEyQKy5TN2TiZdkIjos2L6A==} engines: {node: '>=8.0.0'} @@ -3583,23 +3274,6 @@ packages: strip-ansi: 6.0.1 dev: true - /then-request@6.0.2: - resolution: {integrity: sha512-3ZBiG7JvP3wbDzA9iNY5zJQcHL4jn/0BWtXIkagfz7QgOL/LqjCEOBQuJNZfu0XYnv5JhKh+cDxCPM4ILrqruA==} - engines: {node: '>=6.0.0'} - dependencies: - '@types/concat-stream': 1.6.1 - '@types/form-data': 0.0.33 - '@types/node': 8.10.66 - '@types/qs': 6.9.15 - caseless: 0.12.0 - concat-stream: 1.6.2 - form-data: 2.5.1 - http-basic: 8.1.3 - http-response-object: 3.0.2 - promise: 8.3.0 - qs: 6.12.3 - dev: true - /through2@4.0.2: resolution: {integrity: sha512-iOqSav00cVxEEICeD7TjLB1sueEL+81Wpzp2bY17uZjZN0pWZPuo4suZ/61VujxmqSGFfgOcNuTZ85QJwNZQpw==} dependencies: @@ -3742,10 +3416,6 @@ packages: - supports-color dev: true - /typedarray@0.0.6: - resolution: {integrity: sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==} - dev: true - /typescript@5.5.4: resolution: {integrity: sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==} engines: {node: '>=14.17'} @@ -3813,6 +3483,29 @@ packages: resolution: {integrity: sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==} dev: true + /viem@2.7.14(typescript@5.5.4): + resolution: {integrity: sha512-5b1KB1gXli02GOQHZIUsRluNUwssl2t4hqdFAzyWPwJ744N83jAOBOjOkrGz7K3qMIv9b0GQt3DoZIErSQTPkQ==} + peerDependencies: + typescript: '>=5.0.4' + peerDependenciesMeta: + typescript: + optional: true + dependencies: + '@adraffy/ens-normalize': 1.10.0 + '@noble/curves': 1.2.0 + '@noble/hashes': 1.3.2 + '@scure/bip32': 1.3.2 + '@scure/bip39': 1.2.1 + abitype: 1.0.0(typescript@5.5.4) + isows: 1.0.3(ws@8.13.0) + typescript: 5.5.4 + ws: 8.13.0 + transitivePeerDependencies: + - bufferutil + - utf-8-validate + - zod + dev: true + /web3-utils@1.10.4: resolution: {integrity: sha512-tsu8FiKJLk2PzhDl9fXbGUWTkkVXYhtTA+SmEFkKft+9BgwLxfCRpU96sWv7ICC8zixBNd3JURVoiR3dUXgP8A==} engines: {node: '>=8.0.0'} @@ -3834,6 +3527,14 @@ packages: isexe: 2.0.0 dev: true + /which@2.0.2: + resolution: {integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==} + engines: {node: '>= 8'} + hasBin: true + dependencies: + isexe: 2.0.0 + dev: true + /widest-line@3.1.0: resolution: {integrity: sha512-NsmoXalsWVDMGupxZ5R08ka9flZjjiLvHVAWYOKtiKM8ujtZWr9cRffak+uSE48+Ob8ObalXpwyeUiyDD6QFgg==} engines: {node: '>=8'} @@ -3871,12 +3572,21 @@ packages: strip-ansi: 6.0.1 dev: true + /wrap-ansi@8.1.0: + resolution: {integrity: sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==} + engines: {node: '>=12'} + dependencies: + ansi-styles: 6.2.1 + string-width: 5.1.2 + strip-ansi: 7.1.0 + dev: true + /wrappy@1.0.2: resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==} dev: true - /ws@7.4.6: - resolution: {integrity: sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A==} + /ws@7.5.10: + resolution: {integrity: sha512-+dbF1tHwZpXcbOJdVOkzLDxZP1ailvSxM6ZweXTegylPny803bFhA+vqBYw4s31NSAk4S2Qz+AKXK9a4wkdjcQ==} engines: {node: '>=8.3.0'} peerDependencies: bufferutil: ^4.0.1 @@ -3888,12 +3598,12 @@ packages: optional: true dev: true - /ws@7.5.10: - resolution: {integrity: sha512-+dbF1tHwZpXcbOJdVOkzLDxZP1ailvSxM6ZweXTegylPny803bFhA+vqBYw4s31NSAk4S2Qz+AKXK9a4wkdjcQ==} - engines: {node: '>=8.3.0'} + /ws@8.13.0: + resolution: {integrity: sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA==} + engines: {node: '>=10.0.0'} peerDependencies: bufferutil: ^4.0.1 - utf-8-validate: ^5.0.2 + utf-8-validate: '>=5.0.2' peerDependenciesMeta: bufferutil: optional: true From 38cf3e89a512f807ccd4430dce548b275fea2f30 Mon Sep 17 00:00:00 2001 From: Verin1005 Date: Mon, 29 Jul 2024 21:19:42 +0800 Subject: [PATCH 11/14] remove gas reporter --- .../core/assertion-build/src/dynamic/hardhat.config.ts | 4 ---- .../litentry/core/assertion-build/src/dynamic/package.json | 1 - 2 files changed, 5 deletions(-) diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/hardhat.config.ts b/tee-worker/litentry/core/assertion-build/src/dynamic/hardhat.config.ts index 78aa5aeba7..b9be3e1297 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/hardhat.config.ts +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/hardhat.config.ts @@ -1,6 +1,5 @@ import { HardhatUserConfig } from 'hardhat/config' import '@nomicfoundation/hardhat-toolbox' -import 'hardhat-gas-reporter' const config: HardhatUserConfig = { solidity: '0.8.11', paths: { @@ -15,9 +14,6 @@ const config: HardhatUserConfig = { blockGasLimit: 1000000000, }, }, - gasReporter: { - enabled: true, - }, } export default config diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/package.json b/tee-worker/litentry/core/assertion-build/src/dynamic/package.json index 62f8f87318..9a835ef4c1 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/package.json +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/package.json @@ -19,7 +19,6 @@ "chai-as-promised": "^8.0.0", "ethers": "^6.13.1", "hardhat": "^2.22.6", - "hardhat-gas-reporter": "^2.2.0", "prettier": "^3.3.3", "prettier-plugin-solidity": "^1.3.1" }, From c4f4661fa8ee4b2169bdbd81fd63d7b3e07ae898 Mon Sep 17 00:00:00 2001 From: Verin1005 Date: Mon, 29 Jul 2024 21:36:07 +0800 Subject: [PATCH 12/14] update lock file --- .../src/dynamic/pnpm-lock.yaml | 817 ++++++++++++------ 1 file changed, 554 insertions(+), 263 deletions(-) diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/pnpm-lock.yaml b/tee-worker/litentry/core/assertion-build/src/dynamic/pnpm-lock.yaml index bd1c7dd3d9..17fd0cc1f9 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/pnpm-lock.yaml +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/pnpm-lock.yaml @@ -13,7 +13,7 @@ devDependencies: version: 1.0.11(hardhat@2.22.6) '@nomicfoundation/hardhat-toolbox': specifier: ^5.0.0 - version: 5.0.0(@nomicfoundation/hardhat-chai-matchers@2.0.7)(@nomicfoundation/hardhat-ethers@3.0.6)(@nomicfoundation/hardhat-ignition-ethers@0.15.5)(@nomicfoundation/hardhat-network-helpers@1.0.11)(@nomicfoundation/hardhat-verify@2.0.8)(@typechain/ethers-v6@0.5.1)(@typechain/hardhat@9.1.0)(@types/chai@4.3.16)(@types/mocha@10.0.7)(@types/node@20.14.12)(chai@4.4.1)(ethers@6.13.1)(hardhat-gas-reporter@2.2.0)(hardhat@2.22.6)(solidity-coverage@0.8.12)(ts-node@10.9.2)(typechain@8.3.2)(typescript@5.5.4) + version: 5.0.0(@nomicfoundation/hardhat-chai-matchers@2.0.7)(@nomicfoundation/hardhat-ethers@3.0.6)(@nomicfoundation/hardhat-ignition-ethers@0.15.5)(@nomicfoundation/hardhat-network-helpers@1.0.11)(@nomicfoundation/hardhat-verify@2.0.8)(@typechain/ethers-v6@0.5.1)(@typechain/hardhat@9.1.0)(@types/chai@4.3.16)(@types/mocha@10.0.7)(@types/node@20.14.12)(chai@4.4.1)(ethers@6.13.1)(hardhat-gas-reporter@1.0.10)(hardhat@2.22.6)(solidity-coverage@0.8.12)(ts-node@10.9.2)(typechain@8.3.2)(typescript@5.5.4) '@openzeppelin/contracts': specifier: ^4.9.6 version: 4.9.6 @@ -29,9 +29,6 @@ devDependencies: hardhat: specifier: ^2.22.6 version: 2.22.6(ts-node@10.9.2)(typescript@5.5.4) - hardhat-gas-reporter: - specifier: ^2.2.0 - version: 2.2.0(hardhat@2.22.6)(typescript@5.5.4) prettier: specifier: ^3.3.3 version: 3.3.3 @@ -41,21 +38,10 @@ devDependencies: packages: - /@adraffy/ens-normalize@1.10.0: - resolution: {integrity: sha512-nA9XHtlAkYfJxY7bce8DcN7eKxWWCWkU+1GR9d+U6MbNpfwQp8TI7vqOsBsMcHoT4mBu2kypKoSKnghEzOOq5Q==} - dev: true - /@adraffy/ens-normalize@1.10.1: resolution: {integrity: sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw==} dev: true - /@colors/colors@1.5.0: - resolution: {integrity: sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==} - engines: {node: '>=0.1.90'} - requiresBuild: true - dev: true - optional: true - /@cspotcode/source-map-support@0.8.1: resolution: {integrity: sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==} engines: {node: '>=12'} @@ -140,6 +126,13 @@ packages: '@ethersproject/bytes': 5.7.0 dev: true + /@ethersproject/basex@5.7.0: + resolution: {integrity: sha512-ywlh43GwZLv2Voc2gQVTKBoVQ1mti3d8HK5aMxsfu/nRDnMmNqaSJ3r3n85HBByT8OpoY96SXM1FogC533T4zw==} + dependencies: + '@ethersproject/bytes': 5.7.0 + '@ethersproject/properties': 5.7.0 + dev: true + /@ethersproject/bignumber@5.7.0: resolution: {integrity: sha512-n1CAdIHRWjSucQO3MC1zPSVgV/6dy/fjL9pMrPP9peL+QxEg9wOsVqwD4+818B6LUEtaXzVHQiuivzRoxPxUGw==} dependencies: @@ -160,6 +153,21 @@ packages: '@ethersproject/bignumber': 5.7.0 dev: true + /@ethersproject/contracts@5.7.0: + resolution: {integrity: sha512-5GJbzEU3X+d33CdfPhcyS+z8MzsTrBGk/sc+G+59+tPa9yFkl6HQ9D6L0QMgNTA9q8dT0XKxxkyp883XsQvbbg==} + dependencies: + '@ethersproject/abi': 5.7.0 + '@ethersproject/abstract-provider': 5.7.0 + '@ethersproject/abstract-signer': 5.7.0 + '@ethersproject/address': 5.7.0 + '@ethersproject/bignumber': 5.7.0 + '@ethersproject/bytes': 5.7.0 + '@ethersproject/constants': 5.7.0 + '@ethersproject/logger': 5.7.0 + '@ethersproject/properties': 5.7.0 + '@ethersproject/transactions': 5.7.0 + dev: true + /@ethersproject/hash@5.7.0: resolution: {integrity: sha512-qX5WrQfnah1EFnO5zJv1v46a8HW0+E5xuBBDTwMFZLuVTx0tbU2kkx15NqdjxecrLGatQN9FGQKpb1FKdHCt+g==} dependencies: @@ -174,6 +182,41 @@ packages: '@ethersproject/strings': 5.7.0 dev: true + /@ethersproject/hdnode@5.7.0: + resolution: {integrity: sha512-OmyYo9EENBPPf4ERhR7oj6uAtUAhYGqOnIS+jE5pTXvdKBS99ikzq1E7Iv0ZQZ5V36Lqx1qZLeak0Ra16qpeOg==} + dependencies: + '@ethersproject/abstract-signer': 5.7.0 + '@ethersproject/basex': 5.7.0 + '@ethersproject/bignumber': 5.7.0 + '@ethersproject/bytes': 5.7.0 + '@ethersproject/logger': 5.7.0 + '@ethersproject/pbkdf2': 5.7.0 + '@ethersproject/properties': 5.7.0 + '@ethersproject/sha2': 5.7.0 + '@ethersproject/signing-key': 5.7.0 + '@ethersproject/strings': 5.7.0 + '@ethersproject/transactions': 5.7.0 + '@ethersproject/wordlists': 5.7.0 + dev: true + + /@ethersproject/json-wallets@5.7.0: + resolution: {integrity: sha512-8oee5Xgu6+RKgJTkvEMl2wDgSPSAQ9MB/3JYjFV9jlKvcYHUXZC+cQp0njgmxdHkYWn8s6/IqIZYm0YWCjO/0g==} + dependencies: + '@ethersproject/abstract-signer': 5.7.0 + '@ethersproject/address': 5.7.0 + '@ethersproject/bytes': 5.7.0 + '@ethersproject/hdnode': 5.7.0 + '@ethersproject/keccak256': 5.7.0 + '@ethersproject/logger': 5.7.0 + '@ethersproject/pbkdf2': 5.7.0 + '@ethersproject/properties': 5.7.0 + '@ethersproject/random': 5.7.0 + '@ethersproject/strings': 5.7.0 + '@ethersproject/transactions': 5.7.0 + aes-js: 3.0.0 + scrypt-js: 3.0.1 + dev: true + /@ethersproject/keccak256@5.7.0: resolution: {integrity: sha512-2UcPboeL/iW+pSg6vZ6ydF8tCnv3Iu/8tUmLLzWWGzxWKFFqOBQFLo6uLUv6BDrLgCDfN28RJ/wtByx+jZ4KBg==} dependencies: @@ -191,12 +234,54 @@ packages: '@ethersproject/logger': 5.7.0 dev: true + /@ethersproject/pbkdf2@5.7.0: + resolution: {integrity: sha512-oR/dBRZR6GTyaofd86DehG72hY6NpAjhabkhxgr3X2FpJtJuodEl2auADWBZfhDHgVCbu3/H/Ocq2uC6dpNjjw==} + dependencies: + '@ethersproject/bytes': 5.7.0 + '@ethersproject/sha2': 5.7.0 + dev: true + /@ethersproject/properties@5.7.0: resolution: {integrity: sha512-J87jy8suntrAkIZtecpxEPxY//szqr1mlBaYlQ0r4RCaiD2hjheqF9s1LVE8vVuJCXisjIP+JgtK/Do54ej4Sw==} dependencies: '@ethersproject/logger': 5.7.0 dev: true + /@ethersproject/providers@5.7.2: + resolution: {integrity: sha512-g34EWZ1WWAVgr4aptGlVBF8mhl3VWjv+8hoAnzStu8Ah22VHBsuGzP17eb6xDVRzw895G4W7vvx60lFFur/1Rg==} + dependencies: + '@ethersproject/abstract-provider': 5.7.0 + '@ethersproject/abstract-signer': 5.7.0 + '@ethersproject/address': 5.7.0 + '@ethersproject/base64': 5.7.0 + '@ethersproject/basex': 5.7.0 + '@ethersproject/bignumber': 5.7.0 + '@ethersproject/bytes': 5.7.0 + '@ethersproject/constants': 5.7.0 + '@ethersproject/hash': 5.7.0 + '@ethersproject/logger': 5.7.0 + '@ethersproject/networks': 5.7.1 + '@ethersproject/properties': 5.7.0 + '@ethersproject/random': 5.7.0 + '@ethersproject/rlp': 5.7.0 + '@ethersproject/sha2': 5.7.0 + '@ethersproject/strings': 5.7.0 + '@ethersproject/transactions': 5.7.0 + '@ethersproject/web': 5.7.1 + bech32: 1.1.4 + ws: 7.4.6 + transitivePeerDependencies: + - bufferutil + - utf-8-validate + dev: true + + /@ethersproject/random@5.7.0: + resolution: {integrity: sha512-19WjScqRA8IIeWclFme75VMXSBvi4e6InrUNuaR4s5pTF2qNhcGdCUwdxUVGtDDqC00sDLCO93jPQoDUH4HVmQ==} + dependencies: + '@ethersproject/bytes': 5.7.0 + '@ethersproject/logger': 5.7.0 + dev: true + /@ethersproject/rlp@5.7.0: resolution: {integrity: sha512-rBxzX2vK8mVF7b0Tol44t5Tb8gomOHkj5guL+HhzQ1yBh/ydjGnpw6at+X6Iw0Kp3OzzzkcKp8N9r0W4kYSs9w==} dependencies: @@ -204,6 +289,14 @@ packages: '@ethersproject/logger': 5.7.0 dev: true + /@ethersproject/sha2@5.7.0: + resolution: {integrity: sha512-gKlH42riwb3KYp0reLsFTokByAKoJdgFCwI+CCiX/k+Jm2mbNs6oOaCjYQSlI1+XBVejwH2KrmCbMAT/GnRDQw==} + dependencies: + '@ethersproject/bytes': 5.7.0 + '@ethersproject/logger': 5.7.0 + hash.js: 1.1.7 + dev: true + /@ethersproject/signing-key@5.7.0: resolution: {integrity: sha512-MZdy2nL3wO0u7gkB4nA/pEf8lu1TlFswPNmy8AiYkfKTdO6eXBJyUdmHO/ehm/htHw9K/qF8ujnTyUAD+Ry54Q==} dependencies: @@ -215,6 +308,17 @@ packages: hash.js: 1.1.7 dev: true + /@ethersproject/solidity@5.7.0: + resolution: {integrity: sha512-HmabMd2Dt/raavyaGukF4XxizWKhKQ24DoLtdNbBmNKUOPqwjsKQSdV9GQtj9CBEea9DlzETlVER1gYeXXBGaA==} + dependencies: + '@ethersproject/bignumber': 5.7.0 + '@ethersproject/bytes': 5.7.0 + '@ethersproject/keccak256': 5.7.0 + '@ethersproject/logger': 5.7.0 + '@ethersproject/sha2': 5.7.0 + '@ethersproject/strings': 5.7.0 + dev: true + /@ethersproject/strings@5.7.0: resolution: {integrity: sha512-/9nu+lj0YswRNSH0NXYqrh8775XNyEdUQAuf3f+SmOrnVewcJ5SBNAjF7lpgehKi4abvNNXyf+HX86czCdJ8Mg==} dependencies: @@ -245,6 +349,26 @@ packages: '@ethersproject/logger': 5.7.0 dev: true + /@ethersproject/wallet@5.7.0: + resolution: {integrity: sha512-MhmXlJXEJFBFVKrDLB4ZdDzxcBxQ3rLyCkhNqVu3CDYvR97E+8r01UgrI+TI99Le+aYm/in/0vp86guJuM7FCA==} + dependencies: + '@ethersproject/abstract-provider': 5.7.0 + '@ethersproject/abstract-signer': 5.7.0 + '@ethersproject/address': 5.7.0 + '@ethersproject/bignumber': 5.7.0 + '@ethersproject/bytes': 5.7.0 + '@ethersproject/hash': 5.7.0 + '@ethersproject/hdnode': 5.7.0 + '@ethersproject/json-wallets': 5.7.0 + '@ethersproject/keccak256': 5.7.0 + '@ethersproject/logger': 5.7.0 + '@ethersproject/properties': 5.7.0 + '@ethersproject/random': 5.7.0 + '@ethersproject/signing-key': 5.7.0 + '@ethersproject/transactions': 5.7.0 + '@ethersproject/wordlists': 5.7.0 + dev: true + /@ethersproject/web@5.7.1: resolution: {integrity: sha512-Gueu8lSvyjBWL4cYsWsjh6MtMwM0+H4HvqFPZfB6dV8ctbP9zFAO73VG1cMWae0FLPCtz0peKPpZY8/ugJJX2w==} dependencies: @@ -255,23 +379,21 @@ packages: '@ethersproject/strings': 5.7.0 dev: true + /@ethersproject/wordlists@5.7.0: + resolution: {integrity: sha512-S2TFNJNfHWVHNE6cNDjbVlZ6MgE17MIxMbMg2zv3wn+3XSJGosL1m9ZVv3GXCf/2ymSsQ+hRI5IzoMJTG6aoVA==} + dependencies: + '@ethersproject/bytes': 5.7.0 + '@ethersproject/hash': 5.7.0 + '@ethersproject/logger': 5.7.0 + '@ethersproject/properties': 5.7.0 + '@ethersproject/strings': 5.7.0 + dev: true + /@fastify/busboy@2.1.1: resolution: {integrity: sha512-vBZP4NlzfOlerQTnba4aqZoMhE/a9HY7HRqoOPaETQcSQuWEIyZMHGfVu6w9wGtGK5fED5qRs2DteVCjOH60sA==} engines: {node: '>=14'} dev: true - /@isaacs/cliui@8.0.2: - resolution: {integrity: sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==} - engines: {node: '>=12'} - dependencies: - string-width: 5.1.2 - string-width-cjs: /string-width@4.2.3 - strip-ansi: 7.1.0 - strip-ansi-cjs: /strip-ansi@6.0.1 - wrap-ansi: 8.1.0 - wrap-ansi-cjs: /wrap-ansi@7.0.0 - dev: true - /@jridgewell/resolve-uri@3.1.2: resolution: {integrity: sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==} engines: {node: '>=6.0.0'} @@ -517,7 +639,7 @@ packages: hardhat: 2.22.6(ts-node@10.9.2)(typescript@5.5.4) dev: true - /@nomicfoundation/hardhat-toolbox@5.0.0(@nomicfoundation/hardhat-chai-matchers@2.0.7)(@nomicfoundation/hardhat-ethers@3.0.6)(@nomicfoundation/hardhat-ignition-ethers@0.15.5)(@nomicfoundation/hardhat-network-helpers@1.0.11)(@nomicfoundation/hardhat-verify@2.0.8)(@typechain/ethers-v6@0.5.1)(@typechain/hardhat@9.1.0)(@types/chai@4.3.16)(@types/mocha@10.0.7)(@types/node@20.14.12)(chai@4.4.1)(ethers@6.13.1)(hardhat-gas-reporter@2.2.0)(hardhat@2.22.6)(solidity-coverage@0.8.12)(ts-node@10.9.2)(typechain@8.3.2)(typescript@5.5.4): + /@nomicfoundation/hardhat-toolbox@5.0.0(@nomicfoundation/hardhat-chai-matchers@2.0.7)(@nomicfoundation/hardhat-ethers@3.0.6)(@nomicfoundation/hardhat-ignition-ethers@0.15.5)(@nomicfoundation/hardhat-network-helpers@1.0.11)(@nomicfoundation/hardhat-verify@2.0.8)(@typechain/ethers-v6@0.5.1)(@typechain/hardhat@9.1.0)(@types/chai@4.3.16)(@types/mocha@10.0.7)(@types/node@20.14.12)(chai@4.4.1)(ethers@6.13.1)(hardhat-gas-reporter@1.0.10)(hardhat@2.22.6)(solidity-coverage@0.8.12)(ts-node@10.9.2)(typechain@8.3.2)(typescript@5.5.4): resolution: {integrity: sha512-FnUtUC5PsakCbwiVNsqlXVIWG5JIb5CEZoSXbJUsEBun22Bivx2jhF1/q9iQbzuaGpJKFQyOhemPB2+XlEE6pQ==} peerDependencies: '@nomicfoundation/hardhat-chai-matchers': ^2.0.0 @@ -552,7 +674,7 @@ packages: chai: 4.4.1 ethers: 6.13.1 hardhat: 2.22.6(ts-node@10.9.2)(typescript@5.5.4) - hardhat-gas-reporter: 2.2.0(hardhat@2.22.6)(typescript@5.5.4) + hardhat-gas-reporter: 1.0.10(hardhat@2.22.6) solidity-coverage: 0.8.12(hardhat@2.22.6) ts-node: 10.9.2(@types/node@20.14.12)(typescript@5.5.4) typechain: 8.3.2(typescript@5.5.4) @@ -666,13 +788,6 @@ packages: resolution: {integrity: sha512-xSmezSupL+y9VkHZJGDoCBpmnB2ogM13ccaYDWqJTfS3dbuHkgjuwDFUmaFauBCboQMGB/S5UqUl2y54X99BmA==} dev: true - /@pkgjs/parseargs@0.11.0: - resolution: {integrity: sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==} - engines: {node: '>=14'} - requiresBuild: true - dev: true - optional: true - /@scure/base@1.1.7: resolution: {integrity: sha512-PPNYBslrLNNUQ/Yad37MHYsNQtK67EhWb6WtSvNLLPo7SdVZgkUjD6Dg+5On7zNwmskf8OX7I7Nx5oN+MIWE0g==} dev: true @@ -685,14 +800,6 @@ packages: '@scure/base': 1.1.7 dev: true - /@scure/bip32@1.3.2: - resolution: {integrity: sha512-N1ZhksgwD3OBlwTv3R6KFEcPojl/W4ElJOeCZdi+vuI5QmTFwLq3OFf2zd2ROpKvxFdgZ6hUpb0dx9bVNEwYCA==} - dependencies: - '@noble/curves': 1.2.0 - '@noble/hashes': 1.3.2 - '@scure/base': 1.1.7 - dev: true - /@scure/bip32@1.4.0: resolution: {integrity: sha512-sVUpc0Vq3tXCkDGYVWGIZTRfnvu8LoTDaev7vbwh0omSvVORONr960MQWdKqJDCReIEmTj3PAr73O3aoxz7OPg==} dependencies: @@ -708,13 +815,6 @@ packages: '@scure/base': 1.1.7 dev: true - /@scure/bip39@1.2.1: - resolution: {integrity: sha512-Z3/Fsz1yr904dduJD0NpiyRHhRYHdcnyh73FZWiV+/qhWi83wNJ3NWolYqCEN+ZWsUz2TWwajJggcRE9r1zUYg==} - dependencies: - '@noble/hashes': 1.3.2 - '@scure/base': 1.1.7 - dev: true - /@scure/bip39@1.3.0: resolution: {integrity: sha512-disdg7gHuTDZtY+ZdkmLpPCk7fxZSu3gBiEGuoC1XYxv9cGx3Z6cpTggCgW6odSOOIXCiDjuGejW+aJKCY/pIQ==} dependencies: @@ -792,6 +892,12 @@ packages: tslib: 1.14.1 dev: true + /@solidity-parser/parser@0.14.5: + resolution: {integrity: sha512-6dKnHZn7fg/iQATVEzqyUOyEidbn05q7YA2mQ9hC0MMXhhV3/JrsxmFSYZAcr7j1yUP700LLhTruvJ3MiQmjJg==} + dependencies: + antlr4ts: 0.5.0-alpha.4 + dev: true + /@solidity-parser/parser@0.17.0: resolution: {integrity: sha512-Nko8R0/kUo391jsEHHxrGM07QFdnPGvlmox4rmH0kNiNAashItAilhy4Mv4pK5gQmW5f4sXAF58fwJbmlkGcVw==} dev: true @@ -867,6 +973,18 @@ packages: resolution: {integrity: sha512-PatH4iOdyh3MyWtmHVFXLWCCIhUbopaltqddG9BzB+gMIzee2MJrvd+jouii9Z3wzQJruGWAm7WOMjgfG8hQlQ==} dev: true + /@types/concat-stream@1.6.1: + resolution: {integrity: sha512-eHE4cQPoj6ngxBZMvVf6Hw7Mh4jMW4U9lpGmS5GBPB9RYxlFg+CHaVN7ErNY4W9XfLIEn20b4VDYaIrbq0q4uA==} + dependencies: + '@types/node': 20.14.12 + dev: true + + /@types/form-data@0.0.33: + resolution: {integrity: sha512-8BSvG1kGm83cyJITQMZSulnl6QV8jqAGreJsc5tPu1Jq0vTSOiY/k24Wx82JRpWwZSqrala6sd5rWi6aNXvqcw==} + dependencies: + '@types/node': 20.14.12 + dev: true + /@types/glob@7.2.0: resolution: {integrity: sha512-ZUxbzKl0IfJILTS6t7ip5fQQM/J3TJYubDm3nMbgubNNYS62eXeUpoLUC8/7fJNiFYHTrGPQn7hspDUzIHX3UA==} dependencies: @@ -886,6 +1004,10 @@ packages: resolution: {integrity: sha512-GN8yJ1mNTcFcah/wKEFIJckJx9iJLoMSzWcfRRuxz/Jk+U6KQNnml+etbtxFK8lPjzOw3zp4Ha/kjSst9fsHYw==} dev: true + /@types/node@10.17.60: + resolution: {integrity: sha512-F0KIgDJfy2nA3zMLmWGKxcH2ZVEtCZXHHdOQs2gSaQ27+lNeEfGxzkIw90aXswATX7AZ33tahPbzy6KAfUreVw==} + dev: true + /@types/node@18.15.13: resolution: {integrity: sha512-N+0kuo9KgrUQ1Sn/ifDXsvg0TTleP7rIy4zOBGECxAljqvqfqpTfzx0Q1NUedOixRMBfe2Whhb056a42cWs26Q==} dev: true @@ -896,6 +1018,10 @@ packages: undici-types: 5.26.5 dev: true + /@types/node@8.10.66: + resolution: {integrity: sha512-tktOkFUA4kXx2hhhrB8bIFb5TbwzS4uOhKEmwiD+NoiL0qtP2OQ9mFldbgD4dV1djrlBYP6eBuQZiWjuHUpqFw==} + dev: true + /@types/pbkdf2@3.1.2: resolution: {integrity: sha512-uRwJqmiXmh9++aSu1VNEn3iIxWOhd8AHXNSdlaLfdAAdSTY9jYVeGWnzejM3dvrkbqE3/hyQkQQ29IFATEGlew==} dependencies: @@ -906,6 +1032,10 @@ packages: resolution: {integrity: sha512-+68kP9yzs4LMp7VNh8gdzMSPZFL44MLGqiHWvttYJe+6qnuVr4Ek9wSBQoveqY/r+LwjCcU29kNVkidwim+kYA==} dev: true + /@types/qs@6.9.15: + resolution: {integrity: sha512-uXHQKES6DQKKCLh441Xv/dwxOq1TVS3JPUMlEqoEglvlhR6Mxnlew/Xq/LRVHpLyk7iK3zODe1qYHIMltO7XGg==} + dev: true + /@types/secp256k1@4.0.6: resolution: {integrity: sha512-hHxJU6PAEUn0TP4S/ZOzuTUvJWuZ6eIKeNKb5RBpODvSl6hp1Wrw4s7ATY50rklRCScUDpHzVA/DQdSjJ3UoYQ==} dependencies: @@ -916,20 +1046,6 @@ packages: resolution: {integrity: sha512-LEyx4aLEC3x6T0UguF6YILf+ntvmOaWsVfENmIW0E9H09vKlLDGelMjjSm0jkDHALj8A8quZ/HapKNigzwge+Q==} dev: true - /abitype@1.0.0(typescript@5.5.4): - resolution: {integrity: sha512-NMeMah//6bJ56H5XRj8QCV4AwuW6hB6zqz2LnhhLdcWVQOsXki6/Pn3APeqxCma62nXIcmZWdu1DlHWS74umVQ==} - peerDependencies: - typescript: '>=5.0.4' - zod: ^3 >=3.22.0 - peerDependenciesMeta: - typescript: - optional: true - zod: - optional: true - dependencies: - typescript: 5.5.4 - dev: true - /acorn-walk@8.3.3: resolution: {integrity: sha512-MxXdReSRhGO7VlFe1bRG/oI7/mdLV9B9JJT0N8vZOhF7gFRR5l3M8W9G8JxmKV+JC5mGqJ0QvqfSOLsCPa4nUw==} engines: {node: '>=0.4.0'} @@ -948,6 +1064,10 @@ packages: engines: {node: '>=0.3.0'} dev: true + /aes-js@3.0.0: + resolution: {integrity: sha512-H7wUZRn8WpTq9jocdxQ2c8x2sKo9ZVmzfRE13GiNJXfp7NcKYEdvl3vspKjXox6RIG2VtaRe4JFvxG4rqp2Zuw==} + dev: true + /aes-js@4.0.0-beta.5: resolution: {integrity: sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==} dev: true @@ -1003,16 +1123,16 @@ packages: type-fest: 0.21.3 dev: true + /ansi-regex@3.0.1: + resolution: {integrity: sha512-+O9Jct8wf++lXxxFc4hc8LsjaSq0HFzzL7cVsw8pRDIPdjKD2mT4ytDZlLuSBZ4cLKZFXIrMGO7DbQCtMJJMKw==} + engines: {node: '>=4'} + dev: true + /ansi-regex@5.0.1: resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==} engines: {node: '>=8'} dev: true - /ansi-regex@6.0.1: - resolution: {integrity: sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==} - engines: {node: '>=12'} - dev: true - /ansi-styles@3.2.1: resolution: {integrity: sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==} engines: {node: '>=4'} @@ -1027,9 +1147,8 @@ packages: color-convert: 2.0.1 dev: true - /ansi-styles@6.2.1: - resolution: {integrity: sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==} - engines: {node: '>=12'} + /antlr4ts@0.5.0-alpha.4: + resolution: {integrity: sha512-WPQDt1B74OfPv/IMS2ekXAKkTZIHl88uMetg6q3OTqgFxZ/dxDXI0EWLyZid/1Pe6hTftyg5N7gel5wNAGxXyQ==} dev: true /anymatch@3.1.3: @@ -1069,6 +1188,15 @@ packages: engines: {node: '>=8'} dev: true + /array-uniq@1.0.3: + resolution: {integrity: sha512-MNha4BWQ6JbwhFhj03YK552f7cb3AzoE8SzeljgChvL1dl3IcvggXVz1DilzySZkCja+CXuZbdW7yATchWn8/Q==} + engines: {node: '>=0.10.0'} + dev: true + + /asap@2.0.6: + resolution: {integrity: sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA==} + dev: true + /assertion-error@1.1.0: resolution: {integrity: sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==} dev: true @@ -1111,6 +1239,10 @@ packages: safe-buffer: 5.2.1 dev: true + /bech32@1.1.4: + resolution: {integrity: sha512-s0IrSOzLlbvX7yp4WBfPITzpAU8sqQcpsmwXDiKwrG4r491vwCO/XpejasRNl0piBMe/DvP4Tz0mIS/X1DPJBQ==} + dev: true + /binary-extensions@2.3.0: resolution: {integrity: sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==} engines: {node: '>=8'} @@ -1170,10 +1302,6 @@ packages: resolution: {integrity: sha512-cKV8tMCEpQs4hK/ik71d6LrPOnpkpGBR0wzxqr68g2m/LB2GxVYQroAjMJZRVM1Y4BCjCKc3vAamxSzOY2RP+w==} dev: true - /brotli-wasm@2.0.1: - resolution: {integrity: sha512-+3USgYsC7bzb5yU0/p2HnnynZl0ak0E6uoIm4UW4Aby/8s8HFCq6NCfrrf1E9c3O8OCSzq3oYO1tUVqIi61Nww==} - dev: true - /browser-stdout@1.3.1: resolution: {integrity: sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw==} dev: true @@ -1216,11 +1344,26 @@ packages: engines: {node: '>= 0.8'} dev: true + /call-bind@1.0.7: + resolution: {integrity: sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==} + engines: {node: '>= 0.4'} + dependencies: + es-define-property: 1.0.0 + es-errors: 1.3.0 + function-bind: 1.1.2 + get-intrinsic: 1.2.4 + set-function-length: 1.2.2 + dev: true + /camelcase@6.3.0: resolution: {integrity: sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==} engines: {node: '>=10'} dev: true + /caseless@0.12.0: + resolution: {integrity: sha512-4tYFyifaFfGacoiObjJegolkwSU4xQNGbVgUiNYVUxbQ2x2lUsFvY4hVgVzGiIe6WLOPqycWXA40l+PWsxthUw==} + dev: true + /cbor@8.1.0: resolution: {integrity: sha512-DwGjNW9omn6EwP70aXsn7FQJx5kO12tX0bZkaTjzdVFM6/7nhA4t0EENocKGx6D2Bch9PE2KzCUf5SceBdeijg==} engines: {node: '>=12.19'} @@ -1334,13 +1477,14 @@ packages: engines: {node: '>=6'} dev: true - /cli-table3@0.6.5: - resolution: {integrity: sha512-+W/5efTR7y5HRD7gACw9yQjqMVvEMLBHmboM/kPWam+H+Hmyrgjh6YncVKK122YZkXrLudzTuAukUw9FnMf7IQ==} - engines: {node: 10.* || >= 12.*} + /cli-table3@0.5.1: + resolution: {integrity: sha512-7Qg2Jrep1S/+Q3EceiZtQcDPWxhAvBw+ERf1162v4sikJrvojMHFqXt8QIVha8UlH9rgU0BeWPytZ9/TzYqlUw==} + engines: {node: '>=6'} dependencies: - string-width: 4.2.3 + object-assign: 4.1.1 + string-width: 2.1.1 optionalDependencies: - '@colors/colors': 1.5.0 + colors: 1.4.0 dev: true /cliui@7.0.4: @@ -1372,6 +1516,11 @@ packages: resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==} dev: true + /colors@1.4.0: + resolution: {integrity: sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA==} + engines: {node: '>=0.1.90'} + dev: true + /combined-stream@1.0.8: resolution: {integrity: sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==} engines: {node: '>= 0.8'} @@ -1412,11 +1561,25 @@ packages: resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==} dev: true + /concat-stream@1.6.2: + resolution: {integrity: sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==} + engines: {'0': node >= 0.8} + dependencies: + buffer-from: 1.1.2 + inherits: 2.0.4 + readable-stream: 2.3.8 + typedarray: 0.0.6 + dev: true + /cookie@0.4.2: resolution: {integrity: sha512-aSWTXFzaKWkvHO1Ny/s+ePFpvKsPnjc551iI41v3ny/ow6tBG5Vd+FuqGNhh1LxOmVzOlGUriIlOaokOvhaStA==} engines: {node: '>= 0.6'} dev: true + /core-util-is@1.0.3: + resolution: {integrity: sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==} + dev: true + /create-hash@1.2.0: resolution: {integrity: sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg==} dependencies: @@ -1442,15 +1605,6 @@ packages: resolution: {integrity: sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==} dev: true - /cross-spawn@7.0.3: - resolution: {integrity: sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==} - engines: {node: '>= 8'} - dependencies: - path-key: 3.1.1 - shebang-command: 2.0.0 - which: 2.0.2 - dev: true - /crypt@0.0.2: resolution: {integrity: sha512-mCxBlsHFYh9C+HVpiEacem8FEBnMXgU9gy4zmNC+SXAZNB/1idgp/aulFJ4FgCi7GPEVbfyng092GqL2k2rmow==} dev: true @@ -1493,6 +1647,15 @@ packages: resolution: {integrity: sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==} dev: true + /define-data-property@1.1.4: + resolution: {integrity: sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==} + engines: {node: '>= 0.4'} + dependencies: + es-define-property: 1.0.0 + es-errors: 1.3.0 + gopd: 1.0.1 + dev: true + /delayed-stream@1.0.0: resolution: {integrity: sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==} engines: {node: '>=0.4.0'} @@ -1526,10 +1689,6 @@ packages: path-type: 4.0.0 dev: true - /eastasianwidth@0.2.0: - resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==} - dev: true - /elliptic@6.5.4: resolution: {integrity: sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ==} dependencies: @@ -1558,10 +1717,6 @@ packages: resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==} dev: true - /emoji-regex@9.2.2: - resolution: {integrity: sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==} - dev: true - /enquirer@2.4.1: resolution: {integrity: sha512-rRqJg/6gd538VHvR3PSrdRBb/1Vy2YfzHqzvbhGIQpDRKIa4FgV/54b5Q1xYSxOOwKvjXweS26E0Q+nAMwp2pQ==} engines: {node: '>=8.6'} @@ -1575,6 +1730,18 @@ packages: engines: {node: '>=6'} dev: true + /es-define-property@1.0.0: + resolution: {integrity: sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==} + engines: {node: '>= 0.4'} + dependencies: + get-intrinsic: 1.2.4 + dev: true + + /es-errors@1.3.0: + resolution: {integrity: sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==} + engines: {node: '>= 0.4'} + dev: true + /escalade@3.1.2: resolution: {integrity: sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA==} engines: {node: '>=6'} @@ -1625,6 +1792,33 @@ packages: engines: {node: '>=0.10.0'} dev: true + /eth-gas-reporter@0.2.27: + resolution: {integrity: sha512-femhvoAM7wL0GcI8ozTdxfuBtBFJ9qsyIAsmKVjlWAHUbdnnXHt+lKzz/kmldM5lA9jLuNHGwuIxorNpLbR1Zw==} + peerDependencies: + '@codechecks/client': ^0.1.0 + peerDependenciesMeta: + '@codechecks/client': + optional: true + dependencies: + '@solidity-parser/parser': 0.14.5 + axios: 1.7.2 + cli-table3: 0.5.1 + colors: 1.4.0 + ethereum-cryptography: 1.2.0 + ethers: 5.7.2 + fs-readdir-recursive: 1.1.0 + lodash: 4.17.21 + markdown-table: 1.1.3 + mocha: 10.7.0 + req-cwd: 2.0.0 + sha1: 1.1.1 + sync-request: 6.1.0 + transitivePeerDependencies: + - bufferutil + - debug + - utf-8-validate + dev: true + /ethereum-bloom-filters@1.1.0: resolution: {integrity: sha512-J1gDRkLpuGNvWYzWslBQR9cDV4nd4kfvVTE/Wy4Kkm4yb3EYRSlyi0eB/inTsSTTVyA0+HyzHgbr95Fn/Z1fSw==} deprecated: do not use this package use package versions above as this can miss some topics @@ -1700,6 +1894,44 @@ packages: rlp: 2.2.7 dev: true + /ethers@5.7.2: + resolution: {integrity: sha512-wswUsmWo1aOK8rR7DIKiWSw9DbLWe6x98Jrn8wcTflTVvaXhAMaB5zGAXy0GYQEQp9iO1iSHWVyARQm11zUtyg==} + dependencies: + '@ethersproject/abi': 5.7.0 + '@ethersproject/abstract-provider': 5.7.0 + '@ethersproject/abstract-signer': 5.7.0 + '@ethersproject/address': 5.7.0 + '@ethersproject/base64': 5.7.0 + '@ethersproject/basex': 5.7.0 + '@ethersproject/bignumber': 5.7.0 + '@ethersproject/bytes': 5.7.0 + '@ethersproject/constants': 5.7.0 + '@ethersproject/contracts': 5.7.0 + '@ethersproject/hash': 5.7.0 + '@ethersproject/hdnode': 5.7.0 + '@ethersproject/json-wallets': 5.7.0 + '@ethersproject/keccak256': 5.7.0 + '@ethersproject/logger': 5.7.0 + '@ethersproject/networks': 5.7.1 + '@ethersproject/pbkdf2': 5.7.0 + '@ethersproject/properties': 5.7.0 + '@ethersproject/providers': 5.7.2 + '@ethersproject/random': 5.7.0 + '@ethersproject/rlp': 5.7.0 + '@ethersproject/sha2': 5.7.0 + '@ethersproject/signing-key': 5.7.0 + '@ethersproject/solidity': 5.7.0 + '@ethersproject/strings': 5.7.0 + '@ethersproject/transactions': 5.7.0 + '@ethersproject/units': 5.7.0 + '@ethersproject/wallet': 5.7.0 + '@ethersproject/web': 5.7.1 + '@ethersproject/wordlists': 5.7.0 + transitivePeerDependencies: + - bufferutil + - utf-8-validate + dev: true + /ethers@6.13.1: resolution: {integrity: sha512-hdJ2HOxg/xx97Lm9HdCWk949BfYqYWpyw4//78SiwOLgASyfrNszfMUNB2joKjvGUdwhHfaiMMFFwacVVoLR9A==} engines: {node: '>=14.0.0'} @@ -1814,12 +2046,13 @@ packages: debug: 4.3.5(supports-color@8.1.1) dev: true - /foreground-child@3.2.1: - resolution: {integrity: sha512-PXUUyLqrR2XCWICfv6ukppP96sdFwWbNEnfEMt7jNsISjMsvaLNinAHNDYyvkyU+SZG2BTSbT5NjG+vZslfGTA==} - engines: {node: '>=14'} + /form-data@2.5.1: + resolution: {integrity: sha512-m21N3WOmEEURgk6B9GLOE4RuWOFf28Lhh9qGYeNlGq4VDXUlJy2th2slBNU8Gp8EzloYZOibZJ7t5ecIrFSjVA==} + engines: {node: '>= 0.12'} dependencies: - cross-spawn: 7.0.3 - signal-exit: 4.1.0 + asynckit: 0.4.0 + combined-stream: 1.0.8 + mime-types: 2.1.35 dev: true /form-data@4.0.0: @@ -1872,6 +2105,10 @@ packages: universalify: 2.0.1 dev: true + /fs-readdir-recursive@1.1.0: + resolution: {integrity: sha512-GNanXlVr2pf02+sPN40XN8HG+ePaNcvM0q5mZBd668Obwb0yD5GiUbZOFgwn8kGMY6I3mdyDJzieUy3PTYyTRA==} + dev: true + /fs.realpath@1.0.0: resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==} dev: true @@ -1897,6 +2134,22 @@ packages: resolution: {integrity: sha512-8vXOvuE167CtIc3OyItco7N/dpRtBbYOsPsXCz7X/PMnlGjYjSGuZJgM1Y7mmew7BKf9BqvLX2tnOVy1BBUsxQ==} dev: true + /get-intrinsic@1.2.4: + resolution: {integrity: sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==} + engines: {node: '>= 0.4'} + dependencies: + es-errors: 1.3.0 + function-bind: 1.1.2 + has-proto: 1.0.3 + has-symbols: 1.0.3 + hasown: 2.0.2 + dev: true + + /get-port@3.2.0: + resolution: {integrity: sha512-x5UJKlgeUiNT8nyo/AcnwLnZuZNcSjSw0kogRB+Whd1fjjFq4B1hySFxSFWWSn4mIBzg3sRNUDFYc4g5gjPoLg==} + engines: {node: '>=4'} + dev: true + /ghost-testrpc@0.0.2: resolution: {integrity: sha512-i08dAEgJ2g8z5buJIrCTduwPIhih3DP+hOCTyyryikfV8T0bNvHnGXO67i0DD1H4GBDETTclPy9njZbfluQYrQ==} hasBin: true @@ -1912,18 +2165,6 @@ packages: is-glob: 4.0.3 dev: true - /glob@10.4.5: - resolution: {integrity: sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==} - hasBin: true - dependencies: - foreground-child: 3.2.1 - jackspeak: 3.4.3 - minimatch: 9.0.5 - minipass: 7.1.2 - package-json-from-dist: 1.0.0 - path-scurry: 1.11.1 - dev: true - /glob@5.0.15: resolution: {integrity: sha512-c9IPMazfRITpmAAKi22dK1VKxGDX9ehhqfABDriL/lzO92xcUKEJPQHrVA/2YHSNFB4iFlykVmWvwo48nr3OxA==} deprecated: Glob versions prior to v9 are no longer supported @@ -2013,6 +2254,12 @@ packages: slash: 3.0.0 dev: true + /gopd@1.0.1: + resolution: {integrity: sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==} + dependencies: + get-intrinsic: 1.2.4 + dev: true + /graceful-fs@4.2.11: resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==} dev: true @@ -2030,33 +2277,20 @@ packages: uglify-js: 3.19.0 dev: true - /hardhat-gas-reporter@2.2.0(hardhat@2.22.6)(typescript@5.5.4): - resolution: {integrity: sha512-eAlLWnyDpQ+wJXgSCZsM0yt+rQm3ryJia1I1Hoi94LzlIfuSPcsMQM12VO6UHmAFLvXvoKxXPJ3ZYk0Kz+7CDQ==} + /hardhat-gas-reporter@1.0.10(hardhat@2.22.6): + resolution: {integrity: sha512-02N4+So/fZrzJ88ci54GqwVA3Zrf0C9duuTyGt0CFRIh/CdNwbnTgkXkRfojOMLBQ+6t+lBIkgbsOtqMvNwikA==} peerDependencies: - hardhat: ^2.16.0 + hardhat: ^2.0.2 dependencies: - '@ethersproject/abi': 5.7.0 - '@ethersproject/bytes': 5.7.0 - '@ethersproject/units': 5.7.0 - '@solidity-parser/parser': 0.18.0 - axios: 1.7.2 - brotli-wasm: 2.0.1 - chalk: 4.1.2 - cli-table3: 0.6.5 - ethereum-cryptography: 2.2.1 - glob: 10.4.5 + array-uniq: 1.0.3 + eth-gas-reporter: 0.2.27 hardhat: 2.22.6(ts-node@10.9.2)(typescript@5.5.4) - jsonschema: 1.4.1 - lodash: 4.17.21 - markdown-table: 2.0.0 sha1: 1.1.1 - viem: 2.7.14(typescript@5.5.4) transitivePeerDependencies: + - '@codechecks/client' - bufferutil - debug - - typescript - utf-8-validate - - zod dev: true /hardhat@2.22.6(ts-node@10.9.2)(typescript@5.5.4): @@ -2138,6 +2372,22 @@ packages: engines: {node: '>=8'} dev: true + /has-property-descriptors@1.0.2: + resolution: {integrity: sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==} + dependencies: + es-define-property: 1.0.0 + dev: true + + /has-proto@1.0.3: + resolution: {integrity: sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==} + engines: {node: '>= 0.4'} + dev: true + + /has-symbols@1.0.3: + resolution: {integrity: sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==} + engines: {node: '>= 0.4'} + dev: true + /hash-base@3.1.0: resolution: {integrity: sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA==} engines: {node: '>=4'} @@ -2178,6 +2428,16 @@ packages: minimalistic-crypto-utils: 1.0.1 dev: true + /http-basic@8.1.3: + resolution: {integrity: sha512-/EcDMwJZh3mABI2NhGfHOGOeOZITqfkEO4p/xK+l3NpyncIHUQBoMvCSF/b5GqvKtySC2srL/GGG3+EtlqlmCw==} + engines: {node: '>=6.0.0'} + dependencies: + caseless: 0.12.0 + concat-stream: 1.6.2 + http-response-object: 3.0.2 + parse-cache-control: 1.0.1 + dev: true + /http-errors@2.0.0: resolution: {integrity: sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==} engines: {node: '>= 0.8'} @@ -2189,6 +2449,12 @@ packages: toidentifier: 1.0.1 dev: true + /http-response-object@3.0.2: + resolution: {integrity: sha512-bqX0XTF6fnXSQcEJ2Iuyr75yVakyjIDCqroJQ/aHfSdlM743Cwqoi2nDYMzLGWUcuTWGWy8AAvOKXTfiv6q9RA==} + dependencies: + '@types/node': 10.17.60 + dev: true + /https-proxy-agent@5.0.1: resolution: {integrity: sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==} engines: {node: '>= 6'} @@ -2270,6 +2536,11 @@ packages: engines: {node: '>=0.10.0'} dev: true + /is-fullwidth-code-point@2.0.0: + resolution: {integrity: sha512-VHskAKYM8RfSFXwee5t5cbN5PZeq1Wrh6qd5bkyiXIf6UQcN6w/A0eXM9r6t8d+GYOh+o6ZhiEnb88LN/Y8m2w==} + engines: {node: '>=4'} + dev: true + /is-fullwidth-code-point@3.0.0: resolution: {integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==} engines: {node: '>=8'} @@ -2302,24 +2573,12 @@ packages: engines: {node: '>=10'} dev: true - /isexe@2.0.0: - resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==} + /isarray@1.0.0: + resolution: {integrity: sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==} dev: true - /isows@1.0.3(ws@8.13.0): - resolution: {integrity: sha512-2cKei4vlmg2cxEjm3wVSqn8pcoRF/LX/wpifuuNquFO4SQmPwarClT+SUCA2lt+l581tTeZIPIZuIDo2jWN1fg==} - peerDependencies: - ws: '*' - dependencies: - ws: 8.13.0 - dev: true - - /jackspeak@3.4.3: - resolution: {integrity: sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==} - dependencies: - '@isaacs/cliui': 8.0.2 - optionalDependencies: - '@pkgjs/parseargs': 0.11.0 + /isexe@2.0.0: + resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==} dev: true /js-sha3@0.8.0: @@ -2444,10 +2703,6 @@ packages: get-func-name: 2.0.2 dev: true - /lru-cache@10.4.3: - resolution: {integrity: sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==} - dev: true - /lru_map@0.3.3: resolution: {integrity: sha512-Pn9cox5CsMYngeDbmChANltQl+5pi6XmTrraMSzhPmMBbmgcxmqWry0U3PGapCU1yB4/LqCcom7qhHZiF/jGfQ==} dev: true @@ -2456,10 +2711,8 @@ packages: resolution: {integrity: sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==} dev: true - /markdown-table@2.0.0: - resolution: {integrity: sha512-Ezda85ToJUBhM6WGaG6veasyym+Tbs3cMAw/ZhOPqXiYsr0jgocBV3j3nx+4lk47plLlIqjwuTm/ywVI+zjJ/A==} - dependencies: - repeat-string: 1.6.1 + /markdown-table@1.1.3: + resolution: {integrity: sha512-1RUZVgQlpJSPWYbFSpmudq5nHY1doEIv89gBtF0s4gW1GF2XorxcA/70M5vq7rLv0a6mhOUccRsqkwhwLCIQ2Q==} dev: true /md5.js@1.3.5: @@ -2525,22 +2778,10 @@ packages: brace-expansion: 2.0.1 dev: true - /minimatch@9.0.5: - resolution: {integrity: sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==} - engines: {node: '>=16 || 14 >=14.17'} - dependencies: - brace-expansion: 2.0.1 - dev: true - /minimist@1.2.8: resolution: {integrity: sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==} dev: true - /minipass@7.1.2: - resolution: {integrity: sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==} - engines: {node: '>=16 || 14 >=14.17'} - dev: true - /mkdirp@0.5.6: resolution: {integrity: sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==} hasBin: true @@ -2651,6 +2892,16 @@ packages: strip-hex-prefix: 1.0.0 dev: true + /object-assign@4.1.1: + resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==} + engines: {node: '>=0.10.0'} + dev: true + + /object-inspect@1.13.2: + resolution: {integrity: sha512-IRZSRuzJiynemAXPYtPe5BoI/RESNYR7TYm50MC5Mqbd3Jmw5y790sErYw3V6SryFJD64b74qQQs9wn5Bg/k3g==} + engines: {node: '>= 0.4'} + dev: true + /obliterator@2.0.4: resolution: {integrity: sha512-lgHwxlxV1qIg1Eap7LgIeoBWIMFibOjbrYPIPJZcI1mmGAI2m3lNYpK12Y+GBdPQ0U1hRwSord7GIaawz962qQ==} dev: true @@ -2722,8 +2973,8 @@ packages: engines: {node: '>=4'} dev: true - /package-json-from-dist@1.0.0: - resolution: {integrity: sha512-dATvCeZN/8wQsGywez1mzHtTlP22H8OEfPrVMLNr4/eGa+ijtLn/6M5f0dY8UKNrC2O9UCU6SSoG3qRKnt7STw==} + /parse-cache-control@1.0.1: + resolution: {integrity: sha512-60zvsJReQPX5/QP0Kzfd/VrpjScIQ7SHBW6bFCYfEP+fp0Eppr1SHhIO5nd1PjZtvclzSzES9D/p5nFJurwfWg==} dev: true /path-exists@3.0.0: @@ -2741,23 +2992,10 @@ packages: engines: {node: '>=0.10.0'} dev: true - /path-key@3.1.1: - resolution: {integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==} - engines: {node: '>=8'} - dev: true - /path-parse@1.0.7: resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==} dev: true - /path-scurry@1.11.1: - resolution: {integrity: sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==} - engines: {node: '>=16 || 14 >=14.18'} - dependencies: - lru-cache: 10.4.3 - minipass: 7.1.2 - dev: true - /path-type@4.0.0: resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==} engines: {node: '>=8'} @@ -2817,6 +3055,16 @@ packages: hasBin: true dev: true + /process-nextick-args@2.0.1: + resolution: {integrity: sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==} + dev: true + + /promise@8.3.0: + resolution: {integrity: sha512-rZPNPKTOYVNEEKFaq1HqTgOwZD+4/YHS5ukLzQCypkj+OkYx7iv0mA91lJlpPPZ8vMau3IIGj5Qlwrx+8iiSmg==} + dependencies: + asap: 2.0.6 + dev: true + /prompts@2.4.2: resolution: {integrity: sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==} engines: {node: '>= 6'} @@ -2829,6 +3077,13 @@ packages: resolution: {integrity: sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==} dev: true + /qs@6.12.3: + resolution: {integrity: sha512-AWJm14H1vVaO/iNZ4/hO+HyaTehuy9nRqVdkTqlJt0HWvBiBIEXFmb4C0DGeYo3Xes9rrEW+TxHsaigCbN5ICQ==} + engines: {node: '>=0.6'} + dependencies: + side-channel: 1.0.6 + dev: true + /queue-microtask@1.2.3: resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==} dev: true @@ -2849,6 +3104,18 @@ packages: unpipe: 1.0.0 dev: true + /readable-stream@2.3.8: + resolution: {integrity: sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==} + dependencies: + core-util-is: 1.0.3 + inherits: 2.0.4 + isarray: 1.0.0 + process-nextick-args: 2.0.1 + safe-buffer: 5.1.2 + string_decoder: 1.1.1 + util-deprecate: 1.0.2 + dev: true + /readable-stream@3.6.2: resolution: {integrity: sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==} engines: {node: '>= 6'} @@ -2884,9 +3151,18 @@ packages: engines: {node: '>=6'} dev: true - /repeat-string@1.6.1: - resolution: {integrity: sha512-PV0dzCYDNfRi1jCDbJzpW7jNNDRuCOG/jI5ctQcGKt/clZD+YcPS3yIlWuTJMmESC8aevCFmWJy5wjAFgNqN6w==} - engines: {node: '>=0.10'} + /req-cwd@2.0.0: + resolution: {integrity: sha512-ueoIoLo1OfB6b05COxAA9UpeoscNpYyM+BqYlA7H6LVF4hKGPXQQSSaD2YmvDVJMkk4UDpAHIeU1zG53IqjvlQ==} + engines: {node: '>=4'} + dependencies: + req-from: 2.0.0 + dev: true + + /req-from@2.0.0: + resolution: {integrity: sha512-LzTfEVDVQHBRfjOUMgNBA+V6DWsSnoeKzf42J7l0xa/B4jyPOuuF5MlNSmomLNGemWTnV2TIdjSSLnEn95fOQA==} + engines: {node: '>=4'} + dependencies: + resolve-from: 3.0.0 dev: true /require-directory@2.1.1: @@ -2899,6 +3175,11 @@ packages: engines: {node: '>=0.10.0'} dev: true + /resolve-from@3.0.0: + resolution: {integrity: sha512-GnlH6vxLymXJNMBo7XP1fJIzBFbdYt49CuTwmB/6N53t+kMPRMFKz783LlQ4tv28XoQfMWinAJX6WCGf2IlaIw==} + engines: {node: '>=4'} + dev: true + /resolve@1.1.7: resolution: {integrity: sha512-9znBF0vBcaSN3W2j7wKvdERPwqTxSpCq+if5C0WoTCyV9n24rua28jeuQ2pL/HOf+yUe/Mef+H/5p60K0Id3bg==} dev: true @@ -2943,6 +3224,10 @@ packages: queue-microtask: 1.2.3 dev: true + /safe-buffer@5.1.2: + resolution: {integrity: sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==} + dev: true + /safe-buffer@5.2.1: resolution: {integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==} dev: true @@ -3007,6 +3292,18 @@ packages: randombytes: 2.1.0 dev: true + /set-function-length@1.2.2: + resolution: {integrity: sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==} + engines: {node: '>= 0.4'} + dependencies: + define-data-property: 1.1.4 + es-errors: 1.3.0 + function-bind: 1.1.2 + get-intrinsic: 1.2.4 + gopd: 1.0.1 + has-property-descriptors: 1.0.2 + dev: true + /setimmediate@1.0.5: resolution: {integrity: sha512-MATJdZp8sLqDl/68LfQmbP8zKPLQNV6BIZoIgrscFDQ+RsvK/BxeDQOgyxKKoh0y/8h3BqVFnCqQ/gd+reiIXA==} dev: true @@ -3030,18 +3327,6 @@ packages: crypt: 0.0.2 dev: true - /shebang-command@2.0.0: - resolution: {integrity: sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==} - engines: {node: '>=8'} - dependencies: - shebang-regex: 3.0.0 - dev: true - - /shebang-regex@3.0.0: - resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==} - engines: {node: '>=8'} - dev: true - /shelljs@0.8.5: resolution: {integrity: sha512-TiwcRcrkhHvbrZbnRcFYMLl30Dfov3HKqzp5tO5b4pt6G/SezKcYhmDg15zXVBswHmctSAQKznqNW2LO5tTDow==} engines: {node: '>=4'} @@ -3052,9 +3337,14 @@ packages: rechoir: 0.6.2 dev: true - /signal-exit@4.1.0: - resolution: {integrity: sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==} - engines: {node: '>=14'} + /side-channel@1.0.6: + resolution: {integrity: sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==} + engines: {node: '>= 0.4'} + dependencies: + call-bind: 1.0.7 + es-errors: 1.3.0 + get-intrinsic: 1.2.4 + object-inspect: 1.13.2 dev: true /sisteransi@1.0.5: @@ -3170,6 +3460,14 @@ packages: resolution: {integrity: sha512-bbEs3scLeYNXLecRRuk6uJxdXUSj6le/8rNPHChIJTn2V79aXVTR1EH2OH5zLKKoz0V02fOUKZZcw01pLUShZA==} dev: true + /string-width@2.1.1: + resolution: {integrity: sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==} + engines: {node: '>=4'} + dependencies: + is-fullwidth-code-point: 2.0.0 + strip-ansi: 4.0.0 + dev: true + /string-width@4.2.3: resolution: {integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==} engines: {node: '>=8'} @@ -3179,13 +3477,10 @@ packages: strip-ansi: 6.0.1 dev: true - /string-width@5.1.2: - resolution: {integrity: sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==} - engines: {node: '>=12'} + /string_decoder@1.1.1: + resolution: {integrity: sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==} dependencies: - eastasianwidth: 0.2.0 - emoji-regex: 9.2.2 - strip-ansi: 7.1.0 + safe-buffer: 5.1.2 dev: true /string_decoder@1.3.0: @@ -3194,6 +3489,13 @@ packages: safe-buffer: 5.2.1 dev: true + /strip-ansi@4.0.0: + resolution: {integrity: sha512-4XaJ2zQdCzROZDivEVIDPkcQn8LMFSa8kj8Gxb/Lnwzv9A8VctNZ+lfivC/sV3ivW8ElJTERXZoPBRrZKkNKow==} + engines: {node: '>=4'} + dependencies: + ansi-regex: 3.0.1 + dev: true + /strip-ansi@6.0.1: resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==} engines: {node: '>=8'} @@ -3201,13 +3503,6 @@ packages: ansi-regex: 5.0.1 dev: true - /strip-ansi@7.1.0: - resolution: {integrity: sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==} - engines: {node: '>=12'} - dependencies: - ansi-regex: 6.0.1 - dev: true - /strip-hex-prefix@1.0.0: resolution: {integrity: sha512-q8d4ue7JGEiVcypji1bALTos+0pWtyGlivAWyPuTkHzuTCJqrK9sWxYQZUq6Nq3cuyv3bm734IhHvHtGGURU6A==} engines: {node: '>=6.5.0', npm: '>=3'} @@ -3253,6 +3548,21 @@ packages: engines: {node: '>= 0.4'} dev: true + /sync-request@6.1.0: + resolution: {integrity: sha512-8fjNkrNlNCrVc/av+Jn+xxqfCjYaBoHqCsDz6mt030UMxJGr+GSfCV1dQt2gRtlL63+VPidwDVLr7V2OcTSdRw==} + engines: {node: '>=8.0.0'} + dependencies: + http-response-object: 3.0.2 + sync-rpc: 1.3.6 + then-request: 6.0.2 + dev: true + + /sync-rpc@1.3.6: + resolution: {integrity: sha512-J8jTXuZzRlvU7HemDgHi3pGnh/rkoqR/OZSjhTyyZrEkkYQbk7Z33AXp37mkPfPpfdOuj7Ex3H/TJM1z48uPQw==} + dependencies: + get-port: 3.2.0 + dev: true + /table-layout@1.0.2: resolution: {integrity: sha512-qd/R7n5rQTRFi+Zf2sk5XVVd9UQl6ZkduPFC3S7WEGJAmetDTjY3qPN50eSKzwuzEyQKy5TN2TiZdkIjos2L6A==} engines: {node: '>=8.0.0'} @@ -3274,6 +3584,23 @@ packages: strip-ansi: 6.0.1 dev: true + /then-request@6.0.2: + resolution: {integrity: sha512-3ZBiG7JvP3wbDzA9iNY5zJQcHL4jn/0BWtXIkagfz7QgOL/LqjCEOBQuJNZfu0XYnv5JhKh+cDxCPM4ILrqruA==} + engines: {node: '>=6.0.0'} + dependencies: + '@types/concat-stream': 1.6.1 + '@types/form-data': 0.0.33 + '@types/node': 8.10.66 + '@types/qs': 6.9.15 + caseless: 0.12.0 + concat-stream: 1.6.2 + form-data: 2.5.1 + http-basic: 8.1.3 + http-response-object: 3.0.2 + promise: 8.3.0 + qs: 6.12.3 + dev: true + /through2@4.0.2: resolution: {integrity: sha512-iOqSav00cVxEEICeD7TjLB1sueEL+81Wpzp2bY17uZjZN0pWZPuo4suZ/61VujxmqSGFfgOcNuTZ85QJwNZQpw==} dependencies: @@ -3416,6 +3743,10 @@ packages: - supports-color dev: true + /typedarray@0.0.6: + resolution: {integrity: sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==} + dev: true + /typescript@5.5.4: resolution: {integrity: sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==} engines: {node: '>=14.17'} @@ -3483,29 +3814,6 @@ packages: resolution: {integrity: sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==} dev: true - /viem@2.7.14(typescript@5.5.4): - resolution: {integrity: sha512-5b1KB1gXli02GOQHZIUsRluNUwssl2t4hqdFAzyWPwJ744N83jAOBOjOkrGz7K3qMIv9b0GQt3DoZIErSQTPkQ==} - peerDependencies: - typescript: '>=5.0.4' - peerDependenciesMeta: - typescript: - optional: true - dependencies: - '@adraffy/ens-normalize': 1.10.0 - '@noble/curves': 1.2.0 - '@noble/hashes': 1.3.2 - '@scure/bip32': 1.3.2 - '@scure/bip39': 1.2.1 - abitype: 1.0.0(typescript@5.5.4) - isows: 1.0.3(ws@8.13.0) - typescript: 5.5.4 - ws: 8.13.0 - transitivePeerDependencies: - - bufferutil - - utf-8-validate - - zod - dev: true - /web3-utils@1.10.4: resolution: {integrity: sha512-tsu8FiKJLk2PzhDl9fXbGUWTkkVXYhtTA+SmEFkKft+9BgwLxfCRpU96sWv7ICC8zixBNd3JURVoiR3dUXgP8A==} engines: {node: '>=8.0.0'} @@ -3527,14 +3835,6 @@ packages: isexe: 2.0.0 dev: true - /which@2.0.2: - resolution: {integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==} - engines: {node: '>= 8'} - hasBin: true - dependencies: - isexe: 2.0.0 - dev: true - /widest-line@3.1.0: resolution: {integrity: sha512-NsmoXalsWVDMGupxZ5R08ka9flZjjiLvHVAWYOKtiKM8ujtZWr9cRffak+uSE48+Ob8ObalXpwyeUiyDD6QFgg==} engines: {node: '>=8'} @@ -3572,21 +3872,12 @@ packages: strip-ansi: 6.0.1 dev: true - /wrap-ansi@8.1.0: - resolution: {integrity: sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==} - engines: {node: '>=12'} - dependencies: - ansi-styles: 6.2.1 - string-width: 5.1.2 - strip-ansi: 7.1.0 - dev: true - /wrappy@1.0.2: resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==} dev: true - /ws@7.5.10: - resolution: {integrity: sha512-+dbF1tHwZpXcbOJdVOkzLDxZP1ailvSxM6ZweXTegylPny803bFhA+vqBYw4s31NSAk4S2Qz+AKXK9a4wkdjcQ==} + /ws@7.4.6: + resolution: {integrity: sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A==} engines: {node: '>=8.3.0'} peerDependencies: bufferutil: ^4.0.1 @@ -3598,12 +3889,12 @@ packages: optional: true dev: true - /ws@8.13.0: - resolution: {integrity: sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA==} - engines: {node: '>=10.0.0'} + /ws@7.5.10: + resolution: {integrity: sha512-+dbF1tHwZpXcbOJdVOkzLDxZP1ailvSxM6ZweXTegylPny803bFhA+vqBYw4s31NSAk4S2Qz+AKXK9a4wkdjcQ==} + engines: {node: '>=8.3.0'} peerDependencies: bufferutil: ^4.0.1 - utf-8-validate: '>=5.0.2' + utf-8-validate: ^5.0.2 peerDependenciesMeta: bufferutil: optional: true From 2e0f0230d710ed646442efaae3b45d0a558838b5 Mon Sep 17 00:00:00 2001 From: Verin1005 Date: Tue, 30 Jul 2024 09:43:03 +0800 Subject: [PATCH 13/14] remove unused file --- tee-worker/litentry/core/assertion-build/src/dynamic/v20.14.0 | 2 -- 1 file changed, 2 deletions(-) delete mode 100644 tee-worker/litentry/core/assertion-build/src/dynamic/v20.14.0 diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/v20.14.0 b/tee-worker/litentry/core/assertion-build/src/dynamic/v20.14.0 deleted file mode 100644 index 3dd2198076..0000000000 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/v20.14.0 +++ /dev/null @@ -1,2 +0,0 @@ -Downloading and installing node v20.16.0... -Now using node v20.16.0 (npm v10.8.1) From c24e21e4ef27c688e0e8d68cdc118b190b002850 Mon Sep 17 00:00:00 2001 From: Verin1005 Date: Tue, 30 Jul 2024 12:06:56 +0800 Subject: [PATCH 14/14] fix cro configuration --- .../src/dynamic/contracts/token_holding_amount/erc20/Cro.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Cro.sol b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Cro.sol index 45a789c950..6a61ab29ad 100644 --- a/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Cro.sol +++ b/tee-worker/litentry/core/assertion-build/src/dynamic/contracts/token_holding_amount/erc20/Cro.sol @@ -46,8 +46,8 @@ library Cro { tokenInfoList[1] = TokenInfo( Web3Networks.Solana, "DvjMYMVeXgKxaixGKpzQThLoG98nc7HSU7eanzsdCboA", - DataProviderTypes.NoderealClient, - 6 + DataProviderTypes.MoralisClient, + 18 ); return tokenInfoList; }