Skip to content
This repository has been archived by the owner on Nov 21, 2019. It is now read-only.

Add Callisto Cold Staking Contract ABI & Update Explorer #2144

Merged
merged 2 commits into from
Nov 14, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 17 additions & 1 deletion app/scripts/abiDefinitions/cloAbi.json
Original file line number Diff line number Diff line change
@@ -1 +1,17 @@
[]
[
{
"name":"Select a contract...",
"address":"",
"abi":""
},
{
"name":"Callisto Cold Staking",
"address":"0xd813419749b3c2cdc94a2f9cfcf154113264a9d6",
"abi":'[{"constant":false,"inputs":[],"name":"start_staking","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[],"name":"claim","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"staker","outputs":[{"name":"amount","type":"uint256"},{"name":"time","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_addr","type":"address"}],"name":"stake_reward","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"withdraw_stake","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":false,"name":"addr","type":"address"},{"indexed":false,"name":"value","type":"uint256"},{"indexed":false,"name":"amount","type":"uint256"},{"indexed":false,"name":"time","type":"uint256"}],"name":"StartStaking","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"staker","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"WithdrawStake","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"staker","type":"address"},{"indexed":false,"name":"reward","type":"uint256"}],"name":"Claim","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_address","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"DonationDeposited","type":"event"}]'
},
{
"name":"Officiality Checker",
"address":"0xf6f29e5ba51171c4ef4997bd0208c7e9bc5d5eda",
"abi":'[{"constant":false,"inputs":[{"name":"_name","type":"string"}],"name":"remove_entry","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_who","type":"address"}],"name":"fire","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_name","type":"string"},{"name":"_link","type":"string"},{"name":"_metadata","type":"string"}],"name":"add_entry","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_who","type":"address"}],"name":"hire","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_name","type":"string"}],"name":"get_entry","outputs":[{"name":"","type":"string"},{"name":"","type":"string"},{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_link","type":"string"}],"name":"is_official","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_who","type":"address"}],"name":"transfer_ownership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_name","type":"string"}],"name":"Registered","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_name","type":"string"}],"name":"Removed","type":"event"}]'
}
]
4 changes: 2 additions & 2 deletions app/scripts/nodes.js
Original file line number Diff line number Diff line change
Expand Up @@ -319,8 +319,8 @@ nodes.nodeList = {
},
clo: {
name: "CLO",
blockExplorerTX: "https://explorer.callisto.network/tx/[[txHash]]",
blockExplorerAddr: "https://explorer.callisto.network/account/[[address]]",
blockExplorerTX: "https://explorer2.callisto.network/tx/[[txHash]]",
blockExplorerAddr: "https://explorer2.callisto.network/addr/[[address]]",
type: nodes.nodeTypes.CLO,
eip155: true,
chainId: 820,
Expand Down