IDataStore.sol

View Source: contracts/interfaces/IDataStore.solโ€‹

โ†˜ Derived Contracts: DataStoreโ€‹

IDataStore

Functions

setSecurityToken

โคฟ Overridden Implementation(s): DataStore.setSecurityTokenโ€‹

Changes security token atatched to this data store

function setSecurityToken(address _securityToken) external nonpayable

Arguments

Name

Type

Description

_securityToken

address

address of the security token

setUint256

โคฟ Overridden Implementation(s): DataStore.setUint256โ€‹

Stores a uint256 data against a key

function setUint256(bytes32 _key, uint256 _data) external nonpayable

Arguments

Name

Type

Description

_key

bytes32

Unique key to identify the data

_data

uint256

Data to be stored against the key

setBytes32

โคฟ Overridden Implementation(s): DataStore.setBytes32โ€‹

function setBytes32(bytes32 _key, bytes32 _data) external nonpayable

Arguments

Name

Type

Description

_key

bytes32

โ€‹

_data

bytes32

โ€‹

setAddress

โคฟ Overridden Implementation(s): DataStore.setAddressโ€‹

function setAddress(bytes32 _key, address _data) external nonpayable

Arguments

Name

Type

Description

_key

bytes32

โ€‹

_data

address

โ€‹

setString

โคฟ Overridden Implementation(s): DataStore.setStringโ€‹

function setString(bytes32 _key, string _data) external nonpayable

Arguments

Name

Type

Description

_key

bytes32

โ€‹

_data

string

โ€‹

setBytes

โคฟ Overridden Implementation(s): DataStore.setBytesโ€‹

function setBytes(bytes32 _key, bytes _data) external nonpayable

Arguments

Name

Type

Description

_key

bytes32

โ€‹

_data

bytes

โ€‹

setBool

โคฟ Overridden Implementation(s): DataStore.setBoolโ€‹

function setBool(bytes32 _key, bool _data) external nonpayable

Arguments

Name

Type

Description

_key

bytes32

โ€‹

_data

bool

โ€‹

setUint256Array

โคฟ Overridden Implementation(s): DataStore.setUint256Arrayโ€‹

Stores a uint256 array against a key

function setUint256Array(bytes32 _key, uint256[] _data) external nonpayable

Arguments

Name

Type

Description

_key

bytes32

Unique key to identify the array

_data

uint256[]

Array to be stored against the key

setBytes32Array

โคฟ Overridden Implementation(s): DataStore.setBytes32Arrayโ€‹

function setBytes32Array(bytes32 _key, bytes32[] _data) external nonpayable

Arguments

Name

Type

Description

_key

bytes32

โ€‹

_data

bytes32[]

โ€‹

setAddressArray

โคฟ Overridden Implementation(s): DataStore.setAddressArrayโ€‹

function setAddressArray(bytes32 _key, address[] _data) external nonpayable

Arguments

Name

Type

Description

_key

bytes32

โ€‹

_data

address[]

โ€‹

setBoolArray

โคฟ Overridden Implementation(s): DataStore.setBoolArrayโ€‹

function setBoolArray(bytes32 _key, bool[] _data) external nonpayable

Arguments

Name

Type

Description

_key

bytes32

โ€‹

_data

bool[]

โ€‹

insertUint256

โคฟ Overridden Implementation(s): DataStore.insertUint256โ€‹

Inserts a uint256 element to the array identified by the key

function insertUint256(bytes32 _key, uint256 _data) external nonpayable

Arguments

Name

Type

Description

_key

bytes32

Unique key to identify the array

_data

uint256

Element to push into the array

insertBytes32

โคฟ Overridden Implementation(s): DataStore.insertBytes32โ€‹

function insertBytes32(bytes32 _key, bytes32 _data) external nonpayable

Arguments

Name

Type

Description

_key

bytes32

โ€‹

_data

bytes32

โ€‹

insertAddress

โคฟ Overridden Implementation(s): DataStore.insertAddressโ€‹

function insertAddress(bytes32 _key, address _data) external nonpayable

Arguments

Name

Type

Description

_key

bytes32

โ€‹

_data

address

โ€‹

insertBool

โคฟ Overridden Implementation(s): DataStore.insertBoolโ€‹

function insertBool(bytes32 _key, bool _data) external nonpayable

Arguments

Name

Type

Description

_key

bytes32

โ€‹

_data

bool

โ€‹

deleteUint256

โคฟ Overridden Implementation(s): DataStore.deleteUint256โ€‹

Deletes an element from the array identified by the key. When an element is deleted from an Array, last element of that array is moved to the index of deleted element.

function deleteUint256(bytes32 _key, uint256 _index) external nonpayable

Arguments

Name

Type

Description

_key

bytes32

Unique key to identify the array

_index

uint256

Index of the element to delete

deleteBytes32

โคฟ Overridden Implementation(s): DataStore.deleteBytes32โ€‹

function deleteBytes32(bytes32 _key, uint256 _index) external nonpayable

Arguments

Name

Type

Description

_key

bytes32

โ€‹

_index

uint256

โ€‹

deleteAddress

โคฟ Overridden Implementation(s): DataStore.deleteAddressโ€‹

function deleteAddress(bytes32 _key, uint256 _index) external nonpayable

Arguments

Name

Type

Description

_key

bytes32

โ€‹

_index

uint256

โ€‹

deleteBool

โคฟ Overridden Implementation(s): DataStore.deleteBoolโ€‹

function deleteBool(bytes32 _key, uint256 _index) external nonpayable

Arguments

Name

Type

Description

_key

bytes32

โ€‹

_index

uint256

โ€‹

setUint256Multi

โคฟ Overridden Implementation(s): DataStore.setUint256Multiโ€‹

Stores multiple uint256 data against respective keys

function setUint256Multi(bytes32[] _keys, uint256[] _data) external nonpayable

Arguments

Name

Type

Description

_keys

bytes32[]

Array of keys to identify the data

_data

uint256[]

Array of data to be stored against the respective keys

setBytes32Multi

โคฟ Overridden Implementation(s): DataStore.setBytes32Multiโ€‹

function setBytes32Multi(bytes32[] _keys, bytes32[] _data) external nonpayable

Arguments

Name

Type

Description

_keys

bytes32[]

โ€‹

_data

bytes32[]

โ€‹

setAddressMulti

โคฟ Overridden Implementation(s): DataStore.setAddressMultiโ€‹

function setAddressMulti(bytes32[] _keys, address[] _data) external nonpayable

Arguments

Name

Type

Description

_keys

bytes32[]

โ€‹

_data

address[]

โ€‹

setBoolMulti

โคฟ Overridden Implementation(s): DataStore.setBoolMultiโ€‹

function setBoolMulti(bytes32[] _keys, bool[] _data) external nonpayable

Arguments

Name

Type

Description

_keys

bytes32[]

โ€‹

_data

bool[]

โ€‹

insertUint256Multi

โคฟ Overridden Implementation(s): DataStore.insertUint256Multiโ€‹

Inserts multiple uint256 elements to the array identified by the respective keys

function insertUint256Multi(bytes32[] _keys, uint256[] _data) external nonpayable

Arguments

Name

Type

Description

_keys

bytes32[]

Array of keys to identify the data

_data

uint256[]

Array of data to be inserted in arrays of the respective keys

insertBytes32Multi

โคฟ Overridden Implementation(s): DataStore.insertBytes32Multiโ€‹

function insertBytes32Multi(bytes32[] _keys, bytes32[] _data) external nonpayable

Arguments

Name

Type

Description

_keys

bytes32[]

โ€‹

_data

bytes32[]

โ€‹

insertAddressMulti

โคฟ Overridden Implementation(s): DataStore.insertAddressMultiโ€‹

function insertAddressMulti(bytes32[] _keys, address[] _data) external nonpayable

Arguments

Name

Type

Description

_keys

bytes32[]

โ€‹

_data

address[]

โ€‹

insertBoolMulti

โคฟ Overridden Implementation(s): DataStore.insertBoolMultiโ€‹

function insertBoolMulti(bytes32[] _keys, bool[] _data) external nonpayable

Arguments

Name

Type

Description

_keys

bytes32[]

โ€‹

_data

bool[]

โ€‹

getUint256

โคฟ Overridden Implementation(s): DataStore.getUint256โ€‹

function getUint256(bytes32 _key) external view
returns(uint256)

Arguments

Name

Type

Description

_key

bytes32

โ€‹

getBytes32

โคฟ Overridden Implementation(s): DataStore.getBytes32โ€‹

function getBytes32(bytes32 _key) external view
returns(bytes32)

Arguments

Name

Type

Description

_key

bytes32

โ€‹

getAddress

โคฟ Overridden Implementation(s): DataStore.getAddressโ€‹

function getAddress(bytes32 _key) external view
returns(address)

Arguments

Name

Type

Description

_key

bytes32

โ€‹

getString

โคฟ Overridden Implementation(s): DataStore.getStringโ€‹

function getString(bytes32 _key) external view
returns(string)

Arguments

Name

Type

Description

_key

bytes32

โ€‹

getBytes

โคฟ Overridden Implementation(s): DataStore.getBytesโ€‹

function getBytes(bytes32 _key) external view
returns(bytes)

Arguments

Name

Type

Description

_key

bytes32

โ€‹

getBool

โคฟ Overridden Implementation(s): DataStore.getBoolโ€‹

function getBool(bytes32 _key) external view
returns(bool)

Arguments

Name

Type

Description

_key

bytes32

โ€‹

getUint256Array

โคฟ Overridden Implementation(s): DataStore.getUint256Arrayโ€‹

function getUint256Array(bytes32 _key) external view
returns(uint256[])

Arguments

Name

Type

Description

_key

bytes32

โ€‹

getBytes32Array

โคฟ Overridden Implementation(s): DataStore.getBytes32Arrayโ€‹

function getBytes32Array(bytes32 _key) external view
returns(bytes32[])

Arguments

Name

Type

Description

_key

bytes32

โ€‹

getAddressArray

โคฟ Overridden Implementation(s): DataStore.getAddressArrayโ€‹

function getAddressArray(bytes32 _key) external view
returns(address[])

Arguments

Name

Type

Description

_key

bytes32

โ€‹

getBoolArray

โคฟ Overridden Implementation(s): DataStore.getBoolArrayโ€‹

function getBoolArray(bytes32 _key) external view
returns(bool[])

Arguments

Name

Type

Description

_key

bytes32

โ€‹

getUint256ArrayLength

โคฟ Overridden Implementation(s): DataStore.getUint256ArrayLengthโ€‹

function getUint256ArrayLength(bytes32 _key) external view
returns(uint256)

Arguments

Name

Type

Description

_key

bytes32

โ€‹

getBytes32ArrayLength

โคฟ Overridden Implementation(s): DataStore.getBytes32ArrayLengthโ€‹

function getBytes32ArrayLength(bytes32 _key) external view
returns(uint256)

Arguments

Name

Type

Description

_key

bytes32

โ€‹

getAddressArrayLength

โคฟ Overridden Implementation(s): DataStore.getAddressArrayLengthโ€‹

function getAddressArrayLength(bytes32 _key) external view
returns(uint256)

Arguments

Name

Type

Description

_key

bytes32

โ€‹

getBoolArrayLength

โคฟ Overridden Implementation(s): DataStore.getBoolArrayLengthโ€‹

function getBoolArrayLength(bytes32 _key) external view
returns(uint256)

Arguments

Name

Type

Description

_key

bytes32

โ€‹

getUint256ArrayElement

โคฟ Overridden Implementation(s): DataStore.getUint256ArrayElementโ€‹

function getUint256ArrayElement(bytes32 _key, uint256 _index) external view
returns(uint256)

Arguments

Name

Type

Description

_key

bytes32

โ€‹

_index

uint256

โ€‹

getBytes32ArrayElement

โคฟ Overridden Implementation(s): DataStore.getBytes32ArrayElementโ€‹

function getBytes32ArrayElement(bytes32 _key, uint256 _index) external view
returns(bytes32)

Arguments

Name

Type

Description

_key

bytes32

โ€‹

_index

uint256

โ€‹

getAddressArrayElement

โคฟ Overridden Implementation(s): DataStore.getAddressArrayElementโ€‹

function getAddressArrayElement(bytes32 _key, uint256 _index) external view
returns(address)

Arguments

Name

Type

Description

_key

bytes32

โ€‹

_index

uint256

โ€‹

getBoolArrayElement

โคฟ Overridden Implementation(s): DataStore.getBoolArrayElementโ€‹

function getBoolArrayElement(bytes32 _key, uint256 _index) external view
returns(bool)

Arguments

Name

Type

Description

_key

bytes32

โ€‹

_index

uint256

โ€‹

getUint256ArrayElements

โคฟ Overridden Implementation(s): DataStore.getUint256ArrayElementsโ€‹

function getUint256ArrayElements(bytes32 _key, uint256 _startIndex, uint256 _endIndex) external view
returns(uint256[])

Arguments

Name

Type

Description

_key

bytes32

โ€‹

_startIndex

uint256

โ€‹

_endIndex

uint256

โ€‹

getBytes32ArrayElements

โคฟ Overridden Implementation(s): DataStore.getBytes32ArrayElementsโ€‹

function getBytes32ArrayElements(bytes32 _key, uint256 _startIndex, uint256 _endIndex) external view
returns(bytes32[])

Arguments

Name

Type

Description

_key

bytes32

โ€‹

_startIndex

uint256

โ€‹

_endIndex

uint256

โ€‹

getAddressArrayElements

โคฟ Overridden Implementation(s): DataStore.getAddressArrayElementsโ€‹

function getAddressArrayElements(bytes32 _key, uint256 _startIndex, uint256 _endIndex) external view
returns(address[])

Arguments

Name

Type

Description

_key

bytes32

โ€‹

_startIndex

uint256

โ€‹

_endIndex

uint256

โ€‹

getBoolArrayElements

โคฟ Overridden Implementation(s): DataStore.getBoolArrayElementsโ€‹

function getBoolArrayElements(bytes32 _key, uint256 _startIndex, uint256 _endIndex) external view
returns(bool[])

Arguments

Name

Type

Description

_key

bytes32

โ€‹

_startIndex

uint256

โ€‹

_endIndex

uint256

โ€‹