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

feat: account for aura and beefy stakes #1786

Open
wants to merge 20 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
9261892
feat: account for aura stakes
gosuto-inzasheru Feb 17, 2025
aa2d3c6
perf: concat series after for loop
gosuto-inzasheru Feb 18, 2025
af82550
refactor: use gql query saved in bal tools
gosuto-inzasheru Feb 18, 2025
d2ebc83
feat: support for beefy depositors
gosuto-inzasheru Feb 18, 2025
d9dd4c2
refactor: use ts gql query saved in bal tools
gosuto-inzasheru Feb 18, 2025
2bdfb36
refactor: move gql query to bal tools
gosuto-inzasheru Feb 19, 2025
1ece491
fix: zero based indexing for epoch numbers
gosuto-inzasheru Feb 19, 2025
d619390
chore: generate epoch 1 for morpho
gosuto-inzasheru Feb 20, 2025
9c8f7b8
Automated processing of Payload PR (validations, transformations, and…
gosuto-inzasheru Feb 20, 2025
be044c6
fix: drop quotes for bytes
gosuto-inzasheru Feb 20, 2025
f4056d0
Automated processing of Payload PR (validations, transformations, and…
gosuto-inzasheru Feb 20, 2025
fbab03a
fix: need some margin to prevent overspend
gosuto-inzasheru Feb 20, 2025
80c113d
Automated processing of Payload PR (validations, transformations, and…
gosuto-inzasheru Feb 20, 2025
bb24903
feat: add support for multiple morpho pools
gosuto-inzasheru Feb 21, 2025
c555b6b
style: add eof newline to json airdrop
gosuto-inzasheru Feb 21, 2025
3302974
Automated processing of Payload PR (validations, transformations, and…
gosuto-inzasheru Feb 21, 2025
4ce2588
chore: add morpho vault abi
gosuto-inzasheru Feb 27, 2025
856f768
Automated processing of Payload PR (validations, transformations, and…
gosuto-inzasheru Mar 4, 2025
8be13cc
feat: weigh by $ value morpho component
gosuto-inzasheru Mar 4, 2025
bb1ff4b
Automated processing of Payload PR (validations, transformations, and…
gosuto-inzasheru Mar 4, 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
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -147,3 +147,6 @@ Pipfile*

# nektos/act
.actrc

MaxiOps/merkl/cache
MaxiOps/merkl/airdrops/**-dry.json
47 changes: 47 additions & 0 deletions MaxiOps/merkl/airdrops/epoch_1-morpho-1-csUSDC-csUSDT.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"rewardToken": "0x58D97B57BB95320F9a05dC918Aef65434969c2B2",
"rewards": {
"0x027917095a4d4964eff7280676f405126bf9a6b5": {
"epoch_1": "4816441914882095"
},
"0x4bc8121278056bfcac2bd14d455659224d6ddf48": {
"epoch_1": "16087924910043351"
},
"0xd2525cd44dd450627cec73754f97378e417f6c2e": {
"epoch_1": "3863720192679521"
},
"0xe01c417384a1e7f2e11393baa52f721d2e95d1aa": {
"epoch_1": "1984838394157516743500"
},
"0xb8e12daf63314a9baa71b1e39baa4538637bf138": {
"epoch_1": "29907757184800428910"
},
"0x852120f39aa14fd3dcb575f17189c3ae0e0e173b": {
"epoch_1": "2020789269971882711"
},
"0x019b06a14efbed01f0a50c0c767f3f630e3d8704": {
"epoch_1": "1892352195203899352"
},
"0x99afd53f807766a8b98400b0c785e500c041f32b": {
"epoch_1": "542277091684618956"
},
"0xa1fc03e69e031ae9682b6e1b2c9669a33de39b09": {
"epoch_1": "11665407499659543"
},
"0x866af7737547c87d1719943007df47061a72ebe3": {
"epoch_1": "10328591282999246"
},
"0x977767f401fc909614905857c9174bd08af02363": {
"epoch_1": "4116559576422042"
},
"0xb6fa6844930db3e620d037ce682fe18ad8e72502": {
"epoch_1": "5325615533409511877"
},
"0xa77d05335d7c1a913c7708fb4f22340be3abed55": {
"epoch_1": "19559703538121010146"
},
"0xdcc5b9ba5ab98dc38477831ff359d81f911423eb": {
"epoch_1": "12150907838984250"
}
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FILENAME: `MaxiOps/merkl/payloads/morpho-epoch_0.json`
FILENAME: `MaxiOps/merkl/payloads/epoch_0-morpho-1-csUSDC-csUSDT.json`
MULTISIG: `multisigs/maxi_omni (mainnet:0x9ff471F9f98F42E5151C7855fD1b5aa906b1AF7e)`
COMMIT: `9606694c706977ef03334a8b5135a32a1e5c0a1f`
CHAIN(S): `mainnet`
Expand Down
124 changes: 124 additions & 0 deletions MaxiOps/merkl/payloads/epoch_1-morpho-1-csUSDC-csUSDT.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@
{
"version": "1.0",
"chainId": "1",
"createdAt": 1739981238,
"meta": {
"name": "Create Merkl Campaign",
"txBuilderVersion": "1.16.3",
"createdFromSafeAddress": "0x9ff471F9f98F42E5151C7855fD1b5aa906b1AF7e"
},
"transactions": [
{
"to": "0x4095F064B8d3c3548A3bebfd0Bbfd04750E30077",
"value": "0",
"data": null,
"contractMethod": {
"inputs": [
{ "internalType": "bytes[]", "name": "data", "type": "bytes[]" }
],
"name": "multicall",
"payable": true
},
"contractInputsValues": {
"data": "[0x6b89026a000000000000000000000000330eefa8a787552dc5cad3c3ca644844b1e61ddb0000000000000000000000009ff471f9f98f42e5151c7855fd1b5aa906b1af7e00000000000000000000000058d97b57bb95320f9a05dc918aef65434969c2b20000000000000000000000000000000000000000000000bbd632c3440d13af7c00000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000fcf02eb1205e5582a479de3abd640822e7ab300d3641814778c6e7da32ebd9a4b36ea4751f29c91c15109a9131cfea55b5ab0c4518aa49ce980411eb839a9385aab66e17a2f3d76e4600097e32a0cb83c93002cc65df3e780235c41dae65b4e5ec739fdc4fe50cb18a04cb7e4f0b15930280df8f7bf6fb8676083fa31b3b26d67cdfdd0a1398af44fc8499583cdadecd55e507e369c0dc1aaffc90932c8e46a86af438b074047558666ab6d85204ab6f87e410b34f015a0b7486a661195203dd4514a433ab622489c17796332eb8f338d5f17bd9a3a475e4d6d2192203258658adb7e91f50751748c085074a783536dc25cfa645c227ce61be271d15187dde41a392257a0e1fb847912af031aacebf277800c8f46a74fa66f6910681eef002b003fd9eba21a6af513e7c9458ec3525ab843e8e6f31bdac818b2ccf393ed5d1e82d6e84362b3291865034f2b895990c3fae9980bcce0bd7543d518c1e23c044b2b4a671d63aca0da1c43f421af5d998a45802fe6c134e070ae64443adf50e9978c343e059220a41a56020fbff628ed42d7a4306e115dec42d0b1a46709da1ba04bdd4784dd1e22d57c07776772c36d50e4fac9d6431281ab21cd7bf5b552769abbe9d36f5bb64490817d9da4172bebae18dca017def3ca0b30f410c22a8f44ec3d]"
}
},
{
"to": "0x58D97B57BB95320F9a05dC918Aef65434969c2B2",
"value": "0",
"data": null,
"contractMethod": {
"inputs": [
{
"name": "spender",
"type": "address",
"internalType": "address"
},
{
"name": "amount",
"type": "uint256",
"internalType": "uint256"
}
],
"name": "approve",
"payable": false
},
"contractInputsValues": {
"spender": "0x8BB4C975Ff3c250e0ceEA271728547f3802B36Fd",
"amount": "2054422028667260065830"
}
},
{
"to": "0x8BB4C975Ff3c250e0ceEA271728547f3802B36Fd",
"value": "0",
"data": null,
"contractMethod": {
"inputs": [],
"name": "acceptConditions",
"payable": false
},
"contractInputsValues": null
},
{
"to": "0x8BB4C975Ff3c250e0ceEA271728547f3802B36Fd",
"value": "0",
"data": null,
"contractMethod": {
"inputs": [
{
"components": [
{
"internalType": "bytes32",
"name": "campaignId",
"type": "bytes32"
},
{
"internalType": "address",
"name": "creator",
"type": "address"
},
{
"internalType": "address",
"name": "rewardToken",
"type": "address"
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
},
{
"internalType": "uint32",
"name": "campaignType",
"type": "uint32"
},
{
"internalType": "uint32",
"name": "startTimestamp",
"type": "uint32"
},
{
"internalType": "uint32",
"name": "duration",
"type": "uint32"
},
{
"internalType": "bytes",
"name": "campaignData",
"type": "bytes"
}
],
"internalType": "struct CampaignParameters",
"name": "newCampaign",
"type": "tuple"
}
],
"name": "createCampaign",
"payable": false
},
"contractInputsValues": {
"newCampaign": "[\"0x0000000000000000000000000000000000000000000000000000000000000000\",\"0x0000000000000000000000000000000000000000\",\"0x58D97B57BB95320F9a05dC918Aef65434969c2B2\",\"2054422028667260065830\",4,1740074400,3600,\"0x0000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000005568747470733a2f2f616e676c652d626c6f672e696e667572612d697066732e696f2f697066732f516d5832546a6b457066417451346964584c74485866564c426236464768747168596f57316471516355653958760000000000000000000000000000000000000000000000000000000000000000000000000000000000000765706f63685f310000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\"]"
}
}
]
}
Loading