PulseStrategyV2
Verified contract
Implementation
Active on
Base 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 5 additional slots
-
variable spans 1 additional slot
Balances ($0.00)
No balances found for "PulseStrategyV2"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "PulseStrategyV2"
ABI
ABI objects
Getter at block 23222081
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)
PulseStrategyV2
contractNameBytes() pure returns (bytes32)
0x50756c7365537472617465677956320000000000000000000000000000000000
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 defaultIntervalWidth, int24 maxPositionLengthInTicks, int24 maxDeviationForVaultPool, uint32 timespanForAverageTick, uint256 neighborhoodFactorD, uint256 extensionFactorD, uint256 swapSlippageD, uint256 swappingAmountsCoefficientD)
(priceImpactD6=0, defaultIntervalWidth=0, maxPositionLengthInTicks=0, maxDeviationForVaultPool=0, timespanForAverageTick=0, neighborhoodFactorD=0, extensionFactorD=0, swapSlippageD=0, swappingAmountsCoefficientD=0)
positionManager() view returns (address)
0x03a520b32c04bf3beef7beb72e919cf822ed34f1
Read-only
calculateAmountsForSwap(struct PulseStrategyV2ImmutableParams immutableParams_, struct PulseStrategyV2MutableParams mutableParams_, uint256 priceX96, uint256 targetRatioOfToken1X96) view returns (uint256 tokenInIndex, uint256 amountIn)
calculateNewPosition(struct PulseStrategyV2MutableParams mutableParams_, int24 spotTick, address pool, uint256 uniV3Nft) view returns (struct PulseStrategyV2Interval newInterval, bool neededNewInterval)
calculateTargetRatioOfToken1(struct PulseStrategyV2Interval interval, uint160 sqrtSpotPriceX96, uint256 spotPriceX96) pure returns (uint256 targetRatioOfToken1X96)
checkImmutableParams(struct PulseStrategyV2ImmutableParams params) view
checkMutableParams(struct PulseStrategyV2MutableParams params, struct PulseStrategyV2ImmutableParams immutableParams_) view
checkTickDeviation(struct PulseStrategyV2MutableParams mutableParams_, address vaultPool) view
formPositionWithSpotTickInCenter(struct PulseStrategyV2MutableParams mutableParams_, int24 spotTick, int24 tickSpacing) pure returns (struct PulseStrategyV2Interval newInterval)
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 PulseStrategyV2ImmutableParams immutableParams_, address admin)
multicall(bytes[] data) returns (bytes[] results)
rebalance(uint256 deadline, bytes swapData, uint256 minAmountOutInCaseOfSwap)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
setForceRebalanceFlag(bool newValue)
updateDesiredAmounts(struct PulseStrategyV2DesiredAmounts params)
updateMutableParams(struct PulseStrategyV2MutableParams 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 PulseStrategyV2MutableParams mutableParams)
constructor(address positionManager_)
This contract contains no fallback and receive objects.
This contract contains no error objects.