Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QuantAMM v1 deployment #205

Draft
wants to merge 25 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
610a1bc
add initial index and input
bulkcade Mar 12, 2025
f7c34fe
initial test attempt
bulkcade Mar 12, 2025
df32b12
correct constructorargs
bulkcade Mar 13, 2025
44e8bbd
Update v3/tasks/20250313-v3-quantamm/readme.md
bulkcade Mar 13, 2025
d31c6e1
update tests and add in env specific addresses
bulkcade Mar 13, 2025
ad58956
Merge branch 'QuantAMM-V1-deployment' of https://github.com/QuantAMMP…
bulkcade Mar 13, 2025
166c900
add build infos and update commit which they were taken
bulkcade Mar 13, 2025
49b2084
add artifacts
bulkcade Mar 13, 2025
ddbbcaf
remove incorrect articles
bulkcade Mar 13, 2025
625ef83
prettier fixes and typing corrections
bulkcade Mar 13, 2025
131ff86
add artiacts using yarn extract-artifacts --id 20250313-v3-quantamm
bulkcade Mar 13, 2025
9e271b6
use signer helper library
bulkcade Mar 13, 2025
024d8e3
debug and reorg of signer
bulkcade Mar 14, 2025
ee05e82
remove stub hardhat network
bulkcade Mar 14, 2025
04d0142
bugfixes for signer and capitalisation error
bulkcade Mar 14, 2025
dfc4106
various bug fixes to deployment param misdeclarations, bad values etc…
bulkcade Mar 14, 2025
3e20459
remove console logs
bulkcade Mar 14, 2025
63e883c
Update v3/tasks/20250313-v3-quantamm/test/task.fork.ts
bulkcade Mar 14, 2025
103574f
Update v3/tasks/20250313-v3-quantamm/input.ts
bulkcade Mar 14, 2025
8dc0316
Update v3/tasks/20250313-v3-quantamm/index.ts
bulkcade Mar 14, 2025
5f9ae7c
Update v3/tasks/20250313-v3-quantamm/test/task.fork.ts
bulkcade Mar 14, 2025
d9aeda9
Update src/task.ts
bulkcade Mar 14, 2025
db3d23b
minor tweaks
bulkcade Mar 14, 2025
74df387
bugfix pool param input order
bulkcade Mar 17, 2025
2eb28aa
new pool deployment and verfied
bulkcade Mar 17, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion deployment-txs/sepolia.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,5 +113,19 @@
"0x3400AaFA47C6dC0D8Ffc2380D3665f701cD53eBc": "0xa77de078ac7b3b8962e6c43fa7a8a3124ec224c1203a2f359d9cd69d1aeafb15",
"0xA714753434481DbaBf7921963f18190636eCde69": "0x0cd109852b120305517211c9df21dcd99afe0e803a91989c6379708a76dfb895",
"0x410E6933B5d9F7ffBAB35AF4aAbCaA82a4C1F287": "0xb48230c909c2e18c6380a5eb6ec9dfc6a66a01a9b402524a789818c0f222acfd",
"0x931d2a630f6bdfe872F98ea967447c8F99d4823a": "0x9e4f758c9ee4fbe851b89a9eff0f51b6dff035bd6c1f9c31dfa166c919138132"
"0x931d2a630f6bdfe872F98ea967447c8F99d4823a": "0x9e4f758c9ee4fbe851b89a9eff0f51b6dff035bd6c1f9c31dfa166c919138132",
"0xebd5B40FF5cF434c1474b9dD13B6127eEA2a55Cb": "0xda161f1c9fc0621973eebc31c15f28674818cc9a4688fa2ead06832adceb5f6a",
"0xc840e742C9CC87F08C14537C6b6515cD952AC789": "0x5fc996694a2244c30c3958f979f0cd7fa3a833bf9dda2524973b81e8f6c791a2",
"0xeD9bbC1C7C076ecd81A4FD8C22B948Fc3c925fD3": "0x9dae7c7b03e56b1e82dab4daff1a1d10f8c59fa947ec54b09edec17ddbd2b3bc",
"0x89E2A5C247686Fc6C0430208785d69517278aF09": "0x6e60b859b703f1dae51e5ca76a1f60d1d76a11e208ac41065baa7f0422c21b05",
"0xc75Cf3B6D67c8f897Bb7EE252840307aB735e124": "0x679246970a58e75df3f9bc67dd4494c9df49251d4d3a1b949bed9fc3ebb4c6ff",
"0x2A3716BfBEdA731C8716f00e3cF245DDa8422eC0": "0xe5082ef94bb1a257d91ededdf248ebf76037749551116e36dcf1f47125b79433",
"0xCE888C9554D821e9E3730fDC89C02900e2c998c7": "0xe7a156932cda7a8c841bfe38fb0bc8c8d213624ba27c92e9d3d663a6227cb4e6",
"0x2c2BfDF68443bA28F8033d4F552E1AbE4B2c837e": "0x553978d268701ea5dff0b27332d9bf10ab5540e8f8ba00031efc262da44a7eed",
"0x611C4A8c8479FA2Ec6dCE287F0adBFF694d599e9": "0x0c6f67af0e54194613d227bfbaa54ebda1f870eac8bf6f3b34b6954716137a1a",
"0x7558bF31283d017650839934251609727Ea68Bd3": "0x492c0d29a25c5a26ceac85d35b10f2917b5c9eb43e06cbfb7dbec87527a04bc9",
"0x146F5E50aA1D8808E91796075489A9dAd18EFB47": "0xd783fca7ee628dca34b2a37c1d6b9671e5b47536e9ec0afa95b05e6013d89515",
"0x97aEb266304a257a88f97cE95D80cb8424C89D9B": "0xd04bb034e0b959b5c7a8bdfda7a81121df3a9f70bd1f462f7c594aad3ba750ed",
"0x108930dF1052bB3CF5F05992cF58c96127EaAefC": "0x44e62554b84f33f50fa9f5b4f9325f350bd31089e47f6c7981e455d9fe556e11",
"0xA3a6398f3B29b84a6657A1f4bcE5c90F38462bf7": "0x27c3341afcc817961a6ca7379de2cb2a48ce3dec1930127e591fc06ecf638e01"
}
277 changes: 277 additions & 0 deletions v3/tasks/20250313-v3-quantamm/artifact/AntiMomentumUpdateRule.json

Large diffs are not rendered by default.

40 changes: 40 additions & 0 deletions v3/tasks/20250313-v3-quantamm/artifact/ChainlinkOracle.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"_format": "hh-sol-artifact-1",
"contractName": "ChainlinkOracle",
"sourceName": "contracts/ChainlinkOracle.sol",
"abi": [
{
"inputs": [
{
"internalType": "address",
"name": "_chainlinkFeed",
"type": "address"
}
],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"inputs": [],
"name": "getData",
"outputs": [
{
"internalType": "int216",
"name": "data",
"type": "int216"
},
{
"internalType": "uint40",
"name": "timestamp",
"type": "uint40"
}
],
"stateMutability": "view",
"type": "function"
}
],
"bytecode": "0x60c080604052346100eb578061050f803803809161001d828561012f565b83396020928391810103126100eb57516001600160a01b03811691908290036100eb5781156101015780826004936080526040519384809263313ce56760e01b82525afa9081156100f6575f916100b9575b5060ff91501660120360ff81116100a55760ff1660a0526040516103a890816101678239608051816095015260a0518160d10152f35b634e487b7160e01b5f52601160045260245ffd5b905081813d83116100ef575b6100cf818361012f565b810103126100eb575160ff811681036100eb5760ff905f61006f565b5f80fd5b503d6100c5565b6040513d5f823e3d90fd5b6064906040519062461bcd60e51b82526004820152600760248201526624a72b20a2222960c91b6044820152fd5b601f909101601f19168101906001600160401b0382119082101761015257604052565b634e487b7160e01b5f52604160045260245ffdfe6080604090808252600480361015610015575f80fd5b5f3560e01c633bc5de3014610028575f80fd5b3461031a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261031a577ffeaf968c00000000000000000000000000000000000000000000000000000000825260a082828173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000165afa8015610351575f925f91610293575b505f831315610236577f0000000000000000000000000000000000000000000000000000000000000000604d811161020a57600a0a92838102937f800000000000000000000000000000000000000000000000000000000000000081145f8312166101de5781850514901517156101b25764ffffffffff169081156101555750825191601a0b82526020820152f35b60649060208551917f08c379a0000000000000000000000000000000000000000000000000000000008352820152600a60248201527f494e564f52434c56414c000000000000000000000000000000000000000000006044820152fd5b6011827f4e487b71000000000000000000000000000000000000000000000000000000005f525260245ffd5b6011847f4e487b71000000000000000000000000000000000000000000000000000000005f525260245ffd5b6011837f4e487b71000000000000000000000000000000000000000000000000000000005f525260245ffd5b60648260208651917f08c379a0000000000000000000000000000000000000000000000000000000008352820152600960248201527f494e564c444441544100000000000000000000000000000000000000000000006044820152fd5b92505060a03d60a01161034a575b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f820116830183811067ffffffffffffffff82111761031e5760a091849186528101031261031a576102f48261035b565b602083015192848101519361031060806060840151930161035b565b92509350906100c6565b5f80fd5b6041837f4e487b71000000000000000000000000000000000000000000000000000000005f525260245ffd5b503d6102a1565b83513d5f823e3d90fd5b519069ffffffffffffffffffff8216820361031a5756fea264697066735822122067a8842d1d5f454ee102f62d12f970ca0888ab7eacce8807f04ae6fc53a54b2c64736f6c634300081a0033",
"deployedBytecode": "0x6080604090808252600480361015610015575f80fd5b5f3560e01c633bc5de3014610028575f80fd5b3461031a575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc36011261031a577ffeaf968c00000000000000000000000000000000000000000000000000000000825260a082828173ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000165afa8015610351575f925f91610293575b505f831315610236577f0000000000000000000000000000000000000000000000000000000000000000604d811161020a57600a0a92838102937f800000000000000000000000000000000000000000000000000000000000000081145f8312166101de5781850514901517156101b25764ffffffffff169081156101555750825191601a0b82526020820152f35b60649060208551917f08c379a0000000000000000000000000000000000000000000000000000000008352820152600a60248201527f494e564f52434c56414c000000000000000000000000000000000000000000006044820152fd5b6011827f4e487b71000000000000000000000000000000000000000000000000000000005f525260245ffd5b6011847f4e487b71000000000000000000000000000000000000000000000000000000005f525260245ffd5b6011837f4e487b71000000000000000000000000000000000000000000000000000000005f525260245ffd5b60648260208651917f08c379a0000000000000000000000000000000000000000000000000000000008352820152600960248201527f494e564c444441544100000000000000000000000000000000000000000000006044820152fd5b92505060a03d60a01161034a575b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f820116830183811067ffffffffffffffff82111761031e5760a091849186528101031261031a576102f48261035b565b602083015192848101519361031060806060840151930161035b565b92509350906100c6565b5f80fd5b6041837f4e487b71000000000000000000000000000000000000000000000000000000005f525260245ffd5b503d6102a1565b83513d5f823e3d90fd5b519069ffffffffffffffffffff8216820361031a5756fea264697066735822122067a8842d1d5f454ee102f62d12f970ca0888ab7eacce8807f04ae6fc53a54b2c64736f6c634300081a0033",
"linkReferences": {},
"deployedLinkReferences": {}
}
288 changes: 288 additions & 0 deletions v3/tasks/20250313-v3-quantamm/artifact/ChannelFollowingUpdateRule.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

255 changes: 255 additions & 0 deletions v3/tasks/20250313-v3-quantamm/artifact/MinimumVarianceUpdateRule.json

Large diffs are not rendered by default.

277 changes: 277 additions & 0 deletions v3/tasks/20250313-v3-quantamm/artifact/MomentumUpdateRule.json

Large diffs are not rendered by default.

282 changes: 282 additions & 0 deletions v3/tasks/20250313-v3-quantamm/artifact/PowerChannelUpdateRule.json

Large diffs are not rendered by default.

Loading