Skip to content

Commit

Permalink
update address (gitcoinco#8745)
Browse files Browse the repository at this point in the history
* update address

* feedback after syncing with kevin
  • Loading branch information
thelostone-mc authored and iRhonin committed Apr 23, 2021
1 parent 30a3604 commit c261888
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion app/app/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,7 @@ def callback(request):
OAUTHLIB_INSECURE_TRANSPORT = env('OAUTHLIB_INSECURE_TRANSPORT', default=1)

# Kudos revenue account
KUDOS_REVENUE_ACCOUNT_ADDRESS = env('KUDOS_REVENUE_ACCOUNT_ADDRESS', default='0xdb282cee382244e05dd226c8809d2405b76fbdc9')
KUDOS_REVENUE_ACCOUNT_ADDRESS = env('KUDOS_REVENUE_ACCOUNT_ADDRESS', default='0xAD278911Ad07534F921eD7D757b6c0e6730FCB16')

# Social Auth
LOGIN_URL = 'gh_login'
Expand Down
2 changes: 1 addition & 1 deletion app/assets/v2/js/avatar_builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ function purchaseOption(option, value, target) {
var cost_eth = parseFloat(cost.replace('ETH', ''));
var cost_wei = web3.utils.toWei(String(cost_eth));

to_address = '0x00De4B13153673BCAE2616b67bf822500d325Fc3'; // TODO: make dynamic
to_address = '0xAD278911Ad07534F921eD7D757b6c0e6730FCB16'; // TODO: make dynamic
indicateMetamaskPopup();
web3.eth.getCoinbase(function(_, coinbase) {
web3.eth.sendTransaction({
Expand Down
2 changes: 1 addition & 1 deletion app/assets/v2/js/cart.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ document.addEventListener('dataWalletReady', function(e) {

// Constants
const ETH_ADDRESS = '0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE';
const gitcoinAddress = '0x00De4B13153673BCAE2616b67bf822500d325Fc3'; // Gitcoin donation address for mainnet and rinkeby
const gitcoinAddress = '0xd08Fe0c97c80491C6ee696Ee8151bc6E57d1Bf1d'; // Gitcoin donation address for mainnet and rinkeby

// Contract parameters and constants
const bulkCheckoutAbi = [{ 'anonymous': false, 'inputs': [{ 'indexed': true, 'internalType': 'address', 'name': 'token', 'type': 'address' }, { 'indexed': true, 'internalType': 'uint256', 'name': 'amount', 'type': 'uint256' }, { 'indexed': false, 'internalType': 'address', 'name': 'dest', 'type': 'address' }, { 'indexed': true, 'internalType': 'address', 'name': 'donor', 'type': 'address' }], 'name': 'DonationSent', 'type': 'event' }, { 'anonymous': false, 'inputs': [{ 'indexed': true, 'internalType': 'address', 'name': 'previousOwner', 'type': 'address' }, { 'indexed': true, 'internalType': 'address', 'name': 'newOwner', 'type': 'address' }], 'name': 'OwnershipTransferred', 'type': 'event' }, { 'anonymous': false, 'inputs': [{ 'indexed': false, 'internalType': 'address', 'name': 'account', 'type': 'address' }], 'name': 'Paused', 'type': 'event' }, { 'anonymous': false, 'inputs': [{ 'indexed': true, 'internalType': 'address', 'name': 'token', 'type': 'address' }, { 'indexed': true, 'internalType': 'uint256', 'name': 'amount', 'type': 'uint256' }, { 'indexed': true, 'internalType': 'address', 'name': 'dest', 'type': 'address' }], 'name': 'TokenWithdrawn', 'type': 'event' }, { 'anonymous': false, 'inputs': [{ 'indexed': false, 'internalType': 'address', 'name': 'account', 'type': 'address' }], 'name': 'Unpaused', 'type': 'event' }, { 'inputs': [{ 'components': [{ 'internalType': 'address', 'name': 'token', 'type': 'address' }, { 'internalType': 'uint256', 'name': 'amount', 'type': 'uint256' }, { 'internalType': 'address payable', 'name': 'dest', 'type': 'address' }], 'internalType': 'struct BulkCheckout.Donation[]', 'name': '_donations', 'type': 'tuple[]' }], 'name': 'donate', 'outputs': [], 'stateMutability': 'payable', 'type': 'function' }, { 'inputs': [], 'name': 'owner', 'outputs': [{ 'internalType': 'address', 'name': '', 'type': 'address' }], 'stateMutability': 'view', 'type': 'function' }, { 'inputs': [], 'name': 'pause', 'outputs': [], 'stateMutability': 'nonpayable', 'type': 'function' }, { 'inputs': [], 'name': 'paused', 'outputs': [{ 'internalType': 'bool', 'name': '', 'type': 'bool' }], 'stateMutability': 'view', 'type': 'function' }, { 'inputs': [], 'name': 'renounceOwnership', 'outputs': [], 'stateMutability': 'nonpayable', 'type': 'function' }, { 'inputs': [{ 'internalType': 'address', 'name': 'newOwner', 'type': 'address' }], 'name': 'transferOwnership', 'outputs': [], 'stateMutability': 'nonpayable', 'type': 'function' }, { 'inputs': [], 'name': 'unpause', 'outputs': [], 'stateMutability': 'nonpayable', 'type': 'function' }, { 'inputs': [{ 'internalType': 'address payable', 'name': '_dest', 'type': 'address' }], 'name': 'withdrawEther', 'outputs': [], 'stateMutability': 'nonpayable', 'type': 'function' }, { 'inputs': [{ 'internalType': 'address', 'name': '_tokenAddress', 'type': 'address' }, { 'internalType': 'address', 'name': '_dest', 'type': 'address' }], 'name': 'withdrawToken', 'outputs': [], 'stateMutability': 'nonpayable', 'type': 'function' }];
Expand Down
4 changes: 2 additions & 2 deletions app/assets/v2/js/pages/change_bounty.js
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ $(document).ready(function() {
const payFeaturedBounty = function() {
indicateMetamaskPopup();
web3.eth.sendTransaction({
to: '0x00De4B13153673BCAE2616b67bf822500d325Fc3',
to: '0x88c62f1695DD073B43dB16Df1559Fda841de38c6',
from: selectedAccount,
value: web3.utils.toWei(String(ethFeaturedPrice)),
gasPrice: web3.utils.toHex(5 * Math.pow(10, 9)),
Expand All @@ -330,7 +330,7 @@ $(document).ready(function() {
saveAttestationData(
result,
ethFeaturedPrice,
'0x00De4B13153673BCAE2616b67bf822500d325Fc3',
'0x88c62f1695DD073B43dB16Df1559Fda841de38c6',
'featuredbounty'
);
saveBountyChanges();
Expand Down
2 changes: 1 addition & 1 deletion app/assets/v2/js/pages/increase_bounty.js
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ $(document).ready(async function() {
var act_as_funder = is_funder();

if (act_as_funder) {
const to_address = '0x00De4B13153673BCAE2616b67bf822500d325Fc3';
const to_address = '0x88c62f1695DD073B43dB16Df1559Fda841de38c6';
const fee = (Number($('#summary-bounty-amount').html()) * FEE_PERCENTAGE).toFixed(4);

indicateMetamaskPopup();
Expand Down
8 changes: 4 additions & 4 deletions app/assets/v2/js/pages/new_bounty.js
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ Vue.mixin({
}
return new Promise(resolve =>
web3.eth.sendTransaction({
to: '0x00De4B13153673BCAE2616b67bf822500d325Fc3',
to: '0x88c62f1695DD073B43dB16Df1559Fda841de38c6',
from: selectedAccount,
value: web3.utils.toWei(String(vm.ethFeaturedPrice), 'ether'),
gas: web3.utils.toHex(318730),
Expand All @@ -403,7 +403,7 @@ Vue.mixin({
saveAttestationData(
result,
vm.ethFeaturedPrice,
'0x00De4B13153673BCAE2616b67bf822500d325Fc3',
'0x88c62f1695DD073B43dB16Df1559Fda841de38c6',
'featuredbounty'
);
resolve();
Expand All @@ -413,7 +413,7 @@ Vue.mixin({
},
payFees: async function() {
let vm = this;
const toAddress = '0x00De4B13153673BCAE2616b67bf822500d325Fc3';
const toAddress = '0x88c62f1695DD073B43dB16Df1559Fda841de38c6';

if (!provider) {
onConnect();
Expand All @@ -437,7 +437,7 @@ Vue.mixin({
saveAttestationData(
txnHash,
vm.totalAmount.totalFee,
'0x00De4B13153673BCAE2616b67bf822500d325Fc3',
'0x88c62f1695DD073B43dB16Df1559Fda841de38c6',
'bountyfee'
);
resolve();
Expand Down
1 change: 1 addition & 0 deletions app/marketing/stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,7 @@ def joe_dominance_index(created_before=timezone.now()):
joe_addresses = joe_addresses + ['0x5DA565AD870ee827608fC764f76ab8055B3E8474'.lower()] # justin
joe_addresses = joe_addresses + ['0x5cdb35fADB8262A3f88863254c870c2e6A848CcA'.lower()] # aditya
joe_addresses = joe_addresses + ['0x00de4b13153673bcae2616b67bf822500d325fc3'.lower()] # kevin
joe_addresses = joe_addresses + ['0x88c62f1695DD073B43dB16Df1559Fda841de38c6'.lower()] # kevin
joe_addresses = joe_addresses + ['0xe317C793ebc9d4A3732cA66e5a8fC4ffc213B989'.lower()] # dan


Expand Down

0 comments on commit c261888

Please sign in to comment.