You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/concepts/economics/index.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,7 +59,7 @@ The fee elimination model will be different from the refund model introduced on
59
59
60
60
## Ecosystem {#ecosystem}
61
61
62
-
The ecosystem layer encompasses dApp design and operation. Casper Labs maintains multiple partnerships with prospective dApp developers, and we anticipate devoting significant resources to research the economics of prospective dApps.
62
+
The ecosystem layer encompasses dApp design and operation. Casper Association maintains multiple partnerships with prospective dApp developers, and we anticipate devoting significant resources to research the economics of prospective dApps.
Copy file name to clipboardExpand all lines: docs/concepts/glossary/index.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ slug: /glossary
5
5
6
6
# Glossary
7
7
8
-
These definitions are correct in the context of the Casper Labs. They may (and probably will) have slightly different semantics in other contexts, including other blockchain contexts.
8
+
These definitions are correct in the context of the Casper Association. They may (and probably will) have slightly different semantics in other contexts, including other blockchain contexts.
Copy file name to clipboardExpand all lines: docs/concepts/serialization/types.md
+8-26Lines changed: 8 additions & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -214,7 +214,7 @@ Hex-encoded bytes serialized as a `u32` value describing the length of the bytes
214
214
215
215
## ByteCodeKind
216
216
217
-
The type of byte code, serialized as a single `u8` value. A `0` indicates empty byte code, while a `1` indicates a `V1CasperWasm` to be executed with the first version of the Casper execution engine.
217
+
The type of byte code, serialized as a single `u8` value. A `0` indicates empty byte code. `1` indicates a `V1CasperWasm` to be executed with the first version of the Casper execution engine. `2` indicates a `V2CasperWasm` to be executed with the second version of the Casper execution engine.
218
218
219
219
## Caller {#caller}
220
220
@@ -252,6 +252,9 @@ ChainspecRegistry is a unique key variant which contains a mapping of file names
252
252
253
253
The checksum registry. It serializes as a `BTreeMap` where the first 4 bytes represent a `u32` value describing the number of checksum names as strings and [digests](#digest) held within. The remainder consists of a repeating pattern of serialized strings and then digests of the length dictated by the first four bytes.
254
254
255
+
## ContractRuntimeTag {#contract-runtime-tag}
256
+
A tag for the contracts runtime tag, serialized as a single `u8` tag of 0 for `VmCasperV1`, 1 for `VmCasperV2`.
257
+
255
258
## Delegator {#delegator}
256
259
257
260
Represents a party delegating their stake to a validator (or "delegatee"). The structure consists of the following fields:
@@ -378,9 +381,9 @@ The context of method execution. It serializes as one of the following:
378
381
379
382
-`Caller`: Serializes as a single `u8`, `0b00000000`
380
383
381
-
-`Called`: Serializes as a single `u8`, `0b00000001`
384
+
-`DirectInvocationOnly`: Serializes as a single `u8`, `0b00000001`
382
385
383
-
-`Factory`: Serializes as a single `u8`, `0b10000000`
386
+
-`SelfOnward`: Serializes as a single `u8`, `0b10000000`
384
387
385
388
## EntrypointV2
386
389
@@ -486,10 +489,6 @@ A (labeled) "user group". Each method of a versioned contract may be associated
486
489
487
490
They are serialized as a `BTreeMap` where the first 4 bytes represent a `u32` value describing the number of user groups and `BTreeSets` of [`URef`](./primitives.md#clvalue-uref)s held within. The remainder consists of a repeating pattern of serialized user groups and `BTreeSets` of the length dictated by the first four bytes.
488
491
489
-
## InitiatorAddr {#initiatoraddr}
490
-
491
-
The address of the initiator of a [`TransactionV1`](./structures.md#transactionV1), which serializes as a `u8` of `0` followed by a [`PublicKey`](#publickey) or a `1` followed by an [`AccountHash`](#account-hash).
492
-
493
492
## Keys {#serialization-standard-state-keys}
494
493
495
494
A _key_ in [Global State](../design/casper-design.md) is one of the following data types:
@@ -687,23 +686,6 @@ The lock status of the package, serialized as a [`boolean`](./primitives.md#clva
687
686
688
687
Parameter to a method, structured as a name followed by a `CLType`. It is serialized as a [`String`](./primitives.md#clvalue-string) followed by a [`CLType`](./primitives.md#clvalue-cltype).
689
688
690
-
## PricingMode {#pricingmode}
691
-
692
-
The pricing mode of a transaction, with two possible variants. It serializes as a `u8` tag followed by additional data based on the following table:
693
-
694
-
| Tag | PricingMode| Description |
695
-
| --- | ---------- | ----------- |
696
-
| 0 | Classic | The original payment model, in which the creator of a transaction specifies how much they will pay and at which gas price. |
697
-
| 1 | Fixed | The cost of the transaction is determined by the cost table, per the transaction kind. |
698
-
699
-
### Classic {#pricingmode-classic}
700
-
701
-
After the `0` tag, a `Classic``PricingMode` serializes as the [`u64`](./primitives.md#clvalue-numeric)`payment_amount` followed by the `u64` value of the `gas_price`.
702
-
703
-
### Fixed {#pricingmode-fixed}
704
-
705
-
After the `1` tag, a `Fixed``PricingMode` serializes as the [`u64`](./primitives.md#clvalue-numeric)`gas_price_tolerance`.
706
-
707
689
## ProtocolVersion {#protocolversion}
708
690
709
691
A newtype indicating the Casper Platform protocol version. It is serialized as three [`u32`](./primitives.md#clvalue-numeric) values indicating major, minor and patch versions in that order.
@@ -770,9 +752,9 @@ Entity types for system contracts, serialized as a single `u8` tag identifying t
|cost | Fixed cost per `br_table` opcode. | 35_000|
56
+
|size_multiplier | Size of target labels in the `br_table` opcode will be multiplied by `size_multiplier`. | 100|
57
+
58
+
## External Function Costs
59
+
60
+
The following costs are for low-level bindings for host-side ("external") functions. More information on the Casper external FFI can be found [here](https://docs.rs/casper-contract/latest/casper_contract/ext_ffi/index.html).
Copy file name to clipboardExpand all lines: versioned_docs/version-2.0.0/concepts/economics/index.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,7 +59,7 @@ The fee elimination model will be different from the refund model introduced on
59
59
60
60
## Ecosystem {#ecosystem}
61
61
62
-
The ecosystem layer encompasses dApp design and operation. Casper Labs maintains multiple partnerships with prospective dApp developers, and we anticipate devoting significant resources to research the economics of prospective dApps.
62
+
The ecosystem layer encompasses dApp design and operation. Casper Association maintains multiple partnerships with prospective dApp developers, and we anticipate devoting significant resources to research the economics of prospective dApps.
0 commit comments