Coder Social home page Coder Social logo

custom-proxy-contract's Introduction

  • Implemented a Proxy Contract for Load Balancing and Function Delegation.
  • This proxy contract accepts the function id of a specific function in contract and updates the implementaion address dynamically.
  • We can write our implementaion contract logic in another contract and update it if needed without worrying about the loss of data as all the data will be stored in the storage of proxy contract.
  • I have combined 3 different implementation contract i.e Voting Contract, Token Transfer and Staking contract.
  • Proxy contract will delegate the call to appropriate functions of these contrats based on the function id identified.
  • Users can update the funtion id as well if they deploy a new implementation contract.

Contract Addresses

  • Proxy Contract - 0xD38B80BD2F3BEB19459cBcA16e79892684C42C37
  • Voting Contract - 0xeC0cDB347ECB492bDccaa7e023337864D83a5ff5
  • Transfer Token - 0x5FBD05Ec4eB8CB7511E204449a4FB6d88a92ab64
  • Staking Contract - 0xb18F71e36b0Fca6c183989961E6DB37042238493

custom-proxy-contract's People

Contributors

varunsh20 avatar

Watchers

 avatar

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.