@sudobility/contracts 1.17.27 → 1.17.31
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/react-native/src/evm/evm-mailer-client.d.ts +1277 -0
- package/dist/react-native/src/evm/evm-mailer-client.d.ts.map +1 -0
- package/dist/react-native/src/evm/evm-mailer-client.js +968 -0
- package/dist/react-native/src/evm/evm-mailer-client.js.map +1 -0
- package/dist/react-native/src/evm/index.d.ts +4 -0
- package/dist/react-native/src/evm/index.d.ts.map +1 -0
- package/dist/react-native/src/evm/index.js +5 -0
- package/dist/react-native/src/evm/index.js.map +1 -0
- package/dist/react-native/src/react-native/index.d.ts +23 -0
- package/dist/react-native/src/react-native/index.d.ts.map +1 -0
- package/dist/react-native/src/react-native/index.js +23 -0
- package/dist/react-native/src/react-native/index.js.map +1 -0
- package/dist/react-native/src/react-native/polyfills.d.ts +39 -0
- package/dist/react-native/src/react-native/polyfills.d.ts.map +1 -0
- package/dist/react-native/src/react-native/polyfills.js +75 -0
- package/dist/react-native/src/react-native/polyfills.js.map +1 -0
- package/dist/react-native/src/solana/index.d.ts +3 -0
- package/dist/react-native/src/solana/index.d.ts.map +1 -0
- package/dist/react-native/src/solana/index.js +4 -0
- package/dist/react-native/src/solana/index.js.map +1 -0
- package/dist/react-native/src/solana/solana-mailer-client.d.ts +213 -0
- package/dist/react-native/src/solana/solana-mailer-client.d.ts.map +1 -0
- package/dist/react-native/src/solana/solana-mailer-client.js +1055 -0
- package/dist/react-native/src/solana/solana-mailer-client.js.map +1 -0
- package/dist/react-native/src/solana/types.d.ts +29 -0
- package/dist/react-native/src/solana/types.d.ts.map +1 -0
- package/dist/react-native/src/solana/types.js +16 -0
- package/dist/react-native/src/solana/types.js.map +1 -0
- package/dist/react-native/src/unified/index.d.ts +4 -0
- package/dist/react-native/src/unified/index.d.ts.map +1 -0
- package/dist/react-native/src/unified/index.js +4 -0
- package/dist/react-native/src/unified/index.js.map +1 -0
- package/dist/react-native/src/unified/onchain-mailer-client.d.ts +280 -0
- package/dist/react-native/src/unified/onchain-mailer-client.d.ts.map +1 -0
- package/dist/react-native/src/unified/onchain-mailer-client.js +837 -0
- package/dist/react-native/src/unified/onchain-mailer-client.js.map +1 -0
- package/dist/react-native/src/unified/types.d.ts +54 -0
- package/dist/react-native/src/unified/types.d.ts.map +1 -0
- package/dist/react-native/src/unified/types.js +2 -0
- package/dist/react-native/src/unified/types.js.map +1 -0
- package/dist/react-native/src/unified/wallet-detector.d.ts +28 -0
- package/dist/react-native/src/unified/wallet-detector.d.ts.map +1 -0
- package/dist/react-native/src/unified/wallet-detector.js +59 -0
- package/dist/react-native/src/unified/wallet-detector.js.map +1 -0
- package/dist/react-native/src/utils/chain-config.d.ts +75 -0
- package/dist/react-native/src/utils/chain-config.d.ts.map +1 -0
- package/dist/react-native/src/utils/chain-config.js +199 -0
- package/dist/react-native/src/utils/chain-config.js.map +1 -0
- package/dist/react-native/src/utils/currency.d.ts +26 -0
- package/dist/react-native/src/utils/currency.d.ts.map +1 -0
- package/dist/react-native/src/utils/currency.js +31 -0
- package/dist/react-native/src/utils/currency.js.map +1 -0
- package/dist/react-native/src/utils/index.d.ts +4 -0
- package/dist/react-native/src/utils/index.d.ts.map +1 -0
- package/dist/react-native/src/utils/index.js +4 -0
- package/dist/react-native/src/utils/index.js.map +1 -0
- package/dist/react-native/src/utils/validation.d.ts +10 -0
- package/dist/react-native/src/utils/validation.d.ts.map +1 -0
- package/dist/react-native/src/utils/validation.js +96 -0
- package/dist/react-native/src/utils/validation.js.map +1 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts/index.d.ts +7 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts/index.d.ts.map +1 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts/index.js +2 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts/index.js.map +1 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts/interfaces/IERC1967.d.ts +66 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts/interfaces/IERC1967.d.ts.map +1 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts/interfaces/IERC1967.js +2 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts/interfaces/IERC1967.js.map +1 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/IERC1822Proxiable.d.ts +26 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/IERC1822Proxiable.d.ts.map +1 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/IERC1822Proxiable.js +2 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/IERC1822Proxiable.js.map +1 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/index.d.ts +2 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/index.d.ts.map +1 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/index.js +2 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/index.js.map +1 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts/interfaces/index.d.ts +4 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts/interfaces/index.d.ts.map +1 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts/interfaces/index.js +2 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts/interfaces/index.js.map +1 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils.d.ts +21 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils.d.ts.map +1 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils.js +2 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils.js.map +1 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts/proxy/ERC1967/index.d.ts +2 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts/proxy/ERC1967/index.d.ts.map +1 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts/proxy/ERC1967/index.js +2 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts/proxy/ERC1967/index.js.map +1 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts/proxy/beacon/IBeacon.d.ts +26 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts/proxy/beacon/IBeacon.d.ts.map +1 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts/proxy/beacon/IBeacon.js +2 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts/proxy/beacon/IBeacon.js.map +1 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts/proxy/beacon/index.d.ts +2 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts/proxy/beacon/index.d.ts.map +1 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts/proxy/beacon/index.js +2 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts/proxy/beacon/index.js.map +1 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts/proxy/index.d.ts +5 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts/proxy/index.d.ts.map +1 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts/proxy/index.js +2 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts/proxy/index.js.map +1 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts/utils/Address.d.ts +21 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts/utils/Address.d.ts.map +1 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts/utils/Address.js +2 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts/utils/Address.js.map +1 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts/utils/Errors.d.ts +21 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts/utils/Errors.d.ts.map +1 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts/utils/Errors.js +2 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts/utils/Errors.js.map +1 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts/utils/index.d.ts +3 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts/utils/index.d.ts.map +1 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts/utils/index.js +2 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts/utils/index.js.map +1 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.d.ts +69 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.d.ts.map +1 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.js +2 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.js.map +1 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts-upgradeable/access/index.d.ts +2 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts-upgradeable/access/index.d.ts.map +1 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts-upgradeable/access/index.js +2 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts-upgradeable/access/index.js.map +1 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts-upgradeable/index.d.ts +7 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts-upgradeable/index.d.ts.map +1 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts-upgradeable/index.js +2 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts-upgradeable/index.js.map +1 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts-upgradeable/proxy/index.d.ts +3 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts-upgradeable/proxy/index.d.ts.map +1 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts-upgradeable/proxy/index.js +2 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts-upgradeable/proxy/index.js.map +1 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.d.ts +37 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.d.ts.map +1 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.js +2 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.js.map +1 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.d.ts +74 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.d.ts.map +1 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.js +2 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.js.map +1 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts-upgradeable/proxy/utils/index.d.ts +3 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts-upgradeable/proxy/utils/index.d.ts.map +1 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts-upgradeable/proxy/utils/index.js +2 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts-upgradeable/proxy/utils/index.js.map +1 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.d.ts +37 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.d.ts.map +1 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.js +2 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.js.map +1 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts-upgradeable/utils/index.d.ts +2 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts-upgradeable/utils/index.d.ts.map +1 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts-upgradeable/utils/index.js +2 -0
- package/dist/react-native/typechain-types/@openzeppelin/contracts-upgradeable/utils/index.js.map +1 -0
- package/dist/react-native/typechain-types/@openzeppelin/index.d.ts +5 -0
- package/dist/react-native/typechain-types/@openzeppelin/index.d.ts.map +1 -0
- package/dist/react-native/typechain-types/@openzeppelin/index.js +2 -0
- package/dist/react-native/typechain-types/@openzeppelin/index.js.map +1 -0
- package/dist/react-native/typechain-types/common.d.ts +51 -0
- package/dist/react-native/typechain-types/common.d.ts.map +1 -0
- package/dist/react-native/typechain-types/common.js +2 -0
- package/dist/react-native/typechain-types/common.js.map +1 -0
- package/dist/react-native/typechain-types/contracts/Mailer.d.ts +845 -0
- package/dist/react-native/typechain-types/contracts/Mailer.d.ts.map +1 -0
- package/dist/react-native/typechain-types/contracts/Mailer.js +2 -0
- package/dist/react-native/typechain-types/contracts/Mailer.js.map +1 -0
- package/dist/react-native/typechain-types/contracts/MockUSDC.d.ts +118 -0
- package/dist/react-native/typechain-types/contracts/MockUSDC.d.ts.map +1 -0
- package/dist/react-native/typechain-types/contracts/MockUSDC.js +2 -0
- package/dist/react-native/typechain-types/contracts/MockUSDC.js.map +1 -0
- package/dist/react-native/typechain-types/contracts/examples/MailerIntegrationExample.d.ts +170 -0
- package/dist/react-native/typechain-types/contracts/examples/MailerIntegrationExample.d.ts.map +1 -0
- package/dist/react-native/typechain-types/contracts/examples/MailerIntegrationExample.js +2 -0
- package/dist/react-native/typechain-types/contracts/examples/MailerIntegrationExample.js.map +1 -0
- package/dist/react-native/typechain-types/contracts/examples/index.d.ts +2 -0
- package/dist/react-native/typechain-types/contracts/examples/index.d.ts.map +1 -0
- package/dist/react-native/typechain-types/contracts/examples/index.js +2 -0
- package/dist/react-native/typechain-types/contracts/examples/index.js.map +1 -0
- package/dist/react-native/typechain-types/contracts/index.d.ts +7 -0
- package/dist/react-native/typechain-types/contracts/index.d.ts.map +1 -0
- package/dist/react-native/typechain-types/contracts/index.js +2 -0
- package/dist/react-native/typechain-types/contracts/index.js.map +1 -0
- package/dist/react-native/typechain-types/contracts/interfaces/IERC20.d.ts +70 -0
- package/dist/react-native/typechain-types/contracts/interfaces/IERC20.d.ts.map +1 -0
- package/dist/react-native/typechain-types/contracts/interfaces/IERC20.js +2 -0
- package/dist/react-native/typechain-types/contracts/interfaces/IERC20.js.map +1 -0
- package/dist/react-native/typechain-types/contracts/interfaces/IMailer.d.ts +118 -0
- package/dist/react-native/typechain-types/contracts/interfaces/IMailer.d.ts.map +1 -0
- package/dist/react-native/typechain-types/contracts/interfaces/IMailer.js +2 -0
- package/dist/react-native/typechain-types/contracts/interfaces/IMailer.js.map +1 -0
- package/dist/react-native/typechain-types/contracts/interfaces/index.d.ts +3 -0
- package/dist/react-native/typechain-types/contracts/interfaces/index.d.ts.map +1 -0
- package/dist/react-native/typechain-types/contracts/interfaces/index.js +2 -0
- package/dist/react-native/typechain-types/contracts/interfaces/index.js.map +1 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts/index.d.ts +4 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts/index.d.ts.map +1 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts/index.js +7 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts/index.js.map +1 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts/interfaces/IERC1967__factory.d.ts +43 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts/interfaces/IERC1967__factory.d.ts.map +1 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts/interfaces/IERC1967__factory.js +61 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts/interfaces/IERC1967__factory.js.map +1 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/IERC1822Proxiable__factory.d.ts +18 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/IERC1822Proxiable__factory.d.ts.map +1 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/IERC1822Proxiable__factory.js +29 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/IERC1822Proxiable__factory.js.map +1 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/index.d.ts +2 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/index.d.ts.map +1 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/index.js +5 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/index.js.map +1 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts/interfaces/index.d.ts +3 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts/interfaces/index.d.ts.map +1 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts/interfaces/index.js +6 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts/interfaces/index.js.map +1 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils__factory.d.ts +51 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils__factory.d.ts.map +1 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils__factory.js +74 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils__factory.js.map +1 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts/proxy/ERC1967/index.d.ts +2 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts/proxy/ERC1967/index.d.ts.map +1 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts/proxy/ERC1967/index.js +5 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts/proxy/ERC1967/index.js.map +1 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts/proxy/beacon/IBeacon__factory.d.ts +18 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts/proxy/beacon/IBeacon__factory.d.ts.map +1 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts/proxy/beacon/IBeacon__factory.js +29 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts/proxy/beacon/IBeacon__factory.js.map +1 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts/proxy/beacon/index.d.ts +2 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts/proxy/beacon/index.d.ts.map +1 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts/proxy/beacon/index.js +5 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts/proxy/beacon/index.js.map +1 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts/proxy/index.d.ts +3 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts/proxy/index.d.ts.map +1 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts/proxy/index.js +6 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts/proxy/index.js.map +1 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts/utils/Address__factory.d.ts +31 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts/utils/Address__factory.d.ts.map +1 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts/utils/Address__factory.js +47 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts/utils/Address__factory.js.map +1 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts/utils/Errors__factory.d.ts +51 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts/utils/Errors__factory.d.ts.map +1 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts/utils/Errors__factory.js +73 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts/utils/Errors__factory.js.map +1 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts/utils/index.d.ts +3 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts/utils/index.d.ts.map +1 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts/utils/index.js +6 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts/utils/index.js.map +1 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable__factory.d.ts +83 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable__factory.d.ts.map +1 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable__factory.js +113 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable__factory.js.map +1 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts-upgradeable/access/index.d.ts +2 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts-upgradeable/access/index.d.ts.map +1 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts-upgradeable/access/index.js +5 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts-upgradeable/access/index.js.map +1 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts-upgradeable/index.d.ts +4 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts-upgradeable/index.d.ts.map +1 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts-upgradeable/index.js +7 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts-upgradeable/index.js.map +1 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts-upgradeable/proxy/index.d.ts +2 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts-upgradeable/proxy/index.d.ts.map +1 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts-upgradeable/proxy/index.js +5 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts-upgradeable/proxy/index.js.map +1 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable__factory.d.ts +26 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable__factory.d.ts.map +1 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable__factory.js +39 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable__factory.js.map +1 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable__factory.d.ts +106 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable__factory.d.ts.map +1 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable__factory.js +144 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable__factory.js.map +1 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts-upgradeable/proxy/utils/index.d.ts +3 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts-upgradeable/proxy/utils/index.d.ts.map +1 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts-upgradeable/proxy/utils/index.js +6 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts-upgradeable/proxy/utils/index.js.map +1 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable__factory.d.ts +26 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable__factory.d.ts.map +1 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable__factory.js +39 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable__factory.js.map +1 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts-upgradeable/utils/index.d.ts +2 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts-upgradeable/utils/index.d.ts.map +1 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts-upgradeable/utils/index.js +5 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/contracts-upgradeable/utils/index.js.map +1 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/index.d.ts +3 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/index.d.ts.map +1 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/index.js +6 -0
- package/dist/react-native/typechain-types/factories/@openzeppelin/index.js.map +1 -0
- package/dist/react-native/typechain-types/factories/contracts/Mailer__factory.d.ts +1086 -0
- package/dist/react-native/typechain-types/factories/contracts/Mailer__factory.d.ts.map +1 -0
- package/dist/react-native/typechain-types/factories/contracts/Mailer__factory.js +1390 -0
- package/dist/react-native/typechain-types/factories/contracts/Mailer__factory.js.map +1 -0
- package/dist/react-native/typechain-types/factories/contracts/MockUSDC__factory.d.ts +193 -0
- package/dist/react-native/typechain-types/factories/contracts/MockUSDC__factory.d.ts.map +1 -0
- package/dist/react-native/typechain-types/factories/contracts/MockUSDC__factory.js +259 -0
- package/dist/react-native/typechain-types/factories/contracts/MockUSDC__factory.js.map +1 -0
- package/dist/react-native/typechain-types/factories/contracts/examples/MailerIntegrationExample__factory.d.ts +209 -0
- package/dist/react-native/typechain-types/factories/contracts/examples/MailerIntegrationExample__factory.d.ts.map +1 -0
- package/dist/react-native/typechain-types/factories/contracts/examples/MailerIntegrationExample__factory.js +274 -0
- package/dist/react-native/typechain-types/factories/contracts/examples/MailerIntegrationExample__factory.js.map +1 -0
- package/dist/react-native/typechain-types/factories/contracts/examples/index.d.ts +2 -0
- package/dist/react-native/typechain-types/factories/contracts/examples/index.d.ts.map +1 -0
- package/dist/react-native/typechain-types/factories/contracts/examples/index.js +5 -0
- package/dist/react-native/typechain-types/factories/contracts/examples/index.js.map +1 -0
- package/dist/react-native/typechain-types/factories/contracts/index.d.ts +5 -0
- package/dist/react-native/typechain-types/factories/contracts/index.d.ts.map +1 -0
- package/dist/react-native/typechain-types/factories/contracts/index.js +8 -0
- package/dist/react-native/typechain-types/factories/contracts/index.js.map +1 -0
- package/dist/react-native/typechain-types/factories/contracts/interfaces/IERC20__factory.d.ts +80 -0
- package/dist/react-native/typechain-types/factories/contracts/interfaces/IERC20__factory.d.ts.map +1 -0
- package/dist/react-native/typechain-types/factories/contracts/interfaces/IERC20__factory.js +112 -0
- package/dist/react-native/typechain-types/factories/contracts/interfaces/IERC20__factory.js.map +1 -0
- package/dist/react-native/typechain-types/factories/contracts/interfaces/IMailer__factory.d.ts +130 -0
- package/dist/react-native/typechain-types/factories/contracts/interfaces/IMailer__factory.d.ts.map +1 -0
- package/dist/react-native/typechain-types/factories/contracts/interfaces/IMailer__factory.js +171 -0
- package/dist/react-native/typechain-types/factories/contracts/interfaces/IMailer__factory.js.map +1 -0
- package/dist/react-native/typechain-types/factories/contracts/interfaces/index.d.ts +3 -0
- package/dist/react-native/typechain-types/factories/contracts/interfaces/index.d.ts.map +1 -0
- package/dist/react-native/typechain-types/factories/contracts/interfaces/index.js +6 -0
- package/dist/react-native/typechain-types/factories/contracts/interfaces/index.js.map +1 -0
- package/dist/react-native/typechain-types/factories/index.d.ts +3 -0
- package/dist/react-native/typechain-types/factories/index.d.ts.map +1 -0
- package/dist/react-native/typechain-types/factories/index.js +6 -0
- package/dist/react-native/typechain-types/factories/index.js.map +1 -0
- package/dist/react-native/typechain-types/index.d.ts +36 -0
- package/dist/react-native/typechain-types/index.d.ts.map +1 -0
- package/dist/react-native/typechain-types/index.js +17 -0
- package/dist/react-native/typechain-types/index.js.map +1 -0
- package/package.json +43 -5
|
@@ -0,0 +1,1277 @@
|
|
|
1
|
+
import { Address, Hash, PublicClient, WalletClient } from 'viem';
|
|
2
|
+
import { ChainInfo } from '@sudobility/configs';
|
|
3
|
+
type RecipientClaim = {
|
|
4
|
+
amount: bigint;
|
|
5
|
+
expiresAt: bigint;
|
|
6
|
+
isExpired: boolean;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Gas estimation options for transactions
|
|
10
|
+
*/
|
|
11
|
+
export interface GasOptions {
|
|
12
|
+
/**
|
|
13
|
+
* Gas multiplier to apply to estimated gas (e.g., 1.2 for 20% buffer)
|
|
14
|
+
* @default 1.2
|
|
15
|
+
*/
|
|
16
|
+
gasMultiplier?: number;
|
|
17
|
+
/**
|
|
18
|
+
* Maximum gas limit to use (prevents excessive gas usage)
|
|
19
|
+
*/
|
|
20
|
+
maxGasLimit?: bigint;
|
|
21
|
+
/**
|
|
22
|
+
* Skip gas estimation and use provided gas limit
|
|
23
|
+
*/
|
|
24
|
+
gasLimit?: bigint;
|
|
25
|
+
/**
|
|
26
|
+
* Max fee per gas for EIP-1559 transactions
|
|
27
|
+
*/
|
|
28
|
+
maxFeePerGas?: bigint;
|
|
29
|
+
/**
|
|
30
|
+
* Max priority fee per gas for EIP-1559 transactions
|
|
31
|
+
*/
|
|
32
|
+
maxPriorityFeePerGas?: bigint;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Transaction result with gas estimation details
|
|
36
|
+
*/
|
|
37
|
+
export interface TransactionResult {
|
|
38
|
+
/**
|
|
39
|
+
* Transaction hash
|
|
40
|
+
*/
|
|
41
|
+
hash: Hash;
|
|
42
|
+
/**
|
|
43
|
+
* Estimated gas used
|
|
44
|
+
*/
|
|
45
|
+
estimatedGas?: bigint;
|
|
46
|
+
/**
|
|
47
|
+
* Actual gas limit used
|
|
48
|
+
*/
|
|
49
|
+
gasLimit?: bigint;
|
|
50
|
+
/**
|
|
51
|
+
* Gas actually used by transaction (from receipt)
|
|
52
|
+
*/
|
|
53
|
+
gasUsed?: bigint;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* EVM Wallet interface
|
|
57
|
+
*/
|
|
58
|
+
export interface EVMWallet {
|
|
59
|
+
walletClient: WalletClient;
|
|
60
|
+
publicClient?: PublicClient;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Stateless EVM Mailer client.
|
|
64
|
+
* All methods take wallet and chainInfo as parameters.
|
|
65
|
+
* No state is stored in the instance.
|
|
66
|
+
*/
|
|
67
|
+
export declare class EVMMailerClient {
|
|
68
|
+
static readonly abi: readonly [{
|
|
69
|
+
readonly inputs: readonly [];
|
|
70
|
+
readonly stateMutability: "nonpayable";
|
|
71
|
+
readonly type: "constructor";
|
|
72
|
+
}, {
|
|
73
|
+
readonly inputs: readonly [{
|
|
74
|
+
readonly internalType: "address";
|
|
75
|
+
readonly name: "target";
|
|
76
|
+
readonly type: "address";
|
|
77
|
+
}];
|
|
78
|
+
readonly name: "AddressEmptyCode";
|
|
79
|
+
readonly type: "error";
|
|
80
|
+
}, {
|
|
81
|
+
readonly inputs: readonly [];
|
|
82
|
+
readonly name: "ClaimPeriodNotExpired";
|
|
83
|
+
readonly type: "error";
|
|
84
|
+
}, {
|
|
85
|
+
readonly inputs: readonly [];
|
|
86
|
+
readonly name: "ContractIsPaused";
|
|
87
|
+
readonly type: "error";
|
|
88
|
+
}, {
|
|
89
|
+
readonly inputs: readonly [];
|
|
90
|
+
readonly name: "ContractNotPaused";
|
|
91
|
+
readonly type: "error";
|
|
92
|
+
}, {
|
|
93
|
+
readonly inputs: readonly [{
|
|
94
|
+
readonly internalType: "address";
|
|
95
|
+
readonly name: "implementation";
|
|
96
|
+
readonly type: "address";
|
|
97
|
+
}];
|
|
98
|
+
readonly name: "ERC1967InvalidImplementation";
|
|
99
|
+
readonly type: "error";
|
|
100
|
+
}, {
|
|
101
|
+
readonly inputs: readonly [];
|
|
102
|
+
readonly name: "ERC1967NonPayable";
|
|
103
|
+
readonly type: "error";
|
|
104
|
+
}, {
|
|
105
|
+
readonly inputs: readonly [];
|
|
106
|
+
readonly name: "FailedCall";
|
|
107
|
+
readonly type: "error";
|
|
108
|
+
}, {
|
|
109
|
+
readonly inputs: readonly [];
|
|
110
|
+
readonly name: "FeePaymentRequired";
|
|
111
|
+
readonly type: "error";
|
|
112
|
+
}, {
|
|
113
|
+
readonly inputs: readonly [];
|
|
114
|
+
readonly name: "InvalidAddress";
|
|
115
|
+
readonly type: "error";
|
|
116
|
+
}, {
|
|
117
|
+
readonly inputs: readonly [];
|
|
118
|
+
readonly name: "InvalidInitialization";
|
|
119
|
+
readonly type: "error";
|
|
120
|
+
}, {
|
|
121
|
+
readonly inputs: readonly [];
|
|
122
|
+
readonly name: "InvalidPercentage";
|
|
123
|
+
readonly type: "error";
|
|
124
|
+
}, {
|
|
125
|
+
readonly inputs: readonly [];
|
|
126
|
+
readonly name: "MathOverflow";
|
|
127
|
+
readonly type: "error";
|
|
128
|
+
}, {
|
|
129
|
+
readonly inputs: readonly [];
|
|
130
|
+
readonly name: "NoClaimableAmount";
|
|
131
|
+
readonly type: "error";
|
|
132
|
+
}, {
|
|
133
|
+
readonly inputs: readonly [];
|
|
134
|
+
readonly name: "NotInitializing";
|
|
135
|
+
readonly type: "error";
|
|
136
|
+
}, {
|
|
137
|
+
readonly inputs: readonly [];
|
|
138
|
+
readonly name: "OnlyOwner";
|
|
139
|
+
readonly type: "error";
|
|
140
|
+
}, {
|
|
141
|
+
readonly inputs: readonly [{
|
|
142
|
+
readonly internalType: "address";
|
|
143
|
+
readonly name: "owner";
|
|
144
|
+
readonly type: "address";
|
|
145
|
+
}];
|
|
146
|
+
readonly name: "OwnableInvalidOwner";
|
|
147
|
+
readonly type: "error";
|
|
148
|
+
}, {
|
|
149
|
+
readonly inputs: readonly [{
|
|
150
|
+
readonly internalType: "address";
|
|
151
|
+
readonly name: "account";
|
|
152
|
+
readonly type: "address";
|
|
153
|
+
}];
|
|
154
|
+
readonly name: "OwnableUnauthorizedAccount";
|
|
155
|
+
readonly type: "error";
|
|
156
|
+
}, {
|
|
157
|
+
readonly inputs: readonly [];
|
|
158
|
+
readonly name: "ReentrancyGuard";
|
|
159
|
+
readonly type: "error";
|
|
160
|
+
}, {
|
|
161
|
+
readonly inputs: readonly [];
|
|
162
|
+
readonly name: "TransferFailed";
|
|
163
|
+
readonly type: "error";
|
|
164
|
+
}, {
|
|
165
|
+
readonly inputs: readonly [];
|
|
166
|
+
readonly name: "UUPSUnauthorizedCallContext";
|
|
167
|
+
readonly type: "error";
|
|
168
|
+
}, {
|
|
169
|
+
readonly inputs: readonly [{
|
|
170
|
+
readonly internalType: "bytes32";
|
|
171
|
+
readonly name: "slot";
|
|
172
|
+
readonly type: "bytes32";
|
|
173
|
+
}];
|
|
174
|
+
readonly name: "UUPSUnsupportedProxiableUUID";
|
|
175
|
+
readonly type: "error";
|
|
176
|
+
}, {
|
|
177
|
+
readonly inputs: readonly [];
|
|
178
|
+
readonly name: "UnpermittedPayer";
|
|
179
|
+
readonly type: "error";
|
|
180
|
+
}, {
|
|
181
|
+
readonly anonymous: false;
|
|
182
|
+
readonly inputs: readonly [];
|
|
183
|
+
readonly name: "ContractPaused";
|
|
184
|
+
readonly type: "event";
|
|
185
|
+
}, {
|
|
186
|
+
readonly anonymous: false;
|
|
187
|
+
readonly inputs: readonly [];
|
|
188
|
+
readonly name: "ContractUnpaused";
|
|
189
|
+
readonly type: "event";
|
|
190
|
+
}, {
|
|
191
|
+
readonly anonymous: false;
|
|
192
|
+
readonly inputs: readonly [{
|
|
193
|
+
readonly indexed: true;
|
|
194
|
+
readonly internalType: "address";
|
|
195
|
+
readonly name: "account";
|
|
196
|
+
readonly type: "address";
|
|
197
|
+
}, {
|
|
198
|
+
readonly indexed: false;
|
|
199
|
+
readonly internalType: "uint256";
|
|
200
|
+
readonly name: "percentage";
|
|
201
|
+
readonly type: "uint256";
|
|
202
|
+
}];
|
|
203
|
+
readonly name: "CustomFeePercentageSet";
|
|
204
|
+
readonly type: "event";
|
|
205
|
+
}, {
|
|
206
|
+
readonly anonymous: false;
|
|
207
|
+
readonly inputs: readonly [{
|
|
208
|
+
readonly indexed: false;
|
|
209
|
+
readonly internalType: "uint256";
|
|
210
|
+
readonly name: "oldFee";
|
|
211
|
+
readonly type: "uint256";
|
|
212
|
+
}, {
|
|
213
|
+
readonly indexed: false;
|
|
214
|
+
readonly internalType: "uint256";
|
|
215
|
+
readonly name: "newFee";
|
|
216
|
+
readonly type: "uint256";
|
|
217
|
+
}];
|
|
218
|
+
readonly name: "DelegationFeeUpdated";
|
|
219
|
+
readonly type: "event";
|
|
220
|
+
}, {
|
|
221
|
+
readonly anonymous: false;
|
|
222
|
+
readonly inputs: readonly [{
|
|
223
|
+
readonly indexed: true;
|
|
224
|
+
readonly internalType: "address";
|
|
225
|
+
readonly name: "delegator";
|
|
226
|
+
readonly type: "address";
|
|
227
|
+
}, {
|
|
228
|
+
readonly indexed: true;
|
|
229
|
+
readonly internalType: "address";
|
|
230
|
+
readonly name: "delegate";
|
|
231
|
+
readonly type: "address";
|
|
232
|
+
}];
|
|
233
|
+
readonly name: "DelegationSet";
|
|
234
|
+
readonly type: "event";
|
|
235
|
+
}, {
|
|
236
|
+
readonly anonymous: false;
|
|
237
|
+
readonly inputs: readonly [];
|
|
238
|
+
readonly name: "EmergencyUnpaused";
|
|
239
|
+
readonly type: "event";
|
|
240
|
+
}, {
|
|
241
|
+
readonly anonymous: false;
|
|
242
|
+
readonly inputs: readonly [{
|
|
243
|
+
readonly indexed: true;
|
|
244
|
+
readonly internalType: "address";
|
|
245
|
+
readonly name: "recipient";
|
|
246
|
+
readonly type: "address";
|
|
247
|
+
}, {
|
|
248
|
+
readonly indexed: false;
|
|
249
|
+
readonly internalType: "uint256";
|
|
250
|
+
readonly name: "amount";
|
|
251
|
+
readonly type: "uint256";
|
|
252
|
+
}];
|
|
253
|
+
readonly name: "ExpiredSharesClaimed";
|
|
254
|
+
readonly type: "event";
|
|
255
|
+
}, {
|
|
256
|
+
readonly anonymous: false;
|
|
257
|
+
readonly inputs: readonly [{
|
|
258
|
+
readonly indexed: false;
|
|
259
|
+
readonly internalType: "bool";
|
|
260
|
+
readonly name: "feePaused";
|
|
261
|
+
readonly type: "bool";
|
|
262
|
+
}];
|
|
263
|
+
readonly name: "FeePauseToggled";
|
|
264
|
+
readonly type: "event";
|
|
265
|
+
}, {
|
|
266
|
+
readonly anonymous: false;
|
|
267
|
+
readonly inputs: readonly [{
|
|
268
|
+
readonly indexed: false;
|
|
269
|
+
readonly internalType: "uint256";
|
|
270
|
+
readonly name: "oldFee";
|
|
271
|
+
readonly type: "uint256";
|
|
272
|
+
}, {
|
|
273
|
+
readonly indexed: false;
|
|
274
|
+
readonly internalType: "uint256";
|
|
275
|
+
readonly name: "newFee";
|
|
276
|
+
readonly type: "uint256";
|
|
277
|
+
}];
|
|
278
|
+
readonly name: "FeeUpdated";
|
|
279
|
+
readonly type: "event";
|
|
280
|
+
}, {
|
|
281
|
+
readonly anonymous: false;
|
|
282
|
+
readonly inputs: readonly [{
|
|
283
|
+
readonly indexed: true;
|
|
284
|
+
readonly internalType: "address";
|
|
285
|
+
readonly name: "recipient";
|
|
286
|
+
readonly type: "address";
|
|
287
|
+
}, {
|
|
288
|
+
readonly indexed: false;
|
|
289
|
+
readonly internalType: "uint256";
|
|
290
|
+
readonly name: "amount";
|
|
291
|
+
readonly type: "uint256";
|
|
292
|
+
}];
|
|
293
|
+
readonly name: "FundsDistributed";
|
|
294
|
+
readonly type: "event";
|
|
295
|
+
}, {
|
|
296
|
+
readonly anonymous: false;
|
|
297
|
+
readonly inputs: readonly [{
|
|
298
|
+
readonly indexed: false;
|
|
299
|
+
readonly internalType: "uint64";
|
|
300
|
+
readonly name: "version";
|
|
301
|
+
readonly type: "uint64";
|
|
302
|
+
}];
|
|
303
|
+
readonly name: "Initialized";
|
|
304
|
+
readonly type: "event";
|
|
305
|
+
}, {
|
|
306
|
+
readonly anonymous: false;
|
|
307
|
+
readonly inputs: readonly [{
|
|
308
|
+
readonly indexed: true;
|
|
309
|
+
readonly internalType: "address";
|
|
310
|
+
readonly name: "from";
|
|
311
|
+
readonly type: "address";
|
|
312
|
+
}, {
|
|
313
|
+
readonly indexed: false;
|
|
314
|
+
readonly internalType: "address";
|
|
315
|
+
readonly name: "payer";
|
|
316
|
+
readonly type: "address";
|
|
317
|
+
}, {
|
|
318
|
+
readonly indexed: true;
|
|
319
|
+
readonly internalType: "address";
|
|
320
|
+
readonly name: "to";
|
|
321
|
+
readonly type: "address";
|
|
322
|
+
}, {
|
|
323
|
+
readonly indexed: false;
|
|
324
|
+
readonly internalType: "string";
|
|
325
|
+
readonly name: "subject";
|
|
326
|
+
readonly type: "string";
|
|
327
|
+
}, {
|
|
328
|
+
readonly indexed: false;
|
|
329
|
+
readonly internalType: "string";
|
|
330
|
+
readonly name: "body";
|
|
331
|
+
readonly type: "string";
|
|
332
|
+
}, {
|
|
333
|
+
readonly indexed: false;
|
|
334
|
+
readonly internalType: "bool";
|
|
335
|
+
readonly name: "revenueShareToReceiver";
|
|
336
|
+
readonly type: "bool";
|
|
337
|
+
}, {
|
|
338
|
+
readonly indexed: false;
|
|
339
|
+
readonly internalType: "bool";
|
|
340
|
+
readonly name: "resolveSenderToName";
|
|
341
|
+
readonly type: "bool";
|
|
342
|
+
}, {
|
|
343
|
+
readonly indexed: false;
|
|
344
|
+
readonly internalType: "bool";
|
|
345
|
+
readonly name: "feePaid";
|
|
346
|
+
readonly type: "bool";
|
|
347
|
+
}];
|
|
348
|
+
readonly name: "MailSent";
|
|
349
|
+
readonly type: "event";
|
|
350
|
+
}, {
|
|
351
|
+
readonly anonymous: false;
|
|
352
|
+
readonly inputs: readonly [{
|
|
353
|
+
readonly indexed: true;
|
|
354
|
+
readonly internalType: "address";
|
|
355
|
+
readonly name: "from";
|
|
356
|
+
readonly type: "address";
|
|
357
|
+
}, {
|
|
358
|
+
readonly indexed: false;
|
|
359
|
+
readonly internalType: "address";
|
|
360
|
+
readonly name: "payer";
|
|
361
|
+
readonly type: "address";
|
|
362
|
+
}, {
|
|
363
|
+
readonly indexed: false;
|
|
364
|
+
readonly internalType: "string";
|
|
365
|
+
readonly name: "toEmail";
|
|
366
|
+
readonly type: "string";
|
|
367
|
+
}, {
|
|
368
|
+
readonly indexed: false;
|
|
369
|
+
readonly internalType: "string";
|
|
370
|
+
readonly name: "subject";
|
|
371
|
+
readonly type: "string";
|
|
372
|
+
}, {
|
|
373
|
+
readonly indexed: false;
|
|
374
|
+
readonly internalType: "string";
|
|
375
|
+
readonly name: "body";
|
|
376
|
+
readonly type: "string";
|
|
377
|
+
}, {
|
|
378
|
+
readonly indexed: false;
|
|
379
|
+
readonly internalType: "bool";
|
|
380
|
+
readonly name: "feePaid";
|
|
381
|
+
readonly type: "bool";
|
|
382
|
+
}];
|
|
383
|
+
readonly name: "MailSentToEmail";
|
|
384
|
+
readonly type: "event";
|
|
385
|
+
}, {
|
|
386
|
+
readonly anonymous: false;
|
|
387
|
+
readonly inputs: readonly [{
|
|
388
|
+
readonly indexed: false;
|
|
389
|
+
readonly internalType: "uint256";
|
|
390
|
+
readonly name: "amount";
|
|
391
|
+
readonly type: "uint256";
|
|
392
|
+
}];
|
|
393
|
+
readonly name: "OwnerClaimed";
|
|
394
|
+
readonly type: "event";
|
|
395
|
+
}, {
|
|
396
|
+
readonly anonymous: false;
|
|
397
|
+
readonly inputs: readonly [{
|
|
398
|
+
readonly indexed: true;
|
|
399
|
+
readonly internalType: "address";
|
|
400
|
+
readonly name: "previousOwner";
|
|
401
|
+
readonly type: "address";
|
|
402
|
+
}, {
|
|
403
|
+
readonly indexed: true;
|
|
404
|
+
readonly internalType: "address";
|
|
405
|
+
readonly name: "newOwner";
|
|
406
|
+
readonly type: "address";
|
|
407
|
+
}];
|
|
408
|
+
readonly name: "OwnershipTransferred";
|
|
409
|
+
readonly type: "event";
|
|
410
|
+
}, {
|
|
411
|
+
readonly anonymous: false;
|
|
412
|
+
readonly inputs: readonly [{
|
|
413
|
+
readonly indexed: true;
|
|
414
|
+
readonly internalType: "address";
|
|
415
|
+
readonly name: "contractAddress";
|
|
416
|
+
readonly type: "address";
|
|
417
|
+
}, {
|
|
418
|
+
readonly indexed: true;
|
|
419
|
+
readonly internalType: "address";
|
|
420
|
+
readonly name: "wallet";
|
|
421
|
+
readonly type: "address";
|
|
422
|
+
}];
|
|
423
|
+
readonly name: "PermissionGranted";
|
|
424
|
+
readonly type: "event";
|
|
425
|
+
}, {
|
|
426
|
+
readonly anonymous: false;
|
|
427
|
+
readonly inputs: readonly [{
|
|
428
|
+
readonly indexed: true;
|
|
429
|
+
readonly internalType: "address";
|
|
430
|
+
readonly name: "contractAddress";
|
|
431
|
+
readonly type: "address";
|
|
432
|
+
}, {
|
|
433
|
+
readonly indexed: true;
|
|
434
|
+
readonly internalType: "address";
|
|
435
|
+
readonly name: "wallet";
|
|
436
|
+
readonly type: "address";
|
|
437
|
+
}];
|
|
438
|
+
readonly name: "PermissionRevoked";
|
|
439
|
+
readonly type: "event";
|
|
440
|
+
}, {
|
|
441
|
+
readonly anonymous: false;
|
|
442
|
+
readonly inputs: readonly [{
|
|
443
|
+
readonly indexed: true;
|
|
444
|
+
readonly internalType: "address";
|
|
445
|
+
readonly name: "from";
|
|
446
|
+
readonly type: "address";
|
|
447
|
+
}, {
|
|
448
|
+
readonly indexed: false;
|
|
449
|
+
readonly internalType: "address";
|
|
450
|
+
readonly name: "payer";
|
|
451
|
+
readonly type: "address";
|
|
452
|
+
}, {
|
|
453
|
+
readonly indexed: true;
|
|
454
|
+
readonly internalType: "address";
|
|
455
|
+
readonly name: "to";
|
|
456
|
+
readonly type: "address";
|
|
457
|
+
}, {
|
|
458
|
+
readonly indexed: true;
|
|
459
|
+
readonly internalType: "string";
|
|
460
|
+
readonly name: "mailId";
|
|
461
|
+
readonly type: "string";
|
|
462
|
+
}, {
|
|
463
|
+
readonly indexed: false;
|
|
464
|
+
readonly internalType: "bool";
|
|
465
|
+
readonly name: "revenueShareToReceiver";
|
|
466
|
+
readonly type: "bool";
|
|
467
|
+
}, {
|
|
468
|
+
readonly indexed: false;
|
|
469
|
+
readonly internalType: "bool";
|
|
470
|
+
readonly name: "resolveSenderToName";
|
|
471
|
+
readonly type: "bool";
|
|
472
|
+
}, {
|
|
473
|
+
readonly indexed: false;
|
|
474
|
+
readonly internalType: "bool";
|
|
475
|
+
readonly name: "feePaid";
|
|
476
|
+
readonly type: "bool";
|
|
477
|
+
}];
|
|
478
|
+
readonly name: "PreparedMailSent";
|
|
479
|
+
readonly type: "event";
|
|
480
|
+
}, {
|
|
481
|
+
readonly anonymous: false;
|
|
482
|
+
readonly inputs: readonly [{
|
|
483
|
+
readonly indexed: true;
|
|
484
|
+
readonly internalType: "address";
|
|
485
|
+
readonly name: "from";
|
|
486
|
+
readonly type: "address";
|
|
487
|
+
}, {
|
|
488
|
+
readonly indexed: false;
|
|
489
|
+
readonly internalType: "address";
|
|
490
|
+
readonly name: "payer";
|
|
491
|
+
readonly type: "address";
|
|
492
|
+
}, {
|
|
493
|
+
readonly indexed: false;
|
|
494
|
+
readonly internalType: "string";
|
|
495
|
+
readonly name: "toEmail";
|
|
496
|
+
readonly type: "string";
|
|
497
|
+
}, {
|
|
498
|
+
readonly indexed: true;
|
|
499
|
+
readonly internalType: "string";
|
|
500
|
+
readonly name: "mailId";
|
|
501
|
+
readonly type: "string";
|
|
502
|
+
}, {
|
|
503
|
+
readonly indexed: false;
|
|
504
|
+
readonly internalType: "bool";
|
|
505
|
+
readonly name: "feePaid";
|
|
506
|
+
readonly type: "bool";
|
|
507
|
+
}];
|
|
508
|
+
readonly name: "PreparedMailSentToEmail";
|
|
509
|
+
readonly type: "event";
|
|
510
|
+
}, {
|
|
511
|
+
readonly anonymous: false;
|
|
512
|
+
readonly inputs: readonly [{
|
|
513
|
+
readonly indexed: true;
|
|
514
|
+
readonly internalType: "address";
|
|
515
|
+
readonly name: "recipient";
|
|
516
|
+
readonly type: "address";
|
|
517
|
+
}, {
|
|
518
|
+
readonly indexed: false;
|
|
519
|
+
readonly internalType: "uint256";
|
|
520
|
+
readonly name: "amount";
|
|
521
|
+
readonly type: "uint256";
|
|
522
|
+
}];
|
|
523
|
+
readonly name: "RecipientClaimed";
|
|
524
|
+
readonly type: "event";
|
|
525
|
+
}, {
|
|
526
|
+
readonly anonymous: false;
|
|
527
|
+
readonly inputs: readonly [{
|
|
528
|
+
readonly indexed: true;
|
|
529
|
+
readonly internalType: "address";
|
|
530
|
+
readonly name: "recipient";
|
|
531
|
+
readonly type: "address";
|
|
532
|
+
}, {
|
|
533
|
+
readonly indexed: false;
|
|
534
|
+
readonly internalType: "uint256";
|
|
535
|
+
readonly name: "recipientAmount";
|
|
536
|
+
readonly type: "uint256";
|
|
537
|
+
}, {
|
|
538
|
+
readonly indexed: false;
|
|
539
|
+
readonly internalType: "uint256";
|
|
540
|
+
readonly name: "ownerAmount";
|
|
541
|
+
readonly type: "uint256";
|
|
542
|
+
}];
|
|
543
|
+
readonly name: "SharesRecorded";
|
|
544
|
+
readonly type: "event";
|
|
545
|
+
}, {
|
|
546
|
+
readonly anonymous: false;
|
|
547
|
+
readonly inputs: readonly [{
|
|
548
|
+
readonly indexed: true;
|
|
549
|
+
readonly internalType: "address";
|
|
550
|
+
readonly name: "implementation";
|
|
551
|
+
readonly type: "address";
|
|
552
|
+
}];
|
|
553
|
+
readonly name: "Upgraded";
|
|
554
|
+
readonly type: "event";
|
|
555
|
+
}, {
|
|
556
|
+
readonly anonymous: false;
|
|
557
|
+
readonly inputs: readonly [{
|
|
558
|
+
readonly indexed: true;
|
|
559
|
+
readonly internalType: "address";
|
|
560
|
+
readonly name: "from";
|
|
561
|
+
readonly type: "address";
|
|
562
|
+
}, {
|
|
563
|
+
readonly indexed: false;
|
|
564
|
+
readonly internalType: "address";
|
|
565
|
+
readonly name: "payer";
|
|
566
|
+
readonly type: "address";
|
|
567
|
+
}, {
|
|
568
|
+
readonly indexed: true;
|
|
569
|
+
readonly internalType: "address";
|
|
570
|
+
readonly name: "to";
|
|
571
|
+
readonly type: "address";
|
|
572
|
+
}, {
|
|
573
|
+
readonly indexed: true;
|
|
574
|
+
readonly internalType: "string";
|
|
575
|
+
readonly name: "webhookId";
|
|
576
|
+
readonly type: "string";
|
|
577
|
+
}, {
|
|
578
|
+
readonly indexed: false;
|
|
579
|
+
readonly internalType: "bool";
|
|
580
|
+
readonly name: "revenueShareToReceiver";
|
|
581
|
+
readonly type: "bool";
|
|
582
|
+
}, {
|
|
583
|
+
readonly indexed: false;
|
|
584
|
+
readonly internalType: "bool";
|
|
585
|
+
readonly name: "resolveSenderToName";
|
|
586
|
+
readonly type: "bool";
|
|
587
|
+
}, {
|
|
588
|
+
readonly indexed: false;
|
|
589
|
+
readonly internalType: "bool";
|
|
590
|
+
readonly name: "feePaid";
|
|
591
|
+
readonly type: "bool";
|
|
592
|
+
}];
|
|
593
|
+
readonly name: "WebhookMailSent";
|
|
594
|
+
readonly type: "event";
|
|
595
|
+
}, {
|
|
596
|
+
readonly inputs: readonly [];
|
|
597
|
+
readonly name: "CLAIM_PERIOD";
|
|
598
|
+
readonly outputs: readonly [{
|
|
599
|
+
readonly internalType: "uint256";
|
|
600
|
+
readonly name: "";
|
|
601
|
+
readonly type: "uint256";
|
|
602
|
+
}];
|
|
603
|
+
readonly stateMutability: "view";
|
|
604
|
+
readonly type: "function";
|
|
605
|
+
}, {
|
|
606
|
+
readonly inputs: readonly [];
|
|
607
|
+
readonly name: "UPGRADE_INTERFACE_VERSION";
|
|
608
|
+
readonly outputs: readonly [{
|
|
609
|
+
readonly internalType: "string";
|
|
610
|
+
readonly name: "";
|
|
611
|
+
readonly type: "string";
|
|
612
|
+
}];
|
|
613
|
+
readonly stateMutability: "view";
|
|
614
|
+
readonly type: "function";
|
|
615
|
+
}, {
|
|
616
|
+
readonly inputs: readonly [{
|
|
617
|
+
readonly internalType: "address";
|
|
618
|
+
readonly name: "recipient";
|
|
619
|
+
readonly type: "address";
|
|
620
|
+
}];
|
|
621
|
+
readonly name: "claimExpiredShares";
|
|
622
|
+
readonly outputs: readonly [];
|
|
623
|
+
readonly stateMutability: "nonpayable";
|
|
624
|
+
readonly type: "function";
|
|
625
|
+
}, {
|
|
626
|
+
readonly inputs: readonly [];
|
|
627
|
+
readonly name: "claimOwnerShare";
|
|
628
|
+
readonly outputs: readonly [];
|
|
629
|
+
readonly stateMutability: "nonpayable";
|
|
630
|
+
readonly type: "function";
|
|
631
|
+
}, {
|
|
632
|
+
readonly inputs: readonly [];
|
|
633
|
+
readonly name: "claimRecipientShare";
|
|
634
|
+
readonly outputs: readonly [];
|
|
635
|
+
readonly stateMutability: "nonpayable";
|
|
636
|
+
readonly type: "function";
|
|
637
|
+
}, {
|
|
638
|
+
readonly inputs: readonly [{
|
|
639
|
+
readonly internalType: "address";
|
|
640
|
+
readonly name: "account";
|
|
641
|
+
readonly type: "address";
|
|
642
|
+
}];
|
|
643
|
+
readonly name: "clearCustomFeePercentage";
|
|
644
|
+
readonly outputs: readonly [];
|
|
645
|
+
readonly stateMutability: "nonpayable";
|
|
646
|
+
readonly type: "function";
|
|
647
|
+
}, {
|
|
648
|
+
readonly inputs: readonly [{
|
|
649
|
+
readonly internalType: "address";
|
|
650
|
+
readonly name: "";
|
|
651
|
+
readonly type: "address";
|
|
652
|
+
}];
|
|
653
|
+
readonly name: "customFeeDiscount";
|
|
654
|
+
readonly outputs: readonly [{
|
|
655
|
+
readonly internalType: "uint8";
|
|
656
|
+
readonly name: "";
|
|
657
|
+
readonly type: "uint8";
|
|
658
|
+
}];
|
|
659
|
+
readonly stateMutability: "view";
|
|
660
|
+
readonly type: "function";
|
|
661
|
+
}, {
|
|
662
|
+
readonly inputs: readonly [{
|
|
663
|
+
readonly internalType: "address";
|
|
664
|
+
readonly name: "delegate";
|
|
665
|
+
readonly type: "address";
|
|
666
|
+
}];
|
|
667
|
+
readonly name: "delegateTo";
|
|
668
|
+
readonly outputs: readonly [];
|
|
669
|
+
readonly stateMutability: "nonpayable";
|
|
670
|
+
readonly type: "function";
|
|
671
|
+
}, {
|
|
672
|
+
readonly inputs: readonly [];
|
|
673
|
+
readonly name: "delegationFee";
|
|
674
|
+
readonly outputs: readonly [{
|
|
675
|
+
readonly internalType: "uint128";
|
|
676
|
+
readonly name: "";
|
|
677
|
+
readonly type: "uint128";
|
|
678
|
+
}];
|
|
679
|
+
readonly stateMutability: "view";
|
|
680
|
+
readonly type: "function";
|
|
681
|
+
}, {
|
|
682
|
+
readonly inputs: readonly [{
|
|
683
|
+
readonly internalType: "address";
|
|
684
|
+
readonly name: "recipient";
|
|
685
|
+
readonly type: "address";
|
|
686
|
+
}];
|
|
687
|
+
readonly name: "distributeClaimableFunds";
|
|
688
|
+
readonly outputs: readonly [];
|
|
689
|
+
readonly stateMutability: "nonpayable";
|
|
690
|
+
readonly type: "function";
|
|
691
|
+
}, {
|
|
692
|
+
readonly inputs: readonly [];
|
|
693
|
+
readonly name: "emergencyUnpause";
|
|
694
|
+
readonly outputs: readonly [];
|
|
695
|
+
readonly stateMutability: "nonpayable";
|
|
696
|
+
readonly type: "function";
|
|
697
|
+
}, {
|
|
698
|
+
readonly inputs: readonly [];
|
|
699
|
+
readonly name: "feePaused";
|
|
700
|
+
readonly outputs: readonly [{
|
|
701
|
+
readonly internalType: "bool";
|
|
702
|
+
readonly name: "";
|
|
703
|
+
readonly type: "bool";
|
|
704
|
+
}];
|
|
705
|
+
readonly stateMutability: "view";
|
|
706
|
+
readonly type: "function";
|
|
707
|
+
}, {
|
|
708
|
+
readonly inputs: readonly [{
|
|
709
|
+
readonly internalType: "address";
|
|
710
|
+
readonly name: "account";
|
|
711
|
+
readonly type: "address";
|
|
712
|
+
}];
|
|
713
|
+
readonly name: "getCustomFeePercentage";
|
|
714
|
+
readonly outputs: readonly [{
|
|
715
|
+
readonly internalType: "uint256";
|
|
716
|
+
readonly name: "";
|
|
717
|
+
readonly type: "uint256";
|
|
718
|
+
}];
|
|
719
|
+
readonly stateMutability: "view";
|
|
720
|
+
readonly type: "function";
|
|
721
|
+
}, {
|
|
722
|
+
readonly inputs: readonly [];
|
|
723
|
+
readonly name: "getDelegationFee";
|
|
724
|
+
readonly outputs: readonly [{
|
|
725
|
+
readonly internalType: "uint256";
|
|
726
|
+
readonly name: "";
|
|
727
|
+
readonly type: "uint256";
|
|
728
|
+
}];
|
|
729
|
+
readonly stateMutability: "view";
|
|
730
|
+
readonly type: "function";
|
|
731
|
+
}, {
|
|
732
|
+
readonly inputs: readonly [];
|
|
733
|
+
readonly name: "getFee";
|
|
734
|
+
readonly outputs: readonly [{
|
|
735
|
+
readonly internalType: "uint256";
|
|
736
|
+
readonly name: "";
|
|
737
|
+
readonly type: "uint256";
|
|
738
|
+
}];
|
|
739
|
+
readonly stateMutability: "view";
|
|
740
|
+
readonly type: "function";
|
|
741
|
+
}, {
|
|
742
|
+
readonly inputs: readonly [];
|
|
743
|
+
readonly name: "getOwnerClaimable";
|
|
744
|
+
readonly outputs: readonly [{
|
|
745
|
+
readonly internalType: "uint256";
|
|
746
|
+
readonly name: "";
|
|
747
|
+
readonly type: "uint256";
|
|
748
|
+
}];
|
|
749
|
+
readonly stateMutability: "view";
|
|
750
|
+
readonly type: "function";
|
|
751
|
+
}, {
|
|
752
|
+
readonly inputs: readonly [{
|
|
753
|
+
readonly internalType: "address";
|
|
754
|
+
readonly name: "recipient";
|
|
755
|
+
readonly type: "address";
|
|
756
|
+
}];
|
|
757
|
+
readonly name: "getRecipientClaimable";
|
|
758
|
+
readonly outputs: readonly [{
|
|
759
|
+
readonly internalType: "uint256";
|
|
760
|
+
readonly name: "amount";
|
|
761
|
+
readonly type: "uint256";
|
|
762
|
+
}, {
|
|
763
|
+
readonly internalType: "uint256";
|
|
764
|
+
readonly name: "expiresAt";
|
|
765
|
+
readonly type: "uint256";
|
|
766
|
+
}, {
|
|
767
|
+
readonly internalType: "bool";
|
|
768
|
+
readonly name: "isExpired";
|
|
769
|
+
readonly type: "bool";
|
|
770
|
+
}];
|
|
771
|
+
readonly stateMutability: "view";
|
|
772
|
+
readonly type: "function";
|
|
773
|
+
}, {
|
|
774
|
+
readonly inputs: readonly [{
|
|
775
|
+
readonly internalType: "address";
|
|
776
|
+
readonly name: "_usdcToken";
|
|
777
|
+
readonly type: "address";
|
|
778
|
+
}, {
|
|
779
|
+
readonly internalType: "address";
|
|
780
|
+
readonly name: "_owner";
|
|
781
|
+
readonly type: "address";
|
|
782
|
+
}];
|
|
783
|
+
readonly name: "initialize";
|
|
784
|
+
readonly outputs: readonly [];
|
|
785
|
+
readonly stateMutability: "nonpayable";
|
|
786
|
+
readonly type: "function";
|
|
787
|
+
}, {
|
|
788
|
+
readonly inputs: readonly [];
|
|
789
|
+
readonly name: "isPaused";
|
|
790
|
+
readonly outputs: readonly [{
|
|
791
|
+
readonly internalType: "bool";
|
|
792
|
+
readonly name: "";
|
|
793
|
+
readonly type: "bool";
|
|
794
|
+
}];
|
|
795
|
+
readonly stateMutability: "view";
|
|
796
|
+
readonly type: "function";
|
|
797
|
+
}, {
|
|
798
|
+
readonly inputs: readonly [];
|
|
799
|
+
readonly name: "owner";
|
|
800
|
+
readonly outputs: readonly [{
|
|
801
|
+
readonly internalType: "address";
|
|
802
|
+
readonly name: "";
|
|
803
|
+
readonly type: "address";
|
|
804
|
+
}];
|
|
805
|
+
readonly stateMutability: "view";
|
|
806
|
+
readonly type: "function";
|
|
807
|
+
}, {
|
|
808
|
+
readonly inputs: readonly [];
|
|
809
|
+
readonly name: "ownerClaimable";
|
|
810
|
+
readonly outputs: readonly [{
|
|
811
|
+
readonly internalType: "uint128";
|
|
812
|
+
readonly name: "";
|
|
813
|
+
readonly type: "uint128";
|
|
814
|
+
}];
|
|
815
|
+
readonly stateMutability: "view";
|
|
816
|
+
readonly type: "function";
|
|
817
|
+
}, {
|
|
818
|
+
readonly inputs: readonly [];
|
|
819
|
+
readonly name: "pause";
|
|
820
|
+
readonly outputs: readonly [];
|
|
821
|
+
readonly stateMutability: "nonpayable";
|
|
822
|
+
readonly type: "function";
|
|
823
|
+
}, {
|
|
824
|
+
readonly inputs: readonly [];
|
|
825
|
+
readonly name: "paused";
|
|
826
|
+
readonly outputs: readonly [{
|
|
827
|
+
readonly internalType: "bool";
|
|
828
|
+
readonly name: "";
|
|
829
|
+
readonly type: "bool";
|
|
830
|
+
}];
|
|
831
|
+
readonly stateMutability: "view";
|
|
832
|
+
readonly type: "function";
|
|
833
|
+
}, {
|
|
834
|
+
readonly inputs: readonly [{
|
|
835
|
+
readonly internalType: "address";
|
|
836
|
+
readonly name: "";
|
|
837
|
+
readonly type: "address";
|
|
838
|
+
}, {
|
|
839
|
+
readonly internalType: "address";
|
|
840
|
+
readonly name: "";
|
|
841
|
+
readonly type: "address";
|
|
842
|
+
}];
|
|
843
|
+
readonly name: "permissions";
|
|
844
|
+
readonly outputs: readonly [{
|
|
845
|
+
readonly internalType: "bool";
|
|
846
|
+
readonly name: "";
|
|
847
|
+
readonly type: "bool";
|
|
848
|
+
}];
|
|
849
|
+
readonly stateMutability: "view";
|
|
850
|
+
readonly type: "function";
|
|
851
|
+
}, {
|
|
852
|
+
readonly inputs: readonly [];
|
|
853
|
+
readonly name: "proxiableUUID";
|
|
854
|
+
readonly outputs: readonly [{
|
|
855
|
+
readonly internalType: "bytes32";
|
|
856
|
+
readonly name: "";
|
|
857
|
+
readonly type: "bytes32";
|
|
858
|
+
}];
|
|
859
|
+
readonly stateMutability: "view";
|
|
860
|
+
readonly type: "function";
|
|
861
|
+
}, {
|
|
862
|
+
readonly inputs: readonly [{
|
|
863
|
+
readonly internalType: "address";
|
|
864
|
+
readonly name: "";
|
|
865
|
+
readonly type: "address";
|
|
866
|
+
}];
|
|
867
|
+
readonly name: "recipientClaims";
|
|
868
|
+
readonly outputs: readonly [{
|
|
869
|
+
readonly internalType: "uint192";
|
|
870
|
+
readonly name: "amount";
|
|
871
|
+
readonly type: "uint192";
|
|
872
|
+
}, {
|
|
873
|
+
readonly internalType: "uint64";
|
|
874
|
+
readonly name: "timestamp";
|
|
875
|
+
readonly type: "uint64";
|
|
876
|
+
}];
|
|
877
|
+
readonly stateMutability: "view";
|
|
878
|
+
readonly type: "function";
|
|
879
|
+
}, {
|
|
880
|
+
readonly inputs: readonly [{
|
|
881
|
+
readonly internalType: "address";
|
|
882
|
+
readonly name: "delegatingAddress";
|
|
883
|
+
readonly type: "address";
|
|
884
|
+
}];
|
|
885
|
+
readonly name: "rejectDelegation";
|
|
886
|
+
readonly outputs: readonly [];
|
|
887
|
+
readonly stateMutability: "nonpayable";
|
|
888
|
+
readonly type: "function";
|
|
889
|
+
}, {
|
|
890
|
+
readonly inputs: readonly [{
|
|
891
|
+
readonly internalType: "address";
|
|
892
|
+
readonly name: "contractAddress";
|
|
893
|
+
readonly type: "address";
|
|
894
|
+
}];
|
|
895
|
+
readonly name: "removePermission";
|
|
896
|
+
readonly outputs: readonly [];
|
|
897
|
+
readonly stateMutability: "nonpayable";
|
|
898
|
+
readonly type: "function";
|
|
899
|
+
}, {
|
|
900
|
+
readonly inputs: readonly [];
|
|
901
|
+
readonly name: "renounceOwnership";
|
|
902
|
+
readonly outputs: readonly [];
|
|
903
|
+
readonly stateMutability: "nonpayable";
|
|
904
|
+
readonly type: "function";
|
|
905
|
+
}, {
|
|
906
|
+
readonly inputs: readonly [{
|
|
907
|
+
readonly internalType: "address";
|
|
908
|
+
readonly name: "to";
|
|
909
|
+
readonly type: "address";
|
|
910
|
+
}, {
|
|
911
|
+
readonly internalType: "string";
|
|
912
|
+
readonly name: "subject";
|
|
913
|
+
readonly type: "string";
|
|
914
|
+
}, {
|
|
915
|
+
readonly internalType: "string";
|
|
916
|
+
readonly name: "body";
|
|
917
|
+
readonly type: "string";
|
|
918
|
+
}, {
|
|
919
|
+
readonly internalType: "address";
|
|
920
|
+
readonly name: "payer";
|
|
921
|
+
readonly type: "address";
|
|
922
|
+
}, {
|
|
923
|
+
readonly internalType: "bool";
|
|
924
|
+
readonly name: "revenueShareToReceiver";
|
|
925
|
+
readonly type: "bool";
|
|
926
|
+
}, {
|
|
927
|
+
readonly internalType: "bool";
|
|
928
|
+
readonly name: "resolveSenderToName";
|
|
929
|
+
readonly type: "bool";
|
|
930
|
+
}];
|
|
931
|
+
readonly name: "send";
|
|
932
|
+
readonly outputs: readonly [];
|
|
933
|
+
readonly stateMutability: "nonpayable";
|
|
934
|
+
readonly type: "function";
|
|
935
|
+
}, {
|
|
936
|
+
readonly inputs: readonly [];
|
|
937
|
+
readonly name: "sendFee";
|
|
938
|
+
readonly outputs: readonly [{
|
|
939
|
+
readonly internalType: "uint128";
|
|
940
|
+
readonly name: "";
|
|
941
|
+
readonly type: "uint128";
|
|
942
|
+
}];
|
|
943
|
+
readonly stateMutability: "view";
|
|
944
|
+
readonly type: "function";
|
|
945
|
+
}, {
|
|
946
|
+
readonly inputs: readonly [{
|
|
947
|
+
readonly internalType: "address";
|
|
948
|
+
readonly name: "to";
|
|
949
|
+
readonly type: "address";
|
|
950
|
+
}, {
|
|
951
|
+
readonly internalType: "string";
|
|
952
|
+
readonly name: "mailId";
|
|
953
|
+
readonly type: "string";
|
|
954
|
+
}, {
|
|
955
|
+
readonly internalType: "address";
|
|
956
|
+
readonly name: "payer";
|
|
957
|
+
readonly type: "address";
|
|
958
|
+
}, {
|
|
959
|
+
readonly internalType: "bool";
|
|
960
|
+
readonly name: "revenueShareToReceiver";
|
|
961
|
+
readonly type: "bool";
|
|
962
|
+
}, {
|
|
963
|
+
readonly internalType: "bool";
|
|
964
|
+
readonly name: "resolveSenderToName";
|
|
965
|
+
readonly type: "bool";
|
|
966
|
+
}];
|
|
967
|
+
readonly name: "sendPrepared";
|
|
968
|
+
readonly outputs: readonly [];
|
|
969
|
+
readonly stateMutability: "nonpayable";
|
|
970
|
+
readonly type: "function";
|
|
971
|
+
}, {
|
|
972
|
+
readonly inputs: readonly [{
|
|
973
|
+
readonly internalType: "string";
|
|
974
|
+
readonly name: "toEmail";
|
|
975
|
+
readonly type: "string";
|
|
976
|
+
}, {
|
|
977
|
+
readonly internalType: "string";
|
|
978
|
+
readonly name: "mailId";
|
|
979
|
+
readonly type: "string";
|
|
980
|
+
}, {
|
|
981
|
+
readonly internalType: "address";
|
|
982
|
+
readonly name: "payer";
|
|
983
|
+
readonly type: "address";
|
|
984
|
+
}];
|
|
985
|
+
readonly name: "sendPreparedToEmailAddress";
|
|
986
|
+
readonly outputs: readonly [];
|
|
987
|
+
readonly stateMutability: "nonpayable";
|
|
988
|
+
readonly type: "function";
|
|
989
|
+
}, {
|
|
990
|
+
readonly inputs: readonly [{
|
|
991
|
+
readonly internalType: "address";
|
|
992
|
+
readonly name: "to";
|
|
993
|
+
readonly type: "address";
|
|
994
|
+
}, {
|
|
995
|
+
readonly internalType: "string";
|
|
996
|
+
readonly name: "webhookId";
|
|
997
|
+
readonly type: "string";
|
|
998
|
+
}, {
|
|
999
|
+
readonly internalType: "address";
|
|
1000
|
+
readonly name: "payer";
|
|
1001
|
+
readonly type: "address";
|
|
1002
|
+
}, {
|
|
1003
|
+
readonly internalType: "bool";
|
|
1004
|
+
readonly name: "revenueShareToReceiver";
|
|
1005
|
+
readonly type: "bool";
|
|
1006
|
+
}, {
|
|
1007
|
+
readonly internalType: "bool";
|
|
1008
|
+
readonly name: "resolveSenderToName";
|
|
1009
|
+
readonly type: "bool";
|
|
1010
|
+
}];
|
|
1011
|
+
readonly name: "sendThroughWebhook";
|
|
1012
|
+
readonly outputs: readonly [];
|
|
1013
|
+
readonly stateMutability: "nonpayable";
|
|
1014
|
+
readonly type: "function";
|
|
1015
|
+
}, {
|
|
1016
|
+
readonly inputs: readonly [{
|
|
1017
|
+
readonly internalType: "string";
|
|
1018
|
+
readonly name: "toEmail";
|
|
1019
|
+
readonly type: "string";
|
|
1020
|
+
}, {
|
|
1021
|
+
readonly internalType: "string";
|
|
1022
|
+
readonly name: "subject";
|
|
1023
|
+
readonly type: "string";
|
|
1024
|
+
}, {
|
|
1025
|
+
readonly internalType: "string";
|
|
1026
|
+
readonly name: "body";
|
|
1027
|
+
readonly type: "string";
|
|
1028
|
+
}, {
|
|
1029
|
+
readonly internalType: "address";
|
|
1030
|
+
readonly name: "payer";
|
|
1031
|
+
readonly type: "address";
|
|
1032
|
+
}];
|
|
1033
|
+
readonly name: "sendToEmailAddress";
|
|
1034
|
+
readonly outputs: readonly [];
|
|
1035
|
+
readonly stateMutability: "nonpayable";
|
|
1036
|
+
readonly type: "function";
|
|
1037
|
+
}, {
|
|
1038
|
+
readonly inputs: readonly [{
|
|
1039
|
+
readonly internalType: "address";
|
|
1040
|
+
readonly name: "account";
|
|
1041
|
+
readonly type: "address";
|
|
1042
|
+
}, {
|
|
1043
|
+
readonly internalType: "uint256";
|
|
1044
|
+
readonly name: "percentage";
|
|
1045
|
+
readonly type: "uint256";
|
|
1046
|
+
}];
|
|
1047
|
+
readonly name: "setCustomFeePercentage";
|
|
1048
|
+
readonly outputs: readonly [];
|
|
1049
|
+
readonly stateMutability: "nonpayable";
|
|
1050
|
+
readonly type: "function";
|
|
1051
|
+
}, {
|
|
1052
|
+
readonly inputs: readonly [{
|
|
1053
|
+
readonly internalType: "uint256";
|
|
1054
|
+
readonly name: "usdcAmount";
|
|
1055
|
+
readonly type: "uint256";
|
|
1056
|
+
}];
|
|
1057
|
+
readonly name: "setDelegationFee";
|
|
1058
|
+
readonly outputs: readonly [];
|
|
1059
|
+
readonly stateMutability: "nonpayable";
|
|
1060
|
+
readonly type: "function";
|
|
1061
|
+
}, {
|
|
1062
|
+
readonly inputs: readonly [{
|
|
1063
|
+
readonly internalType: "uint256";
|
|
1064
|
+
readonly name: "usdcAmount";
|
|
1065
|
+
readonly type: "uint256";
|
|
1066
|
+
}];
|
|
1067
|
+
readonly name: "setFee";
|
|
1068
|
+
readonly outputs: readonly [];
|
|
1069
|
+
readonly stateMutability: "nonpayable";
|
|
1070
|
+
readonly type: "function";
|
|
1071
|
+
}, {
|
|
1072
|
+
readonly inputs: readonly [{
|
|
1073
|
+
readonly internalType: "bool";
|
|
1074
|
+
readonly name: "_feePaused";
|
|
1075
|
+
readonly type: "bool";
|
|
1076
|
+
}];
|
|
1077
|
+
readonly name: "setFeePaused";
|
|
1078
|
+
readonly outputs: readonly [];
|
|
1079
|
+
readonly stateMutability: "nonpayable";
|
|
1080
|
+
readonly type: "function";
|
|
1081
|
+
}, {
|
|
1082
|
+
readonly inputs: readonly [{
|
|
1083
|
+
readonly internalType: "address";
|
|
1084
|
+
readonly name: "contractAddress";
|
|
1085
|
+
readonly type: "address";
|
|
1086
|
+
}];
|
|
1087
|
+
readonly name: "setPermission";
|
|
1088
|
+
readonly outputs: readonly [];
|
|
1089
|
+
readonly stateMutability: "nonpayable";
|
|
1090
|
+
readonly type: "function";
|
|
1091
|
+
}, {
|
|
1092
|
+
readonly inputs: readonly [{
|
|
1093
|
+
readonly internalType: "address";
|
|
1094
|
+
readonly name: "newOwner";
|
|
1095
|
+
readonly type: "address";
|
|
1096
|
+
}];
|
|
1097
|
+
readonly name: "transferOwnership";
|
|
1098
|
+
readonly outputs: readonly [];
|
|
1099
|
+
readonly stateMutability: "nonpayable";
|
|
1100
|
+
readonly type: "function";
|
|
1101
|
+
}, {
|
|
1102
|
+
readonly inputs: readonly [];
|
|
1103
|
+
readonly name: "unpause";
|
|
1104
|
+
readonly outputs: readonly [];
|
|
1105
|
+
readonly stateMutability: "nonpayable";
|
|
1106
|
+
readonly type: "function";
|
|
1107
|
+
}, {
|
|
1108
|
+
readonly inputs: readonly [{
|
|
1109
|
+
readonly internalType: "address";
|
|
1110
|
+
readonly name: "newImplementation";
|
|
1111
|
+
readonly type: "address";
|
|
1112
|
+
}, {
|
|
1113
|
+
readonly internalType: "bytes";
|
|
1114
|
+
readonly name: "data";
|
|
1115
|
+
readonly type: "bytes";
|
|
1116
|
+
}];
|
|
1117
|
+
readonly name: "upgradeToAndCall";
|
|
1118
|
+
readonly outputs: readonly [];
|
|
1119
|
+
readonly stateMutability: "payable";
|
|
1120
|
+
readonly type: "function";
|
|
1121
|
+
}, {
|
|
1122
|
+
readonly inputs: readonly [];
|
|
1123
|
+
readonly name: "usdcToken";
|
|
1124
|
+
readonly outputs: readonly [{
|
|
1125
|
+
readonly internalType: "contract IERC20";
|
|
1126
|
+
readonly name: "";
|
|
1127
|
+
readonly type: "address";
|
|
1128
|
+
}];
|
|
1129
|
+
readonly stateMutability: "view";
|
|
1130
|
+
readonly type: "function";
|
|
1131
|
+
}];
|
|
1132
|
+
static readonly bytecode: `0x${string}`;
|
|
1133
|
+
private readonly defaultGasMultiplier;
|
|
1134
|
+
private readonly defaultGasLimits;
|
|
1135
|
+
/**
|
|
1136
|
+
* Ensure publicClient is provided
|
|
1137
|
+
*/
|
|
1138
|
+
private ensurePublicClient;
|
|
1139
|
+
/**
|
|
1140
|
+
* Switch chain if needed for EVM wallet
|
|
1141
|
+
*/
|
|
1142
|
+
private switchChainIfNeeded;
|
|
1143
|
+
/**
|
|
1144
|
+
* Helper method to estimate gas for a transaction with optional buffer
|
|
1145
|
+
*/
|
|
1146
|
+
private estimateGasWithBuffer;
|
|
1147
|
+
/**
|
|
1148
|
+
* Helper method to build transaction parameters with gas options
|
|
1149
|
+
*/
|
|
1150
|
+
private buildTxParams;
|
|
1151
|
+
/**
|
|
1152
|
+
* Deploy a fresh Mailer contract instance
|
|
1153
|
+
*/
|
|
1154
|
+
deploy(connectedWallet: EVMWallet, chainInfo: ChainInfo, ownerAddress: string | Address, gasOptions?: GasOptions): Promise<TransactionResult>;
|
|
1155
|
+
/**
|
|
1156
|
+
* Core message send with explicit payer control
|
|
1157
|
+
*/
|
|
1158
|
+
send(connectedWallet: EVMWallet, chainInfo: ChainInfo, to: Address | string, subject: string, body: string, payer: Address | string, revenueShareToReceiver: boolean, resolveSenderToName: boolean, gasOptions?: GasOptions): Promise<TransactionResult>;
|
|
1159
|
+
/**
|
|
1160
|
+
* Send a prepared message
|
|
1161
|
+
*/
|
|
1162
|
+
sendPrepared(connectedWallet: EVMWallet, chainInfo: ChainInfo, to: Address | string, mailId: string, payer: Address | string, revenueShareToReceiver: boolean, resolveSenderToName: boolean, gasOptions?: GasOptions): Promise<TransactionResult>;
|
|
1163
|
+
/**
|
|
1164
|
+
* Send through webhook
|
|
1165
|
+
*/
|
|
1166
|
+
sendThroughWebhook(connectedWallet: EVMWallet, chainInfo: ChainInfo, to: Address | string, webhookId: string, payer: Address | string, revenueShareToReceiver: boolean, resolveSenderToName: boolean, gasOptions?: GasOptions): Promise<TransactionResult>;
|
|
1167
|
+
/**
|
|
1168
|
+
* Send to email address
|
|
1169
|
+
*/
|
|
1170
|
+
sendToEmailAddress(connectedWallet: EVMWallet, chainInfo: ChainInfo, toEmail: string, subject: string, body: string, payer: Address | string, gasOptions?: GasOptions): Promise<TransactionResult>;
|
|
1171
|
+
/**
|
|
1172
|
+
* Send prepared to email address
|
|
1173
|
+
*/
|
|
1174
|
+
sendPreparedToEmailAddress(connectedWallet: EVMWallet, chainInfo: ChainInfo, toEmail: string, mailId: string, payer: Address | string, gasOptions?: GasOptions): Promise<TransactionResult>;
|
|
1175
|
+
/**
|
|
1176
|
+
* Get the current send fee
|
|
1177
|
+
*/
|
|
1178
|
+
getSendFee(chainInfo: ChainInfo, publicClient?: PublicClient): Promise<bigint>;
|
|
1179
|
+
/**
|
|
1180
|
+
* Set the send fee (owner only)
|
|
1181
|
+
*/
|
|
1182
|
+
setFee(connectedWallet: EVMWallet, chainInfo: ChainInfo, usdcAmount: number | bigint, gasOptions?: GasOptions): Promise<TransactionResult>;
|
|
1183
|
+
/**
|
|
1184
|
+
* Set fee paused state (owner only)
|
|
1185
|
+
*/
|
|
1186
|
+
setFeePaused(connectedWallet: EVMWallet, chainInfo: ChainInfo, feePaused: boolean, gasOptions?: GasOptions): Promise<TransactionResult>;
|
|
1187
|
+
/**
|
|
1188
|
+
* Get USDC token address
|
|
1189
|
+
*/
|
|
1190
|
+
getUsdcToken(chainInfo: ChainInfo, publicClient?: PublicClient): Promise<Address>;
|
|
1191
|
+
/**
|
|
1192
|
+
* Get contract owner
|
|
1193
|
+
*/
|
|
1194
|
+
getOwner(chainInfo: ChainInfo, publicClient?: PublicClient): Promise<Address>;
|
|
1195
|
+
/**
|
|
1196
|
+
* Claim recipient share
|
|
1197
|
+
*/
|
|
1198
|
+
claimRecipientShare(connectedWallet: EVMWallet, chainInfo: ChainInfo, gasOptions?: GasOptions): Promise<TransactionResult>;
|
|
1199
|
+
/**
|
|
1200
|
+
* Claim owner share (owner only)
|
|
1201
|
+
*/
|
|
1202
|
+
claimOwnerShare(connectedWallet: EVMWallet, chainInfo: ChainInfo, gasOptions?: GasOptions): Promise<TransactionResult>;
|
|
1203
|
+
/**
|
|
1204
|
+
* Claim expired shares (owner only)
|
|
1205
|
+
*/
|
|
1206
|
+
claimExpiredShares(connectedWallet: EVMWallet, chainInfo: ChainInfo, recipient: Address | string, gasOptions?: GasOptions): Promise<TransactionResult>;
|
|
1207
|
+
/**
|
|
1208
|
+
* Get recipient claimable info
|
|
1209
|
+
*/
|
|
1210
|
+
getRecipientClaimable(recipient: Address | string, chainInfo: ChainInfo, publicClient?: PublicClient): Promise<RecipientClaim>;
|
|
1211
|
+
/**
|
|
1212
|
+
* Get owner claimable amount
|
|
1213
|
+
*/
|
|
1214
|
+
getOwnerClaimable(chainInfo: ChainInfo, publicClient?: PublicClient): Promise<bigint>;
|
|
1215
|
+
/**
|
|
1216
|
+
* Delegate to another address
|
|
1217
|
+
*/
|
|
1218
|
+
delegateTo(connectedWallet: EVMWallet, chainInfo: ChainInfo, delegate: Address | string | null, gasOptions?: GasOptions): Promise<TransactionResult>;
|
|
1219
|
+
/**
|
|
1220
|
+
* Reject delegation
|
|
1221
|
+
*/
|
|
1222
|
+
rejectDelegation(connectedWallet: EVMWallet, chainInfo: ChainInfo, delegatingAddress: Address | string, gasOptions?: GasOptions): Promise<TransactionResult>;
|
|
1223
|
+
/**
|
|
1224
|
+
* Get delegation fee
|
|
1225
|
+
*/
|
|
1226
|
+
getDelegationFee(chainInfo: ChainInfo, publicClient?: PublicClient): Promise<bigint>;
|
|
1227
|
+
/**
|
|
1228
|
+
* Set delegation fee (owner only)
|
|
1229
|
+
*/
|
|
1230
|
+
setDelegationFee(connectedWallet: EVMWallet, chainInfo: ChainInfo, usdcAmount: number | bigint, gasOptions?: GasOptions): Promise<TransactionResult>;
|
|
1231
|
+
/**
|
|
1232
|
+
* Set custom fee percentage
|
|
1233
|
+
*/
|
|
1234
|
+
setCustomFeePercentage(connectedWallet: EVMWallet, chainInfo: ChainInfo, account: Address | string, percentage: number, gasOptions?: GasOptions): Promise<TransactionResult>;
|
|
1235
|
+
/**
|
|
1236
|
+
* Clear custom fee percentage
|
|
1237
|
+
*/
|
|
1238
|
+
clearCustomFeePercentage(connectedWallet: EVMWallet, chainInfo: ChainInfo, account: Address | string, gasOptions?: GasOptions): Promise<TransactionResult>;
|
|
1239
|
+
/**
|
|
1240
|
+
* Get custom fee percentage
|
|
1241
|
+
*/
|
|
1242
|
+
getCustomFeePercentage(chainInfo: ChainInfo, account: Address | string, publicClient?: PublicClient): Promise<number>;
|
|
1243
|
+
/**
|
|
1244
|
+
* Set permission for a contract to use caller's USDC for sending messages
|
|
1245
|
+
*/
|
|
1246
|
+
setPermission(connectedWallet: EVMWallet, chainInfo: ChainInfo, contractAddress: Address | string, gasOptions?: GasOptions): Promise<TransactionResult>;
|
|
1247
|
+
/**
|
|
1248
|
+
* Remove permission
|
|
1249
|
+
*/
|
|
1250
|
+
removePermission(connectedWallet: EVMWallet, chainInfo: ChainInfo, contractAddress: Address | string, gasOptions?: GasOptions): Promise<TransactionResult>;
|
|
1251
|
+
/**
|
|
1252
|
+
* Check if permission exists
|
|
1253
|
+
*/
|
|
1254
|
+
hasPermission(contractAddress: Address | string, wallet: Address | string, chainInfo: ChainInfo, publicClient?: PublicClient): Promise<boolean>;
|
|
1255
|
+
/**
|
|
1256
|
+
* Pause the contract (owner only)
|
|
1257
|
+
*/
|
|
1258
|
+
pause(connectedWallet: EVMWallet, chainInfo: ChainInfo, gasOptions?: GasOptions): Promise<TransactionResult>;
|
|
1259
|
+
/**
|
|
1260
|
+
* Unpause the contract (owner only)
|
|
1261
|
+
*/
|
|
1262
|
+
unpause(connectedWallet: EVMWallet, chainInfo: ChainInfo, gasOptions?: GasOptions): Promise<TransactionResult>;
|
|
1263
|
+
/**
|
|
1264
|
+
* Emergency unpause (owner only)
|
|
1265
|
+
*/
|
|
1266
|
+
emergencyUnpause(connectedWallet: EVMWallet, chainInfo: ChainInfo, gasOptions?: GasOptions): Promise<TransactionResult>;
|
|
1267
|
+
/**
|
|
1268
|
+
* Check if contract is paused
|
|
1269
|
+
*/
|
|
1270
|
+
isPaused(chainInfo: ChainInfo, publicClient?: PublicClient): Promise<boolean>;
|
|
1271
|
+
/**
|
|
1272
|
+
* Distribute claimable funds when paused (anyone can call)
|
|
1273
|
+
*/
|
|
1274
|
+
distributeClaimableFunds(connectedWallet: EVMWallet, chainInfo: ChainInfo, recipient: Address | string, gasOptions?: GasOptions): Promise<TransactionResult>;
|
|
1275
|
+
}
|
|
1276
|
+
export {};
|
|
1277
|
+
//# sourceMappingURL=evm-mailer-client.d.ts.map
|