Vault

Verified contract

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

No balances found for "Vault"

0xf6f55fbc8ec726c0408e2a4177510fd49780f1a8606a7bb06ba5ff6c619b5954
0x30669888a75bbbfb6a70597897dfd914a2bb764e10693983eda0e0adc0ee3e96
0x9f8e6c0d1d76d926c17978be9bce1236e12a89f15b6655f66e8ad2286fffd379
0x747f88970f4fd4927622d97ef3d4b76758842a224b23ea2d3de187b57cc54273
0x52ba71b176b074d2d3020fde3dfa2a9cabd6f9f66e8a7112193905d45125da3b
0xb8a17b143873a71a9fb9106e213a77e2c1e0ca25adddcd0983fd7e61c0a4f728
0x7035976f429f8334d75a54f52b47aa771eb6643dff6229da99e580e3c71de592
0xbd86595398a75d8f12c7c1366b17358e8b23565260e79d562377e970c7270cc8
0xfc24b26a7f7d115d3319104e69ad1fbd289609f01a4ad8ad82fb300c80c63b0f
0xc403b999147a50b9349b34bf65e7a0a01f10b17c546d5ae2e90855d82f1a29bc

Functions
Getter at block 20912186
DOMAIN_SEPARATOR(view returns (bytes32)
0xe832fc03e99048c9c022ceed91a2c1bb18cc25d4971cca59ffafde9968834e30
EXECUTE_TYPEHASH(view returns (bytes32)
0x0e8122b9966a5ace153720b4cfa9a4339fe04cf7270694b3ad4068a61436900b
getQ(view returns (address)
0xf9aa0bbe42ebf0bebc5a44bace12bab5f00a342b
maxFundraisingPeriod(view returns (uint40)
604800
operator(view returns (address)
0xbbf5d32ea4a9dc6c75bb7954c06a6f5133a47751
Read-only
getInvestorInfo(address investoraddress stvIdview returns (struct IVaultInvestorInfo)
getInvestors(address stvIdview returns (address[])
getStvBalance(address stvIdview returns (struct IVaultStvBalance)
getStvInfo(address stvIdview returns (struct IVaultStvInfo)
nonces(addressview returns (uint256)
State-modifying
cancelStv(address stvId
claimStvTradingReward(uint256[] commandsbytes[] data
createStv(uint96 capacityOfStvuint96 subscriptionFundLimitbytes32 metadataHashbytes signaturereturns (address stvId)
createStvWithDeposit(uint96 capacityOfStvuint96 subscriptionFundLimitbytes32 metadataHashaddress tokenuint96 amountbytes exchangeDatabytes signaturepayable returns (address stvId)
deposit(address stvIduint96 amount
depositTo(address toaddress stvIduint96 amountaddress tokenbytes exchangeDatabytes signaturepayable 
distribute(address stvIduint256 commanduint96 totalDepositTokenUseduint96 managerFeesuint96 protocolFeesaddress[] tradeTokensbytes[] exchangeData
distributeOut(address stvIdbool isCanceluint256 indexFromuint256 indexTo
execute(uint256 commandbytes databool isOpenpayable returns (address tradeTokenuint256 totalReceived)
liquidate(address stvId
multiExecute(uint256[] commandsbytes[] datauint256[] msgValuebool[] isOpenpayable 
setMaxFundraisingPeriod(uint40 _maxFundraisingPeriod
Events
Cancel(address indexed stvIduint8 status
ClaimRewards(address indexed stvIduint256 commandbytes indexed rewardData
CreateStv(bytes32 indexed metadataHashaddress indexed stvIdaddress indexed manageruint40 endTimeuint96 capacityOfStv
Deposit(address indexed stvIdaddress indexed calleraddress indexed investoruint96 amount
DepositWithSubscription(address indexed stvIdaddress indexed calleraddress indexed investoruint96 amount
Distribute(address indexed stvIduint96 totalRemainingAfterDistributeuint96 mFeeuint96 pFeeuint256 command
Execute(address indexed stvIduint256 amountuint256 totalReceiveduint256 commandbytes datauint256 msgValuebool isIncrease
InitVault(address indexed operatoruint40 maxFundraisingPeriodbytes32 indexed domainSeparatorbytes32 indexed executeTypeHash
Liquidate(address indexed stvIduint8 status
MaxFundraisingPeriod(uint40 maxFundraisingPeriod
Constructor
constructor(address _operatoruint40 _maxFundraisingPeriod
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AccountNotExists(
AlreadyOpened(
BalanceLessThanAmount(
BelowMinEndTime(
BelowMinStvDepositAmount(
CallFailed(bytes arg0
ExchangeDataMismatch(
FundraisingPeriodEnded(
InputMismatch(
LengthMismatch(
MoreThanTotalRaised(
NoAccess(
NotAdmin(
NotOwner(
StvDoesNotExist(
StvNotOpen(
StvStatusMismatch(
TotalRaisedMoreThanCapacity(
ZeroAmount(
ZeroTotalRaised(