DepositRedeemEventAnalysis
Documentation for eth_defi.vault.deposit_redeem.DepositRedeemEventAnalysis Python class.
- class DepositRedeemEventAnalysis
Bases:
objectAnalyse a vault deposit/redeem event.
Done for the transaction where we get our assets into our wallet, so we can determine the actualy executed price of shares we received/sold
Attributes summary
from_todenomination_amountshare_counttx_hashblock_numberblock_timestampMethods summary
__init__(from_, to, denomination_amount, ...)get_share_price()is_success()- __init__(from_, to, denomination_amount, share_count, tx_hash, block_number, block_timestamp)
- Parameters
from_ (eth_typing.evm.HexAddress) –
to (eth_typing.evm.HexAddress) –
denomination_amount (decimal.Decimal) –
share_count (decimal.Decimal) –
tx_hash (hexbytes.main.HexBytes) –
block_number (eth_typing.evm.BlockNumber) –
block_timestamp (datetime.datetime) –
- Return type
None