@gvnrdao/dh-sdk 0.0.341 → 0.0.343
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/browser/dist/browser.js +1 -1
- package/browser/dist/browser.js.LICENSE.txt +4 -0
- package/dist/constants/chunks/deployment-addresses.d.ts +0 -2
- package/dist/constants/chunks/network-configs.d.ts +0 -2
- package/dist/deployments.js +0 -4
- package/dist/deployments.mjs +0 -4
- package/dist/index.js +520 -5960
- package/dist/index.mjs +523 -5963
- package/dist/safe-delegation.js +0 -3
- package/dist/safe-delegation.mjs +0 -3
- package/dist/sign-guard.js +7 -3
- package/dist/sign-guard.mjs +7 -3
- package/dist/utils/agent-delegation.utils.d.ts +10 -3
- package/dist/utils/btc-dust.utils.d.ts +25 -0
- package/dist/utils/loan-helpers.utils.d.ts +26 -3
- package/dist/utils/sign-guard/extend-fee-bound.d.ts +5 -0
- package/dist/utils/sign-guard/op-envelope.d.ts +7 -1
- package/package.json +4 -9
- package/browser/dist/833.browser.js +0 -2
- package/browser/dist/833.browser.js.LICENSE.txt +0 -1
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
* @license MIT
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
+
/*! Axios v1.20.0 Copyright (c) 2026 Matt Zabriskie and contributors */
|
|
9
|
+
|
|
8
10
|
/*! MIT License. Copyright 2015-2022 Richard Moore <me@ricmoo.com>. See LICENSE.txt. */
|
|
9
11
|
|
|
10
12
|
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
@@ -12,3 +14,5 @@
|
|
|
12
14
|
/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */
|
|
13
15
|
|
|
14
16
|
/*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */
|
|
17
|
+
|
|
18
|
+
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
@@ -33,8 +33,6 @@ export interface DeploymentContracts {
|
|
|
33
33
|
PositionDelegateRegistry?: string;
|
|
34
34
|
/** BitcoinWithdrawalAddressRegistry — per-wallet allowlist of approved BTC withdrawal destinations (24h time-lock). */
|
|
35
35
|
BitcoinWithdrawalAddressRegistry?: string;
|
|
36
|
-
/** CarryAgentRegistry — on-chain attestation / kill-switch for the Carry product: per-position agent registration with permitted-asset allow-list. */
|
|
37
|
-
CarryAgentRegistry?: string;
|
|
38
36
|
/** AgentDelegationRegistry — protocol agent-delegation policy layer (MVP: auto-renew). Per-user agent identity + position-keyed grants. */
|
|
39
37
|
AgentDelegationRegistry?: string;
|
|
40
38
|
/** DHAgentDelegate — EIP-7702 execution adapter (Gate 2): lets the renewal agent call extendPosition as the borrower. Stateless; reads AgentDelegationRegistry.canRenew. */
|
|
@@ -34,8 +34,6 @@ export interface NetworkConfig {
|
|
|
34
34
|
positionDelegateRegistry?: string;
|
|
35
35
|
/** BitcoinWithdrawalAddressRegistry proxy; per-wallet allowlist gating borrower-initiated BTC withdrawal destinations (24h time-lock). */
|
|
36
36
|
bitcoinWithdrawalAddressRegistry?: string;
|
|
37
|
-
/** CarryAgentRegistry proxy; on-chain attestation / kill-switch for the Carry product (per-position agent registration + permitted-asset allow-list). */
|
|
38
|
-
carryAgentRegistry?: string;
|
|
39
37
|
agentDelegationRegistry?: string;
|
|
40
38
|
dhAgentDelegate?: string;
|
|
41
39
|
/** AgentModuleFactory; CREATE2 factory a multi-sig Safe uses to deploy its own AgentModule in the delegation ceremony. Sepolia only. */
|
package/dist/deployments.js
CHANGED
|
@@ -63,7 +63,6 @@ var SEPOLIA_DEPLOYMENT = {
|
|
|
63
63
|
PositionDelegateRegistry: "0x482369De283622E7b05731875ec137d4E3D208F9",
|
|
64
64
|
FeeRecipientRegistry: "0x95795F8403DDb629E8527B2934C4e71f5fC0C374",
|
|
65
65
|
BitcoinWithdrawalAddressRegistry: "0x6376D392097F0A81e51BD83960A97EA20eaf1dbe",
|
|
66
|
-
CarryAgentRegistry: "0x5595CB538D44E6Cf179D20364fD631D0477e69f7",
|
|
67
66
|
AgentDelegationRegistry: "0x6AE7fc6bE0925126b9D25b1B7Ce5AD5d127ec025",
|
|
68
67
|
DHAgentDelegate: "0xa5A14489ae883960df6E1463A41a47aBE9Ecc5AF",
|
|
69
68
|
AgentModuleFactory: "0x1Fd3aCa2C030Cf77ce28Af9694D3Bb3034ACa2E5"
|
|
@@ -333,8 +332,6 @@ var SEPOLIA_DEPLOYMENT = {
|
|
|
333
332
|
OPERATION_AUTHORIZATION_REGISTRY_IMPL: "0xe0D981B60351f0f8fFDA2b50C8180Fb37CeF3883",
|
|
334
333
|
BITCOIN_WITHDRAWAL_ADDRESS_REGISTRY: "0x6376D392097F0A81e51BD83960A97EA20eaf1dbe",
|
|
335
334
|
BITCOIN_WITHDRAWAL_ADDRESS_REGISTRY_IMPL: "0x76E0a2c9d89562fD7c50b5f554d7fa25957e39Db",
|
|
336
|
-
CARRY_AGENT_REGISTRY: "0x5595CB538D44E6Cf179D20364fD631D0477e69f7",
|
|
337
|
-
CARRY_AGENT_REGISTRY_IMPL: "0x1b11a3D5e46F3672E643c997f0d569DFf0b64a01",
|
|
338
335
|
AGENT_DELEGATION_REGISTRY: "0x6AE7fc6bE0925126b9D25b1B7Ce5AD5d127ec025",
|
|
339
336
|
AGENT_DELEGATION_REGISTRY_IMPL: "0xE931E4b9ceF2A48Ac7D57192da4B523756cFC310",
|
|
340
337
|
DH_AGENT_DELEGATE: "0xa5A14489ae883960df6E1463A41a47aBE9Ecc5AF"
|
|
@@ -366,7 +363,6 @@ var SEPOLIA_CONTRACTS = {
|
|
|
366
363
|
PositionDelegateRegistry: "0x482369De283622E7b05731875ec137d4E3D208F9",
|
|
367
364
|
FeeRecipientRegistry: "0x95795F8403DDb629E8527B2934C4e71f5fC0C374",
|
|
368
365
|
BitcoinWithdrawalAddressRegistry: "0x6376D392097F0A81e51BD83960A97EA20eaf1dbe",
|
|
369
|
-
CarryAgentRegistry: "0x5595CB538D44E6Cf179D20364fD631D0477e69f7",
|
|
370
366
|
AgentDelegationRegistry: "0x6AE7fc6bE0925126b9D25b1B7Ce5AD5d127ec025",
|
|
371
367
|
DHAgentDelegate: "0xa5A14489ae883960df6E1463A41a47aBE9Ecc5AF",
|
|
372
368
|
AgentModuleFactory: "0x1Fd3aCa2C030Cf77ce28Af9694D3Bb3034ACa2E5"
|
package/dist/deployments.mjs
CHANGED
|
@@ -30,7 +30,6 @@ var SEPOLIA_DEPLOYMENT = {
|
|
|
30
30
|
PositionDelegateRegistry: "0x482369De283622E7b05731875ec137d4E3D208F9",
|
|
31
31
|
FeeRecipientRegistry: "0x95795F8403DDb629E8527B2934C4e71f5fC0C374",
|
|
32
32
|
BitcoinWithdrawalAddressRegistry: "0x6376D392097F0A81e51BD83960A97EA20eaf1dbe",
|
|
33
|
-
CarryAgentRegistry: "0x5595CB538D44E6Cf179D20364fD631D0477e69f7",
|
|
34
33
|
AgentDelegationRegistry: "0x6AE7fc6bE0925126b9D25b1B7Ce5AD5d127ec025",
|
|
35
34
|
DHAgentDelegate: "0xa5A14489ae883960df6E1463A41a47aBE9Ecc5AF",
|
|
36
35
|
AgentModuleFactory: "0x1Fd3aCa2C030Cf77ce28Af9694D3Bb3034ACa2E5"
|
|
@@ -300,8 +299,6 @@ var SEPOLIA_DEPLOYMENT = {
|
|
|
300
299
|
OPERATION_AUTHORIZATION_REGISTRY_IMPL: "0xe0D981B60351f0f8fFDA2b50C8180Fb37CeF3883",
|
|
301
300
|
BITCOIN_WITHDRAWAL_ADDRESS_REGISTRY: "0x6376D392097F0A81e51BD83960A97EA20eaf1dbe",
|
|
302
301
|
BITCOIN_WITHDRAWAL_ADDRESS_REGISTRY_IMPL: "0x76E0a2c9d89562fD7c50b5f554d7fa25957e39Db",
|
|
303
|
-
CARRY_AGENT_REGISTRY: "0x5595CB538D44E6Cf179D20364fD631D0477e69f7",
|
|
304
|
-
CARRY_AGENT_REGISTRY_IMPL: "0x1b11a3D5e46F3672E643c997f0d569DFf0b64a01",
|
|
305
302
|
AGENT_DELEGATION_REGISTRY: "0x6AE7fc6bE0925126b9D25b1B7Ce5AD5d127ec025",
|
|
306
303
|
AGENT_DELEGATION_REGISTRY_IMPL: "0xE931E4b9ceF2A48Ac7D57192da4B523756cFC310",
|
|
307
304
|
DH_AGENT_DELEGATE: "0xa5A14489ae883960df6E1463A41a47aBE9Ecc5AF"
|
|
@@ -333,7 +330,6 @@ var SEPOLIA_CONTRACTS = {
|
|
|
333
330
|
PositionDelegateRegistry: "0x482369De283622E7b05731875ec137d4E3D208F9",
|
|
334
331
|
FeeRecipientRegistry: "0x95795F8403DDb629E8527B2934C4e71f5fC0C374",
|
|
335
332
|
BitcoinWithdrawalAddressRegistry: "0x6376D392097F0A81e51BD83960A97EA20eaf1dbe",
|
|
336
|
-
CarryAgentRegistry: "0x5595CB538D44E6Cf179D20364fD631D0477e69f7",
|
|
337
333
|
AgentDelegationRegistry: "0x6AE7fc6bE0925126b9D25b1B7Ce5AD5d127ec025",
|
|
338
334
|
DHAgentDelegate: "0xa5A14489ae883960df6E1463A41a47aBE9Ecc5AF",
|
|
339
335
|
AgentModuleFactory: "0x1Fd3aCa2C030Cf77ce28Af9694D3Bb3034ACa2E5"
|