@ape.swap/bonds-sdk 1.0.778 → 1.0.779
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/components/BondMenu/BondMenu.js +2 -13
- package/dist/components/BondRows/BondRow.d.ts +0 -1
- package/dist/components/BondRows/BondRow.js +2 -13
- package/dist/components/BondRows/BondRowHeader.js +1 -12
- package/dist/components/BondRows/BondRowsByChain.d.ts +2 -3
- package/dist/components/BondRows/BondRowsByChain.js +2 -13
- package/dist/components/BondRows/BondRowsWithTitle.d.ts +1 -2
- package/dist/components/BondRows/BondRowsWithTitle.js +2 -13
- package/dist/components/BondRows/ChainTitle.d.ts +1 -1
- package/dist/components/BondRows/ChainTitle.js +2 -13
- package/dist/components/MenuSelect/MenuSelect.d.ts +5 -1
- package/dist/components/MenuSelect/MenuSelect.js +1 -1
- package/dist/components/MenuSelect/RecommendationSelector.js +5 -16
- package/dist/components/NetworkFilter/index.js +6 -17
- package/dist/components/ProgressBar/ProgressBar.js +2 -13
- package/dist/components/ProgressBar/ProgressBarWrapper.js +1 -12
- package/dist/components/TokenInfoAndName/index.d.ts +1 -1
- package/dist/components/TokenInfoAndName/index.js +6 -17
- package/dist/components/Tooltip/ButtonsRow.js +1 -1
- package/dist/components/Tooltip/Tooltip.js +1 -12
- package/dist/components/uikit-sdk/Button/IconButton.js +1 -1
- package/dist/components/uikit-sdk/Checkbox/index.d.ts +0 -1
- package/dist/components/uikit-sdk/Checkbox/index.js +2 -2
- package/dist/components/uikit-sdk/Flex/index.d.ts +3 -1
- package/dist/components/uikit-sdk/Input/Input.d.ts +7 -2
- package/dist/components/uikit-sdk/Input/Input.js +5 -5
- package/dist/components/uikit-sdk/Input/NumericInput.d.ts +4 -5
- package/dist/components/uikit-sdk/Input/StyledInput.js +1 -12
- package/dist/components/uikit-sdk/Modal/ModalFooter.d.ts +4 -0
- package/dist/components/uikit-sdk/Modal/ModalFooter.js +21 -0
- package/dist/components/uikit-sdk/Modal/ModalHeader.d.ts +4 -0
- package/dist/components/uikit-sdk/Modal/ModalHeader.js +31 -0
- package/dist/components/uikit-sdk/Modal/index.d.ts +4 -0
- package/dist/components/uikit-sdk/Modal/index.js +46 -0
- package/dist/components/uikit-sdk/Modal/styles.d.ts +3 -0
- package/dist/components/uikit-sdk/Modal/styles.js +62 -0
- package/dist/components/uikit-sdk/Modal/types.d.ts +17 -0
- package/dist/components/uikit-sdk/Modal/types.js +1 -0
- package/dist/components/uikit-sdk/Select/Select.js +4 -4
- package/dist/components/uikit-sdk/Select/SelectItem.d.ts +0 -1
- package/dist/components/uikit-sdk/Select/SelectItem.js +1 -1
- package/dist/components/uikit-sdk/Svg/Icons/AbondFullLogo.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/AbondSmallLogo.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/AccountMonkey.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/AllChains.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/ApebondLogo.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/ApeswapSmallLogo.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Arrow.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Audit.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/BananaIcon.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/BillsM1.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/BillsM2.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/BillsM3.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Bridge.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Bubble.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Calculator.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Calendar.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Cancelled.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Card.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Caret.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Chain.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Chart.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Chat.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Close.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Cog.d.ts +0 -1
- package/dist/components/uikit-sdk/Svg/Icons/Cog.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Collapse.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Copy.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Discord.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/DiscordNew.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Docs.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/DocsV2.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Ellipse.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Error.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Expand.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Explorer.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/External.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Farm.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Fav.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/FilledURL.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Fire.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Frame.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/FullLogo.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Gnana.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/GreenShield.d.ts +0 -1
- package/dist/components/uikit-sdk/Svg/Icons/GreenShield.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Hamburger.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/HamburgerClosed.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Home.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Hot.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Info.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/InfoSolid.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Insight.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Instagram.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Island.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/LanguageIcon.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/LineChart.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/LiquidityIcon.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Logout.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Medium.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/MenuSettings.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Message.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Migrate.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Moon.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/More.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/NFA.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/NavCaret.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/PlaceholderMonkey.d.ts +0 -1
- package/dist/components/uikit-sdk/Svg/Icons/PlaceholderMonkey.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Play.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Pool.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Positions.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/ProfileDark.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/ProfileLight.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Question.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/QuestionCircle.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/QuestionFill.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Quiz.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Receipt.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Reddit.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Rocket.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/ScrollTop.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Search.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Send.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Settings.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Share.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Sort.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Success.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/SuccessOutline.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/SwapArrows.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/SwitchArrows.d.ts +0 -1
- package/dist/components/uikit-sdk/Svg/Icons/SwitchArrows.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Tag.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Telegram.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/TelegramNew.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/TextLogo.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/TickShield.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Trade.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Trash.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Twitter.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/URL.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Vaults.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Verified.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Wallet.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Warning.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Watch.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/Website.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/WebsiteNew.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/WhitepaperNew.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/XNew.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/YellowQuestionMark.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/ZapArrow.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/ZapIcon.js +1 -12
- package/dist/components/uikit-sdk/Svg/Icons/polygonNew.js +1 -12
- package/dist/components/uikit-sdk/Svg/index.d.ts +0 -1
- package/dist/components/uikit-sdk/Svg/tokens/ABOND.js +1 -12
- package/dist/components/uikit-sdk/Svg/tokens/ARBITRUM.js +1 -12
- package/dist/components/uikit-sdk/Svg/tokens/AVAX.js +1 -12
- package/dist/components/uikit-sdk/Svg/tokens/BANANA.js +1 -12
- package/dist/components/uikit-sdk/Svg/tokens/BASE.js +1 -12
- package/dist/components/uikit-sdk/Svg/tokens/BNB.js +1 -12
- package/dist/components/uikit-sdk/Svg/tokens/BSC.js +1 -12
- package/dist/components/uikit-sdk/Svg/tokens/CELO.js +1 -12
- package/dist/components/uikit-sdk/Svg/tokens/CRONOS.js +1 -12
- package/dist/components/uikit-sdk/Svg/tokens/ETH.js +1 -12
- package/dist/components/uikit-sdk/Svg/tokens/FANTOM.js +1 -12
- package/dist/components/uikit-sdk/Svg/tokens/GNANA.js +1 -12
- package/dist/components/uikit-sdk/Svg/tokens/GNOSIS.js +1 -12
- package/dist/components/uikit-sdk/Svg/tokens/INEVM.js +1 -12
- package/dist/components/uikit-sdk/Svg/tokens/IOTA.js +1 -12
- package/dist/components/uikit-sdk/Svg/tokens/LIGHTLINK.js +1 -12
- package/dist/components/uikit-sdk/Svg/tokens/LINEA.js +1 -12
- package/dist/components/uikit-sdk/Svg/tokens/OKX.js +1 -12
- package/dist/components/uikit-sdk/Svg/tokens/OPTIMISM.js +2 -13
- package/dist/components/uikit-sdk/Svg/tokens/POLYGON.js +1 -12
- package/dist/components/uikit-sdk/Svg/tokens/POLYGONZK.js +1 -12
- package/dist/components/uikit-sdk/Svg/tokens/TLOS.js +1 -12
- package/dist/components/uikit-sdk/Svg/walletIcons/BinanceChain.d.ts +0 -1
- package/dist/components/uikit-sdk/Svg/walletIcons/BinanceChain.js +1 -12
- package/dist/components/uikit-sdk/Svg/walletIcons/Bitkeep.d.ts +0 -1
- package/dist/components/uikit-sdk/Svg/walletIcons/Bitkeep.js +1 -12
- package/dist/components/uikit-sdk/Svg/walletIcons/Brave.d.ts +0 -1
- package/dist/components/uikit-sdk/Svg/walletIcons/Brave.js +1 -12
- package/dist/components/uikit-sdk/Svg/walletIcons/Coinbase.d.ts +0 -1
- package/dist/components/uikit-sdk/Svg/walletIcons/Coinbase.js +1 -12
- package/dist/components/uikit-sdk/Svg/walletIcons/MadWallet.js +1 -12
- package/dist/components/uikit-sdk/Svg/walletIcons/MathWallet.d.ts +0 -1
- package/dist/components/uikit-sdk/Svg/walletIcons/MathWallet.js +1 -12
- package/dist/components/uikit-sdk/Svg/walletIcons/Metamask.d.ts +0 -1
- package/dist/components/uikit-sdk/Svg/walletIcons/Metamask.js +1 -12
- package/dist/components/uikit-sdk/Svg/walletIcons/Nabox.d.ts +0 -1
- package/dist/components/uikit-sdk/Svg/walletIcons/Nabox.js +1 -12
- package/dist/components/uikit-sdk/Svg/walletIcons/OKX.d.ts +0 -1
- package/dist/components/uikit-sdk/Svg/walletIcons/OKX.js +1 -12
- package/dist/components/uikit-sdk/Svg/walletIcons/OntoWallet.d.ts +0 -1
- package/dist/components/uikit-sdk/Svg/walletIcons/OntoWallet.js +1 -12
- package/dist/components/uikit-sdk/Svg/walletIcons/SafePalWallet.d.ts +0 -1
- package/dist/components/uikit-sdk/Svg/walletIcons/SafePalWallet.js +1 -12
- package/dist/components/uikit-sdk/Svg/walletIcons/SocialLogin.d.ts +0 -1
- package/dist/components/uikit-sdk/Svg/walletIcons/SocialLogin.js +1 -12
- package/dist/components/uikit-sdk/Svg/walletIcons/TokenPocket.d.ts +0 -1
- package/dist/components/uikit-sdk/Svg/walletIcons/TokenPocket.js +1 -12
- package/dist/components/uikit-sdk/Svg/walletIcons/TorusWallet.d.ts +0 -1
- package/dist/components/uikit-sdk/Svg/walletIcons/TorusWallet.js +1 -12
- package/dist/components/uikit-sdk/Svg/walletIcons/TrustWallet.d.ts +0 -1
- package/dist/components/uikit-sdk/Svg/walletIcons/TrustWallet.js +1 -12
- package/dist/components/uikit-sdk/Svg/walletIcons/Unstoppable.js +1 -12
- package/dist/components/uikit-sdk/Svg/walletIcons/WalletConnect.d.ts +0 -1
- package/dist/components/uikit-sdk/Svg/walletIcons/WalletConnect.js +1 -12
- package/dist/components/uikit-sdk/Svg/walletIcons/WalletImage.js +1 -12
- package/dist/components/uikit-sdk/Tag/ListTag.js +1 -1
- package/dist/components/uikit-sdk/Tag/styles.d.ts +2 -3
- package/dist/components/uikit-sdk/Text/index.js +1 -1
- package/dist/components/uikit-sdk/TokenImage/index.d.ts +1 -1
- package/dist/components/uikit-sdk/TokenImage/index.js +2 -13
- package/dist/components/uikit-sdk/TooltipBubble/index.js +1 -1
- package/dist/components/uikit-sdk/index.d.ts +1 -0
- package/dist/components/uikit-sdk/index.js +1 -0
- package/dist/config/abi/types/factories/Banana__factory.js +2 -1
- package/dist/config/abi/types/factories/BondNft__factory.js +2 -1
- package/dist/config/abi/types/factories/Bond__factory.js +2 -1
- package/dist/config/abi/types/factories/EnsPublicResolver__factory.js +2 -1
- package/dist/config/abi/types/factories/EnsRegistrar__factory.js +2 -1
- package/dist/config/abi/types/factories/Erc20__factory.js +2 -1
- package/dist/config/abi/types/factories/Erc20_bytes32__factory.js +2 -1
- package/dist/config/abi/types/factories/JungleChef__factory.js +2 -1
- package/dist/config/abi/types/factories/LaunchBonds__factory.js +2 -1
- package/dist/config/abi/types/factories/LensContract__factory.js +2 -1
- package/dist/config/abi/types/factories/LockVeAbond__factory.js +2 -1
- package/dist/config/abi/types/factories/MigrationBond__factory.js +2 -1
- package/dist/config/abi/types/factories/MigrationFveAbond__factory.js +2 -1
- package/dist/config/abi/types/factories/MiniComplexRewarder__factory.js +2 -1
- package/dist/config/abi/types/factories/Multicallv2__factory.js +2 -1
- package/dist/config/abi/types/factories/Multicallv3__factory.js +2 -1
- package/dist/config/abi/types/factories/NonFungibleApes__factory.js +2 -1
- package/dist/config/abi/types/factories/NonFungibleBananas__factory.js +2 -1
- package/dist/config/abi/types/factories/PriceGetterLinea__factory.js +2 -1
- package/dist/config/abi/types/factories/PriceGetterV2__factory.js +2 -1
- package/dist/config/abi/types/factories/PriceGetter__factory.js +2 -1
- package/dist/config/abi/types/factories/SousChef__factory.js +2 -1
- package/dist/config/abi/types/factories/Treasury__factory.js +2 -1
- package/dist/config/abi/types/factories/Weth__factory.js +2 -1
- package/dist/config/abi/types/factories/Zap__factory.js +2 -1
- package/dist/config/constants/addresses.js +4 -4
- package/dist/config/constants/api.d.ts +4 -4
- package/dist/config/constants/api.js +4 -4
- package/dist/config/constants/lists.d.ts +3 -3
- package/dist/contexts/Localization/Provider.js +3 -3
- package/dist/contexts/Localization/helpers.js +2 -2
- package/dist/contexts/ModalContext.js +3 -14
- package/dist/contexts/RefreshContext.js +3 -14
- package/dist/index.d.ts +4 -4
- package/dist/index.js +4 -4
- package/dist/providers/index.d.ts +8 -0
- package/dist/providers/index.js +12 -0
- package/dist/scss/BondModal.scss +1 -1
- package/dist/theme/colors.js +2 -2
- package/dist/utils/index.js +2 -2
- package/dist/utils/multicall.js +2 -2
- package/dist/{components/Modals → views}/BondModal/BondModal.d.ts +2 -2
- package/dist/{components/Modals → views}/BondModal/BondModal.js +37 -36
- package/dist/{components/Modals → views}/BondModal/helper.d.ts +1 -1
- package/dist/{components/Modals → views}/BondModal/helper.js +1 -1
- package/dist/views/BondModal/index.d.ts +4 -0
- package/dist/views/BondModal/index.js +18 -0
- package/dist/{pages → views}/Bonds/Bonds.js +2 -13
- package/dist/{pages → views}/YourBonds/YourBonds.js +11 -22
- package/dist/{pages → views}/YourBonds/fetchBillsUser.js +7 -9
- package/dist/{pages → views}/YourBonds/getBillNftData.js +2 -2
- package/dist/{components/Modals → views}/YourBondsModal/YourBondsModal.d.ts +2 -2
- package/dist/views/YourBondsModal/YourBondsModal.js +173 -0
- package/dist/{components/Modals → views}/YourBondsModal/styles.js +1 -1
- package/package.json +1 -1
- package/dist/components/Modals/YourBondsModal/YourBondsModal.js +0 -184
- /package/dist/{pages → views}/Bonds/Bonds.d.ts +0 -0
- /package/dist/{pages → views}/YourBonds/YourBonds.d.ts +0 -0
- /package/dist/{pages → views}/YourBonds/fetchBillsUser.d.ts +0 -0
- /package/dist/{pages → views}/YourBonds/getBillNftData.d.ts +0 -0
- /package/dist/{components/Modals → views}/YourBondsModal/styles.d.ts +0 -0
|
@@ -2016,7 +2016,7 @@ var _abi = [
|
|
|
2016
2016
|
type: "function",
|
|
2017
2017
|
},
|
|
2018
2018
|
];
|
|
2019
|
-
|
|
2019
|
+
var LaunchBonds__factory = /** @class */ (function () {
|
|
2020
2020
|
function LaunchBonds__factory() {
|
|
2021
2021
|
}
|
|
2022
2022
|
LaunchBonds__factory.createInterface = function () {
|
|
@@ -2028,3 +2028,4 @@ export var LaunchBonds__factory = /** @class */ (function () {
|
|
|
2028
2028
|
LaunchBonds__factory.abi = _abi;
|
|
2029
2029
|
return LaunchBonds__factory;
|
|
2030
2030
|
}());
|
|
2031
|
+
export { LaunchBonds__factory };
|
|
@@ -323,7 +323,7 @@ var _abi = [
|
|
|
323
323
|
type: "function",
|
|
324
324
|
},
|
|
325
325
|
];
|
|
326
|
-
|
|
326
|
+
var LensContract__factory = /** @class */ (function () {
|
|
327
327
|
function LensContract__factory() {
|
|
328
328
|
}
|
|
329
329
|
LensContract__factory.createInterface = function () {
|
|
@@ -335,3 +335,4 @@ export var LensContract__factory = /** @class */ (function () {
|
|
|
335
335
|
LensContract__factory.abi = _abi;
|
|
336
336
|
return LensContract__factory;
|
|
337
337
|
}());
|
|
338
|
+
export { LensContract__factory };
|
|
@@ -2200,7 +2200,7 @@ var _abi = [
|
|
|
2200
2200
|
type: "function",
|
|
2201
2201
|
},
|
|
2202
2202
|
];
|
|
2203
|
-
|
|
2203
|
+
var LockVeAbond__factory = /** @class */ (function () {
|
|
2204
2204
|
function LockVeAbond__factory() {
|
|
2205
2205
|
}
|
|
2206
2206
|
LockVeAbond__factory.createInterface = function () {
|
|
@@ -2212,3 +2212,4 @@ export var LockVeAbond__factory = /** @class */ (function () {
|
|
|
2212
2212
|
LockVeAbond__factory.abi = _abi;
|
|
2213
2213
|
return LockVeAbond__factory;
|
|
2214
2214
|
}());
|
|
2215
|
+
export { LockVeAbond__factory };
|
|
@@ -1641,7 +1641,7 @@ var _abi = [
|
|
|
1641
1641
|
type: "function",
|
|
1642
1642
|
},
|
|
1643
1643
|
];
|
|
1644
|
-
|
|
1644
|
+
var MigrationBond__factory = /** @class */ (function () {
|
|
1645
1645
|
function MigrationBond__factory() {
|
|
1646
1646
|
}
|
|
1647
1647
|
MigrationBond__factory.createInterface = function () {
|
|
@@ -1653,3 +1653,4 @@ export var MigrationBond__factory = /** @class */ (function () {
|
|
|
1653
1653
|
MigrationBond__factory.abi = _abi;
|
|
1654
1654
|
return MigrationBond__factory;
|
|
1655
1655
|
}());
|
|
1656
|
+
export { MigrationBond__factory };
|
|
@@ -331,7 +331,7 @@ var _abi = [
|
|
|
331
331
|
type: "function",
|
|
332
332
|
},
|
|
333
333
|
];
|
|
334
|
-
|
|
334
|
+
var MigrationFveAbond__factory = /** @class */ (function () {
|
|
335
335
|
function MigrationFveAbond__factory() {
|
|
336
336
|
}
|
|
337
337
|
MigrationFveAbond__factory.createInterface = function () {
|
|
@@ -343,3 +343,4 @@ export var MigrationFveAbond__factory = /** @class */ (function () {
|
|
|
343
343
|
MigrationFveAbond__factory.abi = _abi;
|
|
344
344
|
return MigrationFveAbond__factory;
|
|
345
345
|
}());
|
|
346
|
+
export { MigrationFveAbond__factory };
|
|
@@ -571,7 +571,7 @@ var _abi = [
|
|
|
571
571
|
type: "function",
|
|
572
572
|
},
|
|
573
573
|
];
|
|
574
|
-
|
|
574
|
+
var MiniComplexRewarder__factory = /** @class */ (function () {
|
|
575
575
|
function MiniComplexRewarder__factory() {
|
|
576
576
|
}
|
|
577
577
|
MiniComplexRewarder__factory.createInterface = function () {
|
|
@@ -583,3 +583,4 @@ export var MiniComplexRewarder__factory = /** @class */ (function () {
|
|
|
583
583
|
MiniComplexRewarder__factory.abi = _abi;
|
|
584
584
|
return MiniComplexRewarder__factory;
|
|
585
585
|
}());
|
|
586
|
+
export { MiniComplexRewarder__factory };
|
|
@@ -145,7 +145,7 @@ var _abi = [
|
|
|
145
145
|
type: "function",
|
|
146
146
|
},
|
|
147
147
|
];
|
|
148
|
-
|
|
148
|
+
var Multicallv2__factory = /** @class */ (function () {
|
|
149
149
|
function Multicallv2__factory() {
|
|
150
150
|
}
|
|
151
151
|
Multicallv2__factory.createInterface = function () {
|
|
@@ -157,3 +157,4 @@ export var Multicallv2__factory = /** @class */ (function () {
|
|
|
157
157
|
Multicallv2__factory.abi = _abi;
|
|
158
158
|
return Multicallv2__factory;
|
|
159
159
|
}());
|
|
160
|
+
export { Multicallv2__factory };
|
|
@@ -94,7 +94,7 @@ var _abi = [
|
|
|
94
94
|
type: "function",
|
|
95
95
|
},
|
|
96
96
|
];
|
|
97
|
-
|
|
97
|
+
var Multicallv3__factory = /** @class */ (function () {
|
|
98
98
|
function Multicallv3__factory() {
|
|
99
99
|
}
|
|
100
100
|
Multicallv3__factory.createInterface = function () {
|
|
@@ -106,3 +106,4 @@ export var Multicallv3__factory = /** @class */ (function () {
|
|
|
106
106
|
Multicallv3__factory.abi = _abi;
|
|
107
107
|
return Multicallv3__factory;
|
|
108
108
|
}());
|
|
109
|
+
export { Multicallv3__factory };
|
|
@@ -795,7 +795,7 @@ var _abi = [
|
|
|
795
795
|
type: "function",
|
|
796
796
|
},
|
|
797
797
|
];
|
|
798
|
-
|
|
798
|
+
var NonFungibleApes__factory = /** @class */ (function () {
|
|
799
799
|
function NonFungibleApes__factory() {
|
|
800
800
|
}
|
|
801
801
|
NonFungibleApes__factory.createInterface = function () {
|
|
@@ -807,3 +807,4 @@ export var NonFungibleApes__factory = /** @class */ (function () {
|
|
|
807
807
|
NonFungibleApes__factory.abi = _abi;
|
|
808
808
|
return NonFungibleApes__factory;
|
|
809
809
|
}());
|
|
810
|
+
export { NonFungibleApes__factory };
|
|
@@ -741,7 +741,7 @@ var _abi = [
|
|
|
741
741
|
type: "function",
|
|
742
742
|
},
|
|
743
743
|
];
|
|
744
|
-
|
|
744
|
+
var NonFungibleBananas__factory = /** @class */ (function () {
|
|
745
745
|
function NonFungibleBananas__factory() {
|
|
746
746
|
}
|
|
747
747
|
NonFungibleBananas__factory.createInterface = function () {
|
|
@@ -753,3 +753,4 @@ export var NonFungibleBananas__factory = /** @class */ (function () {
|
|
|
753
753
|
NonFungibleBananas__factory.abi = _abi;
|
|
754
754
|
return NonFungibleBananas__factory;
|
|
755
755
|
}());
|
|
756
|
+
export { NonFungibleBananas__factory };
|
|
@@ -1450,7 +1450,7 @@ var _abi = [
|
|
|
1450
1450
|
type: "function",
|
|
1451
1451
|
},
|
|
1452
1452
|
];
|
|
1453
|
-
|
|
1453
|
+
var PriceGetterLinea__factory = /** @class */ (function () {
|
|
1454
1454
|
function PriceGetterLinea__factory() {
|
|
1455
1455
|
}
|
|
1456
1456
|
PriceGetterLinea__factory.createInterface = function () {
|
|
@@ -1462,3 +1462,4 @@ export var PriceGetterLinea__factory = /** @class */ (function () {
|
|
|
1462
1462
|
PriceGetterLinea__factory.abi = _abi;
|
|
1463
1463
|
return PriceGetterLinea__factory;
|
|
1464
1464
|
}());
|
|
1465
|
+
export { PriceGetterLinea__factory };
|
|
@@ -1349,7 +1349,7 @@ var _abi = [
|
|
|
1349
1349
|
type: "function",
|
|
1350
1350
|
},
|
|
1351
1351
|
];
|
|
1352
|
-
|
|
1352
|
+
var PriceGetterV2__factory = /** @class */ (function () {
|
|
1353
1353
|
function PriceGetterV2__factory() {
|
|
1354
1354
|
}
|
|
1355
1355
|
PriceGetterV2__factory.createInterface = function () {
|
|
@@ -1361,3 +1361,4 @@ export var PriceGetterV2__factory = /** @class */ (function () {
|
|
|
1361
1361
|
PriceGetterV2__factory.abi = _abi;
|
|
1362
1362
|
return PriceGetterV2__factory;
|
|
1363
1363
|
}());
|
|
1364
|
+
export { PriceGetterV2__factory };
|
|
@@ -1311,7 +1311,7 @@ var _abi = [
|
|
|
1311
1311
|
type: "function",
|
|
1312
1312
|
},
|
|
1313
1313
|
];
|
|
1314
|
-
|
|
1314
|
+
var PriceGetter__factory = /** @class */ (function () {
|
|
1315
1315
|
function PriceGetter__factory() {
|
|
1316
1316
|
}
|
|
1317
1317
|
PriceGetter__factory.createInterface = function () {
|
|
@@ -1323,3 +1323,4 @@ export var PriceGetter__factory = /** @class */ (function () {
|
|
|
1323
1323
|
PriceGetter__factory.abi = _abi;
|
|
1324
1324
|
return PriceGetter__factory;
|
|
1325
1325
|
}());
|
|
1326
|
+
export { PriceGetter__factory };
|
|
@@ -651,7 +651,7 @@ var _abi = [
|
|
|
651
651
|
type: "receive",
|
|
652
652
|
},
|
|
653
653
|
];
|
|
654
|
-
|
|
654
|
+
var SousChef__factory = /** @class */ (function () {
|
|
655
655
|
function SousChef__factory() {
|
|
656
656
|
}
|
|
657
657
|
SousChef__factory.createInterface = function () {
|
|
@@ -663,3 +663,4 @@ export var SousChef__factory = /** @class */ (function () {
|
|
|
663
663
|
SousChef__factory.abi = _abi;
|
|
664
664
|
return SousChef__factory;
|
|
665
665
|
}());
|
|
666
|
+
export { SousChef__factory };
|
|
@@ -294,7 +294,7 @@ var _abi = [
|
|
|
294
294
|
type: "function",
|
|
295
295
|
},
|
|
296
296
|
];
|
|
297
|
-
|
|
297
|
+
var Treasury__factory = /** @class */ (function () {
|
|
298
298
|
function Treasury__factory() {
|
|
299
299
|
}
|
|
300
300
|
Treasury__factory.createInterface = function () {
|
|
@@ -306,3 +306,4 @@ export var Treasury__factory = /** @class */ (function () {
|
|
|
306
306
|
Treasury__factory.abi = _abi;
|
|
307
307
|
return Treasury__factory;
|
|
308
308
|
}());
|
|
309
|
+
export { Treasury__factory };
|
|
@@ -281,7 +281,7 @@ var _abi = [
|
|
|
281
281
|
type: "event",
|
|
282
282
|
},
|
|
283
283
|
];
|
|
284
|
-
|
|
284
|
+
var Weth__factory = /** @class */ (function () {
|
|
285
285
|
function Weth__factory() {
|
|
286
286
|
}
|
|
287
287
|
Weth__factory.createInterface = function () {
|
|
@@ -293,3 +293,4 @@ export var Weth__factory = /** @class */ (function () {
|
|
|
293
293
|
Weth__factory.abi = _abi;
|
|
294
294
|
return Weth__factory;
|
|
295
295
|
}());
|
|
296
|
+
export { Weth__factory };
|
|
@@ -874,7 +874,7 @@ var _abi = [
|
|
|
874
874
|
type: "receive",
|
|
875
875
|
},
|
|
876
876
|
];
|
|
877
|
-
|
|
877
|
+
var Zap__factory = /** @class */ (function () {
|
|
878
878
|
function Zap__factory() {
|
|
879
879
|
}
|
|
880
880
|
Zap__factory.createInterface = function () {
|
|
@@ -886,3 +886,4 @@ export var Zap__factory = /** @class */ (function () {
|
|
|
886
886
|
Zap__factory.abi = _abi;
|
|
887
887
|
return Zap__factory;
|
|
888
888
|
}());
|
|
889
|
+
export { Zap__factory };
|
|
@@ -42,11 +42,11 @@ export var SWAP_ROUTER_ADDRESSES = (_e = {},
|
|
|
42
42
|
_e);
|
|
43
43
|
export var PRICE_GETTER_ADDRESSES = (_f = {},
|
|
44
44
|
_f[SupportedChainId.BSC_TESTNET] = '0x85d2C626E28a42E184cF8e32db1461013D23331D',
|
|
45
|
-
_f[SupportedChainId.BSC] = '0xF08Fc6d054880699A8a5Ebc363238c98B39FEbC9',
|
|
46
|
-
_f[SupportedChainId.POLYGON] = '0x6908356faC751dA36F4ec1B4ADBc56d0B3862155',
|
|
47
|
-
_f[SupportedChainId.MAINNET] = '0x10ffd467e8701fc2887b3df9b9a31adfefd388ec',
|
|
45
|
+
_f[SupportedChainId.BSC] = '0xF08Fc6d054880699A8a5Ebc363238c98B39FEbC9', // Price getter V2.2
|
|
46
|
+
_f[SupportedChainId.POLYGON] = '0x6908356faC751dA36F4ec1B4ADBc56d0B3862155', // Price getter v2.1
|
|
47
|
+
_f[SupportedChainId.MAINNET] = '0x10ffd467e8701fc2887b3df9b9a31adfefd388ec', // Price getter V2.1
|
|
48
48
|
_f[SupportedChainId.TLOS] = '0x85d2C626E28a42E184cF8e32db1461013D23331D',
|
|
49
|
-
_f[SupportedChainId.ARBITRUM_ONE] = '0xfa7598C50fbA17b64EBB8Ed2058564D9b5359b03',
|
|
49
|
+
_f[SupportedChainId.ARBITRUM_ONE] = '0xfa7598C50fbA17b64EBB8Ed2058564D9b5359b03', // Price getter V2.1
|
|
50
50
|
_f[ChainId.LINEA] = '0x35b1eadAbaDD0Edd26076247f3dEdF9E15De8D5D',
|
|
51
51
|
_f[ChainId.LIGHTLINK] = '0xC22Db8dDe3A3591fFB02be868Ce2901d30671FE4',
|
|
52
52
|
_f[ChainId.IOTA] = '0xC22Db8dDe3A3591fFB02be868Ce2901d30671FE4',
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export declare const apiV2BaseUrl
|
|
2
|
-
export declare const bondsRealTimeApi
|
|
3
|
-
export declare const baseUrlStrapi
|
|
4
|
-
export declare const mailChimpUrl
|
|
1
|
+
export declare const apiV2BaseUrl = "https://staging-api.ape.bond";
|
|
2
|
+
export declare const bondsRealTimeApi = "https://realtime-api-staging.ape.bond/bonds";
|
|
3
|
+
export declare const baseUrlStrapi = "https://apeswap-strapi.herokuapp.com";
|
|
4
|
+
export declare const mailChimpUrl = "";
|
|
5
5
|
export declare const LHD_API_TEMP = "https://lhd-temp-api.herokuapp.com";
|
|
6
6
|
export declare const LHD_API = "https://lhd-api.apeswap.finance";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export var apiV2BaseUrl =
|
|
2
|
-
export var bondsRealTimeApi =
|
|
3
|
-
export var baseUrlStrapi =
|
|
4
|
-
export var mailChimpUrl = "
|
|
1
|
+
export var apiV2BaseUrl = 'https://staging-api.ape.bond';
|
|
2
|
+
export var bondsRealTimeApi = 'https://realtime-api-staging.ape.bond/bonds';
|
|
3
|
+
export var baseUrlStrapi = 'https://apeswap-strapi.herokuapp.com';
|
|
4
|
+
export var mailChimpUrl = "";
|
|
5
5
|
export var LHD_API_TEMP = 'https://lhd-temp-api.herokuapp.com';
|
|
6
6
|
export var LHD_API = 'https://lhd-api.apeswap.finance';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const APESWAP_LIST_REPO_BRANCH = "staging";
|
|
2
|
-
export declare const APESWAP_LISTS_URL
|
|
3
|
-
export declare const APESWAP_LIST_REPO
|
|
4
|
-
export declare const APESWAP
|
|
2
|
+
export declare const APESWAP_LISTS_URL = "https://raw.githubusercontent.com/ApeSwapFinance/apeswap-lists/staging";
|
|
3
|
+
export declare const APESWAP_LIST_REPO = "https://raw.githubusercontent.com/ApeSwapFinance/apeswap-token-lists/staging";
|
|
4
|
+
export declare const APESWAP = "https://raw.githubusercontent.com/ApeSwapFinance/apeswap-token-lists/staging/lists/apeswap.json";
|
|
5
5
|
export declare const LIFI = "https://li.quest/v1/tokens";
|
|
6
6
|
export declare const UNSUPPORTED_LIST_URLS: string[];
|
|
7
7
|
export declare const DEFAULT_ACTIVE_LIST_URLS: string[];
|
|
@@ -19,8 +19,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
19
19
|
});
|
|
20
20
|
};
|
|
21
21
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
22
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
23
|
-
return g =
|
|
22
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
23
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
24
24
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
25
25
|
function step(op) {
|
|
26
26
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -130,5 +130,5 @@ export var LanguageProvider = function (_a) {
|
|
|
130
130
|
}
|
|
131
131
|
return translatedText;
|
|
132
132
|
}, [currentLanguage]);
|
|
133
|
-
return _jsx(LanguageContext.Provider,
|
|
133
|
+
return _jsx(LanguageContext.Provider, { value: __assign(__assign({}, state), { setLanguage: setLanguage, t: translate }), children: children });
|
|
134
134
|
};
|
|
@@ -8,8 +8,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
8
8
|
});
|
|
9
9
|
};
|
|
10
10
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
11
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
12
|
-
return g =
|
|
11
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
12
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
13
13
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
14
14
|
function step(op) {
|
|
15
15
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -1,14 +1,3 @@
|
|
|
1
|
-
var __assign = (this && this.__assign) || function () {
|
|
2
|
-
__assign = Object.assign || function(t) {
|
|
3
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
-
s = arguments[i];
|
|
5
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
-
t[p] = s[p];
|
|
7
|
-
}
|
|
8
|
-
return t;
|
|
9
|
-
};
|
|
10
|
-
return __assign.apply(this, arguments);
|
|
11
|
-
};
|
|
12
1
|
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
13
2
|
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
14
3
|
if (ar || !(i in from)) {
|
|
@@ -60,19 +49,19 @@ var ModalProvider = function (_a) {
|
|
|
60
49
|
handleDismiss();
|
|
61
50
|
}
|
|
62
51
|
};
|
|
63
|
-
return (_jsxs(Context.Provider,
|
|
52
|
+
return (_jsxs(Context.Provider, { value: {
|
|
64
53
|
nodeId: nodeId,
|
|
65
54
|
modalNode: modalNode,
|
|
66
55
|
setModalNode: setModalNode,
|
|
67
56
|
onPresent: handlePresent,
|
|
68
57
|
handleClose: handleDismiss,
|
|
69
58
|
setCloseOnOverlayClick: setCloseOnOverlayClick,
|
|
70
|
-
}
|
|
59
|
+
}, children: [modalNode.map(function (modal, i) {
|
|
71
60
|
return (_jsxs(Flex, { children: [_jsx(Flex, { onClick: handleOverlayDismiss }), React.isValidElement(modal) &&
|
|
72
61
|
React.cloneElement(modal, {
|
|
73
62
|
// @ts-ignore
|
|
74
63
|
onDismiss: handleDismiss,
|
|
75
64
|
})] }, nodeId[i]));
|
|
76
|
-
}), children] }))
|
|
65
|
+
}), children] }));
|
|
77
66
|
};
|
|
78
67
|
export default ModalProvider;
|
|
@@ -1,14 +1,3 @@
|
|
|
1
|
-
var __assign = (this && this.__assign) || function () {
|
|
2
|
-
__assign = Object.assign || function(t) {
|
|
3
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
-
s = arguments[i];
|
|
5
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
-
t[p] = s[p];
|
|
7
|
-
}
|
|
8
|
-
return t;
|
|
9
|
-
};
|
|
10
|
-
return __assign.apply(this, arguments);
|
|
11
|
-
};
|
|
12
1
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
13
2
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
14
3
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -19,8 +8,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
19
8
|
});
|
|
20
9
|
};
|
|
21
10
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
22
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
23
|
-
return g =
|
|
11
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
12
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
24
13
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
25
14
|
function step(op) {
|
|
26
15
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -84,6 +73,6 @@ var RefreshContextProvider = function (_a) {
|
|
|
84
73
|
}); }, SLOW_INTERVAL);
|
|
85
74
|
return function () { return clearInterval(interval); };
|
|
86
75
|
}, []);
|
|
87
|
-
return _jsx(RefreshContext.Provider,
|
|
76
|
+
return _jsx(RefreshContext.Provider, { value: { slow: slow, fast: fast, veryFast: veryFast }, children: children });
|
|
88
77
|
};
|
|
89
78
|
export { RefreshContext, RefreshContextProvider };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import Bonds from './
|
|
2
|
-
import YourBonds from './
|
|
3
|
-
import
|
|
4
|
-
import
|
|
1
|
+
import Bonds from './views/Bonds/Bonds';
|
|
2
|
+
import YourBonds from './views/YourBonds/YourBonds';
|
|
3
|
+
import YourBondsModal from './views/YourBondsModal/YourBondsModal';
|
|
4
|
+
import BondModal from './views/BondModal';
|
|
5
5
|
export { Bonds, BondModal, YourBonds, YourBondsModal };
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// src/index.ts
|
|
2
|
-
import Bonds from './
|
|
3
|
-
import YourBonds from './
|
|
4
|
-
import
|
|
5
|
-
import
|
|
2
|
+
import Bonds from './views/Bonds/Bonds';
|
|
3
|
+
import YourBonds from './views/YourBonds/YourBonds';
|
|
4
|
+
import YourBondsModal from './views/YourBondsModal/YourBondsModal';
|
|
5
|
+
import BondModal from './views/BondModal';
|
|
6
6
|
export { Bonds, BondModal, YourBonds, YourBondsModal };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { jsx as _jsx } from "theme-ui/jsx-runtime";
|
|
2
|
+
import ModalProvider from "../contexts/ModalContext";
|
|
3
|
+
import { defaultTheme } from "../theme";
|
|
4
|
+
import { ThemeUIProvider } from "theme-ui";
|
|
5
|
+
/**
|
|
6
|
+
* This is the list of local providers that will be used internally by the SDK
|
|
7
|
+
*/
|
|
8
|
+
var Providers = function (_a) {
|
|
9
|
+
var children = _a.children;
|
|
10
|
+
return (_jsx(ThemeUIProvider, { theme: defaultTheme, children: _jsx(ModalProvider, { children: children }) }));
|
|
11
|
+
};
|
|
12
|
+
export default Providers;
|
package/dist/scss/BondModal.scss
CHANGED
package/dist/theme/colors.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
var colors = {
|
|
2
2
|
// main background gradients
|
|
3
|
-
white1: '#0E0D16',
|
|
3
|
+
white1: '#0E0D16', // base site background
|
|
4
4
|
white2: '#161420',
|
|
5
5
|
white3: '#1F1D29',
|
|
6
6
|
white4: '#282632',
|
|
7
7
|
white5: '#312F3A',
|
|
8
8
|
brandPrimary140: '#C1BDE7',
|
|
9
9
|
navBar: 'rgba(22, 20, 32, 0.8)',
|
|
10
|
-
primaryButton: '#6560C5',
|
|
10
|
+
primaryButton: '#6560C5', //this should've been called just "primary"
|
|
11
11
|
primaryShade: '#514CA133',
|
|
12
12
|
secondary: '#E69275',
|
|
13
13
|
footer: '#000000',
|
package/dist/utils/index.js
CHANGED
|
@@ -8,8 +8,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
8
8
|
});
|
|
9
9
|
};
|
|
10
10
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
11
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
12
|
-
return g =
|
|
11
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
12
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
13
13
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
14
14
|
function step(op) {
|
|
15
15
|
if (f) throw new TypeError("Generator is already executing.");
|
package/dist/utils/multicall.js
CHANGED
|
@@ -8,8 +8,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
8
8
|
});
|
|
9
9
|
};
|
|
10
10
|
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
11
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
12
|
-
return g =
|
|
11
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
12
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
13
13
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
14
14
|
function step(op) {
|
|
15
15
|
if (f) throw new TypeError("Generator is already executing.");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/** @jsxImportSource theme-ui */
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import '
|
|
4
|
-
interface BondModalProps {
|
|
3
|
+
import '../../scss/BondModal.scss';
|
|
4
|
+
export interface BondModalProps {
|
|
5
5
|
account: string;
|
|
6
6
|
isActive: boolean;
|
|
7
7
|
isOpen: boolean;
|