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

Comment suggestions for walleteventmanager #137

Merged
Changes from all commits
Commits
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
18 changes: 9 additions & 9 deletions Runtime/Scripts/Beacon/WalletEventManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public class WalletEventManager : MonoBehaviour
private Action<SignResult> payloadSigned;

/// <summary>
/// Occurs when an account connected successfully. Provides the account information.
/// Runs when an account connects successfully. Provides the account information.
/// </summary>
/// <remarks>
/// Provides an <see cref="AccountInfo" /> object containing the address and public key of the connected account.
Expand All @@ -52,7 +52,7 @@ public event Action<AccountInfo> AccountConnected
}

/// <summary>
/// Occurs when the connection to an account failed. Provides error information.
/// Runs when a connection to an account fails. Provides error information.
/// </summary>
/// <remarks>
/// Provides an <see cref="ErrorInfo" /> object containing the error message of the failed connection attempt.
Expand All @@ -71,7 +71,7 @@ public event Action<ErrorInfo> AccountConnectionFailed
}

/// <summary>
/// Occurs when an account disconnected successfully. Provides the account information.
/// Runs when an account disconnects successfully. Provides the account information.
/// </summary>
/// <remarks>
/// Provides an <see cref="AccountInfo" /> object containing the address and public key of the disconnected account.
Expand All @@ -90,7 +90,7 @@ public event Action<AccountInfo> AccountDisconnected
}

/// <summary>
/// Occurs when a contract call completed successfully. Provides the result of the call.
/// Runs when a call to a smart contract is confirmed on the blockchain. Provides the result of the call.
/// </summary>
/// <remarks>
/// Provides an <see cref="OperationResult" /> object with the transaction hash and success status.
Expand All @@ -110,7 +110,7 @@ public event Action<OperationResult> ContractCallCompleted
}

/// <summary>
/// Occurs when a contract call fails. Provides error details.
/// Runs when a call to a smart contract fails. Provides error details.
/// </summary>
/// <remarks>
/// Provides an <see cref="ErrorInfo" /> object containing the error message of the failed contract call.
Expand All @@ -129,7 +129,7 @@ public event Action<ErrorInfo> ContractCallFailed
}

/// <summary>
/// Occurs when a contract call is injected into the blockchain. Provides the result of the injection.
/// Runs when a call to a smart contract is sent to Tezos but before it has been included in a block and confirmed. Provides the hash of the transaction.
/// </summary>
/// <remarks>
/// Provides an <see cref="OperationResult" /> object containing the transaction hash and success status after the
Expand All @@ -149,7 +149,7 @@ public event Action<OperationResult> ContractCallInjected
}

/// <summary>
/// Occurs when handshake data is received. Provides the handshake details.
/// Runs when a handshake with a user's wallet application is received. Provides the handshake details.
/// </summary>
/// <remarks>
/// Provides a <see cref="HandshakeData" /> object with the pairing information required for user completion.
Expand All @@ -169,7 +169,7 @@ public event Action<HandshakeData> HandshakeReceived
}

/// <summary>
/// Occurs when the pairing process with a DApp is completed successfully. Provides details of the pairing completion.
/// Runs when the user's wallet is connected but before the user has approved the connection in the wallet app. Provides details of the pairing completion.
/// </summary>
/// <remarks>
/// Provides a <see cref="PairingDoneData" /> object with details about the pairing, such as the DApp's public key and
Expand All @@ -191,7 +191,7 @@ public event Action<PairingDoneData> PairingCompleted
}

/// <summary>
/// Occurs when a payload has been signed. Provides the sign result.
/// Runs when the user signs a payload. Provides the sign result.
/// </summary>
/// <remarks>
/// Provides a <see cref="SignResult" /> object containing the signature value.
Expand Down
Loading