New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@evolutionland/bank

Package Overview
Dependencies
Maintainers
2
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@evolutionland/bank

### abstract GringottsBank is a virtual bank in evolution land. It is a magic place it can give you kryptonite(KTON, an ERC20 token) as interest if you deposit RING into it.

  • 1.1.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
2
Created
Source

bank

abstract

GringottsBank is a virtual bank in evolution land. It is a magic place it can give you kryptonite(KTON, an ERC20 token) as interest if you deposit RING into it.

kryptonite can also used to buy land assets in evolution land. Specifically, players can only buy the reserved land and other special lands with kryptonite.

deployment

deploy contract GringottsBank. constructor's paramaters:

  1. address _ring: address of token contract of RING
  2. address _kton: address of token contract of KTON

Usage

1. how to deposit RING

invoke

// _data = uint2Bytes(how_many_months_you_wants_to_lock_your_ring_for)
ring_.transfer(address_of_GringottsBank, amount_of_ring, _data)
2. How to withdraw RING after maturity

invoke GringottsBank.claimDeposit

3. how to withdraw RING before maturity

invoke

// _data = uint2Bytes(depositID)
kryptonite_.transfer(address_of_GringottsBank, amount_of_KTON_as_penalty, _data)

4.Test addresses on Kovan network.

KTON: 0x8db914ef206c7f6c36e5223fce17900b587f46d2
bankProxy: 0x33dcd37b0b7315105859f9aa4b603339ad8825fc
bankLogic: 0x834c672f4fe27df295f624e91b64e6f4e01d83bb
ktonAuthority: 0x34ebd9edfdaed8dc578b7390d62abf43044fdfb2

5. Versions of Bank Logic Contracts

V0: 0x76cd2e158e8cb48523da1ffb83f64331544ae9d4
V1: 0x834c672f4fe27df295f624e91b64e6f4e01d83bb

FAQs

Package last updated on 22 Oct 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc