From 963859f23ac504710856a9624376b23671e452f6 Mon Sep 17 00:00:00 2001 From: Viktor Radchenko <1641795+vikmeup@users.noreply.github.com> Date: Wed, 21 Oct 2020 11:59:42 -0700 Subject: [PATCH] Add filecoin --- coin/coins.go | 16 +++++++++++++++- coin/coins.yml | 8 ++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/coin/coins.go b/coin/coins.go index e27358a..c95a1a6 100644 --- a/coin/coins.go +++ b/coin/coins.go @@ -1,6 +1,6 @@ // Code generated by go generate; DO NOT EDIT. // This file was generated by robots at -// 2020-10-21 11:54:31.70677 -0700 PDT m=+0.001594863 +// 2020-10-21 11:57:34.271255 -0700 PDT m=+0.001573868 // using data from coins.yml package coin @@ -78,6 +78,7 @@ const ( ERD = 508 BSCLegacy = 10000714 BSC = 20000714 + FIL = 461 ) var Coins = map[uint]Coin{ @@ -603,6 +604,16 @@ var Coins = map[uint]Coin{ MinConfirmations: 0, SampleAddr: "0x35552c16704d214347f29Fa77f77DA6d75d7C752", }, + FIL: { + ID: 461, + Handle: "filecoin", + Symbol: "FIL", + Name: "Filecoin", + Decimals: 18, + BlockTime: 3000, + MinConfirmations: 0, + SampleAddr: "t1nbb73vhk5dtmnsgeaetbo76daepqjtrfoccn74i", + }, } func Ethereum() Coin { return Coins[ETH] @@ -760,4 +771,7 @@ func Bsc() Coin { func Smartchain() Coin { return Coins[BSC] } +func Filecoin() Coin { + return Coins[FIL] +} diff --git a/coin/coins.yml b/coin/coins.yml index f8bc3c8..bb44ef9 100644 --- a/coin/coins.yml +++ b/coin/coins.yml @@ -414,3 +414,11 @@ decimals: 18 blockTime: 3000 sampleAddress: '0x35552c16704d214347f29Fa77f77DA6d75d7C752' + +- id: 461 + symbol: FIL + handle: filecoin + name: 'Filecoin' + decimals: 18 + blockTime: 3000 + sampleAddress: 't1nbb73vhk5dtmnsgeaetbo76daepqjtrfoccn74i' \ No newline at end of file