diff --git a/provisioning/chains/bsc/bmc/deploy.sh b/provisioning/chains/bsc/bmc/deploy.sh index e69de29bb..43d08c48c 100644 --- a/provisioning/chains/bsc/bmc/deploy.sh +++ b/provisioning/chains/bsc/bmc/deploy.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +source ../../evm/bmc/deploy.sh + +function bsc_deploy_bmc() { + evm_deploy_bmc $args +} + +function bsc_extract_bmc_management_address() { + bsc_extract_bmc_management_address $args +} + +function bsc_extract_bmc_periphery_address() { + evm_extract_bmc_management_address $args +} \ No newline at end of file diff --git a/provisioning/chains/bsc/bmc/helpers/add_rm_bsh.sh b/provisioning/chains/bsc/bmc/helpers/add_rm_bsh.sh new file mode 100644 index 000000000..95a47ecd6 --- /dev/null +++ b/provisioning/chains/bsc/bmc/helpers/add_rm_bsh.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +source ../../evm/bmc/helpers/add_rm_bsh.sh + +function bsc_add_service() { + evm_add_service $args +} + +function bsc_remove_service() { + evm_remove_service $args +} \ No newline at end of file diff --git a/provisioning/chains/bsc/bmc/helpers/add_rm_link.sh b/provisioning/chains/bsc/bmc/helpers/add_rm_link.sh new file mode 100644 index 000000000..3fecd0a9b --- /dev/null +++ b/provisioning/chains/bsc/bmc/helpers/add_rm_link.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +source ../../evm/bmc/helpers/add_rm_bsh.sh + +function bsc_add_link() { + source evm_add_link $args +} + +function bsc_remove_link() { + source evm_remove_link $args +} \ No newline at end of file diff --git a/provisioning/chains/bsc/bmc/helpers/add_rm_relay.sh b/provisioning/chains/bsc/bmc/helpers/add_rm_relay.sh new file mode 100644 index 000000000..995d6cf9e --- /dev/null +++ b/provisioning/chains/bsc/bmc/helpers/add_rm_relay.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +source ../../evm/bmc/helpers/add_rm_relay.sh + +function bsc_add_relay() { + evm_add_relay $args +} + +function bsc_remove_relay() { + evm_remove_relay $args +} \ No newline at end of file diff --git a/provisioning/chains/bsc/bmc/helpers/run_service.sh b/provisioning/chains/bsc/bmc/helpers/run_service.sh deleted file mode 100644 index e69de29bb..000000000 diff --git a/provisioning/chains/bsc/bmc/helpers/set_link_rx_height.sh b/provisioning/chains/bsc/bmc/helpers/set_link_rx_height.sh index e69de29bb..ef60cca61 100644 --- a/provisioning/chains/bsc/bmc/helpers/set_link_rx_height.sh +++ b/provisioning/chains/bsc/bmc/helpers/set_link_rx_height.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +source ../../evm/bmc/helpers/set_link_rx_height.sh + +function bsc_set_link_rxheight() { + bsc_set_link_rxheight $args +} \ No newline at end of file diff --git a/provisioning/chains/bsc/bmc/upgrades/upgrade_bts_v0.0.10.sh b/provisioning/chains/bsc/bmc/upgrades/upgrade_bts_v0.0.10.sh deleted file mode 100644 index e69de29bb..000000000 diff --git a/provisioning/chains/bsc/bmc/upgrades/upgrade_bts_v0.0.9.sh b/provisioning/chains/bsc/bmc/upgrades/upgrade_bts_v0.0.9.sh deleted file mode 100644 index e69de29bb..000000000 diff --git a/provisioning/chains/bsc/bsh/bts/add_bts_to_bmc.sh b/provisioning/chains/bsc/bsh/bts/add_bts_to_bmc.sh deleted file mode 100644 index e69de29bb..000000000 diff --git a/provisioning/chains/bsc/bsh/bts/add_to_blacklist.sh b/provisioning/chains/bsc/bsh/bts/add_to_blacklist.sh deleted file mode 100644 index e69de29bb..000000000 diff --git a/provisioning/chains/bsc/bsh/bts/deploy.sh b/provisioning/chains/bsc/bsh/bts/deploy.sh index e69de29bb..b1b929d9a 100644 --- a/provisioning/chains/bsc/bsh/bts/deploy.sh +++ b/provisioning/chains/bsc/bsh/bts/deploy.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +source ../../evm/bsh/bts/deploy.sh + +function bsc_deploy_bts() { + evm_deploy_bts $args +} + +function bsc_extract_btscore_address() { + evm_extract_btscore_address $args +} + +function bsc_extract_btsperiphery_address() { + evm_extract_btsperiphery_address $args +} \ No newline at end of file diff --git a/provisioning/chains/bsc/bsh/bts/deploy_token.sh b/provisioning/chains/bsc/bsh/bts/deploy_token.sh deleted file mode 100644 index e69de29bb..000000000 diff --git a/provisioning/chains/bsc/bsh/bts/helpers/deploy_token.sh b/provisioning/chains/bsc/bsh/bts/helpers/deploy_token.sh new file mode 100644 index 000000000..29097fb7b --- /dev/null +++ b/provisioning/chains/bsc/bsh/bts/helpers/deploy_token.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +source ../../evm/bsh/bts/helpers/deploy_token.sh + +function bsc_deploy_token() { + evm_deploy_token $args +} \ No newline at end of file diff --git a/provisioning/chains/bsc/bsh/bts/helpers/register_token.sh b/provisioning/chains/bsc/bsh/bts/helpers/register_token.sh new file mode 100644 index 000000000..51f0a0508 --- /dev/null +++ b/provisioning/chains/bsc/bsh/bts/helpers/register_token.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +source ../../evm/bsh/bts/helpers/register_token.sh + +function bsc_register_native_token() { + evm_register_native_token $args +} + +function bsc_register_wrapped_coin() { + evm_register_wrapped_coin $args +} + +function bsc_get_token_address() { + evm_get_token_address $args +} \ No newline at end of file diff --git a/provisioning/chains/bsc/bsh/bts/register_token.sh b/provisioning/chains/bsc/bsh/bts/register_token.sh deleted file mode 100644 index e69de29bb..000000000 diff --git a/provisioning/chains/bsc/bsh/bts/set_token_limit.sh b/provisioning/chains/bsc/bsh/bts/set_token_limit.sh deleted file mode 100644 index e69de29bb..000000000 diff --git a/provisioning/chains/bsc/bsh/xcall/deploy.sh b/provisioning/chains/bsc/bsh/xcall/deploy.sh deleted file mode 100644 index e69de29bb..000000000 diff --git a/provisioning/chains/evm/bmc/deploy.sh b/provisioning/chains/evm/bmc/deploy.sh index e69de29bb..86be1c573 100644 --- a/provisioning/chains/evm/bmc/deploy.sh +++ b/provisioning/chains/evm/bmc/deploy.sh @@ -0,0 +1,22 @@ +#!/bin/bash + +function evm_deploy_bmc() { + # Input: bmc contract folder + # Check: that the folder-name is bmc + # clear existing artifacts (if any) + # compile contracts + # truffle migrate to deploy contract (catch error and retry) + # return success/failure +} + +function evm_extract_bmc_management_address() { + # Input: bmc contract folder + # Check: if deployment was successful + # Return BMC Management from truffle deployment artifacts +} + +function evm_extract_bmc_periphery_address() { + # Input: bmc contract folder + # Check: if deployment was successful + # Return BMC Periphery from truffle deployment artifacts +} \ No newline at end of file diff --git a/provisioning/chains/evm/bmc/helpers/add_link.sh b/provisioning/chains/evm/bmc/helpers/add_link.sh deleted file mode 100644 index e69de29bb..000000000 diff --git a/provisioning/chains/evm/bmc/helpers/add_relay_to_link.sh b/provisioning/chains/evm/bmc/helpers/add_relay_to_link.sh deleted file mode 100644 index e69de29bb..000000000 diff --git a/provisioning/chains/evm/bmc/helpers/add_rm_bsh.sh b/provisioning/chains/evm/bmc/helpers/add_rm_bsh.sh new file mode 100644 index 000000000..c89ba18ef --- /dev/null +++ b/provisioning/chains/evm/bmc/helpers/add_rm_bsh.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +function evm_add_service() { + # Input: bmc contract folder, bsh contract address and name + # Call bmc addService method + # Return success +} + +function evm_remove_service() { + # Input: bmc contract folder, bsh contract address and name + # Call bmc removeService method + # Return success +} \ No newline at end of file diff --git a/provisioning/chains/evm/bmc/helpers/add_rm_link.sh b/provisioning/chains/evm/bmc/helpers/add_rm_link.sh new file mode 100644 index 000000000..b97969995 --- /dev/null +++ b/provisioning/chains/evm/bmc/helpers/add_rm_link.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +function evm_add_link() { + # Input: source chain bmc address, soldity bmc contract folder + # Do: Add link + # the script will need to interact with js code to invoke addLink method + # Return success +} + +function evm_remove_link() { + # Input: source chain bmc address, soldity bmc contract folder + # Do: Remove link + # the script will need to interact with js code to invoke removeLink method + # Return success +} \ No newline at end of file diff --git a/provisioning/chains/evm/bmc/helpers/add_rm_relay.sh b/provisioning/chains/evm/bmc/helpers/add_rm_relay.sh new file mode 100644 index 000000000..6d6fe5fee --- /dev/null +++ b/provisioning/chains/evm/bmc/helpers/add_rm_relay.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +function evm_add_relay() { + # input source chain bmc address, relay user address + # call add relay + # return success +} + +function evm_remove_relay() { + # input source chain bmc address, relay user address + # call remove relay + # return success +} \ No newline at end of file diff --git a/provisioning/chains/evm/bmc/helpers/run_service.sh b/provisioning/chains/evm/bmc/helpers/run_service.sh deleted file mode 100644 index e69de29bb..000000000 diff --git a/provisioning/chains/evm/bmc/helpers/set_link_rx_height.sh b/provisioning/chains/evm/bmc/helpers/set_link_rx_height.sh index e69de29bb..a41ec4fd2 100644 --- a/provisioning/chains/evm/bmc/helpers/set_link_rx_height.sh +++ b/provisioning/chains/evm/bmc/helpers/set_link_rx_height.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +function evm_set_link_rxheight() { + # Input: source chain bmc address and height, soldity bmc contract folder + # Do: Set link RxHeight + # the script will need to interact with js code to invoke setLinkRxHeight method + # Return success +} \ No newline at end of file diff --git a/provisioning/chains/evm/bsh/bts/add_bts_to_bmc.sh b/provisioning/chains/evm/bsh/bts/add_bts_to_bmc.sh deleted file mode 100644 index e69de29bb..000000000 diff --git a/provisioning/chains/evm/bsh/bts/add_to_blacklist.sh b/provisioning/chains/evm/bsh/bts/add_to_blacklist.sh deleted file mode 100644 index e69de29bb..000000000 diff --git a/provisioning/chains/evm/bsh/bts/deploy.sh b/provisioning/chains/evm/bsh/bts/deploy.sh index e69de29bb..4f8a3d992 100644 --- a/provisioning/chains/evm/bsh/bts/deploy.sh +++ b/provisioning/chains/evm/bsh/bts/deploy.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +function evm_deploy_bts() { + # Input bts contract folder and deployment params + # truffle compile and truffle migrate + # return success +} + +function evm_extract_btscore_address() { + # Input bts contract folder + # If deployment was successful, extract btscore address +} + +function evm_extract_btsperiphery_address() { + # Input bts contract folder + # If deployment was successful, extract bts periphery address +} \ No newline at end of file diff --git a/provisioning/chains/evm/bsh/bts/deploy_token.sh b/provisioning/chains/evm/bsh/bts/deploy_token.sh deleted file mode 100644 index e69de29bb..000000000 diff --git a/provisioning/chains/evm/bsh/bts/helpers/deploy_token.sh b/provisioning/chains/evm/bsh/bts/helpers/deploy_token.sh new file mode 100644 index 000000000..c69a902ba --- /dev/null +++ b/provisioning/chains/evm/bsh/bts/helpers/deploy_token.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +function evm_deploy_token() { + # Input bts contracts folder and token args + # Run truffle migrate and extract deployed contract address + # return contract address +} \ No newline at end of file diff --git a/provisioning/chains/evm/bsh/bts/helpers/register_token.sh b/provisioning/chains/evm/bsh/bts/helpers/register_token.sh new file mode 100644 index 000000000..4381e4c57 --- /dev/null +++ b/provisioning/chains/evm/bsh/bts/helpers/register_token.sh @@ -0,0 +1,21 @@ +#!/bin/bash + + +function evm_register_native_token() { + # Input bts contracts folder and necessary token args + # Check if coin has already been registered + # If it hasn't, register native token + # return coin address +} + +function evm_register_wrapped_coin() { + # Input bts contracts folder and necessary token args + # Check if wrapped coin has already been registered + # If it hasn't, register wrapped coin + # return coin address +} + +function evm_get_token_address() { + # Input bts contract address + # Query and return token address +} \ No newline at end of file diff --git a/provisioning/chains/evm/bsh/bts/register_token.sh b/provisioning/chains/evm/bsh/bts/register_token.sh deleted file mode 100644 index e69de29bb..000000000 diff --git a/provisioning/chains/evm/bsh/bts/set_token_limit.sh b/provisioning/chains/evm/bsh/bts/set_token_limit.sh deleted file mode 100644 index e69de29bb..000000000 diff --git a/provisioning/chains/evm/bsh/xcall/deploy.sh b/provisioning/chains/evm/bsh/xcall/deploy.sh deleted file mode 100644 index e69de29bb..000000000 diff --git a/provisioning/chains/icon/bmc/deploy.sh b/provisioning/chains/icon/bmc/deploy.sh index e69de29bb..6363125b0 100644 --- a/provisioning/chains/icon/bmc/deploy.sh +++ b/provisioning/chains/icon/bmc/deploy.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +function icon_deploy_bmc() { + # Input: bmc contract folder + # Check: that the folder-name is bmc + # clear existing artifacts (if any) + # compile contracts + # truffle migrate to deploy contract (catch error and retry) + # extract and return bmc address +} \ No newline at end of file diff --git a/provisioning/chains/icon/bmc/helpers/add_link.sh b/provisioning/chains/icon/bmc/helpers/add_link.sh deleted file mode 100644 index e69de29bb..000000000 diff --git a/provisioning/chains/icon/bmc/helpers/add_relay_to_link.sh b/provisioning/chains/icon/bmc/helpers/add_relay_to_link.sh deleted file mode 100644 index e69de29bb..000000000 diff --git a/provisioning/chains/icon/bmc/helpers/add_rm_bsh.sh b/provisioning/chains/icon/bmc/helpers/add_rm_bsh.sh new file mode 100644 index 000000000..c3e3d9b3f --- /dev/null +++ b/provisioning/chains/icon/bmc/helpers/add_rm_bsh.sh @@ -0,0 +1,13 @@ +#! /bin/bash + +function icon_add_service() { + # Input: bmc contract folder, bsh contract address and name + # Call bmc addService method + # Return success +} + +function icon_remove_service() { + # Input: bmc contract folder, bsh contract address and name + # Call bmc removeService method + # Return success +} \ No newline at end of file diff --git a/provisioning/chains/icon/bmc/helpers/add_rm_link.sh b/provisioning/chains/icon/bmc/helpers/add_rm_link.sh new file mode 100644 index 000000000..8f74c99f7 --- /dev/null +++ b/provisioning/chains/icon/bmc/helpers/add_rm_link.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +function icon_add_link() { + # Input: source chain bmc address, bmc contract folder + # Do: Add link + # Return success +} + +function icon_remove_link() { + # Input: source chain bmc address, bmc contract folder + # Do: Remove link + # Return success +} \ No newline at end of file diff --git a/provisioning/chains/icon/bmc/helpers/add_rm_relay.sh b/provisioning/chains/icon/bmc/helpers/add_rm_relay.sh new file mode 100644 index 000000000..7c550ff25 --- /dev/null +++ b/provisioning/chains/icon/bmc/helpers/add_rm_relay.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +function icon_add_relay() { + # input source chain bmc address, relay user address + # call add relay + # return success +} + +function icon_remove_relay() { + # input source chain bmc address, relay user address + # call remove relay + # return success +} \ No newline at end of file diff --git a/provisioning/chains/icon/bmc/helpers/remove_service.sh b/provisioning/chains/icon/bmc/helpers/remove_service.sh deleted file mode 100644 index e69de29bb..000000000 diff --git a/provisioning/chains/icon/bmc/helpers/set_fee_aggregator.sh b/provisioning/chains/icon/bmc/helpers/set_fee_aggregator.sh index e69de29bb..c8ec8bb6f 100644 --- a/provisioning/chains/icon/bmc/helpers/set_fee_aggregator.sh +++ b/provisioning/chains/icon/bmc/helpers/set_fee_aggregator.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +function icon_set_fee_aggregator_address() { + # Get fee gathering address + # Update and return success +} + + +function icon_set_fee_gathering_term() { + # Input fee gathering term + # Update and return success +} diff --git a/provisioning/chains/icon/bmc/helpers/set_fee_gathering_term.sh b/provisioning/chains/icon/bmc/helpers/set_fee_gathering_term.sh deleted file mode 100644 index e69de29bb..000000000 diff --git a/provisioning/chains/icon/bmc/helpers/set_link_rx_height.sh b/provisioning/chains/icon/bmc/helpers/set_link_rx_height.sh index e69de29bb..b5fd1d6a5 100644 --- a/provisioning/chains/icon/bmc/helpers/set_link_rx_height.sh +++ b/provisioning/chains/icon/bmc/helpers/set_link_rx_height.sh @@ -0,0 +1,7 @@ +#! /bin/bash + +function icon_set_link_rxheight() { + # Input: source chain bmc address and height, bmc contract folder + # Do: Set link RxHeight + # Return success +} \ No newline at end of file diff --git a/provisioning/chains/icon/bsh/bts/deploy.sh b/provisioning/chains/icon/bsh/bts/deploy.sh index e69de29bb..76f3796b2 100644 --- a/provisioning/chains/icon/bsh/bts/deploy.sh +++ b/provisioning/chains/icon/bsh/bts/deploy.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +function icon_deploy_bts() { + # Input bts contract folder and deployment params + # truffle compile and truffle migrate + # return bts contract address +} \ No newline at end of file diff --git a/provisioning/chains/icon/bsh/bts/helpers/add_bts_to_bmc.sh b/provisioning/chains/icon/bsh/bts/helpers/add_bts_to_bmc.sh deleted file mode 100644 index e69de29bb..000000000 diff --git a/provisioning/chains/icon/bsh/bts/helpers/add_to_blacklist.sh b/provisioning/chains/icon/bsh/bts/helpers/add_to_blacklist.sh deleted file mode 100644 index e69de29bb..000000000 diff --git a/provisioning/chains/icon/bsh/bts/helpers/deploy_token.sh b/provisioning/chains/icon/bsh/bts/helpers/deploy_token.sh index e69de29bb..bd22360e3 100644 --- a/provisioning/chains/icon/bsh/bts/helpers/deploy_token.sh +++ b/provisioning/chains/icon/bsh/bts/helpers/deploy_token.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +function icon_deploy_token() { + # Input bts contracts folder and token args + # Deploy token + # extract and return contract address +} \ No newline at end of file diff --git a/provisioning/chains/icon/bsh/bts/helpers/register_token.sh b/provisioning/chains/icon/bsh/bts/helpers/register_token.sh index e69de29bb..0dbf790a4 100644 --- a/provisioning/chains/icon/bsh/bts/helpers/register_token.sh +++ b/provisioning/chains/icon/bsh/bts/helpers/register_token.sh @@ -0,0 +1,21 @@ +#!/bin/bash + + +function icon_register_native_token() { + # Input bts contracts folder and necessary token args + # Check if coin has already been registered + # If it hasn't, register native token + # return coin address +} + +function icon_register_wrapped_coin() { + # Input bts contracts folder and necessary token args + # Check if wrapped coin has already been registered + # If it hasn't, register wrapped coin + # return coin address +} + +function icon_get_token_address() { + # Input bts contract address + # Query and return token address +} \ No newline at end of file diff --git a/provisioning/chains/icon/bsh/bts/helpers/set_token_limit.sh b/provisioning/chains/icon/bsh/bts/helpers/set_token_limit.sh deleted file mode 100644 index e69de29bb..000000000 diff --git a/provisioning/chains/icon/bsh/xcall/deploy.sh b/provisioning/chains/icon/bsh/xcall/deploy.sh deleted file mode 100644 index e69de29bb..000000000 diff --git a/provisioning/chains/icon/bsh/xcall/upgrade.sh b/provisioning/chains/icon/bsh/xcall/upgrade.sh deleted file mode 100644 index e69de29bb..000000000 diff --git a/provisioning/chains/snow/bmc/deploy.sh b/provisioning/chains/snow/bmc/deploy.sh new file mode 100644 index 000000000..15085391d --- /dev/null +++ b/provisioning/chains/snow/bmc/deploy.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +source ../../evm/bmc/deploy.sh + +function snow_deploy_bmc() { + evm_deploy_bmc $args +} + +function snow_extract_bmc_management_address() { + snow_extract_bmc_management_address $args +} + +function snow_extract_bmc_periphery_address() { + evm_extract_bmc_management_address $args +} \ No newline at end of file diff --git a/provisioning/chains/snow/bmc/helpers/add_rm_bsh.sh b/provisioning/chains/snow/bmc/helpers/add_rm_bsh.sh new file mode 100644 index 000000000..c6a814d2a --- /dev/null +++ b/provisioning/chains/snow/bmc/helpers/add_rm_bsh.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +source ../../evm/bmc/helpers/add_rm_bsh.sh + +function snow_add_service() { + evm_add_service $args +} + +function snow_remove_service() { + evm_remove_service $args +} \ No newline at end of file diff --git a/provisioning/chains/snow/bmc/helpers/add_rm_link.sh b/provisioning/chains/snow/bmc/helpers/add_rm_link.sh new file mode 100644 index 000000000..f03b7dce5 --- /dev/null +++ b/provisioning/chains/snow/bmc/helpers/add_rm_link.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +source ../../evm/bmc/helpers/add_rm_bsh.sh + +function snow_add_link() { + source evm_add_link $args +} + +function snow_remove_link() { + source evm_remove_link $args +} \ No newline at end of file diff --git a/provisioning/chains/snow/bmc/helpers/add_rm_relay.sh b/provisioning/chains/snow/bmc/helpers/add_rm_relay.sh new file mode 100644 index 000000000..12e7cf0b4 --- /dev/null +++ b/provisioning/chains/snow/bmc/helpers/add_rm_relay.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +source ../../evm/bmc/helpers/add_rm_relay.sh + +function snow_add_relay() { + evm_add_relay $args +} + +function snow_remove_relay() { + evm_remove_relay $args +} \ No newline at end of file diff --git a/provisioning/chains/snow/bmc/helpers/set_link_rx_height.sh b/provisioning/chains/snow/bmc/helpers/set_link_rx_height.sh new file mode 100644 index 000000000..f07e7cf8e --- /dev/null +++ b/provisioning/chains/snow/bmc/helpers/set_link_rx_height.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +source ../../evm/bmc/helpers/set_link_rx_height.sh + +function snow_set_link_rxheight() { + snow_set_link_rxheight $args +} \ No newline at end of file diff --git a/provisioning/chains/bsc/bsh/xcall/upgrade.sh b/provisioning/chains/snow/bmc/upgrade.sh similarity index 100% rename from provisioning/chains/bsc/bsh/xcall/upgrade.sh rename to provisioning/chains/snow/bmc/upgrade.sh diff --git a/provisioning/chains/snow/bsh/bts/deploy.sh b/provisioning/chains/snow/bsh/bts/deploy.sh new file mode 100644 index 000000000..0701d4896 --- /dev/null +++ b/provisioning/chains/snow/bsh/bts/deploy.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +source ../../evm/bsh/bts/deploy.sh + +function snow_deploy_bts() { + evm_deploy_bts $args +} + +function snow_extract_btscore_address() { + evm_extract_btscore_address $args +} + +function snow_extract_btsperiphery_address() { + evm_extract_btsperiphery_address $args +} \ No newline at end of file diff --git a/provisioning/chains/snow/bsh/bts/helpers/deploy_token.sh b/provisioning/chains/snow/bsh/bts/helpers/deploy_token.sh new file mode 100644 index 000000000..a2d0f35c6 --- /dev/null +++ b/provisioning/chains/snow/bsh/bts/helpers/deploy_token.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +source ../../evm/bsh/bts/helpers/deploy_token.sh + +function snow_deploy_token() { + evm_deploy_token $args +} \ No newline at end of file diff --git a/provisioning/chains/snow/bsh/bts/helpers/register_token.sh b/provisioning/chains/snow/bsh/bts/helpers/register_token.sh new file mode 100644 index 000000000..4c4799001 --- /dev/null +++ b/provisioning/chains/snow/bsh/bts/helpers/register_token.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +source ../../evm/bsh/bts/helpers/register_token.sh + +function snow_register_native_token() { + evm_register_native_token $args +} + +function snow_register_wrapped_coin() { + evm_register_wrapped_coin $args +} + +function snow_get_token_address() { + evm_get_token_address $args +} \ No newline at end of file diff --git a/provisioning/chains/evm/bsh/xcall/upgrade.sh b/provisioning/chains/snow/bsh/bts/upgrade.sh similarity index 100% rename from provisioning/chains/evm/bsh/xcall/upgrade.sh rename to provisioning/chains/snow/bsh/bts/upgrade.sh diff --git a/provisioning/chains/bsc/bmc/helpers/add_link.sh b/provisioning/chains/snow/docker/Dockerfile similarity index 100% rename from provisioning/chains/bsc/bmc/helpers/add_link.sh rename to provisioning/chains/snow/docker/Dockerfile diff --git a/provisioning/chains/bsc/bmc/helpers/add_relay_to_link.sh b/provisioning/chains/snow/docker/docker-compose-node.yml similarity index 100% rename from provisioning/chains/bsc/bmc/helpers/add_relay_to_link.sh rename to provisioning/chains/snow/docker/docker-compose-node.yml diff --git a/provisioning/config/input_config.json b/provisioning/config/input_config.json new file mode 100644 index 000000000..f0cd0bcf0 --- /dev/null +++ b/provisioning/config/input_config.json @@ -0,0 +1,25 @@ +{ + "chains": + { + "icon_testnet": { + "endpoint": "https://lisbon.net.solidwallet.io/api/v3/icon_dex", + "network_id": "0x2", + "btp_network_id": "0x2.icon" + }, + "icon_mainnet": { + "endpoint": "https://ctz.solidwallet.io/api/v3/icon_dex", + "network_id": "0x1", + "btp_network_id": "0x1.icon" + }, + "bsc_testnet": { + "endpoint": "https://data-seed-prebsc-1-s1.binance.org:8545", + "network_id": "0x61", + "btp_network_id": "0x61.bsc" + }, + "bsc_mainnet": { + "endpoint": "https://bsc-dataseed.binance.org", + "network_id": "0x38", + "btp_network_id": "0x38.bsc" + } + } +} \ No newline at end of file diff --git a/provisioning/config/input_params.json b/provisioning/config/input_params.json deleted file mode 100644 index e69de29bb..000000000 diff --git a/provisioning/provisions/upgrades/upgrade_bts_v0.0.10.sh b/provisioning/provisions/upgrades/upgrade_bts_v0.0.10.sh deleted file mode 100644 index e69de29bb..000000000 diff --git a/provisioning/provisions/upgrades/upgrade_bts_v0.0.9.sh b/provisioning/provisions/upgrades/upgrade_bts_v0.0.9.sh deleted file mode 100644 index e69de29bb..000000000