Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
jeesunikim committed Dec 13, 2024
1 parent da2ec12 commit 203063e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/app/(sidebar)/transaction/build/components/Operations.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -886,6 +886,7 @@ export const Operations = () => {
<option value="end_sponsoring_future_reserves">
End Sponsoring Future Reserves
</option>
<option value="restore_footprint">Restore Footprint</option>
<option value="revoke_sponsorship">Revoke Sponsorship</option>
<option value="clawback">Clawback</option>
<option value="clawback_claimable_balance">
Expand Down Expand Up @@ -1187,6 +1188,7 @@ export const Operations = () => {
<Button
size="md"
variant="tertiary"
disabled={true}
icon={<Icon.PlusCircle />}
onClick={() => {
updateOptionParamAndError({
Expand Down
11 changes: 10 additions & 1 deletion src/types/types.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
import React from "react";
import { NetworkError, rpc as StellarRpc, xdr } from "@stellar/stellar-sdk";
import {
NetworkError,
rpc as StellarRpc,
Transaction,
xdr,
} from "@stellar/stellar-sdk";
import { TransactionBuildParams } from "@/store/createStore";

// =============================================================================
Expand Down Expand Up @@ -226,6 +231,10 @@ export type FractionValue = {
d: string | undefined;
};

export type RestoreFootprintValue = {
tx: Transaction;
};

export type RevokeSponsorshipValue = {
type: SponsorshipType | string;
data: AnyObject;
Expand Down

0 comments on commit 203063e

Please sign in to comment.