UNPKG

@ixily/activ

Version:

Alpha Capture Trade Idea Verification. Blockchain ownership proven trade ideas and strategies.

58 lines 4.14 kB
"use strict"; /* * The following rules that comes as metadata in this contract MUST be enforced by anyone using the contract. * Any Third party SDK or individual users MUST be perform the following rules on the metadata as described as TYPESCRIPT CODE. * * Any one that DOES NOT enforces any IDEA (as described following) MUST be considered as a "bad actor" and ALL of the IDEAS it CREATED * ARE INVALID and MUST be considered as "invalid" by any other third party participating with this CONTRACT. * NO REFUNDS OF GAS OR ANY OTHER RESPONSABILITY * OVER THE BAD ACTOR that puts ideas without enforcing those rules. * * Rules: * * 1 - This TYPESCRIPT CODE WITH ITS COMMENTARIES ARE DEFINED AS "CONTRACT RULES". * * 2 - Any one that creates an idea using this contract MUST perform the "CONTRACT RULES" verification as described BEFORE * creating any idea AND MUST BE SURE the result is VALID as described. * * 3 - ANY ONE THAT DOES NOT DOT FOLLOW RULE "2" MUST BE CONSIDERED AS A "BAD ACTOR" AND ALL OF THE IDEAS IT CREATED ARE INVALID AND MUST * BE CONSIDERED AS "INVALID" BY ANY OTHER THIRD PARTY PARTICIPATING WITH THIS CONTRACT. * * 4 - ANY ENTITY THAT PARCIPATES with this contract MUST, when retrieving any NFT IDEA from any "STRATEGY" as defined in this rules, * MUST perform the "CONTRACT RULES" verification as described BEFORE consider ANY IDEA VALID AND MUST BE SURE the result * is VALID as described. ANYONE that CONSIDERS ANY IDEA NOT VALID WITHOUT FOLLOWING RULE "4" is at their own risk and should be * VOIDED of any credibility or warranty. IF ANY IDEA be considered INVALID after the verification, the entity that retrieved the idea * MUST consider the IDEA CREATOR a "BAD ENTITY" and MUST IGNORE the user and consider null and invalid any idea created by the user. * * 5 - ANY ENTITY THAT PARCIPATES with this contract MUST, to perform the CONTRACT RULES verification MUST READS CODE STRAIGHT FROM THIS FILE CONTRACT WITHOUT ABSOLUTELY ANY MODIFICATION. * IF THE ENTITY MODIFIES THE CODE IN ANY WAY, or use its own code that it thinks is the same code and fools yourself about the wrong deceived VALIDITY of any TRADE IDEA, THE ENTITY * MUST BE CONSIDERED AS A "BAD ENTITY" WITH ALL ITS EFFECTS. ANY OTHER GOOD ENTITY WILL VALIDATE THE IDEA AS INVALID AND IGNORE THE USER, when using from the original source code, this one. * * 6 - WE DEFINE "STRATEGY" and "NFT IDEA" as following javascript interfaces code provides as well as the typescript code that must be performed to validated the idea. * * 7 - OUR SDK PERFORMS THE VALIDATION OF THE IDEA AND THE STRATEGY. IF YOU USE OUR SDK, YOU ARE SAFE. IF YOU USE YOUR OWN CODE, YOU MUST FOLLOW RULES 4, 5 AND 6. * */ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; var desc = Object.getOwnPropertyDescriptor(m, k); if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { desc = { enumerable: true, get: function() { return m[k]; } }; } Object.defineProperty(o, k2, desc); }) : (function(o, m, k, k2) { if (k2 === undefined) k2 = k; o[k2] = m[k]; })); var __exportStar = (this && this.__exportStar) || function(m, exports) { for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); }; Object.defineProperty(exports, "__esModule", { value: true }); exports.CONTRACT_INTERFACES = exports.CONTRACT_TOOLS = exports.CONTRACT_CONSTANTS = void 0; var contract_1 = require("../../contract"); Object.defineProperty(exports, "CONTRACT_CONSTANTS", { enumerable: true, get: function () { return contract_1.CONTRACT_CONSTANTS; } }); Object.defineProperty(exports, "CONTRACT_TOOLS", { enumerable: true, get: function () { return contract_1.CONTRACT_TOOLS; } }); Object.defineProperty(exports, "CONTRACT_INTERFACES", { enumerable: true, get: function () { return contract_1.CONTRACT_INTERFACES; } }); __exportStar(require("./tools"), exports); __exportStar(require("./modules/ixily-activ-rules-v4.module"), exports); //# sourceMappingURL=index.js.map