Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin' into feat/10-days-sanction-monitor
Browse files Browse the repository at this point in the history
  • Loading branch information
ylv-io committed Feb 5, 2025
2 parents fc1307f + 0287a01 commit 6b8dd59
Show file tree
Hide file tree
Showing 128 changed files with 23,185 additions and 555 deletions.
19 changes: 1 addition & 18 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
- uses: ./.github/actions/install

- name: Build contracts
run: forge build --sizes
run: forge build --sizes || true

- name: Save forge compilation cache
uses: actions/cache/save@v3
Expand Down Expand Up @@ -71,23 +71,6 @@ jobs:
# due to non-deterministic fuzzing (but still use pseudo-random fuzzing seeds)
FOUNDRY_FUZZ_SEED: 0x${{ github.event.pull_request.base.sha || github.sha }}

- name: Compare gas reports
uses: Rubilmax/[email protected]
with:
summaryQuantile: 0.9 # only display the 10% most significant gas diffs in the summary (defaults to 20%)
sortCriteria: avg,max # sort diff rows by criteria
sortOrders: desc,asc # and directions
ignore: test-foundry/**/* # filter out gas reports from specific paths (test/ is included by default)
id: gas_diff

- name: Add gas diff to sticky comment
if: github.event_name == 'pull_request' || github.event_name == 'pull_request_target'
uses: marocchino/sticky-pull-request-comment@v2
with:
# delete the comment in case changes no longer impact gas costs
delete: ${{ !steps.gas_diff.outputs.markdown }}
message: ${{ steps.gas_diff.outputs.markdown }}

test-fork:
needs: test-local

Expand Down
103 changes: 97 additions & 6 deletions artifacts/1.json
Original file line number Diff line number Diff line change
Expand Up @@ -1393,10 +1393,28 @@
"name": "bridger_",
"type": "address",
"internalType": "address"
},
{
"name": "safe_",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "FEE",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "bridger",
Expand All @@ -1423,6 +1441,19 @@
],
"stateMutability": "view"
},
{
"type": "function",
"name": "safe",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "withdraw",
Expand All @@ -1438,7 +1469,13 @@
"internalType": "uint256"
}
],
"outputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "nonpayable"
},
{
Expand Down Expand Up @@ -1566,7 +1603,7 @@
"name": "bridge",
"inputs": [
{
"name": "asset",
"name": "inputAsset",
"type": "address",
"internalType": "address"
},
Expand All @@ -1576,7 +1613,7 @@
"internalType": "uint256"
},
{
"name": "wallet",
"name": "kintoWallet",
"type": "address",
"internalType": "address"
},
Expand Down Expand Up @@ -1618,7 +1655,13 @@
]
}
],
"outputs": [],
"outputs": [
{
"name": "amountOut",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "payable"
},
{
Expand All @@ -1639,13 +1682,13 @@
"name": "Bridged",
"inputs": [
{
"name": "wallet",
"name": "kintoWallet",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "asset",
"name": "inputAsset",
"type": "address",
"indexed": true,
"internalType": "address"
Expand Down Expand Up @@ -2064,6 +2107,30 @@
},
"WithdrawWorkflow": {
"abi": [
{
"type": "constructor",
"inputs": [
{
"name": "weth",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "WETH",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "withdrawERC20",
Expand Down Expand Up @@ -2914,6 +2981,19 @@
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "rescueToken",
"inputs": [
{
"name": "token",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "sUSDe",
Expand Down Expand Up @@ -3295,6 +3375,17 @@
"name": "OnlyOwner",
"inputs": []
},
{
"type": "error",
"name": "RouterAllowanceNotZero",
"inputs": [
{
"name": "allowance",
"type": "uint256",
"internalType": "uint256"
}
]
},
{
"type": "error",
"name": "SignatureExpired",
Expand Down
Loading

0 comments on commit 6b8dd59

Please sign in to comment.