donate.go (7948B)
1 /* 2 Copyright 2021 Mark Wilkerson 3 4 This program is free software: you can redistribute it and/or modify 5 it under the terms of the GNU General Public License as published by 6 the Free Software Foundation, either version 3 of the License. 7 8 This program is distributed in the hope that it will be useful, 9 but WITHOUT ANY WARRANTY; without even the implied warranty of 10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 GNU General Public License for more details. 12 13 You should have received a copy of the GNU General Public License 14 along with this program. If not, see <https://www.gnu.org/licenses/> 15 */ 16 17 package donate 18 19 const ( 20 xmr = "88vd4Fxy3AdcUpZp3FChgu5RGBBoEANdpXaB5Bm47JRGKqYbxwQZo1MMwkguQAUDioEPyf4rFK1yMUCgrE7ojVpAVEEzXVD" 21 22 xmrQR = ` 23 24 █████████████████████████████████████████████ 25 █████████████████████████████████████████████ 26 ████ ▄▄▄▄▄ █ █▄ ▀▄▄▄▀▀▀█▄██ ▀▄▄█ ▄▄▄▄▄ ████ 27 ████ █ █ █ ▀▄ ██▀▀█▄ █▀ █▀ █▀ ▀█ █ █ ████ 28 ████ █▄▄▄█ █▀██▀▀ █▄▀▄ █ ▄▄▀▀▀▄▄█ █▄▄▄█ ████ 29 ████▄▄▄▄▄▄▄█▄▀▄█ █ █ ▀▄█ ▀ ▀▄█▄█▄█▄▄▄▄▄▄▄████ 30 ████ ▄▀█▄▄▄▀▀▀▀▄▀ █ ▀▄▄ ▄ ▄ █▀▀▄▀█▀▄▀ ▄▄ ████ 31 ████ ▀▀▀▄█▄██ █ ▄▄▄▄█ ▄▀ ▀█▄██▀ ▀▄▀▀▄▄▀▀█████ 32 █████▄ ▄▀▄▄██▄▄█▄ ▀ ▀▄██▄▄▀▀▄ ▀█▀▄▄▄ ▄ ▄████ 33 ████▄ █▀ ▄ ▀▄▄█▀█ ▄█▀██▄ ▄ ▄▄█ █ ▄▄▄▄ █████ 34 █████ ▀██▄█ ▄▄▀ ▀▀▄█▀█▄▀▄▄█▀▄█▀▄▄▀▀▄ ▄▄████ 35 ████▄█▄ █ ▄▄█▀█ ▄█ █▀▄█▀ █ ▄█ ▄██▀██▀ ▀▀████ 36 █████▀ █▀▄▀█▀██▄███▀▀▀ ▄▀▄▀█ ▀ ▀ ▄█▀▄▄ ▄████ 37 ████▄ ▀█ ▄▄▄ █ █▀▄█▄ ▀▀█ █▄▄▄█▄ ███ █▀▀█████ 38 ████▀██▀█▀▄ █▄▀▄▀▄█▀ ▄▄ █▄ ▄▄█▀█▀▀▄█ ██▀█████ 39 ██████▀ ▀▄▄▀█▀ ▄██▄█ ▀█▄▀█▄ █ ▄ █████ █████ 40 ████▄▄█▄█▄▄▄▀▀██▄ █▀▀ █ ▄ ▄█▄▀▄█ ▄▄▄ ▀▄▀█████ 41 ████ ▄▄▄▄▄ █▀ ▄█▀▄▄▄▀ ▀█▄▀▄▄██▄▄ █▄█ ▄ █████ 42 ████ █ █ █▄█ ▄ ▀█▀▀▀ █▄▄██▀▄▀ ▄▄█▄█▄████ 43 ████ █▄▄▄█ █▀ ▄▄██▄ █ █ ▀█▄█▄ ▀ ▀█ ██▀▀█████ 44 ████▄▄▄▄▄▄▄█▄▄▄▄▄▄▄█▄██▄█▄▄▄▄▄█▄████▄▄█▄▄████ 45 █████████████████████████████████████████████ 46 █████████████████████████████████████████████ 47 48 ` 49 50 btc = "bc1qk22yx0gfce54gx9csy6dp6kl629wm0m9kscwl8" 51 52 btcQR = ` 53 54 █████████████████████████████████████ 55 █████████████████████████████████████ 56 ████ ▄▄▄▄▄ █▄▄▄ ▀█ █▀ █▀▄█ ▄▄▄▄▄ ████ 57 ████ █ █ ██▄▀ █ ▄ ▄▀▄ ██ █ █ ████ 58 ████ █▄▄▄█ ██▀▄ ▄▀███ ▄▄▀█ █▄▄▄█ ████ 59 ████▄▄▄▄▄▄▄█ ▀▄█ ▀▄█ █ █ █▄▄▄▄▄▄▄████ 60 ████ ▀▄▄▀▄▀▀▄▀█▄█ ▀▄▄█ ▄█▄▀▀█▀▀▄████ 61 ████ █▀█▀ ▄▀ ▄██▄▄ ▄▀ ▀█ █▄▀ ▄▀▀████ 62 ████ ▀▄█▄▄▄█ █▀▀█ ██▄▄▄█ ▀ █ ████ 63 ████▀ ▀█▄ █▄█▀█▄▄█▄▀▄ ▀ ▀█ ▄████ 64 ████▀ ▀ ▄▄▄▀▄ ▄ ▄ █▀██▀ █ █▄▀▄█▄█████ 65 ████ ▄▀ █▄▀▄█ ▀▄ ▀ ▀█▄ ▀▄▄ ▀█ ████ 66 ████▄▄▄█▄▄▄█▀▄█▄▀▀█ █ ▀▀ ▄▄▄ █ ▄▄████ 67 ████ ▄▄▄▄▄ ██ █ ▀█▄▄ ▀ █▄█ ▀█▀█████ 68 ████ █ █ █ ██▄▄▄ ▀██▄▄▄▄▄ ▄▀█▄▀████ 69 ████ █▄▄▄█ █▀▄█ ▄█▀ ▄▀██▀▀█ ▀▀▄ ████ 70 ████▄▄▄▄▄▄▄█▄█▄█▄█▄▄▄█▄▄▄▄█▄█▄███████ 71 █████████████████████████████████████ 72 █████████████████████████████████████ 73 74 75 ` 76 eth = "0x10517dcb7f3357aB6888cD6067b12D1ce2727B26" 77 78 ethQR = ` 79 80 █████████████████████████████████████ 81 █████████████████████████████████████ 82 ████ ▄▄▄▄▄ █▀█ █▄▄▄▀█▀ ▄▄█ ▄▄▄▄▄ ████ 83 ████ █ █ █▀▀▀█ ▀▀ ███▀▀█ █ █ ████ 84 ████ █▄▄▄█ █▀ █▀▀██▀▀█▄▄██ █▄▄▄█ ████ 85 ████▄▄▄▄▄▄▄█▄▀ ▀▄█ ▀ █ █▄█▄▄▄▄▄▄▄████ 86 ████▄ ▄▄▄█▄▄ ▄▀▄▀▀█▄▀▄▄ ▄▄▀▄▀▄█▄▀████ 87 ████▄█▀▄ ▄ █▄█▀█▄▄▄▄▀██▄▀▀▀██▄█████ 88 ████ ▀▄██▄██▄▄█▄▄█▄▀▄▄ ▄▄▀▀▀ ▄▄▀████ 89 ████▄▀ █▀▄▄▄ ██ ▄ ▄█ ▀▀▄▀ ▀▄█ █████ 90 ████ █ █▄█▄█ █▄▀█▄▄▄▄▄▀▄▄▀▄▀▄▄▄ ████ 91 ████ █▄▀▄ ▄ ██▀█▀█▄ ▀▄▀▀████▀▄█▀█████ 92 ████▄██▄█▄▄█ ▀▀█▄▄▄ ▀▄▄█ ▄▄▄ ▄▄▀████ 93 ████ ▄▄▄▄▄ █▄ ▄ ▄█▄▄█▄█▀ █▄█ ▄▄▀████ 94 ████ █ █ █ ██▄ ██▄▄▄▀▀▄ ▄▄▄▀▄ ▀████ 95 ████ █▄▄▄█ █ █▀▀ █▀ ▄▄ █▀█▄ ▄▀█ █████ 96 ████▄▄▄▄▄▄▄█▄██▄▄██▄▄▄▄▄██▄█▄█▄██████ 97 █████████████████████████████████████ 98 █████████████████████████████████████ 99 100 101 ` 102 ) 103 104 type donateInfo struct { 105 Address string 106 QRCode string 107 } 108 109 func (d donateInfo) String() string { 110 return d.Address 111 } 112 113 var ETH donateInfo = donateInfo{ 114 Address: eth, 115 QRCode: ethQR, 116 } 117 118 var BTC donateInfo = donateInfo{ 119 Address: btc, 120 QRCode: btcQR, 121 } 122 123 var XMR donateInfo = donateInfo{ 124 Address: xmr, 125 QRCode: xmrQR, 126 }