Skip to content

travala/Referral-SC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 

Repository files navigation

Referral-SC

An implementation of a referral smart contract - Travala.com

Purpose

Generate booking referrals.

Functionality

Query User Invitation

Query order data from Storage 

Create Referral

Store referral data to Storage

Update Referral

Update referral data in Storage

Set Token Name

Set name using token

Get Token Name

Get using token name

Send Token Amount

Send token ‘%’ based on booking amount data. 

Migrate Contract

Migrate contract to new one.

Destroy Contract

Destroy contract. 

Rules

1. User is given referral link to push to their audiance.
2. Once new user joins platform, makes booking and confirm check out, referral is complete.
3. Referral complete - incentive distributed to the referee.

About

Referral smart contract for a booking platform - In order to generate booking referrals.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published