ProductsAppsFor Business

Coins

Support

Blog

Docs

Highlander

Using a KeepKey to Fund our FOXy affiliate program

Using a KeepKey to Fund our FOXy affiliate program

Using a KeepKey to Fund our FOXy Affiliate Program

Using Etherscan to manage custom contract calls

Intro

In this tutorial, I will be demonstrating how to use Etherscan to make direct contract calls using a KeepKey.

KeepKey maintains an affiliate program with ShapeShift DAO. Part of this arrangement is we pay 10% of sales revenue to the DAO in the form of FOX payments.

To complete these payments, we are calling a function called addRewardsForStakers.

Using KeepKey

This function adds FOX from the caller's address and deposits it into the FOXy contract. This balance, in return, increases the value of FOXy, a rebasing token built by ShapeShift.

Let's begin.

Select the Etherscan Dapp.

Etherscan Dapp

Referenced contracts:

  • FOXy

    0xee77aa3Fd23BbeBaf94386dD44b548e9a785ea4b

  • FOX

    0xc770eefad204b5180df6a14ee197d99d808ee52d

Referenced Contracts

Use Etherscan's built-in Web3 connection window.

Select Wallet-connect/pair.

Navigate to the Fox contract.

Steps:

  1. Approve FOXY on the FOX contract for your address.
  2. Navigate to the FOXy contract.
  3. Call
    addRewardsForStakers
    .
  4. Set
    10¹⁸
    option, then type in the amount of FOX you wish to deposit.
  5. Set
    true
    for rebase.
  6. Sign and broadcast the transaction.

Done:

The FOX tokens will be removed from your account and donated to the entire FOXy pool base.

Read more about this contract here: https://github.com/shapeshift/yieldies