GithubHelp home page GithubHelp logo

pfed-prog / parsiq-axs Goto Github PK

View Code? Open in Web Editor NEW
7.0 2.0 2.0 454 KB

In this project we utilize PARSIQ Smart Triggers and Google Spreadsheets integration to track and visualize AXS token transfers on Ethereum and Binance Smart Chain that with the most liquid exchanges.

Home Page: https://dspyt.com/blockchain-insights-with-parsiq-triggers-for-axie-infinity/

License: MIT License

Jupyter Notebook 100.00%
parsiq axie-infinity jupyter-notebook python3 csv dspyt ethereum

parsiq-axs's Introduction

PARSIQ-AXS

In this project we utilize PARSIQ Smart Triggers and Google Spreadsheets integration to track and visualize AXS token transfers on Ethereum and Binance Smart Chain that involves most liquid exchanges.

AXS is an Ethereum token that powers Axie Infinity, a blockchain-based game where players can battle, collect, and build a digital kingdom for their pets. AXS holders can claim rewards for staking their tokens, playing the game, and participating in key governance votes.

The token is available on multiple chains including Ethereum and Binance Smart Chain.

On April 28 2021 the game has made a significant update introducing Ronin Bridge, Axie Infinity Ethereum sidechain.

The contract has since become the crucial link in the Axie Infinity ecosystem and largely contributes to the price action of AXS. With the update the bridge has become the only available option for Axie marketplace, breeding, and morphing contracts.

The idea for the project comes from the fact that on the Binance Exchange the highest earning product in Locked staking is AXS with an estimated APY of 131.25% far outperforming any similar prooduct on the exchange.

image

In order to justify such returns the company would usually rely on large inflows and minor outflows from the cryptocurrency. Therefore, monitoring the most liquid day-to-day endpoints provides an indicator of the success of the staking solution.

Triggers

Trigger for Token transfer from or to Binance Account of SPL or AXS token on Ethereum

Apart from collecting the data from the transaction we collect data using Chainlink and CryptoRank.

stream _
from TokenTransfers

where (@from == AXScontract || @to == AXScontract || @from == Binance14 || @to == Binance14) && (@erc20.symbol == "AXS" || @erc20.symbol == "SLP")

process
    let symb = @erc20.symbol
    let cryptorankFiatRate = getRate(symb)
    let fiat_value = @value * cryptorankFiatRate.value
    let fiat_decimals = @erc20.decimals + cryptorankFiatRate.decimals
    let eth_usd_pair = getChainlinkPriceFeedPair("ETH/USD")
    let score_from = getScore(@from)
    let score_to = getScore(@to)
    emit {@action_type, @block_hash, @code_address, @from, @gas_used, @origin, @to, @value, fiat_value, fiat_decimals, eth_usd_pair, @tx_hash, symb, @block_timestamp, @gas_price, score_from, score_to }
end

Trigger for Token transfer from or to Binance Accounts of AXS token on Bsc

stream _
from BscBEP20Transfers

where @token.contract == ContractBSC && (@from in BSCdata || @to in BSCdata )

process
  emit { @from, @to, @value, @token, @transaction, @block }
end

User Data

Primitives

image

image

Table

image

image

Results

Data and Notebook

Analysis

Ethereum Axie Infinity

There are 231 AXS token transactions in our ethereum dataset. Only 46 are from Ronin and Binance accounts.

image

Meanwhile, the rest 80% are coming to the Ronin and Binance accounts.

image

There are also more transactions to the native staking solution rather than Binance by a factor of 2.

Nevertheless, when we analyze the volume of outflows vs. inflows the sum of outflows dominate.

image

This would indicate more incoming users and one or few significant withdrawals from Binance.

We look at the more granular data and notice that one account is responsible for such bleak snapshot of AXS flows.

image

We plot full ethereum dataset value of transactions against time.

When plotted the inflows have a lot of spikes and more numerous for Binance.

image

While the outflows are more steady.

image

The following picture is very similar for only AXS. With two spikes in Binance outflows against 0 in Ronin Bridge.

image

We would need to further incorporate more data in our analysis to determine the scope of weekly and monthly flows in AXS token.

BSC AXS

In our BSC dataset we have 157 observations. The count of transactions is in favour of outflows from Binance Hot Wallets.

image

Whereas the sum of transferred AXS value out of binance is nearly identical to the inflows.

image

Comparison of AXS on BSC and Ethereum

The volume of transactions is much greater on Ethereum of AXS than on Binance Smart Chain.

image

Score of the addresses (in-built PARSIQ function)

In our AXS dataset on Ethereum we also obtained scores for addresses by using getScore in our trigger.

What is interesting is that the system scores higher the Binance account (85) rather than Ronin Bridge (76).

Besides, the average address that transacts to Ronin has score of 79. For Binance this figure is 80. For outflows the number is 79 for Ronin and 77 for Binance.

Further Resources

parsiq-axs's People

Contributors

pfed-prog avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

eren0180

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.