Package net.finmath.pontes.erc7573
Class SellerCancellationMapping
java.lang.Object
net.finmath.pontes.erc7573.SellerCancellationMapping
Payee-side cancellation request -> payment status GET(CANCELLATION).
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final PontesAdapterContextprotected final PontesFulfillmentAbiprotected final PontesGatewayprotected final SignedPontesReferenceCodecprotected final PontesTransactionAbiCodecprotected final PontesResponseValidator -
Constructor Summary
ConstructorsConstructorDescriptionSellerCancellationMapping(PontesAdapterContext context, PontesGateway gateway, PontesTransactionAbiCodec transactionCodec, SignedPontesReferenceCodec referenceCodec, PontesResponseValidator validator, PontesFulfillmentAbi fulfillmentAbi, PontesOnChainAuthorization authorization) -
Method Summary
Modifier and TypeMethodDescriptioncall(PontesOracleRequest.Decryption request) net.finmath.chainoracle.bridge.OracleBridge.OnChainCallcallback(net.finmath.chainoracle.bridge.OracleBridge.EventData event, PaymentResponse response) protected PontesOracleRequest.DecryptiondecryptionEvent(net.finmath.chainoracle.bridge.OracleBridge.EventData event) protected PontesOracleRequest.DecryptiondecryptionEvent(net.finmath.chainoracle.bridge.OracleBridge.EventData event, PontesKeyRole role) protected static PontesBridgeExceptiongatewayFailure(PontesGatewayException exception, String operation) protected PontesOracleRequest.GenerationgenerationEvent(net.finmath.chainoracle.bridge.OracleBridge.EventData event) protected static PontesOracleRequest.EncryptedKeykeyForRole(PontesOracleRequest.Verification request, PontesKeyRole role) protected PontesReferenceopenReference(byte[] encrypted, PontesKeyRole role, BigInteger consumerId, byte[] transactionOrNull) protected PontesReferenceopenReference(byte[] encrypted, PontesKeyRole role, BigInteger consumerId, byte[] transactionOrNull, String expectedOracleProxy) protected static voidrequireAddress(String actual, String expected, String field) protected static voidrequireExactGenerationRoles(List<byte[]> keyIds) protected static voidprotected static voidrequireHash(byte[] actual, byte[] expected, String field) protected PontesOracleRequest.VerificationverificationEvent(net.finmath.chainoracle.bridge.OracleBridge.EventData event)
-
Field Details
-
context
-
gateway
-
transactionCodec
-
referenceCodec
-
validator
-
fulfillmentAbi
-
-
Constructor Details
-
SellerCancellationMapping
public SellerCancellationMapping(PontesAdapterContext context, PontesGateway gateway, PontesTransactionAbiCodec transactionCodec, SignedPontesReferenceCodec referenceCodec, PontesResponseValidator validator, PontesFulfillmentAbi fulfillmentAbi, PontesOnChainAuthorization authorization)
-
-
Method Details
-
call
-
callback
public net.finmath.chainoracle.bridge.OracleBridge.OnChainCall callback(net.finmath.chainoracle.bridge.OracleBridge.EventData event, PaymentResponse response) -
generationEvent
protected PontesOracleRequest.Generation generationEvent(net.finmath.chainoracle.bridge.OracleBridge.EventData event) -
verificationEvent
protected PontesOracleRequest.Verification verificationEvent(net.finmath.chainoracle.bridge.OracleBridge.EventData event) -
decryptionEvent
protected PontesOracleRequest.Decryption decryptionEvent(net.finmath.chainoracle.bridge.OracleBridge.EventData event) -
decryptionEvent
protected PontesOracleRequest.Decryption decryptionEvent(net.finmath.chainoracle.bridge.OracleBridge.EventData event, PontesKeyRole role) -
openReference
protected PontesReference openReference(byte[] encrypted, PontesKeyRole role, BigInteger consumerId, byte[] transactionOrNull) -
openReference
protected PontesReference openReference(byte[] encrypted, PontesKeyRole role, BigInteger consumerId, byte[] transactionOrNull, String expectedOracleProxy) -
gatewayFailure
protected static PontesBridgeException gatewayFailure(PontesGatewayException exception, String operation) -
requireAddress
-
requireExactGenerationRoles
-
requireExactVerificationRoles
-
keyForRole
protected static PontesOracleRequest.EncryptedKey keyForRole(PontesOracleRequest.Verification request, PontesKeyRole role) -
requireHash
-