diff --git a/package-lock.json b/package-lock.json index af42521..bd851a4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8400,7 +8400,7 @@ }, "packages/abstract-chain": { "name": "@rosen-chains/abstract-chain", - "version": "2.1.0", + "version": "2.2.0", "license": "GPL-3.0", "dependencies": { "@rosen-bridge/json-bigint": "^0.1.0", @@ -8426,14 +8426,14 @@ }, "packages/chains/cardano": { "name": "@rosen-chains/cardano", - "version": "2.1.0", + "version": "2.2.0", "license": "GPL-3.0", "dependencies": { "@emurgo/cardano-serialization-lib-nodejs": "^11.3.1", "@rosen-bridge/json-bigint": "^0.1.0", "@rosen-bridge/logger-interface": "^0.1.0", "@rosen-bridge/rosen-extractor": "^1.0.0", - "@rosen-chains/abstract-chain": "^2.1.0", + "@rosen-chains/abstract-chain": "^2.2.0", "bech32": "^2.0.0", "blake2b": "^2.1.3" }, @@ -8456,13 +8456,13 @@ }, "packages/chains/ergo": { "name": "@rosen-chains/ergo", - "version": "2.2.0", + "version": "2.3.0", "license": "GPL-3.0", "dependencies": { "@rosen-bridge/json-bigint": "^0.1.0", "@rosen-bridge/minimum-fee": "^0.1.13", "@rosen-bridge/rosen-extractor": "^1.0.0", - "@rosen-chains/abstract-chain": "^2.1.0", + "@rosen-chains/abstract-chain": "^2.2.0", "blakejs": "^1.2.1", "ergo-lib-wasm-nodejs": "^0.24.1" }, @@ -8484,7 +8484,7 @@ }, "packages/networks/cardano-koios": { "name": "@rosen-chains/cardano-koios-network", - "version": "2.1.0", + "version": "2.2.0", "license": "GPL-3.0", "dependencies": { "@emurgo/cardano-serialization-lib-nodejs": "^11.3.1", @@ -8492,8 +8492,8 @@ "@rosen-bridge/logger-interface": "^0.1.0", "@rosen-bridge/rosen-extractor": "^1.0.0", "@rosen-bridge/tokens": "^1.0.0", - "@rosen-chains/abstract-chain": "^2.1.0", - "@rosen-chains/cardano": "^2.1.0", + "@rosen-chains/abstract-chain": "^2.2.0", + "@rosen-chains/cardano": "^2.2.0", "@rosen-clients/cardano-koios": "^1.0.3" }, "devDependencies": { @@ -8531,15 +8531,15 @@ }, "packages/networks/ergo-explorer": { "name": "@rosen-chains/ergo-explorer-network", - "version": "2.2.0", + "version": "2.3.0", "license": "GPL-3.0", "dependencies": { "@rosen-bridge/json-bigint": "^0.1.0", "@rosen-bridge/logger-interface": "^0.1.0", "@rosen-bridge/rosen-extractor": "^1.0.0", "@rosen-bridge/tokens": "^1.0.0", - "@rosen-chains/abstract-chain": "^2.1.0", - "@rosen-chains/ergo": "^2.2.0", + "@rosen-chains/abstract-chain": "^2.2.0", + "@rosen-chains/ergo": "^2.3.0", "@rosen-clients/ergo-explorer": "^1.0.2", "ergo-lib-wasm-nodejs": "^0.24.1", "it-all": "^3.0.1" @@ -8573,15 +8573,15 @@ }, "packages/networks/ergo-node": { "name": "@rosen-chains/ergo-node-network", - "version": "2.2.0", + "version": "2.3.0", "license": "GPL-3.0", "dependencies": { "@rosen-bridge/json-bigint": "^0.1.0", "@rosen-bridge/logger-interface": "^0.1.0", "@rosen-bridge/rosen-extractor": "^1.0.0", "@rosen-bridge/tokens": "^1.0.0", - "@rosen-chains/abstract-chain": "^2.1.0", - "@rosen-chains/ergo": "^2.2.0", + "@rosen-chains/abstract-chain": "^2.2.0", + "@rosen-chains/ergo": "^2.3.0", "@rosen-clients/ergo-node": "^1.0.3", "ergo-lib-wasm-nodejs": "^0.24.1", "it-all": "^3.0.1" diff --git a/packages/abstract-chain/lib/types.ts b/packages/abstract-chain/lib/types.ts index d7f9ba3..08b9c9b 100644 --- a/packages/abstract-chain/lib/types.ts +++ b/packages/abstract-chain/lib/types.ts @@ -9,6 +9,7 @@ interface AddressConfigs { lock: string; cold: string; permit: string; + fraud: string; } interface ChainConfigs { fee: bigint; diff --git a/packages/abstract-chain/package.json b/packages/abstract-chain/package.json index 8de475c..7ce97d5 100644 --- a/packages/abstract-chain/package.json +++ b/packages/abstract-chain/package.json @@ -1,6 +1,6 @@ { "name": "@rosen-chains/abstract-chain", - "version": "2.1.0", + "version": "2.2.0", "description": "this project contains abstract classes to implement any chain for Rosen-bridge", "main": "dist/lib/index.js", "types": "dist/lib/index.d.ts", diff --git a/packages/abstract-chain/tests/AbstractChain.spec.ts b/packages/abstract-chain/tests/AbstractChain.spec.ts index 23b06f7..e9efbdc 100644 --- a/packages/abstract-chain/tests/AbstractChain.spec.ts +++ b/packages/abstract-chain/tests/AbstractChain.spec.ts @@ -24,6 +24,7 @@ describe('AbstractChain', () => { lock: 'lock_addr', cold: 'cold_addr', permit: 'permit_addr', + fraud: 'fraud_addr', }, rwtId: 'rwt', }; diff --git a/packages/abstract-chain/tests/AbstractUtxoChain.spec.ts b/packages/abstract-chain/tests/AbstractUtxoChain.spec.ts index d1b8c3f..092d9e1 100644 --- a/packages/abstract-chain/tests/AbstractUtxoChain.spec.ts +++ b/packages/abstract-chain/tests/AbstractUtxoChain.spec.ts @@ -19,6 +19,7 @@ describe('AbstractUtxoChain', () => { lock: 'lock_addr', cold: 'cold_addr', permit: 'permit_addr', + fraud: 'fraud_addr', }, rwtId: 'rwt', }; diff --git a/packages/chains/cardano/package.json b/packages/chains/cardano/package.json index a54b723..f5031d4 100644 --- a/packages/chains/cardano/package.json +++ b/packages/chains/cardano/package.json @@ -1,6 +1,6 @@ { "name": "@rosen-chains/cardano", - "version": "2.1.0", + "version": "2.2.0", "description": "this project contains cardano chain for Rosen-bridge", "main": "dist/lib/index.js", "types": "dist/lib/index.d.ts", @@ -24,7 +24,7 @@ "@rosen-bridge/logger-interface": "^0.1.0", "@rosen-bridge/rosen-extractor": "^1.0.0", "@rosen-bridge/json-bigint": "^0.1.0", - "@rosen-chains/abstract-chain": "^2.1.0", + "@rosen-chains/abstract-chain": "^2.2.0", "bech32": "^2.0.0", "blake2b": "^2.1.3" }, diff --git a/packages/chains/cardano/tests/CardanoChain.spec.ts b/packages/chains/cardano/tests/CardanoChain.spec.ts index 973c9d2..323b36a 100644 --- a/packages/chains/cardano/tests/CardanoChain.spec.ts +++ b/packages/chains/cardano/tests/CardanoChain.spec.ts @@ -37,6 +37,7 @@ describe('CardanoChain', () => { lock: 'addr1qxwkc9uhw02wvkgw9qkrw2twescuc2ss53t5yaedl0zcyen2a0y7redvgjx0t0al56q9dkyzw095eh8jw7luan2kh38qpw3xgs', cold: 'cold', permit: 'permit', + fraud: 'fraud', }, rwtId: rwtId, confirmations: { diff --git a/packages/chains/ergo/package.json b/packages/chains/ergo/package.json index f9ef200..4afdfd6 100644 --- a/packages/chains/ergo/package.json +++ b/packages/chains/ergo/package.json @@ -1,6 +1,6 @@ { "name": "@rosen-chains/ergo", - "version": "2.2.0", + "version": "2.3.0", "description": "this project contains ergo chain for Rosen-bridge", "main": "dist/lib/index.js", "types": "dist/lib/index.d.ts", @@ -23,7 +23,7 @@ "@rosen-bridge/json-bigint": "^0.1.0", "@rosen-bridge/minimum-fee": "^0.1.13", "@rosen-bridge/rosen-extractor": "^1.0.0", - "@rosen-chains/abstract-chain": "^2.1.0", + "@rosen-chains/abstract-chain": "^2.2.0", "blakejs": "^1.2.1", "ergo-lib-wasm-nodejs": "^0.24.1" }, diff --git a/packages/chains/ergo/tests/ErgoChain.spec.ts b/packages/chains/ergo/tests/ErgoChain.spec.ts index 896f43e..dfaaa61 100644 --- a/packages/chains/ergo/tests/ErgoChain.spec.ts +++ b/packages/chains/ergo/tests/ErgoChain.spec.ts @@ -61,6 +61,7 @@ describe('ErgoChain', () => { lock: 'lock_addr', cold: 'cold_addr', permit: 'permit_addr', + fraud: 'fraud_addr', }, rwtId: rwt, minBoxValue: 1000000n, @@ -154,6 +155,7 @@ describe('ErgoChain', () => { lock: 'nB3L2PD3LG4ydEj62n9aymRyPCEbkBdzaubgvCWDH2oxHxFBfAUy9GhWDvteDbbUh5qhXxnW8R46qmEiZfkej8gt4kZYvbeobZJADMrWXwFJTsZ17euEcoAp3KDk31Q26okFpgK9SKdi4', cold: 'cold_addr', permit: 'permit_addr', + fraud: 'fraud_addr', }, rwtId: rwtId, minBoxValue: 300000n, @@ -286,6 +288,7 @@ describe('ErgoChain', () => { lock: 'nB3L2PD3LG4ydEj62n9aymRyPCEbkBdzaubgvCWDH2oxHxFBfAUy9GhWDvteDbbUh5qhXxnW8R46qmEiZfkej8gt4kZYvbeobZJADMrWXwFJTsZ17euEcoAp3KDk31Q26okFpgK9SKdi4', cold: 'cold_addr', permit: 'permit_addr', + fraud: 'fraud_addr', }, rwtId: rwtId, minBoxValue: 300000n, @@ -390,6 +393,7 @@ describe('ErgoChain', () => { lock: 'nB3L2PD3LG4ydEj62n9aymRyPCEbkBdzaubgvCWDH2oxHxFBfAUy9GhWDvteDbbUh5qhXxnW8R46qmEiZfkej8gt4kZYvbeobZJADMrWXwFJTsZ17euEcoAp3KDk31Q26okFpgK9SKdi4', cold: 'cold_addr', permit: 'permit_addr', + fraud: 'fraud_addr', }, rwtId: rwtId, minBoxValue: 300000n, @@ -514,6 +518,7 @@ describe('ErgoChain', () => { lock: 'nB3L2PD3LG4ydEj62n9aymRyPCEbkBdzaubgvCWDH2oxHxFBfAUy9GhWDvteDbbUh5qhXxnW8R46qmEiZfkej8gt4kZYvbeobZJADMrWXwFJTsZ17euEcoAp3KDk31Q26okFpgK9SKdi4', cold: 'cold_addr', permit: 'permit_addr', + fraud: 'fraud_addr', }, rwtId: rwtId, minBoxValue: 300000n, @@ -634,6 +639,7 @@ describe('ErgoChain', () => { lock: 'nB3L2PD3LG4ydEj62n9aymRyPCEbkBdzaubgvCWDH2oxHxFBfAUy9GhWDvteDbbUh5qhXxnW8R46qmEiZfkej8gt4kZYvbeobZJADMrWXwFJTsZ17euEcoAp3KDk31Q26okFpgK9SKdi4', cold: 'cold_addr', permit: 'permit_addr', + fraud: 'fraud_addr', }, rwtId: rwtId, minBoxValue: 1000000n, @@ -695,6 +701,7 @@ describe('ErgoChain', () => { lock: 'lock_addr', cold: 'cold_addr', permit: 'permit_addr', + fraud: 'fraud_addr', }, rwtId: rwtId, minBoxValue: 1000000n, @@ -752,6 +759,7 @@ describe('ErgoChain', () => { lock: 'lock_addr', cold: 'cold_addr', permit: 'permit_addr', + fraud: 'fraud_addr', }, rwtId: rwtId, minBoxValue: 1000000n, @@ -1337,6 +1345,7 @@ describe('ErgoChain', () => { lock: 'nB3L2PD3LG4ydEj62n9aymRyPCEbkBdzaubgvCWDH2oxHxFBfAUy9GhWDvteDbbUh5qhXxnW8R46qmEiZfkej8gt4kZYvbeobZJADMrWXwFJTsZ17euEcoAp3KDk31Q26okFpgK9SKdi4', cold: 'cold_addr', permit: 'permit_addr', + fraud: 'fraud_addr', }, rwtId: rwtId, minBoxValue: 1000000n, @@ -1389,6 +1398,7 @@ describe('ErgoChain', () => { lock: '9i1rTxaZpLprUkVHpY4YNyooksLuouiKqZ2v1J5nf8xFTXBCVcB', cold: 'cold_addr', permit: 'permit_addr', + fraud: 'fraud_addr', }, rwtId: rwtId, minBoxValue: 1000000n, @@ -1441,6 +1451,7 @@ describe('ErgoChain', () => { lock: 'nB3L2PD3LG4ydEj62n9aymRyPCEbkBdzaubgvCWDH2oxHxFBfAUy9GhWDvteDbbUh5qhXxnW8R46qmEiZfkej8gt4kZYvbeobZJADMrWXwFJTsZ17euEcoAp3KDk31Q26okFpgK9SKdi4', cold: 'cold_addr', permit: 'permit_addr', + fraud: 'fraud_addr', }, rwtId: rwtId, minBoxValue: 1000000n, @@ -2459,6 +2470,7 @@ describe('ErgoChain', () => { lock: 'nB3L2PD3LBtiNhDYK7XhZ8nVt6uekBXN7RcPUKgdKLXFcrJiSPxmQsUKuUkTRQ1hbvDrxEQAKYurGFbaGD1RPxU7XqQimD78j23HHMQKL1boUGsnNhCxaVNAYMcFbQNo355Af8cWkhAN6', cold: 'cold_addr', permit: 'permit_addr', + fraud: 'fraud', }, rwtId: rwtId, minBoxValue: 1000000n, diff --git a/packages/networks/cardano-koios/package.json b/packages/networks/cardano-koios/package.json index bc3a8e0..65fb89d 100644 --- a/packages/networks/cardano-koios/package.json +++ b/packages/networks/cardano-koios/package.json @@ -1,6 +1,6 @@ { "name": "@rosen-chains/cardano-koios-network", - "version": "2.1.0", + "version": "2.2.0", "description": "cardano koios network package for rosen cardano chain", "main": "dist/lib/index.js", "types": "dist/lib/index.d.ts", @@ -25,8 +25,8 @@ "@rosen-bridge/logger-interface": "^0.1.0", "@rosen-bridge/rosen-extractor": "^1.0.0", "@rosen-bridge/tokens": "^1.0.0", - "@rosen-chains/abstract-chain": "^2.1.0", - "@rosen-chains/cardano": "^2.1.0", + "@rosen-chains/abstract-chain": "^2.2.0", + "@rosen-chains/cardano": "^2.2.0", "@rosen-clients/cardano-koios": "^1.0.3" }, "devDependencies": { diff --git a/packages/networks/ergo-explorer/package.json b/packages/networks/ergo-explorer/package.json index 0c03cf8..f42084d 100644 --- a/packages/networks/ergo-explorer/package.json +++ b/packages/networks/ergo-explorer/package.json @@ -1,6 +1,6 @@ { "name": "@rosen-chains/ergo-explorer-network", - "version": "2.2.0", + "version": "2.3.0", "description": "ergo explorer network package for rosen ergo chain", "main": "dist/lib/index.js", "types": "dist/lib/index.d.ts", @@ -24,8 +24,8 @@ "@rosen-bridge/logger-interface": "^0.1.0", "@rosen-bridge/rosen-extractor": "^1.0.0", "@rosen-bridge/tokens": "^1.0.0", - "@rosen-chains/abstract-chain": "^2.1.0", - "@rosen-chains/ergo": "^2.2.0", + "@rosen-chains/abstract-chain": "^2.2.0", + "@rosen-chains/ergo": "^2.3.0", "@rosen-clients/ergo-explorer": "^1.0.2", "ergo-lib-wasm-nodejs": "^0.24.1", "it-all": "^3.0.1" diff --git a/packages/networks/ergo-node/package.json b/packages/networks/ergo-node/package.json index fd7829c..75d11e3 100644 --- a/packages/networks/ergo-node/package.json +++ b/packages/networks/ergo-node/package.json @@ -1,6 +1,6 @@ { "name": "@rosen-chains/ergo-node-network", - "version": "2.2.0", + "version": "2.3.0", "description": "ergo node network package for rosen ergo chain", "main": "dist/lib/index.js", "types": "dist/lib/index.d.ts", @@ -24,8 +24,8 @@ "@rosen-bridge/logger-interface": "^0.1.0", "@rosen-bridge/rosen-extractor": "^1.0.0", "@rosen-bridge/tokens": "^1.0.0", - "@rosen-chains/abstract-chain": "^2.1.0", - "@rosen-chains/ergo": "^2.2.0", + "@rosen-chains/abstract-chain": "^2.2.0", + "@rosen-chains/ergo": "^2.3.0", "@rosen-clients/ergo-node": "^1.0.3", "ergo-lib-wasm-nodejs": "^0.24.1", "it-all": "^3.0.1"