Coder Social home page Coder Social logo

vesting_presets's Introduction

Most securities has a vesting schedule. The vesting schedule for each security can be populated with a vesting schedule preset or entered manually. For this task we will build:

  • Vesting schedules for securities
  • Vesting schedule templates for securities

Task one: Vesting schedules for securities

  • A security has the following fields representing its vesting schedule:
  • Vesting schedule template
    • Link to vesting schedule templates form
    • Optional
  • Vesting start date
  • Cliff toggle: shows and hides the following fields
  • Cliff duration
  • Cliff percentage
  • Vesting duration

The vesting duration field is calculated from two previous fields: cliff duration field and cliff percentage field. If either the cliff duration or the cliff percentage changes, then the vesting duration should also change. For example, If it’s a 12 month cliff, with 25%, then the vesting duration should be updated to 48 months.

If vesting duration is edited by the user, it will override the automatic calculation of vesting duration.

Task two: Vesting schedule templates for securities

  • Create a vesting schedule template with the following fields:
  • Vesting template name
  • Vesting duration
  • Cliff toggle
  • Cliff Duration
  • Cliff percentage

When the template form is submitted, it redirects back to the security form. The security form should have the new template selected, and the security form should have the values of the preset filled in.

vesting_presets's People

Contributors

iamwilhelm avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.