-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 d08abbc3..5712e623 100644
--- a/sol/sapphire-contracts/contracts/EthereumUtils.sol/struct.SignatureRSV.html
+++ b/sol/sapphire-contracts/contracts/EthereumUtils.sol/struct.SignatureRSV.html
@@ -84,7 +84,7 @@
@@ -171,7 +171,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 992b3286..b050a707 100644
--- a/sol/sapphire-contracts/contracts/RLPWriter.sol/library.RLPWriter.html
+++ b/sol/sapphire-contracts/contracts/RLPWriter.sol/library.RLPWriter.html
@@ -84,7 +84,7 @@
@@ -171,7 +171,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 e83ad6e5..da8033b9 100644
--- a/sol/sapphire-contracts/contracts/Sapphire.sol/function.sha512.html
+++ b/sol/sapphire-contracts/contracts/Sapphire.sol/function.sha512.html
@@ -84,7 +84,7 @@
@@ -171,7 +171,7 @@
-Git Source
+Git Source
Hash the input data with SHA-512
function sha512(bytes memory input) view returns (bytes memory output);
@@ -189,11 +189,11 @@
-
+
-
+
@@ -203,11 +203,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 d7132bc6..7b43ea6f 100644
--- a/sol/sapphire-contracts/contracts/Sapphire.sol/function.sha512_256.html
+++ b/sol/sapphire-contracts/contracts/Sapphire.sol/function.sha512_256.html
@@ -84,7 +84,7 @@
@@ -171,7 +171,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
@@ -192,11 +192,11 @@
-
+
-
+
@@ -206,11 +206,11 @@
-
+
-
+
diff --git a/sol/sapphire-contracts/contracts/Sapphire.sol/library.Sapphire.html b/sol/sapphire-contracts/contracts/Sapphire.sol/library.Sapphire.html
index 9243837f..b78f2ab2 100644
--- a/sol/sapphire-contracts/contracts/Sapphire.sol/library.Sapphire.html
+++ b/sol/sapphire-contracts/contracts/Sapphire.sol/library.Sapphire.html
@@ -84,7 +84,7 @@
@@ -171,7 +171,7 @@
-Git Source
+Git Source
Convenient wrapper methods for Sapphire's cryptographic primitives.
@@ -381,7 +381,7 @@
-
+
@@ -395,7 +395,7 @@
-
+
diff --git a/sol/sapphire-contracts/contracts/Subcall.sol/library.Subcall.html b/sol/sapphire-contracts/contracts/Subcall.sol/library.Subcall.html
index 09fc97c0..1831afb8 100644
--- a/sol/sapphire-contracts/contracts/Subcall.sol/library.Subcall.html
+++ b/sol/sapphire-contracts/contracts/Subcall.sol/library.Subcall.html
@@ -84,7 +84,7 @@
@@ -171,7 +171,7 @@
-Git Source
+Git Source
Interact with Oasis Runtime SDK modules from Sapphire.
@@ -291,7 +291,7 @@
-
+
diff --git a/sol/sapphire-contracts/contracts/WrappedROSE.sol/contract.WrappedROSE.html b/sol/sapphire-contracts/contracts/WrappedROSE.sol/contract.WrappedROSE.html
index d6f3520b..c071b57e 100644
--- a/sol/sapphire-contracts/contracts/WrappedROSE.sol/contract.WrappedROSE.html
+++ b/sol/sapphire-contracts/contracts/WrappedROSE.sol/contract.WrappedROSE.html
@@ -84,7 +84,7 @@
@@ -171,7 +171,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 ccca7dc9..e5c1049b 100644
--- a/sol/sapphire-contracts/contracts/opl/Enclave.sol/contract.Enclave.html
+++ b/sol/sapphire-contracts/contracts/opl/Enclave.sol/contract.Enclave.html
@@ -84,7 +84,7 @@
@@ -171,7 +171,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 e3b46f8f..7bcab3ce 100644
--- a/sol/sapphire-contracts/contracts/opl/Endpoint.sol/contract.BaseEndpoint.html
+++ b/sol/sapphire-contracts/contracts/opl/Endpoint.sol/contract.BaseEndpoint.html
@@ -84,7 +84,7 @@
@@ -171,7 +171,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 4fb9d679..361eaad2 100644
--- a/sol/sapphire-contracts/contracts/opl/Endpoint.sol/contract.Endpoint.html
+++ b/sol/sapphire-contracts/contracts/opl/Endpoint.sol/contract.Endpoint.html
@@ -84,7 +84,7 @@
@@ -171,7 +171,7 @@
-Git Source
+Git Source
Inherits:
BaseEndpoint
An app that sends or receives using OPL.
@@ -189,7 +189,7 @@
-
+
@@ -203,7 +203,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 f049798b..6785f50a 100644
--- a/sol/sapphire-contracts/contracts/opl/Endpoint.sol/enum.Result.html
+++ b/sol/sapphire-contracts/contracts/opl/Endpoint.sol/enum.Result.html
@@ -84,7 +84,7 @@
@@ -171,7 +171,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 c99a2ff7..cb29587b 100644
--- a/sol/sapphire-contracts/contracts/opl/Endpoint.sol/error.AutoConfigUnavailable.html
+++ b/sol/sapphire-contracts/contracts/opl/Endpoint.sol/error.AutoConfigUnavailable.html
@@ -84,7 +84,7 @@
@@ -171,7 +171,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 1fc46dd5..8e863069 100644
--- a/sol/sapphire-contracts/contracts/opl/Endpoint.sol/error.MissingRemoteAddr.html
+++ b/sol/sapphire-contracts/contracts/opl/Endpoint.sol/error.MissingRemoteAddr.html
@@ -84,7 +84,7 @@
@@ -171,7 +171,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 b19af315..897a9334 100644
--- a/sol/sapphire-contracts/contracts/opl/Endpoint.sol/error.MissingRemoteChainId.html
+++ b/sol/sapphire-contracts/contracts/opl/Endpoint.sol/error.MissingRemoteChainId.html
@@ -84,7 +84,7 @@
@@ -171,7 +171,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 33cd57dc..97732659 100644
--- a/sol/sapphire-contracts/contracts/opl/Endpoint.sol/error.NotMessageBus.html
+++ b/sol/sapphire-contracts/contracts/opl/Endpoint.sol/error.NotMessageBus.html
@@ -84,7 +84,7 @@
@@ -171,7 +171,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 4ad762f0..a6b10764 100644
--- a/sol/sapphire-contracts/contracts/opl/Endpoint.sol/error.NotRemoteEndpoint.html
+++ b/sol/sapphire-contracts/contracts/opl/Endpoint.sol/error.NotRemoteEndpoint.html
@@ -84,7 +84,7 @@
@@ -171,7 +171,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 6ff23af1..38348b07 100644
--- a/sol/sapphire-contracts/contracts/opl/Endpoint.sol/error.ReceiverError.html
+++ b/sol/sapphire-contracts/contracts/opl/Endpoint.sol/error.ReceiverError.html
@@ -84,7 +84,7 @@
@@ -171,7 +171,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 92b638c5..7b23000e 100644
--- a/sol/sapphire-contracts/contracts/opl/Endpoint.sol/error.SelfCallDisallowed.html
+++ b/sol/sapphire-contracts/contracts/opl/Endpoint.sol/error.SelfCallDisallowed.html
@@ -84,7 +84,7 @@
@@ -171,7 +171,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 1bb4f461..2d73f2e7 100644
--- a/sol/sapphire-contracts/contracts/opl/Endpoint.sol/error.UnknownEndpoint.html
+++ b/sol/sapphire-contracts/contracts/opl/Endpoint.sol/error.UnknownEndpoint.html
@@ -84,7 +84,7 @@
@@ -171,7 +171,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 3b5f86b8..965d0b17 100644
--- a/sol/sapphire-contracts/contracts/opl/Endpoint.sol/error.WrongSeqNum.html
+++ b/sol/sapphire-contracts/contracts/opl/Endpoint.sol/error.WrongSeqNum.html
@@ -84,7 +84,7 @@
@@ -171,7 +171,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 e80ce87a..8152a100 100644
--- a/sol/sapphire-contracts/contracts/opl/Endpoint.sol/function._chainName2ChainId.html
+++ b/sol/sapphire-contracts/contracts/opl/Endpoint.sol/function._chainName2ChainId.html
@@ -84,7 +84,7 @@
@@ -171,7 +171,7 @@
-Git Source
+Git Source
function _chainName2ChainId(bytes32 name) pure returns (uint256);
@@ -179,11 +179,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 ebfca167..3127f3a4 100644
--- a/sol/sapphire-contracts/contracts/opl/Endpoint.sol/function._getBus.html
+++ b/sol/sapphire-contracts/contracts/opl/Endpoint.sol/function._getBus.html
@@ -84,7 +84,7 @@
@@ -171,7 +171,7 @@
-Git Source
+Git Source
function _getBus(address _remote, bytes32 _remoteChainName) view returns (address);
@@ -179,7 +179,7 @@
-
+
@@ -193,7 +193,7 @@
-
+
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 25238695..097053bd 100644
--- a/sol/sapphire-contracts/contracts/opl/Endpoint.sol/function._getChainConfig.html
+++ b/sol/sapphire-contracts/contracts/opl/Endpoint.sol/function._getChainConfig.html
@@ -84,7 +84,7 @@
@@ -171,7 +171,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);
@@ -180,11 +180,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 f618e3f9..94aaa7d6 100644
--- a/sol/sapphire-contracts/contracts/opl/Endpoint.sol/function._getRemoteChainId.html
+++ b/sol/sapphire-contracts/contracts/opl/Endpoint.sol/function._getRemoteChainId.html
@@ -84,7 +84,7 @@
@@ -171,7 +171,7 @@
-Git Source
+Git Source
function _getRemoteChainId(bytes32 _remoteChainName) view returns (uint256);
@@ -183,7 +183,7 @@
-
+
@@ -197,7 +197,7 @@
-
+
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 103ebac9..6768a6a9 100644
--- a/sol/sapphire-contracts/contracts/opl/Endpoint.sol/function.autoswitch.html
+++ b/sol/sapphire-contracts/contracts/opl/Endpoint.sol/function.autoswitch.html
@@ -84,7 +84,7 @@
@@ -171,7 +171,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.
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 97eb64da..946daaae 100644
--- a/sol/sapphire-contracts/contracts/opl/Endpoint.sol/interface.ICelerMessageBus.html
+++ b/sol/sapphire-contracts/contracts/opl/Endpoint.sol/interface.ICelerMessageBus.html
@@ -84,7 +84,7 @@
@@ -171,7 +171,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 5b4f2afd..a2bed9b3 100644
--- a/sol/sapphire-contracts/contracts/opl/Host.sol/contract.Host.html
+++ b/sol/sapphire-contracts/contracts/opl/Host.sol/contract.Host.html
@@ -84,7 +84,7 @@
@@ -171,7 +171,7 @@
-Git Source
+Git Source
Inherits:
Endpoint
The L1-side of an OPL dapp.
@@ -184,7 +184,7 @@
-
+
@@ -198,7 +198,7 @@
-
+
diff --git a/sol/sapphire-contracts/contracts/opl/index.html b/sol/sapphire-contracts/contracts/opl/index.html
index f891e2c2..473384f0 100644
--- a/sol/sapphire-contracts/contracts/opl/index.html
+++ b/sol/sapphire-contracts/contracts/opl/index.html
@@ -84,7 +84,7 @@
@@ -186,11 +186,11 @@
ICelerMessageBus
BaseEndpoint
Endpoint
+_chainName2ChainId
+_getChainConfig
_getBus
autoswitch
_getRemoteChainId
-_getChainConfig
-_chainName2ChainId
Host
diff --git a/sol/sapphire-contracts/index.html b/sol/sapphire-contracts/index.html
index 604b46f4..a9c16d59 100644
--- a/sol/sapphire-contracts/index.html
+++ b/sol/sapphire-contracts/index.html
@@ -84,7 +84,7 @@
diff --git a/sol/sapphire-contracts/print.html b/sol/sapphire-contracts/print.html
index e296a0a8..2e11b8d7 100644
--- a/sol/sapphire-contracts/print.html
+++ b/sol/sapphire-contracts/print.html
@@ -85,7 +85,7 @@
@@ -210,15 +210,15 @@
ICelerMessageBus
BaseEndpoint
Endpoint
+_chainName2ChainId
+_getChainConfig
_getBus
autoswitch
_getRemoteChainId
-_getChainConfig
-_chainName2ChainId
Host
-Git Source
+Git Source
Inherits:
Endpoint , ERC2771Context
The Sapphire-side of an OPL dapp.
@@ -235,52 +235,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,
@@ -289,7 +289,7 @@
}
-Git Source
+Git Source
function feeBase() external view returns (uint256);
@@ -301,7 +301,7 @@
function sendMessage(address _host, uint256 _hostChainId, bytes calldata _message) external payable;
-Git Source
+Git Source
Inherits:
Context
@@ -354,7 +354,7 @@
-Git Source
+Git Source
Encode a signed EIP-155 transaction
@@ -513,7 +513,7 @@
}
-Git Source
+Git Source
struct SignatureRSV {
bytes32 r;
bytes32 s;
@@ -521,7 +521,7 @@
}
-Git Source
+Git Source
uint256 internal constant K256_P = 0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f;
@@ -648,7 +648,7 @@
-Git Source
+Git Source
Convenient wrapper methods for Sapphire's cryptographic primitives.
@@ -1007,13 +1007,10 @@
Secp256r1PrehashedSha256
}
-
-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
@@ -1022,12 +1019,15 @@
Returns
Name Type Description
-result
bytes32
32 byte digest
+output
bytes
64 byte digest
-
-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
@@ -1036,10 +1036,10 @@
Returns
Name Type Description
-output
bytes
64 byte digest
+result
bytes32
32 byte digest
-Git Source
+Git Source
Interact with Oasis Runtime SDK modules from Sapphire.
@@ -1155,7 +1155,7 @@