BasePulseStrategyUpgradable

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x6ebe0c3e at 19032679
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 3 additional slots
-
variable spans 1 additional slot

No balances found for "BasePulseStrategyUpgradable"

No transactions found for "BasePulseStrategyUpgradable"


Functions
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 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 maxDeviationForVaultPooluint32 timespanForAverageTickuint256 swapSlippageDuint256 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 priceX96uint256 targetRatioOfToken1X96view returns (uint256 tokenInIndexuint256 amountIn)
calculateTargetRatioOfToken1(struct BasePulseStrategyUpgradableInterval intervaluint160 sqrtSpotPriceX96uint256 spotPriceX96pure returns (uint256 targetRatioOfToken1X96)
checkImmutableParams(struct BasePulseStrategyUpgradableImmutableParams paramsview 
checkMutableParams(struct BasePulseStrategyUpgradableMutableParams paramspure 
checkTickDeviation(struct BasePulseStrategyUpgradableMutableParams mutableParams_address vaultPoolview 
compareIntervals(struct BasePulseStrategyUpgradableInterval newIntervaluint256 nftview returns (bool)
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 BasePulseStrategyUpgradableImmutableParams immutableParams_address admin
rebalance(uint256 deadlinestruct BasePulseStrategyUpgradableInterval newIntervalbytes swapDatauint256 minAmountOutInCaseOfSwap
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setForceRebalanceFlag(bool newValue
setRouter(address newRouter
updateDesiredAmounts(struct BasePulseStrategyUpgradableDesiredAmounts params
updateMutableParams(struct BasePulseStrategyUpgradableMutableParams 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 BasePulseStrategyUpgradableMutableParams mutableParams
Constructor
constructor(address positionManager_
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.