PulseStrategyV2

Verified contract

Implementation

Active on Base with 0 txns
Deployed by via 0xff988ab6 at 2828854
Slot
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

No balances found for "PulseStrategyV2"

No transactions found for "PulseStrategyV2"


Functions
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 amount0Desireduint256 amount1Desired)
(amount0Desired=0, amount1Desired=0)
forceRebalanceWidthFlag(view returns (bool)
false
immutableParams(view returns (address erc20Vaultaddress uniV3Vaultaddress router)
(erc20Vault=0x0000000000000000000000000000000000000000, uniV3Vault=0x0000000000000000000000000000000000000000, router=0x0000000000000000000000000000000000000000)
initialized(view returns (bool)
false
mutableParams(view returns (int24 priceImpactD6int24 defaultIntervalWidthint24 maxPositionLengthInTicksint24 maxDeviationForVaultPooluint32 timespanForAverageTickuint256 neighborhoodFactorDuint256 extensionFactorDuint256 swapSlippageDuint256 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 priceX96uint256 targetRatioOfToken1X96view returns (uint256 tokenInIndexuint256 amountIn)
calculateNewPosition(struct PulseStrategyV2MutableParams mutableParams_int24 spotTickaddress pooluint256 uniV3Nftview returns (struct PulseStrategyV2Interval newIntervalbool neededNewInterval)
calculateTargetRatioOfToken1(struct PulseStrategyV2Interval intervaluint160 sqrtSpotPriceX96uint256 spotPriceX96pure returns (uint256 targetRatioOfToken1X96)
checkImmutableParams(struct PulseStrategyV2ImmutableParams paramsview 
checkMutableParams(struct PulseStrategyV2MutableParams paramsstruct PulseStrategyV2ImmutableParams immutableParams_view 
checkTickDeviation(struct PulseStrategyV2MutableParams mutableParams_address vaultPoolview 
formPositionWithSpotTickInCenter(struct PulseStrategyV2MutableParams mutableParams_int24 spotTickint24 tickSpacingpure returns (struct PulseStrategyV2Interval newInterval)
getRoleAdmin(bytes32 roleview returns (bytes32)
getRoleMember(bytes32 roleuint256 indexview returns (address)
getRoleMemberCount(bytes32 roleview returns (uint256)
hasRole(bytes32 roleaddress accountview returns (bool)
isAdmin(address senderview returns (bool)
isOperator(address senderview returns (bool)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
depositCallback(
grantRole(bytes32 roleaddress account
init(address admin
initialize(struct PulseStrategyV2ImmutableParams immutableParams_address admin
multicall(bytes[] datareturns (bytes[] results)
rebalance(uint256 deadlinebytes swapDatauint256 minAmountOutInCaseOfSwap
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setForceRebalanceFlag(bool newValue
updateDesiredAmounts(struct PulseStrategyV2DesiredAmounts params
updateMutableParams(struct PulseStrategyV2MutableParams mutableParams_
withdrawCallback(
Events
PositionBurned(uint256 tokenId
PositionMinted(uint256 tokenId
Rebalance(address indexed originaddress indexed sender
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
TokensSwapped(uint256 amountInuint256 amountOutuint256 tokenInIndex
UpdateMutableParams(address indexed originaddress indexed senderstruct PulseStrategyV2MutableParams mutableParams
Constructor
constructor(address positionManager_
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.