This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function findPositionInArrayForLoop(uint _item, uint[] memory _array) pure internal returns (uint i) { // requirements should come before. | |
uint[] memory tmpArray = _array; | |
uint arrayLength = tmpArray.length; | |
for (i = 0; i < arrayLength;) { | |
if (tmpArray[i] != _item) { | |
unchecked { | |
i++; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#List of free public RPC nodes with good performance | |
#Mainnet | |
ETH_RPC=https://eth.llamarpc.com | |
BSC_RPC=https://bsc-dataseed.binance.org | |
ARB_RPC=https://rpc.ankr.com/arbitrum | |
AVAX_RPC=https://avax-mainnet.gateway.pokt.network/v1/lb/605238bf6b986eea7cf36d5e/ext/bc/C/rpc | |
FANTOM_RPC=https://fantom.blockpi.network/v1/rpc/public | |
ZKERA_RPC=https://zksync-node.blockwallet.io | |
POLYGONZK_RPC=https://polygon-zkevm-node.blockwallet.io |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hello, this is Sienna |