Documentation ¶
Index ¶
- Constants
- func SetCurrentCaller(stub *shim.MockStub, mspID string, cert string) (*shim.MockStub, error)
- func SetIdemixMockStubWithAttrs(stub *shim.MockStub, mspID string) (*shim.MockStub, error)
- func SetMockStubWithFakeCreator(stub *shim.MockStub) (*shim.MockStub, error)
- func SetMockStubWithNilCreator(stub *shim.MockStub) (*shim.MockStub, error)
- func WithAllowanceOf(value *big.Int) func(shim.ChaincodeStubInterface, []string) (*big.Int, error)
- func WithBalanceOf(value *big.Int) func(shim.ChaincodeStubInterface, []string) (*big.Int, error)
Constants ¶
View Source
const ( AdminCert = `` /* 778-byte string literal not displayed */ Client1Cert = `` /* 800-byte string literal not displayed */ Client2Cert = `` /* 798-byte string literal not displayed */ IdemixCred = `` /* 1368-byte string literal not displayed */ )
Variables ¶
This section is empty.
Functions ¶
func SetCurrentCaller ¶
func WithAllowanceOf ¶
WithAllowanceOf mocks the "default" allowances of all clients
func WithBalanceOf ¶
WithBalanceOf mocks the "default" balance of all clients
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.