-Git Source
+Git Source
uint256 internal constant K256_P = 0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f;
diff --git a/sol/sapphire-contracts/contracts/EthereumUtils.sol/struct.SignatureRSV.html b/sol/sapphire-contracts/contracts/EthereumUtils.sol/struct.SignatureRSV.html
index d42f9ac5..62a0ecb4 100644
--- a/sol/sapphire-contracts/contracts/EthereumUtils.sol/struct.SignatureRSV.html
+++ b/sol/sapphire-contracts/contracts/EthereumUtils.sol/struct.SignatureRSV.html
@@ -89,7 +89,7 @@
@@ -176,7 +176,7 @@
-Git Source
+Git Source
struct SignatureRSV {
bytes32 r;
bytes32 s;
diff --git a/sol/sapphire-contracts/contracts/RLPWriter.sol/library.RLPWriter.html b/sol/sapphire-contracts/contracts/RLPWriter.sol/library.RLPWriter.html
index e171f500..159eac1d 100644
--- a/sol/sapphire-contracts/contracts/RLPWriter.sol/library.RLPWriter.html
+++ b/sol/sapphire-contracts/contracts/RLPWriter.sol/library.RLPWriter.html
@@ -89,7 +89,7 @@
@@ -176,7 +176,7 @@
-Git Source
+Git Source
Author:
RLPWriter is a library for encoding Solidity types to RLP bytes. Adapted from Bakaoh's
RLPEncode library (https://github.com/bakaoh/solidity-rlp-encode) with minor
diff --git a/sol/sapphire-contracts/contracts/Sapphire.sol/function.sha512.html b/sol/sapphire-contracts/contracts/Sapphire.sol/function.sha512.html
index 6bdc585b..af3206b1 100644
--- a/sol/sapphire-contracts/contracts/Sapphire.sol/function.sha512.html
+++ b/sol/sapphire-contracts/contracts/Sapphire.sol/function.sha512.html
@@ -89,7 +89,7 @@
@@ -176,7 +176,7 @@
-Git Source
+Git Source
Hash the input data with SHA-512
function sha512(bytes memory input) view returns (bytes memory output);
@@ -194,11 +194,11 @@
-
+
-
+
@@ -208,11 +208,11 @@
-
+
-
+
diff --git a/sol/sapphire-contracts/contracts/Sapphire.sol/function.sha512_256.html b/sol/sapphire-contracts/contracts/Sapphire.sol/function.sha512_256.html
index fd44e334..629e8ace 100644
--- a/sol/sapphire-contracts/contracts/Sapphire.sol/function.sha512_256.html
+++ b/sol/sapphire-contracts/contracts/Sapphire.sol/function.sha512_256.html
@@ -89,7 +89,7 @@
@@ -176,7 +176,7 @@
-Git Source
+Git Source
Hash the input data with SHA-512/256
SHA-512 is vulnerable to length-extension attacks, which are relevant if you
are computing the hash of a secret message. The SHA-512/256 variant is
@@ -197,11 +197,11 @@
-
+
-
+
@@ -211,11 +211,11 @@
-
+
-
+
diff --git a/sol/sapphire-contracts/contracts/Sapphire.sol/library.Sapphire.html b/sol/sapphire-contracts/contracts/Sapphire.sol/library.Sapphire.html
index 1ee95545..c958d533 100644
--- a/sol/sapphire-contracts/contracts/Sapphire.sol/library.Sapphire.html
+++ b/sol/sapphire-contracts/contracts/Sapphire.sol/library.Sapphire.html
@@ -89,7 +89,7 @@
@@ -176,7 +176,7 @@
-Git Source
+Git Source
Convenient wrapper methods for Sapphire's cryptographic primitives.
@@ -386,7 +386,7 @@
-
+
@@ -400,7 +400,7 @@
-
+
diff --git a/sol/sapphire-contracts/contracts/Subcall.sol/library.Subcall.html b/sol/sapphire-contracts/contracts/Subcall.sol/library.Subcall.html
index 02dad822..bdb806af 100644
--- a/sol/sapphire-contracts/contracts/Subcall.sol/library.Subcall.html
+++ b/sol/sapphire-contracts/contracts/Subcall.sol/library.Subcall.html
@@ -89,7 +89,7 @@
@@ -176,7 +176,7 @@
-Git Source
+Git Source
Interact with Oasis Runtime SDK modules from Sapphire.
@@ -296,7 +296,7 @@
-
+
diff --git a/sol/sapphire-contracts/contracts/WrappedROSE.sol/contract.WrappedROSE.html b/sol/sapphire-contracts/contracts/WrappedROSE.sol/contract.WrappedROSE.html
index 4ee98c78..47494fd9 100644
--- a/sol/sapphire-contracts/contracts/WrappedROSE.sol/contract.WrappedROSE.html
+++ b/sol/sapphire-contracts/contracts/WrappedROSE.sol/contract.WrappedROSE.html
@@ -89,7 +89,7 @@
@@ -176,7 +176,7 @@
-Git Source
+Git Source
Inherits:
ERC20, ERC20Burnable
diff --git a/sol/sapphire-contracts/contracts/opl/Enclave.sol/contract.Enclave.html b/sol/sapphire-contracts/contracts/opl/Enclave.sol/contract.Enclave.html
index 716e6f95..934d3283 100644
--- a/sol/sapphire-contracts/contracts/opl/Enclave.sol/contract.Enclave.html
+++ b/sol/sapphire-contracts/contracts/opl/Enclave.sol/contract.Enclave.html
@@ -89,7 +89,7 @@
@@ -176,7 +176,7 @@
-Git Source
+Git Source
Inherits:
Endpoint , ERC2771Context
The Sapphire-side of an OPL dapp.
diff --git a/sol/sapphire-contracts/contracts/opl/Endpoint.sol/contract.BaseEndpoint.html b/sol/sapphire-contracts/contracts/opl/Endpoint.sol/contract.BaseEndpoint.html
index 85e99d54..ec48da8a 100644
--- a/sol/sapphire-contracts/contracts/opl/Endpoint.sol/contract.BaseEndpoint.html
+++ b/sol/sapphire-contracts/contracts/opl/Endpoint.sol/contract.BaseEndpoint.html
@@ -89,7 +89,7 @@
@@ -176,7 +176,7 @@
-Git Source
+Git Source
Inherits:
Context
diff --git a/sol/sapphire-contracts/contracts/opl/Endpoint.sol/contract.Endpoint.html b/sol/sapphire-contracts/contracts/opl/Endpoint.sol/contract.Endpoint.html
index ab4eb815..83f967f0 100644
--- a/sol/sapphire-contracts/contracts/opl/Endpoint.sol/contract.Endpoint.html
+++ b/sol/sapphire-contracts/contracts/opl/Endpoint.sol/contract.Endpoint.html
@@ -89,7 +89,7 @@
@@ -176,7 +176,7 @@
-Git Source
+Git Source
Inherits:
BaseEndpoint
An app that sends or receives using OPL.
@@ -194,7 +194,7 @@
-
+
@@ -208,7 +208,7 @@
-
+
diff --git a/sol/sapphire-contracts/contracts/opl/Endpoint.sol/enum.Result.html b/sol/sapphire-contracts/contracts/opl/Endpoint.sol/enum.Result.html
index 451ba084..662456d4 100644
--- a/sol/sapphire-contracts/contracts/opl/Endpoint.sol/enum.Result.html
+++ b/sol/sapphire-contracts/contracts/opl/Endpoint.sol/enum.Result.html
@@ -89,7 +89,7 @@
@@ -176,7 +176,7 @@
-Git Source
+Git Source
The outcome of the message call.
enum Result {
PermanentFailure,
diff --git a/sol/sapphire-contracts/contracts/opl/Endpoint.sol/error.AutoConfigUnavailable.html b/sol/sapphire-contracts/contracts/opl/Endpoint.sol/error.AutoConfigUnavailable.html
index 5e4ba990..4830ccf3 100644
--- a/sol/sapphire-contracts/contracts/opl/Endpoint.sol/error.AutoConfigUnavailable.html
+++ b/sol/sapphire-contracts/contracts/opl/Endpoint.sol/error.AutoConfigUnavailable.html
@@ -89,7 +89,7 @@
@@ -176,7 +176,7 @@
-Git Source
+Git Source
Unable to automatically configure OPL. Please use the manual version of the base contract.
error AutoConfigUnavailable();
diff --git a/sol/sapphire-contracts/contracts/opl/Endpoint.sol/error.MissingRemoteAddr.html b/sol/sapphire-contracts/contracts/opl/Endpoint.sol/error.MissingRemoteAddr.html
index 208a2151..216e31bb 100644
--- a/sol/sapphire-contracts/contracts/opl/Endpoint.sol/error.MissingRemoteAddr.html
+++ b/sol/sapphire-contracts/contracts/opl/Endpoint.sol/error.MissingRemoteAddr.html
@@ -89,7 +89,7 @@
@@ -176,7 +176,7 @@
-Git Source
+Git Source
The remote endpoint's contract address was missing.
error MissingRemoteAddr();
diff --git a/sol/sapphire-contracts/contracts/opl/Endpoint.sol/error.MissingRemoteChainId.html b/sol/sapphire-contracts/contracts/opl/Endpoint.sol/error.MissingRemoteChainId.html
index 3d8c0e46..b8cfafb4 100644
--- a/sol/sapphire-contracts/contracts/opl/Endpoint.sol/error.MissingRemoteChainId.html
+++ b/sol/sapphire-contracts/contracts/opl/Endpoint.sol/error.MissingRemoteChainId.html
@@ -89,7 +89,7 @@
@@ -176,7 +176,7 @@
-Git Source
+Git Source
The remote endpoint's chain ID was missing.
error MissingRemoteChainId();
diff --git a/sol/sapphire-contracts/contracts/opl/Endpoint.sol/error.NotMessageBus.html b/sol/sapphire-contracts/contracts/opl/Endpoint.sol/error.NotMessageBus.html
index 7b4ccd70..90611441 100644
--- a/sol/sapphire-contracts/contracts/opl/Endpoint.sol/error.NotMessageBus.html
+++ b/sol/sapphire-contracts/contracts/opl/Endpoint.sol/error.NotMessageBus.html
@@ -89,7 +89,7 @@
@@ -176,7 +176,7 @@
-Git Source
+Git Source
The method can only be called by the message bus;
error NotMessageBus();
diff --git a/sol/sapphire-contracts/contracts/opl/Endpoint.sol/error.NotRemoteEndpoint.html b/sol/sapphire-contracts/contracts/opl/Endpoint.sol/error.NotRemoteEndpoint.html
index 96d8b0e1..b996fa19 100644
--- a/sol/sapphire-contracts/contracts/opl/Endpoint.sol/error.NotRemoteEndpoint.html
+++ b/sol/sapphire-contracts/contracts/opl/Endpoint.sol/error.NotRemoteEndpoint.html
@@ -89,7 +89,7 @@
@@ -176,7 +176,7 @@
-Git Source
+Git Source
Messages may only be sent by the remote endpoint (Enclave or Host).
error NotRemoteEndpoint();
diff --git a/sol/sapphire-contracts/contracts/opl/Endpoint.sol/error.ReceiverError.html b/sol/sapphire-contracts/contracts/opl/Endpoint.sol/error.ReceiverError.html
index c9bd1da7..b92ce314 100644
--- a/sol/sapphire-contracts/contracts/opl/Endpoint.sol/error.ReceiverError.html
+++ b/sol/sapphire-contracts/contracts/opl/Endpoint.sol/error.ReceiverError.html
@@ -89,7 +89,7 @@
@@ -176,7 +176,7 @@
-Git Source
+Git Source
Receiving endpoint did not return successfully.
error ReceiverError();
diff --git a/sol/sapphire-contracts/contracts/opl/Endpoint.sol/error.SelfCallDisallowed.html b/sol/sapphire-contracts/contracts/opl/Endpoint.sol/error.SelfCallDisallowed.html
index 1771c665..c084f754 100644
--- a/sol/sapphire-contracts/contracts/opl/Endpoint.sol/error.SelfCallDisallowed.html
+++ b/sol/sapphire-contracts/contracts/opl/Endpoint.sol/error.SelfCallDisallowed.html
@@ -89,7 +89,7 @@
@@ -176,7 +176,7 @@
-Git Source
+Git Source
Calls to contracts on the same chain are not allowed unless on a local testnet.
error SelfCallDisallowed();
diff --git a/sol/sapphire-contracts/contracts/opl/Endpoint.sol/error.UnknownEndpoint.html b/sol/sapphire-contracts/contracts/opl/Endpoint.sol/error.UnknownEndpoint.html
index f9affd8d..b6103bc2 100644
--- a/sol/sapphire-contracts/contracts/opl/Endpoint.sol/error.UnknownEndpoint.html
+++ b/sol/sapphire-contracts/contracts/opl/Endpoint.sol/error.UnknownEndpoint.html
@@ -89,7 +89,7 @@
@@ -176,7 +176,7 @@
-Git Source
+Git Source
The requested endpoint does not exist.
error UnknownEndpoint();
diff --git a/sol/sapphire-contracts/contracts/opl/Endpoint.sol/error.WrongSeqNum.html b/sol/sapphire-contracts/contracts/opl/Endpoint.sol/error.WrongSeqNum.html
index 862dc6cd..64be38b6 100644
--- a/sol/sapphire-contracts/contracts/opl/Endpoint.sol/error.WrongSeqNum.html
+++ b/sol/sapphire-contracts/contracts/opl/Endpoint.sol/error.WrongSeqNum.html
@@ -89,7 +89,7 @@
@@ -176,7 +176,7 @@
-Git Source
+Git Source
This message arrived too early or late.
error WrongSeqNum(uint256 expected, uint256 got);
diff --git a/sol/sapphire-contracts/contracts/opl/Endpoint.sol/function._chainName2ChainId.html b/sol/sapphire-contracts/contracts/opl/Endpoint.sol/function._chainName2ChainId.html
index 388dcadd..7267648d 100644
--- a/sol/sapphire-contracts/contracts/opl/Endpoint.sol/function._chainName2ChainId.html
+++ b/sol/sapphire-contracts/contracts/opl/Endpoint.sol/function._chainName2ChainId.html
@@ -89,7 +89,7 @@
@@ -176,7 +176,7 @@
-Git Source
+Git Source
function _chainName2ChainId(bytes32 name) pure returns (uint256);
@@ -184,11 +184,11 @@
-
+
-
+
diff --git a/sol/sapphire-contracts/contracts/opl/Endpoint.sol/function._getBus.html b/sol/sapphire-contracts/contracts/opl/Endpoint.sol/function._getBus.html
index 90248789..bccd26e0 100644
--- a/sol/sapphire-contracts/contracts/opl/Endpoint.sol/function._getBus.html
+++ b/sol/sapphire-contracts/contracts/opl/Endpoint.sol/function._getBus.html
@@ -89,7 +89,7 @@
@@ -176,7 +176,7 @@
-Git Source
+Git Source
function _getBus(address _remote, bytes32 _remoteChainName) view returns (address);
@@ -184,11 +184,11 @@
-
+
-
+
@@ -198,11 +198,11 @@
-
+
-
+
diff --git a/sol/sapphire-contracts/contracts/opl/Endpoint.sol/function._getChainConfig.html b/sol/sapphire-contracts/contracts/opl/Endpoint.sol/function._getChainConfig.html
index b8d5155c..589ecd9d 100644
--- a/sol/sapphire-contracts/contracts/opl/Endpoint.sol/function._getChainConfig.html
+++ b/sol/sapphire-contracts/contracts/opl/Endpoint.sol/function._getChainConfig.html
@@ -89,7 +89,7 @@
@@ -176,7 +176,7 @@
-Git Source
+Git Source
Configs from https://im-docs.celer.network/developer/contract-addresses-and-rpc-info.
function _getChainConfig(uint256 _chainId) pure returns (address _messageBus, bool _isTestnet);
@@ -185,11 +185,11 @@
-
+
-
+
diff --git a/sol/sapphire-contracts/contracts/opl/Endpoint.sol/function._getRemoteChainId.html b/sol/sapphire-contracts/contracts/opl/Endpoint.sol/function._getRemoteChainId.html
index 470ce013..3b570017 100644
--- a/sol/sapphire-contracts/contracts/opl/Endpoint.sol/function._getRemoteChainId.html
+++ b/sol/sapphire-contracts/contracts/opl/Endpoint.sol/function._getRemoteChainId.html
@@ -89,7 +89,7 @@
@@ -176,7 +176,7 @@
-Git Source
+Git Source
function _getRemoteChainId(bytes32 _remoteChainName) view returns (uint256);
@@ -184,11 +184,11 @@
-
+
-
+
diff --git a/sol/sapphire-contracts/contracts/opl/Endpoint.sol/function.autoswitch.html b/sol/sapphire-contracts/contracts/opl/Endpoint.sol/function.autoswitch.html
index 792ba5e6..8a11877d 100644
--- a/sol/sapphire-contracts/contracts/opl/Endpoint.sol/function.autoswitch.html
+++ b/sol/sapphire-contracts/contracts/opl/Endpoint.sol/function.autoswitch.html
@@ -89,7 +89,7 @@
@@ -176,7 +176,7 @@
-Git Source
+Git Source
Autoswitch automatically picks the remote network based on the network the contract on which the contract has already been deployed.
When on testnet, the remote chain will be the testnet version of the provided chain.
When running locally, the remote chain will be this one and the contracts will call each other without going through a message bus. This is helpful for debugging logic but does not test gas fee payment and other moving parts.
@@ -187,11 +187,11 @@
-
+
-
+
@@ -201,11 +201,11 @@
-
+
-
+
diff --git a/sol/sapphire-contracts/contracts/opl/Endpoint.sol/interface.ICelerMessageBus.html b/sol/sapphire-contracts/contracts/opl/Endpoint.sol/interface.ICelerMessageBus.html
index fcafb61e..84062ab3 100644
--- a/sol/sapphire-contracts/contracts/opl/Endpoint.sol/interface.ICelerMessageBus.html
+++ b/sol/sapphire-contracts/contracts/opl/Endpoint.sol/interface.ICelerMessageBus.html
@@ -89,7 +89,7 @@
@@ -176,7 +176,7 @@
-Git Source
+Git Source
function feeBase() external view returns (uint256);
diff --git a/sol/sapphire-contracts/contracts/opl/Host.sol/contract.Host.html b/sol/sapphire-contracts/contracts/opl/Host.sol/contract.Host.html
index 2838d5a3..76392b07 100644
--- a/sol/sapphire-contracts/contracts/opl/Host.sol/contract.Host.html
+++ b/sol/sapphire-contracts/contracts/opl/Host.sol/contract.Host.html
@@ -89,7 +89,7 @@
@@ -176,7 +176,7 @@
-Git Source
+Git Source
Inherits:
Endpoint
The L1-side of an OPL dapp.
@@ -189,7 +189,7 @@
-
+
@@ -203,7 +203,7 @@
-
+
diff --git a/sol/sapphire-contracts/contracts/opl/index.html b/sol/sapphire-contracts/contracts/opl/index.html
index 5118284a..240cc1dd 100644
--- a/sol/sapphire-contracts/contracts/opl/index.html
+++ b/sol/sapphire-contracts/contracts/opl/index.html
@@ -89,7 +89,7 @@
@@ -191,11 +191,11 @@
ICelerMessageBus
BaseEndpoint
Endpoint
-_getChainConfig
-autoswitch
_getRemoteChainId
-_getBus
_chainName2ChainId
+autoswitch
+_getBus
+_getChainConfig
Host
diff --git a/sol/sapphire-contracts/index.html b/sol/sapphire-contracts/index.html
index fa6e7026..479bb7b3 100644
--- a/sol/sapphire-contracts/index.html
+++ b/sol/sapphire-contracts/index.html
@@ -89,7 +89,7 @@
diff --git a/sol/sapphire-contracts/print.html b/sol/sapphire-contracts/print.html
index 7ee4ba5a..b112f3c0 100644
--- a/sol/sapphire-contracts/print.html
+++ b/sol/sapphire-contracts/print.html
@@ -90,7 +90,7 @@
@@ -215,15 +215,15 @@
ICelerMessageBus
BaseEndpoint
Endpoint
-_getChainConfig
-autoswitch
_getRemoteChainId
-_getBus
_chainName2ChainId
+autoswitch
+_getBus
+_getChainConfig
Host
-Git Source
+Git Source
Inherits:
Endpoint , ERC2771Context
The Sapphire-side of an OPL dapp.
@@ -240,52 +240,52 @@
function _msgSender() internal view override(Context, ERC2771Context) returns (address);
-Git Source
+Git Source
Unable to automatically configure OPL. Please use the manual version of the base contract.
error AutoConfigUnavailable();
-Git Source
+Git Source
The method can only be called by the message bus;
error NotMessageBus();
-Git Source
+Git Source
Messages may only be sent by the remote endpoint (Enclave or Host).
error NotRemoteEndpoint();
-Git Source
+Git Source
This message arrived too early or late.
error WrongSeqNum(uint256 expected, uint256 got);
-Git Source
+Git Source
The remote endpoint's contract address was missing.
error MissingRemoteAddr();
-Git Source
+Git Source
The remote endpoint's chain ID was missing.
error MissingRemoteChainId();
-Git Source
+Git Source
Calls to contracts on the same chain are not allowed unless on a local testnet.
error SelfCallDisallowed();
-Git Source
+Git Source
The requested endpoint does not exist.
error UnknownEndpoint();
-Git Source
+Git Source
Receiving endpoint did not return successfully.
error ReceiverError();
-Git Source
+Git Source
The outcome of the message call.
enum Result {
PermanentFailure,
@@ -294,7 +294,7 @@
}
-Git Source
+Git Source
function feeBase() external view returns (uint256);
@@ -306,7 +306,7 @@
function sendMessage(address _host, uint256 _hostChainId, bytes calldata _message) external payable;
-Git Source
+Git Source
Inherits:
Context
@@ -359,7 +359,7 @@
-Git Source
+Git Source
Encode a signed EIP-155 transaction
@@ -518,7 +518,7 @@
}
-Git Source
+Git Source
struct SignatureRSV {
bytes32 r;
bytes32 s;
@@ -526,7 +526,7 @@
}
-Git Source
+Git Source
uint256 internal constant K256_P = 0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f;
@@ -653,7 +653,7 @@
-Git Source
+Git Source
Convenient wrapper methods for Sapphire's cryptographic primitives.
@@ -1012,10 +1012,13 @@
Secp256r1PrehashedSha256
}
-
-Git Source
-Hash the input data with SHA-512
-function sha512(bytes memory input) view returns (bytes memory output);
+
+Git Source
+Hash the input data with SHA-512/256
+SHA-512 is vulnerable to length-extension attacks, which are relevant if you
+are computing the hash of a secret message. The SHA-512/256 variant is
+not** vulnerable to length-extension attacks.
+function sha512_256(bytes memory input) view returns (bytes32 result);
Parameters
Name Type Description
@@ -1024,15 +1027,12 @@
Returns
Name Type Description
-output
bytes
64 byte digest
+result
bytes32
32 byte digest
-
-Git Source
-Hash the input data with SHA-512/256
-SHA-512 is vulnerable to length-extension attacks, which are relevant if you
-are computing the hash of a secret message. The SHA-512/256 variant is
-not** vulnerable to length-extension attacks.
-function sha512_256(bytes memory input) view returns (bytes32 result);
+
+Git Source
+Hash the input data with SHA-512
+function sha512(bytes memory input) view returns (bytes memory output);
Parameters
Name Type Description
@@ -1041,10 +1041,10 @@
Returns
Name Type Description
-result
bytes32
32 byte digest
+output
bytes
64 byte digest
-Git Source
+Git Source
Interact with Oasis Runtime SDK modules from Sapphire.
@@ -1160,7 +1160,7 @@