Skip to content

Commit

Permalink
Final commit for mainnet launch.
Browse files Browse the repository at this point in the history
This is the final commit we are using for mainnet launch.

The bill of materials is found below:

Software versions:
  Git commit       =
  Aiken Version    = aiken v1.0.26-alpha+fdbe811

File hashes (SHA256):
  validators/oracle.ak              = 9cf52f850e1c649524fc9a9af1f729e793124b29274763766fc5f3a7c2033b71
  validators/order.ak               = 6315ecbe4851681f22c9cd9962c0182f1db00ff37227dbe14e91769c75c2ba21
  validators/pool_stake.ak          = 5f388ef6926be522b88fb94d821991a1bdfc6a84fe4aaea63b08b3bdfbad7f00
  validators/pool.ak                = 9776dbc7739c8050f6e0453b06f372972dcaa1b301ee88ff142965bb9b89f70f
  validators/settings.ak            = ff9c9fb3fc230d10f66fc9286d062ddd918e8bfec46c952da1c60e32798f9362
  validators/stake.ak               = 511ab4632163de396c968b9e70ac3482962b194271c7c9e16e2b2f25fde8a341

  lib/shared.ak                     = 4c2b747ff3958133607773e32abd05ba53fb91892ec6f6daa346801c635e72d3
  lib/types/oracle.ak               = 3dbe419fd2ccd866de95405e65e65b01c10926e7f837b914d5bfd6929435d420
  lib/types/order.ak                = 52d30df91808d9aae6b7dec070204c8ec7212743307e021c287f41392688bbd9
  lib/types/pool.ak                 = b00bcf5eb8c26570bf9f148fb4ecc8d7ec118c23e7e598d1be3e44c33cc05318
  lib/types/settings.ak             = 97677b25735627681fbbb69f324a4fdf58c0f11c468b62999ab6b65949c0281f
  lib/calculation/deposit.ak        = ee3f86e1e7c4eb02341b434e02223d1f8da21a7e295e118a68173331f61302a6
  lib/calculation/donation.ak       = 13a150c833ff7a4c912b023301680af443461100af94e705d20c577afb441ae7
  lib/calculation/process.ak        = 776acf50878158239ff5e8d0ca2b7426316cde74cda7f17a047b326b1c7fbf37
  lib/calculation/record.ak         = fd331a1154601fba47ff2120733ddcf84b8a325b42f1cf78d97642250ba05ef7
  lib/calculation/shared.ak         = 7bc92b11235726f883dfab1edda9af5a71932f57d63608db05bafbcef3b118dd
  lib/calculation/strategy.ak       = 59f90eac040a1734c23aa0dcb8cb2ca134348e576ec909d5cefe1cf936f8f70e
  lib/calculation/swap.ak           = 62ce7274f4d1257dcd2d69a84942cb5697a11f71cb46066cafc44cd806436fa8
  lib/calculation/withdrawal.ak     = 3e6489163d8a80d4f2a692385a3c600a9f2d75ac7a6578ffd0379e5149a63c64

Parameters:
  PROTOCOL_BOOT_UTXO                =  382b27b28c70343161f9abebdab78264e0fd7271baf3bb88ca04b52e5f0067ef#01

Script Hashes:
  Settings Script Hash / Policy     =  6d9d7acac59a4469ec52bb207106167c5cbfa689008ffa6ee92acc50
  Pool Script Hash / Policy         =  e0302560ced2fdcbfcb2602697df970cd0d6a38f94b32703f51c312b
  Pool Stake Script Hash            =  4399813dad91bb78a5eb17c26ff50852bc75d3fa7b6e9ae87232ccc1
  Manage Stake Script Hash          =  e0fccbbfb75923bff6dac5f23805dcf6cecfaae8aa3a6d3e474ee670
  Order Stake Script Hash           =  99e5aacf401fed0eb0e2993d72d423947f42342e8f848353d03efe61
  Order Script Hash                 =  fa6a58bbe2d0ff05534431c8e2f0ef2cbdc1602a8456e4b13c8f3077
  Oracle Script Hash                =  f50153654bd0e167563cd0bbbff1b73c40157e53408a0ef517e67a5d

Note: We identified a bug in the Oracle script; however, this is an
auxiliary component, and can be fixed post launch. We have tested the
contracts thoroughly, and with an alternate, "always succeeds" oracle
script to confirm the core pool logic is working correctly.

Here are all of the test cases and transaction IDs we tested:

Swap                            https://cexplorer.io/tx/30ad26ecd0849e1b7eb2fc441dd52b74a7274faad06b230b897e2e163bec6651
Deposit                         https://cexplorer.io/tx/f401bc107c6e69b94a5a6e2eb395ffb797f976d5dbc7c20da9d3d3c547a9f051
Withdrawal                      https://cexplorer.io/tx/b0b23cd8a98e5defbde5c106b44f277fa8b0f8f8971b40bb34ab46e2ef0fa412
Swap with unit return           https://cexplorer.io/tx/ead3132f1fb55ca0ad6e1ca3ee1695ba48f5bc36c78eb8235424bf944a0aa2ee
Settings Admin Update           https://cexplorer.io/tx/03a9681d887a646b388f0dc44e630a07254248427bbef98e7fd09d290bccc29e
Create Pool                     https://cexplorer.io/tx/20aafe624a9c3971cff46be2dde45ab0cffc19ec2d03a7249a2daf00bea19f9b
Treasury Admin Update           https://cexplorer.io/tx/0cab57f56e00ec587de1d16258ea313e39854b4e9bd304df45d872e5b0ddda39
Withdraw Pool Rewards           https://cexplorer.io/tx/8f40fdf3201734616560bd791fde044210beaffc14e5f4c420f5e0808a537e37
Create Pool with fee manager    https://cexplorer.io/tx/21273c676add53203605832f5cdfd43d9a94a971a42bffb0e91dddf35e0c290a
Update Pool Fee                 https://preview.cexplorer.io/tx/1e316984e3f2c129cf78d5a93e675ed712a5865abbcb30e6a642428492a5ef3e
Create Pool asymmetric fees     https://cexplorer.io/tx/71550d85a485defe69fa6451d89fe2a1be6094e89b54124af281041d05f2a46c
Swap with Bid fee               https://cexplorer.io/tx/65d6ace8c6e213208e7dcc5447b2320183191ba70ad268ef66ac0b111bb0656b
Swap with Ask fee               https://cexplorer.io/tx/6b66296c55c5b7893e61c987f9cc631fdf6a0cbfcc1909e5e4eff9ea6238c281
Delegate from stake script      https://preview.cexplorer.io/tx/607ea963c7457d28dd89052c7eeebd290275233ad1cdc9687a2deb75f1cd2fe0
Order from alternative contract https://cexplorer.io/tx/8f782de059cc4ba4997198eca0d0160431a7f57010b5ef352e57d584fc1c94b7
Cancel multisig owner           https://cexplorer.io/tx/e60cf402328aca408d490f2deff26b1cd90eaa7753c4cd55aaa62b47c9d3161b
Execute with multisig owner     https://cexplorer.io/tx/1ce8b0fd3ce03f8473159597520ff5dab35f02453cadd89693d57e509fd4bdb3
Withdraw to zero                https://preview.cexplorer.io/tx/e9f910b9ae25994d5913cb19d9dc55be808d86abec01b699cee05d8707fdf6a9
Evaporate a pool                https://preview.cexplorer.io/tx/afd8ee3ef0b14695b3c86dbf240d57772064fbde1560f489d437513d0e7fa477
Donation                        https://cexplorer.io/tx/264dfbd64e54690af49159de84df4e55412a4ef70dad50b3d01366bacd6c68fe
Record                          https://preview.cexplorer.io/tx/b23a3d0358a5b25dfe2f538010ab7c33e9b6de3ac246078e5a6139f268313fd0
Strategy                        https://cexplorer.io/tx/7a142ddc1302bdd4063dae8bcb72e4794f4c0c99a5d96f2136a3bf7a2ca3c928
Self Destination                https://preview.cexplorer.io/tx/2a97101e262ae73c82f1815e96c91282b159279d7c42b298baa4023153562ace

Some transactions are on preview, as we identified last minute issues
and fixed them, redeploying the protocol in preview.
  • Loading branch information
Quantumplation committed May 9, 2024
1 parent 1ea250d commit 66f8d4b
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 23 deletions.
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ echo " lib/calculation/withdrawal.ak = ${SHA256}"

aiken build &> /dev/null

PROTOCOL_BOOT_TX="fad11baadca1e52bf34599746fb0152d9d10b31c2591b79deab34536a7998ea0"
PROTOCOL_BOOT_TX="382b27b28c70343161f9abebdab78264e0fd7271baf3bb88ca04b52e5f0067ef"
PROTOCOL_BOOT_IX="01"
PROTOCOL_BOOT_UTXO="d8799fd8799f5820${PROTOCOL_BOOT_TX}ff${PROTOCOL_BOOT_IX}ff"

Expand Down Expand Up @@ -112,7 +112,7 @@ echo -e " Settings Script Hash / Policy = \e[32m ${SETTINGS_SCRIPT_HASH} \e
echo -e " Pool Script Hash / Policy = \e[32m ${POOL_SCRIPT_HASH} \e[0m"
echo -e " Pool Stake Script Hash = \e[32m ${POOL_STAKE_SCRIPT_HASH} \e[0m"
echo -e " Manage Stake Script Hash = \e[32m ${MANAGE_STAKE_SCRIPT_HASH} \e[0m"
echo -e " Treasury Stake Script Hash = \e[32m ${STAKE_SCRIPT_HASH} \e[0m"
echo -e " Order Stake Script Hash = \e[32m ${STAKE_SCRIPT_HASH} \e[0m"
echo -e " Order Script Hash = \e[32m ${ORDER_SCRIPT_HASH} \e[0m"
echo -e " Oracle Script Hash = \e[32m ${ORACLE_SCRIPT_HASH} \e[0m"

Expand Down
Loading

0 comments on commit 66f8d4b

Please sign in to comment.