feat: support safe delegtecall (#2999)

* feat: support safe delegtecall

* feat: update rabby-api
This commit is contained in:
Hodor
2025-06-12 15:44:54 +08:00
committed by GitHub
parent fd122e3bc1
commit 3b8e02695e
3 changed files with 6 additions and 5 deletions

View File

@@ -63,7 +63,7 @@
"@rabby-wallet/gnosis-sdk": "1.4.3",
"@rabby-wallet/page-provider": "0.4.10",
"@rabby-wallet/rabby-action": "0.1.11",
"@rabby-wallet/rabby-api": "0.9.22",
"@rabby-wallet/rabby-api": "0.9.23",
"@rabby-wallet/rabby-security-engine": "2.0.10",
"@rabby-wallet/rabby-swap": "0.0.56",
"@rabby-wallet/widgets": "1.0.9",

View File

@@ -785,6 +785,7 @@ const SignTx = ({ params, origin, account: $account }: SignTxProps) => {
wallet,
address,
}),
delegate_call: isGnosisAccount ? !!params?.data?.[0]?.operation : false,
})
.then(async (res) => {
let estimateGas = 0;

View File

@@ -4849,10 +4849,10 @@
resolved "https://registry.yarnpkg.com/@rabby-wallet/rabby-action/-/rabby-action-0.1.11.tgz#f245eea123fd52950653488866d1039c97fd673d"
integrity sha512-Pv0DbI2NGptsPKTm16Jqdz86RbQBNZowm/rU9KIxCZi4mCmDVR7CdhdTKX6+vlRnEqGGKXSOA+lGMlCHKoQavA==
"@rabby-wallet/rabby-api@0.9.22":
version "0.9.22"
resolved "https://registry.yarnpkg.com/@rabby-wallet/rabby-api/-/rabby-api-0.9.22.tgz#2a09cbae974cbaaada20e7bc1462e255d8aa223f"
integrity sha512-ucULDHdXPGcJu/DwNBaqxdXnDDydSx17X7rIBIe95LW/W45B9KE/Lmh65uClvDbGeR7VJFCG8rEGgEUjaubPpA==
"@rabby-wallet/rabby-api@0.9.23":
version "0.9.23"
resolved "https://registry.yarnpkg.com/@rabby-wallet/rabby-api/-/rabby-api-0.9.23.tgz#2ad84cd6b67cfbe3805a14c55c9c57d390a3083e"
integrity sha512-Qkenh+CpwLCnDiN0XtiZ3VaP4Ip15KCOgHRtBG//GokZ5Fi0WbJ6sWs+BDbDPNf+g4r9rxju9Dtggs1/GPx8sg==
dependencies:
"@rabby-wallet/rabby-sign" "0.4.0"
axios "^0.27.2"