generated from iotaledger/template
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
48f934a
commit 03b6a83
Showing
3 changed files
with
18 additions
and
13 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,14 @@ | ||
import wSMRAbiAsText from '$lib/assets/wSMR.abi?raw'; | ||
import wIOTAAbiAsText from '$lib/assets/wIOTA.abi?raw'; | ||
import wSMRAbiAsText from '$lib/assets/wSMR.abi?raw'; | ||
import { ChainReference } from "$lib/evm-toolkit"; | ||
|
||
export const wSMRAbi = JSON.parse(wSMRAbiAsText); | ||
export const wIOTAAbi = JSON.parse(wIOTAAbiAsText); | ||
export const wSMRContractAddress = '0xBEb654A116aeEf764988DF0C6B4bf67CC869D01b'; | ||
export const wIOTAContractAddress = '0x6e47f8d48a01b44DF3fFF35d258A10A3AEdC114c'; | ||
export const GAS_PRICE = 0.000001; // 1000 Gwei | ||
|
||
export const WTOKEN_CONTRACT_CHAIN_MAP = { | ||
[ChainReference.IOTAEVM]: '0x6e47f8d48a01b44DF3fFF35d258A10A3AEdC114c', | ||
[ChainReference.IOTAEVMTestnet]: '0xB2E0DfC4820cc55829C71529598530E177968613', | ||
[ChainReference.ShimmerEVM]: '0xBEb654A116aeEf764988DF0C6B4bf67CC869D01b', | ||
[ChainReference.ShimmerEVMTestnet]: '0xBEb654A116aeEf764988DF0C6B4bf67CC869D01b', | ||
} |