fix: config

This commit is contained in:
Alex 2025-04-02 17:41:00 +03:00
parent 5e2789b43e
commit 84a1eda9e3
12 changed files with 108 additions and 5918 deletions

View File

@ -19,247 +19,9 @@ interpreters: {}
contract_templates: contract_templates:
# Our contract module. The contract module is an npm package created in the `dist/out` # Our contract module. The contract module is an npm package created in the `dist/out`
# directory using the `yarn build` and `yarn pack` commands. # directory using the `yarn build` and `yarn pack` commands.
- file:///./packages/dex-app.cm/dist/out/my-contract-module.tgz - file:///./packages/contract.cm/dist/out/my-contract-module.tgz
- file:///./packages/market-maker.cm/dist/out/my-contract-module.tgz
contract_instances: contract_instances:
- alias: btc_offer_maker 0.0.90+devnet - alias: cwait-contract 0.0.1-devnet
template: dex-app.cm v0.0.90+test template: contract.cm v0.0.1
parameters:
content:
l1_type: 1
shard: tbtc
owner:
auth: EcdsaContract
payload: 036d9316445a2a9823919f1df9e9fc932550078fe06b772a676eaaba33932432a1
owner_min_fee: '0x0'
owner_percentage_fee: 0
order_life_time: 604800000
close_order_timeout: 300000
jump_contract_id: '0xcb5f8ee92bf9fe08f59a6997f3def2405f5bab46d0468d0bff1ff359c54192a5'
jump_contract_method: 'JUMP-AND-WAIT'
logs:
- method-name
- provided-cweb
- method-args
- contract-args
- custom
- alias: eth_offer_maker 0.0.90+devnet
template: dex-app.cm v0.0.90+test
parameters:
content:
shard: deva
l1_type: 0
l1_contract_address: '0x7F0055241779898b7aE8325217F690C843AfdD84'
l1_transfer_event_signature: '0xc57b8d4564150cb20d03b08bce9ee8d27b7fa55b10337806be888ea3803b019e'
owner:
auth: EcdsaContract
payload: 036d9316445a2a9823919f1df9e9fc932550078fe06b772a676eaaba33932432a1
owner_min_fee: '0x0'
owner_percentage_fee: 0
order_life_time: 604800000
close_order_timeout: 300000
jump_contract_id: '0xcb5f8ee92bf9fe08f59a6997f3def2405f5bab46d0468d0bff1ff359c54192a5'
jump_contract_method: 'JUMP-AND-WAIT'
logs:
- method-name
- provided-cweb
- method-args
- contract-args
- custom
- alias: bnb_offer_maker 0.0.90+devnet
template: dex-app.cm v0.0.90+test
parameters:
content:
shard: devb
l1_type: 0
l1_contract_address: '0x7F0055241779898b7aE8325217F690C843AfdD84'
l1_transfer_event_signature: '0xc57b8d4564150cb20d03b08bce9ee8d27b7fa55b10337806be888ea3803b019e'
owner:
auth: EcdsaContract
payload: 036d9316445a2a9823919f1df9e9fc932550078fe06b772a676eaaba33932432a1
owner_min_fee: '0x0'
owner_percentage_fee: 0
order_life_time: 604800000
close_order_timeout: 300000
jump_contract_id: '0xcb5f8ee92bf9fe08f59a6997f3def2405f5bab46d0468d0bff1ff359c54192a5'
jump_contract_method: 'JUMP-AND-WAIT'
logs:
- method-name
- provided-cweb
- method-args
- contract-args
- custom
- alias: usdt_eth_offer_maker 0.0.90+devnet
template: dex-app.cm v0.0.90+test
parameters:
content:
shard: deva
l1_type: 0
l1_contract_address: '0xe6D28e11e2D65439343551127D51770f079a3427'
l1_transfer_event_signature: '0xc57b8d4564150cb20d03b08bce9ee8d27b7fa55b10337806be888ea3803b019e'
owner:
auth: EcdsaContract
payload: 036d9316445a2a9823919f1df9e9fc932550078fe06b772a676eaaba33932432a1
owner_min_fee: '0x0'
owner_percentage_fee: 0
order_life_time: 604800000
close_order_timeout: 300000
jump_contract_id: '0xcb5f8ee92bf9fe08f59a6997f3def2405f5bab46d0468d0bff1ff359c54192a5'
jump_contract_method: 'JUMP-AND-WAIT'
logs:
- method-name
- provided-cweb
- method-args
- contract-args
- custom
- alias: usdt_bnb_offer_maker 0.0.90+devnet
template: dex-app.cm v0.0.90+test
parameters:
content:
shard: devb
l1_type: 0
l1_contract_address: '0xe6D28e11e2D65439343551127D51770f079a3427'
l1_transfer_event_signature: '0xc57b8d4564150cb20d03b08bce9ee8d27b7fa55b10337806be888ea3803b019e'
owner:
auth: EcdsaContract
payload: 036d9316445a2a9823919f1df9e9fc932550078fe06b772a676eaaba33932432a1
owner_min_fee: '0x0'
owner_percentage_fee: 0
order_life_time: 604800000
close_order_timeout: 300000
jump_contract_id: '0xcb5f8ee92bf9fe08f59a6997f3def2405f5bab46d0468d0bff1ff359c54192a5'
jump_contract_method: 'JUMP-AND-WAIT'
logs:
- method-name
- provided-cweb
- method-args
- contract-args
- custom
- alias: btc_pact_maker 0.0.85+devnet
template: market-maker.cm v0.0.85+test
parameters:
content:
l1_type: 1
shard: tbtc
owner:
auth: EcdsaContract
payload: 036d9316445a2a9823919f1df9e9fc932550078fe06b772a676eaaba33932432a1
collateral_percentage_Int: 100
owner_min_fee_Hex: '0x0'
owner_percentage_fee_Int: 0
order_life_time: 604800000
pact_life_time: 10800000
jump_contract_id: '0xcb5f8ee92bf9fe08f59a6997f3def2405f5bab46d0468d0bff1ff359c54192a5'
jump_contract_method: 'JUMP-AND-WAIT'
logs:
- method-name
- provided-cweb
- method-args
- contract-args
- custom
- alias: eth_pact_maker 0.0.85+devnet
template: market-maker.cm v0.0.85+test
parameters:
content:
l1_type: 0
shard: deva
l1_contract_address: '0x5b50845B94fC47c6172d9ab90845D3613e36Aed5'
l1_transfer_event_signature: '0xa42a1fb0456e2cc8990290e31b24166458f3ac8beb986ab6c26f47fdc486d594'
owner:
auth: EcdsaContract
payload: 036d9316445a2a9823919f1df9e9fc932550078fe06b772a676eaaba33932432a1
collateral_percentage_Int: 100
owner_min_fee_Hex: '0x0'
owner_percentage_fee_Int: 0
order_life_time: 604800000
pact_life_time: 10800000
jump_contract_id: '0xcb5f8ee92bf9fe08f59a6997f3def2405f5bab46d0468d0bff1ff359c54192a5'
jump_contract_method: 'JUMP-AND-WAIT'
logs:
- method-name
- provided-cweb
- method-args
- contract-args
- custom
- alias: bnb_pact_maker 0.0.85+devnet
template: market-maker.cm v0.0.85+test
parameters:
content:
l1_type: 0
shard: devb
l1_contract_address: '0x5b50845B94fC47c6172d9ab90845D3613e36Aed5'
l1_transfer_event_signature: '0xa42a1fb0456e2cc8990290e31b24166458f3ac8beb986ab6c26f47fdc486d594'
owner:
auth: EcdsaContract
payload: 036d9316445a2a9823919f1df9e9fc932550078fe06b772a676eaaba33932432a1
collateral_percentage_Int: 100
owner_min_fee_Hex: '0x0'
owner_percentage_fee_Int: 0
order_life_time: 604800000
pact_life_time: 10800000
jump_contract_id: '0xcb5f8ee92bf9fe08f59a6997f3def2405f5bab46d0468d0bff1ff359c54192a5'
jump_contract_method: 'JUMP-AND-WAIT'
logs:
- method-name
- provided-cweb
- method-args
- contract-args
- custom
- alias: usdt_eth_dex_pact_maker 0.0.85+devnet
template: market-maker.cm v0.0.85+test
parameters:
content:
l1_type: 0
shard: deva
l1_contract_address: '0x81b6711C0AeA07a60f65e92a5678c516d84cA467'
l1_transfer_event_signature: '0xa42a1fb0456e2cc8990290e31b24166458f3ac8beb986ab6c26f47fdc486d594'
owner:
auth: EcdsaContract
payload: 036d9316445a2a9823919f1df9e9fc932550078fe06b772a676eaaba33932432a1
collateral_percentage_Int: 100
owner_min_fee_Hex: '0x0'
owner_percentage_fee_Int: 0
order_life_time: 604800000
pact_life_time: 10800000
jump_contract_id: '0xcb5f8ee92bf9fe08f59a6997f3def2405f5bab46d0468d0bff1ff359c54192a5'
jump_contract_method: 'JUMP-AND-WAIT'
logs:
- method-name
- provided-cweb
- method-args
- contract-args
- custom
- alias: usdt_bnb_pact_maker 0.0.85+devnet
template: market-maker.cm v0.0.85+test
parameters:
content:
l1_type: 0
shard: devb
l1_contract_address: '0x81b6711C0AeA07a60f65e92a5678c516d84cA467'
l1_transfer_event_signature: '0xa42a1fb0456e2cc8990290e31b24166458f3ac8beb986ab6c26f47fdc486d594'
owner:
auth: EcdsaContract
payload: 036d9316445a2a9823919f1df9e9fc932550078fe06b772a676eaaba33932432a1
collateral_percentage_Int: 100
owner_min_fee_Hex: '0x0'
owner_percentage_fee_Int: 0
order_life_time: 604800000
pact_life_time: 10800000
jump_contract_id: '0xcb5f8ee92bf9fe08f59a6997f3def2405f5bab46d0468d0bff1ff359c54192a5'
jump_contract_method: 'JUMP-AND-WAIT'
logs:
- method-name
- provided-cweb
- method-args
- contract-args
- custom

View File

@ -18,247 +18,9 @@ interpreters: {}
contract_templates: contract_templates:
# Our contract module. The contract module is an npm package created in the `dist/out` # Our contract module. The contract module is an npm package created in the `dist/out`
# directory using the `yarn build` and `yarn pack` commands. # directory using the `yarn build` and `yarn pack` commands.
- file:///./packages/dex-app.cm/dist/out/my-contract-module.tgz - file:///./packages/contract.cm/dist/out/my-contract-module.tgz
- file:///./packages/market-maker.cm/dist/out/my-contract-module.tgz
contract_instances: contract_instances:
- alias: btc_offer_maker 0.0.70+prod - alias: cwait-contract 0.0.1-prod
template: dex-app.cm v0.0.70+test template: contract.cm v0.0.1
parameters:
content:
l1_type: 1
shard: btc
owner:
auth: EcdsaContract
payload: 036d9316445a2a9823919f1df9e9fc932550078fe06b772a676eaaba33932432a1
owner_min_fee: '0x0'
owner_percentage_fee: 0
order_life_time: 604800000
close_order_timeout: 180000
jump_contract_id: '0xcb5f8ee92bf9fe08f59a6997f3def2405f5bab46d0468d0bff1ff359c54192a5'
jump_contract_method: 'JUMP-AND-WAIT'
logs:
- method-name
- provided-cweb
- method-args
- contract-args
- custom
- alias: eth_offer_maker 0.0.70+prod
template: dex-app.cm v0.0.70+test
parameters:
content:
shard: eth
l1_type: 0
l1_contract_address: "0x371b5eBEadf34Da576E3E604b70f8580EF383476"
l1_transfer_event_signature: '0xc57b8d4564150cb20d03b08bce9ee8d27b7fa55b10337806be888ea3803b019e'
owner:
auth: EcdsaContract
payload: 036d9316445a2a9823919f1df9e9fc932550078fe06b772a676eaaba33932432a1
owner_min_fee: '0x0'
owner_percentage_fee: 0
order_life_time: 604800000
close_order_timeout: 180000
jump_contract_id: '0xcb5f8ee92bf9fe08f59a6997f3def2405f5bab46d0468d0bff1ff359c54192a5'
jump_contract_method: 'JUMP-AND-WAIT'
logs:
- method-name
- provided-cweb
- method-args
- contract-args
- custom
- alias: bnb_offer_maker 0.0.70+prod
template: dex-app.cm v0.0.70+test
parameters:
content:
shard: bnb
l1_type: 0
l1_contract_address: '0x0FD1b7B27d48C66A6d74C31469298dad6a80fD06'
l1_transfer_event_signature: '0xc57b8d4564150cb20d03b08bce9ee8d27b7fa55b10337806be888ea3803b019e'
owner:
auth: EcdsaContract
payload: 036d9316445a2a9823919f1df9e9fc932550078fe06b772a676eaaba33932432a1
owner_min_fee: '0x0'
owner_percentage_fee: 0
order_life_time: 604800000
close_order_timeout: 180000
jump_contract_id: '0xcb5f8ee92bf9fe08f59a6997f3def2405f5bab46d0468d0bff1ff359c54192a5'
jump_contract_method: 'JUMP-AND-WAIT'
logs:
- method-name
- provided-cweb
- method-args
- contract-args
- custom
- alias: usdt_eth_offer_maker 0.0.70+prod
template: dex-app.cm v0.0.70+test
parameters:
content:
shard: eth
l1_type: 0
l1_contract_address: '0xDe69576fB589C2F64Fd47E94381E413407306575'
l1_transfer_event_signature: '0xc57b8d4564150cb20d03b08bce9ee8d27b7fa55b10337806be888ea3803b019e'
owner:
auth: EcdsaContract
payload: 036d9316445a2a9823919f1df9e9fc932550078fe06b772a676eaaba33932432a1
owner_min_fee: '0x0'
owner_percentage_fee: 0
order_life_time: 604800000
close_order_timeout: 180000
jump_contract_id: '0xcb5f8ee92bf9fe08f59a6997f3def2405f5bab46d0468d0bff1ff359c54192a5'
jump_contract_method: 'JUMP-AND-WAIT'
logs:
- method-name
- provided-cweb
- method-args
- contract-args
- custom
- alias: usdt_bnb_offer_maker 0.0.70+prod
template: dex-app.cm v0.0.70+test
parameters:
content:
shard: bnb
l1_type: 0
l1_contract_address: '0x55549F93d478C6b0DEDE5723Ca825aF680d454F8'
l1_transfer_event_signature: '0xc57b8d4564150cb20d03b08bce9ee8d27b7fa55b10337806be888ea3803b019e'
owner:
auth: EcdsaContract
payload: 036d9316445a2a9823919f1df9e9fc932550078fe06b772a676eaaba33932432a1
owner_min_fee: '0x0'
owner_percentage_fee: 0
order_life_time: 604800000
close_order_timeout: 180000
jump_contract_id: '0xcb5f8ee92bf9fe08f59a6997f3def2405f5bab46d0468d0bff1ff359c54192a5'
jump_contract_method: 'JUMP-AND-WAIT'
logs:
- method-name
- provided-cweb
- method-args
- contract-args
- custom
- alias: btc_pact_maker 0.0.71+prod
template: market-maker.cm v0.0.71+test
parameters:
content:
l1_type: 1
shard: btc
owner:
auth: EcdsaContract
payload: 036d9316445a2a9823919f1df9e9fc932550078fe06b772a676eaaba33932432a1
collateral_percentage_Int: 100
owner_min_fee_Hex: '0x0'
owner_percentage_fee_Int: 0
order_life_time: 604800000
pact_life_time: 10800000
jump_contract_id: '0xcb5f8ee92bf9fe08f59a6997f3def2405f5bab46d0468d0bff1ff359c54192a5'
jump_contract_method: 'JUMP-AND-WAIT'
logs:
- method-name
- provided-cweb
- method-args
- contract-args
- custom
- alias: eth_pact_maker 0.0.71+prod
template: market-maker.cm v0.0.71+test
parameters:
content:
l1_type: 0
shard: eth
l1_contract_address: "0xA3C365C57867B495d2fA1A2A45AAfD6F12e635e4"
l1_transfer_event_signature: '0xa42a1fb0456e2cc8990290e31b24166458f3ac8beb986ab6c26f47fdc486d594'
owner:
auth: EcdsaContract
payload: 036d9316445a2a9823919f1df9e9fc932550078fe06b772a676eaaba33932432a1
collateral_percentage_Int: 100
owner_min_fee_Hex: "0x0"
owner_percentage_fee_Int: 0
order_life_time: 604800000
pact_life_time: 10800000
jump_contract_id: '0xcb5f8ee92bf9fe08f59a6997f3def2405f5bab46d0468d0bff1ff359c54192a5'
jump_contract_method: 'JUMP-AND-WAIT'
logs:
- method-name
- provided-cweb
- method-args
- contract-args
- custom
- alias: bnb_pact_maker 0.0.71+prod
template: market-maker.cm v0.0.71+test
parameters:
content:
l1_type: 0
shard: bnb
l1_contract_address: '0x61C162a21dDc45D7d405a7a2766dA8AcEE7c70aa'
l1_transfer_event_signature: '0xa42a1fb0456e2cc8990290e31b24166458f3ac8beb986ab6c26f47fdc486d594'
owner:
auth: EcdsaContract
payload: 036d9316445a2a9823919f1df9e9fc932550078fe06b772a676eaaba33932432a1
collateral_percentage_Int: 100
owner_min_fee_Hex: '0x0'
owner_percentage_fee_Int: 0
order_life_time: 604800000
pact_life_time: 10800000
jump_contract_id: '0xcb5f8ee92bf9fe08f59a6997f3def2405f5bab46d0468d0bff1ff359c54192a5'
jump_contract_method: 'JUMP-AND-WAIT'
logs:
- method-name
- provided-cweb
- method-args
- contract-args
- custom
- alias: usdt_eth_pact_maker v0.0.71+prod
template: market-maker.cm v0.0.71+test
parameters:
content:
l1_type: 0
shard: eth
l1_contract_address: '0xa9D53f7B4836a595db7E11A7f92F9EF3810E04B6'
l1_transfer_event_signature: '0xa42a1fb0456e2cc8990290e31b24166458f3ac8beb986ab6c26f47fdc486d594'
owner:
auth: EcdsaContract
payload: 036d9316445a2a9823919f1df9e9fc932550078fe06b772a676eaaba33932432a1
collateral_percentage_Int: 100
owner_min_fee_Hex: '0x0'
owner_percentage_fee_Int: 0
order_life_time: 604800000
pact_life_time: 10800000
jump_contract_id: '0xcb5f8ee92bf9fe08f59a6997f3def2405f5bab46d0468d0bff1ff359c54192a5'
jump_contract_method: 'JUMP-AND-WAIT'
logs:
- method-name
- provided-cweb
- method-args
- contract-args
- custom
- alias: usdt_bnb_pact_maker 0.0.71+prod
template: market-maker.cm v0.0.71+test
parameters:
content:
l1_type: 0
shard: bnb
l1_contract_address: '0x8DA7D02A181AEac031B9ee66b238f5CBdE249241'
l1_transfer_event_signature: '0xa42a1fb0456e2cc8990290e31b24166458f3ac8beb986ab6c26f47fdc486d594'
owner:
auth: EcdsaContract
payload: 036d9316445a2a9823919f1df9e9fc932550078fe06b772a676eaaba33932432a1
collateral_percentage_Int: 100
owner_min_fee_Hex: '0x0'
owner_percentage_fee_Int: 0
order_life_time: 604800000
pact_life_time: 10800000
jump_contract_id: '0xcb5f8ee92bf9fe08f59a6997f3def2405f5bab46d0468d0bff1ff359c54192a5'
jump_contract_method: 'JUMP-AND-WAIT'
logs:
- method-name
- provided-cweb
- method-args
- contract-args
- custom

View File

@ -24,79 +24,8 @@ interpreters: {}
contract_templates: contract_templates:
# Our contract module. The contract module is an npm package created in the `dist/out` # Our contract module. The contract module is an npm package created in the `dist/out`
# directory using the `yarn build` and `yarn pack` commands. # directory using the `yarn build` and `yarn pack` commands.
- file:///./packages/dex-app.cm/dist/out/my-contract-module.tgz - file:///./packages/contract.cm/dist/out/my-contract-module.tgz
- file:///./packages/market-maker.cm/dist/out/my-contract-module.tgz
contract_instances: contract_instances:
- alias: eth_offer_maker 0.0.67+remote - alias: cwait-contract 0.0.1-test
template: dex-app.cm v0.0.67+remote template: contract.cm v0.0.1
parameters:
content:
shard: deva
l1_type: 0
l1_contract_address: '0x6e00389D89B8A85cAc7f0891300E28020D868F52'
l1_transfer_event_signature: '0x5f7c9ad4d0773734853dba78fa92bd33af346833ce0b6310f7b1ceeb8a52ac3a'
owner:
auth: EcdsaContract
payload: 036d9316445a2a9823919f1df9e9fc932550078fe06b772a676eaaba33932432a1
owner_min_fee: '0x0'
owner_percentage_fee: 1
order_life_time: 604800000
close_order_timeout: 300000
jump_contract_id: '0xcb5f8ee92bf9fe08f59a6997f3def2405f5bab46d0468d0bff1ff359c54192a5'
jump_contract_method: 'JUMP-AND-WAIT'
logs:
- method-name
- provided-cweb
- method-args
- contract-args
- custom
- alias: bnb_offer_maker 0.0.67+remote
template: dex-app.cm v0.0.67+remote
parameters:
content:
shard: devb
l1_type: 0
l1_contract_address: '0x381683E82B9B3aD801B8Ee594BaFCD5e446610CD'
l1_transfer_event_signature: '0x5f7c9ad4d0773734853dba78fa92bd33af346833ce0b6310f7b1ceeb8a52ac3a'
owner:
auth: EcdsaContract
payload: 036d9316445a2a9823919f1df9e9fc932550078fe06b772a676eaaba33932432a1
owner_min_fee: '0x0'
owner_percentage_fee: 5
order_life_time: 604800000
close_order_timeout: 300000
jump_contract_id: '0xcb5f8ee92bf9fe08f59a6997f3def2405f5bab46d0468d0bff1ff359c54192a5'
jump_contract_method: 'JUMP-AND-WAIT'
logs:
- method-name
- provided-cweb
- method-args
- contract-args
- custom
- alias: eth_dex_pact_maker v0.0.69+test
template: market-maker.cm v0.0.69+test
parameters:
content:
l1_type: 0
shard: deva
l1_contract_address: '0x4d8124960d5D8Ca9211386E2d330373Ae8b86706'
l1_transfer_event_signature: '0xdaccd7e57af38151956717859e819d92af68eb0b7b8402730f6ba2130c843f33'
owner:
auth: EcdsaContract
payload: 036d9316445a2a9823919f1df9e9fc932550078fe06b772a676eaaba33932432a1
collateral_percentage_Int: 100
owner_min_fee_Hex: '0x0'
owner_percentage_fee_Int: 0
order_life_time: 604800000
pact_life_time: 1080000
jump_contract_id: '0xcb5f8ee92bf9fe08f59a6997f3def2405f5bab46d0468d0bff1ff359c54192a5'
jump_contract_method: 'JUMP-AND-WAIT'
logs:
- method-name
- provided-cweb
- method-args
- contract-args
- custom

View File

@ -8,8 +8,8 @@
"scripts": { "scripts": {
"build": "yarn build:cm && yarn build:non-cm", "build": "yarn build:cm && yarn build:non-cm",
"build:production": "yarn build:cm && yarn workspace dapp-ui build:production", "build:production": "yarn build:cm && yarn workspace dapp-ui build:production",
"build:cm": "yarn workspaces foreach -Ap --include 'packages/*.cm' --include 'packages/cwap-cm-*' run build", "build:cm": "yarn workspaces foreach -Ap --include 'packages/*.cm' --include 'packages/lib' --include 'packages/cwait' run build",
"build:non-cm": "yarn workspaces foreach -Ap --include 'packages/*' --exclude 'packages/*.cm' run build", "build:non-cm": "yarn workspaces foreach -Ap --include 'packages/*' --exclude 'packages/*.cm' --exclude 'packages/lib' --exclude 'packages/cwait' run build",
"create-index": "cweb-tool create-index -c ./.cweb-config/config.yaml --profile $REGISTRATION_PROFILE", "create-index": "cweb-tool create-index -c ./.cweb-config/config.yaml --profile $REGISTRATION_PROFILE",
"publish-index": "cweb-tool publish-index -c ./.cweb-config/config.yaml --profile $REGISTRATION_PROFILE", "publish-index": "cweb-tool publish-index -c ./.cweb-config/config.yaml --profile $REGISTRATION_PROFILE",
"deploy-contracts": "yarn publish-actions", "deploy-contracts": "yarn publish-actions",

View File

@ -1,13 +1,7 @@
{ {
"name": "dex-app.cm", "name": "contract.cm",
"version": "0.0.97+test", "version": "0.0.1",
"type": "module", "type": "module",
"description": "dex-app.cm Contract to create an offer to give cweb in exchange for an specific l1-token",
"homepage": "https://git.coinhq.store/acme/cwap/",
"repository": {
"type": "git",
"url": "git+https://git.coinhq.store/acme/cwap.git"
},
"scripts": { "scripts": {
"build": "yarn build:files && yarn pack:all", "build": "yarn build:files && yarn pack:all",
"build:files": "yarn clean && yarn g:tsc -p tsconfig.build.json && NODE_ENV=production yarn g:cweb-tool build-cm .", "build:files": "yarn clean && yarn g:tsc -p tsconfig.build.json && NODE_ENV=production yarn g:cweb-tool build-cm .",
@ -32,8 +26,5 @@
"bech32": "2.0.0", "bech32": "2.0.0",
"bs58": "6.0.0" "bs58": "6.0.0"
}, },
"main": "cweb_dist/offchain/index.js", "main": "cweb_dist/offchain/index.js"
"engines": {
"cweb_interpreter": "a344c6003922f9e44385f6e8234a7d2567d9a676b14330ad3b42cbd1948a92bf"
}
} }

View File

@ -1,12 +1,7 @@
{ {
"name": "cwait", "name": "cwait",
"version": "0.0.17+test", "version": "0.0.1",
"type": "module", "type": "module",
"homepage": "https://git.coinhq.store/acme/cwap/",
"repository": {
"type": "git",
"url": "git+https://git.coinhq.store/acme/cwap.git"
},
"scripts": { "scripts": {
"build": "yarn g:tsc -p tsconfig.build.json", "build": "yarn g:tsc -p tsconfig.build.json",
"dev": "yarn g:tsc -p tsconfig.build.json --watch", "dev": "yarn g:tsc -p tsconfig.build.json --watch",

View File

@ -1,12 +1,7 @@
{ {
"name": "lib", "name": "lib",
"version": "0.0.17+test", "version": "0.0.1",
"type": "module", "type": "module",
"homepage": "https://git.coinhq.store/acme/cwap/",
"repository": {
"type": "git",
"url": "git+https://git.coinhq.store/acme/cwap.git"
},
"scripts": { "scripts": {
"build": "yarn g:tsc -p tsconfig.build.json", "build": "yarn g:tsc -p tsconfig.build.json",
"dev": "yarn g:tsc -p tsconfig.build.json --watch", "dev": "yarn g:tsc -p tsconfig.build.json --watch",

View File

@ -0,0 +1,4 @@
@tailwind base;
@tailwind components;
@tailwind utilities;

View File

@ -1,4 +1,4 @@
import './app/index.css'; import './index.css';
import ReactDOM from 'react-dom/client'; import ReactDOM from 'react-dom/client';
import { App } from './App'; import { App } from './App';

View File

@ -109,8 +109,6 @@ const config = {
}, },
}, },
plugins: [ plugins: [
// eslint-disable-next-line @typescript-eslint/no-require-imports
require('tailwindcss-animate'),
(pluginApi: PluginAPI) => { (pluginApi: PluginAPI) => {
const newUtilities = { const newUtilities = {
'.ltr': { '.ltr': {

View File

@ -1,17 +1,9 @@
/// <reference types="vite/client" /> /// <reference types="vite/client" />
type ImportMetaEnv = { type ImportMetaEnv = {
readonly VITE_API_URL: string;
readonly MOCKS: boolean;
// more env variables...
} & {
readonly [key: `VITE_${string}`]: string | undefined; readonly [key: `VITE_${string}`]: string | undefined;
}; };
interface ImportMeta { interface ImportMeta {
readonly env: ImportMetaEnv; readonly env: ImportMetaEnv;
} }
interface CustomWindow extends Window {
__MOCKS__?: boolean;
}

5412
yarn.lock

File diff suppressed because it is too large Load Diff