-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nt: trigger pr diff #6
Conversation
import { parseEther, parseUnits } from "ethers/lib/utils"; | ||
import { ledgerService } from "@ledgerhq/hw-app-eth"; | ||
|
||
const contractAddr = "0xe8ff2a04837aac535199eecb5ece52b2735b3543"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
was a testnet goerli contract, it matches b2c.json will edit for mainnet value only
import { parseEther, parseUnits } from "ethers/lib/utils"; | ||
import { ledgerService } from "@ledgerhq/hw-app-eth"; | ||
|
||
const contractAddr = "0xe8ff2a04837aac535199eecb5ece52b2735b3543"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
was a testnet goerli contract, it matches b2c.json will edit for mainnet value only
import { parseEther, parseUnits } from 'ethers/lib/utils'; | ||
import { ledgerService } from '@ledgerhq/hw-app-eth'; | ||
|
||
const contractAddr = '0xe8ff2a04837aac535199eecb5ece52b2735b3543'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
}; | ||
} | ||
|
||
module.exports = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
common-js exports with esm imports 🤔
startText: 'is ready', | ||
}; | ||
|
||
const Resolve = require('path').resolve; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we do only esm here or is there a reason for this require ?
import { parseEther, parseUnits } from 'ethers/lib/utils'; | ||
import { ledgerService } from '@ledgerhq/hw-app-eth'; | ||
|
||
const contractAddr = '0x380c7e0ec45f5b62ae5a0a6d6a0b95b532e3dd9c'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
import { parseEther } from 'ethers/lib/utils'; | ||
import { ledgerService } from '@ledgerhq/hw-app-eth'; | ||
|
||
const contractAddr = '0x380c7e0ec45f5b62ae5a0a6d6a0b95b532e3dd9c'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
import { parseEther, parseUnits } from "ethers/lib/utils"; | ||
import { ledgerService } from "@ledgerhq/hw-app-eth"; | ||
|
||
const contractAddr = "0xe8ff2a04837aac535199eecb5ece52b2735b3543"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
import { parseEther } from 'ethers/lib/utils'; | ||
import { ledgerService } from '@ledgerhq/hw-app-eth'; | ||
|
||
const contractAddr = '0x380c7e0ec45f5b62ae5a0a6d6a0b95b532e3dd9c'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
const contract = new ethers.Contract(contractAddr, abi); | ||
|
||
const { data } = await contract.populateTransaction.undelegate( | ||
'0x645a845f80576a25f1b412330a108780f6c4573d' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:fyi: this address is not an operator
const contract = new ethers.Contract(contractAddr, abi); | ||
|
||
const { data } = await contract.populateTransaction.delegateTo( | ||
'0x645a845f80576a25f1b412330a108780f6c4573d', // not kiln operator |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:fyi: this address is not an operator
import { parseEther, parseUnits } from 'ethers/lib/utils'; | ||
import { ledgerService } from '@ledgerhq/hw-app-eth'; | ||
|
||
const contractAddr = '0xe8ff2a04837aac535199eecb5ece52b2735b3543'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
import { parseEther, parseUnits } from 'ethers/lib/utils'; | ||
import { ledgerService } from '@ledgerhq/hw-app-eth'; | ||
|
||
const contractAddr = '0xe8ff2a04837aac535199eecb5ece52b2735b3543'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
import { parseEther } from 'ethers/lib/utils'; | ||
import { ledgerService } from '@ledgerhq/hw-app-eth'; | ||
|
||
const contractAddr = '0xb0c8078af582d8b754ef35f3bdaceff8587bd914'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
import { parseEther, parseUnits } from "ethers/lib/utils"; | ||
import { ledgerService } from "@ledgerhq/hw-app-eth"; | ||
|
||
const contractAddr = "0xe8ff2a04837aac535199eecb5ece52b2735b3543"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
import { parseEther, parseUnits } from 'ethers/lib/utils'; | ||
import { ledgerService } from '@ledgerhq/hw-app-eth'; | ||
|
||
const contractAddr = '0xe8ff2a04837aac535199eecb5ece52b2735b3543'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No description provided.