Skip to content

Instantly share code, notes, and snippets.

View ravachol70's full-sized avatar

ravachol ravachol70

View GitHub Profile
@ravachol70
ravachol70 / connotation.md
Last active June 29, 2023 14:24
The Key Implications of Lossy Recognition

Dream Tax

[cf. Liminal Economy]

Abstract Loss:

@ravachol70
ravachol70 / uberification.md
Last active August 6, 2023 08:53
Annealing the Comingled Database

Narrowband Uberification

file tokenship under computational law?

https://twitter.com/i/lists/1327973837867266048

‘uberification’ From the french: la uberification

self-stylised random networks: ‘work’ within an economic culture that’s all but scattered completely.

@ravachol70
ravachol70 / erc-1178-extrapolated.sol
Last active April 19, 2023 13:13
Multiclass Fungibility in Solidity
// The MCFTTokenContract is a class-based fungible token contract that extends the ERC1178 standard.
contract MCFTTokenContract is ERC1178 {
// We use the SafeMath library to prevent overflow and underflow errors in arithmetic operations.
using SafeMath for uint256;
// The Owner variable holds the address of the contract owner.
address public Owner;
// The tokenCount variable keeps track of the total number of tokens in existence.
@ravachol70
ravachol70 / tft-stub.sol
Last active April 26, 2023 04:16
Token Inflections via Solidity
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "ipfs://QmU5XJU5TE5p5S6DZPU6oCf6J5N6G4shx4yjhohRjsuYQX/IpfsStorage.sol";
contract InflectionToken is IpfsStorage {
uint256 public constant inflectionCount = 34;
struct InflectionData {
bytes32[] ipfsHashes;
@ravachol70
ravachol70 / tft-root.sol
Created April 26, 2023 05:12
TFT Comparator
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "ipfs://Qmb4pKzeErWgC8pU6cLzV7JU6R9jV7EDTZX3MkJa2wak6J";
contract TFTToken is ITFT {
struct InflectionData {
bytes32[] blobs;
mapping(bytes32 => bool) blobExists;
@ravachol70
ravachol70 / tft-b.sol
Last active April 27, 2023 17:12
TFT Interface
pragma solidity ^0.8.0;
import "./ITFT.sol";
import "ipfs://QmbG59n6yMw6r2F3TqY6UcY6Ucmi6xE31p6j9nBjQLV7qu";
contract TFTToken is ITFT {
string public name;
string public symbol;
uint8 public decimals;
@ravachol70
ravachol70 / ComparatorA.sol
Last active April 26, 2023 17:40
Compare Selected Inflections (A)
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "ipfs-core/0.8.0/bytes" as bytesIPFS;
contract Comparator {
bytesIPFS.IPFS public ipfs;
struct Inflection {
bytes32[] blobsHashes;
@ravachol70
ravachol70 / ComparatorB.sol
Created April 26, 2023 17:42
Compare Selected Inflections (B)
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "ipfs-core/Interface.sol";
import "./TokenBurnMechanism.sol";
contract ComparatorB {
// Reference to TokenBurnMechanism contract
TokenBurnMechanism private _tokenBurnMechanism;
@ravachol70
ravachol70 / ComparatorC.sol
Last active April 28, 2023 12:37
Compare Selected Inflections (C)
pragma solidity ^0.8.0;
import "ipfs-core/Interface.go/ipfs/QmPZ3h3Z7YBk9aQRKbd1sM4RVs4YZ4sT6bbgTSLTzbeH1G/"; // import the ipfs-core interface
interface IInflectionHandler {
function compareBlobs(bytes32 blob1, bytes32 blob2) external view returns (bool);
function getBlobFromIpfs(bytes32 ipfsHash) external view returns (bytes memory);
function getBlobFromIpfsMultihash(bytes memory multihash) external view returns (bytes memory);
}
@ravachol70
ravachol70 / tft-c.sol
Created April 28, 2023 12:03
TFT Token ERC20 Interface
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
contract TFTToken {
string public name;
string public symbol;
uint8 public decimals;
uint256 public totalSupply;
mapping(address => uint256) public balanceOf;