Two new contracts were deployed to extend protocols functionality and support upcoming marketing campaign:
- ReferralStorage (0x14d3c35B72523898c4a61F3B7E2F1f42D1D96B03): contract enables referrals functionality by letting anyone to register as referrer and promote our website with special referral url for earning rebates share from referred user's ticket generation.
- TicketAutomator (0xD1950a138328B52Da4fE73DbdB167a83f2c83DB9): contract generates tickets by looping ETH<>INT swaps multiple times. It is upgraded contract version with added possibilities: 1 - to implement cross chain (bridged) ticket generation, 2 - supplement (loan) additional WETH to user to enable full utilization of spent ETH, 3 - possibility to work in tandem with referrals processing contracts.
This Tally vote meant to setup initial config for these contract, grant necessary access roles and fund them with required assets from treasury.
Explanation of actions for ReferralStorage contract:
- setTier() function is called 4 times to initiate referral tiers and token lock amounts;
- 5M INT tokens transfer to ReferralStorage for initial rewards funding. Additional dedicated Tally vote for long-term referral campaign approval will be held later;
- grantRole() function is called to give ReferralStorage contract right to store data on DataStore contract (DATA_ADMIN role);
Actions for TicketAutomator contract:
- setConfig() function is called to initiate working params and point to companion ReferralStorage contract;
- 4 WETH tokens transfer to TicketAutomator for loan functionality to work properly;
- grantRole() functions is called to give TicketAutomator special new role REFERRAL_ADMIN to be able use functionality of ReferralStorage;