PnL

Verified contract

Active on Ethereum with 3 txns
Deployed by via 0xe77af6c4 at 12836674
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "PnL"

0xa8abd20136728676ffd3177aa9ccab6467102adfdb23ba35f16cc5a0d8b5a0f3
0x3f7d3bc9010224917920fbe55e3acf5ae111a1cd354fb118299c47fa01edda74
0x457b4b754bef91277574c9679f4865ac07d42cc62c026ade4dbd90f565567638

Functions
Getter at block 20940571
CHAINLINK_PRICE_DECIMALS(view returns (uint8)
8
CHAINLINK_PRICE_DECIMAL_FACTOR(view returns (uint256)
100000000
CURVE_RATIO_DECIMALS(view returns (uint256)
6
CURVE_RATIO_DECIMALS_FACTOR(view returns (uint256)
1000000
DEFAULT_DECIMALS(view returns (uint8)
18
DEFAULT_DECIMALS_FACTOR(view returns (uint256)
1000000000000000000
N_COINS(view returns (uint8)
3
PERCENTAGE_DECIMALS(view returns (uint8)
4
PERCENTAGE_DECIMAL_FACTOR(view returns (uint256)
10000
calcPnL(view returns (uint256uint256)
(6446961356935933124869514, 3206418695179497521333663)
controller(view returns (address)
0xcc5c60a319d33810b9eab9764717eef84defb8f4
ctrlPaused(view returns (bool)
true
gvt(view returns (address)
0x3adb04e127b9c0a5d36094125669d4603ac52a0c
lastGvtAssets(view returns (uint256)
6446961356935933124869514
lastPwrdAssets(view returns (uint256)
3206418695179497521333663
owner(view returns (address)
0x1aebe9147766936906ab56ec0693306da3539824
performanceFee(view returns (uint256)
500
pwrd(view returns (address)
0xf0a93d4994b3d98fb5e3a2f90dbc2d69073cb86b
rebase(view returns (bool)
true
utilisationRatio(view returns (uint256)
4973
Read-only

This contract contains no read-only function objects.

State-modifying
decreaseGTokenLastAmount(bool pwrduint256 dollarAmountuint256 bonus
distributePriceChange(uint256 currentTotalAssets
distributeStrategyGainLoss(uint256 gainuint256 lossaddress reward
emergencyPnL(
increaseGTokenLastAmount(bool pwrduint256 dollarAmount
recover(
renounceOwnership(
setController(address newController
setPerformanceFee(uint256 _performanceFee
setRebase(bool _rebase
transferOwnership(address newOwner
Events
ChangeController(address indexed oldControlleraddress indexed newController
LogNewGtokenChange(bool pwrdint256 change
LogNewPerfromanceFee(uint256 fee
LogPnLExecution(uint256 deductedAssetsint256 totalPnLint256 investPnLint256 pricePnLuint256 withdrawalBonusuint256 performanceBonusuint256 beforeGvtAssetsuint256 beforePwrdAssetsuint256 afterGvtAssetsuint256 afterPwrdAssets
LogRebaseSwitch(bool status
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Constructor
constructor(address pwrdaddress gvtuint256 pwrdAssetsuint256 gvtAssets
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.