BasePulseStrategyUpgradable
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
33
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 3 additional slots
-
variable spans 3 additional slots
-
variable spans 1 additional slot
Balances ($0.00)
No balances found for "BasePulseStrategyUpgradable"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "BasePulseStrategyUpgradable"
ABI
ABI objects
Getter at block 21272820
ADMIN_DELEGATE_ROLE() view returns (bytes32)
0xc171260023d22a25a00a2789664c9334017843b831138c8ef03cc8897e5873d7
ADMIN_ROLE() view returns (bytes32)
0xf23ec0bb4210edd5cba85afd05127efcd2fc6a781bfed49188da1081670b22d8
D6() view returns (uint256)
1000000
D9() view returns (uint256)
1000000000
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
OPERATOR() view returns (bytes32)
0x46a52cf33029de9f84853745a87af28464c80bf0346df1b32e205fc73319f622
Q96() view returns (uint256)
79228162514264337593543950336
contractName() pure returns (string)
BasePulseStrategyUpgradable
contractNameBytes() pure returns (bytes32)
0x4261736550756c7365537472617465677955706772616461626c650000000000
contractVersion() pure returns (string)
1.0.0
contractVersionBytes() pure returns (bytes32)
0x312e302e30000000000000000000000000000000000000000000000000000000
desiredAmounts() view returns (uint256 amount0Desired, uint256 amount1Desired)
(amount0Desired=0, amount1Desired=0)
forceRebalanceWidthFlag() view returns (bool)
false
immutableParams() view returns (address erc20Vault, address uniV3Vault, address router)
(erc20Vault=0x0000000000000000000000000000000000000000, uniV3Vault=0x0000000000000000000000000000000000000000, router=0x0000000000000000000000000000000000000000)
initialized() view returns (bool)
false
mutableParams() view returns (int24 priceImpactD6, int24 maxDeviationForVaultPool, uint32 timespanForAverageTick, uint256 swapSlippageD, uint256 swappingAmountsCoefficientD)
(priceImpactD6=0, maxDeviationForVaultPool=0, timespanForAverageTick=0, swapSlippageD=0, swappingAmountsCoefficientD=0)
positionManager() view returns (address)
0xc36442b4a4522e871399cd717abdd847ab11fe88
Read-only
calculateAmountsForSwap(struct BasePulseStrategyUpgradableImmutableParams immutableParams_, struct BasePulseStrategyUpgradableMutableParams mutableParams_, uint256 priceX96, uint256 targetRatioOfToken1X96) view returns (uint256 tokenInIndex, uint256 amountIn)
calculateTargetRatioOfToken1(struct BasePulseStrategyUpgradableInterval interval, uint160 sqrtSpotPriceX96, uint256 spotPriceX96) pure returns (uint256 targetRatioOfToken1X96)
checkImmutableParams(struct BasePulseStrategyUpgradableImmutableParams params) view
checkMutableParams(struct BasePulseStrategyUpgradableMutableParams params) pure
checkTickDeviation(struct BasePulseStrategyUpgradableMutableParams mutableParams_, address vaultPool) view
compareIntervals(struct BasePulseStrategyUpgradableInterval newInterval, uint256 nft) view returns (bool)
getRoleAdmin(bytes32 role) view returns (bytes32)
getRoleMember(bytes32 role, uint256 index) view returns (address)
getRoleMemberCount(bytes32 role) view returns (uint256)
hasRole(bytes32 role, address account) view returns (bool)
isAdmin(address sender) view returns (bool)
isOperator(address sender) view returns (bool)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events depositCallback()
grantRole(bytes32 role, address account)
init(address admin)
initialize(struct BasePulseStrategyUpgradableImmutableParams immutableParams_, address admin)
rebalance(uint256 deadline, struct BasePulseStrategyUpgradableInterval newInterval, bytes swapData, uint256 minAmountOutInCaseOfSwap)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
setForceRebalanceFlag(bool newValue)
setRouter(address newRouter)
updateDesiredAmounts(struct BasePulseStrategyUpgradableDesiredAmounts params)
updateMutableParams(struct BasePulseStrategyUpgradableMutableParams mutableParams_)
withdrawCallback()
PositionBurned(uint256 tokenId)
PositionMinted(uint256 tokenId)
Rebalance(address indexed origin, address indexed sender)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
TokensSwapped(uint256 amountIn, uint256 amountOut, uint256 tokenInIndex)
UpdateMutableParams(address indexed origin, address indexed sender, struct BasePulseStrategyUpgradableMutableParams mutableParams)
constructor(address positionManager_)
This contract contains no fallback and receive objects.
This contract contains no error objects.