-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Region AssetTransactor * workaround * fix merge * init tests * progress * sending xcm works | receving fails * cross-chain region transfer works * regionx region receival test * switch to typescript * update readme * update package name * remove unused file * remove unused imports * cargo fmt * move region-transfer test * transfering to coretime chain * progress * all good but unpaid execution? * works :)) but messy * merge fixes * fixes * small fixes * format & refactor * Update e2e_tests/xc-transfer/asset-transfer.ts Co-authored-by: cuteolaf <OliverLim818@gmail.com> * Update e2e_tests/common.ts Co-authored-by: cuteolaf <OliverLim818@gmail.com> * remove file * trusted reserves * fix asset-transfer test * small fixes --------- Co-authored-by: cuteolaf <oliverlim818@gmail.com>
- Loading branch information
Showing
17 changed files
with
746 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,5 +22,6 @@ bin/ | |
bin/ | ||
|
||
node_modules | ||
build/ | ||
**/package-lock.json | ||
**/build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
const UNIT = 10 ** 12; // ROC has 12 decimals | ||
|
||
const INITIAL_PRICE = 50 * UNIT; | ||
const CORE_COUNT = 10; | ||
const TIMESLICE_PERIOD = 80; | ||
const IDEAL_CORES_SOLD = 5; | ||
|
||
const CONFIG = { | ||
advance_notice: 20, | ||
interlude_length: 0, | ||
leadin_length: 10, | ||
ideal_bulk_proportion: 0, | ||
limit_cores_offered: 50, | ||
region_length: 30, | ||
renewal_bump: 10, | ||
contribution_timeout: 5, | ||
}; | ||
|
||
export {UNIT, INITIAL_PRICE, CORE_COUNT, TIMESLICE_PERIOD, IDEAL_CORES_SOLD, CONFIG}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
{ | ||
"compilerOptions": { | ||
"module": "commonjs", | ||
"outDir": "build", | ||
"target": "ES2020", | ||
"strict": true, | ||
"esModuleInterop": true | ||
}, | ||
"include": [ | ||
"**/*.ts" | ||
], | ||
"exclude": [ | ||
"node_modules" | ||
] | ||
} | ||
"compilerOptions": { | ||
"module": "commonjs", | ||
"outDir": "build", | ||
"target": "ES2020", | ||
"strict": true, | ||
"esModuleInterop": true | ||
}, | ||
"include": [ | ||
"**/*.ts" | ||
], | ||
"exclude": [ | ||
"node_modules" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.