@instadapp/avocado-base 0.0.0-dev.19925f5 → 0.0.0-dev.21292ef
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/.github/workflows/npm-publish-dev.yml +2 -5
- package/.vscode/settings.json +68 -0
- package/abi/avoFactoryProxy.json +109 -0
- package/abi/balanceResolver.json +110 -0
- package/abi/erc20.json +350 -0
- package/abi/forwarder.json +1435 -0
- package/abi/gaslessWallet.json +289 -0
- package/abi/multisigAgnosticForwarder.json +938 -0
- package/abi/multisigForwarder.json +697 -0
- package/app.vue +27 -0
- package/assets/images/icons/arrow-left.svg +5 -0
- package/assets/images/icons/arrow-right.svg +5 -0
- package/assets/images/icons/avocado.svg +4 -0
- package/assets/images/icons/bridge-2.svg +3 -0
- package/assets/images/icons/bridge.svg +7 -0
- package/assets/images/icons/calendar.svg +8 -0
- package/assets/images/icons/change-threshold.svg +4 -0
- package/assets/images/icons/check-circle.svg +4 -0
- package/assets/images/icons/check.svg +3 -0
- package/assets/images/icons/chevron-down.svg +4 -0
- package/assets/images/icons/clipboard.svg +7 -0
- package/assets/images/icons/clock-circle.svg +5 -0
- package/assets/images/icons/copy.svg +12 -0
- package/assets/images/icons/cross-transfer.svg +7 -0
- package/assets/images/icons/dapp.svg +4 -0
- package/assets/images/icons/deploy.svg +12 -0
- package/assets/images/icons/error-circle.svg +6 -0
- package/assets/images/icons/exclamation-circle.svg +13 -0
- package/assets/images/icons/exclamation-octagon.svg +13 -0
- package/assets/images/icons/exclamation-triangle.svg +5 -0
- package/assets/images/icons/external-link.svg +6 -0
- package/assets/images/icons/eye.svg +4 -0
- package/assets/images/icons/flowers.svg +8 -0
- package/assets/images/icons/gas-emoji.svg +193 -0
- package/assets/images/icons/gas.svg +14 -0
- package/assets/images/icons/gift.svg +153 -0
- package/assets/images/icons/globe.svg +110 -0
- package/assets/images/icons/hamburger.svg +6 -0
- package/assets/images/icons/hammer.svg +5 -0
- package/assets/images/icons/info-2.svg +12 -0
- package/assets/images/icons/instadapp-pro.svg +4 -0
- package/assets/images/icons/logout.svg +3 -0
- package/assets/images/icons/moon.svg +3 -0
- package/assets/images/icons/multi-send.svg +7 -0
- package/assets/images/icons/network.svg +13 -0
- package/assets/images/icons/options.svg +5 -0
- package/assets/images/icons/permit-sign.svg +11 -0
- package/assets/images/icons/plus-circle.svg +6 -0
- package/assets/images/icons/plus.svg +5 -0
- package/assets/images/icons/power-off-bg.svg +24 -0
- package/assets/images/icons/power-off.svg +19 -0
- package/assets/images/icons/power-on.svg +19 -0
- package/assets/images/icons/qr.svg +20 -0
- package/assets/images/icons/question-circle.svg +14 -0
- package/assets/images/icons/refresh.svg +6 -0
- package/assets/images/icons/reject-proposal.svg +6 -0
- package/assets/images/icons/search.svg +12 -0
- package/assets/images/icons/stars.svg +4 -0
- package/assets/images/icons/sun.svg +3 -0
- package/assets/images/icons/transfer.svg +5 -0
- package/assets/images/icons/trash-2.svg +8 -0
- package/assets/images/icons/upgrade.svg +4 -0
- package/assets/images/icons/wave.svg +214 -0
- package/assets/images/icons/x.svg +5 -0
- package/components/ActionLogo.vue +42 -0
- package/components/ActionMetadata.vue +88 -0
- package/components/Address.vue +74 -0
- package/components/AuthorityAvatar.vue +37 -0
- package/components/ChainLogo.vue +14 -423
- package/components/CopyClipboard.vue +42 -0
- package/components/metadata/Bridge.vue +59 -0
- package/components/metadata/CrossTransfer.vue +76 -0
- package/components/metadata/GasTopup.vue +39 -0
- package/components/metadata/Permit2.vue +42 -0
- package/components/metadata/Signers.vue +19 -0
- package/components/metadata/Swap.vue +66 -0
- package/components/metadata/Transfer.vue +48 -0
- package/components.d.ts +13 -0
- package/contracts/AvoFactoryProxy.ts +302 -0
- package/contracts/BalanceResolver.ts +321 -0
- package/contracts/Erc20.ts +526 -0
- package/contracts/Forwarder.ts +1644 -0
- package/contracts/GaslessWallet.ts +660 -0
- package/contracts/MultisigAgnosticForwarder.ts +1423 -0
- package/contracts/MultisigForwarder.ts +859 -0
- package/contracts/common.ts +46 -0
- package/contracts/factories/AvoFactoryProxy__factory.ts +181 -0
- package/contracts/factories/BalanceResolver__factory.ts +212 -0
- package/contracts/factories/Erc20__factory.ts +368 -0
- package/contracts/factories/Forwarder__factory.ts +1456 -0
- package/contracts/factories/GaslessWallet__factory.ts +499 -0
- package/contracts/factories/MultisigAgnosticForwarder__factory.ts +2135 -0
- package/contracts/factories/MultisigForwarder__factory.ts +721 -0
- package/contracts/factories/index.ts +10 -0
- package/contracts/index.ts +18 -0
- package/eslint.config.mjs +20 -0
- package/nuxt.config.ts +23 -2
- package/package.json +24 -8
- package/server/utils/index.ts +2 -0
- package/utils/avocado.ts +2 -0
- package/utils/bignumber.ts +51 -0
- package/utils/formatter.ts +94 -0
- package/utils/helper.ts +62 -0
- package/utils/metadata.ts +694 -0
- package/utils/network.ts +560 -91
- package/utils/services.ts +21 -0
- package/utils/utils.d.ts +146 -16
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
|
|
3
|
+
const props = defineProps<{
|
|
4
|
+
metadata: any;
|
|
5
|
+
chain_id: number | string
|
|
6
|
+
}>();
|
|
7
|
+
|
|
8
|
+
const tokens = inject<ITokenPrice[]>('tokens');
|
|
9
|
+
|
|
10
|
+
const token = asyncComputed(() =>
|
|
11
|
+
{
|
|
12
|
+
if (Array.isArray(tokens) && !tokens.length) return null;
|
|
13
|
+
return fetchTokenByAddress(props.metadata?.token, props?.chain_id, tokens)
|
|
14
|
+
}
|
|
15
|
+
);
|
|
16
|
+
|
|
17
|
+
const calculateDate = (timestamp: number) => {
|
|
18
|
+
return new Date(timestamp * 1000).toLocaleString();
|
|
19
|
+
};
|
|
20
|
+
</script>
|
|
21
|
+
|
|
22
|
+
<template>
|
|
23
|
+
<div v-if="!token" class="rounded-5 w-24 h-4 loading-box" />
|
|
24
|
+
<div v-else class="inline-flex items-center gap-2 flex-wrap">
|
|
25
|
+
<span>Permit2 Allowance: </span>
|
|
26
|
+
<img width="20" height="20" class="w-5 h-5" :src="token?.logo_url" />
|
|
27
|
+
<span class="capitalize">{{ token?.symbol }}</span>
|
|
28
|
+
to
|
|
29
|
+
<NuxtLink
|
|
30
|
+
class="text-primary"
|
|
31
|
+
:href="
|
|
32
|
+
getExplorerUrl(chain_id, `/address/${metadata.spender}`)
|
|
33
|
+
"
|
|
34
|
+
target="_blank"
|
|
35
|
+
external
|
|
36
|
+
>
|
|
37
|
+
{{ shortenHash(metadata.spender) }}
|
|
38
|
+
</NuxtLink>
|
|
39
|
+
|
|
|
40
|
+
<span> Expiration date at {{ calculateDate(metadata?.expiration) }}</span>
|
|
41
|
+
</div>
|
|
42
|
+
</template>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
defineProps<{
|
|
3
|
+
chain_id: number | string
|
|
4
|
+
metadata: {
|
|
5
|
+
type: MetadataTypes
|
|
6
|
+
[key: string]: any
|
|
7
|
+
}
|
|
8
|
+
compact?: boolean
|
|
9
|
+
}>()
|
|
10
|
+
</script>
|
|
11
|
+
|
|
12
|
+
<template>
|
|
13
|
+
<ul class="flex gap-2 flex-wrap">
|
|
14
|
+
<li v-for="address in metadata.addresses" :key="address" class="flex rounded-2xl gap-2 bg-gray-900 w-fit items-center py-1.5 px-2.5">
|
|
15
|
+
<AuthorityAvatar class="size-5" :address="address" />
|
|
16
|
+
<Address :address="address" />
|
|
17
|
+
</li>
|
|
18
|
+
</ul>
|
|
19
|
+
</template>
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
const props = defineProps<{
|
|
3
|
+
metadata: any
|
|
4
|
+
chain_id: number | string
|
|
5
|
+
}>()
|
|
6
|
+
|
|
7
|
+
const compact = inject('compact')
|
|
8
|
+
const tokens = inject<ITokenPrice[]>('tokens')
|
|
9
|
+
|
|
10
|
+
const buyToken = asyncComputed(() => {
|
|
11
|
+
if (Array.isArray(tokens) && !tokens.length)
|
|
12
|
+
return null
|
|
13
|
+
return fetchTokenByAddress(props.metadata?.buyToken, props?.chain_id, tokens)
|
|
14
|
+
},
|
|
15
|
+
)
|
|
16
|
+
const sellToken = asyncComputed(() => {
|
|
17
|
+
if (Array.isArray(tokens) && !tokens.length)
|
|
18
|
+
return null
|
|
19
|
+
return fetchTokenByAddress(props.metadata?.sellToken, props?.chain_id, tokens)
|
|
20
|
+
},
|
|
21
|
+
)
|
|
22
|
+
|
|
23
|
+
const sellAmountFormatted = computed(() =>
|
|
24
|
+
formatDecimal(
|
|
25
|
+
fromWei(props.metadata?.sellAmount, sellToken?.value?.decimals).toFixed(),
|
|
26
|
+
),
|
|
27
|
+
)
|
|
28
|
+
|
|
29
|
+
const buyAmountFormatted = computed(() =>
|
|
30
|
+
formatDecimal(
|
|
31
|
+
fromWei(props.metadata?.buyAmount, buyToken?.value?.decimals).toFixed(),
|
|
32
|
+
),
|
|
33
|
+
)
|
|
34
|
+
|
|
35
|
+
function formatProtocol(protocol: string) {
|
|
36
|
+
return (
|
|
37
|
+
new Map([
|
|
38
|
+
['1inch-v5', '1inch'],
|
|
39
|
+
['0x-v1', '0x'],
|
|
40
|
+
['paraswap-v5', 'Paraswap'],
|
|
41
|
+
['kyber-v1', 'Kyber Network'],
|
|
42
|
+
]).get(protocol) || protocol
|
|
43
|
+
)
|
|
44
|
+
}
|
|
45
|
+
</script>
|
|
46
|
+
|
|
47
|
+
<template>
|
|
48
|
+
<div v-if="!sellToken || !buyToken" class="rounded-5 w-24 h-4 loading-box" />
|
|
49
|
+
<div v-else class="flex items-center gap-5">
|
|
50
|
+
<span v-if="!compact" class="capitalize text-xs sm:text-sm">{{ metadata.type }}</span>
|
|
51
|
+
<span class="inline-flex gap-2.5 items-center">
|
|
52
|
+
<img width="20" height="20" class="w-5 h-5" :src="sellToken?.logo_url">
|
|
53
|
+
{{ sellAmountFormatted }}
|
|
54
|
+
<span class="uppercase">{{ sellToken?.symbol }}</span>
|
|
55
|
+
<SvgoRefresh class="w-4 h-4 text-slate-400 mx-2" />
|
|
56
|
+
<img width="20" height="20" class="w-5 h-5" :src="buyToken?.logo_url">
|
|
57
|
+
~ {{ buyAmountFormatted }}
|
|
58
|
+
<span class="uppercase">{{ buyToken?.symbol }}</span>
|
|
59
|
+
<span v-if="metadata.protocol && !compact" class="capitalize hidden sm:flex items-center gap-2.5">
|
|
60
|
+
On
|
|
61
|
+
<ProtocolLogo class="w-5 h-5" :name="metadata.protocol" />
|
|
62
|
+
{{ formatProtocol(metadata.protocol) }}
|
|
63
|
+
</span>
|
|
64
|
+
</span>
|
|
65
|
+
</div>
|
|
66
|
+
</template>
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
const props = defineProps<{
|
|
3
|
+
metadata: any
|
|
4
|
+
chain_id: number | string
|
|
5
|
+
}>()
|
|
6
|
+
|
|
7
|
+
const compact = inject('compact')
|
|
8
|
+
const tokens = inject<ITokenPrice[]>('tokens')
|
|
9
|
+
|
|
10
|
+
const token = asyncComputed(() => {
|
|
11
|
+
if (!props?.chain_id)
|
|
12
|
+
return null
|
|
13
|
+
|
|
14
|
+
if (Array.isArray(tokens) && !tokens.length)
|
|
15
|
+
return null
|
|
16
|
+
|
|
17
|
+
return fetchTokenByAddress(
|
|
18
|
+
props.metadata?.token,
|
|
19
|
+
props?.chain_id,
|
|
20
|
+
tokens,
|
|
21
|
+
)
|
|
22
|
+
})
|
|
23
|
+
|
|
24
|
+
const formattedAmount = computed(() =>
|
|
25
|
+
formatDecimal(
|
|
26
|
+
fromWei(props.metadata?.amount, token?.value?.decimals).toFixed(),
|
|
27
|
+
),
|
|
28
|
+
)
|
|
29
|
+
</script>
|
|
30
|
+
|
|
31
|
+
<template>
|
|
32
|
+
<div v-if="!token" class="rounded-5 w-24 h-4 loading-box" />
|
|
33
|
+
<div v-else class="flex items-center gap-5">
|
|
34
|
+
<span v-if="!compact" class="capitalize text-xs sm:text-sm">{{ metadata.type }}</span>
|
|
35
|
+
<span class="inline-flex gap-2.5 items-center">
|
|
36
|
+
<span class="w-[8em]">
|
|
37
|
+
{{ formattedAmount }}
|
|
38
|
+
<span class="uppercase">{{ token?.symbol }}</span>
|
|
39
|
+
</span>
|
|
40
|
+
<img width="20" height="20" class="w-5 h-5" :src="token?.logo_url">
|
|
41
|
+
<SvgoArrowRight class="w-4 h-4 text-slate-400" />
|
|
42
|
+
<Address
|
|
43
|
+
:to="getExplorerUrl(chain_id, `/address/${metadata.receiver}`)"
|
|
44
|
+
:address="metadata.receiver"
|
|
45
|
+
/>
|
|
46
|
+
</span>
|
|
47
|
+
</div>
|
|
48
|
+
</template>
|
package/components.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
/* prettier-ignore */
|
|
3
|
+
// @ts-nocheck
|
|
4
|
+
// Generated by unplugin-vue-components
|
|
5
|
+
// Read more: https://github.com/vuejs/core/pull/3399
|
|
6
|
+
export {}
|
|
7
|
+
|
|
8
|
+
declare module 'vue' {
|
|
9
|
+
export interface GlobalComponents {
|
|
10
|
+
RouterLink: typeof import('vue-router')['RouterLink']
|
|
11
|
+
RouterView: typeof import('vue-router')['RouterView']
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,302 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import type {
|
|
5
|
+
BaseContract,
|
|
6
|
+
BigNumber,
|
|
7
|
+
BytesLike,
|
|
8
|
+
CallOverrides,
|
|
9
|
+
ContractTransaction,
|
|
10
|
+
Overrides,
|
|
11
|
+
PopulatedTransaction,
|
|
12
|
+
Signer,
|
|
13
|
+
utils,
|
|
14
|
+
} from "ethers";
|
|
15
|
+
import type {
|
|
16
|
+
FunctionFragment,
|
|
17
|
+
Result,
|
|
18
|
+
EventFragment,
|
|
19
|
+
} from "@ethersproject/abi";
|
|
20
|
+
import type { Listener, Provider } from "@ethersproject/providers";
|
|
21
|
+
import type {
|
|
22
|
+
TypedEventFilter,
|
|
23
|
+
TypedEvent,
|
|
24
|
+
TypedListener,
|
|
25
|
+
OnEvent,
|
|
26
|
+
PromiseOrValue,
|
|
27
|
+
} from "./common";
|
|
28
|
+
|
|
29
|
+
export interface AvoFactoryProxyInterface extends utils.Interface {
|
|
30
|
+
functions: {
|
|
31
|
+
"avoSafeBytecode()": FunctionFragment;
|
|
32
|
+
"avoVersionsRegistry()": FunctionFragment;
|
|
33
|
+
"avoWalletImpl()": FunctionFragment;
|
|
34
|
+
"computeAddress(address)": FunctionFragment;
|
|
35
|
+
"deploy(address)": FunctionFragment;
|
|
36
|
+
"initialize()": FunctionFragment;
|
|
37
|
+
"setAvoWalletImpl(address)": FunctionFragment;
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
getFunction(
|
|
41
|
+
nameOrSignatureOrTopic:
|
|
42
|
+
| "avoSafeBytecode"
|
|
43
|
+
| "avoVersionsRegistry"
|
|
44
|
+
| "avoWalletImpl"
|
|
45
|
+
| "computeAddress"
|
|
46
|
+
| "deploy"
|
|
47
|
+
| "initialize"
|
|
48
|
+
| "setAvoWalletImpl"
|
|
49
|
+
): FunctionFragment;
|
|
50
|
+
|
|
51
|
+
encodeFunctionData(
|
|
52
|
+
functionFragment: "avoSafeBytecode",
|
|
53
|
+
values?: undefined
|
|
54
|
+
): string;
|
|
55
|
+
encodeFunctionData(
|
|
56
|
+
functionFragment: "avoVersionsRegistry",
|
|
57
|
+
values?: undefined
|
|
58
|
+
): string;
|
|
59
|
+
encodeFunctionData(
|
|
60
|
+
functionFragment: "avoWalletImpl",
|
|
61
|
+
values?: undefined
|
|
62
|
+
): string;
|
|
63
|
+
encodeFunctionData(
|
|
64
|
+
functionFragment: "computeAddress",
|
|
65
|
+
values: [PromiseOrValue<string>]
|
|
66
|
+
): string;
|
|
67
|
+
encodeFunctionData(
|
|
68
|
+
functionFragment: "deploy",
|
|
69
|
+
values: [PromiseOrValue<string>]
|
|
70
|
+
): string;
|
|
71
|
+
encodeFunctionData(
|
|
72
|
+
functionFragment: "initialize",
|
|
73
|
+
values?: undefined
|
|
74
|
+
): string;
|
|
75
|
+
encodeFunctionData(
|
|
76
|
+
functionFragment: "setAvoWalletImpl",
|
|
77
|
+
values: [PromiseOrValue<string>]
|
|
78
|
+
): string;
|
|
79
|
+
|
|
80
|
+
decodeFunctionResult(
|
|
81
|
+
functionFragment: "avoSafeBytecode",
|
|
82
|
+
data: BytesLike
|
|
83
|
+
): Result;
|
|
84
|
+
decodeFunctionResult(
|
|
85
|
+
functionFragment: "avoVersionsRegistry",
|
|
86
|
+
data: BytesLike
|
|
87
|
+
): Result;
|
|
88
|
+
decodeFunctionResult(
|
|
89
|
+
functionFragment: "avoWalletImpl",
|
|
90
|
+
data: BytesLike
|
|
91
|
+
): Result;
|
|
92
|
+
decodeFunctionResult(
|
|
93
|
+
functionFragment: "computeAddress",
|
|
94
|
+
data: BytesLike
|
|
95
|
+
): Result;
|
|
96
|
+
decodeFunctionResult(functionFragment: "deploy", data: BytesLike): Result;
|
|
97
|
+
decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
|
|
98
|
+
decodeFunctionResult(
|
|
99
|
+
functionFragment: "setAvoWalletImpl",
|
|
100
|
+
data: BytesLike
|
|
101
|
+
): Result;
|
|
102
|
+
|
|
103
|
+
events: {
|
|
104
|
+
"AvoSafeDeployed(address,address)": EventFragment;
|
|
105
|
+
"Initialized(uint8)": EventFragment;
|
|
106
|
+
};
|
|
107
|
+
|
|
108
|
+
getEvent(nameOrSignatureOrTopic: "AvoSafeDeployed"): EventFragment;
|
|
109
|
+
getEvent(nameOrSignatureOrTopic: "Initialized"): EventFragment;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
export interface AvoSafeDeployedEventObject {
|
|
113
|
+
owner: string;
|
|
114
|
+
avoSafe: string;
|
|
115
|
+
}
|
|
116
|
+
export type AvoSafeDeployedEvent = TypedEvent<
|
|
117
|
+
[string, string],
|
|
118
|
+
AvoSafeDeployedEventObject
|
|
119
|
+
>;
|
|
120
|
+
|
|
121
|
+
export type AvoSafeDeployedEventFilter = TypedEventFilter<AvoSafeDeployedEvent>;
|
|
122
|
+
|
|
123
|
+
export interface InitializedEventObject {
|
|
124
|
+
version: number;
|
|
125
|
+
}
|
|
126
|
+
export type InitializedEvent = TypedEvent<[number], InitializedEventObject>;
|
|
127
|
+
|
|
128
|
+
export type InitializedEventFilter = TypedEventFilter<InitializedEvent>;
|
|
129
|
+
|
|
130
|
+
export interface AvoFactoryProxy extends BaseContract {
|
|
131
|
+
connect(signerOrProvider: Signer | Provider | string): this;
|
|
132
|
+
attach(addressOrName: string): this;
|
|
133
|
+
deployed(): Promise<this>;
|
|
134
|
+
|
|
135
|
+
interface: AvoFactoryProxyInterface;
|
|
136
|
+
|
|
137
|
+
queryFilter<TEvent extends TypedEvent>(
|
|
138
|
+
event: TypedEventFilter<TEvent>,
|
|
139
|
+
fromBlockOrBlockhash?: string | number | undefined,
|
|
140
|
+
toBlock?: string | number | undefined
|
|
141
|
+
): Promise<Array<TEvent>>;
|
|
142
|
+
|
|
143
|
+
listeners<TEvent extends TypedEvent>(
|
|
144
|
+
eventFilter?: TypedEventFilter<TEvent>
|
|
145
|
+
): Array<TypedListener<TEvent>>;
|
|
146
|
+
listeners(eventName?: string): Array<Listener>;
|
|
147
|
+
removeAllListeners<TEvent extends TypedEvent>(
|
|
148
|
+
eventFilter: TypedEventFilter<TEvent>
|
|
149
|
+
): this;
|
|
150
|
+
removeAllListeners(eventName?: string): this;
|
|
151
|
+
off: OnEvent<this>;
|
|
152
|
+
on: OnEvent<this>;
|
|
153
|
+
once: OnEvent<this>;
|
|
154
|
+
removeListener: OnEvent<this>;
|
|
155
|
+
|
|
156
|
+
functions: {
|
|
157
|
+
avoSafeBytecode(overrides?: CallOverrides): Promise<[string]>;
|
|
158
|
+
|
|
159
|
+
avoVersionsRegistry(overrides?: CallOverrides): Promise<[string]>;
|
|
160
|
+
|
|
161
|
+
avoWalletImpl(overrides?: CallOverrides): Promise<[string]>;
|
|
162
|
+
|
|
163
|
+
computeAddress(
|
|
164
|
+
owner_: PromiseOrValue<string>,
|
|
165
|
+
overrides?: CallOverrides
|
|
166
|
+
): Promise<[string]>;
|
|
167
|
+
|
|
168
|
+
deploy(
|
|
169
|
+
owner_: PromiseOrValue<string>,
|
|
170
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
171
|
+
): Promise<ContractTransaction>;
|
|
172
|
+
|
|
173
|
+
initialize(
|
|
174
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
175
|
+
): Promise<ContractTransaction>;
|
|
176
|
+
|
|
177
|
+
setAvoWalletImpl(
|
|
178
|
+
avoWalletImpl_: PromiseOrValue<string>,
|
|
179
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
180
|
+
): Promise<ContractTransaction>;
|
|
181
|
+
};
|
|
182
|
+
|
|
183
|
+
avoSafeBytecode(overrides?: CallOverrides): Promise<string>;
|
|
184
|
+
|
|
185
|
+
avoVersionsRegistry(overrides?: CallOverrides): Promise<string>;
|
|
186
|
+
|
|
187
|
+
avoWalletImpl(overrides?: CallOverrides): Promise<string>;
|
|
188
|
+
|
|
189
|
+
computeAddress(
|
|
190
|
+
owner_: PromiseOrValue<string>,
|
|
191
|
+
overrides?: CallOverrides
|
|
192
|
+
): Promise<string>;
|
|
193
|
+
|
|
194
|
+
deploy(
|
|
195
|
+
owner_: PromiseOrValue<string>,
|
|
196
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
197
|
+
): Promise<ContractTransaction>;
|
|
198
|
+
|
|
199
|
+
initialize(
|
|
200
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
201
|
+
): Promise<ContractTransaction>;
|
|
202
|
+
|
|
203
|
+
setAvoWalletImpl(
|
|
204
|
+
avoWalletImpl_: PromiseOrValue<string>,
|
|
205
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
206
|
+
): Promise<ContractTransaction>;
|
|
207
|
+
|
|
208
|
+
callStatic: {
|
|
209
|
+
avoSafeBytecode(overrides?: CallOverrides): Promise<string>;
|
|
210
|
+
|
|
211
|
+
avoVersionsRegistry(overrides?: CallOverrides): Promise<string>;
|
|
212
|
+
|
|
213
|
+
avoWalletImpl(overrides?: CallOverrides): Promise<string>;
|
|
214
|
+
|
|
215
|
+
computeAddress(
|
|
216
|
+
owner_: PromiseOrValue<string>,
|
|
217
|
+
overrides?: CallOverrides
|
|
218
|
+
): Promise<string>;
|
|
219
|
+
|
|
220
|
+
deploy(
|
|
221
|
+
owner_: PromiseOrValue<string>,
|
|
222
|
+
overrides?: CallOverrides
|
|
223
|
+
): Promise<string>;
|
|
224
|
+
|
|
225
|
+
initialize(overrides?: CallOverrides): Promise<void>;
|
|
226
|
+
|
|
227
|
+
setAvoWalletImpl(
|
|
228
|
+
avoWalletImpl_: PromiseOrValue<string>,
|
|
229
|
+
overrides?: CallOverrides
|
|
230
|
+
): Promise<void>;
|
|
231
|
+
};
|
|
232
|
+
|
|
233
|
+
filters: {
|
|
234
|
+
"AvoSafeDeployed(address,address)"(
|
|
235
|
+
owner?: PromiseOrValue<string> | null,
|
|
236
|
+
avoSafe?: PromiseOrValue<string> | null
|
|
237
|
+
): AvoSafeDeployedEventFilter;
|
|
238
|
+
AvoSafeDeployed(
|
|
239
|
+
owner?: PromiseOrValue<string> | null,
|
|
240
|
+
avoSafe?: PromiseOrValue<string> | null
|
|
241
|
+
): AvoSafeDeployedEventFilter;
|
|
242
|
+
|
|
243
|
+
"Initialized(uint8)"(version?: null): InitializedEventFilter;
|
|
244
|
+
Initialized(version?: null): InitializedEventFilter;
|
|
245
|
+
};
|
|
246
|
+
|
|
247
|
+
estimateGas: {
|
|
248
|
+
avoSafeBytecode(overrides?: CallOverrides): Promise<BigNumber>;
|
|
249
|
+
|
|
250
|
+
avoVersionsRegistry(overrides?: CallOverrides): Promise<BigNumber>;
|
|
251
|
+
|
|
252
|
+
avoWalletImpl(overrides?: CallOverrides): Promise<BigNumber>;
|
|
253
|
+
|
|
254
|
+
computeAddress(
|
|
255
|
+
owner_: PromiseOrValue<string>,
|
|
256
|
+
overrides?: CallOverrides
|
|
257
|
+
): Promise<BigNumber>;
|
|
258
|
+
|
|
259
|
+
deploy(
|
|
260
|
+
owner_: PromiseOrValue<string>,
|
|
261
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
262
|
+
): Promise<BigNumber>;
|
|
263
|
+
|
|
264
|
+
initialize(
|
|
265
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
266
|
+
): Promise<BigNumber>;
|
|
267
|
+
|
|
268
|
+
setAvoWalletImpl(
|
|
269
|
+
avoWalletImpl_: PromiseOrValue<string>,
|
|
270
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
271
|
+
): Promise<BigNumber>;
|
|
272
|
+
};
|
|
273
|
+
|
|
274
|
+
populateTransaction: {
|
|
275
|
+
avoSafeBytecode(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
276
|
+
|
|
277
|
+
avoVersionsRegistry(
|
|
278
|
+
overrides?: CallOverrides
|
|
279
|
+
): Promise<PopulatedTransaction>;
|
|
280
|
+
|
|
281
|
+
avoWalletImpl(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
282
|
+
|
|
283
|
+
computeAddress(
|
|
284
|
+
owner_: PromiseOrValue<string>,
|
|
285
|
+
overrides?: CallOverrides
|
|
286
|
+
): Promise<PopulatedTransaction>;
|
|
287
|
+
|
|
288
|
+
deploy(
|
|
289
|
+
owner_: PromiseOrValue<string>,
|
|
290
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
291
|
+
): Promise<PopulatedTransaction>;
|
|
292
|
+
|
|
293
|
+
initialize(
|
|
294
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
295
|
+
): Promise<PopulatedTransaction>;
|
|
296
|
+
|
|
297
|
+
setAvoWalletImpl(
|
|
298
|
+
avoWalletImpl_: PromiseOrValue<string>,
|
|
299
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
300
|
+
): Promise<PopulatedTransaction>;
|
|
301
|
+
};
|
|
302
|
+
}
|