Compare commits

..

No commits in common. "b288ce93564f6c4e78d9ab0de219ffbc44b232e4" and "b4e23e96b438d5ea4e702e332ba542d05fc4d130" have entirely different histories.

118 changed files with 24 additions and 36 deletions
components
networkConfig.js
scripts
static
events
deposits_137_matic_100.json.gzdeposits_137_matic_1000.json.gzdeposits_137_matic_10000.json.gzdeposits_1_cdai_5000.json.gzdeposits_1_cdai_50000.json.gzdeposits_1_cdai_500000.json.gzdeposits_1_cdai_5000000.json.gzdeposits_1_dai_100.json.gzdeposits_1_dai_1000.json.gzdeposits_1_dai_10000.json.gzdeposits_1_dai_100000.json.gzdeposits_1_eth_0.1.json.gzdeposits_1_eth_1.json.gzdeposits_1_eth_10.json.gzdeposits_1_eth_100.json.gzdeposits_1_usdc_100.json.gzdeposits_1_usdc_1000.json.gzdeposits_1_usdt_100.json.gzdeposits_1_usdt_1000.json.gzdeposits_1_wbtc_0.1.json.gzdeposits_1_wbtc_1.json.gzdeposits_1_wbtc_10.json.gzdeposits_42161_eth_0.1.json.gzdeposits_42161_eth_1.json.gzdeposits_42161_eth_10.json.gzdeposits_56_bnb_0.1.json.gzdeposits_56_bnb_1.json.gzdeposits_56_bnb_10.json.gzdeposits_56_bnb_100.json.gzwithdrawals_137_matic_100.json.gzwithdrawals_137_matic_1000.json.gzwithdrawals_137_matic_10000.json.gzwithdrawals_1_cdai_5000.json.gzwithdrawals_1_cdai_50000.json.gzwithdrawals_1_cdai_500000.json.gzwithdrawals_1_cdai_5000000.json.gzwithdrawals_1_dai_100.json.gzwithdrawals_1_dai_1000.json.gzwithdrawals_1_dai_10000.json.gzwithdrawals_1_dai_100000.json.gzwithdrawals_1_eth_0.1.json.gzwithdrawals_1_eth_1.json.gzwithdrawals_1_eth_10.json.gzwithdrawals_1_eth_100.json.gzwithdrawals_1_usdc_100.json.gzwithdrawals_1_usdc_1000.json.gzwithdrawals_1_usdt_100.json.gzwithdrawals_1_usdt_1000.json.gzwithdrawals_1_wbtc_0.1.json.gzwithdrawals_1_wbtc_1.json.gzwithdrawals_1_wbtc_10.json.gzwithdrawals_42161_eth_0.1.json.gzwithdrawals_42161_eth_1.json.gzwithdrawals_42161_eth_10.json.gzwithdrawals_56_bnb_0.1.json.gzwithdrawals_56_bnb_1.json.gzwithdrawals_56_bnb_10.json.gzwithdrawals_56_bnb_100.json.gz
trees

@ -4,10 +4,7 @@
<div class="box-modal-title">{{ $t('withdrawalSettings') }}</div>
<button type="button" class="delete" @click="$parent.cancel('escape')" />
</header>
<b-tabs v-if="isRelayersAvailable" v-model="withdrawType" :animated="false" class="is-modal">
<RelayerTab />
</b-tabs>
<b-tabs v-else v-model="withdrawType" :animated="false" class="is-modal">
<b-tabs v-model="withdrawType" :animated="false" class="is-modal">
<RelayerTab />
<WalletTab />
</b-tabs>
@ -49,11 +46,7 @@ export default {
computed: {
...mapState('application', {
defaultWithdrawType: 'withdrawType'
}),
...mapState('relayer', ['isLoadingRelayers', 'validRelayers']),
isRelayersAvailable() {
return !this.isLoadingRelayers && this.validRelayers.length > 0;
}
})
},
created() {
this.withdrawType = this.defaultWithdrawType

@ -200,7 +200,7 @@ export default {
return false
},
shouldSettingsShow() {
return !this.isLoading && !this.error.type && !this.hasErrorNote
return !this.hasErrorNote && !this.error.message
},
hasErrorNote() {
const note = this.withdrawNote.split('-')[4]

@ -29,9 +29,9 @@ export default {
name: 'MevblockerRPC',
url: 'https://rpc.mevblocker.io'
},
oneRPC: {
name: '1RPC',
url: 'https://1rpc.io/eth'
llamaRPC: {
name: 'llamarpc',
url: 'https://eth.llamarpc.com'
}
},
multicall: '0xeefba1e63905ef1d7acba5a8513c70307c1ce441',
@ -401,17 +401,17 @@ export default {
multicall: '0xe86e3989c74293Acc962156cd3F525c07b6a1B6e',
echoContractAccount: '0xa75BF2815618872f155b7C4B0C81bF990f5245E4',
rpcUrls: {
publicRpc: {
publicRpc1: {
name: 'Avalanche RPC',
url: 'https://api.avax.network/ext/bc/C/rpc'
url: 'https://endpoints.omniatech.io/v1/avax/mainnet/public'
},
meowRPC: {
name: 'Meow RPC',
url: 'https://avax.meowrpc.com'
},
oneRPC: {
name: 'OneRPC',
url: 'https://1rpc.io/avax/c'
communityRPC: {
name: 'Tornado RPC',
url: 'https://avalanche-rpc.tornado.ws/ext/bc/C/rpc'
}
},
tokens: {
@ -459,10 +459,6 @@ export default {
chainnodes: {
name: 'Tornado RPC',
url: 'https://goerli.chainnodes.org/d692ae63-0a7e-43e0-9da9-fe4f4cc6c607'
},
gatewayRPC: {
name: 'Gateway RPC',
url: 'https://rpc.goerli.eth.gateway.fm'
}
},
tokens: {

@ -17,22 +17,21 @@ function updateEncrypted(netId) {
async function updateCommon(netId) {
const { nativeCurrency, tokens } = networkConfig[`netId${netId}`]
for (const type of EVENTS) {
for (const [tokenName, tokenInfo] of Object.entries(tokens)) {
console.log(`${tokenInfo.symbol}: ${Object.keys(tokenInfo.instanceAddress)}`)
for (const instance of Object.keys(tokenInfo.instanceAddress)) {
console.warn('instance', instance)
console.log(Object.keys(tokens[nativeCurrency].instanceAddress))
const filename = `${type.toLowerCase()}s_${netId}_${tokenName}_${instance}.json`
for await (const type of EVENTS) {
for await (const instance of Object.keys(tokens[nativeCurrency].instanceAddress)) {
console.warn('instance', instance)
const isSaved = save(`${EVENTS_PATH}${filename}`)
const filename = `${type.toLowerCase()}s_${netId}_${nativeCurrency}_${instance}.json`
if (isSaved) {
try {
testCommon(netId, type, filename)
} catch (err) {
console.error(err.message)
}
const isSaved = save(`${EVENTS_PATH}${filename}`)
if (isSaved) {
try {
testCommon(netId, type, filename)
} catch (err) {
console.error(err.message)
}
}
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More