π₯οΈSpaces smart code
Compiling code for a smart contract is a complex process.
Continental ecosystem will create huge competition for existing payment systems and blockchains as technology of consensus mechanism Proof-of-OwNer Conversion or (PΠC) within the Continental network is a real leader generating >100 000 conversions per second even under maximum network busy!
For example, the Bitcoin network processes less than 100 payments per second, and Ethereum - about 200. Even traditional payment systems such as VISA, MC and SWIFT process no more than 20,000 transactions per second The main advantages of blockchain with POC technology:
β Bandwidth >100,000 conversions, infinite tps with parallel subnets
β Safety threshold - 95% (parameterized)
β Sybil Protection - Proof of Owner Conversion
β Number of Validators - Millions of nodes
β Energy Efficient - CPU-Optimal
β Confirmation of replacement (no transaction) - the speed is less than 1 sec.
Figure 3: Inserting data into Proof-of- Own Conversion
// Some code POC
"block" : { C&1β¦β¦β¦
"type": " Proof-of-owner conversion",
"account": " Continental_C&x8biz89zxg69oo8gjgrw4kzhfun7x8dhbf4z1bdzkb84bf9kpu6b3hxs",
"previous": " 1xjnfyrn2auhfn9u88rzznfhyw3zxyky4eyeiqia5rb6xy7saufprwzder8",
"representative": "continental_1ngji4f1nguia1ig4jcnfui7yo8hbrundpuyrnare536j8rpjne7",
"balance": "1.000000000000000000",
"link": "1BHUH8HBNJU88NBHGTY77VFGHN6HBHU45BVCF890NJUY",
"link_as_account": "continental_1111ufhfbvhu789hfbfbfybc777cbdhddbch88nnxn8",
"signature": "8BHUY7GBHGY5VGHYNB4VHBGY11VGYNBH123VGHYNBV77BHGFR88ZX",
"work": "PoO848FF&Cx07111888f"
}Contract Source Code (Solidity Standard Json-Input format)

// SPDX-License-Identifier: UNLICENSED /*
| / | | | | | | \ / | | | __ _ ___ _ __ _ _ _ __ | | | |/| |/ _ \ __/ ` |/ | '| | | | ' | __| | | | | __/ || (| | (| | | || | |) | |_ || ||_|__,|___|| _, | .__/ _| / | |
Create your own token @ https://www.createmytoken.com Additional Blockchain Services @ https://www.metacrypt.org */ pragma solidity ^0.8.0;
contract MetacryptGeneratorInfo { string public constant _GENERATOR = "https://www.metacrypt.org"; string public constant _VERSION = "v3.0.5";
}
File 2 of 6 : MetacryptHelper.sol
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.0;
abstract contract MetacryptHelper { address private __target; string private __identifier;
}
File 3 of 6 : Metacrypt_B_X.sol
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.0;
import "./helpers/ERC20.sol";
import "../service/MetacryptHelper.sol"; import "../service/MetacryptGeneratorInfo.sol";
contract Metacrypt_B_X is ERC20, MetacryptHelper, MetacryptGeneratorInfo { constructor( address __metacrypt_target, string memory __cmt_name, string memory __cmt_symbol, uint256 __cmt_initial ) payable ERC20(__cmt_name, __cmt_symbol) MetacryptHelper("Metacrypt_B_X", __metacrypt_target) { require(__cmt_initial > 0, "ERC20: supply cannot be zero");
}
File 4 of 6 : ERC20.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@uniswap/v2-periphery/contracts/interfaces/IERC20.sol"; import "@openzeppelin/contracts/utils/Context.sol";
contract ERC20 is Context, IERC20 { mapping(address => uint256) private _balances;
}
File 5 of 6 : Context.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/*
@dev Provides information about the current execution context, including the
sender of the transaction and its data. While these are generally available
via msg.sender and msg.data, they should not be accessed in such a direct
manner, since when dealing with meta-transactions the account sending and
paying for execution may not be the actual sender (as far as an application
is concerned).
This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; }
function _msgData() internal view virtual returns (bytes calldata) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } }
File 6 of 6 : IERC20.sol
pragma solidity >=0.5.0;
interface IERC20 {
event Approval(address indexed owner, address indexed spender, uint value);
event Transfer(address indexed from, address indexed to, uint value);
}
Settings
{ "remappings": [],
"optimizer": {
"enabled": true, "runs": 200 }, "evmVersion":
"london", "outputSelection": { "":
{ "":
[ "evm.bytecode",
"evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
A space to create code.
Space for creativity programming code. Almost everything in GitBook revolves around the code compilation space. What you're looking at right now is a space (well, technically, it's a few words inside the code development on the Ethereum blockchain, inside a page inside a space, but let's not get too carried away) and it's basically a character set for programming a new perfect code for the MetaContinental project. We will use this space for a variety of things. We may want to create API documentation, a design system, a place for developer documentation and meetings to agree on new compilations. Whatever it is, it's likely we'll be using a bunch of spaces in GitBook.
_________________________________________________________________________________________________
Last updated