Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

Exercise Six - Interest accrual

Satinder Rawal answered on April 23, 2023 Popularity 1/10 Helpfulness 1/10

Contents


More Related Answers

  • Interest rate parity
  • Accured Interest
  • Exercise Seven - Interest application

  • Exercise Six - Interest accrual

    0

    Background

    Smart Contracts have a concept called addresses. This allows the Smart Contract writer to separate the money in a customers account into two distinct places. This can be used in many ways, but it is very useful for Smart Contracts that accrue interest. Since interest accrual often happens at a different schedule to interest application, often Smart Contract writers will put accrued interest into a separate address.

    Exercise

    In this exercise, complete the below function _accrue_interest. This function should instruct the transfer of the accrual amount from the internal pnl_account address ACCRUED_OUTGOING to the ACCRUED_INCOMING address of our account. 

    https://docs.thoughtmachine.net/vault-core/4-6/EN/tutorials/smart-contracts/#basic-contract-exercise_six__interest_accrual

    Popularity 1/10 Helpfulness 1/10 Language python
    Source: Grepper
    Tags: python six
    Link to this answer
    Share Copy Link
    Contributed on Apr 23 2023
    Satinder Rawal
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.