PulseStrategyV2

Verified contract

Active on Ethereum with 9 txns
Deployed by via 0xdbe632b9 at 17034582
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
ERC-20
Value $0
ERC-20
Value $0
0xb3b0f8f10d6fcce32426518e1009daf1956362f8571224da3563652b41103207
0xd87cb2429463b550f945f10542d0ea97f98e6a824fd76d6f5cf9fbbc880635b6
0xcd642a4352ae8e06ee671460cb6a1c0333e7446eb066b03028b5f24d1d54f127
0xc90b3ecd17e18a008be37b0075957833623e7ba8fd2ad144ce1ef1f35ee6a2c2
0xc0227f84ccde2e47fecec1baebe821a9c3608a9e883f1dcd33bdc1d08d60ee31
0x56688ec8d362899cc7e6f767284d85e9d428f6b5e924400544731bdbd2788341
0xc8408bee732fc3564998b82000b64132f768a8d803f124f1997826a153f2a21d
0x89cdc56fc9d06a4f46727ccb36c79f7056d10fa465c538cb0c5cec04c12b915c
0xf44c06dcf307128d818399fc42a60326bf1201b04d73d2795b603752dac91d15

Functions
Getter at block 21021082
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=1000000000, amount1Desired=1000000000)
forceRebalanceWidthFlag(view returns (bool)
false
immutableParams(view returns (address erc20Vaultaddress uniV3Vaultaddress router)
(erc20Vault=0x8975597d3ba66d6f80710fd90ca8980b17f622f5, uniV3Vault=0x1f2c1dd7babf2ef2d5b58e82343b511dd4d9ae3f, router=0x1111111254eeb25477b68fb85ed929f73a960582)
initialized(view returns (bool)
true
mutableParams(view returns (int24 priceImpactD6int24 defaultIntervalWidthint24 maxPositionLengthInTicksint24 maxDeviationForVaultPooluint32 timespanForAverageTickuint256 neighborhoodFactorDuint256 extensionFactorDuint256 swapSlippageDuint256 swappingAmountsCoefficientD)
(priceImpactD6=0, defaultIntervalWidth=280, maxPositionLengthInTicks=700, maxDeviationForVaultPool=50, timespanForAverageTick=60, neighborhoodFactorD=150000000, extensionFactorD=2000000000, swapSlippageD=10000000, swappingAmountsCoefficientD=10000000)
positionManager(view returns (address)
0xc36442b4a4522e871399cd717abdd847ab11fe88
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.