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
import LPAddressProviderABI from './abis/lpAddressProvider.json'; | |
import web3 from 'web3'; | |
const lpAddress = '0x1c8756FD2B28e9426CDBDcC7E3c4d64fa9A54728'; | |
const web = new web3(); | |
const lpAddressProviderContract = new web.eth.Contract(LPAddressProviderABI, lpAddress); |
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
try { | |
const lpCoreAddress = await getLatestLpCoreAddress(); | |
const contract = new ethers.Contract(lpCoreAddress, LendingPoolABI, provider.getSigner()); | |
const daiContract = new ethers.Contract(daiAddress, DaiTokenABI, provider.getSigner()); | |
const daiAmountInWei = ethers.utils.parseEther('1000000000000000000000000000000000000000000'); | |
const a = await daiContract.approve(lpCoreAddress, daiAmountInWei); |
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
{ | |
"version": "0.1.25", | |
"notes": "See the assets to download and install this version.", | |
"pub_date": "2023-11-16T08:22:15.901Z", | |
"platforms": { | |
"linux-x86_64": { | |
"signature": "dW50cnVzdGVkIGNvbW1lbnQ6IHNpZ25hdHVyZSBmcm9tIHRhdXJpIHNlY3JldCBrZXkKUlVUUWRwcnhPNmZwd0xHZkN0MU9HN0dDZDFVUm01c2E4WmhSVjBEOHlWWEZNUmIvZytvVEszYUVUMVBETWE3a2hPaWZPazIrSzhUS0hSK21ZcGNBRHdySjBGY1BZM3l5MVFVPQp0cnVzdGVkIGNvbW1lbnQ6IHRpbWVzdGFtcDoxNzAwMTIyNzQ3CWZpbGU6bXktYXBwXzAuMS4yNV9hbWQ2NC5BcHBJbWFnZS50YXIuZ3oKcHVFTHVVbE9pdmhLSzdlYklrRzIyaCtIV2NuSXlDYVZoT3oxY3F2dHVKV0l3ZGFHeGNOYUprSnU2YkNZWXlpZVFvMzZEMFBjK04ybU1WZVdTTytDQ1E9PQo=", | |
"url": "https://github.com/AndonMitev/tauri-test-updater-v2-ffs/releases/download/v0.1.25/my-app_0.1.25_amd64.AppImage.tar.gz" | |
}, | |
"windows-x86_64": { |
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
{ | |
"version": "0.1.1", | |
"notes": "See the assets to download and install this version.", | |
"pub_date": "2023-11-20T11:44:27.287Z", | |
"platforms": { | |
"windows-x86_64": { | |
"signature": "dW50cnVzdGVkIGNvbW1lbnQ6IHNpZ25hdHVyZSBmcm9tIHRhdXJpIHNlY3JldCBrZXkKUlVRVzBSd2s4L3REamxzdUxPQnFUVzZyZk5WeFRDd0xudmgxL1FQOEVHSVRvN3djakwzcS9GeGZkb2l6aVpkakYva2RNbkxrUjRsd2tZcERGS1NCYTlCVlRBcEZkbGZzN1E0PQp0cnVzdGVkIGNvbW1lbnQ6IHRpbWVzdGFtcDoxNzAwNDgwMzkyCWZpbGU6Z2FtZS1sYXVuY2hlcl8wLjEuMV94NjRfZW4tVVMubXNpLnppcApRS3cwSXcwclZBQUhvVHFHV2hTQUFpMVN3SkU2YWptayt0NnNxRU9OVHlGbUk3RTlYaWhKREcweit3M2hzZTF0VUlFZmxFOW9lbTVIMWxCaUZhZXpBZz09Cg==", | |
"url": "https://github.com/weichain/game-launcher-application/releases/download/v0.1.1/game-launcher_0.1.1_x64_en-US.msi.zip" | |
}, | |
"darwin-aarch64": { |