New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

defi-kit

Package Overview
Dependencies
Maintainers
0
Versions
112
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

defi-kit - npm Package Compare versions

Comparing version

to
2.12.0

dist/chunk-QAHJ3Z5K.mjs

148

dist/arb1.d.ts

@@ -1,6 +0,140 @@

import { A as Arb1Token, T as Target, a as Annotation, C as ContractInput } from './schema-BaKdcX0j.js';
export { b as allow, c as schema } from './schema-BaKdcX0j.js';
import { A as Arb1Token, a as Arb1Pool, b as Arb1Token$1, c as Arb1Pool$1, d as Arb1Token$2, T as Target, e as Annotation, C as ContractInput } from './types-BWsdyfBp.js';
import * as zod from 'zod';
import * as zodiac_roles_sdk__ from 'zodiac-roles-sdk/.';
import { C as CircleChain } from './types-Vxwz8WaS.js';
import './types-CZa5BTMK.js';
import 'zodiac-roles-sdk';
declare const allow: {
circle_v1: {
bridge: (args_0: {
targets: (CircleChain["chain"] | CircleChain["description"])[];
recipient: `0x${string}`;
}) => Promise<zodiac_roles_sdk__.PermissionSet>;
receive: (args_0: {
targets: (CircleChain["chain"] | CircleChain["description"])[];
recipient: `0x${string}`;
sender: `0x${string}`;
}) => Promise<zodiac_roles_sdk__.PermissionSet>;
};
aave_v3: {
deposit: (args_0: {
targets: ("ETH" | Arb1Token["symbol"] | Arb1Token["token"])[];
}) => Promise<zodiac_roles_sdk__.PermissionSet>;
borrow: (args_0: {
targets: ("ETH" | Arb1Token["symbol"] | Arb1Token["token"])[];
}) => Promise<zodiac_roles_sdk__.PermissionSet>;
};
aura: {
deposit: (args_0: {
targets: (Arb1Pool["name"] | Arb1Pool["bpt"] | Arb1Pool["id"])[];
tokens?: (Arb1Token$1["address"] | Arb1Token$1["symbol"])[];
}) => Promise<zodiac_roles_sdk__.PermissionSet>;
};
balancer: {
deposit: (args_0: {
targets: (Arb1Pool$1["name"] | Arb1Pool$1["bpt"] | Arb1Pool$1["id"])[];
tokens?: (Arb1Token$2["address"] | Arb1Token$2["symbol"])[];
}) => Promise<zodiac_roles_sdk__.PermissionSet>;
stake: (options: {
targets: (Arb1Pool$1["name"] | Arb1Pool$1["bpt"] | Arb1Pool$1["id"])[];
}) => Promise<zodiac_roles_sdk__.PermissionSet>;
};
cowswap: {
swap: (options: {
sell: (`0x${string}` | "ETH")[];
buy?: (`0x${string}` | "ETH")[];
feeAmountBp?: number;
}) => Promise<zodiac_roles_sdk__.PermissionSet>;
};
};
declare const schema: {
circle_v1: {
bridge: zod.ZodObject<{
targets: zod.ZodArray<zod.ZodEnum<[string, string, ...string[]]>, "many">;
recipient: zod.ZodString;
}, "strip", zod.ZodTypeAny, {
targets: string[];
recipient: string;
}, {
targets: string[];
recipient: string;
}>;
receive: zod.ZodObject<{
targets: zod.ZodArray<zod.ZodEnum<[string, string, ...string[]]>, "many">;
recipient: zod.ZodString;
sender: zod.ZodString;
}, "strip", zod.ZodTypeAny, {
targets: string[];
recipient: string;
sender: string;
}, {
targets: string[];
recipient: string;
sender: string;
}>;
};
aave_v3: {
deposit: zod.ZodObject<{
targets: zod.ZodArray<zod.ZodEnum<[string, string, ...string[]]>, "many">;
}, "strip", zod.ZodTypeAny, {
targets: string[];
}, {
targets: string[];
}>;
borrow: zod.ZodObject<{
targets: zod.ZodArray<zod.ZodEnum<[string, string, ...string[]]>, "many">;
}, "strip", zod.ZodTypeAny, {
targets: string[];
}, {
targets: string[];
}>;
};
aura: {
deposit: zod.ZodObject<{
targets: zod.ZodArray<zod.ZodEnum<[string, string, ...string[]]>, "many">;
tokens: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<[string, string, ...string[]]>, "many">>;
}, "strip", zod.ZodTypeAny, {
targets: string[];
tokens?: string[] | undefined;
}, {
targets: string[];
tokens?: string[] | undefined;
}>;
};
balancer: {
deposit: zod.ZodObject<{
targets: zod.ZodArray<zod.ZodEnum<[string, string, ...string[]]>, "many">;
tokens: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<[string, string, ...string[]]>, "many">>;
}, "strip", zod.ZodTypeAny, {
targets: string[];
tokens?: string[] | undefined;
}, {
targets: string[];
tokens?: string[] | undefined;
}>;
stake: zod.ZodObject<{
targets: zod.ZodArray<zod.ZodEnum<[string, string, ...string[]]>, "many">;
}, "strip", zod.ZodTypeAny, {
targets: string[];
}, {
targets: string[];
}>;
};
cowswap: {
swap: zod.ZodObject<{
sell: zod.ZodArray<zod.ZodUnion<[zod.ZodEffects<zod.ZodString, `0x${string}`, string>, zod.ZodLiteral<"ETH" | "XDAI">]>, "many">;
buy: zod.ZodOptional<zod.ZodArray<zod.ZodUnion<[zod.ZodEffects<zod.ZodString, `0x${string}`, string>, zod.ZodLiteral<"ETH" | "XDAI">]>, "many">>;
feeAmountBp: zod.ZodOptional<zod.ZodNumber>;
}, "strip", zod.ZodTypeAny, {
sell: ("ETH" | `0x${string}` | "XDAI")[];
buy?: ("ETH" | `0x${string}` | "XDAI")[] | undefined;
feeAmountBp?: number | undefined;
}, {
sell: string[];
buy?: string[] | undefined;
feeAmountBp?: number | undefined;
}>;
};
};
declare const repertoire: {

@@ -114,7 +248,7 @@ allow: {

}, "strip", zod.ZodTypeAny, {
bpt: string;
exitTokenAddress: string;
}, {
bpt: string;
}, {
exitTokenAddress: string;
bpt: string;
}>;

@@ -132,7 +266,7 @@ unstake_withdraw_proportional: zod.ZodObject<{

}, "strip", zod.ZodTypeAny, {
gauge: string;
exitTokenAddress: string;
}, {
gauge: string;
}, {
exitTokenAddress: string;
gauge: string;
}>;

@@ -181,2 +315,2 @@ };

export { apply, exportToSafeTransactionBuilder, repertoire };
export { allow, apply, exportToSafeTransactionBuilder, repertoire, schema };

@@ -1,6 +0,118 @@

import { B as BaseToken, T as Target, a as Annotation, C as ContractInput } from './schema-BaKdcX0j.js';
export { d as allow, e as schema } from './schema-BaKdcX0j.js';
import { B as BaseToken, f as BasePool, g as BaseToken$1, h as BasePool$1, i as BaseToken$2, T as Target, e as Annotation, C as ContractInput } from './types-BWsdyfBp.js';
import * as zod from 'zod';
import * as zodiac_roles_sdk__ from 'zodiac-roles-sdk/.';
import { C as CircleChain } from './types-Vxwz8WaS.js';
import './types-CZa5BTMK.js';
import 'zodiac-roles-sdk';
declare const allow: {
circle_v1: {
bridge: (args_0: {
targets: (CircleChain["chain"] | CircleChain["description"])[];
recipient: `0x${string}`;
}) => Promise<zodiac_roles_sdk__.PermissionSet>;
receive: (args_0: {
targets: (CircleChain["chain"] | CircleChain["description"])[];
recipient: `0x${string}`;
sender: `0x${string}`;
}) => Promise<zodiac_roles_sdk__.PermissionSet>;
};
aave_v3: {
deposit: (args_0: {
targets: ("ETH" | BaseToken["symbol"] | BaseToken["token"])[];
}) => Promise<zodiac_roles_sdk__.PermissionSet>;
borrow: (args_0: {
targets: ("ETH" | BaseToken["symbol"] | BaseToken["token"])[];
}) => Promise<zodiac_roles_sdk__.PermissionSet>;
};
aura: {
deposit: (args_0: {
targets: (BasePool["name"] | BasePool["bpt"] | BasePool["id"])[];
tokens?: (BaseToken$1["address"] | BaseToken$1["symbol"])[];
}) => Promise<zodiac_roles_sdk__.PermissionSet>;
};
balancer: {
deposit: (args_0: {
targets: (BasePool$1["name"] | BasePool$1["bpt"] | BasePool$1["id"])[];
tokens?: (BaseToken$2["address"] | BaseToken$2["symbol"])[];
}) => Promise<zodiac_roles_sdk__.PermissionSet>;
stake: (options: {
targets: (BasePool$1["name"] | BasePool$1["bpt"] | BasePool$1["id"])[];
}) => Promise<zodiac_roles_sdk__.PermissionSet>;
};
};
declare const schema: {
circle_v1: {
bridge: zod.ZodObject<{
targets: zod.ZodArray<zod.ZodEnum<[string, string, ...string[]]>, "many">;
recipient: zod.ZodString;
}, "strip", zod.ZodTypeAny, {
targets: string[];
recipient: string;
}, {
targets: string[];
recipient: string;
}>;
receive: zod.ZodObject<{
targets: zod.ZodArray<zod.ZodEnum<[string, string, ...string[]]>, "many">;
recipient: zod.ZodString;
sender: zod.ZodString;
}, "strip", zod.ZodTypeAny, {
targets: string[];
recipient: string;
sender: string;
}, {
targets: string[];
recipient: string;
sender: string;
}>;
};
aave_v3: {
deposit: zod.ZodObject<{
targets: zod.ZodArray<zod.ZodEnum<[string, string, ...string[]]>, "many">;
}, "strip", zod.ZodTypeAny, {
targets: string[];
}, {
targets: string[];
}>;
borrow: zod.ZodObject<{
targets: zod.ZodArray<zod.ZodEnum<[string, string, ...string[]]>, "many">;
}, "strip", zod.ZodTypeAny, {
targets: string[];
}, {
targets: string[];
}>;
};
aura: {
deposit: zod.ZodObject<{
targets: zod.ZodArray<zod.ZodEnum<[string, string, ...string[]]>, "many">;
tokens: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<[string, string, ...string[]]>, "many">>;
}, "strip", zod.ZodTypeAny, {
targets: string[];
tokens?: string[] | undefined;
}, {
targets: string[];
tokens?: string[] | undefined;
}>;
};
balancer: {
deposit: zod.ZodObject<{
targets: zod.ZodArray<zod.ZodEnum<[string, string, ...string[]]>, "many">;
tokens: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<[string, string, ...string[]]>, "many">>;
}, "strip", zod.ZodTypeAny, {
targets: string[];
tokens?: string[] | undefined;
}, {
targets: string[];
tokens?: string[] | undefined;
}>;
stake: zod.ZodObject<{
targets: zod.ZodArray<zod.ZodEnum<[string, string, ...string[]]>, "many">;
}, "strip", zod.ZodTypeAny, {
targets: string[];
}, {
targets: string[];
}>;
};
};
declare const repertoire: {

@@ -114,7 +226,7 @@ allow: {

}, "strip", zod.ZodTypeAny, {
bpt: string;
exitTokenAddress: string;
}, {
bpt: string;
}, {
exitTokenAddress: string;
bpt: string;
}>;

@@ -132,7 +244,7 @@ unstake_withdraw_proportional: zod.ZodObject<{

}, "strip", zod.ZodTypeAny, {
gauge: string;
exitTokenAddress: string;
}, {
gauge: string;
}, {
exitTokenAddress: string;
gauge: string;
}>;

@@ -181,2 +293,2 @@ };

export { apply, exportToSafeTransactionBuilder, repertoire };
export { allow, apply, exportToSafeTransactionBuilder, repertoire, schema };

@@ -1,6 +0,140 @@

import { G as GnoToken, T as Target, a as Annotation, C as ContractInput } from './schema-BaKdcX0j.js';
export { i as allow, j as schema } from './schema-BaKdcX0j.js';
import { G as GnoToken, o as GnoPool, p as GnoToken$1, q as GnoPool$1, r as GnoToken$2, T as Target, e as Annotation, C as ContractInput } from './types-BWsdyfBp.js';
import * as zod from 'zod';
import { G as GnoToken$3, b as GnoVault } from './types-Def01Dh4.js';
import * as zodiac_roles_sdk__ from 'zodiac-roles-sdk/.';
declare const allow: {
aave_v3: {
deposit: (args_0: {
targets: ("XDAI" | GnoToken["symbol"] | GnoToken["token"])[];
}) => Promise<zodiac_roles_sdk__.PermissionSet>;
borrow: (args_0: {
targets: ("XDAI" | GnoToken["symbol"] | GnoToken["token"])[];
}) => Promise<zodiac_roles_sdk__.PermissionSet>;
};
aura: {
deposit: (args_0: {
targets: (GnoPool["name"] | GnoPool["bpt"] | GnoPool["id"])[];
tokens?: (GnoToken$1["address"] | GnoToken$1["symbol"])[];
}) => Promise<zodiac_roles_sdk__.PermissionSet>;
};
balancer: {
deposit: (args_0: {
targets: (GnoPool$1["name"] | GnoPool$1["bpt"] | GnoPool$1["id"])[];
tokens?: (GnoToken$2["address"] | GnoToken$2["symbol"])[];
}) => Promise<zodiac_roles_sdk__.PermissionSet>;
stake: (options: {
targets: (GnoPool$1["name"] | GnoPool$1["bpt"] | GnoPool$1["id"])[];
}) => Promise<zodiac_roles_sdk__.PermissionSet>;
};
cowswap: {
swap: (options: {
sell: (`0x${string}` | "XDAI")[];
buy?: (`0x${string}` | "XDAI")[];
feeAmountBp?: number;
}) => Promise<zodiac_roles_sdk__.PermissionSet>;
};
spark: {
deposit: (args_0: {
targets: ("DSR_sDAI" | "XDAI" | GnoToken$3["symbol"] | GnoToken$3["token"])[];
}) => Promise<zodiac_roles_sdk__.PermissionSet>;
borrow: (args_0: {
targets: ("XDAI" | GnoToken$3["symbol"] | GnoToken$3["token"])[];
}) => Promise<zodiac_roles_sdk__.PermissionSet>;
};
stakewise_v3: {
stake: (options: {
targets: (GnoVault["name"] | GnoVault["id"])[];
}) => Promise<zodiac_roles_sdk__.PermissionSet>;
};
};
declare const schema: {
aave_v3: {
deposit: zod.ZodObject<{
targets: zod.ZodArray<zod.ZodEnum<[string, string, ...string[]]>, "many">;
}, "strip", zod.ZodTypeAny, {
targets: string[];
}, {
targets: string[];
}>;
borrow: zod.ZodObject<{
targets: zod.ZodArray<zod.ZodEnum<[string, string, ...string[]]>, "many">;
}, "strip", zod.ZodTypeAny, {
targets: string[];
}, {
targets: string[];
}>;
};
aura: {
deposit: zod.ZodObject<{
targets: zod.ZodArray<zod.ZodEnum<[string, string, ...string[]]>, "many">;
tokens: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<[string, string, ...string[]]>, "many">>;
}, "strip", zod.ZodTypeAny, {
targets: string[];
tokens?: string[] | undefined;
}, {
targets: string[];
tokens?: string[] | undefined;
}>;
};
balancer: {
deposit: zod.ZodObject<{
targets: zod.ZodArray<zod.ZodEnum<[string, string, ...string[]]>, "many">;
tokens: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<[string, string, ...string[]]>, "many">>;
}, "strip", zod.ZodTypeAny, {
targets: string[];
tokens?: string[] | undefined;
}, {
targets: string[];
tokens?: string[] | undefined;
}>;
stake: zod.ZodObject<{
targets: zod.ZodArray<zod.ZodEnum<[string, string, ...string[]]>, "many">;
}, "strip", zod.ZodTypeAny, {
targets: string[];
}, {
targets: string[];
}>;
};
cowswap: {
swap: zod.ZodObject<{
sell: zod.ZodArray<zod.ZodUnion<[zod.ZodEffects<zod.ZodString, `0x${string}`, string>, zod.ZodLiteral<"ETH" | "XDAI">]>, "many">;
buy: zod.ZodOptional<zod.ZodArray<zod.ZodUnion<[zod.ZodEffects<zod.ZodString, `0x${string}`, string>, zod.ZodLiteral<"ETH" | "XDAI">]>, "many">>;
feeAmountBp: zod.ZodOptional<zod.ZodNumber>;
}, "strip", zod.ZodTypeAny, {
sell: ("ETH" | `0x${string}` | "XDAI")[];
buy?: ("ETH" | `0x${string}` | "XDAI")[] | undefined;
feeAmountBp?: number | undefined;
}, {
sell: string[];
buy?: string[] | undefined;
feeAmountBp?: number | undefined;
}>;
};
spark: {
deposit: zod.ZodObject<{
targets: zod.ZodArray<zod.ZodEnum<[string, string, ...string[]]>, "many">;
}, "strip", zod.ZodTypeAny, {
targets: string[];
}, {
targets: string[];
}>;
borrow: zod.ZodObject<{
targets: zod.ZodArray<zod.ZodEnum<[string, string, ...string[]]>, "many">;
}, "strip", zod.ZodTypeAny, {
targets: string[];
}, {
targets: string[];
}>;
};
stakewise_v3: {
stake: zod.ZodObject<{
targets: zod.ZodArray<zod.ZodEnum<[string, string, ...string[]]>, "many">;
}, "strip", zod.ZodTypeAny, {
targets: string[];
}, {
targets: string[];
}>;
};
};
declare const repertoire: {

@@ -114,7 +248,7 @@ allow: {

}, "strip", zod.ZodTypeAny, {
bpt: string;
exitTokenAddress: string;
}, {
bpt: string;
}, {
exitTokenAddress: string;
bpt: string;
}>;

@@ -132,7 +266,7 @@ unstake_withdraw_proportional: zod.ZodObject<{

}, "strip", zod.ZodTypeAny, {
gauge: string;
exitTokenAddress: string;
}, {
gauge: string;
}, {
exitTokenAddress: string;
gauge: string;
}>;

@@ -181,2 +315,2 @@ };

export { apply, exportToSafeTransactionBuilder, repertoire };
export { allow, apply, exportToSafeTransactionBuilder, repertoire, schema };

69

dist/index.d.ts

@@ -1,3 +0,4 @@

import { z, SomeZodObject } from 'zod';
import { Permission } from 'zodiac-roles-sdk';
import { z } from 'zod';
export { a as ActionName, A as AllowFunction, C as Chain, P as ProtocolActions, c as ProtocolSchemas, b as Repertoire, R as RepertoireActions, d as RepertoireSchemas } from './types-CZa5BTMK.js';
import 'zodiac-roles-sdk';

@@ -16,37 +17,2 @@ declare class NotFoundError extends Error {

declare enum Chain {
eth = "eth",
gno = "gno",
arb1 = "arb1",
oeth = "oeth",
base = "base"
}
type AllowFunction = (options: any) => Promise<Permission[]>;
type ProtocolActions = {
deposit?: AllowFunction;
borrow?: AllowFunction;
stake?: AllowFunction;
claim?: AllowFunction;
swap?: AllowFunction;
lock?: AllowFunction;
delegate?: AllowFunction;
};
type ActionName = keyof ProtocolActions;
type RepertoireActions = {
[name: string]: AllowFunction;
};
type Repertoire = {
[protocol: string]: RepertoireActions;
};
type ProtocolSchemas = {
[protocol: string]: {
[key in ActionName]?: SomeZodObject;
};
};
type RepertoireSchemas = {
[protocol: string]: {
[name: string]: SomeZodObject;
};
};
declare const contracts: {

@@ -112,2 +78,6 @@ readonly mainnet: {

};
readonly circleV1: {
readonly tokenMessenger: "0xBd3fa81B58Ba92a82136038B25aDec7066af3155";
readonly messageTransmitter: "0x0a992d191DEeC32aFe36203Ad87D7d289a738F81";
};
readonly compoundV2: {

@@ -209,7 +179,5 @@ readonly comptroller: "0x3d9819210a31b4961b30ef54be2aed79b9c9cd3b";

readonly optDaiBridge: "0x10E6593CDda8c58a1d0f14C5164B376352a55f2F";
readonly circleTokenMessenger: "0xBd3fa81B58Ba92a82136038B25aDec7066af3155";
readonly optGateway: "0x99C9fc46f92E8a1c0deC1b1747d010903E884bE1";
readonly arbDaiGateway: "0xD3B5b60020504bc3489D6949d545893982BA3011";
readonly arbErc20Gateway: "0xa3A7B6F88361F48403514059F1F16C8E78d60EeC";
readonly circleMessageTransmitter: "0x0a992d191DEeC32aFe36203Ad87D7d289a738F81";
readonly l1HopCctp: "0x7e77461CA2a9d82d26FD5e0Da2243BF72eA45747";

@@ -286,2 +254,6 @@ readonly hopDaiBridge: "0x3d4Cc8A61c7528Fd86C55cfe061a78dCBA48EDd1";

};
readonly circleV1: {
readonly tokenMessenger: "0x19330d10D9Cc8751218eaf51E8885D058642E08A";
readonly messageTransmitter: "0xC30362313FBBA5cf9163F0bb16a0e01f01A896ca";
};
readonly compoundV3: {

@@ -295,5 +267,4 @@ readonly cUsdcV3: "0x9c4ec768c28520B50860ea7a15bd7213a9fF58bf";

readonly weth: "0x82af49447d8a07e3bd95bd0d56f35241523fbab1";
readonly usdc: "0xaf88d065e77c8cC2239327C5EDb3A432268e5831";
readonly gatewayRouter: "0x5288c571Fd7aD117beA99bF60FE0846C4E84F933";
readonly circleTokenMessenger: "0x19330d10D9Cc8751218eaf51E8885D058642E08A";
readonly circleMessageTransmitter: "0xC30362313FBBA5cf9163F0bb16a0e01f01A896ca";
readonly l2HopCctp: "0x6504BFcaB789c35325cA4329f1f41FaC340bf982";

@@ -322,2 +293,6 @@ readonly hopDaiWrapper: "0xe7F40BF16AB09f4a6906Ac2CAA4094aD2dA48Cc2";

};
readonly circleV1: {
readonly tokenMessenger: "0x2B4069517957735bE00ceE0fadAE88a26365528f";
readonly messageTransmitter: "0x4D41f22c5a0e5c74090899E5a8Fb597a8842b3e8";
};
readonly compoundV3: {

@@ -328,6 +303,5 @@ readonly cUsdcV3: "0x2e44e174f7D53F0212823acC11C01A11d58c5bCB";

readonly weth: "0x4200000000000000000000000000000000000006";
readonly circleTokenMessenger: "0x2B4069517957735bE00ceE0fadAE88a26365528f";
readonly usdc: "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85";
readonly daiTokenBridge: "0x467194771dAe2967Aef3ECbEDD3Bf9a310C76C65";
readonly optimismBridge: "0x4200000000000000000000000000000000000010";
readonly circleMessageTransmitter: "0x4D41f22c5a0e5c74090899E5a8Fb597a8842b3e8";
readonly l2HopCctp: "0x469147af8Bde580232BE9DC84Bb4EC84d348De24";

@@ -356,2 +330,6 @@ readonly hopDaiWrapper: "0xb3C68a491608952Cb1257FC9909a537a0173b63B";

};
readonly circleV1: {
readonly tokenMessenger: "0x1682Ae6375C4E4A97e4B583BC394c861A46D8962";
readonly messageTransmitter: "0xAD09780d193884d503182aD4588450C416D6F9D4";
};
readonly compoundV3: {

@@ -362,4 +340,3 @@ readonly cUsdcV3: "0xb125E6687d4313864e53df431d5425969c15Eb2F";

readonly weth: "0x4200000000000000000000000000000000000006";
readonly circleTokenMessenger: "0x1682Ae6375C4E4A97e4B583BC394c861A46D8962";
readonly circleMessageTransmitter: "0xAD09780d193884d503182aD4588450C416D6F9D4";
readonly usdc: "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913";
readonly l2HopCctp: "0xe7F40BF16AB09f4a6906Ac2CAA4094aD2dA48Cc2";

@@ -369,2 +346,2 @@ };

export { type ActionName, type AllowFunction, Chain, MintPaused, NotFoundError, type ProtocolActions, type ProtocolSchemas, type Repertoire, type RepertoireActions, type RepertoireSchemas, contracts, decodeBytes32String, encodeBytes32String, zx };
export { MintPaused, NotFoundError, contracts, decodeBytes32String, encodeBytes32String, zx };

@@ -135,2 +135,6 @@ "use strict";

},
circleV1: {
tokenMessenger: "0xBd3fa81B58Ba92a82136038B25aDec7066af3155",
messageTransmitter: "0x0a992d191DEeC32aFe36203Ad87D7d289a738F81"
},
compoundV2: {

@@ -236,7 +240,5 @@ comptroller: "0x3d9819210a31b4961b30ef54be2aed79b9c9cd3b",

optDaiBridge: "0x10E6593CDda8c58a1d0f14C5164B376352a55f2F",
circleTokenMessenger: "0xBd3fa81B58Ba92a82136038B25aDec7066af3155",
optGateway: "0x99C9fc46f92E8a1c0deC1b1747d010903E884bE1",
arbDaiGateway: "0xD3B5b60020504bc3489D6949d545893982BA3011",
arbErc20Gateway: "0xa3A7B6F88361F48403514059F1F16C8E78d60EeC",
circleMessageTransmitter: "0x0a992d191DEeC32aFe36203Ad87D7d289a738F81",
l1HopCctp: "0x7e77461CA2a9d82d26FD5e0Da2243BF72eA45747",

@@ -314,2 +316,6 @@ hopDaiBridge: "0x3d4Cc8A61c7528Fd86C55cfe061a78dCBA48EDd1",

},
circleV1: {
tokenMessenger: "0x19330d10D9Cc8751218eaf51E8885D058642E08A",
messageTransmitter: "0xC30362313FBBA5cf9163F0bb16a0e01f01A896ca"
},
compoundV3: {

@@ -323,5 +329,4 @@ cUsdcV3: "0x9c4ec768c28520B50860ea7a15bd7213a9fF58bf",

weth: "0x82af49447d8a07e3bd95bd0d56f35241523fbab1",
usdc: "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
gatewayRouter: "0x5288c571Fd7aD117beA99bF60FE0846C4E84F933",
circleTokenMessenger: "0x19330d10D9Cc8751218eaf51E8885D058642E08A",
circleMessageTransmitter: "0xC30362313FBBA5cf9163F0bb16a0e01f01A896ca",
l2HopCctp: "0x6504BFcaB789c35325cA4329f1f41FaC340bf982",

@@ -350,2 +355,6 @@ hopDaiWrapper: "0xe7F40BF16AB09f4a6906Ac2CAA4094aD2dA48Cc2"

},
circleV1: {
tokenMessenger: "0x2B4069517957735bE00ceE0fadAE88a26365528f",
messageTransmitter: "0x4D41f22c5a0e5c74090899E5a8Fb597a8842b3e8"
},
compoundV3: {

@@ -356,6 +365,5 @@ cUsdcV3: "0x2e44e174f7D53F0212823acC11C01A11d58c5bCB",

weth: "0x4200000000000000000000000000000000000006",
circleTokenMessenger: "0x2B4069517957735bE00ceE0fadAE88a26365528f",
usdc: "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85",
daiTokenBridge: "0x467194771dAe2967Aef3ECbEDD3Bf9a310C76C65",
optimismBridge: "0x4200000000000000000000000000000000000010",
circleMessageTransmitter: "0x4D41f22c5a0e5c74090899E5a8Fb597a8842b3e8",
l2HopCctp: "0x469147af8Bde580232BE9DC84Bb4EC84d348De24",

@@ -384,2 +392,6 @@ hopDaiWrapper: "0xb3C68a491608952Cb1257FC9909a537a0173b63B"

},
circleV1: {
tokenMessenger: "0x1682Ae6375C4E4A97e4B583BC394c861A46D8962",
messageTransmitter: "0xAD09780d193884d503182aD4588450C416D6F9D4"
},
compoundV3: {

@@ -390,4 +402,3 @@ cUsdcV3: "0xb125E6687d4313864e53df431d5425969c15Eb2F",

weth: "0x4200000000000000000000000000000000000006",
circleTokenMessenger: "0x1682Ae6375C4E4A97e4B583BC394c861A46D8962",
circleMessageTransmitter: "0xAD09780d193884d503182aD4588450C416D6F9D4",
usdc: "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
l2HopCctp: "0xe7F40BF16AB09f4a6906Ac2CAA4094aD2dA48Cc2"

@@ -394,0 +405,0 @@ }

@@ -1,6 +0,118 @@

import { O as OethToken, T as Target, a as Annotation, C as ContractInput } from './schema-BaKdcX0j.js';
export { o as allow, k as schema } from './schema-BaKdcX0j.js';
import { O as OethToken, s as OethPool, t as OethToken$1, u as OethPool$1, v as OethToken$2, T as Target, e as Annotation, C as ContractInput } from './types-BWsdyfBp.js';
import * as zod from 'zod';
import * as zodiac_roles_sdk__ from 'zodiac-roles-sdk/.';
import { C as CircleChain } from './types-Vxwz8WaS.js';
import './types-CZa5BTMK.js';
import 'zodiac-roles-sdk';
declare const allow: {
circle_v1: {
bridge: (args_0: {
targets: (CircleChain["chain"] | CircleChain["description"])[];
recipient: `0x${string}`;
}) => Promise<zodiac_roles_sdk__.PermissionSet>;
receive: (args_0: {
targets: (CircleChain["chain"] | CircleChain["description"])[];
recipient: `0x${string}`;
sender: `0x${string}`;
}) => Promise<zodiac_roles_sdk__.PermissionSet>;
};
aave_v3: {
deposit: (args_0: {
targets: ("ETH" | OethToken["symbol"] | OethToken["token"])[];
}) => Promise<zodiac_roles_sdk__.PermissionSet>;
borrow: (args_0: {
targets: ("ETH" | OethToken["symbol"] | OethToken["token"])[];
}) => Promise<zodiac_roles_sdk__.PermissionSet>;
};
aura: {
deposit: (args_0: {
targets: (OethPool["name"] | OethPool["bpt"] | OethPool["id"])[];
tokens?: (OethToken$1["address"] | OethToken$1["symbol"])[];
}) => Promise<zodiac_roles_sdk__.PermissionSet>;
};
balancer: {
deposit: (args_0: {
targets: (OethPool$1["name"] | OethPool$1["bpt"] | OethPool$1["id"])[];
tokens?: (OethToken$2["address"] | OethToken$2["symbol"])[];
}) => Promise<zodiac_roles_sdk__.PermissionSet>;
stake: (options: {
targets: (OethPool$1["name"] | OethPool$1["bpt"] | OethPool$1["id"])[];
}) => Promise<zodiac_roles_sdk__.PermissionSet>;
};
};
declare const schema: {
circle_v1: {
bridge: zod.ZodObject<{
targets: zod.ZodArray<zod.ZodEnum<[string, string, ...string[]]>, "many">;
recipient: zod.ZodString;
}, "strip", zod.ZodTypeAny, {
targets: string[];
recipient: string;
}, {
targets: string[];
recipient: string;
}>;
receive: zod.ZodObject<{
targets: zod.ZodArray<zod.ZodEnum<[string, string, ...string[]]>, "many">;
recipient: zod.ZodString;
sender: zod.ZodString;
}, "strip", zod.ZodTypeAny, {
targets: string[];
recipient: string;
sender: string;
}, {
targets: string[];
recipient: string;
sender: string;
}>;
};
aave_v3: {
deposit: zod.ZodObject<{
targets: zod.ZodArray<zod.ZodEnum<[string, string, ...string[]]>, "many">;
}, "strip", zod.ZodTypeAny, {
targets: string[];
}, {
targets: string[];
}>;
borrow: zod.ZodObject<{
targets: zod.ZodArray<zod.ZodEnum<[string, string, ...string[]]>, "many">;
}, "strip", zod.ZodTypeAny, {
targets: string[];
}, {
targets: string[];
}>;
};
aura: {
deposit: zod.ZodObject<{
targets: zod.ZodArray<zod.ZodEnum<[string, string, ...string[]]>, "many">;
tokens: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<[string, string, ...string[]]>, "many">>;
}, "strip", zod.ZodTypeAny, {
targets: string[];
tokens?: string[] | undefined;
}, {
targets: string[];
tokens?: string[] | undefined;
}>;
};
balancer: {
deposit: zod.ZodObject<{
targets: zod.ZodArray<zod.ZodEnum<[string, string, ...string[]]>, "many">;
tokens: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<[string, string, ...string[]]>, "many">>;
}, "strip", zod.ZodTypeAny, {
targets: string[];
tokens?: string[] | undefined;
}, {
targets: string[];
tokens?: string[] | undefined;
}>;
stake: zod.ZodObject<{
targets: zod.ZodArray<zod.ZodEnum<[string, string, ...string[]]>, "many">;
}, "strip", zod.ZodTypeAny, {
targets: string[];
}, {
targets: string[];
}>;
};
};
declare const repertoire: {

@@ -114,7 +226,7 @@ allow: {

}, "strip", zod.ZodTypeAny, {
bpt: string;
exitTokenAddress: string;
}, {
bpt: string;
}, {
exitTokenAddress: string;
bpt: string;
}>;

@@ -132,7 +244,7 @@ unstake_withdraw_proportional: zod.ZodObject<{

}, "strip", zod.ZodTypeAny, {
gauge: string;
exitTokenAddress: string;
}, {
gauge: string;
}, {
exitTokenAddress: string;
gauge: string;
}>;

@@ -181,2 +293,2 @@ };

export { apply, exportToSafeTransactionBuilder, repertoire };
export { allow, apply, exportToSafeTransactionBuilder, repertoire, schema };
{
"name": "defi-kit",
"version": "2.11.5",
"version": "2.12.0",
"description": "Permissions for Zodiac Roles covering interactions with DeFi protocols",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet