Skip to content

Instantly share code, notes, and snippets.

View hakkokimkr's full-sized avatar

Hakko hakkokimkr

View GitHub Profile
@hakkokimkr
hakkokimkr / celo_raffle_payout.py
Created March 29, 2026 06:55
Celo Raffle Payout Script
#!/usr/bin/env python3
"""
Celo Raffle Payout Script
3월 Celo 래플 당첨자에게 USDT 전송 + 이메일 발송
Usage:
python3 celo_raffle_payout.py # dry-run (기본)
python3 celo_raffle_payout.py --send # 실제 전송
"""
@hakkokimkr
hakkokimkr / check-updates.yml
Created February 25, 2026 04:35
CF Starter Template - Update Check Workflow
name: Check Update Documentation
on:
pull_request:
paths:
- 'apps/**'
- 'packages/**'
- 'tooling/**'
push:
branches:
created_at first_date first_time adult_count child_count infant_count total_count success name past_no_shows past_reservations weather
2024-12-02 11:29:18.560226 2024-12-30 13:30 2 0 0 2 False fukuoka 0 1 Clear
2024-10-18 01:07:08.247954 2024-10-22 12:30 1 0 0 1 True fukuoka 0 0 Mist
2024-10-21 03:31:13.488003 2024-10-25 09:00 1 0 0 1 False okinawa 0 0 Rain
2024-12-01 10:10:30.811707 2025-01-10 12:00 1 0 0 1 False fukuoka 1 1 Clouds
2024-11-05 14:06:08.447735 2024-11-23 19:00 4 0 0 4 True fukuoka 0 0 Clear
2024-11-23 02:08:49.826203 2024-12-18 16:00 2 0 0 2 True osaka 0 1 Clear
2024-12-12 09:57:08.429159 2024-12-16 17:00 2 0 0 2 True fukuoka 0 0 Clear
2024-12-29 14:20:55.553003 2025-01-17 12:00 2 0 0 2 True Sapporo 0 1 Snow
2025-02-09 14:15:58.403748 2025-02-26 20:00 2 0 0 2 True tokyo 0 1 Rain
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)
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
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)
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
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)
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
@hakkokimkr
hakkokimkr / README.txt
Created April 4, 2022 02:58
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.7+commit.e28d00a7.js&optimize=false&runs=200&gist=
REMIX EXAMPLE PROJECT
Remix example project is present when Remix loads for the very first time or there are no files existing in the File Explorer.
It contains 3 directories:
1. 'contracts': Holds three contracts with different complexity level, denoted with number prefix in file name.
2. 'scripts': Holds two scripts to deploy a contract. It is explained below.
3. 'tests': Contains one test file for 'Ballot' contract with unit tests in Solidity.
SCRIPTS