Skip to content

Instantly share code, notes, and snippets.

View littlekfc's full-sized avatar

RJ littlekfc

View GitHub Profile
#include <eosiolib/currency.hpp>
#include <eosiolib/transaction.hpp>
#include <math.h>
#include <eosiolib/asset.hpp>
#include <eosiolib/eosio.hpp>
#include <eosiolib/types.hpp>
#include <string>

Keybase proof

I hereby claim:

  • I am littlekfc on github.
  • I am littlekfc (https://keybase.io/littlekfc) on keybase.
  • I have a public key ASBscXXFZ2WL7bylq8zJW3yhS7nrEbph6FYaS0aBPf1O1wo

To claim this, I am signing this object:

@littlekfc
littlekfc / gist:c5dd8719c5b6e2f72b86ed7281dda5d1
Last active September 10, 2019 13:45
EOS updated owner auth account
cryptomancer 0.2 EOS
gizdmmbzgege 219.8302 EOS
gmydmmrthege 5.054 EOS
gu2tsmjxhage 2.9991 EOS
giytgnbwgege 40 EOS
g43dimjtgmge 57.1756 EOS
gq2tinrrguge 49 EOS
egon1woosang 0.04 EOS
gm2dkobqgige 14.7402 EOS
gi4timjrgage 4.0383 EOS
#!/usr/bin/python
# -*- coding: utf-8 -*-
total = [(i, j, ii, jj) for i in xrange(2) for j in xrange(7) for ii in xrange(2) for jj in xrange(7)]
filled_total = 0
case_total = 0
for case in total:
if (case[0] == 1 and case[1] == 1) or (case[2] == 1 and case[3] == 1):
case_total += 1
if (case[0] == 1 and case[1] == 1 and case[2] == 1) or (case[0] == 1 and case[2] == 1 and case[3] == 1):
#!/usr/bin/python
# -*- coding: utf-8 -*-
total = [(i, j, ii, jj) for i in xrange(2) for j in xrange(7) for ii in xrange(2) for jj in xrange(7)]
filled_total = 0
case_total = 0
for case in total:
if (case[0] == 1 and case[1] == 1) or (case[2] == 1 and case[3] == 1):
case_total += 1
if (case[0] == 1 and case[1] == 1 and case[2] == 1) or (case[0] == 1 and case[2] == 1 and case[3] == 1):
pragma solidity =0.6.6;
interface IERC20 {
event Approval(address indexed owner, address indexed spender, uint value);
event Transfer(address indexed from, address indexed to, uint value);
function name() external view returns (string memory);
function symbol() external view returns (string memory);
[
{
"inputs": [
{
"internalType": "address payable[]",
"name": "to",
"type": "address[]"
},
{
"internalType": "uint256",