@juicedollar/jusd 1.1.0 → 1.1.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 +15 -14
- package/dist/index.mjs +15 -14
- package/exports/address.config.ts +15 -15
- package/package.json +7 -1
package/dist/index.js
CHANGED
|
@@ -46,24 +46,25 @@ module.exports = __toCommonJS(exports_exports);
|
|
|
46
46
|
var import_viem = require("viem");
|
|
47
47
|
var ADDRESS = {
|
|
48
48
|
4114: {
|
|
49
|
-
// Citrea Mainnet
|
|
50
|
-
juiceDollar:
|
|
51
|
-
equity:
|
|
52
|
-
frontendGateway:
|
|
53
|
-
savingsGateway:
|
|
54
|
-
savingsVaultJUSD:
|
|
55
|
-
mintingHubGateway:
|
|
56
|
-
bridgeStartUSD:
|
|
57
|
-
bridgeUSDC:
|
|
58
|
-
bridgeUSDT:
|
|
59
|
-
bridgeCTUSD:
|
|
60
|
-
startUSD:
|
|
49
|
+
// Citrea Mainnet
|
|
50
|
+
juiceDollar: "0x0987D3720D38847ac6dBB9D025B9dE892a3CA35C",
|
|
51
|
+
equity: "0x2A36f2b204B46Fd82653cd06d00c7fF757C99ae4",
|
|
52
|
+
frontendGateway: "0x3090a89A1fF5DC99117BE655599e5491A0BaBB92",
|
|
53
|
+
savingsGateway: "0x22FE239892eBC8805DA8f05eD3bc6aF75332b60b",
|
|
54
|
+
savingsVaultJUSD: "0x1b70ae756b1089cc5948e4f8a2AD498DF30E897d",
|
|
55
|
+
mintingHubGateway: "0x1a20B160bf546774246C7920939E6e7Ac0f88b8e",
|
|
56
|
+
bridgeStartUSD: "0x51ff8141D731676Fb21aE1E5D5A88c04511994dD",
|
|
57
|
+
bridgeUSDC: "0x920DB0aDf6fEe2D69401e9f68D60319177dCa20F",
|
|
58
|
+
bridgeUSDT: "0x5CC0e668F8BA61E111B6168E19d17d3C65040614",
|
|
59
|
+
bridgeCTUSD: "0x8D11020286aF9ecf7E5D7bD79699c391b224a0bd",
|
|
60
|
+
startUSD: "0xD41ab73aF9c7324b9c7c6e63dE1aeC666d98bc80",
|
|
61
61
|
USDC: "0xE045e6c36cF77FAA2CfB54466D71A3aEF7bbE839",
|
|
62
62
|
USDT: "0x9f3096Bac87e7F03DC09b0B416eB0DF837304dc4",
|
|
63
63
|
CTUSD: "0x8D82c4E3c936C7B5724A382a9c5a4E6Eb7aB6d5D",
|
|
64
|
-
roller:
|
|
65
|
-
positionFactoryV2:
|
|
64
|
+
roller: "0xC1b97398c06B9C6a49Fd9dCFAC8907700301e9Ac",
|
|
65
|
+
positionFactoryV2: "0x107eDf5f030d724bD0C73f88A300bEA09AE581e2",
|
|
66
66
|
genesisPosition: import_viem.zeroAddress
|
|
67
|
+
// Not created - insufficient collateral
|
|
67
68
|
},
|
|
68
69
|
5115: {
|
|
69
70
|
juiceDollar: "0x6a850a548fdd050e8961223ec8FfCDfacEa57E39",
|
package/dist/index.mjs
CHANGED
|
@@ -2,24 +2,25 @@
|
|
|
2
2
|
import { zeroAddress } from "viem";
|
|
3
3
|
var ADDRESS = {
|
|
4
4
|
4114: {
|
|
5
|
-
// Citrea Mainnet
|
|
6
|
-
juiceDollar:
|
|
7
|
-
equity:
|
|
8
|
-
frontendGateway:
|
|
9
|
-
savingsGateway:
|
|
10
|
-
savingsVaultJUSD:
|
|
11
|
-
mintingHubGateway:
|
|
12
|
-
bridgeStartUSD:
|
|
13
|
-
bridgeUSDC:
|
|
14
|
-
bridgeUSDT:
|
|
15
|
-
bridgeCTUSD:
|
|
16
|
-
startUSD:
|
|
5
|
+
// Citrea Mainnet
|
|
6
|
+
juiceDollar: "0x0987D3720D38847ac6dBB9D025B9dE892a3CA35C",
|
|
7
|
+
equity: "0x2A36f2b204B46Fd82653cd06d00c7fF757C99ae4",
|
|
8
|
+
frontendGateway: "0x3090a89A1fF5DC99117BE655599e5491A0BaBB92",
|
|
9
|
+
savingsGateway: "0x22FE239892eBC8805DA8f05eD3bc6aF75332b60b",
|
|
10
|
+
savingsVaultJUSD: "0x1b70ae756b1089cc5948e4f8a2AD498DF30E897d",
|
|
11
|
+
mintingHubGateway: "0x1a20B160bf546774246C7920939E6e7Ac0f88b8e",
|
|
12
|
+
bridgeStartUSD: "0x51ff8141D731676Fb21aE1E5D5A88c04511994dD",
|
|
13
|
+
bridgeUSDC: "0x920DB0aDf6fEe2D69401e9f68D60319177dCa20F",
|
|
14
|
+
bridgeUSDT: "0x5CC0e668F8BA61E111B6168E19d17d3C65040614",
|
|
15
|
+
bridgeCTUSD: "0x8D11020286aF9ecf7E5D7bD79699c391b224a0bd",
|
|
16
|
+
startUSD: "0xD41ab73aF9c7324b9c7c6e63dE1aeC666d98bc80",
|
|
17
17
|
USDC: "0xE045e6c36cF77FAA2CfB54466D71A3aEF7bbE839",
|
|
18
18
|
USDT: "0x9f3096Bac87e7F03DC09b0B416eB0DF837304dc4",
|
|
19
19
|
CTUSD: "0x8D82c4E3c936C7B5724A382a9c5a4E6Eb7aB6d5D",
|
|
20
|
-
roller:
|
|
21
|
-
positionFactoryV2:
|
|
20
|
+
roller: "0xC1b97398c06B9C6a49Fd9dCFAC8907700301e9Ac",
|
|
21
|
+
positionFactoryV2: "0x107eDf5f030d724bD0C73f88A300bEA09AE581e2",
|
|
22
22
|
genesisPosition: zeroAddress
|
|
23
|
+
// Not created - insufficient collateral
|
|
23
24
|
},
|
|
24
25
|
5115: {
|
|
25
26
|
juiceDollar: "0x6a850a548fdd050e8961223ec8FfCDfacEa57E39",
|
|
@@ -26,24 +26,24 @@ export interface ChainAddress {
|
|
|
26
26
|
// Citrea Testnet Chain ID: 5115
|
|
27
27
|
export const ADDRESS: Record<number, ChainAddress> = {
|
|
28
28
|
4114: {
|
|
29
|
-
// Citrea Mainnet
|
|
30
|
-
juiceDollar:
|
|
31
|
-
equity:
|
|
32
|
-
frontendGateway:
|
|
33
|
-
savingsGateway:
|
|
34
|
-
savingsVaultJUSD:
|
|
35
|
-
mintingHubGateway:
|
|
36
|
-
bridgeStartUSD:
|
|
37
|
-
bridgeUSDC:
|
|
38
|
-
bridgeUSDT:
|
|
39
|
-
bridgeCTUSD:
|
|
40
|
-
startUSD:
|
|
29
|
+
// Citrea Mainnet
|
|
30
|
+
juiceDollar: '0x0987D3720D38847ac6dBB9D025B9dE892a3CA35C',
|
|
31
|
+
equity: '0x2A36f2b204B46Fd82653cd06d00c7fF757C99ae4',
|
|
32
|
+
frontendGateway: '0x3090a89A1fF5DC99117BE655599e5491A0BaBB92',
|
|
33
|
+
savingsGateway: '0x22FE239892eBC8805DA8f05eD3bc6aF75332b60b',
|
|
34
|
+
savingsVaultJUSD: '0x1b70ae756b1089cc5948e4f8a2AD498DF30E897d',
|
|
35
|
+
mintingHubGateway: '0x1a20B160bf546774246C7920939E6e7Ac0f88b8e',
|
|
36
|
+
bridgeStartUSD: '0x51ff8141D731676Fb21aE1E5D5A88c04511994dD',
|
|
37
|
+
bridgeUSDC: '0x920DB0aDf6fEe2D69401e9f68D60319177dCa20F',
|
|
38
|
+
bridgeUSDT: '0x5CC0e668F8BA61E111B6168E19d17d3C65040614',
|
|
39
|
+
bridgeCTUSD: '0x8D11020286aF9ecf7E5D7bD79699c391b224a0bd',
|
|
40
|
+
startUSD: '0xD41ab73aF9c7324b9c7c6e63dE1aeC666d98bc80',
|
|
41
41
|
USDC: '0xE045e6c36cF77FAA2CfB54466D71A3aEF7bbE839',
|
|
42
42
|
USDT: '0x9f3096Bac87e7F03DC09b0B416eB0DF837304dc4',
|
|
43
43
|
CTUSD: '0x8D82c4E3c936C7B5724A382a9c5a4E6Eb7aB6d5D',
|
|
44
|
-
roller:
|
|
45
|
-
positionFactoryV2:
|
|
46
|
-
genesisPosition: zeroAddress,
|
|
44
|
+
roller: '0xC1b97398c06B9C6a49Fd9dCFAC8907700301e9Ac',
|
|
45
|
+
positionFactoryV2: '0x107eDf5f030d724bD0C73f88A300bEA09AE581e2',
|
|
46
|
+
genesisPosition: zeroAddress, // Not created - insufficient collateral
|
|
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.
|
|
3
|
+
"version": "1.1.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",
|
|
@@ -23,6 +23,10 @@
|
|
|
23
23
|
"wallet": "npx ts-node helper/wallet.info.ts",
|
|
24
24
|
"coverage": "npx hardhat coverage",
|
|
25
25
|
"deploy": "npx hardhat run scripts/deployment/deploy/deployProtocol.ts",
|
|
26
|
+
"node:fork:testnet": "FORK_TESTNET=true npx hardhat node",
|
|
27
|
+
"node:fork:mainnet": "FORK_MAINNET=true npx hardhat node",
|
|
28
|
+
"deploy:fork:testnet": "FORK_TESTNET=true npx hardhat run scripts/deployment/deploy/deployProtocol.ts --network hardhat",
|
|
29
|
+
"deploy:fork:mainnet": "FORK_MAINNET=true npx hardhat run scripts/deployment/deploy/deployProtocol.ts --network hardhat",
|
|
26
30
|
"deploy:mainnet": "npx hardhat run scripts/deployment/deploy/deployProtocol.ts --network citrea",
|
|
27
31
|
"deploy:testnet": "npx hardhat run scripts/deployment/deploy/deployProtocol.ts --network citreaTestnet",
|
|
28
32
|
"verify": "npx hardhat run scripts/verifyContracts.ts --network citrea",
|
|
@@ -34,6 +38,8 @@
|
|
|
34
38
|
"publish": "npm publish --access public",
|
|
35
39
|
"cover": "nodejs ./solcover.js",
|
|
36
40
|
"test": "npx hardhat test test/unit/*.ts",
|
|
41
|
+
"test:fork:testnet": "FORK_TESTNET=true npx hardhat test --network hardhat",
|
|
42
|
+
"test:fork:mainnet": "FORK_MAINNET=true npx hardhat test --network hardhat",
|
|
37
43
|
"deployPositions:network": "export deploymode=pos && npx hardhat deploy --network",
|
|
38
44
|
"positions": "npx hardhat monitor-positions --network citrea --sort created",
|
|
39
45
|
"contracts": "npx hardhat get-contracts",
|