Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ broadcast/
# Docs
docs/

# Data
script/input/2*
script/output/2*

# Dotenv file
.env

Expand Down
2 changes: 1 addition & 1 deletion script/Deploy.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ contract DeployScript is BaseDistributorScript {
bytes4[] enableHookFuncSelectors;

string internal _contractName = 'KSDistributor';
string internal _releaseVersion;
string internal _releaseVersion = '250718_2';

function run() external {
require(bytes(_releaseVersion).length > 0, 'Release version not set');
Expand Down
5 changes: 4 additions & 1 deletion script/config/admin.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"1": "0xBE2F0354D970265BFc36D383af77F72736b81B54",
"56": "0xBE2F0354D970265BFc36D383af77F72736b81B54",
"8453": "0xBE2F0354D970265BFc36D383af77F72736b81B54"
"8453": "0xBE2F0354D970265BFc36D383af77F72736b81B54",
"130": "0xBE2F0354D970265BFc36D383af77F72736b81B54",
"42161": "0xBE2F0354D970265BFc36D383af77F72736b81B54",
"143": "0xBE2F0354D970265BFc36D383af77F72736b81B54"
}
8 changes: 6 additions & 2 deletions script/config/distributor.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
{
"1": "0xF268cd33C76E3ba6963CD080DcE74C7C71d57a60",
"8453": "0x0bd49FdEa9e8c3Fc410f37A643377C45659297cc"
"1": "0xEae300Ac9409B2072697CA1d5fD137f8bB286f9c",
"130": "0xEae300Ac9409B2072697CA1d5fD137f8bB286f9c",
"143": "0xEae300Ac9409B2072697CA1d5fD137f8bB286f9c",
"42161": "0xEae300Ac9409B2072697CA1d5fD137f8bB286f9c",
"56": "0xEae300Ac9409B2072697CA1d5fD137f8bB286f9c",
"8453": "0xEae300Ac9409B2072697CA1d5fD137f8bB286f9c"
Comment thread
qcuong98 marked this conversation as resolved.
}
24 changes: 24 additions & 0 deletions script/config/guardians.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,29 @@
"0xdbEF4Af51B49Ba2497ba16694475e109Fc374999",
"0xa322638e6891e8c4E2ab6D2F5539fB8b7931Db13",
"0x0de7dE941c89579f3C70307712Ee257b9Fd5eb9d"
],
"130": [
"0x697161A9ECE8aFD6AE30946D790077050F993cbc",
"0x335b0100340e87d807cd2796895ca99fe74a6c59",
"0x1dcfC0de40453891C8574c8F6F7d51c67F069aD9",
"0xdbEF4Af51B49Ba2497ba16694475e109Fc374999",
"0xa322638e6891e8c4E2ab6D2F5539fB8b7931Db13",
"0x0de7dE941c89579f3C70307712Ee257b9Fd5eb9d"
],
"42161": [
"0x697161A9ECE8aFD6AE30946D790077050F993cbc",
"0x335b0100340e87d807cd2796895ca99fe74a6c59",
"0x1dcfC0de40453891C8574c8F6F7d51c67F069aD9",
"0xdbEF4Af51B49Ba2497ba16694475e109Fc374999",
"0xa322638e6891e8c4E2ab6D2F5539fB8b7931Db13",
"0x0de7dE941c89579f3C70307712Ee257b9Fd5eb9d"
],
"143": [
"0x697161A9ECE8aFD6AE30946D790077050F993cbc",
"0x335b0100340e87d807cd2796895ca99fe74a6c59",
"0x1dcfC0de40453891C8574c8F6F7d51c67F069aD9",
"0xdbEF4Af51B49Ba2497ba16694475e109Fc374999",
"0xa322638e6891e8c4E2ab6D2F5539fB8b7931Db13",
"0x0de7dE941c89579f3C70307712Ee257b9Fd5eb9d"
]
}
24 changes: 24 additions & 0 deletions script/config/hooks.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,29 @@
"name": "KSZapRouterPosition",
"status": true
}
],
"130": [
{
"contractAddress": "0x0e97C887b61cCd952a53578B04763E7134429e05",
"funcSelector": "0xaa5d82c3",
"name": "KSZapRouterPosition",
"status": true
}
],
"42161": [
{
"contractAddress": "0x0e97C887b61cCd952a53578B04763E7134429e05",
"funcSelector": "0xaa5d82c3",
"name": "KSZapRouterPosition",
"status": true
}
],
"143": [
{
"contractAddress": "0x89C91686948C3Bc9A5bDF7A2A773ea71530a233e",
"funcSelector": "0xaa5d82c3",
"name": "KSZapRouterPosition",
"status": true
}
]
}
9 changes: 9 additions & 0 deletions script/config/operators.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,14 @@
],
"8453": [
"0x697161A9ECE8aFD6AE30946D790077050F993cbc"
],
"130": [
"0x697161A9ECE8aFD6AE30946D790077050F993cbc"
],
"42161": [
"0x697161A9ECE8aFD6AE30946D790077050F993cbc"
],
"143": [
"0x697161A9ECE8aFD6AE30946D790077050F993cbc"
]
}
5 changes: 4 additions & 1 deletion script/config/rescuers.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"1": [],
"56": [],
"8453": []
"8453": [],
"130": [],
"42161": [],
"143": []
}