Giter Club home page Giter Club logo

ore-protocol's People

Watchers

 avatar  avatar  avatar  avatar  avatar

ore-protocol's Issues

Set ORE prices and activate ore system contract

ore system contract now should be able to:

Create a new account with the default price of 5 ORE and lock the same amount of SYS minus SYS that actually used.
Delegate-undelegate net/cpu/ram with the 2x amount of SYS requirement as ORE, and lock-unlock the price difference as SYS.

Lock ORE token for every SYS that is used for system actions.

Since the token caps are the same between ORE and SYS, available tokens should always match.

Acceptance Criteria

  • Make sure the contracts are working appropriately
  • Define proposal for new token price for production
  • Deploy & migration
  • Migrate existing accounts to use ORE tokens

Update licensapi function to allow user to specify additionalUrlParams that can be added to the voucher

@surabhil commented on Fri Nov 16 2018

  • Add additionalUrlParams parameters to the LicenseApi action:
  • Push back the additionalUrlParams parameters block to the additionalUrlParams coming from the offer if any.

additionalUrlParams are the optional values that are combined with any additionalUrlParams that are already defined in the offer and the combined result appears in the output voucher’s additional_url_params

These could optionally have the following structure:
"additional_url_params": [
{ "params": [{"name":"encryptedWith","value":"user1@authVerifier", {"name": "param1", "value": "v1" },{ "name": "param2", "value": "v2" }]

Allow multiple values for the same Locked Params - required for Lumeos

@traylewin commented on Mon Nov 19 2018

For Parameter Rules in an instrument, we should allow multiple values for the same parameter. This would be treated as an OR condition. If an incoming request includes any of the values included in the list, then it's a valid request and allowed.

For example:
Locked Params: UserId: 123, UserId: 456, UserID: 789
If a request comes in with UserId=456 then it meets the locked params rule. UserId=111 would not.

This solution would require an index for the lookup of the name/value pair since the number of possible values for a lock param could be very very large (10K+)

Discussion on making createbridge work with createoreacc

Current interface and the logic of createbridge is incompatible account creation with ORE. Because we set a fixed price for account creation and store it on contract's table, createbridge also needs to reach that table and get account creation parameters from there.
We also want createbridge contract to be generic so we need to decide on the changes we need to apply.

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.