Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop #44

Open
wants to merge 88 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
88 commits
Select commit Hold shift + click to select a range
cbdfc5f
dark theme modified and added ui libraries
Franpastoragusti Aug 20, 2023
ca12c06
header
Franpastoragusti Aug 20, 2023
aef39af
connect step
Franpastoragusti Aug 20, 2023
cd63a49
asset selection
Franpastoragusti Aug 20, 2023
be158b9
hacked address
Franpastoragusti Aug 20, 2023
c2964a9
layout
Franpastoragusti Aug 20, 2023
3b8b28e
transaction bundle step
Franpastoragusti Aug 20, 2023
4674d71
custom portal
Franpastoragusti Aug 20, 2023
82e1a3f
assets and globals
Franpastoragusti Aug 20, 2023
43937d2
add functionality until autodetect transactions
Franpastoragusti Aug 20, 2023
dd76dd3
use cutom button
Franpastoragusti Aug 20, 2023
3aa3219
remove button extra styles
Franpastoragusti Aug 20, 2023
1eba0f7
add gas estimation
Franpastoragusti Aug 21, 2023
e286e67
fixing ui
Franpastoragusti Aug 21, 2023
247edb6
revamp page
Franpastoragusti Aug 21, 2023
e1897b8
styles
Franpastoragusti Aug 21, 2023
9f0a2f2
wrong gas stimation
Franpastoragusti Aug 21, 2023
ced32a0
fix signing
Franpastoragusti Aug 23, 2023
14cc489
strong error flow
Franpastoragusti Aug 23, 2023
af394d9
change naming
Franpastoragusti Aug 23, 2023
cbd6912
first version of full process
Franpastoragusti Aug 23, 2023
da07c90
add manual add modal and full custom call integration
Franpastoragusti Aug 24, 2023
e5662dc
manual adition of assets
Franpastoragusti Aug 24, 2023
19b1e4f
fix step status
Franpastoragusti Aug 24, 2023
829d777
batch commit
irfanbozkurt Aug 25, 2023
d853f64
deactivate console log
irfanbozkurt Aug 25, 2023
ddecdf9
remove prettier plugin so vercel doesn't cry
irfanbozkurt Aug 25, 2023
2b03676
trying to make vercel work with eslint errors
irfanbozkurt Aug 25, 2023
6c4d7f3
please work this time
irfanbozkurt Aug 25, 2023
ad59505
vercel please FUCKING DEPLoy tHIS SHIT
irfanbozkurt Aug 25, 2023
f2d2620
I'm tired of trying stuff
irfanbozkurt Aug 25, 2023
e1a50c1
add showError using context
Franpastoragusti Aug 28, 2023
4725caa
improve text for descriptive steps and modals
Franpastoragusti Aug 28, 2023
8acdc38
add donate step and share with social media
Franpastoragusti Aug 28, 2023
1a6b04d
add text on connect step
Franpastoragusti Aug 28, 2023
95f044f
get gas estimation from flashbots and suggest
escottalexander Aug 30, 2023
de0ac9f
increase blocks in future to provide cushion for delay
escottalexander Aug 30, 2023
c35637d
improve text for descriptive steps and modals
Franpastoragusti Aug 28, 2023
7356eb5
add donate step and share with social media
Franpastoragusti Aug 28, 2023
a395d7a
add text on connect step
Franpastoragusti Aug 28, 2023
e8c5cfe
Merge branch 'develop' into gas-suggestion
escottalexander Aug 30, 2023
d1d7d4a
fix Internal React error: Expected static flag
Franpastoragusti Aug 29, 2023
03dc014
add no assets message
Franpastoragusti Aug 29, 2023
007fa6b
fix donate
Franpastoragusti Aug 30, 2023
da23819
fix "React error" due to different hook instances after rerender
Franpastoragusti Aug 30, 2023
0649459
fix donate status
Franpastoragusti Aug 30, 2023
46ccb69
move gas to top
Franpastoragusti Aug 30, 2023
e31d128
reorder asset back and refresh
Franpastoragusti Aug 30, 2023
14f8afb
add safe and hacked wallet illustrations
Franpastoragusti Aug 30, 2023
801cab0
change name
Franpastoragusti Aug 30, 2023
d8b01b9
add render nfts
Franpastoragusti Aug 30, 2023
d13ae84
error image
Franpastoragusti Aug 31, 2023
1dcec45
add gas suggestion to recovery txs
escottalexander Sep 1, 2023
bc439cf
improve text for descriptive steps and modals
Franpastoragusti Aug 28, 2023
0187686
get gas estimation from flashbots and suggest
escottalexander Aug 30, 2023
2d62400
increase blocks in future to provide cushion for delay
escottalexander Aug 30, 2023
6512681
add gas suggestion to recovery txs
escottalexander Sep 1, 2023
391e68a
Merge branch 'gas-suggestion' of github.com:escottalexander/flashbot-…
escottalexander Sep 2, 2023
9d640f6
merge fix
escottalexander Sep 2, 2023
dad074b
linting changes
escottalexander Sep 2, 2023
fb3e496
Merge pull request #36 from escottalexander/gas-suggestion
Franpastoragusti Sep 3, 2023
90d1df9
safe multisig
irfanbozkurt Sep 17, 2023
ca10b6b
donation contract
irfanbozkurt Sep 17, 2023
1f190cd
network -> goerli
irfanbozkurt Sep 17, 2023
eaeee9d
more images
Franpastoragusti Sep 13, 2023
1656869
logo
Franpastoragusti Sep 13, 2023
d7b0e19
fix erc20 ui in asset selection
Franpastoragusti Sep 13, 2023
a1e6e6f
add images to modals
Franpastoragusti Sep 13, 2023
3c6b6fe
add back button to transactions
Franpastoragusti Sep 13, 2023
f18ebc5
text
Franpastoragusti Sep 13, 2023
2a401c9
modify icons
Franpastoragusti Sep 13, 2023
21cf3b7
remove header
Franpastoragusti Sep 13, 2023
8872081
clear data
Franpastoragusti Sep 14, 2023
0f45005
connect wallet ui
Franpastoragusti Sep 26, 2023
b4e34fa
small ui fixes
Franpastoragusti Sep 14, 2023
6fca7a2
fix
Franpastoragusti Sep 26, 2023
319c867
added final error
Franpastoragusti Sep 18, 2023
2fffcca
add final error
Franpastoragusti Sep 18, 2023
4cef7ab
add website to share links
Franpastoragusti Sep 18, 2023
c180565
fix
Franpastoragusti Sep 26, 2023
2176ef2
fixes
Franpastoragusti Sep 26, 2023
a199f8e
connect donations
Franpastoragusti Sep 26, 2023
87e0776
hide
Franpastoragusti Sep 26, 2023
fbac816
hide donations
Franpastoragusti Sep 28, 2023
dab9bba
fix some image issues
escottalexander Sep 28, 2023
bef34e2
fix src on svg
Franpastoragusti Sep 28, 2023
87d1b30
BLOCKS_IN_THE_FUTURE increased
Franpastoragusti Sep 29, 2023
abb8d41
add variable to deploy
Franpastoragusti Sep 29, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
261 changes: 261 additions & 0 deletions packages/hardhat/Donation.sol/DonationMultiSig.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,261 @@
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import type {
BaseContract,
BigNumber,
BigNumberish,
BytesLike,
CallOverrides,
ContractTransaction,
Overrides,
PopulatedTransaction,
Signer,
utils,
} from "ethers";
import type {
FunctionFragment,
Result,
EventFragment,
} from "@ethersproject/abi";
import type { Listener, Provider } from "@ethersproject/providers";
import type {
TypedEventFilter,
TypedEvent,
TypedListener,
OnEvent,
PromiseOrValue,
} from "../../common";

export interface DonationMultiSigInterface extends utils.Interface {
functions: {
"approveContributor(address)": FunctionFragment;
"contributors(uint256)": FunctionFragment;
"proposeContributor(address,uint32)": FunctionFragment;
"totalWeight()": FunctionFragment;
"weights(uint256)": FunctionFragment;
};

getFunction(
nameOrSignatureOrTopic:
| "approveContributor"
| "contributors"
| "proposeContributor"
| "totalWeight"
| "weights"
): FunctionFragment;

encodeFunctionData(
functionFragment: "approveContributor",
values: [PromiseOrValue<string>]
): string;
encodeFunctionData(
functionFragment: "contributors",
values: [PromiseOrValue<BigNumberish>]
): string;
encodeFunctionData(
functionFragment: "proposeContributor",
values: [PromiseOrValue<string>, PromiseOrValue<BigNumberish>]
): string;
encodeFunctionData(
functionFragment: "totalWeight",
values?: undefined
): string;
encodeFunctionData(
functionFragment: "weights",
values: [PromiseOrValue<BigNumberish>]
): string;

decodeFunctionResult(
functionFragment: "approveContributor",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "contributors",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "proposeContributor",
data: BytesLike
): Result;
decodeFunctionResult(
functionFragment: "totalWeight",
data: BytesLike
): Result;
decodeFunctionResult(functionFragment: "weights", data: BytesLike): Result;

events: {
"Donation(address,uint256)": EventFragment;
};

getEvent(nameOrSignatureOrTopic: "Donation"): EventFragment;
}

export interface DonationEventObject {
sender: string;
amount: BigNumber;
}
export type DonationEvent = TypedEvent<
[string, BigNumber],
DonationEventObject
>;

export type DonationEventFilter = TypedEventFilter<DonationEvent>;

export interface DonationMultiSig extends BaseContract {
connect(signerOrProvider: Signer | Provider | string): this;
attach(addressOrName: string): this;
deployed(): Promise<this>;

interface: DonationMultiSigInterface;

queryFilter<TEvent extends TypedEvent>(
event: TypedEventFilter<TEvent>,
fromBlockOrBlockhash?: string | number | undefined,
toBlock?: string | number | undefined
): Promise<Array<TEvent>>;

listeners<TEvent extends TypedEvent>(
eventFilter?: TypedEventFilter<TEvent>
): Array<TypedListener<TEvent>>;
listeners(eventName?: string): Array<Listener>;
removeAllListeners<TEvent extends TypedEvent>(
eventFilter: TypedEventFilter<TEvent>
): this;
removeAllListeners(eventName?: string): this;
off: OnEvent<this>;
on: OnEvent<this>;
once: OnEvent<this>;
removeListener: OnEvent<this>;

functions: {
approveContributor(
newContributor: PromiseOrValue<string>,
overrides?: Overrides & { from?: PromiseOrValue<string> }
): Promise<ContractTransaction>;

contributors(
arg0: PromiseOrValue<BigNumberish>,
overrides?: CallOverrides
): Promise<[string]>;

proposeContributor(
newContributor: PromiseOrValue<string>,
weight: PromiseOrValue<BigNumberish>,
overrides?: Overrides & { from?: PromiseOrValue<string> }
): Promise<ContractTransaction>;

totalWeight(overrides?: CallOverrides): Promise<[BigNumber]>;

weights(
arg0: PromiseOrValue<BigNumberish>,
overrides?: CallOverrides
): Promise<[number]>;
};

approveContributor(
newContributor: PromiseOrValue<string>,
overrides?: Overrides & { from?: PromiseOrValue<string> }
): Promise<ContractTransaction>;

contributors(
arg0: PromiseOrValue<BigNumberish>,
overrides?: CallOverrides
): Promise<string>;

proposeContributor(
newContributor: PromiseOrValue<string>,
weight: PromiseOrValue<BigNumberish>,
overrides?: Overrides & { from?: PromiseOrValue<string> }
): Promise<ContractTransaction>;

totalWeight(overrides?: CallOverrides): Promise<BigNumber>;

weights(
arg0: PromiseOrValue<BigNumberish>,
overrides?: CallOverrides
): Promise<number>;

callStatic: {
approveContributor(
newContributor: PromiseOrValue<string>,
overrides?: CallOverrides
): Promise<void>;

contributors(
arg0: PromiseOrValue<BigNumberish>,
overrides?: CallOverrides
): Promise<string>;

proposeContributor(
newContributor: PromiseOrValue<string>,
weight: PromiseOrValue<BigNumberish>,
overrides?: CallOverrides
): Promise<void>;

totalWeight(overrides?: CallOverrides): Promise<BigNumber>;

weights(
arg0: PromiseOrValue<BigNumberish>,
overrides?: CallOverrides
): Promise<number>;
};

filters: {
"Donation(address,uint256)"(
sender?: null,
amount?: null
): DonationEventFilter;
Donation(sender?: null, amount?: null): DonationEventFilter;
};

estimateGas: {
approveContributor(
newContributor: PromiseOrValue<string>,
overrides?: Overrides & { from?: PromiseOrValue<string> }
): Promise<BigNumber>;

contributors(
arg0: PromiseOrValue<BigNumberish>,
overrides?: CallOverrides
): Promise<BigNumber>;

proposeContributor(
newContributor: PromiseOrValue<string>,
weight: PromiseOrValue<BigNumberish>,
overrides?: Overrides & { from?: PromiseOrValue<string> }
): Promise<BigNumber>;

totalWeight(overrides?: CallOverrides): Promise<BigNumber>;

weights(
arg0: PromiseOrValue<BigNumberish>,
overrides?: CallOverrides
): Promise<BigNumber>;
};

populateTransaction: {
approveContributor(
newContributor: PromiseOrValue<string>,
overrides?: Overrides & { from?: PromiseOrValue<string> }
): Promise<PopulatedTransaction>;

contributors(
arg0: PromiseOrValue<BigNumberish>,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;

proposeContributor(
newContributor: PromiseOrValue<string>,
weight: PromiseOrValue<BigNumberish>,
overrides?: Overrides & { from?: PromiseOrValue<string> }
): Promise<PopulatedTransaction>;

totalWeight(overrides?: CallOverrides): Promise<PopulatedTransaction>;

weights(
arg0: PromiseOrValue<BigNumberish>,
overrides?: CallOverrides
): Promise<PopulatedTransaction>;
};
}
Loading