@juicedollar/jusd 1.1.1 → 3.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -43,7 +43,6 @@ __export(exports_exports, {
43
43
  module.exports = __toCommonJS(exports_exports);
44
44
 
45
45
  // exports/address.config.ts
46
- var import_viem = require("viem");
47
46
  var ADDRESS = {
48
47
  4114: {
49
48
  // Citrea Mainnet
@@ -63,8 +62,7 @@ var ADDRESS = {
63
62
  CTUSD: "0x8D82c4E3c936C7B5724A382a9c5a4E6Eb7aB6d5D",
64
63
  roller: "0xC1b97398c06B9C6a49Fd9dCFAC8907700301e9Ac",
65
64
  positionFactoryV2: "0x107eDf5f030d724bD0C73f88A300bEA09AE581e2",
66
- genesisPosition: import_viem.zeroAddress
67
- // Not created - insufficient collateral
65
+ genesisPosition: "0xe8c97614Ac1A5Ac0e8aB2d0e04b4B315817ecb36"
68
66
  },
69
67
  5115: {
70
68
  juiceDollar: "0x6a850a548fdd050e8961223ec8FfCDfacEa57E39",
package/dist/index.mjs CHANGED
@@ -1,5 +1,4 @@
1
1
  // exports/address.config.ts
2
- import { zeroAddress } from "viem";
3
2
  var ADDRESS = {
4
3
  4114: {
5
4
  // Citrea Mainnet
@@ -19,8 +18,7 @@ var ADDRESS = {
19
18
  CTUSD: "0x8D82c4E3c936C7B5724A382a9c5a4E6Eb7aB6d5D",
20
19
  roller: "0xC1b97398c06B9C6a49Fd9dCFAC8907700301e9Ac",
21
20
  positionFactoryV2: "0x107eDf5f030d724bD0C73f88A300bEA09AE581e2",
22
- genesisPosition: zeroAddress
23
- // Not created - insufficient collateral
21
+ genesisPosition: "0xe8c97614Ac1A5Ac0e8aB2d0e04b4B315817ecb36"
24
22
  },
25
23
  5115: {
26
24
  juiceDollar: "0x6a850a548fdd050e8961223ec8FfCDfacEa57E39",
@@ -1,4 +1,4 @@
1
- import { Address, zeroAddress } from 'viem';
1
+ import { Address } from 'viem';
2
2
 
3
3
  export interface ChainAddress {
4
4
  juiceDollar: Address;
@@ -43,7 +43,7 @@ export const ADDRESS: Record<number, ChainAddress> = {
43
43
  CTUSD: '0x8D82c4E3c936C7B5724A382a9c5a4E6Eb7aB6d5D',
44
44
  roller: '0xC1b97398c06B9C6a49Fd9dCFAC8907700301e9Ac',
45
45
  positionFactoryV2: '0x107eDf5f030d724bD0C73f88A300bEA09AE581e2',
46
- genesisPosition: zeroAddress, // Not created - insufficient collateral
46
+ genesisPosition: '0xe8c97614Ac1A5Ac0e8aB2d0e04b4B315817ecb36',
47
47
  },
48
48
  5115: {
49
49
  juiceDollar: '0x6a850a548fdd050e8961223ec8FfCDfacEa57E39',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juicedollar/jusd",
3
- "version": "1.1.1",
3
+ "version": "3.0.1",
4
4
  "description": "JuiceDollar (JUSD) - Oracle-free, Bitcoin-collateralized stablecoin on Citrea. Decentralized minting with democratic governance.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -29,6 +29,8 @@
29
29
  "deploy:fork:mainnet": "FORK_MAINNET=true npx hardhat run scripts/deployment/deploy/deployProtocol.ts --network hardhat",
30
30
  "deploy:mainnet": "npx hardhat run scripts/deployment/deploy/deployProtocol.ts --network citrea",
31
31
  "deploy:testnet": "npx hardhat run scripts/deployment/deploy/deployProtocol.ts --network citreaTestnet",
32
+ "genesis:fork:mainnet": "FORK_MAINNET=true npx hardhat run scripts/genesis/createGenesisPosition.ts --network hardhat",
33
+ "genesis:mainnet": "npx hardhat run scripts/genesis/createGenesisPosition.ts --network citrea",
32
34
  "verify": "npx hardhat run scripts/verifyContracts.ts --network citrea",
33
35
  "verify:mainnet": "DEPLOYMENT_FILE_PATH=./deployments/citrea/protocol.json npx hardhat run scripts/verifyContracts.ts --network citrea",
34
36
  "verify:testnet": "DEPLOYMENT_FILE_PATH=./deployments/citreaTestnet/protocol.json npx hardhat run scripts/verifyContracts.ts --network citreaTestnet",