swivel.abstracts.vault_tracker
Classes
Class VaultTracker
VaultTracker
Persists and curates Vault objects associated with users
Note that a Vault is a Dict object in this form:
Ancestors
Descendants
Methods
Method admin
The stored admin address for this contract
Note that this should always be the MarketPlace address
Returns
web3 callable, opts
Method balances_of
Get Vault balances for a given user
Parameters
o (string) Address of the vault owner
Returns
web3 callable, opts
Method c_token_address
Adress of the compound token referenced by this vault tracker
Returns
web3 callable, opts
Method maturity
An Epoch (in seconds) representing the time of maturity
Returns
web3 callable, opts
Method maturity_rate
The maturity rate (TODO: better description)
Returns
web3 callable, opts
Method swivel
Address of the associated Swivel contract deployment
Returns
web3 callable, opts
Method vaults
Get a Vault for a given address
Parameters
o (string) Address of the vault owner
Returns
web3 callable, opts
Last updated