Sp/itfund is a co-ownership protocol built on NEAR.
For the end user, Sp/itfund looks and feels like a Real Estate crowdfunding site: funding amount goal, days left, number of backers, etc. Sp/itfund makes it easy to invest in Real Estate co-ownership starting from 50.00 USDT/NEAR.
On the technical side, users get back a new NEP141 token as collateral for their USDT/NEAR investment. This collateral is tradable at any time. If the funding amount goal is not reached within the expiration date, the users get their investment back.
deposit
send an amount of a given NEP141 token via ft_transfer_call
and get a new NEP141 in exchange as a receipt 1:1 for your investmentwithdraw
if the total funding amount is not reached within the expiration date, get your NEP141 deposit backdelegate_funds
if the total funding amount is reached, send the NEP141 balance to a given walletnear deploy
or use the factorySee the examples.
Refer to this file.