VaultTracker
Annotated source code of the VaultTracker.sol smart contract
Last updated
Annotated source code of the VaultTracker.sol smart contract
Last updated
Name | Type | Description |
---|---|---|
Adds notional to a given address
Removes notional from a given address
Redeem's interest accrued by a given address
Matures the vault
Transfers notional from one address to another
Transfers, in notional, a fee payment to the Swivel contract without recalculating marginal interest for the owner
Returns both relevant balances for a given user's vault
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
m
uint256
Maturity timestamp of the new market
c
address
cToken address associated with underlying for the new market
s
address
address of the deployed swivel contract
o
address
Address that owns a vault
a
uint256
Amount of notional added
o
address
Address that owns a vault
a
uint256
Amount of notional to remove
o
address
Address that owns a vault
c
uint256
The current cToken exchange rate
f
address
Owner of the amount
t
address
Recipient of the amount
a
uint256
Amount to transfer
f
address
Owner of the amount
a
uint256
Amount to transfer
o
address
Address that owns a vault