Skip to content

Commit

Permalink
Update omni bridge send script
Browse files Browse the repository at this point in the history
  • Loading branch information
shanefontaine committed May 27, 2021
1 parent d24ad99 commit 0f460e4
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions scripts/other/sendOverOmniBridge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,19 @@ import {
// $ npx hardhat run scripts/other/sendOverOmniBridge.ts --network kovan
async function main () {
// Addresses
const l1_tokenBridgeAddress: string = '0xA960d095470f7509955d5402e36d9DB984B5C8E2'
const l1_canonicalTokenAddress: string = '0x436e3FfB93A4763575E5C0F6b3c97D5489E050da'
const l2_canonicalTokenAddress: string = '0x6D2d8B29d92cab87a273e872FcC4650A64116283'
// DAI
// const l1_tokenBridgeAddress: string = '0xA960d095470f7509955d5402e36d9DB984B5C8E2'
// const l1_canonicalTokenAddress: string = '0x436e3FfB93A4763575E5C0F6b3c97D5489E050da'
// const l2_canonicalTokenAddress: string = '0x6D2d8B29d92cab87a273e872FcC4650A64116283'
// const tokenDecimals: number = 18

// USDC
// const l1_tokenBridgeAddress: string = '0xA960d095470f7509955d5402e36d9DB984B5C8E2'
// const l1_canonicalTokenAddress: string = '0xA46d09fd4B7961aE16D33122660f43726cB1Ff36'
// const l2_canonicalTokenAddress: string = '0x3b0977b9e563F63F219019616BBD12cB1cdFF527'
const l1_tokenBridgeAddress: string = '0xA960d095470f7509955d5402e36d9DB984B5C8E2'
const l1_canonicalTokenAddress: string = '0xA46d09fd4B7961aE16D33122660f43726cB1Ff36'
const l2_canonicalTokenAddress: string = '0x3b0977b9e563F63F219019616BBD12cB1cdFF527'
const tokenDecimals: number = 6

// Values to Change
const tokenDecimals: number = 6
const shouldMintMax: boolean = false
const shouldApproveMax: boolean = true
const numLoops: number = 1000
Expand Down

0 comments on commit 0f460e4

Please sign in to comment.