@pufferfinance/puffer-sdk 1.13.2 → 1.14.0
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/api/puffer-client-helpers.cjs.map +1 -1
- package/dist/api/puffer-client-helpers.js.map +1 -1
- package/dist/ccip-C0xwQhXU.cjs.map +1 -1
- package/dist/ccip-K-z2PL4P.js.map +1 -1
- package/dist/constants-BcPRVxdH.cjs.map +1 -1
- package/dist/constants-CH7Tz5jz.js.map +1 -1
- package/dist/contracts/abis/mainnet/Accountant.cjs +1 -1
- package/dist/contracts/abis/mainnet/Accountant.cjs.map +1 -1
- package/dist/contracts/abis/mainnet/Accountant.d.ts +13 -457
- package/dist/contracts/abis/mainnet/Accountant.js +12 -441
- package/dist/contracts/abis/mainnet/Accountant.js.map +1 -1
- package/dist/contracts/abis/mainnet/BoringVault.cjs +1 -1
- package/dist/contracts/abis/mainnet/BoringVault.cjs.map +1 -1
- package/dist/contracts/abis/mainnet/BoringVault.d.ts +18 -505
- package/dist/contracts/abis/mainnet/BoringVault.js +15 -346
- package/dist/contracts/abis/mainnet/BoringVault.js.map +1 -1
- package/dist/contracts/abis/mainnet/CarrotStaker.cjs +1 -1
- package/dist/contracts/abis/mainnet/CarrotStaker.cjs.map +1 -1
- package/dist/contracts/abis/mainnet/CarrotStaker.d.ts +2 -371
- package/dist/contracts/abis/mainnet/CarrotStaker.js +4 -295
- package/dist/contracts/abis/mainnet/CarrotStaker.js.map +1 -1
- package/dist/contracts/abis/mainnet/Distributor.cjs +1 -1
- package/dist/contracts/abis/mainnet/Distributor.cjs.map +1 -1
- package/dist/contracts/abis/mainnet/Distributor.d.ts +0 -413
- package/dist/contracts/abis/mainnet/Distributor.js +2 -355
- package/dist/contracts/abis/mainnet/Distributor.js.map +1 -1
- package/dist/contracts/abis/mainnet/L1RewardManager.cjs +1 -1
- package/dist/contracts/abis/mainnet/L1RewardManager.cjs.map +1 -1
- package/dist/contracts/abis/mainnet/L1RewardManager.d.ts +0 -489
- package/dist/contracts/abis/mainnet/L1RewardManager.js +0 -411
- package/dist/contracts/abis/mainnet/L1RewardManager.js.map +1 -1
- package/dist/contracts/abis/mainnet/L2RewardManager.cjs +1 -1
- package/dist/contracts/abis/mainnet/L2RewardManager.cjs.map +1 -1
- package/dist/contracts/abis/mainnet/L2RewardManager.d.ts +23 -569
- package/dist/contracts/abis/mainnet/L2RewardManager.js +16 -484
- package/dist/contracts/abis/mainnet/L2RewardManager.js.map +1 -1
- package/dist/contracts/abis/mainnet/PufLocker.cjs +1 -1
- package/dist/contracts/abis/mainnet/PufLocker.cjs.map +1 -1
- package/dist/contracts/abis/mainnet/PufLocker.d.ts +29 -371
- package/dist/contracts/abis/mainnet/PufLocker.js +15 -285
- package/dist/contracts/abis/mainnet/PufLocker.js.map +1 -1
- package/dist/contracts/abis/mainnet/PufferL2Depositor.cjs +1 -1
- package/dist/contracts/abis/mainnet/PufferL2Depositor.cjs.map +1 -1
- package/dist/contracts/abis/mainnet/PufferL2Depositor.d.ts +0 -325
- package/dist/contracts/abis/mainnet/PufferL2Depositor.js +0 -270
- package/dist/contracts/abis/mainnet/PufferL2Depositor.js.map +1 -1
- package/dist/contracts/abis/mainnet/PufferVaultV2.cjs +1 -1
- package/dist/contracts/abis/mainnet/PufferVaultV2.cjs.map +1 -1
- package/dist/contracts/abis/mainnet/PufferVaultV2.d.ts +35 -1289
- package/dist/contracts/abis/mainnet/PufferVaultV2.js +45 -1681
- package/dist/contracts/abis/mainnet/PufferVaultV2.js.map +1 -1
- package/dist/contracts/abis/mainnet/PufferWithdrawalManager.cjs +1 -1
- package/dist/contracts/abis/mainnet/PufferWithdrawalManager.cjs.map +1 -1
- package/dist/contracts/abis/mainnet/PufferWithdrawalManager.d.ts +3 -426
- package/dist/contracts/abis/mainnet/PufferWithdrawalManager.js +5 -552
- package/dist/contracts/abis/mainnet/PufferWithdrawalManager.js.map +1 -1
- package/dist/contracts/abis/mainnet/Teller.cjs +1 -1
- package/dist/contracts/abis/mainnet/Teller.cjs.map +1 -1
- package/dist/contracts/abis/mainnet/Teller.d.ts +18 -444
- package/dist/contracts/abis/mainnet/Teller.js +15 -390
- package/dist/contracts/abis/mainnet/Teller.js.map +1 -1
- package/dist/contracts/abis/mainnet/mtwCARROT.cjs +1 -1
- package/dist/contracts/abis/mainnet/mtwCARROT.cjs.map +1 -1
- package/dist/contracts/abis/mainnet/mtwCARROT.d.ts +69 -399
- package/dist/contracts/abis/mainnet/mtwCARROT.js +43 -346
- package/dist/contracts/abis/mainnet/mtwCARROT.js.map +1 -1
- package/dist/contracts/addresses.cjs.map +1 -1
- package/dist/contracts/addresses.js +3 -0
- package/dist/contracts/addresses.js.map +1 -1
- package/dist/contracts/handlers/carrot-staking-handler.d.ts +1652 -0
- package/dist/contracts/handlers/distributor-handler.cjs +1 -1
- package/dist/contracts/handlers/distributor-handler.cjs.map +1 -1
- package/dist/contracts/handlers/distributor-handler.d.ts +8762 -0
- package/dist/contracts/handlers/distributor-handler.js +13 -127
- package/dist/contracts/handlers/distributor-handler.js.map +1 -1
- package/dist/contracts/handlers/erc20-permit-handler.cjs +1 -1
- package/dist/contracts/handlers/erc20-permit-handler.cjs.map +1 -1
- package/dist/contracts/handlers/erc20-permit-handler.d.ts +4 -4
- package/dist/contracts/handlers/erc20-permit-handler.js +12 -12
- package/dist/contracts/handlers/erc20-permit-handler.js.map +1 -1
- package/dist/contracts/handlers/l1-reward-manager-handler.cjs +1 -1
- package/dist/contracts/handlers/l1-reward-manager-handler.cjs.map +1 -1
- package/dist/contracts/handlers/l1-reward-manager-handler.d.ts +339 -0
- package/dist/contracts/handlers/l1-reward-manager-handler.js +13 -13
- package/dist/contracts/handlers/l1-reward-manager-handler.js.map +1 -1
- package/dist/contracts/handlers/l2-reward-manager-handler.cjs +1 -1
- package/dist/contracts/handlers/l2-reward-manager-handler.cjs.map +1 -1
- package/dist/contracts/handlers/l2-reward-manager-handler.d.ts +2423 -0
- package/dist/contracts/handlers/l2-reward-manager-handler.js +4 -4
- package/dist/contracts/handlers/l2-reward-manager-handler.js.map +1 -1
- package/dist/contracts/handlers/mtw-carrot-handler.d.ts +14333 -0
- package/dist/contracts/handlers/nucleus-accountant-handler.cjs +1 -1
- package/dist/contracts/handlers/nucleus-accountant-handler.cjs.map +1 -1
- package/dist/contracts/handlers/nucleus-accountant-handler.d.ts +620 -0
- package/dist/contracts/handlers/nucleus-accountant-handler.js +8 -8
- package/dist/contracts/handlers/nucleus-accountant-handler.js.map +1 -1
- package/dist/contracts/handlers/nucleus-atomic-queue-handler.cjs +1 -1
- package/dist/contracts/handlers/nucleus-atomic-queue-handler.cjs.map +1 -1
- package/dist/contracts/handlers/nucleus-atomic-queue-handler.js +9 -9
- package/dist/contracts/handlers/nucleus-atomic-queue-handler.js.map +1 -1
- package/dist/contracts/handlers/nucleus-boring-vault-handler.cjs +1 -1
- package/dist/contracts/handlers/nucleus-boring-vault-handler.cjs.map +1 -1
- package/dist/contracts/handlers/nucleus-boring-vault-handler.d.ts +3917 -0
- package/dist/contracts/handlers/nucleus-boring-vault-handler.js +22 -22
- package/dist/contracts/handlers/nucleus-boring-vault-handler.js.map +1 -1
- package/dist/contracts/handlers/nucleus-teller-handler.cjs +1 -1
- package/dist/contracts/handlers/nucleus-teller-handler.cjs.map +1 -1
- package/dist/contracts/handlers/nucleus-teller-handler.d.ts +2209 -0
- package/dist/contracts/handlers/nucleus-teller-handler.js +13 -13
- package/dist/contracts/handlers/nucleus-teller-handler.js.map +1 -1
- package/dist/contracts/handlers/puf-locker-handler.cjs +1 -1
- package/dist/contracts/handlers/puf-locker-handler.cjs.map +1 -1
- package/dist/contracts/handlers/puf-locker-handler.d.ts +2389 -0
- package/dist/contracts/handlers/puf-locker-handler.js +11 -11
- package/dist/contracts/handlers/puf-locker-handler.js.map +1 -1
- package/dist/contracts/handlers/puffer-depositor-handler.cjs +1 -1
- package/dist/contracts/handlers/puffer-depositor-handler.cjs.map +1 -1
- package/dist/contracts/handlers/puffer-depositor-handler.d.ts +100 -100
- package/dist/contracts/handlers/puffer-depositor-handler.js +18 -18
- package/dist/contracts/handlers/puffer-depositor-handler.js.map +1 -1
- package/dist/contracts/handlers/puffer-l2-depositor-handler.cjs +1 -1
- package/dist/contracts/handlers/puffer-l2-depositor-handler.cjs.map +1 -1
- package/dist/contracts/handlers/puffer-l2-depositor-handler.d.ts +471 -0
- package/dist/contracts/handlers/puffer-l2-depositor-handler.js +16 -16
- package/dist/contracts/handlers/puffer-l2-depositor-handler.js.map +1 -1
- package/dist/contracts/handlers/puffer-vault-handler.cjs +1 -1
- package/dist/contracts/handlers/puffer-vault-handler.cjs.map +1 -1
- package/dist/contracts/handlers/puffer-vault-handler.d.ts +4657 -0
- package/dist/contracts/handlers/puffer-vault-handler.js +2 -2
- package/dist/contracts/handlers/puffer-vault-handler.js.map +1 -1
- package/dist/contracts/handlers/puffer-withdrawal-manager-handler.cjs +1 -1
- package/dist/contracts/handlers/puffer-withdrawal-manager-handler.cjs.map +1 -1
- package/dist/contracts/handlers/puffer-withdrawal-manager-handler.d.ts +1882 -0
- package/dist/contracts/handlers/puffer-withdrawal-manager-handler.js +8 -8
- package/dist/contracts/handlers/puffer-withdrawal-manager-handler.js.map +1 -1
- package/dist/contracts/vaults-addresses.d.ts +5 -4
- package/dist/createWalletClient-DNLhBkOd.js.map +1 -1
- package/dist/createWalletClient-Di5of07E.cjs.map +1 -1
- package/dist/getContract-6ajhFbP2.js.map +1 -1
- package/dist/getContract-ChPFzc5y.cjs.map +1 -1
- package/dist/utils/version.cjs +1 -1
- package/dist/utils/version.js +1 -1
- package/dist/writeContract-BatuNuTe.cjs.map +1 -1
- package/dist/writeContract-CjcOEtWX.js.map +1 -1
- package/package.json +2 -2
- package/dist/contracts/abis/holesky/PufferDepositor.cjs +0 -2
- package/dist/contracts/abis/holesky/PufferDepositor.cjs.map +0 -1
- package/dist/contracts/abis/holesky/PufferDepositor.d.ts +0 -283
- package/dist/contracts/abis/holesky/PufferDepositor.js +0 -377
- package/dist/contracts/abis/holesky/PufferDepositor.js.map +0 -1
- package/dist/contracts/abis/holesky/PufferVaultV2.cjs +0 -2
- package/dist/contracts/abis/holesky/PufferVaultV2.cjs.map +0 -1
- package/dist/contracts/abis/holesky/PufferVaultV2.d.ts +0 -1361
- package/dist/contracts/abis/holesky/PufferVaultV2.js +0 -1787
- package/dist/contracts/abis/holesky/PufferVaultV2.js.map +0 -1
- package/dist/contracts/abis/l1-reward-manager-abis.cjs +0 -2
- package/dist/contracts/abis/l1-reward-manager-abis.cjs.map +0 -1
- package/dist/contracts/abis/l1-reward-manager-abis.d.ts +0 -527
- package/dist/contracts/abis/l1-reward-manager-abis.js +0 -10
- package/dist/contracts/abis/l1-reward-manager-abis.js.map +0 -1
- package/dist/contracts/abis/l2-reward-manager-abis.cjs +0 -2
- package/dist/contracts/abis/l2-reward-manager-abis.cjs.map +0 -1
- package/dist/contracts/abis/l2-reward-manager-abis.d.ts +0 -709
- package/dist/contracts/abis/l2-reward-manager-abis.js +0 -11
- package/dist/contracts/abis/l2-reward-manager-abis.js.map +0 -1
- package/dist/contracts/abis/nucleus-accountant-abis.cjs +0 -2
- package/dist/contracts/abis/nucleus-accountant-abis.cjs.map +0 -1
- package/dist/contracts/abis/nucleus-accountant-abis.d.ts +0 -525
- package/dist/contracts/abis/nucleus-accountant-abis.js +0 -9
- package/dist/contracts/abis/nucleus-accountant-abis.js.map +0 -1
- package/dist/contracts/abis/nucleus-atomic-queue-abis.cjs +0 -2
- package/dist/contracts/abis/nucleus-atomic-queue-abis.cjs.map +0 -1
- package/dist/contracts/abis/nucleus-atomic-queue-abis.d.ts +0 -332
- package/dist/contracts/abis/nucleus-atomic-queue-abis.js +0 -9
- package/dist/contracts/abis/nucleus-atomic-queue-abis.js.map +0 -1
- package/dist/contracts/abis/nucleus-boring-vault-abis.cjs +0 -2
- package/dist/contracts/abis/nucleus-boring-vault-abis.cjs.map +0 -1
- package/dist/contracts/abis/nucleus-boring-vault-abis.d.ts +0 -626
- package/dist/contracts/abis/nucleus-boring-vault-abis.js +0 -9
- package/dist/contracts/abis/nucleus-boring-vault-abis.js.map +0 -1
- package/dist/contracts/abis/nucleus-teller-abis.cjs +0 -2
- package/dist/contracts/abis/nucleus-teller-abis.cjs.map +0 -1
- package/dist/contracts/abis/nucleus-teller-abis.d.ts +0 -545
- package/dist/contracts/abis/nucleus-teller-abis.js +0 -9
- package/dist/contracts/abis/nucleus-teller-abis.js.map +0 -1
- package/dist/contracts/abis/puf-locker-abis.cjs +0 -2
- package/dist/contracts/abis/puf-locker-abis.cjs.map +0 -1
- package/dist/contracts/abis/puf-locker-abis.d.ts +0 -484
- package/dist/contracts/abis/puf-locker-abis.js +0 -10
- package/dist/contracts/abis/puf-locker-abis.js.map +0 -1
- package/dist/contracts/abis/puffer-depositor-abis.cjs +0 -2
- package/dist/contracts/abis/puffer-depositor-abis.cjs.map +0 -1
- package/dist/contracts/abis/puffer-depositor-abis.d.ts +0 -664
- package/dist/contracts/abis/puffer-depositor-abis.js +0 -20
- package/dist/contracts/abis/puffer-depositor-abis.js.map +0 -1
- package/dist/contracts/abis/puffer-vault-abis.cjs +0 -2
- package/dist/contracts/abis/puffer-vault-abis.cjs.map +0 -1
- package/dist/contracts/abis/puffer-vault-abis.d.ts +0 -2787
- package/dist/contracts/abis/puffer-vault-abis.js +0 -15
- package/dist/contracts/abis/puffer-vault-abis.js.map +0 -1
- package/dist/contracts/abis/puffer-withdrawal-manager-abis.cjs +0 -2
- package/dist/contracts/abis/puffer-withdrawal-manager-abis.cjs.map +0 -1
- package/dist/contracts/abis/puffer-withdrawal-manager-abis.d.ts +0 -514
- package/dist/contracts/abis/puffer-withdrawal-manager-abis.js +0 -10
- package/dist/contracts/abis/puffer-withdrawal-manager-abis.js.map +0 -1
- package/dist/contracts/abis/tokens-abis.cjs +0 -2
- package/dist/contracts/abis/tokens-abis.cjs.map +0 -1
- package/dist/contracts/abis/tokens-abis.d.ts +0 -396
- package/dist/contracts/abis/tokens-abis.js +0 -6
- package/dist/contracts/abis/tokens-abis.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Teller.cjs","sources":["../../../../lib/contracts/abis/mainnet/Teller.ts"],"sourcesContent":["export const Teller = <const>[\n {\n inputs: [\n { internalType: 'address', name: '_owner', type: 'address' },\n { internalType: 'address', name: '_vault', type: 'address' },\n { internalType: 'address', name: '_accountant', type: 'address' },\n ],\n stateMutability: 'nonpayable',\n type: 'constructor',\n },\n {\n inputs: [],\n name: 'TellerWithMultiAssetSupport__AssetNotSupported',\n type: 'error',\n },\n {\n inputs: [],\n name: 'TellerWithMultiAssetSupport__BadDepositHash',\n type: 'error',\n },\n {\n inputs: [],\n name: 'TellerWithMultiAssetSupport__MinimumAssetsNotMet',\n type: 'error',\n },\n {\n inputs: [],\n name: 'TellerWithMultiAssetSupport__MinimumMintNotMet',\n type: 'error',\n },\n { inputs: [], name: 'TellerWithMultiAssetSupport__Paused', type: 'error' },\n {\n inputs: [],\n name: 'TellerWithMultiAssetSupport__PermitFailedAndAllowanceTooLow',\n type: 'error',\n },\n {\n inputs: [],\n name: 'TellerWithMultiAssetSupport__ShareLockPeriodTooLong',\n type: 'error',\n },\n {\n inputs: [],\n name: 'TellerWithMultiAssetSupport__SharesAreLocked',\n type: 'error',\n },\n {\n inputs: [],\n name: 'TellerWithMultiAssetSupport__SharesAreUnLocked',\n type: 'error',\n },\n {\n inputs: [],\n name: 'TellerWithMultiAssetSupport__ZeroAssets',\n type: 'error',\n },\n {\n inputs: [],\n name: 'TellerWithMultiAssetSupport__ZeroShares',\n type: 'error',\n },\n {\n anonymous: false,\n inputs: [\n {\n indexed: true,\n internalType: 'address',\n name: 'asset',\n type: 'address',\n },\n ],\n name: 'AssetAdded',\n type: 'event',\n },\n {\n anonymous: false,\n inputs: [\n {\n indexed: true,\n internalType: 'address',\n name: 'asset',\n type: 'address',\n },\n ],\n name: 'AssetRemoved',\n type: 'event',\n },\n {\n anonymous: false,\n inputs: [\n { indexed: true, internalType: 'address', name: 'user', type: 'address' },\n {\n indexed: true,\n internalType: 'contract Authority',\n name: 'newAuthority',\n type: 'address',\n },\n ],\n name: 'AuthorityUpdated',\n type: 'event',\n },\n {\n anonymous: false,\n inputs: [\n {\n indexed: true,\n internalType: 'address',\n name: 'asset',\n type: 'address',\n },\n {\n indexed: false,\n internalType: 'uint256',\n name: 'depositAmount',\n type: 'uint256',\n },\n ],\n name: 'BulkDeposit',\n type: 'event',\n },\n {\n anonymous: false,\n inputs: [\n {\n indexed: true,\n internalType: 'address',\n name: 'asset',\n type: 'address',\n },\n {\n indexed: false,\n internalType: 'uint256',\n name: 'shareAmount',\n type: 'uint256',\n },\n ],\n name: 'BulkWithdraw',\n type: 'event',\n },\n {\n anonymous: false,\n inputs: [\n {\n indexed: true,\n internalType: 'uint256',\n name: 'nonce',\n type: 'uint256',\n },\n {\n indexed: true,\n internalType: 'address',\n name: 'receiver',\n type: 'address',\n },\n {\n indexed: true,\n internalType: 'address',\n name: 'depositAsset',\n type: 'address',\n },\n {\n indexed: false,\n internalType: 'uint256',\n name: 'depositAmount',\n type: 'uint256',\n },\n {\n indexed: false,\n internalType: 'uint256',\n name: 'shareAmount',\n type: 'uint256',\n },\n {\n indexed: false,\n internalType: 'uint256',\n name: 'depositTimestamp',\n type: 'uint256',\n },\n {\n indexed: false,\n internalType: 'uint256',\n name: 'shareLockPeriodAtTimeOfDeposit',\n type: 'uint256',\n },\n ],\n name: 'Deposit',\n type: 'event',\n },\n {\n anonymous: false,\n inputs: [\n {\n indexed: true,\n internalType: 'uint256',\n name: 'nonce',\n type: 'uint256',\n },\n {\n indexed: false,\n internalType: 'bytes32',\n name: 'depositHash',\n type: 'bytes32',\n },\n { indexed: true, internalType: 'address', name: 'user', type: 'address' },\n ],\n name: 'DepositRefunded',\n type: 'event',\n },\n {\n anonymous: false,\n inputs: [\n { indexed: true, internalType: 'address', name: 'user', type: 'address' },\n {\n indexed: true,\n internalType: 'address',\n name: 'newOwner',\n type: 'address',\n },\n ],\n name: 'OwnershipTransferred',\n type: 'event',\n },\n { anonymous: false, inputs: [], name: 'Paused', type: 'event' },\n { anonymous: false, inputs: [], name: 'Unpaused', type: 'event' },\n {\n inputs: [],\n name: 'accountant',\n outputs: [\n {\n internalType: 'contract AccountantWithRateProviders',\n name: '',\n type: 'address',\n },\n ],\n stateMutability: 'view',\n type: 'function',\n },\n {\n inputs: [\n { internalType: 'contract ERC20', name: 'asset', type: 'address' },\n ],\n name: 'addAsset',\n outputs: [],\n stateMutability: 'nonpayable',\n type: 'function',\n },\n {\n inputs: [],\n name: 'authority',\n outputs: [\n { internalType: 'contract Authority', name: '', type: 'address' },\n ],\n stateMutability: 'view',\n type: 'function',\n },\n {\n inputs: [{ internalType: 'address', name: 'from', type: 'address' }],\n name: 'beforeTransfer',\n outputs: [],\n stateMutability: 'view',\n type: 'function',\n },\n {\n inputs: [\n { internalType: 'contract ERC20', name: 'depositAsset', type: 'address' },\n { internalType: 'uint256', name: 'depositAmount', type: 'uint256' },\n { internalType: 'uint256', name: 'minimumMint', type: 'uint256' },\n { internalType: 'address', name: 'to', type: 'address' },\n ],\n name: 'bulkDeposit',\n outputs: [{ internalType: 'uint256', name: 'shares', type: 'uint256' }],\n stateMutability: 'nonpayable',\n type: 'function',\n },\n {\n inputs: [\n {\n internalType: 'contract ERC20',\n name: 'withdrawAsset',\n type: 'address',\n },\n { internalType: 'uint256', name: 'shareAmount', type: 'uint256' },\n { internalType: 'uint256', name: 'minimumAssets', type: 'uint256' },\n { internalType: 'address', name: 'to', type: 'address' },\n ],\n name: 'bulkWithdraw',\n outputs: [{ internalType: 'uint256', name: 'assetsOut', type: 'uint256' }],\n stateMutability: 'nonpayable',\n type: 'function',\n },\n {\n inputs: [\n { internalType: 'contract ERC20', name: 'depositAsset', type: 'address' },\n { internalType: 'uint256', name: 'depositAmount', type: 'uint256' },\n { internalType: 'uint256', name: 'minimumMint', type: 'uint256' },\n ],\n name: 'deposit',\n outputs: [{ internalType: 'uint256', name: 'shares', type: 'uint256' }],\n stateMutability: 'nonpayable',\n type: 'function',\n },\n {\n inputs: [],\n name: 'depositNonce',\n outputs: [{ internalType: 'uint96', name: '', type: 'uint96' }],\n stateMutability: 'view',\n type: 'function',\n },\n {\n inputs: [\n { internalType: 'contract ERC20', name: 'depositAsset', type: 'address' },\n { internalType: 'uint256', name: 'depositAmount', type: 'uint256' },\n { internalType: 'uint256', name: 'minimumMint', type: 'uint256' },\n { internalType: 'uint256', name: 'deadline', type: 'uint256' },\n { internalType: 'uint8', name: 'v', type: 'uint8' },\n { internalType: 'bytes32', name: 'r', type: 'bytes32' },\n { internalType: 'bytes32', name: 's', type: 'bytes32' },\n ],\n name: 'depositWithPermit',\n outputs: [{ internalType: 'uint256', name: 'shares', type: 'uint256' }],\n stateMutability: 'nonpayable',\n type: 'function',\n },\n {\n inputs: [],\n name: 'isPaused',\n outputs: [{ internalType: 'bool', name: '', type: 'bool' }],\n stateMutability: 'view',\n type: 'function',\n },\n {\n inputs: [{ internalType: 'contract ERC20', name: '', type: 'address' }],\n name: 'isSupported',\n outputs: [{ internalType: 'bool', name: '', type: 'bool' }],\n stateMutability: 'view',\n type: 'function',\n },\n {\n inputs: [],\n name: 'owner',\n outputs: [{ internalType: 'address', name: '', type: 'address' }],\n stateMutability: 'view',\n type: 'function',\n },\n {\n inputs: [],\n name: 'pause',\n outputs: [],\n stateMutability: 'nonpayable',\n type: 'function',\n },\n {\n inputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],\n name: 'publicDepositHistory',\n outputs: [{ internalType: 'bytes32', name: '', type: 'bytes32' }],\n stateMutability: 'view',\n type: 'function',\n },\n {\n inputs: [\n { internalType: 'uint256', name: 'nonce', type: 'uint256' },\n { internalType: 'address', name: 'receiver', type: 'address' },\n { internalType: 'address', name: 'depositAsset', type: 'address' },\n { internalType: 'uint256', name: 'depositAmount', type: 'uint256' },\n { internalType: 'uint256', name: 'shareAmount', type: 'uint256' },\n { internalType: 'uint256', name: 'depositTimestamp', type: 'uint256' },\n {\n internalType: 'uint256',\n name: 'shareLockUpPeriodAtTimeOfDeposit',\n type: 'uint256',\n },\n ],\n name: 'refundDeposit',\n outputs: [],\n stateMutability: 'nonpayable',\n type: 'function',\n },\n {\n inputs: [\n { internalType: 'contract ERC20', name: 'asset', type: 'address' },\n ],\n name: 'removeAsset',\n outputs: [],\n stateMutability: 'nonpayable',\n type: 'function',\n },\n {\n inputs: [\n {\n internalType: 'contract Authority',\n name: 'newAuthority',\n type: 'address',\n },\n ],\n name: 'setAuthority',\n outputs: [],\n stateMutability: 'nonpayable',\n type: 'function',\n },\n {\n inputs: [\n { internalType: 'uint64', name: '_shareLockPeriod', type: 'uint64' },\n ],\n name: 'setShareLockPeriod',\n outputs: [],\n stateMutability: 'nonpayable',\n type: 'function',\n },\n {\n inputs: [],\n name: 'shareLockPeriod',\n outputs: [{ internalType: 'uint64', name: '', type: 'uint64' }],\n stateMutability: 'view',\n type: 'function',\n },\n {\n inputs: [{ internalType: 'address', name: '', type: 'address' }],\n name: 'shareUnlockTime',\n outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],\n stateMutability: 'view',\n type: 'function',\n },\n {\n inputs: [{ internalType: 'address', name: 'newOwner', type: 'address' }],\n name: 'transferOwnership',\n outputs: [],\n stateMutability: 'nonpayable',\n type: 'function',\n },\n {\n inputs: [],\n name: 'unpause',\n outputs: [],\n stateMutability: 'nonpayable',\n type: 'function',\n },\n {\n inputs: [],\n name: 'vault',\n outputs: [\n { internalType: 'contract BoringVault', name: '', type: 'address' },\n ],\n stateMutability: 'view',\n type: 'function',\n },\n];\n"],"names":["Teller"],"mappings":"gFAAO,MAAMA,EAAgB,CAC3B,CACE,OAAQ,CACN,CAAE,aAAc,UAAW,KAAM,SAAU,KAAM,SAAU,EAC3D,CAAE,aAAc,UAAW,KAAM,SAAU,KAAM,SAAU,EAC3D,CAAE,aAAc,UAAW,KAAM,cAAe,KAAM,SAAU,CAClE,EACA,gBAAiB,aACjB,KAAM,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M,oBACN,QAAS,CAAC,EACV,gBAAiB,aACjB,KAAM,UACR,EACA,CACE,OAAQ,CAAC,EACT,KAAM,UACN,QAAS,CAAC,EACV,gBAAiB,aACjB,KAAM,UACR,EACA,CACE,OAAQ,CAAC,EACT,KAAM,QACN,QAAS,CACP,CAAE,aAAc,uBAAwB,KAAM,GAAI,KAAM,SAAU,CACpE,EACA,gBAAiB,OACjB,KAAM,UAAA,CAEV"}
|
|
1
|
+
{"version":3,"file":"Teller.cjs","sources":["../../../../lib/contracts/abis/mainnet/Teller.ts"],"sourcesContent":["export const Teller = <const>[\n {\n inputs: [],\n name: 'accountant',\n outputs: [\n {\n internalType: 'contract AccountantWithRateProviders',\n name: '',\n type: 'address',\n },\n ],\n stateMutability: 'view',\n type: 'function',\n },\n {\n inputs: [],\n name: 'vault',\n outputs: [\n { internalType: 'contract BoringVault', name: '', type: 'address' },\n ],\n stateMutability: 'view',\n type: 'function',\n },\n {\n inputs: [],\n name: 'shareLockPeriod',\n outputs: [{ internalType: 'uint64', name: '', type: 'uint64' }],\n stateMutability: 'view',\n type: 'function',\n },\n {\n inputs: [{ internalType: 'address', name: '', type: 'address' }],\n name: 'shareUnlockTime',\n outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],\n stateMutability: 'view',\n type: 'function',\n },\n {\n inputs: [],\n name: 'isPaused',\n outputs: [{ internalType: 'bool', name: '', type: 'bool' }],\n stateMutability: 'view',\n type: 'function',\n },\n {\n inputs: [\n { internalType: 'contract ERC20', name: 'depositAsset', type: 'address' },\n { internalType: 'uint256', name: 'depositAmount', type: 'uint256' },\n { internalType: 'uint256', name: 'minimumMint', type: 'uint256' },\n ],\n name: 'deposit',\n outputs: [{ internalType: 'uint256', name: 'shares', type: 'uint256' }],\n stateMutability: 'nonpayable',\n type: 'function',\n },\n {\n inputs: [\n { internalType: 'contract ERC20', name: 'depositAsset', type: 'address' },\n { internalType: 'uint256', name: 'depositAmount', type: 'uint256' },\n { internalType: 'uint256', name: 'minimumMint', type: 'uint256' },\n { internalType: 'uint256', name: 'deadline', type: 'uint256' },\n { internalType: 'uint8', name: 'v', type: 'uint8' },\n { internalType: 'bytes32', name: 'r', type: 'bytes32' },\n { internalType: 'bytes32', name: 's', type: 'bytes32' },\n ],\n name: 'depositWithPermit',\n outputs: [{ internalType: 'uint256', name: 'shares', type: 'uint256' }],\n stateMutability: 'nonpayable',\n type: 'function',\n },\n];\n"],"names":["Teller"],"mappings":"gFAAO,MAAMA,EAAgB,CAC3B,CACE,OAAQ,CAAC,EACT,KAAM,aACN,QAAS,CACP,CACE,aAAc,uCACd,KAAM,GACN,KAAM,SAAA,CAEV,EACA,gBAAiB,OACjB,KAAM,UACR,EACA,CACE,OAAQ,CAAC,EACT,KAAM,QACN,QAAS,CACP,CAAE,aAAc,uBAAwB,KAAM,GAAI,KAAM,SAAU,CACpE,EACA,gBAAiB,OACjB,KAAM,UACR,EACA,CACE,OAAQ,CAAC,EACT,KAAM,kBACN,QAAS,CAAC,CAAE,aAAc,SAAU,KAAM,GAAI,KAAM,SAAU,EAC9D,gBAAiB,OACjB,KAAM,UACR,EACA,CACE,OAAQ,CAAC,CAAE,aAAc,UAAW,KAAM,GAAI,KAAM,UAAW,EAC/D,KAAM,kBACN,QAAS,CAAC,CAAE,aAAc,UAAW,KAAM,GAAI,KAAM,UAAW,EAChE,gBAAiB,OACjB,KAAM,UACR,EACA,CACE,OAAQ,CAAC,EACT,KAAM,WACN,QAAS,CAAC,CAAE,aAAc,OAAQ,KAAM,GAAI,KAAM,OAAQ,EAC1D,gBAAiB,OACjB,KAAM,UACR,EACA,CACE,OAAQ,CACN,CAAE,aAAc,iBAAkB,KAAM,eAAgB,KAAM,SAAU,EACxE,CAAE,aAAc,UAAW,KAAM,gBAAiB,KAAM,SAAU,EAClE,CAAE,aAAc,UAAW,KAAM,cAAe,KAAM,SAAU,CAClE,EACA,KAAM,UACN,QAAS,CAAC,CAAE,aAAc,UAAW,KAAM,SAAU,KAAM,UAAW,EACtE,gBAAiB,aACjB,KAAM,UACR,EACA,CACE,OAAQ,CACN,CAAE,aAAc,iBAAkB,KAAM,eAAgB,KAAM,SAAU,EACxE,CAAE,aAAc,UAAW,KAAM,gBAAiB,KAAM,SAAU,EAClE,CAAE,aAAc,UAAW,KAAM,cAAe,KAAM,SAAU,EAChE,CAAE,aAAc,UAAW,KAAM,WAAY,KAAM,SAAU,EAC7D,CAAE,aAAc,QAAS,KAAM,IAAK,KAAM,OAAQ,EAClD,CAAE,aAAc,UAAW,KAAM,IAAK,KAAM,SAAU,EACtD,CAAE,aAAc,UAAW,KAAM,IAAK,KAAM,SAAU,CACxD,EACA,KAAM,oBACN,QAAS,CAAC,CAAE,aAAc,UAAW,KAAM,SAAU,KAAM,UAAW,EACtE,gBAAiB,aACjB,KAAM,UAAA,CAEV"}
|
|
@@ -1,214 +1,4 @@
|
|
|
1
1
|
export declare const Teller: readonly [{
|
|
2
|
-
readonly inputs: readonly [{
|
|
3
|
-
readonly internalType: "address";
|
|
4
|
-
readonly name: "_owner";
|
|
5
|
-
readonly type: "address";
|
|
6
|
-
}, {
|
|
7
|
-
readonly internalType: "address";
|
|
8
|
-
readonly name: "_vault";
|
|
9
|
-
readonly type: "address";
|
|
10
|
-
}, {
|
|
11
|
-
readonly internalType: "address";
|
|
12
|
-
readonly name: "_accountant";
|
|
13
|
-
readonly type: "address";
|
|
14
|
-
}];
|
|
15
|
-
readonly stateMutability: "nonpayable";
|
|
16
|
-
readonly type: "constructor";
|
|
17
|
-
}, {
|
|
18
|
-
readonly inputs: readonly [];
|
|
19
|
-
readonly name: "TellerWithMultiAssetSupport__AssetNotSupported";
|
|
20
|
-
readonly type: "error";
|
|
21
|
-
}, {
|
|
22
|
-
readonly inputs: readonly [];
|
|
23
|
-
readonly name: "TellerWithMultiAssetSupport__BadDepositHash";
|
|
24
|
-
readonly type: "error";
|
|
25
|
-
}, {
|
|
26
|
-
readonly inputs: readonly [];
|
|
27
|
-
readonly name: "TellerWithMultiAssetSupport__MinimumAssetsNotMet";
|
|
28
|
-
readonly type: "error";
|
|
29
|
-
}, {
|
|
30
|
-
readonly inputs: readonly [];
|
|
31
|
-
readonly name: "TellerWithMultiAssetSupport__MinimumMintNotMet";
|
|
32
|
-
readonly type: "error";
|
|
33
|
-
}, {
|
|
34
|
-
readonly inputs: readonly [];
|
|
35
|
-
readonly name: "TellerWithMultiAssetSupport__Paused";
|
|
36
|
-
readonly type: "error";
|
|
37
|
-
}, {
|
|
38
|
-
readonly inputs: readonly [];
|
|
39
|
-
readonly name: "TellerWithMultiAssetSupport__PermitFailedAndAllowanceTooLow";
|
|
40
|
-
readonly type: "error";
|
|
41
|
-
}, {
|
|
42
|
-
readonly inputs: readonly [];
|
|
43
|
-
readonly name: "TellerWithMultiAssetSupport__ShareLockPeriodTooLong";
|
|
44
|
-
readonly type: "error";
|
|
45
|
-
}, {
|
|
46
|
-
readonly inputs: readonly [];
|
|
47
|
-
readonly name: "TellerWithMultiAssetSupport__SharesAreLocked";
|
|
48
|
-
readonly type: "error";
|
|
49
|
-
}, {
|
|
50
|
-
readonly inputs: readonly [];
|
|
51
|
-
readonly name: "TellerWithMultiAssetSupport__SharesAreUnLocked";
|
|
52
|
-
readonly type: "error";
|
|
53
|
-
}, {
|
|
54
|
-
readonly inputs: readonly [];
|
|
55
|
-
readonly name: "TellerWithMultiAssetSupport__ZeroAssets";
|
|
56
|
-
readonly type: "error";
|
|
57
|
-
}, {
|
|
58
|
-
readonly inputs: readonly [];
|
|
59
|
-
readonly name: "TellerWithMultiAssetSupport__ZeroShares";
|
|
60
|
-
readonly type: "error";
|
|
61
|
-
}, {
|
|
62
|
-
readonly anonymous: false;
|
|
63
|
-
readonly inputs: readonly [{
|
|
64
|
-
readonly indexed: true;
|
|
65
|
-
readonly internalType: "address";
|
|
66
|
-
readonly name: "asset";
|
|
67
|
-
readonly type: "address";
|
|
68
|
-
}];
|
|
69
|
-
readonly name: "AssetAdded";
|
|
70
|
-
readonly type: "event";
|
|
71
|
-
}, {
|
|
72
|
-
readonly anonymous: false;
|
|
73
|
-
readonly inputs: readonly [{
|
|
74
|
-
readonly indexed: true;
|
|
75
|
-
readonly internalType: "address";
|
|
76
|
-
readonly name: "asset";
|
|
77
|
-
readonly type: "address";
|
|
78
|
-
}];
|
|
79
|
-
readonly name: "AssetRemoved";
|
|
80
|
-
readonly type: "event";
|
|
81
|
-
}, {
|
|
82
|
-
readonly anonymous: false;
|
|
83
|
-
readonly inputs: readonly [{
|
|
84
|
-
readonly indexed: true;
|
|
85
|
-
readonly internalType: "address";
|
|
86
|
-
readonly name: "user";
|
|
87
|
-
readonly type: "address";
|
|
88
|
-
}, {
|
|
89
|
-
readonly indexed: true;
|
|
90
|
-
readonly internalType: "contract Authority";
|
|
91
|
-
readonly name: "newAuthority";
|
|
92
|
-
readonly type: "address";
|
|
93
|
-
}];
|
|
94
|
-
readonly name: "AuthorityUpdated";
|
|
95
|
-
readonly type: "event";
|
|
96
|
-
}, {
|
|
97
|
-
readonly anonymous: false;
|
|
98
|
-
readonly inputs: readonly [{
|
|
99
|
-
readonly indexed: true;
|
|
100
|
-
readonly internalType: "address";
|
|
101
|
-
readonly name: "asset";
|
|
102
|
-
readonly type: "address";
|
|
103
|
-
}, {
|
|
104
|
-
readonly indexed: false;
|
|
105
|
-
readonly internalType: "uint256";
|
|
106
|
-
readonly name: "depositAmount";
|
|
107
|
-
readonly type: "uint256";
|
|
108
|
-
}];
|
|
109
|
-
readonly name: "BulkDeposit";
|
|
110
|
-
readonly type: "event";
|
|
111
|
-
}, {
|
|
112
|
-
readonly anonymous: false;
|
|
113
|
-
readonly inputs: readonly [{
|
|
114
|
-
readonly indexed: true;
|
|
115
|
-
readonly internalType: "address";
|
|
116
|
-
readonly name: "asset";
|
|
117
|
-
readonly type: "address";
|
|
118
|
-
}, {
|
|
119
|
-
readonly indexed: false;
|
|
120
|
-
readonly internalType: "uint256";
|
|
121
|
-
readonly name: "shareAmount";
|
|
122
|
-
readonly type: "uint256";
|
|
123
|
-
}];
|
|
124
|
-
readonly name: "BulkWithdraw";
|
|
125
|
-
readonly type: "event";
|
|
126
|
-
}, {
|
|
127
|
-
readonly anonymous: false;
|
|
128
|
-
readonly inputs: readonly [{
|
|
129
|
-
readonly indexed: true;
|
|
130
|
-
readonly internalType: "uint256";
|
|
131
|
-
readonly name: "nonce";
|
|
132
|
-
readonly type: "uint256";
|
|
133
|
-
}, {
|
|
134
|
-
readonly indexed: true;
|
|
135
|
-
readonly internalType: "address";
|
|
136
|
-
readonly name: "receiver";
|
|
137
|
-
readonly type: "address";
|
|
138
|
-
}, {
|
|
139
|
-
readonly indexed: true;
|
|
140
|
-
readonly internalType: "address";
|
|
141
|
-
readonly name: "depositAsset";
|
|
142
|
-
readonly type: "address";
|
|
143
|
-
}, {
|
|
144
|
-
readonly indexed: false;
|
|
145
|
-
readonly internalType: "uint256";
|
|
146
|
-
readonly name: "depositAmount";
|
|
147
|
-
readonly type: "uint256";
|
|
148
|
-
}, {
|
|
149
|
-
readonly indexed: false;
|
|
150
|
-
readonly internalType: "uint256";
|
|
151
|
-
readonly name: "shareAmount";
|
|
152
|
-
readonly type: "uint256";
|
|
153
|
-
}, {
|
|
154
|
-
readonly indexed: false;
|
|
155
|
-
readonly internalType: "uint256";
|
|
156
|
-
readonly name: "depositTimestamp";
|
|
157
|
-
readonly type: "uint256";
|
|
158
|
-
}, {
|
|
159
|
-
readonly indexed: false;
|
|
160
|
-
readonly internalType: "uint256";
|
|
161
|
-
readonly name: "shareLockPeriodAtTimeOfDeposit";
|
|
162
|
-
readonly type: "uint256";
|
|
163
|
-
}];
|
|
164
|
-
readonly name: "Deposit";
|
|
165
|
-
readonly type: "event";
|
|
166
|
-
}, {
|
|
167
|
-
readonly anonymous: false;
|
|
168
|
-
readonly inputs: readonly [{
|
|
169
|
-
readonly indexed: true;
|
|
170
|
-
readonly internalType: "uint256";
|
|
171
|
-
readonly name: "nonce";
|
|
172
|
-
readonly type: "uint256";
|
|
173
|
-
}, {
|
|
174
|
-
readonly indexed: false;
|
|
175
|
-
readonly internalType: "bytes32";
|
|
176
|
-
readonly name: "depositHash";
|
|
177
|
-
readonly type: "bytes32";
|
|
178
|
-
}, {
|
|
179
|
-
readonly indexed: true;
|
|
180
|
-
readonly internalType: "address";
|
|
181
|
-
readonly name: "user";
|
|
182
|
-
readonly type: "address";
|
|
183
|
-
}];
|
|
184
|
-
readonly name: "DepositRefunded";
|
|
185
|
-
readonly type: "event";
|
|
186
|
-
}, {
|
|
187
|
-
readonly anonymous: false;
|
|
188
|
-
readonly inputs: readonly [{
|
|
189
|
-
readonly indexed: true;
|
|
190
|
-
readonly internalType: "address";
|
|
191
|
-
readonly name: "user";
|
|
192
|
-
readonly type: "address";
|
|
193
|
-
}, {
|
|
194
|
-
readonly indexed: true;
|
|
195
|
-
readonly internalType: "address";
|
|
196
|
-
readonly name: "newOwner";
|
|
197
|
-
readonly type: "address";
|
|
198
|
-
}];
|
|
199
|
-
readonly name: "OwnershipTransferred";
|
|
200
|
-
readonly type: "event";
|
|
201
|
-
}, {
|
|
202
|
-
readonly anonymous: false;
|
|
203
|
-
readonly inputs: readonly [];
|
|
204
|
-
readonly name: "Paused";
|
|
205
|
-
readonly type: "event";
|
|
206
|
-
}, {
|
|
207
|
-
readonly anonymous: false;
|
|
208
|
-
readonly inputs: readonly [];
|
|
209
|
-
readonly name: "Unpaused";
|
|
210
|
-
readonly type: "event";
|
|
211
|
-
}, {
|
|
212
2
|
readonly inputs: readonly [];
|
|
213
3
|
readonly name: "accountant";
|
|
214
4
|
readonly outputs: readonly [{
|
|
@@ -218,87 +8,49 @@ export declare const Teller: readonly [{
|
|
|
218
8
|
}];
|
|
219
9
|
readonly stateMutability: "view";
|
|
220
10
|
readonly type: "function";
|
|
221
|
-
}, {
|
|
222
|
-
readonly inputs: readonly [{
|
|
223
|
-
readonly internalType: "contract ERC20";
|
|
224
|
-
readonly name: "asset";
|
|
225
|
-
readonly type: "address";
|
|
226
|
-
}];
|
|
227
|
-
readonly name: "addAsset";
|
|
228
|
-
readonly outputs: readonly [];
|
|
229
|
-
readonly stateMutability: "nonpayable";
|
|
230
|
-
readonly type: "function";
|
|
231
11
|
}, {
|
|
232
12
|
readonly inputs: readonly [];
|
|
233
|
-
readonly name: "
|
|
13
|
+
readonly name: "vault";
|
|
234
14
|
readonly outputs: readonly [{
|
|
235
|
-
readonly internalType: "contract
|
|
15
|
+
readonly internalType: "contract BoringVault";
|
|
236
16
|
readonly name: "";
|
|
237
17
|
readonly type: "address";
|
|
238
18
|
}];
|
|
239
19
|
readonly stateMutability: "view";
|
|
240
20
|
readonly type: "function";
|
|
241
21
|
}, {
|
|
242
|
-
readonly inputs: readonly [
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
readonly
|
|
22
|
+
readonly inputs: readonly [];
|
|
23
|
+
readonly name: "shareLockPeriod";
|
|
24
|
+
readonly outputs: readonly [{
|
|
25
|
+
readonly internalType: "uint64";
|
|
26
|
+
readonly name: "";
|
|
27
|
+
readonly type: "uint64";
|
|
246
28
|
}];
|
|
247
|
-
readonly name: "beforeTransfer";
|
|
248
|
-
readonly outputs: readonly [];
|
|
249
29
|
readonly stateMutability: "view";
|
|
250
30
|
readonly type: "function";
|
|
251
31
|
}, {
|
|
252
32
|
readonly inputs: readonly [{
|
|
253
|
-
readonly internalType: "contract ERC20";
|
|
254
|
-
readonly name: "depositAsset";
|
|
255
|
-
readonly type: "address";
|
|
256
|
-
}, {
|
|
257
|
-
readonly internalType: "uint256";
|
|
258
|
-
readonly name: "depositAmount";
|
|
259
|
-
readonly type: "uint256";
|
|
260
|
-
}, {
|
|
261
|
-
readonly internalType: "uint256";
|
|
262
|
-
readonly name: "minimumMint";
|
|
263
|
-
readonly type: "uint256";
|
|
264
|
-
}, {
|
|
265
33
|
readonly internalType: "address";
|
|
266
|
-
readonly name: "
|
|
34
|
+
readonly name: "";
|
|
267
35
|
readonly type: "address";
|
|
268
36
|
}];
|
|
269
|
-
readonly name: "
|
|
37
|
+
readonly name: "shareUnlockTime";
|
|
270
38
|
readonly outputs: readonly [{
|
|
271
39
|
readonly internalType: "uint256";
|
|
272
|
-
readonly name: "
|
|
40
|
+
readonly name: "";
|
|
273
41
|
readonly type: "uint256";
|
|
274
42
|
}];
|
|
275
|
-
readonly stateMutability: "
|
|
43
|
+
readonly stateMutability: "view";
|
|
276
44
|
readonly type: "function";
|
|
277
45
|
}, {
|
|
278
|
-
readonly inputs: readonly [
|
|
279
|
-
|
|
280
|
-
readonly name: "withdrawAsset";
|
|
281
|
-
readonly type: "address";
|
|
282
|
-
}, {
|
|
283
|
-
readonly internalType: "uint256";
|
|
284
|
-
readonly name: "shareAmount";
|
|
285
|
-
readonly type: "uint256";
|
|
286
|
-
}, {
|
|
287
|
-
readonly internalType: "uint256";
|
|
288
|
-
readonly name: "minimumAssets";
|
|
289
|
-
readonly type: "uint256";
|
|
290
|
-
}, {
|
|
291
|
-
readonly internalType: "address";
|
|
292
|
-
readonly name: "to";
|
|
293
|
-
readonly type: "address";
|
|
294
|
-
}];
|
|
295
|
-
readonly name: "bulkWithdraw";
|
|
46
|
+
readonly inputs: readonly [];
|
|
47
|
+
readonly name: "isPaused";
|
|
296
48
|
readonly outputs: readonly [{
|
|
297
|
-
readonly internalType: "
|
|
298
|
-
readonly name: "
|
|
299
|
-
readonly type: "
|
|
49
|
+
readonly internalType: "bool";
|
|
50
|
+
readonly name: "";
|
|
51
|
+
readonly type: "bool";
|
|
300
52
|
}];
|
|
301
|
-
readonly stateMutability: "
|
|
53
|
+
readonly stateMutability: "view";
|
|
302
54
|
readonly type: "function";
|
|
303
55
|
}, {
|
|
304
56
|
readonly inputs: readonly [{
|
|
@@ -322,16 +74,6 @@ export declare const Teller: readonly [{
|
|
|
322
74
|
}];
|
|
323
75
|
readonly stateMutability: "nonpayable";
|
|
324
76
|
readonly type: "function";
|
|
325
|
-
}, {
|
|
326
|
-
readonly inputs: readonly [];
|
|
327
|
-
readonly name: "depositNonce";
|
|
328
|
-
readonly outputs: readonly [{
|
|
329
|
-
readonly internalType: "uint96";
|
|
330
|
-
readonly name: "";
|
|
331
|
-
readonly type: "uint96";
|
|
332
|
-
}];
|
|
333
|
-
readonly stateMutability: "view";
|
|
334
|
-
readonly type: "function";
|
|
335
77
|
}, {
|
|
336
78
|
readonly inputs: readonly [{
|
|
337
79
|
readonly internalType: "contract ERC20";
|
|
@@ -370,172 +112,4 @@ export declare const Teller: readonly [{
|
|
|
370
112
|
}];
|
|
371
113
|
readonly stateMutability: "nonpayable";
|
|
372
114
|
readonly type: "function";
|
|
373
|
-
}, {
|
|
374
|
-
readonly inputs: readonly [];
|
|
375
|
-
readonly name: "isPaused";
|
|
376
|
-
readonly outputs: readonly [{
|
|
377
|
-
readonly internalType: "bool";
|
|
378
|
-
readonly name: "";
|
|
379
|
-
readonly type: "bool";
|
|
380
|
-
}];
|
|
381
|
-
readonly stateMutability: "view";
|
|
382
|
-
readonly type: "function";
|
|
383
|
-
}, {
|
|
384
|
-
readonly inputs: readonly [{
|
|
385
|
-
readonly internalType: "contract ERC20";
|
|
386
|
-
readonly name: "";
|
|
387
|
-
readonly type: "address";
|
|
388
|
-
}];
|
|
389
|
-
readonly name: "isSupported";
|
|
390
|
-
readonly outputs: readonly [{
|
|
391
|
-
readonly internalType: "bool";
|
|
392
|
-
readonly name: "";
|
|
393
|
-
readonly type: "bool";
|
|
394
|
-
}];
|
|
395
|
-
readonly stateMutability: "view";
|
|
396
|
-
readonly type: "function";
|
|
397
|
-
}, {
|
|
398
|
-
readonly inputs: readonly [];
|
|
399
|
-
readonly name: "owner";
|
|
400
|
-
readonly outputs: readonly [{
|
|
401
|
-
readonly internalType: "address";
|
|
402
|
-
readonly name: "";
|
|
403
|
-
readonly type: "address";
|
|
404
|
-
}];
|
|
405
|
-
readonly stateMutability: "view";
|
|
406
|
-
readonly type: "function";
|
|
407
|
-
}, {
|
|
408
|
-
readonly inputs: readonly [];
|
|
409
|
-
readonly name: "pause";
|
|
410
|
-
readonly outputs: readonly [];
|
|
411
|
-
readonly stateMutability: "nonpayable";
|
|
412
|
-
readonly type: "function";
|
|
413
|
-
}, {
|
|
414
|
-
readonly inputs: readonly [{
|
|
415
|
-
readonly internalType: "uint256";
|
|
416
|
-
readonly name: "";
|
|
417
|
-
readonly type: "uint256";
|
|
418
|
-
}];
|
|
419
|
-
readonly name: "publicDepositHistory";
|
|
420
|
-
readonly outputs: readonly [{
|
|
421
|
-
readonly internalType: "bytes32";
|
|
422
|
-
readonly name: "";
|
|
423
|
-
readonly type: "bytes32";
|
|
424
|
-
}];
|
|
425
|
-
readonly stateMutability: "view";
|
|
426
|
-
readonly type: "function";
|
|
427
|
-
}, {
|
|
428
|
-
readonly inputs: readonly [{
|
|
429
|
-
readonly internalType: "uint256";
|
|
430
|
-
readonly name: "nonce";
|
|
431
|
-
readonly type: "uint256";
|
|
432
|
-
}, {
|
|
433
|
-
readonly internalType: "address";
|
|
434
|
-
readonly name: "receiver";
|
|
435
|
-
readonly type: "address";
|
|
436
|
-
}, {
|
|
437
|
-
readonly internalType: "address";
|
|
438
|
-
readonly name: "depositAsset";
|
|
439
|
-
readonly type: "address";
|
|
440
|
-
}, {
|
|
441
|
-
readonly internalType: "uint256";
|
|
442
|
-
readonly name: "depositAmount";
|
|
443
|
-
readonly type: "uint256";
|
|
444
|
-
}, {
|
|
445
|
-
readonly internalType: "uint256";
|
|
446
|
-
readonly name: "shareAmount";
|
|
447
|
-
readonly type: "uint256";
|
|
448
|
-
}, {
|
|
449
|
-
readonly internalType: "uint256";
|
|
450
|
-
readonly name: "depositTimestamp";
|
|
451
|
-
readonly type: "uint256";
|
|
452
|
-
}, {
|
|
453
|
-
readonly internalType: "uint256";
|
|
454
|
-
readonly name: "shareLockUpPeriodAtTimeOfDeposit";
|
|
455
|
-
readonly type: "uint256";
|
|
456
|
-
}];
|
|
457
|
-
readonly name: "refundDeposit";
|
|
458
|
-
readonly outputs: readonly [];
|
|
459
|
-
readonly stateMutability: "nonpayable";
|
|
460
|
-
readonly type: "function";
|
|
461
|
-
}, {
|
|
462
|
-
readonly inputs: readonly [{
|
|
463
|
-
readonly internalType: "contract ERC20";
|
|
464
|
-
readonly name: "asset";
|
|
465
|
-
readonly type: "address";
|
|
466
|
-
}];
|
|
467
|
-
readonly name: "removeAsset";
|
|
468
|
-
readonly outputs: readonly [];
|
|
469
|
-
readonly stateMutability: "nonpayable";
|
|
470
|
-
readonly type: "function";
|
|
471
|
-
}, {
|
|
472
|
-
readonly inputs: readonly [{
|
|
473
|
-
readonly internalType: "contract Authority";
|
|
474
|
-
readonly name: "newAuthority";
|
|
475
|
-
readonly type: "address";
|
|
476
|
-
}];
|
|
477
|
-
readonly name: "setAuthority";
|
|
478
|
-
readonly outputs: readonly [];
|
|
479
|
-
readonly stateMutability: "nonpayable";
|
|
480
|
-
readonly type: "function";
|
|
481
|
-
}, {
|
|
482
|
-
readonly inputs: readonly [{
|
|
483
|
-
readonly internalType: "uint64";
|
|
484
|
-
readonly name: "_shareLockPeriod";
|
|
485
|
-
readonly type: "uint64";
|
|
486
|
-
}];
|
|
487
|
-
readonly name: "setShareLockPeriod";
|
|
488
|
-
readonly outputs: readonly [];
|
|
489
|
-
readonly stateMutability: "nonpayable";
|
|
490
|
-
readonly type: "function";
|
|
491
|
-
}, {
|
|
492
|
-
readonly inputs: readonly [];
|
|
493
|
-
readonly name: "shareLockPeriod";
|
|
494
|
-
readonly outputs: readonly [{
|
|
495
|
-
readonly internalType: "uint64";
|
|
496
|
-
readonly name: "";
|
|
497
|
-
readonly type: "uint64";
|
|
498
|
-
}];
|
|
499
|
-
readonly stateMutability: "view";
|
|
500
|
-
readonly type: "function";
|
|
501
|
-
}, {
|
|
502
|
-
readonly inputs: readonly [{
|
|
503
|
-
readonly internalType: "address";
|
|
504
|
-
readonly name: "";
|
|
505
|
-
readonly type: "address";
|
|
506
|
-
}];
|
|
507
|
-
readonly name: "shareUnlockTime";
|
|
508
|
-
readonly outputs: readonly [{
|
|
509
|
-
readonly internalType: "uint256";
|
|
510
|
-
readonly name: "";
|
|
511
|
-
readonly type: "uint256";
|
|
512
|
-
}];
|
|
513
|
-
readonly stateMutability: "view";
|
|
514
|
-
readonly type: "function";
|
|
515
|
-
}, {
|
|
516
|
-
readonly inputs: readonly [{
|
|
517
|
-
readonly internalType: "address";
|
|
518
|
-
readonly name: "newOwner";
|
|
519
|
-
readonly type: "address";
|
|
520
|
-
}];
|
|
521
|
-
readonly name: "transferOwnership";
|
|
522
|
-
readonly outputs: readonly [];
|
|
523
|
-
readonly stateMutability: "nonpayable";
|
|
524
|
-
readonly type: "function";
|
|
525
|
-
}, {
|
|
526
|
-
readonly inputs: readonly [];
|
|
527
|
-
readonly name: "unpause";
|
|
528
|
-
readonly outputs: readonly [];
|
|
529
|
-
readonly stateMutability: "nonpayable";
|
|
530
|
-
readonly type: "function";
|
|
531
|
-
}, {
|
|
532
|
-
readonly inputs: readonly [];
|
|
533
|
-
readonly name: "vault";
|
|
534
|
-
readonly outputs: readonly [{
|
|
535
|
-
readonly internalType: "contract BoringVault";
|
|
536
|
-
readonly name: "";
|
|
537
|
-
readonly type: "address";
|
|
538
|
-
}];
|
|
539
|
-
readonly stateMutability: "view";
|
|
540
|
-
readonly type: "function";
|
|
541
115
|
}];
|