This repo is the final project for the Blockchain course CED0104, which is an Interest Rate Swap contract
Authors of the Final Capstone Project: Chris Stephens and Lawrence Jordan
There are two smart contracts that were created for this capstone project
This is just a simple Interest Rate Contract, that takes a fixed rate, variable rate, libor rate and two address from the two contract participants and calculates what the payout is.
Values to be added in Create function below in Solidty to run this contract: Fixed Rate 4% is 400, Variable Rate 0.25% is 25, Libor Rate 5% is 500 and nominalge market value is 1000000
"0xca35b7d915458ef540ade6068dfe2f44e8fa733c", "0x14723a09acff6d2a60dcdf7aa4aff308fddc160c", "400", "25", "500", "1000000"
This contract takes a starting market value and calculates two interest rates againinst it, one that is fixed and the other that is a variable rate plus the libor rate. The contract expires once the total payouts are more than the inital starting market value of the contract.
Values to be added in Create function below in Solidty to run this contract: Fixed Rate 4% is 400, Variable Rate 0.25% is 25, Libor Rate 5% is 500 and nominalge market value is 1000000
"0xca35b7d915458ef540ade6068dfe2f44e8fa733c", "0x14723a09acff6d2a60dcdf7aa4aff308fddc160c", "400", "25", "500", "1000000"
"What is an 'Interest Rate Swap' An interest rate swap is an agreement between two counterparties in which one stream of future interest payments is exchanged for another based on a specified principal amount. Interest rate swaps usually involve the exchange of a fixed interest rate for a floating rate, or vice versa, to reduce or increase exposure to fluctuations in interest rates or to obtain a marginally lower interest rate than would have been possible without the swap."
From: https://www.investopedia.com/terms/i/interestrateswap.asp
https://ipfs.io/ipfs/QmXoypizjW3WknFiJnKLwHCnL72vedxjQkDDP1mXWo6uco/wiki/Interest_rate_swap.html