Skip to content

Commit

Permalink
rebase fail
Browse files Browse the repository at this point in the history
  • Loading branch information
timothymcmackin committed Jan 12, 2024
1 parent 0d58db9 commit 376e2ea
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 48 deletions.
3 changes: 1 addition & 2 deletions docs/unity/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,6 @@ You can see these events and their return values in the [EventManager object](./

For an example, see the [WalletConnection tutorial scene](./scenes#wallet-connection-scene).

For an example, see the [WalletConnection tutorial scene](./scenes#wallet-connection-scene).

## Deploying contracts

Contracts are backend programs that run on the Tezos blockchains.
Expand Down Expand Up @@ -337,6 +335,7 @@ private void OnPayloadSigned(SignResult obj)
// Result is true if the message is signed correctly
// And that it came from the currently-connected wallet
var result = TezosManager.Instance.Wallet.VerifySignedPayload(SignPayloadType.micheline, payload);

Debug.Log($"Payload verification response: {result}");
}
```
Expand Down
17 changes: 0 additions & 17 deletions docs/unity/scenes.md
Original file line number Diff line number Diff line change
Expand Up @@ -211,23 +211,6 @@ public void HandleTransfer()
}
```

The transfer tutorial scene uses the [`TokenContract.Transfer()`](./reference/TokenContract#transfer) method to transfer the token:

```csharp
public void HandleTransfer()
{
TezosManager
.Instance
.Tezos
.TokenContract
.Transfer(
completedCallback: TransferCompleted,
destination: address.text,
tokenId: int.Parse(id.text),
amount: int.Parse(amount.text));
}
```

This ledger of token ownership is stored in a big-map data type, which is serialized on Tezos to save space.

## IPFSUpload scene
Expand Down
29 changes: 0 additions & 29 deletions sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -229,35 +229,6 @@ const sidebars = {
},
],
},
{
type: 'category',
label: 'Reference',
items: [
'dApps/unity/quickstart',
'dApps/unity/scenes',
{
type: 'category',
label: 'Reference',
link: {
id: 'unity/reference',
type: 'doc',
},
items: [
{
type: "category",
label: "Objects",
items: [
'unity/reference/API',
'unity/reference/DAppMetadata',
'unity/reference/MessageReceiver',
'unity/reference/TokenContract',
'unity/reference/Wallet',
],
},
],
},
],
},
{
type: 'category',
label: 'Reference',
Expand Down

0 comments on commit 376e2ea

Please sign in to comment.