@sudobility/contracts 1.13.1 → 1.13.3
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/dist/evm/src/evm/evm-mailer-client.js +3 -3
- package/dist/evm/src/evm/evm-mailer-client.js.map +1 -1
- package/dist/evm/src/evm/index.d.ts +3 -3
- package/dist/evm/src/evm/index.d.ts.map +1 -1
- package/dist/evm/src/evm/index.js +4 -4
- package/dist/evm/src/evm/index.js.map +1 -1
- package/dist/solana/solana/index.d.ts +2 -2
- package/dist/solana/solana/index.d.ts.map +1 -1
- package/dist/solana/solana/index.js +3 -3
- package/dist/solana/solana/index.js.map +1 -1
- package/dist/solana/solana/solana-mailer-client.d.ts +1 -1
- package/dist/solana/solana/solana-mailer-client.d.ts.map +1 -1
- package/dist/solana/solana/solana-mailer-client.js +1 -1
- package/dist/solana/solana/solana-mailer-client.js.map +1 -1
- package/dist/solana/solana/types.d.ts +1 -1
- package/dist/solana/solana/types.d.ts.map +1 -1
- package/dist/solana/solana/types.js +5 -5
- package/dist/solana/solana/types.js.map +1 -1
- package/dist/unified/src/evm/evm-mailer-client.js +7 -11
- package/dist/unified/src/evm/evm-mailer-client.js.map +1 -1
- package/dist/unified/src/evm/index.d.ts +3 -3
- package/dist/unified/src/evm/index.d.ts.map +1 -1
- package/dist/unified/src/evm/index.js +2 -7
- package/dist/unified/src/evm/index.js.map +1 -1
- package/dist/unified/src/react/context/MailerProvider.js +14 -55
- package/dist/unified/src/react/context/MailerProvider.js.map +1 -1
- package/dist/unified/src/react/hooks/useMailerMutations.js +76 -98
- package/dist/unified/src/react/hooks/useMailerMutations.js.map +1 -1
- package/dist/unified/src/react/hooks/useMailerQueries.js +52 -68
- package/dist/unified/src/react/hooks/useMailerQueries.js.map +1 -1
- package/dist/unified/src/react/index.js +5 -47
- package/dist/unified/src/react/index.js.map +1 -1
- package/dist/unified/src/solana/index.d.ts +2 -2
- package/dist/unified/src/solana/index.d.ts.map +1 -1
- package/dist/unified/src/solana/index.js +2 -20
- package/dist/unified/src/solana/index.js.map +1 -1
- package/dist/unified/src/solana/solana-mailer-client.d.ts +1 -1
- package/dist/unified/src/solana/solana-mailer-client.d.ts.map +1 -1
- package/dist/unified/src/solana/solana-mailer-client.js +129 -133
- package/dist/unified/src/solana/solana-mailer-client.js.map +1 -1
- package/dist/unified/src/solana/types.d.ts +1 -1
- package/dist/unified/src/solana/types.d.ts.map +1 -1
- package/dist/unified/src/solana/types.js +6 -13
- package/dist/unified/src/solana/types.js.map +1 -1
- package/dist/unified/src/unified/index.d.ts +3 -3
- package/dist/unified/src/unified/index.d.ts.map +1 -1
- package/dist/unified/src/unified/index.js +2 -7
- package/dist/unified/src/unified/index.js.map +1 -1
- package/dist/unified/src/unified/onchain-mailer-client.d.ts +35 -35
- package/dist/unified/src/unified/onchain-mailer-client.d.ts.map +1 -1
- package/dist/unified/src/unified/onchain-mailer-client.js +88 -125
- package/dist/unified/src/unified/onchain-mailer-client.js.map +1 -1
- package/dist/unified/src/unified/types.js +1 -2
- package/dist/unified/src/unified/wallet-detector.js +10 -14
- package/dist/unified/src/unified/wallet-detector.js.map +1 -1
- package/dist/unified/src/utils/chain-config.d.ts +1 -1
- package/dist/unified/src/utils/chain-config.d.ts.map +1 -1
- package/dist/unified/src/utils/chain-config.js +9 -13
- package/dist/unified/src/utils/chain-config.js.map +1 -1
- package/dist/unified/src/utils/currency.js +6 -11
- package/dist/unified/src/utils/currency.js.map +1 -1
- package/dist/unified/src/utils/index.d.ts +3 -3
- package/dist/unified/src/utils/index.d.ts.map +1 -1
- package/dist/unified/src/utils/index.js +3 -19
- package/dist/unified/src/utils/index.js.map +1 -1
- package/dist/unified/src/utils/validation.js +11 -17
- package/dist/unified/src/utils/validation.js.map +1 -1
- package/dist/unified/typechain-types/Mailer.js +1 -2
- package/dist/unified/typechain-types/MockUSDC.js +1 -2
- package/dist/unified/typechain-types/common.js +1 -2
- package/dist/unified/typechain-types/factories/Mailer__factory.js +4 -8
- package/dist/unified/typechain-types/factories/Mailer__factory.js.map +1 -1
- package/dist/unified/typechain-types/factories/MockUSDC__factory.js +4 -8
- package/dist/unified/typechain-types/factories/MockUSDC__factory.js.map +1 -1
- package/dist/unified/typechain-types/factories/index.js +3 -41
- package/dist/unified/typechain-types/factories/index.js.map +1 -1
- package/dist/unified/typechain-types/factories/interfaces/IERC20__factory.js +4 -8
- package/dist/unified/typechain-types/factories/interfaces/IERC20__factory.js.map +1 -1
- package/dist/unified/typechain-types/factories/interfaces/index.js +1 -5
- package/dist/unified/typechain-types/factories/interfaces/index.js.map +1 -1
- package/dist/unified/typechain-types/index.js +4 -43
- package/dist/unified/typechain-types/index.js.map +1 -1
- package/dist/unified/typechain-types/interfaces/IERC20.js +1 -2
- package/dist/unified/typechain-types/interfaces/index.js +1 -2
- package/package.json +12 -18
- package/dist/unified/package.json +0 -3
- package/dist/unified-esm/src/evm/evm-mailer-client.d.ts +0 -1062
- package/dist/unified-esm/src/evm/evm-mailer-client.d.ts.map +0 -1
- package/dist/unified-esm/src/evm/evm-mailer-client.js +0 -920
- package/dist/unified-esm/src/evm/evm-mailer-client.js.map +0 -1
- package/dist/unified-esm/src/evm/index.d.ts +0 -4
- package/dist/unified-esm/src/evm/index.d.ts.map +0 -1
- package/dist/unified-esm/src/evm/index.js +0 -5
- package/dist/unified-esm/src/evm/index.js.map +0 -1
- package/dist/unified-esm/src/react/context/MailerProvider.d.ts +0 -108
- package/dist/unified-esm/src/react/context/MailerProvider.d.ts.map +0 -1
- package/dist/unified-esm/src/react/context/MailerProvider.js +0 -119
- package/dist/unified-esm/src/react/context/MailerProvider.js.map +0 -1
- package/dist/unified-esm/src/react/hooks/useMailerMutations.d.ts +0 -334
- package/dist/unified-esm/src/react/hooks/useMailerMutations.d.ts.map +0 -1
- package/dist/unified-esm/src/react/hooks/useMailerMutations.js +0 -392
- package/dist/unified-esm/src/react/hooks/useMailerMutations.js.map +0 -1
- package/dist/unified-esm/src/react/hooks/useMailerQueries.d.ts +0 -184
- package/dist/unified-esm/src/react/hooks/useMailerQueries.d.ts.map +0 -1
- package/dist/unified-esm/src/react/hooks/useMailerQueries.js +0 -316
- package/dist/unified-esm/src/react/hooks/useMailerQueries.js.map +0 -1
- package/dist/unified-esm/src/react/index.d.ts +0 -39
- package/dist/unified-esm/src/react/index.d.ts.map +0 -1
- package/dist/unified-esm/src/react/index.js +0 -43
- package/dist/unified-esm/src/react/index.js.map +0 -1
- package/dist/unified-esm/src/solana/index.d.ts +0 -3
- package/dist/unified-esm/src/solana/index.d.ts.map +0 -1
- package/dist/unified-esm/src/solana/index.js +0 -4
- package/dist/unified-esm/src/solana/index.js.map +0 -1
- package/dist/unified-esm/src/solana/solana-mailer-client.d.ts +0 -209
- package/dist/unified-esm/src/solana/solana-mailer-client.d.ts.map +0 -1
- package/dist/unified-esm/src/solana/solana-mailer-client.js +0 -1000
- package/dist/unified-esm/src/solana/solana-mailer-client.js.map +0 -1
- package/dist/unified-esm/src/solana/types.d.ts +0 -29
- package/dist/unified-esm/src/solana/types.d.ts.map +0 -1
- package/dist/unified-esm/src/solana/types.js +0 -16
- package/dist/unified-esm/src/solana/types.js.map +0 -1
- package/dist/unified-esm/src/unified/index.d.ts +0 -4
- package/dist/unified-esm/src/unified/index.d.ts.map +0 -1
- package/dist/unified-esm/src/unified/index.js +0 -4
- package/dist/unified-esm/src/unified/index.js.map +0 -1
- package/dist/unified-esm/src/unified/onchain-mailer-client.d.ts +0 -258
- package/dist/unified-esm/src/unified/onchain-mailer-client.d.ts.map +0 -1
- package/dist/unified-esm/src/unified/onchain-mailer-client.js +0 -731
- package/dist/unified-esm/src/unified/onchain-mailer-client.js.map +0 -1
- package/dist/unified-esm/src/unified/types.d.ts +0 -54
- package/dist/unified-esm/src/unified/types.d.ts.map +0 -1
- package/dist/unified-esm/src/unified/types.js +0 -2
- package/dist/unified-esm/src/unified/types.js.map +0 -1
- package/dist/unified-esm/src/unified/wallet-detector.d.ts +0 -28
- package/dist/unified-esm/src/unified/wallet-detector.d.ts.map +0 -1
- package/dist/unified-esm/src/unified/wallet-detector.js +0 -59
- package/dist/unified-esm/src/unified/wallet-detector.js.map +0 -1
- package/dist/unified-esm/src/utils/chain-config.d.ts +0 -75
- package/dist/unified-esm/src/utils/chain-config.d.ts.map +0 -1
- package/dist/unified-esm/src/utils/chain-config.js +0 -199
- package/dist/unified-esm/src/utils/chain-config.js.map +0 -1
- package/dist/unified-esm/src/utils/currency.d.ts +0 -26
- package/dist/unified-esm/src/utils/currency.d.ts.map +0 -1
- package/dist/unified-esm/src/utils/currency.js +0 -31
- package/dist/unified-esm/src/utils/currency.js.map +0 -1
- package/dist/unified-esm/src/utils/index.d.ts +0 -4
- package/dist/unified-esm/src/utils/index.d.ts.map +0 -1
- package/dist/unified-esm/src/utils/index.js +0 -4
- package/dist/unified-esm/src/utils/index.js.map +0 -1
- package/dist/unified-esm/src/utils/validation.d.ts +0 -10
- package/dist/unified-esm/src/utils/validation.d.ts.map +0 -1
- package/dist/unified-esm/src/utils/validation.js +0 -96
- package/dist/unified-esm/src/utils/validation.js.map +0 -1
- package/dist/unified-esm/typechain-types/Mailer.d.ts +0 -698
- package/dist/unified-esm/typechain-types/Mailer.d.ts.map +0 -1
- package/dist/unified-esm/typechain-types/Mailer.js +0 -2
- package/dist/unified-esm/typechain-types/Mailer.js.map +0 -1
- package/dist/unified-esm/typechain-types/MockUSDC.d.ts +0 -118
- package/dist/unified-esm/typechain-types/MockUSDC.d.ts.map +0 -1
- package/dist/unified-esm/typechain-types/MockUSDC.js +0 -2
- package/dist/unified-esm/typechain-types/MockUSDC.js.map +0 -1
- package/dist/unified-esm/typechain-types/common.d.ts +0 -51
- package/dist/unified-esm/typechain-types/common.d.ts.map +0 -1
- package/dist/unified-esm/typechain-types/common.js +0 -2
- package/dist/unified-esm/typechain-types/common.js.map +0 -1
- package/dist/unified-esm/typechain-types/factories/Mailer__factory.d.ts +0 -875
- package/dist/unified-esm/typechain-types/factories/Mailer__factory.d.ts.map +0 -1
- package/dist/unified-esm/typechain-types/factories/Mailer__factory.js +0 -1121
- package/dist/unified-esm/typechain-types/factories/Mailer__factory.js.map +0 -1
- package/dist/unified-esm/typechain-types/factories/MockUSDC__factory.d.ts +0 -193
- package/dist/unified-esm/typechain-types/factories/MockUSDC__factory.d.ts.map +0 -1
- package/dist/unified-esm/typechain-types/factories/MockUSDC__factory.js +0 -259
- package/dist/unified-esm/typechain-types/factories/MockUSDC__factory.js.map +0 -1
- package/dist/unified-esm/typechain-types/factories/index.d.ts +0 -4
- package/dist/unified-esm/typechain-types/factories/index.d.ts.map +0 -1
- package/dist/unified-esm/typechain-types/factories/index.js +0 -7
- package/dist/unified-esm/typechain-types/factories/index.js.map +0 -1
- package/dist/unified-esm/typechain-types/factories/interfaces/IERC20__factory.d.ts +0 -80
- package/dist/unified-esm/typechain-types/factories/interfaces/IERC20__factory.d.ts.map +0 -1
- package/dist/unified-esm/typechain-types/factories/interfaces/IERC20__factory.js +0 -112
- package/dist/unified-esm/typechain-types/factories/interfaces/IERC20__factory.js.map +0 -1
- package/dist/unified-esm/typechain-types/factories/interfaces/index.d.ts +0 -2
- package/dist/unified-esm/typechain-types/factories/interfaces/index.d.ts.map +0 -1
- package/dist/unified-esm/typechain-types/factories/interfaces/index.js +0 -5
- package/dist/unified-esm/typechain-types/factories/interfaces/index.js.map +0 -1
- package/dist/unified-esm/typechain-types/index.d.ts +0 -10
- package/dist/unified-esm/typechain-types/index.d.ts.map +0 -1
- package/dist/unified-esm/typechain-types/index.js +0 -5
- package/dist/unified-esm/typechain-types/index.js.map +0 -1
- package/dist/unified-esm/typechain-types/interfaces/IERC20.d.ts +0 -70
- package/dist/unified-esm/typechain-types/interfaces/IERC20.d.ts.map +0 -1
- package/dist/unified-esm/typechain-types/interfaces/IERC20.js +0 -2
- package/dist/unified-esm/typechain-types/interfaces/IERC20.js.map +0 -1
- package/dist/unified-esm/typechain-types/interfaces/index.d.ts +0 -2
- package/dist/unified-esm/typechain-types/interfaces/index.d.ts.map +0 -1
- package/dist/unified-esm/typechain-types/interfaces/index.js +0 -2
- package/dist/unified-esm/typechain-types/interfaces/index.js.map +0 -1
|
@@ -1,698 +0,0 @@
|
|
|
1
|
-
import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
|
-
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "./common";
|
|
3
|
-
export interface MailerInterface extends Interface {
|
|
4
|
-
getFunction(nameOrSignature: "CLAIM_PERIOD" | "OWNER_SHARE" | "RECIPIENT_SHARE" | "claimExpiredShares" | "claimOwnerShare" | "claimRecipientShare" | "clearCustomFeePercentage" | "customFeeDiscount" | "delegateTo" | "delegationFee" | "distributeClaimableFunds" | "emergencyUnpause" | "getCustomFeePercentage" | "getDelegationFee" | "getFee" | "getOwnerClaimable" | "getRecipientClaimable" | "isPaused" | "owner" | "ownerClaimable" | "pause" | "paused" | "permissions" | "recipientClaims" | "rejectDelegation" | "removePermission" | "send" | "sendFee" | "sendPrepared" | "sendPreparedToEmailAddress" | "sendThroughWebhook" | "sendToEmailAddress" | "setCustomFeePercentage" | "setDelegationFee" | "setFee" | "setPermission" | "unpause" | "usdcToken"): FunctionFragment;
|
|
5
|
-
getEvent(nameOrSignatureOrTopic: "ContractPaused" | "ContractUnpaused" | "CustomFeePercentageSet" | "DelegationFeeUpdated" | "DelegationSet" | "EmergencyUnpaused" | "ExpiredSharesClaimed" | "FeeUpdated" | "FundsDistributed" | "MailSent" | "MailSentToEmail" | "OwnerClaimed" | "PermissionGranted" | "PermissionRevoked" | "PreparedMailSent" | "PreparedMailSentToEmail" | "RecipientClaimed" | "SharesRecorded" | "WebhookMailSent"): EventFragment;
|
|
6
|
-
encodeFunctionData(functionFragment: "CLAIM_PERIOD", values?: undefined): string;
|
|
7
|
-
encodeFunctionData(functionFragment: "OWNER_SHARE", values?: undefined): string;
|
|
8
|
-
encodeFunctionData(functionFragment: "RECIPIENT_SHARE", values?: undefined): string;
|
|
9
|
-
encodeFunctionData(functionFragment: "claimExpiredShares", values: [AddressLike]): string;
|
|
10
|
-
encodeFunctionData(functionFragment: "claimOwnerShare", values?: undefined): string;
|
|
11
|
-
encodeFunctionData(functionFragment: "claimRecipientShare", values?: undefined): string;
|
|
12
|
-
encodeFunctionData(functionFragment: "clearCustomFeePercentage", values: [AddressLike]): string;
|
|
13
|
-
encodeFunctionData(functionFragment: "customFeeDiscount", values: [AddressLike]): string;
|
|
14
|
-
encodeFunctionData(functionFragment: "delegateTo", values: [AddressLike]): string;
|
|
15
|
-
encodeFunctionData(functionFragment: "delegationFee", values?: undefined): string;
|
|
16
|
-
encodeFunctionData(functionFragment: "distributeClaimableFunds", values: [AddressLike]): string;
|
|
17
|
-
encodeFunctionData(functionFragment: "emergencyUnpause", values?: undefined): string;
|
|
18
|
-
encodeFunctionData(functionFragment: "getCustomFeePercentage", values: [AddressLike]): string;
|
|
19
|
-
encodeFunctionData(functionFragment: "getDelegationFee", values?: undefined): string;
|
|
20
|
-
encodeFunctionData(functionFragment: "getFee", values?: undefined): string;
|
|
21
|
-
encodeFunctionData(functionFragment: "getOwnerClaimable", values?: undefined): string;
|
|
22
|
-
encodeFunctionData(functionFragment: "getRecipientClaimable", values: [AddressLike]): string;
|
|
23
|
-
encodeFunctionData(functionFragment: "isPaused", values?: undefined): string;
|
|
24
|
-
encodeFunctionData(functionFragment: "owner", values?: undefined): string;
|
|
25
|
-
encodeFunctionData(functionFragment: "ownerClaimable", values?: undefined): string;
|
|
26
|
-
encodeFunctionData(functionFragment: "pause", values?: undefined): string;
|
|
27
|
-
encodeFunctionData(functionFragment: "paused", values?: undefined): string;
|
|
28
|
-
encodeFunctionData(functionFragment: "permissions", values: [AddressLike, AddressLike]): string;
|
|
29
|
-
encodeFunctionData(functionFragment: "recipientClaims", values: [AddressLike]): string;
|
|
30
|
-
encodeFunctionData(functionFragment: "rejectDelegation", values: [AddressLike]): string;
|
|
31
|
-
encodeFunctionData(functionFragment: "removePermission", values: [AddressLike]): string;
|
|
32
|
-
encodeFunctionData(functionFragment: "send", values: [AddressLike, string, string, AddressLike, boolean, boolean]): string;
|
|
33
|
-
encodeFunctionData(functionFragment: "sendFee", values?: undefined): string;
|
|
34
|
-
encodeFunctionData(functionFragment: "sendPrepared", values: [AddressLike, string, AddressLike, boolean, boolean]): string;
|
|
35
|
-
encodeFunctionData(functionFragment: "sendPreparedToEmailAddress", values: [string, string, AddressLike]): string;
|
|
36
|
-
encodeFunctionData(functionFragment: "sendThroughWebhook", values: [AddressLike, string, AddressLike, boolean, boolean]): string;
|
|
37
|
-
encodeFunctionData(functionFragment: "sendToEmailAddress", values: [string, string, string, AddressLike]): string;
|
|
38
|
-
encodeFunctionData(functionFragment: "setCustomFeePercentage", values: [AddressLike, BigNumberish]): string;
|
|
39
|
-
encodeFunctionData(functionFragment: "setDelegationFee", values: [BigNumberish]): string;
|
|
40
|
-
encodeFunctionData(functionFragment: "setFee", values: [BigNumberish]): string;
|
|
41
|
-
encodeFunctionData(functionFragment: "setPermission", values: [AddressLike]): string;
|
|
42
|
-
encodeFunctionData(functionFragment: "unpause", values?: undefined): string;
|
|
43
|
-
encodeFunctionData(functionFragment: "usdcToken", values?: undefined): string;
|
|
44
|
-
decodeFunctionResult(functionFragment: "CLAIM_PERIOD", data: BytesLike): Result;
|
|
45
|
-
decodeFunctionResult(functionFragment: "OWNER_SHARE", data: BytesLike): Result;
|
|
46
|
-
decodeFunctionResult(functionFragment: "RECIPIENT_SHARE", data: BytesLike): Result;
|
|
47
|
-
decodeFunctionResult(functionFragment: "claimExpiredShares", data: BytesLike): Result;
|
|
48
|
-
decodeFunctionResult(functionFragment: "claimOwnerShare", data: BytesLike): Result;
|
|
49
|
-
decodeFunctionResult(functionFragment: "claimRecipientShare", data: BytesLike): Result;
|
|
50
|
-
decodeFunctionResult(functionFragment: "clearCustomFeePercentage", data: BytesLike): Result;
|
|
51
|
-
decodeFunctionResult(functionFragment: "customFeeDiscount", data: BytesLike): Result;
|
|
52
|
-
decodeFunctionResult(functionFragment: "delegateTo", data: BytesLike): Result;
|
|
53
|
-
decodeFunctionResult(functionFragment: "delegationFee", data: BytesLike): Result;
|
|
54
|
-
decodeFunctionResult(functionFragment: "distributeClaimableFunds", data: BytesLike): Result;
|
|
55
|
-
decodeFunctionResult(functionFragment: "emergencyUnpause", data: BytesLike): Result;
|
|
56
|
-
decodeFunctionResult(functionFragment: "getCustomFeePercentage", data: BytesLike): Result;
|
|
57
|
-
decodeFunctionResult(functionFragment: "getDelegationFee", data: BytesLike): Result;
|
|
58
|
-
decodeFunctionResult(functionFragment: "getFee", data: BytesLike): Result;
|
|
59
|
-
decodeFunctionResult(functionFragment: "getOwnerClaimable", data: BytesLike): Result;
|
|
60
|
-
decodeFunctionResult(functionFragment: "getRecipientClaimable", data: BytesLike): Result;
|
|
61
|
-
decodeFunctionResult(functionFragment: "isPaused", data: BytesLike): Result;
|
|
62
|
-
decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
|
|
63
|
-
decodeFunctionResult(functionFragment: "ownerClaimable", data: BytesLike): Result;
|
|
64
|
-
decodeFunctionResult(functionFragment: "pause", data: BytesLike): Result;
|
|
65
|
-
decodeFunctionResult(functionFragment: "paused", data: BytesLike): Result;
|
|
66
|
-
decodeFunctionResult(functionFragment: "permissions", data: BytesLike): Result;
|
|
67
|
-
decodeFunctionResult(functionFragment: "recipientClaims", data: BytesLike): Result;
|
|
68
|
-
decodeFunctionResult(functionFragment: "rejectDelegation", data: BytesLike): Result;
|
|
69
|
-
decodeFunctionResult(functionFragment: "removePermission", data: BytesLike): Result;
|
|
70
|
-
decodeFunctionResult(functionFragment: "send", data: BytesLike): Result;
|
|
71
|
-
decodeFunctionResult(functionFragment: "sendFee", data: BytesLike): Result;
|
|
72
|
-
decodeFunctionResult(functionFragment: "sendPrepared", data: BytesLike): Result;
|
|
73
|
-
decodeFunctionResult(functionFragment: "sendPreparedToEmailAddress", data: BytesLike): Result;
|
|
74
|
-
decodeFunctionResult(functionFragment: "sendThroughWebhook", data: BytesLike): Result;
|
|
75
|
-
decodeFunctionResult(functionFragment: "sendToEmailAddress", data: BytesLike): Result;
|
|
76
|
-
decodeFunctionResult(functionFragment: "setCustomFeePercentage", data: BytesLike): Result;
|
|
77
|
-
decodeFunctionResult(functionFragment: "setDelegationFee", data: BytesLike): Result;
|
|
78
|
-
decodeFunctionResult(functionFragment: "setFee", data: BytesLike): Result;
|
|
79
|
-
decodeFunctionResult(functionFragment: "setPermission", data: BytesLike): Result;
|
|
80
|
-
decodeFunctionResult(functionFragment: "unpause", data: BytesLike): Result;
|
|
81
|
-
decodeFunctionResult(functionFragment: "usdcToken", data: BytesLike): Result;
|
|
82
|
-
}
|
|
83
|
-
export declare namespace ContractPausedEvent {
|
|
84
|
-
type InputTuple = [];
|
|
85
|
-
type OutputTuple = [];
|
|
86
|
-
interface OutputObject {
|
|
87
|
-
}
|
|
88
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
89
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
90
|
-
type Log = TypedEventLog<Event>;
|
|
91
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
92
|
-
}
|
|
93
|
-
export declare namespace ContractUnpausedEvent {
|
|
94
|
-
type InputTuple = [];
|
|
95
|
-
type OutputTuple = [];
|
|
96
|
-
interface OutputObject {
|
|
97
|
-
}
|
|
98
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
99
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
100
|
-
type Log = TypedEventLog<Event>;
|
|
101
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
102
|
-
}
|
|
103
|
-
export declare namespace CustomFeePercentageSetEvent {
|
|
104
|
-
type InputTuple = [account: AddressLike, percentage: BigNumberish];
|
|
105
|
-
type OutputTuple = [account: string, percentage: bigint];
|
|
106
|
-
interface OutputObject {
|
|
107
|
-
account: string;
|
|
108
|
-
percentage: bigint;
|
|
109
|
-
}
|
|
110
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
111
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
112
|
-
type Log = TypedEventLog<Event>;
|
|
113
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
114
|
-
}
|
|
115
|
-
export declare namespace DelegationFeeUpdatedEvent {
|
|
116
|
-
type InputTuple = [oldFee: BigNumberish, newFee: BigNumberish];
|
|
117
|
-
type OutputTuple = [oldFee: bigint, newFee: bigint];
|
|
118
|
-
interface OutputObject {
|
|
119
|
-
oldFee: bigint;
|
|
120
|
-
newFee: bigint;
|
|
121
|
-
}
|
|
122
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
123
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
124
|
-
type Log = TypedEventLog<Event>;
|
|
125
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
126
|
-
}
|
|
127
|
-
export declare namespace DelegationSetEvent {
|
|
128
|
-
type InputTuple = [delegator: AddressLike, delegate: AddressLike];
|
|
129
|
-
type OutputTuple = [delegator: string, delegate: string];
|
|
130
|
-
interface OutputObject {
|
|
131
|
-
delegator: string;
|
|
132
|
-
delegate: string;
|
|
133
|
-
}
|
|
134
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
135
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
136
|
-
type Log = TypedEventLog<Event>;
|
|
137
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
138
|
-
}
|
|
139
|
-
export declare namespace EmergencyUnpausedEvent {
|
|
140
|
-
type InputTuple = [];
|
|
141
|
-
type OutputTuple = [];
|
|
142
|
-
interface OutputObject {
|
|
143
|
-
}
|
|
144
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
145
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
146
|
-
type Log = TypedEventLog<Event>;
|
|
147
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
148
|
-
}
|
|
149
|
-
export declare namespace ExpiredSharesClaimedEvent {
|
|
150
|
-
type InputTuple = [recipient: AddressLike, amount: BigNumberish];
|
|
151
|
-
type OutputTuple = [recipient: string, amount: bigint];
|
|
152
|
-
interface OutputObject {
|
|
153
|
-
recipient: string;
|
|
154
|
-
amount: bigint;
|
|
155
|
-
}
|
|
156
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
157
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
158
|
-
type Log = TypedEventLog<Event>;
|
|
159
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
160
|
-
}
|
|
161
|
-
export declare namespace FeeUpdatedEvent {
|
|
162
|
-
type InputTuple = [oldFee: BigNumberish, newFee: BigNumberish];
|
|
163
|
-
type OutputTuple = [oldFee: bigint, newFee: bigint];
|
|
164
|
-
interface OutputObject {
|
|
165
|
-
oldFee: bigint;
|
|
166
|
-
newFee: bigint;
|
|
167
|
-
}
|
|
168
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
169
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
170
|
-
type Log = TypedEventLog<Event>;
|
|
171
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
172
|
-
}
|
|
173
|
-
export declare namespace FundsDistributedEvent {
|
|
174
|
-
type InputTuple = [recipient: AddressLike, amount: BigNumberish];
|
|
175
|
-
type OutputTuple = [recipient: string, amount: bigint];
|
|
176
|
-
interface OutputObject {
|
|
177
|
-
recipient: string;
|
|
178
|
-
amount: bigint;
|
|
179
|
-
}
|
|
180
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
181
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
182
|
-
type Log = TypedEventLog<Event>;
|
|
183
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
184
|
-
}
|
|
185
|
-
export declare namespace MailSentEvent {
|
|
186
|
-
type InputTuple = [
|
|
187
|
-
from: AddressLike,
|
|
188
|
-
to: AddressLike,
|
|
189
|
-
subject: string,
|
|
190
|
-
body: string,
|
|
191
|
-
revenueShareToReceiver: boolean,
|
|
192
|
-
resolveSenderToName: boolean
|
|
193
|
-
];
|
|
194
|
-
type OutputTuple = [
|
|
195
|
-
from: string,
|
|
196
|
-
to: string,
|
|
197
|
-
subject: string,
|
|
198
|
-
body: string,
|
|
199
|
-
revenueShareToReceiver: boolean,
|
|
200
|
-
resolveSenderToName: boolean
|
|
201
|
-
];
|
|
202
|
-
interface OutputObject {
|
|
203
|
-
from: string;
|
|
204
|
-
to: string;
|
|
205
|
-
subject: string;
|
|
206
|
-
body: string;
|
|
207
|
-
revenueShareToReceiver: boolean;
|
|
208
|
-
resolveSenderToName: boolean;
|
|
209
|
-
}
|
|
210
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
211
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
212
|
-
type Log = TypedEventLog<Event>;
|
|
213
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
214
|
-
}
|
|
215
|
-
export declare namespace MailSentToEmailEvent {
|
|
216
|
-
type InputTuple = [
|
|
217
|
-
from: AddressLike,
|
|
218
|
-
toEmail: string,
|
|
219
|
-
subject: string,
|
|
220
|
-
body: string
|
|
221
|
-
];
|
|
222
|
-
type OutputTuple = [
|
|
223
|
-
from: string,
|
|
224
|
-
toEmail: string,
|
|
225
|
-
subject: string,
|
|
226
|
-
body: string
|
|
227
|
-
];
|
|
228
|
-
interface OutputObject {
|
|
229
|
-
from: string;
|
|
230
|
-
toEmail: string;
|
|
231
|
-
subject: string;
|
|
232
|
-
body: string;
|
|
233
|
-
}
|
|
234
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
235
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
236
|
-
type Log = TypedEventLog<Event>;
|
|
237
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
238
|
-
}
|
|
239
|
-
export declare namespace OwnerClaimedEvent {
|
|
240
|
-
type InputTuple = [amount: BigNumberish];
|
|
241
|
-
type OutputTuple = [amount: bigint];
|
|
242
|
-
interface OutputObject {
|
|
243
|
-
amount: bigint;
|
|
244
|
-
}
|
|
245
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
246
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
247
|
-
type Log = TypedEventLog<Event>;
|
|
248
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
249
|
-
}
|
|
250
|
-
export declare namespace PermissionGrantedEvent {
|
|
251
|
-
type InputTuple = [contractAddress: AddressLike, wallet: AddressLike];
|
|
252
|
-
type OutputTuple = [contractAddress: string, wallet: string];
|
|
253
|
-
interface OutputObject {
|
|
254
|
-
contractAddress: string;
|
|
255
|
-
wallet: string;
|
|
256
|
-
}
|
|
257
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
258
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
259
|
-
type Log = TypedEventLog<Event>;
|
|
260
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
261
|
-
}
|
|
262
|
-
export declare namespace PermissionRevokedEvent {
|
|
263
|
-
type InputTuple = [contractAddress: AddressLike, wallet: AddressLike];
|
|
264
|
-
type OutputTuple = [contractAddress: string, wallet: string];
|
|
265
|
-
interface OutputObject {
|
|
266
|
-
contractAddress: string;
|
|
267
|
-
wallet: string;
|
|
268
|
-
}
|
|
269
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
270
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
271
|
-
type Log = TypedEventLog<Event>;
|
|
272
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
273
|
-
}
|
|
274
|
-
export declare namespace PreparedMailSentEvent {
|
|
275
|
-
type InputTuple = [
|
|
276
|
-
from: AddressLike,
|
|
277
|
-
to: AddressLike,
|
|
278
|
-
mailId: string,
|
|
279
|
-
revenueShareToReceiver: boolean,
|
|
280
|
-
resolveSenderToName: boolean
|
|
281
|
-
];
|
|
282
|
-
type OutputTuple = [
|
|
283
|
-
from: string,
|
|
284
|
-
to: string,
|
|
285
|
-
mailId: string,
|
|
286
|
-
revenueShareToReceiver: boolean,
|
|
287
|
-
resolveSenderToName: boolean
|
|
288
|
-
];
|
|
289
|
-
interface OutputObject {
|
|
290
|
-
from: string;
|
|
291
|
-
to: string;
|
|
292
|
-
mailId: string;
|
|
293
|
-
revenueShareToReceiver: boolean;
|
|
294
|
-
resolveSenderToName: boolean;
|
|
295
|
-
}
|
|
296
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
297
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
298
|
-
type Log = TypedEventLog<Event>;
|
|
299
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
300
|
-
}
|
|
301
|
-
export declare namespace PreparedMailSentToEmailEvent {
|
|
302
|
-
type InputTuple = [from: AddressLike, toEmail: string, mailId: string];
|
|
303
|
-
type OutputTuple = [from: string, toEmail: string, mailId: string];
|
|
304
|
-
interface OutputObject {
|
|
305
|
-
from: string;
|
|
306
|
-
toEmail: string;
|
|
307
|
-
mailId: string;
|
|
308
|
-
}
|
|
309
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
310
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
311
|
-
type Log = TypedEventLog<Event>;
|
|
312
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
313
|
-
}
|
|
314
|
-
export declare namespace RecipientClaimedEvent {
|
|
315
|
-
type InputTuple = [recipient: AddressLike, amount: BigNumberish];
|
|
316
|
-
type OutputTuple = [recipient: string, amount: bigint];
|
|
317
|
-
interface OutputObject {
|
|
318
|
-
recipient: string;
|
|
319
|
-
amount: bigint;
|
|
320
|
-
}
|
|
321
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
322
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
323
|
-
type Log = TypedEventLog<Event>;
|
|
324
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
325
|
-
}
|
|
326
|
-
export declare namespace SharesRecordedEvent {
|
|
327
|
-
type InputTuple = [
|
|
328
|
-
recipient: AddressLike,
|
|
329
|
-
recipientAmount: BigNumberish,
|
|
330
|
-
ownerAmount: BigNumberish
|
|
331
|
-
];
|
|
332
|
-
type OutputTuple = [
|
|
333
|
-
recipient: string,
|
|
334
|
-
recipientAmount: bigint,
|
|
335
|
-
ownerAmount: bigint
|
|
336
|
-
];
|
|
337
|
-
interface OutputObject {
|
|
338
|
-
recipient: string;
|
|
339
|
-
recipientAmount: bigint;
|
|
340
|
-
ownerAmount: bigint;
|
|
341
|
-
}
|
|
342
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
343
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
344
|
-
type Log = TypedEventLog<Event>;
|
|
345
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
346
|
-
}
|
|
347
|
-
export declare namespace WebhookMailSentEvent {
|
|
348
|
-
type InputTuple = [
|
|
349
|
-
from: AddressLike,
|
|
350
|
-
to: AddressLike,
|
|
351
|
-
webhookId: string,
|
|
352
|
-
revenueShareToReceiver: boolean,
|
|
353
|
-
resolveSenderToName: boolean
|
|
354
|
-
];
|
|
355
|
-
type OutputTuple = [
|
|
356
|
-
from: string,
|
|
357
|
-
to: string,
|
|
358
|
-
webhookId: string,
|
|
359
|
-
revenueShareToReceiver: boolean,
|
|
360
|
-
resolveSenderToName: boolean
|
|
361
|
-
];
|
|
362
|
-
interface OutputObject {
|
|
363
|
-
from: string;
|
|
364
|
-
to: string;
|
|
365
|
-
webhookId: string;
|
|
366
|
-
revenueShareToReceiver: boolean;
|
|
367
|
-
resolveSenderToName: boolean;
|
|
368
|
-
}
|
|
369
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
370
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
371
|
-
type Log = TypedEventLog<Event>;
|
|
372
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
373
|
-
}
|
|
374
|
-
export interface Mailer extends BaseContract {
|
|
375
|
-
connect(runner?: ContractRunner | null): Mailer;
|
|
376
|
-
waitForDeployment(): Promise<this>;
|
|
377
|
-
interface: MailerInterface;
|
|
378
|
-
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
379
|
-
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
380
|
-
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
381
|
-
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
382
|
-
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
383
|
-
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
384
|
-
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
385
|
-
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
386
|
-
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
387
|
-
CLAIM_PERIOD: TypedContractMethod<[], [bigint], "view">;
|
|
388
|
-
OWNER_SHARE: TypedContractMethod<[], [bigint], "view">;
|
|
389
|
-
RECIPIENT_SHARE: TypedContractMethod<[], [bigint], "view">;
|
|
390
|
-
claimExpiredShares: TypedContractMethod<[
|
|
391
|
-
recipient: AddressLike
|
|
392
|
-
], [
|
|
393
|
-
void
|
|
394
|
-
], "nonpayable">;
|
|
395
|
-
claimOwnerShare: TypedContractMethod<[], [void], "nonpayable">;
|
|
396
|
-
claimRecipientShare: TypedContractMethod<[], [void], "nonpayable">;
|
|
397
|
-
clearCustomFeePercentage: TypedContractMethod<[
|
|
398
|
-
account: AddressLike
|
|
399
|
-
], [
|
|
400
|
-
void
|
|
401
|
-
], "nonpayable">;
|
|
402
|
-
customFeeDiscount: TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
|
|
403
|
-
delegateTo: TypedContractMethod<[
|
|
404
|
-
delegate: AddressLike
|
|
405
|
-
], [
|
|
406
|
-
void
|
|
407
|
-
], "nonpayable">;
|
|
408
|
-
delegationFee: TypedContractMethod<[], [bigint], "view">;
|
|
409
|
-
distributeClaimableFunds: TypedContractMethod<[
|
|
410
|
-
recipient: AddressLike
|
|
411
|
-
], [
|
|
412
|
-
void
|
|
413
|
-
], "nonpayable">;
|
|
414
|
-
emergencyUnpause: TypedContractMethod<[], [void], "nonpayable">;
|
|
415
|
-
getCustomFeePercentage: TypedContractMethod<[
|
|
416
|
-
account: AddressLike
|
|
417
|
-
], [
|
|
418
|
-
bigint
|
|
419
|
-
], "view">;
|
|
420
|
-
getDelegationFee: TypedContractMethod<[], [bigint], "view">;
|
|
421
|
-
getFee: TypedContractMethod<[], [bigint], "view">;
|
|
422
|
-
getOwnerClaimable: TypedContractMethod<[], [bigint], "view">;
|
|
423
|
-
getRecipientClaimable: TypedContractMethod<[
|
|
424
|
-
recipient: AddressLike
|
|
425
|
-
], [
|
|
426
|
-
[
|
|
427
|
-
bigint,
|
|
428
|
-
bigint,
|
|
429
|
-
boolean
|
|
430
|
-
] & {
|
|
431
|
-
amount: bigint;
|
|
432
|
-
expiresAt: bigint;
|
|
433
|
-
isExpired: boolean;
|
|
434
|
-
}
|
|
435
|
-
], "view">;
|
|
436
|
-
isPaused: TypedContractMethod<[], [boolean], "view">;
|
|
437
|
-
owner: TypedContractMethod<[], [string], "view">;
|
|
438
|
-
ownerClaimable: TypedContractMethod<[], [bigint], "view">;
|
|
439
|
-
pause: TypedContractMethod<[], [void], "nonpayable">;
|
|
440
|
-
paused: TypedContractMethod<[], [boolean], "view">;
|
|
441
|
-
permissions: TypedContractMethod<[
|
|
442
|
-
arg0: AddressLike,
|
|
443
|
-
arg1: AddressLike
|
|
444
|
-
], [
|
|
445
|
-
boolean
|
|
446
|
-
], "view">;
|
|
447
|
-
recipientClaims: TypedContractMethod<[
|
|
448
|
-
arg0: AddressLike
|
|
449
|
-
], [
|
|
450
|
-
[bigint, bigint] & {
|
|
451
|
-
amount: bigint;
|
|
452
|
-
timestamp: bigint;
|
|
453
|
-
}
|
|
454
|
-
], "view">;
|
|
455
|
-
rejectDelegation: TypedContractMethod<[
|
|
456
|
-
delegatingAddress: AddressLike
|
|
457
|
-
], [
|
|
458
|
-
void
|
|
459
|
-
], "nonpayable">;
|
|
460
|
-
removePermission: TypedContractMethod<[
|
|
461
|
-
contractAddress: AddressLike
|
|
462
|
-
], [
|
|
463
|
-
void
|
|
464
|
-
], "nonpayable">;
|
|
465
|
-
send: TypedContractMethod<[
|
|
466
|
-
to: AddressLike,
|
|
467
|
-
subject: string,
|
|
468
|
-
body: string,
|
|
469
|
-
payer: AddressLike,
|
|
470
|
-
revenueShareToReceiver: boolean,
|
|
471
|
-
resolveSenderToName: boolean
|
|
472
|
-
], [
|
|
473
|
-
void
|
|
474
|
-
], "nonpayable">;
|
|
475
|
-
sendFee: TypedContractMethod<[], [bigint], "view">;
|
|
476
|
-
sendPrepared: TypedContractMethod<[
|
|
477
|
-
to: AddressLike,
|
|
478
|
-
mailId: string,
|
|
479
|
-
payer: AddressLike,
|
|
480
|
-
revenueShareToReceiver: boolean,
|
|
481
|
-
resolveSenderToName: boolean
|
|
482
|
-
], [
|
|
483
|
-
void
|
|
484
|
-
], "nonpayable">;
|
|
485
|
-
sendPreparedToEmailAddress: TypedContractMethod<[
|
|
486
|
-
toEmail: string,
|
|
487
|
-
mailId: string,
|
|
488
|
-
payer: AddressLike
|
|
489
|
-
], [
|
|
490
|
-
void
|
|
491
|
-
], "nonpayable">;
|
|
492
|
-
sendThroughWebhook: TypedContractMethod<[
|
|
493
|
-
to: AddressLike,
|
|
494
|
-
webhookId: string,
|
|
495
|
-
payer: AddressLike,
|
|
496
|
-
revenueShareToReceiver: boolean,
|
|
497
|
-
resolveSenderToName: boolean
|
|
498
|
-
], [
|
|
499
|
-
void
|
|
500
|
-
], "nonpayable">;
|
|
501
|
-
sendToEmailAddress: TypedContractMethod<[
|
|
502
|
-
toEmail: string,
|
|
503
|
-
subject: string,
|
|
504
|
-
body: string,
|
|
505
|
-
payer: AddressLike
|
|
506
|
-
], [
|
|
507
|
-
void
|
|
508
|
-
], "nonpayable">;
|
|
509
|
-
setCustomFeePercentage: TypedContractMethod<[
|
|
510
|
-
account: AddressLike,
|
|
511
|
-
percentage: BigNumberish
|
|
512
|
-
], [
|
|
513
|
-
void
|
|
514
|
-
], "nonpayable">;
|
|
515
|
-
setDelegationFee: TypedContractMethod<[
|
|
516
|
-
usdcAmount: BigNumberish
|
|
517
|
-
], [
|
|
518
|
-
void
|
|
519
|
-
], "nonpayable">;
|
|
520
|
-
setFee: TypedContractMethod<[usdcAmount: BigNumberish], [void], "nonpayable">;
|
|
521
|
-
setPermission: TypedContractMethod<[
|
|
522
|
-
contractAddress: AddressLike
|
|
523
|
-
], [
|
|
524
|
-
void
|
|
525
|
-
], "nonpayable">;
|
|
526
|
-
unpause: TypedContractMethod<[], [void], "nonpayable">;
|
|
527
|
-
usdcToken: TypedContractMethod<[], [string], "view">;
|
|
528
|
-
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
529
|
-
getFunction(nameOrSignature: "CLAIM_PERIOD"): TypedContractMethod<[], [bigint], "view">;
|
|
530
|
-
getFunction(nameOrSignature: "OWNER_SHARE"): TypedContractMethod<[], [bigint], "view">;
|
|
531
|
-
getFunction(nameOrSignature: "RECIPIENT_SHARE"): TypedContractMethod<[], [bigint], "view">;
|
|
532
|
-
getFunction(nameOrSignature: "claimExpiredShares"): TypedContractMethod<[recipient: AddressLike], [void], "nonpayable">;
|
|
533
|
-
getFunction(nameOrSignature: "claimOwnerShare"): TypedContractMethod<[], [void], "nonpayable">;
|
|
534
|
-
getFunction(nameOrSignature: "claimRecipientShare"): TypedContractMethod<[], [void], "nonpayable">;
|
|
535
|
-
getFunction(nameOrSignature: "clearCustomFeePercentage"): TypedContractMethod<[account: AddressLike], [void], "nonpayable">;
|
|
536
|
-
getFunction(nameOrSignature: "customFeeDiscount"): TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
|
|
537
|
-
getFunction(nameOrSignature: "delegateTo"): TypedContractMethod<[delegate: AddressLike], [void], "nonpayable">;
|
|
538
|
-
getFunction(nameOrSignature: "delegationFee"): TypedContractMethod<[], [bigint], "view">;
|
|
539
|
-
getFunction(nameOrSignature: "distributeClaimableFunds"): TypedContractMethod<[recipient: AddressLike], [void], "nonpayable">;
|
|
540
|
-
getFunction(nameOrSignature: "emergencyUnpause"): TypedContractMethod<[], [void], "nonpayable">;
|
|
541
|
-
getFunction(nameOrSignature: "getCustomFeePercentage"): TypedContractMethod<[account: AddressLike], [bigint], "view">;
|
|
542
|
-
getFunction(nameOrSignature: "getDelegationFee"): TypedContractMethod<[], [bigint], "view">;
|
|
543
|
-
getFunction(nameOrSignature: "getFee"): TypedContractMethod<[], [bigint], "view">;
|
|
544
|
-
getFunction(nameOrSignature: "getOwnerClaimable"): TypedContractMethod<[], [bigint], "view">;
|
|
545
|
-
getFunction(nameOrSignature: "getRecipientClaimable"): TypedContractMethod<[
|
|
546
|
-
recipient: AddressLike
|
|
547
|
-
], [
|
|
548
|
-
[
|
|
549
|
-
bigint,
|
|
550
|
-
bigint,
|
|
551
|
-
boolean
|
|
552
|
-
] & {
|
|
553
|
-
amount: bigint;
|
|
554
|
-
expiresAt: bigint;
|
|
555
|
-
isExpired: boolean;
|
|
556
|
-
}
|
|
557
|
-
], "view">;
|
|
558
|
-
getFunction(nameOrSignature: "isPaused"): TypedContractMethod<[], [boolean], "view">;
|
|
559
|
-
getFunction(nameOrSignature: "owner"): TypedContractMethod<[], [string], "view">;
|
|
560
|
-
getFunction(nameOrSignature: "ownerClaimable"): TypedContractMethod<[], [bigint], "view">;
|
|
561
|
-
getFunction(nameOrSignature: "pause"): TypedContractMethod<[], [void], "nonpayable">;
|
|
562
|
-
getFunction(nameOrSignature: "paused"): TypedContractMethod<[], [boolean], "view">;
|
|
563
|
-
getFunction(nameOrSignature: "permissions"): TypedContractMethod<[
|
|
564
|
-
arg0: AddressLike,
|
|
565
|
-
arg1: AddressLike
|
|
566
|
-
], [
|
|
567
|
-
boolean
|
|
568
|
-
], "view">;
|
|
569
|
-
getFunction(nameOrSignature: "recipientClaims"): TypedContractMethod<[
|
|
570
|
-
arg0: AddressLike
|
|
571
|
-
], [
|
|
572
|
-
[bigint, bigint] & {
|
|
573
|
-
amount: bigint;
|
|
574
|
-
timestamp: bigint;
|
|
575
|
-
}
|
|
576
|
-
], "view">;
|
|
577
|
-
getFunction(nameOrSignature: "rejectDelegation"): TypedContractMethod<[
|
|
578
|
-
delegatingAddress: AddressLike
|
|
579
|
-
], [
|
|
580
|
-
void
|
|
581
|
-
], "nonpayable">;
|
|
582
|
-
getFunction(nameOrSignature: "removePermission"): TypedContractMethod<[contractAddress: AddressLike], [void], "nonpayable">;
|
|
583
|
-
getFunction(nameOrSignature: "send"): TypedContractMethod<[
|
|
584
|
-
to: AddressLike,
|
|
585
|
-
subject: string,
|
|
586
|
-
body: string,
|
|
587
|
-
payer: AddressLike,
|
|
588
|
-
revenueShareToReceiver: boolean,
|
|
589
|
-
resolveSenderToName: boolean
|
|
590
|
-
], [
|
|
591
|
-
void
|
|
592
|
-
], "nonpayable">;
|
|
593
|
-
getFunction(nameOrSignature: "sendFee"): TypedContractMethod<[], [bigint], "view">;
|
|
594
|
-
getFunction(nameOrSignature: "sendPrepared"): TypedContractMethod<[
|
|
595
|
-
to: AddressLike,
|
|
596
|
-
mailId: string,
|
|
597
|
-
payer: AddressLike,
|
|
598
|
-
revenueShareToReceiver: boolean,
|
|
599
|
-
resolveSenderToName: boolean
|
|
600
|
-
], [
|
|
601
|
-
void
|
|
602
|
-
], "nonpayable">;
|
|
603
|
-
getFunction(nameOrSignature: "sendPreparedToEmailAddress"): TypedContractMethod<[
|
|
604
|
-
toEmail: string,
|
|
605
|
-
mailId: string,
|
|
606
|
-
payer: AddressLike
|
|
607
|
-
], [
|
|
608
|
-
void
|
|
609
|
-
], "nonpayable">;
|
|
610
|
-
getFunction(nameOrSignature: "sendThroughWebhook"): TypedContractMethod<[
|
|
611
|
-
to: AddressLike,
|
|
612
|
-
webhookId: string,
|
|
613
|
-
payer: AddressLike,
|
|
614
|
-
revenueShareToReceiver: boolean,
|
|
615
|
-
resolveSenderToName: boolean
|
|
616
|
-
], [
|
|
617
|
-
void
|
|
618
|
-
], "nonpayable">;
|
|
619
|
-
getFunction(nameOrSignature: "sendToEmailAddress"): TypedContractMethod<[
|
|
620
|
-
toEmail: string,
|
|
621
|
-
subject: string,
|
|
622
|
-
body: string,
|
|
623
|
-
payer: AddressLike
|
|
624
|
-
], [
|
|
625
|
-
void
|
|
626
|
-
], "nonpayable">;
|
|
627
|
-
getFunction(nameOrSignature: "setCustomFeePercentage"): TypedContractMethod<[
|
|
628
|
-
account: AddressLike,
|
|
629
|
-
percentage: BigNumberish
|
|
630
|
-
], [
|
|
631
|
-
void
|
|
632
|
-
], "nonpayable">;
|
|
633
|
-
getFunction(nameOrSignature: "setDelegationFee"): TypedContractMethod<[usdcAmount: BigNumberish], [void], "nonpayable">;
|
|
634
|
-
getFunction(nameOrSignature: "setFee"): TypedContractMethod<[usdcAmount: BigNumberish], [void], "nonpayable">;
|
|
635
|
-
getFunction(nameOrSignature: "setPermission"): TypedContractMethod<[contractAddress: AddressLike], [void], "nonpayable">;
|
|
636
|
-
getFunction(nameOrSignature: "unpause"): TypedContractMethod<[], [void], "nonpayable">;
|
|
637
|
-
getFunction(nameOrSignature: "usdcToken"): TypedContractMethod<[], [string], "view">;
|
|
638
|
-
getEvent(key: "ContractPaused"): TypedContractEvent<ContractPausedEvent.InputTuple, ContractPausedEvent.OutputTuple, ContractPausedEvent.OutputObject>;
|
|
639
|
-
getEvent(key: "ContractUnpaused"): TypedContractEvent<ContractUnpausedEvent.InputTuple, ContractUnpausedEvent.OutputTuple, ContractUnpausedEvent.OutputObject>;
|
|
640
|
-
getEvent(key: "CustomFeePercentageSet"): TypedContractEvent<CustomFeePercentageSetEvent.InputTuple, CustomFeePercentageSetEvent.OutputTuple, CustomFeePercentageSetEvent.OutputObject>;
|
|
641
|
-
getEvent(key: "DelegationFeeUpdated"): TypedContractEvent<DelegationFeeUpdatedEvent.InputTuple, DelegationFeeUpdatedEvent.OutputTuple, DelegationFeeUpdatedEvent.OutputObject>;
|
|
642
|
-
getEvent(key: "DelegationSet"): TypedContractEvent<DelegationSetEvent.InputTuple, DelegationSetEvent.OutputTuple, DelegationSetEvent.OutputObject>;
|
|
643
|
-
getEvent(key: "EmergencyUnpaused"): TypedContractEvent<EmergencyUnpausedEvent.InputTuple, EmergencyUnpausedEvent.OutputTuple, EmergencyUnpausedEvent.OutputObject>;
|
|
644
|
-
getEvent(key: "ExpiredSharesClaimed"): TypedContractEvent<ExpiredSharesClaimedEvent.InputTuple, ExpiredSharesClaimedEvent.OutputTuple, ExpiredSharesClaimedEvent.OutputObject>;
|
|
645
|
-
getEvent(key: "FeeUpdated"): TypedContractEvent<FeeUpdatedEvent.InputTuple, FeeUpdatedEvent.OutputTuple, FeeUpdatedEvent.OutputObject>;
|
|
646
|
-
getEvent(key: "FundsDistributed"): TypedContractEvent<FundsDistributedEvent.InputTuple, FundsDistributedEvent.OutputTuple, FundsDistributedEvent.OutputObject>;
|
|
647
|
-
getEvent(key: "MailSent"): TypedContractEvent<MailSentEvent.InputTuple, MailSentEvent.OutputTuple, MailSentEvent.OutputObject>;
|
|
648
|
-
getEvent(key: "MailSentToEmail"): TypedContractEvent<MailSentToEmailEvent.InputTuple, MailSentToEmailEvent.OutputTuple, MailSentToEmailEvent.OutputObject>;
|
|
649
|
-
getEvent(key: "OwnerClaimed"): TypedContractEvent<OwnerClaimedEvent.InputTuple, OwnerClaimedEvent.OutputTuple, OwnerClaimedEvent.OutputObject>;
|
|
650
|
-
getEvent(key: "PermissionGranted"): TypedContractEvent<PermissionGrantedEvent.InputTuple, PermissionGrantedEvent.OutputTuple, PermissionGrantedEvent.OutputObject>;
|
|
651
|
-
getEvent(key: "PermissionRevoked"): TypedContractEvent<PermissionRevokedEvent.InputTuple, PermissionRevokedEvent.OutputTuple, PermissionRevokedEvent.OutputObject>;
|
|
652
|
-
getEvent(key: "PreparedMailSent"): TypedContractEvent<PreparedMailSentEvent.InputTuple, PreparedMailSentEvent.OutputTuple, PreparedMailSentEvent.OutputObject>;
|
|
653
|
-
getEvent(key: "PreparedMailSentToEmail"): TypedContractEvent<PreparedMailSentToEmailEvent.InputTuple, PreparedMailSentToEmailEvent.OutputTuple, PreparedMailSentToEmailEvent.OutputObject>;
|
|
654
|
-
getEvent(key: "RecipientClaimed"): TypedContractEvent<RecipientClaimedEvent.InputTuple, RecipientClaimedEvent.OutputTuple, RecipientClaimedEvent.OutputObject>;
|
|
655
|
-
getEvent(key: "SharesRecorded"): TypedContractEvent<SharesRecordedEvent.InputTuple, SharesRecordedEvent.OutputTuple, SharesRecordedEvent.OutputObject>;
|
|
656
|
-
getEvent(key: "WebhookMailSent"): TypedContractEvent<WebhookMailSentEvent.InputTuple, WebhookMailSentEvent.OutputTuple, WebhookMailSentEvent.OutputObject>;
|
|
657
|
-
filters: {
|
|
658
|
-
"ContractPaused()": TypedContractEvent<ContractPausedEvent.InputTuple, ContractPausedEvent.OutputTuple, ContractPausedEvent.OutputObject>;
|
|
659
|
-
ContractPaused: TypedContractEvent<ContractPausedEvent.InputTuple, ContractPausedEvent.OutputTuple, ContractPausedEvent.OutputObject>;
|
|
660
|
-
"ContractUnpaused()": TypedContractEvent<ContractUnpausedEvent.InputTuple, ContractUnpausedEvent.OutputTuple, ContractUnpausedEvent.OutputObject>;
|
|
661
|
-
ContractUnpaused: TypedContractEvent<ContractUnpausedEvent.InputTuple, ContractUnpausedEvent.OutputTuple, ContractUnpausedEvent.OutputObject>;
|
|
662
|
-
"CustomFeePercentageSet(address,uint256)": TypedContractEvent<CustomFeePercentageSetEvent.InputTuple, CustomFeePercentageSetEvent.OutputTuple, CustomFeePercentageSetEvent.OutputObject>;
|
|
663
|
-
CustomFeePercentageSet: TypedContractEvent<CustomFeePercentageSetEvent.InputTuple, CustomFeePercentageSetEvent.OutputTuple, CustomFeePercentageSetEvent.OutputObject>;
|
|
664
|
-
"DelegationFeeUpdated(uint256,uint256)": TypedContractEvent<DelegationFeeUpdatedEvent.InputTuple, DelegationFeeUpdatedEvent.OutputTuple, DelegationFeeUpdatedEvent.OutputObject>;
|
|
665
|
-
DelegationFeeUpdated: TypedContractEvent<DelegationFeeUpdatedEvent.InputTuple, DelegationFeeUpdatedEvent.OutputTuple, DelegationFeeUpdatedEvent.OutputObject>;
|
|
666
|
-
"DelegationSet(address,address)": TypedContractEvent<DelegationSetEvent.InputTuple, DelegationSetEvent.OutputTuple, DelegationSetEvent.OutputObject>;
|
|
667
|
-
DelegationSet: TypedContractEvent<DelegationSetEvent.InputTuple, DelegationSetEvent.OutputTuple, DelegationSetEvent.OutputObject>;
|
|
668
|
-
"EmergencyUnpaused()": TypedContractEvent<EmergencyUnpausedEvent.InputTuple, EmergencyUnpausedEvent.OutputTuple, EmergencyUnpausedEvent.OutputObject>;
|
|
669
|
-
EmergencyUnpaused: TypedContractEvent<EmergencyUnpausedEvent.InputTuple, EmergencyUnpausedEvent.OutputTuple, EmergencyUnpausedEvent.OutputObject>;
|
|
670
|
-
"ExpiredSharesClaimed(address,uint256)": TypedContractEvent<ExpiredSharesClaimedEvent.InputTuple, ExpiredSharesClaimedEvent.OutputTuple, ExpiredSharesClaimedEvent.OutputObject>;
|
|
671
|
-
ExpiredSharesClaimed: TypedContractEvent<ExpiredSharesClaimedEvent.InputTuple, ExpiredSharesClaimedEvent.OutputTuple, ExpiredSharesClaimedEvent.OutputObject>;
|
|
672
|
-
"FeeUpdated(uint256,uint256)": TypedContractEvent<FeeUpdatedEvent.InputTuple, FeeUpdatedEvent.OutputTuple, FeeUpdatedEvent.OutputObject>;
|
|
673
|
-
FeeUpdated: TypedContractEvent<FeeUpdatedEvent.InputTuple, FeeUpdatedEvent.OutputTuple, FeeUpdatedEvent.OutputObject>;
|
|
674
|
-
"FundsDistributed(address,uint256)": TypedContractEvent<FundsDistributedEvent.InputTuple, FundsDistributedEvent.OutputTuple, FundsDistributedEvent.OutputObject>;
|
|
675
|
-
FundsDistributed: TypedContractEvent<FundsDistributedEvent.InputTuple, FundsDistributedEvent.OutputTuple, FundsDistributedEvent.OutputObject>;
|
|
676
|
-
"MailSent(address,address,string,string,bool,bool)": TypedContractEvent<MailSentEvent.InputTuple, MailSentEvent.OutputTuple, MailSentEvent.OutputObject>;
|
|
677
|
-
MailSent: TypedContractEvent<MailSentEvent.InputTuple, MailSentEvent.OutputTuple, MailSentEvent.OutputObject>;
|
|
678
|
-
"MailSentToEmail(address,string,string,string)": TypedContractEvent<MailSentToEmailEvent.InputTuple, MailSentToEmailEvent.OutputTuple, MailSentToEmailEvent.OutputObject>;
|
|
679
|
-
MailSentToEmail: TypedContractEvent<MailSentToEmailEvent.InputTuple, MailSentToEmailEvent.OutputTuple, MailSentToEmailEvent.OutputObject>;
|
|
680
|
-
"OwnerClaimed(uint256)": TypedContractEvent<OwnerClaimedEvent.InputTuple, OwnerClaimedEvent.OutputTuple, OwnerClaimedEvent.OutputObject>;
|
|
681
|
-
OwnerClaimed: TypedContractEvent<OwnerClaimedEvent.InputTuple, OwnerClaimedEvent.OutputTuple, OwnerClaimedEvent.OutputObject>;
|
|
682
|
-
"PermissionGranted(address,address)": TypedContractEvent<PermissionGrantedEvent.InputTuple, PermissionGrantedEvent.OutputTuple, PermissionGrantedEvent.OutputObject>;
|
|
683
|
-
PermissionGranted: TypedContractEvent<PermissionGrantedEvent.InputTuple, PermissionGrantedEvent.OutputTuple, PermissionGrantedEvent.OutputObject>;
|
|
684
|
-
"PermissionRevoked(address,address)": TypedContractEvent<PermissionRevokedEvent.InputTuple, PermissionRevokedEvent.OutputTuple, PermissionRevokedEvent.OutputObject>;
|
|
685
|
-
PermissionRevoked: TypedContractEvent<PermissionRevokedEvent.InputTuple, PermissionRevokedEvent.OutputTuple, PermissionRevokedEvent.OutputObject>;
|
|
686
|
-
"PreparedMailSent(address,address,string,bool,bool)": TypedContractEvent<PreparedMailSentEvent.InputTuple, PreparedMailSentEvent.OutputTuple, PreparedMailSentEvent.OutputObject>;
|
|
687
|
-
PreparedMailSent: TypedContractEvent<PreparedMailSentEvent.InputTuple, PreparedMailSentEvent.OutputTuple, PreparedMailSentEvent.OutputObject>;
|
|
688
|
-
"PreparedMailSentToEmail(address,string,string)": TypedContractEvent<PreparedMailSentToEmailEvent.InputTuple, PreparedMailSentToEmailEvent.OutputTuple, PreparedMailSentToEmailEvent.OutputObject>;
|
|
689
|
-
PreparedMailSentToEmail: TypedContractEvent<PreparedMailSentToEmailEvent.InputTuple, PreparedMailSentToEmailEvent.OutputTuple, PreparedMailSentToEmailEvent.OutputObject>;
|
|
690
|
-
"RecipientClaimed(address,uint256)": TypedContractEvent<RecipientClaimedEvent.InputTuple, RecipientClaimedEvent.OutputTuple, RecipientClaimedEvent.OutputObject>;
|
|
691
|
-
RecipientClaimed: TypedContractEvent<RecipientClaimedEvent.InputTuple, RecipientClaimedEvent.OutputTuple, RecipientClaimedEvent.OutputObject>;
|
|
692
|
-
"SharesRecorded(address,uint256,uint256)": TypedContractEvent<SharesRecordedEvent.InputTuple, SharesRecordedEvent.OutputTuple, SharesRecordedEvent.OutputObject>;
|
|
693
|
-
SharesRecorded: TypedContractEvent<SharesRecordedEvent.InputTuple, SharesRecordedEvent.OutputTuple, SharesRecordedEvent.OutputObject>;
|
|
694
|
-
"WebhookMailSent(address,address,string,bool,bool)": TypedContractEvent<WebhookMailSentEvent.InputTuple, WebhookMailSentEvent.OutputTuple, WebhookMailSentEvent.OutputObject>;
|
|
695
|
-
WebhookMailSent: TypedContractEvent<WebhookMailSentEvent.InputTuple, WebhookMailSentEvent.OutputTuple, WebhookMailSentEvent.OutputObject>;
|
|
696
|
-
};
|
|
697
|
-
}
|
|
698
|
-
//# sourceMappingURL=Mailer.d.ts.map
|