Skip to content

Commit

Permalink
refactor: remove fixedXXX types
Browse files Browse the repository at this point in the history
  • Loading branch information
aoudiamoncef committed Jun 23, 2023
1 parent 82ade6e commit 7e589a3
Show file tree
Hide file tree
Showing 19 changed files with 231 additions and 230 deletions.
2 changes: 1 addition & 1 deletion doc/abi.html
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ <h3 id="massa.abi.v1.Amount">Amount</h3>

<tr>
<td>amount</td>
<td><a href="#fixed64">fixed64</a></td>
<td><a href="#uint64">uint64</a></td>
<td></td>
<td><p>Amount is a 64-bit unsigned integer </p></td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion doc/abi.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Amount

| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| amount | [fixed64](#fixed64) | | Amount is a 64-bit unsigned integer |
| amount | [uint64](#uint64) | | Amount is a 64-bit unsigned integer |



Expand Down
18 changes: 9 additions & 9 deletions doc/api.html
Original file line number Diff line number Diff line change
Expand Up @@ -1496,7 +1496,7 @@ <h3 id="massa.api.v1.BlockParent">BlockParent</h3>

<tr>
<td>period</td>
<td><a href="#fixed64">fixed64</a></td>
<td><a href="#uint64">uint64</a></td>
<td></td>
<td><p>Period </p></td>
</tr>
Expand Down Expand Up @@ -2484,7 +2484,7 @@ <h3 id="massa.api.v1.GetTransactionsThroughputResponse">GetTransactionsThroughpu

<tr>
<td>throughput</td>
<td><a href="#fixed32">fixed32</a></td>
<td><a href="#uint32">uint32</a></td>
<td></td>
<td><p>Transactions throughput </p></td>
</tr>
Expand Down Expand Up @@ -2570,7 +2570,7 @@ <h3 id="massa.api.v1.LargestStakerEntry">LargestStakerEntry</h3>

<tr>
<td>rolls</td>
<td><a href="#fixed64">fixed64</a></td>
<td><a href="#uint64">uint64</a></td>
<td></td>
<td><p>Rolls </p></td>
</tr>
Expand Down Expand Up @@ -2618,14 +2618,14 @@ <h3 id="massa.api.v1.LargestStakersFilter">LargestStakersFilter</h3>

<tr>
<td>min_rolls</td>
<td><a href="#fixed64">fixed64</a></td>
<td><a href="#uint64">uint64</a></td>
<td>optional</td>
<td><p>Minimum rolls (Optional) </p></td>
</tr>

<tr>
<td>max_rolls</td>
<td><a href="#fixed64">fixed64</a></td>
<td><a href="#uint64">uint64</a></td>
<td>optional</td>
<td><p>Maximum rolls (Optional) </p></td>
</tr>
Expand All @@ -2649,14 +2649,14 @@ <h3 id="massa.api.v1.LargestStakersQuery">LargestStakersQuery</h3>

<tr>
<td>offset</td>
<td><a href="#fixed64">fixed64</a></td>
<td><a href="#uint64">uint64</a></td>
<td></td>
<td><p>Starting offset for the list of stakers. Defaults to 1 </p></td>
</tr>

<tr>
<td>limit</td>
<td><a href="#fixed64">fixed64</a></td>
<td><a href="#uint64">uint64</a></td>
<td></td>
<td><p>Limits the number of stakers to return. Defaults to 50 </p></td>
</tr>
Expand Down Expand Up @@ -3437,7 +3437,7 @@ <h3 id="massa.api.v1.TransactionsThroughputRequest">TransactionsThroughputReques

<tr>
<td>interval</td>
<td><a href="#fixed64">fixed64</a></td>
<td><a href="#uint64">uint64</a></td>
<td>optional</td>
<td><p>Timer interval in seconds (Optional). Defaults to 10s </p></td>
</tr>
Expand Down Expand Up @@ -3468,7 +3468,7 @@ <h3 id="massa.api.v1.TransactionsThroughputResponse">TransactionsThroughputRespo

<tr>
<td>throughput</td>
<td><a href="#fixed32">fixed32</a></td>
<td><a href="#uint32">uint32</a></td>
<td></td>
<td><p>Transactions throughput </p></td>
</tr>
Expand Down
18 changes: 9 additions & 9 deletions doc/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ Block parent tuple
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| block_id | [string](#string) | | Block id |
| period | [fixed64](#fixed64) | | Period |
| period | [uint64](#uint64) | | Period |



Expand Down Expand Up @@ -1091,7 +1091,7 @@ GetTransactionsThroughputResponse holds response from GetTransactionsThroughput
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| id | [string](#string) | | Request id |
| throughput | [fixed32](#fixed32) | | Transactions throughput |
| throughput | [uint32](#uint32) | | Transactions throughput |



Expand Down Expand Up @@ -1138,7 +1138,7 @@ LargestStakerEntry
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| address | [string](#string) | | Address |
| rolls | [fixed64](#fixed64) | | Rolls |
| rolls | [uint64](#uint64) | | Rolls |



Expand Down Expand Up @@ -1168,8 +1168,8 @@ LargestStakers Filter

| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| min_rolls | [fixed64](#fixed64) | optional | Minimum rolls (Optional) |
| max_rolls | [fixed64](#fixed64) | optional | Maximum rolls (Optional) |
| min_rolls | [uint64](#uint64) | optional | Minimum rolls (Optional) |
| max_rolls | [uint64](#uint64) | optional | Maximum rolls (Optional) |



Expand All @@ -1184,8 +1184,8 @@ LargestStakers Query

| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| offset | [fixed64](#fixed64) | | Starting offset for the list of stakers. Defaults to 1 |
| limit | [fixed64](#fixed64) | | Limits the number of stakers to return. Defaults to 50 |
| offset | [uint64](#uint64) | | Starting offset for the list of stakers. Defaults to 1 |
| limit | [uint64](#uint64) | | Limits the number of stakers to return. Defaults to 50 |
| filter | [LargestStakersFilter](#massa-api-v1-LargestStakersFilter) | | Filter |


Expand Down Expand Up @@ -1609,7 +1609,7 @@ TransactionsThroughputRequest holds request for TransactionsThroughput
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| id | [string](#string) | | Request id |
| interval | [fixed64](#fixed64) | optional | Timer interval in seconds (Optional). Defaults to 10s |
| interval | [uint64](#uint64) | optional | Timer interval in seconds (Optional). Defaults to 10s |



Expand All @@ -1625,7 +1625,7 @@ TransactionsThroughputResponse holds response from TransactionsThroughput
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| id | [string](#string) | | Request id |
| throughput | [fixed32](#fixed32) | | Transactions throughput |
| throughput | [uint32](#uint32) | | Transactions throughput |



Expand Down
Loading

0 comments on commit 7e589a3

Please sign in to comment.